/* Careers & Assessment */
.careers-hero {
    position: relative;
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    background:
        radial-gradient(ellipse 55% 45% at 80% 10%, rgba(37, 99, 235, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 10% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        var(--gradient-hero);
    color: var(--white);
}
.careers-hero h1 { color: var(--white); }
.careers-hero .lead-light { max-width: 62ch; }

.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.careers-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.careers-card h3 { margin-bottom: 0.75rem; }
.careers-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.25rem 0 1.5rem;
}
.careers-list li {
    padding-left: 1.1rem;
    position: relative;
    font-size: 0.92rem;
}
.careers-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.55em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
}
.careers-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.career-step {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}
.career-step strong {
    display: block;
    font-family: var(--font-display);
    color: var(--sky);
    margin-bottom: 0.25rem;
}
.career-step span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.careers-register-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.careers-card--advanced {
    border-color: rgba(124, 58, 237, 0.25);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.04), #fff);
}
.attempt2-link {
    margin-top: 0.75rem;
    text-align: center;
}
.attempt2-section[hidden] { display: none; }
.attempt2-back {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.attempt2-back:hover { color: var(--blue); }

/* Healthcare / Arise opportunity */
.healthcare-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
    gap: 1.75rem 2rem;
    align-items: start;
}
.healthcare-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: calc(var(--nav-height, 72px) + 1rem);
}
.healthcare-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.healthcare-info-card h2 {
    font-size: 1.25rem;
    margin: 0.2rem 0 0.5rem;
    color: var(--navy);
}
.healthcare-info-card h3 {
    font-size: 1rem;
    margin: 0 0 0.55rem;
    color: var(--navy);
}
.healthcare-info-card.healthcare-alert {
    margin: 0;
}
.healthcare-info-card .careers-list { margin: 0.5rem 0 0; }
.healthcare-id-card--sidebar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 0.85rem 0 0;
}
.healthcare-id-card--sidebar > div {
    padding: 0.75rem 0.85rem;
}
.healthcare-id-value--sm {
    font-size: 0.92rem;
    line-height: 1.3;
    display: block;
}
.healthcare-steps-col { min-width: 0; }
.healthcare-sidebar .wizard-help {
    margin: 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.wizard-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.6rem 1.35rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 0;
}
.wizard-progress { margin-bottom: 1.25rem; }
.wizard-progress-track {
    height: 6px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}
.wizard-progress-fill {
    height: 100%;
    width: 11%;
    background: var(--gradient-brand);
    border-radius: 99px;
    transition: width 0.35s ease;
}
.wizard-step-label {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.wizard-step h2 {
    font-size: 1.35rem;
    margin: 0.25rem 0 0.65rem;
    color: var(--navy);
}
.wizard-step .section-desc { margin-bottom: 0.85rem; }
.wizard-step .btn { margin-top: 0.35rem; }
.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.wizard-nav .btn-primary { margin-left: auto; }
.wizard-help {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.wizard-help h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    color: var(--navy);
}
.wizard-help p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 1rem;
}
.wizard-help-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.wizard-help-note {
    margin: 0.85rem 0 0 !important;
    font-size: 0.8rem !important;
}
.healthcare-id-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}
.healthcare-id-card--compact {
    grid-template-columns: 1fr 1fr;
    margin: 1rem 0;
}
.healthcare-alert--equipment {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
    border-left-color: var(--blue);
}
.healthcare-alert--equipment h3 { color: var(--navy); }
.healthcare-alert--equipment p,
.healthcare-alert--equipment ul,
.healthcare-alert--equipment li { color: var(--text-muted); }
.healthcare-id-card > div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.healthcare-id-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.healthcare-id-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
}
.healthcare-id-value a { color: var(--blue); text-decoration: none; }
.healthcare-id-value a:hover { text-decoration: underline; }
.healthcare-alert {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid #f59e0b;
    border-radius: 0 12px 12px 0;
    padding: 1.15rem 1.25rem;
    margin: 1.25rem 0;
}
.healthcare-alert h3 {
    font-size: 1rem;
    color: #92400e;
    margin: 0 0 0.5rem;
}
.healthcare-alert p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #78350f;
    margin: 0 0 0.65rem;
}
.healthcare-alert ul {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #78350f;
}
.healthcare-alert li { margin-bottom: 0.35rem; }
.healthcare-steps-card h3 { margin-bottom: 1rem; }
.healthcare-steps {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    counter-reset: hc-step;
}
.healthcare-steps li {
    counter-increment: hc-step;
    position: relative;
    padding: 0 0 1rem 2.35rem;
    border-left: 2px solid rgba(37, 99, 235, 0.15);
    margin-left: 0.65rem;
}
.healthcare-steps li:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}
.healthcare-steps li::before {
    content: counter(hc-step);
    position: absolute;
    left: -0.75rem;
    top: 0;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.healthcare-steps strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
}
.healthcare-steps span {
    display: block;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.healthcare-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.healthcare-back {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.35rem;
}
.healthcare-back:hover { color: var(--blue); }
.healthcare-notes { max-width: 720px; }
@media (max-width: 960px) {
    .healthcare-layout { grid-template-columns: 1fr; }
    .healthcare-sidebar { position: static; }
    .healthcare-id-card { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) and (min-width: 961px) {
    .healthcare-layout { gap: 1.25rem; }
    .healthcare-id-card:not(.healthcare-id-card--sidebar) { grid-template-columns: 1fr 1fr; }
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}
.register-form .form-field { margin-bottom: 1rem; }
.register-form input {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 6px;
}
.register-form input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.blocked-notice, .form-alert {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.blocked-notice {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #be123c;
}
.form-alert--error {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #be123c;
}
.form-alert--success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #047857;
}

/* Assessment shell */
.assessment-shell {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 55%),
        var(--off-white);
}
.assessment-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.assessment-topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem 1.5rem;
}
.assessment-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.assessment-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}
.assessment-brand-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--navy);
    line-height: 1.2;
}
.assessment-attempt-badge {
    display: inline-block;
    margin-top: 0.15rem;
    padding: 0.12rem 0.5rem;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
}
.assessment-topbar-center { min-width: 0; }
.assessment-meta {
    display: flex;
    gap: 0.85rem 1.25rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.assessment-meta .meta-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.8;
    margin-bottom: 0.1rem;
}
.assessment-meta strong { color: var(--navy); font-size: 0.82rem; }
.assessment-timer-wrap {
    text-align: right;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
}
.assessment-timer-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.1rem;
}
.assessment-timer {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.assessment-progress {
    height: 5px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 0.55rem;
}
.assessment-progress-fill {
    height: 100%;
    background: var(--gradient-brand);
    width: 0;
    transition: width 0.4s var(--ease);
}
.assessment-progress-label {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.assessment-body { padding: 1.75rem 0 3.5rem; }
.assessment-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
    max-width: 760px;
    margin: 0 auto;
}
.assessment-panel h2 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}
.section-intro {
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.section-intro h2 { margin-bottom: 0.4rem; }
.section-intro .section-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 58ch;
}
.section-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.08);
}
.section-timer #section-timer {
    font-variant-numeric: tabular-nums;
}
.email-topic-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    background: var(--off-white);
}
.email-topic-card h3 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
}
.email-topic-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}
.email-compose {
    width: 100%;
    min-height: 160px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
    font-family: inherit;
    resize: vertical;
}
.email-compose:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.email-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.45rem 0 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.email-meta-row strong { color: var(--navy); }
.voice-req {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.voice-req-chip {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 99px;
    background: rgba(124, 58, 237, 0.08);
    color: #6d28d9;
    border: 1px solid rgba(124, 58, 237, 0.15);
}
.voice-req-chip--warn {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.25);
}
.voice-req-chip--ok {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.2);
}
.voice-live-timer {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: var(--coral);
}
@media (max-width: 800px) {
    .assessment-topbar-inner {
        grid-template-columns: 1fr auto;
    }
    .assessment-topbar-center { grid-column: 1 / -1; order: 3; }
}

.tab-warning {
    background: rgba(245, 158, 11, 0.12);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    color: #b45309;
    font-size: 0.88rem;
    font-weight: 600;
}
.tab-warning-inner { padding: 0.65rem 0; }
.tab-warning--danger {
    background: rgba(244, 63, 94, 0.1);
    border-bottom-color: rgba(244, 63, 94, 0.25);
    color: #be123c;
}

.grammar-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}
.grammar-pagination strong { color: var(--navy); }
.grammar-progress-dots {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.grammar-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}
.grammar-progress-dot--done { background: var(--emerald); }
.grammar-progress-dot--current { background: var(--blue); }

.grammar-q { margin-bottom: 1.25rem; }
.grammar-q legend {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}
.grammar-options {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.grammar-options label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}
.grammar-options label:hover { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.03); }
.grammar-options input:checked + span,
.grammar-options label:has(input:checked) {
    border-color: var(--blue);
    background: rgba(37,99,235,0.06);
}

.fill-blank-input {
    width: 100%;
    max-width: 360px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}
.fill-blank-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.fill-blank-q legend { margin-bottom: 0.85rem; }

.reading-passage-box {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--violet);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
}
.reading-passage-title {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.reading-passage-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* answer-key-panel base layout continues under Admin section */
.answer-key-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.answer-key-section h3 {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}
.answer-key-section--full { grid-column: 1 / -1; }
.answer-key-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.answer-key-list li { margin-bottom: 0.35rem; }
.answer-key-ans {
    color: var(--emerald);
    font-weight: 600;
}
.answer-key-passage-snippet {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.answer-key-passage-block {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.answer-key-passage-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.answer-key-passage-block h4 {
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
    color: var(--navy);
}
.answer-key-passage {
    margin: 0;
    padding: 0.85rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.55;
    white-space: pre-wrap;
    font-family: inherit;
}

.assessment-panel--compact {
    padding: 1.15rem 1.35rem;
}

.typing-section .section-intro {
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
}
.typing-section .section-intro h2 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}
.typing-section .section-desc {
    font-size: 0.86rem;
    line-height: 1.45;
}
.typing-section .section-timer { margin-top: 0.35rem; }
.typing-section .assessment-actions { margin-top: 0.85rem; }

.typing-display {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    min-height: 5rem;
    user-select: none;
    -webkit-user-select: none;
}
.typing-display--multiline {
    white-space: pre-wrap;
    min-height: 14rem;
    max-height: 20rem;
    overflow-y: auto;
    font-size: 0.92rem;
    line-height: 1.75;
}
.typing-display--compact {
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.55rem;
    min-height: auto;
    max-height: none;
    font-size: 0.86rem;
    line-height: 1.5;
}
.voice-prompt-box--word { font-size: 1.75rem; font-weight: 700; text-align: center; }
.voice-prompt-box--phrase { font-size: 1.2rem; }
.voice-prompt-box--sentence { font-size: 1.05rem; }
.voice-prompt-box--long { font-size: 1rem; line-height: 1.8; }
.admin-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.btn-admin {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: var(--font-display);
}
.btn-admin--delete { color: #be123c; border-color: rgba(244,63,94,0.3); }
.btn-admin--reattempt { color: #2563eb; border-color: rgba(37,99,235,0.3); }
.btn-admin--attempt2 { color: #7c3aed; border-color: rgba(124,58,237,0.3); }
.btn-admin:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-admin:hover { opacity: 0.85; }
.admin-toast {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
}
.admin-toast--success { background: rgba(16,185,129,0.1); color: #047857; border: 1px solid rgba(16,185,129,0.2); }
.admin-toast--error { background: rgba(244,63,94,0.08); color: #be123c; border: 1px solid rgba(244,63,94,0.2); }
.typing-display .typed-correct { color: var(--emerald); }
.typing-display .typed-wrong { color: var(--coral); background: rgba(244,63,94,0.08); }
.typing-display .current-char {
    border-bottom: 2px solid var(--blue);
    background: rgba(37,99,235,0.1);
}
.typing-input {
    width: 100%;
    min-height: 110px;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
}
.typing-input--compact {
    min-height: auto;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: none;
}
.typing-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
}
.typing-stats--compact {
    gap: 1rem;
    margin-top: 0.45rem;
    font-size: 0.8rem;
}
.typing-stats span { color: var(--text-muted); }
.typing-stats strong { color: var(--navy); }

.voice-prompt-box {
    background: var(--off-white);
    border-left: 4px solid var(--violet);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}
.voice-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
}
.voice-status {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}
.voice-status.recording { color: var(--coral); }
.voice-status.done { color: var(--emerald); }
.voice-playback { width: 100%; margin-top: 0.5rem; }

.assessment-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.btn-secondary {
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue); }

/* Admin */
.admin-body {
    margin: 0;
    background: #f1f5f9;
    min-height: 100vh;
}
/* Belt-and-suspenders: never paint dashboard while logged out (even if hidden attr fails) */
body.admin-logged-out #admin-dashboard,
body.admin-logged-out #hr-dashboard {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}
body.admin-logged-in #admin-login,
body.admin-logged-in #hr-auth {
    display: none !important;
}
.admin-page {
    min-height: 100vh;
    padding: 1.5rem 1.25rem 2.5rem;
    position: relative;
    z-index: 1;
    isolation: isolate;
}
.admin-login-card {
    max-width: 420px;
    margin: 4rem auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 1;
}
.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}
.admin-login-brand h1 {
    font-size: 1.35rem;
    margin: 0.15rem 0 0;
    color: var(--navy);
}
.admin-login-desc { margin: 0.75rem 0 1.35rem; }
.admin-login-card #admin-error { margin-top: 1rem; }

/* display:flex/grid on these nodes would override the HTML hidden attribute — force hide */
.admin-login-card[hidden],
.admin-dashboard[hidden],
#admin-login[hidden],
#admin-dashboard[hidden],
#hr-auth[hidden],
#hr-dashboard[hidden],
.answer-key-panel[hidden],
.admin-toast[hidden],
.form-alert[hidden] {
    display: none !important;
}

.admin-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.admin-header-left {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.admin-header-logo {
    border-radius: 8px;
    margin-top: 0.15rem;
}
.admin-header h1 {
    font-size: 1.25rem;
    margin: 0 0 0.2rem;
    color: var(--navy);
}
.admin-header p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.admin-header-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}
.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}
.admin-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.admin-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--blue);
    line-height: 1.2;
}
.admin-stat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.admin-table-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
.results-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}
.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.82rem;
}
.results-table th,
.results-table td {
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}
.results-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.results-table tbody tr:hover td { background: rgba(37, 99, 235, 0.03); }
.results-table--detailed { min-width: 1180px; }
.results-table--detailed th,
.results-table--detailed td { white-space: nowrap; font-size: 0.78rem; }
.results-table--detailed td:nth-child(1),
.results-table--detailed td:nth-child(2) {
    white-space: normal;
    max-width: 150px;
    word-break: break-word;
}
.answer-key-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    position: relative;
    z-index: 1;
}
.answer-key-panel-head h2 {
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
    color: var(--navy);
}

/* Modal: single stacking context, no layer fights */
.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    box-sizing: border-box;
}
.admin-modal[hidden] {
    display: none !important;
}
.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 0;
}
.admin-modal-panel {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    max-height: min(88vh, 900px);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    padding: 1.5rem 1.5rem 1.75rem;
    margin: 0;
}
.admin-modal-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    display: grid;
    place-items: center;
    margin: -0.25rem -0.25rem 0.5rem 0.5rem;
}
.admin-modal-close:hover {
    color: var(--navy);
    border-color: var(--blue);
}
body.admin-modal-open {
    overflow: hidden;
}
.assessment-actions--triple {
    justify-content: flex-end;
}
.assessment-actions--triple .btn-secondary:first-child {
    margin-right: auto;
}

.assessment-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.assessment-session-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.pattern-series {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 0.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
}
.pattern-series-item {
    display: grid;
    place-items: center;
    min-width: 72px;
    min-height: 72px;
    border: 1px dashed #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}
.pattern-series-item--q {
    border-style: solid;
    border-color: #111;
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
}
.pattern-prompt {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0.75rem 0 0.5rem;
}
.careers-resume-card {
    margin-top: 1rem;
    border-color: rgba(37, 99, 235, 0.25);
}
.careers-resume-card h3 { margin-bottom: 0.35rem; }
.careers-cv-card {
    margin-top: 0;
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.04), #fff);
}
.careers-cv-card h3 { margin-bottom: 0.35rem; }
.careers-cv-card textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}
.careers-cv-card input[type="file"] {
    font-size: 0.85rem;
    width: 100%;
}
.careers-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.careers-tab {
    flex: 1;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 99px;
    padding: 0.55rem 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}
.careers-tab--active {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--blue);
    color: var(--blue);
}
.field-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.pw-strength { margin-top: 0.55rem; }
.pw-strength-bar {
    height: 6px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}
.pw-strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    transition: width 0.25s ease, background 0.25s ease;
    background: #94a3b8;
}
.pw-fill--empty { background: #94a3b8; width: 0 !important; }
.pw-fill--weak { background: #ef4444; }
.pw-fill--fair { background: #f59e0b; }
.pw-fill--good { background: #3b82f6; }
.pw-fill--strong { background: #10b981; }
.pw-strength-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}
.pw-label--weak { color: #dc2626; }
.pw-label--fair { color: #d97706; }
.pw-label--good { color: #2563eb; }
.pw-label--strong { color: #059669; }
.pw-rules {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.pw-rules li {
    padding: 0.15rem 0 0.15rem 1.1rem;
    position: relative;
}
.pw-rules li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: #94a3b8;
}
.pw-rule--ok { color: #059669; }
.pw-rule--ok::before { content: '●'; color: #10b981; }
.careers-logged-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), #fff);
}
.careers-logged-banner h3 { margin: 0.15rem 0 0.25rem; }
.after-attempt-box {
    margin-top: 1.25rem;
    padding: 1.1rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
}
.after-attempt-box h3 {
    font-size: 1rem;
    margin: 0 0 0.55rem;
    color: var(--navy);
}
.after-attempt-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.after-attempt-list li { margin-bottom: 0.4rem; }
.after-attempt-box--inline {
    border-left: 4px solid var(--blue);
    margin-bottom: 0;
}
.link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--blue, #2563eb);
    text-decoration: underline;
    cursor: pointer;
}
.link-btn:hover {
    color: var(--blue-dark, #1d4ed8);
}

/* Hiring pipeline board */
.pipeline-add-form { margin-bottom: 1.25rem; }
.pipeline-add-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}
.pipeline-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.pipeline-column {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}
.pipeline-column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.pipeline-column-head h3 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy, #0f172a);
}
.pipeline-count {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--blue, #2563eb);
    color: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    min-width: 1.4rem;
    text-align: center;
}
.pipeline-cards {
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}
.pipeline-card {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pipeline-card h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    font-weight: 700;
}
.pipeline-meta,
.pipeline-role,
.pipeline-notes,
.pipeline-interview,
.pipeline-next-text,
.pipeline-empty {
    margin: 0.2rem 0;
    font-size: 0.78rem;
    color: var(--text-muted, #64748b);
    line-height: 1.4;
}
.pipeline-next {
    margin: 0.5rem 0;
}
.pipeline-next label,
.pipeline-stage-row label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted, #64748b);
    margin-bottom: 0.25rem;
}
.pipeline-next input,
.pipeline-stage-row select {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 6px;
    margin-bottom: 0.35rem;
}
.pipeline-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}
.pipeline-card-actions .btn-admin {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.hr-meet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.hr-auth-tabs {
    margin: 0 0 1rem;
}
.hr-page .admin-login-card {
    max-width: 440px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.25rem;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
}
.admin-tab {
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
}
.admin-tab:hover { color: var(--navy, #0f172a); background: #f8fafc; }
.admin-tab--active {
    background: var(--blue, #2563eb);
    color: #fff;
}
.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}
.admin-filter-input,
.admin-filter-select {
    font: inherit;
    font-size: 0.88rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
}
.admin-filter-input { flex: 1; min-width: 200px; }
.admin-ref {
    font-size: 0.72rem;
    background: #f1f5f9;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
}
.admin-section-title-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.careers-progress-checklist {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}
.careers-progress-checklist li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border, #e2e8f0);
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
}
.careers-progress-checklist li strong { color: var(--navy, #0f172a); }
.careers-progress-checklist .step-num {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.careers-progress-checklist li.is-done .step-num {
    background: #10b981;
    color: #fff;
}
.careers-ref-banner {
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.85rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    font-size: 0.88rem;
}
.assessment-gate {
    max-width: 560px;
    margin: 2rem auto;
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.assessment-gate h2 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.assessment-gate ul { margin: 0.75rem 0 1.25rem; padding-left: 1.2rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }
.assessment-gate .form-field { margin-bottom: 0.85rem; }
@media (max-width: 700px) {
    .pipeline-columns {
        grid-template-columns: minmax(220px, 1fr);
    }
}
.form-alert--success {
    display: block;
    margin-top: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.88rem;
}

/* Privacy page */
.privacy-doc {
    max-width: 720px;
    margin: 0 auto;
}
.privacy-block {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.privacy-block:last-of-type { border-bottom: none; }
.privacy-block h2 {
    font-size: 1.15rem;
    margin: 0 0 0.55rem;
    color: var(--navy);
}
.privacy-block p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 0.65rem;
}
.privacy-close {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.admin-section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.15rem 0.35rem;
}
.admin-section-title {
    font-size: 1.05rem;
    margin: 0;
    color: var(--navy);
}
.admin-paused-desc {
    padding: 0 1.15rem 0.75rem;
    margin: 0;
    font-size: 0.85rem;
}
.admin-paused-card { margin-bottom: 0.25rem; }

/* Agent Mail portal */
.agent-mail-page { display: flex; justify-content: center; }
.agent-mail-wrap {
    width: min(440px, 100%);
    margin: 2rem auto;
}
.agent-mail-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.agent-mail-brand h1 { font-size: 1.4rem; margin: 0.15rem 0 0; color: var(--navy); }
.agent-mail-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1.25rem 0 0.85rem;
}
.agent-tab {
    flex: 1;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 99px;
    padding: 0.5rem 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}
.agent-tab--active {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--blue);
    color: var(--blue);
}
.agent-mail-foot {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.agent-mail-foot a { color: var(--blue); font-weight: 600; }
.agent-email-banner {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
    margin-bottom: 1rem;
}
.agent-email-banner .meta-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.agent-email-banner strong {
    font-size: 1.05rem;
    color: var(--navy);
    word-break: break-all;
}
.agent-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.agent-dash-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.agent-msg-body {
    margin: 0.45rem 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--text-muted);
    white-space: pre-wrap;
}
.agent-msg--unread {
    border-color: rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.05);
}
.agent-compose-form .form-field { margin-bottom: 0.85rem; }
.agent-compose-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}
.agent-panel-body { padding: 0 1.15rem 1.15rem; }
.agent-inline-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}
.agent-inline-form select,
.agent-inline-form input[type="text"] {
    flex: 1;
    min-width: 160px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    font-size: 0.88rem;
}
.agent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.agent-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--off-white);
    font-size: 0.88rem;
}
.agent-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.agent-list-empty {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
}
.agent-todo label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    flex: 1;
}
.agent-todo--done span { text-decoration: line-through; color: var(--text-muted); }
@media (max-width: 1000px) {
    .agent-dash-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .agent-dash-grid { grid-template-columns: 1fr; }
}
.otp-code-display {
    font-family: ui-monospace, monospace;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: var(--blue);
}

/* Logical Reasoning — Odd man out (exam style) */
.oddman-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin: 1rem 0 0.5rem;
}
.oddman-grid--exam {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.oddman-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.5rem 1rem;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.oddman-option:hover {
    border-color: #64748b;
    background: #f8fafc;
}
.oddman-option--selected {
    border-color: var(--blue);
    background: rgba(37, 99, 235, 0.06);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.oddman-option-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: #334155;
    letter-spacing: 0.04em;
}
.oddman-figure {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 88px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.oddman-svg { display: block; overflow: visible; }

/* Customer response ranking */
.scenario-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    background: var(--off-white);
}
.scenario-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 0.5rem;
}
.scenario-situation {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 1rem;
}
.scenario-responses {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.scenario-response {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}
.scenario-response--best { border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.06); }
.scenario-response--neutral { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.06); }
.scenario-response--worst { border-color: rgba(244, 63, 94, 0.4); background: rgba(244, 63, 94, 0.05); }
.scenario-response-text {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 0.65rem;
    color: var(--navy);
}
.scenario-role-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.scenario-role {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 99px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
}
.scenario-role.is-best { background: rgba(16, 185, 129, 0.15); border-color: #10b981; color: #047857; }
.scenario-role.is-neutral { background: rgba(245, 158, 11, 0.15); border-color: #f59e0b; color: #b45309; }
.scenario-role.is-worst { background: rgba(244, 63, 94, 0.12); border-color: #f43f5e; color: #be123c; }
.scenario-hint {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.scenario-hint--ok { color: #047857; }
@media (max-width: 640px) {
    .oddman-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
    .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-page { padding: 1rem 0.75rem 2rem; }
}
.admin-detail-header { margin-bottom: 1.25rem; padding-right: 2rem; }
.admin-detail-header h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.admin-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.admin-section-scores {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
}
.admin-section-score {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    text-align: center;
}
.admin-section-score strong {
    display: block;
    font-size: 1rem;
    color: var(--navy);
}
.admin-section-score span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.admin-detail-block {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.admin-detail-block:last-child { border-bottom: none; margin-bottom: 0; }
.admin-detail-block h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}
.admin-ans-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.admin-ans-row {
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.35rem;
    border-radius: 6px;
    font-size: 0.82rem;
    line-height: 1.45;
    border: 1px solid var(--border);
}
.admin-ans-row--ok { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.2); }
.admin-ans-row--bad { background: rgba(244, 63, 94, 0.06); border-color: rgba(244, 63, 94, 0.15); }
.admin-ans-row--na { background: var(--off-white); }
.admin-ans-q { font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.2rem; }
.admin-ans-user { color: var(--text-muted); }
.admin-ans-correct { color: #047857; font-weight: 600; }
.admin-ans-miss { color: #be123c; }
.admin-typed-preview {
    margin: 0;
    padding: 0.75rem;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    line-height: 1.55;
    white-space: pre-wrap;
    max-height: 160px;
    overflow-y: auto;
}
.admin-attempt-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.admin-attempt-tab {
    padding: 0.45rem 0.85rem;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.admin-attempt-tab--active {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--blue);
    color: var(--blue);
}
.admin-attempt-tab:disabled { opacity: 0.4; cursor: not-allowed; }
.score-pill {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
}
.score-pill--high { background: rgba(16,185,129,0.12); color: #047857; }
.score-pill--mid { background: rgba(245,158,11,0.12); color: #b45309; }
.score-pill--low { background: rgba(244,63,94,0.12); color: #be123c; }

@media (max-width: 900px) {
    .careers-grid, .careers-steps, .admin-stats, .answer-key-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
}