/*=============== RECRUITER WORKFLOW ===============*/

.recruiter-page {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
    box-sizing: border-box;
}

/* ---- Hero ---- */
.rec-hero { margin-top: 6px; }

.rec-eyebrow {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: hsl(230, 100%, 50%);
    margin-bottom: 8px;
}

.rec-hero h1 {
    font-size: 2rem;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.1;
}

.rec-hero-intro {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
}

.rec-headshot {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.16);
}

.rec-hero-intro-text { min-width: 0; }

@media (max-width: 640px) {
    .rec-hero-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .rec-headshot { width: 88px; height: 88px; }
}

.rec-positioning {
    font-size: 1rem;
    color: #374151;
    line-height: 1.55;
    max-width: 64ch;
    margin-bottom: 18px;
}

.rec-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.rec-hero-secondary {
    margin: 0 0 18px;
    font-size: 0.82rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rec-hero-secondary a {
    color: hsl(230, 100%, 50%);
    text-decoration: none;
}

.rec-hero-secondary a:hover { text-decoration: underline; }

.rec-dot { color: #cbd5e1; }

.rec-linkbtn {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: hsl(230, 100%, 50%);
    cursor: pointer;
}

.rec-linkbtn:hover { text-decoration: underline; }

.rec-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111827;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.rec-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rec-btn:hover {
    border-color: hsl(230, 100%, 50%);
    color: hsl(230, 100%, 50%);
}

.rec-btn--primary {
    background: hsl(230, 100%, 50%);
    border-color: hsl(230, 100%, 50%);
    color: #fff;
}

.rec-btn--primary:hover {
    background: color-mix(in srgb, hsl(230, 100%, 50%) 85%, #000);
    border-color: transparent;
    color: #fff;
}

.rec-btn--ghost { background: transparent; }

.rec-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.rec-contact-form { margin-top: 4px; }

.rec-contact-form .rec-submit { margin-top: 4px; }

.rec-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 0;
}

.rec-fact {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-left: 3px solid hsl(230, 100%, 50%);
    border-radius: 8px;
    padding: 14px 16px;
}

.rec-fact dt {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.72rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rec-fact dd {
    margin: 6px 0 0;
    font-size: 0.98rem;
    color: #111827;
    line-height: 1.5;
    font-weight: 500;
}

.rec-edu-logo {
    height: 16px;
    width: auto;
    vertical-align: -3px;
    margin-right: 6px;
}

.rec-edu-logo--wide { height: 12px; }

.rec-research {
    margin: 16px 0 0;
    font-size: 0.86rem;
    color: #4b5563;
    line-height: 1.55;
    max-width: 74ch;
}

.rec-research strong { color: #111827; }

/* ---- Cards ---- */
.recruiter-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 22px 24px;
    box-sizing: border-box;
}

.recruiter-card h2 {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 12px;
}

.rec-hint {
    font-size: 0.84rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ---- Form ---- */
.rec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .rec-row { grid-template-columns: 1fr; }
}

.rec-field { display: block; margin-bottom: 14px; }

.rec-label {
    display: block;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 5px;
}

.rec-label em { font-style: normal; color: #9ca3af; }

.rec-field input,
.rec-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    padding: 9px 11px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.84rem;
    color: #111827;
    resize: vertical;
}

.rec-field input:focus,
.rec-field textarea:focus {
    outline: none;
    border-color: hsl(230, 100%, 50%);
    background: #fff;
}

.rec-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.rec-actions-hint { font-size: 0.74rem; color: #9ca3af; }

.rec-optional {
    margin-top: 14px;
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px;
}

.rec-optional summary {
    cursor: pointer;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.76rem;
    color: #6b7280;
}

.rec-optional summary:hover { color: hsl(230, 100%, 50%); }
.rec-optional[open] summary { margin-bottom: 12px; }

.rec-optional-note {
    font-size: 0.74rem;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0 0 12px;
}

.rec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rec-chip {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 999px;
    padding: 6px 12px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.74rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rec-chip:hover { border-color: hsl(230, 100%, 50%); }

.rec-chip.active {
    background: hsl(230, 100%, 50%);
    border-color: hsl(230, 100%, 50%);
    color: #fff;
}

.rec-submit {
    border: none;
    border-radius: 6px;
    background: hsl(230, 100%, 50%);
    color: #fff;
    padding: 10px 18px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.rec-submit:hover { background: color-mix(in srgb, hsl(230, 100%, 50%) 85%, #000); }

/* ---- Verdict ---- */
.rec-results { margin-top: 20px; }

.rec-verdict {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fafafa;
    margin-bottom: 18px;
}

.rec-verdict-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.rec-verdict-label {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
}

.rec-verdict-count {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.72rem;
    color: #6b7280;
}

.rec-verdict-line {
    margin: 8px 0 0;
    font-size: 0.84rem;
    color: #4b5563;
    line-height: 1.5;
}

.rec-verdict--strong {
    border-color: hsl(150, 55%, 78%);
    background: hsl(150, 55%, 97%);
}

.rec-verdict--strong .rec-verdict-label { color: hsl(150, 65%, 28%); }
.rec-verdict--strong .rec-score span { background: hsl(150, 60%, 40%); }

.rec-verdict--good .rec-verdict-label { color: hsl(230, 90%, 42%); }

.rec-verdict--partial {
    border-color: hsl(38, 80%, 80%);
    background: hsl(38, 80%, 97%);
}

.rec-verdict--partial .rec-verdict-label { color: hsl(32, 80%, 36%); }
.rec-verdict--partial .rec-score span { background: hsl(38, 85%, 52%); }

.rec-verdict--light .rec-verdict-label { color: #6b7280; }
.rec-verdict--light .rec-score span { background: #9ca3af; }

/* ---- Skills ---- */
.rec-skills { margin-bottom: 20px; }

.rec-skill-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.rec-skill-cat {
    flex: 0 0 150px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.68rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 3px;
}

.rec-skill-group .rec-keywords { margin-bottom: 0; }

@media (max-width: 640px) {
    .rec-skill-group { flex-direction: column; gap: 6px; }
    .rec-skill-cat { flex: none; padding-top: 0; }
}

/* ---- Results ---- */
.rec-results-title {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    color: #111827;
    margin: 16px 0 8px;
}

.rec-empty { font-size: 0.8rem; color: #6b7280; }

.rec-result {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    padding: 14px 16px;
    margin-top: 12px;
}

.rec-result-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
}

.rec-name { font-weight: 700; font-size: 0.9rem; color: #111827; }
.rec-date { font-family: 'Menlo', 'Monaco', 'Courier New', monospace; font-size: 0.7rem; color: #6b7280; }

.rec-score {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.rec-score span {
    display: block;
    height: 100%;
    background: hsl(230, 100%, 50%);
}

.rec-kw-label {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.68rem;
    color: #6b7280;
    margin-bottom: 5px;
}

.rec-keywords { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.rec-kw {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.68rem;
    background: hsl(230, 100%, 96%);
    color: hsl(230, 100%, 40%);
    border: 1px solid hsl(230, 100%, 88%);
    border-radius: 999px;
    padding: 2px 8px;
}

.rec-summary { font-size: 0.86rem; color: #333; line-height: 1.55; }

.rec-highlights {
    margin: 10px 0 0 18px;
    padding: 0;
    font-size: 0.8rem;
    color: #444;
    line-height: 1.6;
}

.rec-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

.rec-links a {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.76rem;
    color: hsl(230, 100%, 50%);
    text-decoration: none;
}

.rec-links a:hover { text-decoration: underline; }

.rec-cta {
    margin-top: 18px;
    border: 1px solid hsl(230, 100%, 50%);
    background: #fff;
    color: hsl(230, 100%, 50%);
    border-radius: 6px;
    padding: 9px 16px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.rec-cta:hover { background: hsl(230, 100%, 50%); color: #fff; }

.rec-privacy {
    margin-top: 14px;
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ---- Coursework ---- */
.rec-courses { display: grid; gap: 16px; }

.rec-course-cat {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-bottom: 8px;
}

.rec-course-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.rec-course {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.78rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
    color: #374151;
}

/* ---- Technical skills (Tools / Languages / Libraries / Skills) ---- */
.rec-skills-list { display: grid; gap: 14px; }

.rec-skill-line {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: start;
}

.rec-skill-name {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    padding-top: 4px;
}

.rec-skill-chips { display: flex; flex-wrap: wrap; gap: 7px; }

.rec-skill-chip {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.76rem;
    background: hsl(230, 100%, 96%);
    color: hsl(230, 100%, 38%);
    border: 1px solid hsl(230, 100%, 88%);
    border-radius: 999px;
    padding: 4px 10px;
}

@media (max-width: 640px) {
    .rec-skill-line { grid-template-columns: 1fr; gap: 6px; }
    .rec-skill-name { padding-top: 0; }
}

/* ---- Collapsible coursework ---- */
.rec-collapsible summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.rec-collapsible summary::-webkit-details-marker { display: none; }

.rec-collapsible summary::before {
    content: '\25B8';
    color: hsl(230, 100%, 50%);
    font-weight: 700;
}

.rec-collapsible[open] summary::before { content: '\25BE'; }
.rec-collapsible[open] summary { margin-bottom: 16px; }

.rec-collapsible-count {
    color: #9ca3af;
    font-weight: 400;
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    /* iOS zooms inputs under 16px on focus */
    .rec-field input,
    .rec-field textarea { font-size: 16px; }

    .rec-contact-actions { flex-direction: column; }
    .rec-contact-actions .rec-btn { justify-content: center; }
}
