/* ══════════════════════════════════════════════════════
   EduCompass — Assessment Page Styles (assessment.css)
   继承 style.css 的所有变量和基础样式
   ══════════════════════════════════════════════════════ */

/* ─── PAGE BASE ─────────────────────────────────────── */
.assessment-page {
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.asm-main {
    flex: 1;
    padding: 48px 0 80px;
}

/* ─── NAVBAR OVERRIDE (answer page) ─────────────────── */
.asm-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.asm-progress-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-m);
    padding: 5px 14px;
    background: var(--cream-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    letter-spacing: 0.2px;
}

/* ─── PANEL SYSTEM ───────────────────────────────────── */
.asm-panel {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 40px;
}

.asm-panel-inner {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 56px 60px;
    box-shadow: var(--sh-md);
    position: relative;
    overflow: hidden;
}

.asm-panel-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt), var(--gold-dk));
}

.asm-center {
    text-align: center;
}

.asm-step-eyebrow {
    font-family: var(--display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold-dk);
    margin-bottom: 1rem;
    display: block;
}

.asm-panel-inner h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.asm-desc {
    font-size: 1rem;
    color: var(--text-m);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 580px;
}

.asm-center .asm-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ─── NOT LOGGED IN ──────────────────────────────────── */
.asm-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

/* ─── ACTION BUTTONS ─────────────────────────────────── */
.asm-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.asm-center .asm-actions {
    justify-content: center;
}

.btn-asm-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    transition: var(--t);
    letter-spacing: 0.2px;
}

.btn-asm-primary:hover {
    background: var(--gold-dk);
    transform: translateY(-1px);
    box-shadow: var(--sh-md);
}

.btn-asm-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: transparent;
    color: var(--text-m);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-dk);
    cursor: pointer;
    transition: var(--t);
}

.btn-asm-ghost:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* ─── CODE INPUT ─────────────────────────────────────── */
.code-input-area {
    margin: 2rem 0;
}

.code-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border-dk);
    border-radius: var(--r);
    background: var(--white);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}

.code-input-wrap:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.code-input-wrap.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.code-input-wrap.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.code-icon {
    padding: 0 18px;
    color: var(--gold-dk);
    font-size: 1.1rem;
    flex-shrink: 0;
}

#codeInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 1.5px;
    padding: 16px 0;
    background: transparent;
}

#codeInput::placeholder {
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-lt);
    font-family: var(--sans);
    font-size: 0.9rem;
}

.btn-verify {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--navy);
    color: var(--white);
    border: none;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-verify:hover {
    background: var(--gold-dk);
}

.btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--navy-3);
}

.code-hint {
    font-size: 0.82rem;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    transition: var(--t);
    min-height: 36px;
}

.code-hint.hint-error {
    color: #c0392b;
    background: rgba(192, 57, 43, 0.06);
    border: 1px solid rgba(192, 57, 43, 0.2);
}

.code-hint.hint-success {
    color: #1a7a42;
    background: rgba(39, 174, 96, 0.06);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.code-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.cf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-m);
    font-weight: 500;
}

.cf-item i {
    color: var(--gold-dk);
    font-size: 1rem;
}

/* ─── INTRO PAGE ─────────────────────────────────────── */
.intro-code-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 2.5rem;
}

.intro-code-badge i {
    color: var(--gold-dk);
}

.intro-code-badge strong {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.badge-status {
    padding: 2px 10px;
    background: rgba(39, 174, 96, 0.12);
    color: #1a7a42;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.intro-sections {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 2rem;
}

.is-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 22px 28px;
    background: var(--white);
    transition: background var(--t);
}

.is-item:hover {
    background: var(--cream);
}

.is-num {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
    line-height: 1;
    min-width: 36px;
}

.is-info {
    flex: 1;
}

.is-framework {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-lt);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.is-info h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.is-info p {
    font-size: 0.84rem;
    color: var(--text-m);
    line-height: 1.6;
}

.is-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.is-count,
.is-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-m);
    font-weight: 500;
    white-space: nowrap;
}

.is-count i {
    color: var(--gold-dk);
}

.is-time i {
    color: var(--text-lt);
}

.intro-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.04);
    border-radius: var(--r);
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    color: var(--text-b);
    line-height: 1.7;
}

.intro-notice i {
    color: var(--gold-dk);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.intro-actions {
    justify-content: flex-start;
}

/* ─── QUIZ LAYOUT — 全宽，无侧边栏 ────────────────────────── */
#stepQuiz {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.asm-quiz-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* Sidebar */
.quiz-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    position: sticky;
    top: 90px;
}

.qs-section-list {
    padding: 8px 0;
}

.qs-section-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--t);
    border-left: 3px solid transparent;
}

.qs-section-item:hover {
    background: var(--cream);
}

.qs-section-item.active {
    background: rgba(197, 160, 89, 0.07);
    border-left-color: var(--gold);
}

.qs-section-item.done {
    opacity: 0.6;
}

.qss-num {
    font-family: var(--display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-dk);
}

.qs-section-item.active .qss-num {
    color: var(--navy);
}

.qss-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-b);
}

.qss-count {
    font-size: 0.7rem;
    color: var(--text-lt);
}

.qs-save-area {
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    text-align: center;
}

.btn-save-progress {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t);
}

.btn-save-progress:hover {
    background: var(--gold-dk);
}

.qs-save-hint {
    font-size: 0.72rem;
    color: var(--text-lt);
    margin-top: 8px;
}

/* Quiz Content Area */
.quiz-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    overflow: hidden;
}

/* Section Header */
.qc-section-header {
    padding: 28px 36px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.qc-sec-eyebrow {
    font-family: var(--display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold-lt);
    display: block;
    margin-bottom: 6px;
}

.qc-section-header h2 {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
}

/* Progress bar */
.qc-progress-wrap {
    padding: 16px 36px;
    background: var(--cream-2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.qc-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.qc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dk), var(--gold));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.qc-progress-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-m);
    white-space: nowrap;
}

/* Questions */
.qc-questions {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.question-item {
    padding: 28px;
    background: var(--cream);
    border-radius: var(--r);
    border: 1px solid var(--border);
    transition: border-color var(--t);
}

.question-item.answered {
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(197, 160, 89, 0.03);
}

.question-num {
    font-family: var(--display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-dk);
    display: block;
    margin-bottom: 10px;
}

.question-text {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 18px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    background: var(--white);
    cursor: pointer;
    transition: var(--t);
    font-size: 0.9rem;
    color: var(--text-b);
}

.option-item:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
    color: var(--navy);
}

.option-item input[type="radio"] {
    accent-color: var(--gold-dk);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.option-item.selected {
    border-color: var(--gold-dk);
    background: rgba(197, 160, 89, 0.08);
    color: var(--navy);
    font-weight: 500;
}

/* Scale options (for Likert) */
.options-scale {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.scale-item {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 12px 6px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    background: var(--white);
    cursor: pointer;
    transition: var(--t);
    font-size: 0.82rem;
    color: var(--text-m);
    line-height: 1.4;
}

.scale-item:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
}

.scale-item.selected {
    border-color: var(--gold-dk);
    background: rgba(197, 160, 89, 0.1);
    color: var(--navy);
    font-weight: 600;
}

.scale-num {
    display: block;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-dk);
    margin-bottom: 4px;
}

/* Navigation footer */
.qc-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 36px;
    border-top: 1px solid var(--border);
    background: var(--cream-2);
}

.btn-qc-prev {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid var(--border-dk);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--text-b);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--t);
}

.btn-qc-prev:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-qc-next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t);
}

.btn-qc-next:hover {
    background: var(--gold-dk);
    transform: translateY(-1px);
}

/* 保存本部分按钮（内嵌在 qc-nav-footer） */
.btn-save-section {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t);
    font-family: var(--sans);
}

.btn-save-section:hover:not(:disabled) {
    background: var(--gold-dk);
}

.btn-save-section:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 部分进度圆点 */
.sec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-dk);
    display: inline-block;
    transition: all var(--t);
}

.sec-dot.done {
    background: var(--gold);
}

.sec-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--navy);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
    .asm-quiz-layout {
        grid-template-columns: 1fr;
    }

    .quiz-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .asm-panel-inner {
        padding: 36px 28px;
    }

    .qc-questions {
        padding: 20px 24px;
    }

    .qc-section-header {
        padding: 20px 24px;
    }

    .is-meta {
        display: none;
    }
}

/* ─── FOOTER ─────────────────────────────────────────── */
.pf-footer {
    background: var(--navy);
    padding: 48px 0;
    margin-top: auto;
}

.pf-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pf-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-family: var(--display);
    font-size: 0.95rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* brand-emblem 在 style.css 中已定义，这里确保颜色覆盖 */
.pf-footer .brand-emblem {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--gold);
}

.pf-footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.3px;
    text-align: center;
}

/* ─── STATUS TAG: completed ──────────────────────────── */
/* 与 profile.css 中的 status-tag 体系保持一致 */
.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.status-tag.completed {
    background: #dcfce7;
    color: #166534;
}

.status-tag.used {
    background: #fef9c3;
    color: #854d0e;
}

.status-tag.idle {
    background: var(--cream-2, #f5f4ef);
    color: var(--text-m, #6b7280);
}

.status-tag i {
    font-size: 0.6rem;
}

/* ─── NOT LOGIN: 未登录提示美化 ─────────────────────── */
.asm-not-login-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.asm-not-login-wrap .asm-icon-ring {
    margin-bottom: 1.6rem;
}

.asm-not-login-wrap h2 {
    margin-bottom: 1rem;
}

.asm-not-login-body {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 2rem;
    padding: 20px 28px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--r);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asm-not-login-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-b);
    line-height: 1.5;
}

.asm-not-login-row i {
    color: var(--gold-dk);
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

/* ─── INTRO: 2×2 卡片网格 ───────────────────────────── */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 2rem;
}

.ig-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color var(--t), box-shadow var(--t);
}

.ig-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.1);
}

.ig-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gold);
    flex-shrink: 0;
}

.ig-body {
    flex: 1;
    min-width: 0;
}

.ig-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-dk);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.ig-body h3 {
    font-family: var(--serif);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
    line-height: 1.3;
}

.ig-count {
    font-size: 0.75rem;
    color: var(--text-m);
    display: block;
}

@media (max-width: 560px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── QUIZ: 宽面板（无侧边栏） ──────────────────────── */
.asm-panel-wide {
    max-width: 780px;
}

/* ─── QUIZ CARD: 一题一页 ───────────────────────────── */
.quiz-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    overflow: hidden;
    position: relative;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt), var(--gold-dk));
}

/* 顶部进度条区 */
.qc-top-bar {
    padding: 22px 36px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--cream-2);
}

.qc-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.qc-sec-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    background: rgba(15, 23, 42, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.qc-sec-pill i {
    color: var(--gold-dk);
    font-size: 0.7rem;
}

.qc-q-counter {
    font-size: 0.75rem;
    color: var(--text-lt);
    font-weight: 500;
}

.qc-progress-bar {
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.qc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dk), var(--gold));
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* 题目主体 */
.qc-body {
    padding: 40px 48px 36px;
}

.question-num {
    font-family: var(--display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-dk);
    display: block;
    margin-bottom: 12px;
}

.question-text {
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.65;
    margin-bottom: 28px;
}

/* 选项按钮 */
.qc-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    background: var(--cream);
    cursor: pointer;
    transition: all var(--t);
    text-align: left;
    width: 100%;
    font-family: var(--sans);
}

.option-btn:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
}

.option-btn.selected {
    border-color: var(--gold-dk);
    background: rgba(197, 160, 89, 0.10);
}

.opt-letter {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border-dk);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-m);
    flex-shrink: 0;
    transition: all var(--t);
    font-family: var(--display);
}

.option-btn:hover .opt-letter {
    border-color: var(--gold-dk);
    color: var(--gold-dk);
}

.option-btn.selected .opt-letter {
    background: var(--gold-dk);
    border-color: var(--gold-dk);
    color: var(--white);
}

.opt-text {
    font-size: 0.92rem;
    color: var(--text-b);
    line-height: 1.5;
    transition: color var(--t);
}

.option-btn.selected .opt-text {
    color: var(--navy);
    font-weight: 500;
}

/* 底部导航 */
.qc-bottom-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 36px;
    border-top: 1px solid var(--border);
    background: var(--cream-2);
}

.qc-bottom-left {
    display: flex;
    justify-content: flex-start;
}

.qc-bottom-right {
    display: flex;
    justify-content: flex-end;
}

.btn-qc-prev {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border: 1px solid var(--border-dk);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--text-b);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--t);
    font-family: var(--sans);
}

.btn-qc-prev:hover:not(:disabled) {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-qc-prev:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* 部分进度圆点 */
.qc-bottom-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-dk);
    transition: all var(--t);
}

.sec-dot.done {
    background: var(--gold);
}

.sec-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--navy);
}

/* 保存按钮（仅在完成部分后启用） */
.btn-save-q {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: none;
    border-radius: var(--r-sm);
    background: var(--navy);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t);
    font-family: var(--sans);
}

.btn-save-q:hover:not(:disabled) {
    background: var(--gold-dk);
}

.btn-save-q:disabled {
    background: var(--border-dk);
    color: var(--text-lt);
    cursor: not-allowed;
}

/* 演示提示 */
.qc-demo-tip {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-lt);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.qc-demo-tip i {
    color: var(--gold-dk);
}

/* 响应式 */
@media (max-width: 640px) {
    .qc-body {
        padding: 28px 24px 24px;
    }

    .qc-top-bar {
        padding: 16px 24px 12px;
    }

    .qc-bottom-bar {
        padding: 14px 20px;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .question-text {
        font-size: 1.05rem;
    }
}

/* ═══════════════════════════════════════════════════════
   STEP 5 · 报告生成倒计时面板
   ═══════════════════════════════════════════════════════ */

/* 成功勾选圆环 */
.done-check-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a7a42, #27ae60);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    margin: 0 auto 1.8rem;
    box-shadow: 0 8px 28px rgba(39, 174, 96, 0.35);
    transform-origin: center;
}

/* 倒计时整体容器 */
.done-timer-wrap {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 28px 20px;
}

/* 顶部：文字 + 数字 */
.done-timer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.done-timer-label {
    font-size: 0.88rem;
    color: var(--text-b);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.done-timer-label i {
    color: var(--gold-dk);
}

.done-timer-count {
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    min-width: 2.4rem;
    text-align: right;
    /* 数字变化时的微动画 */
    transition: transform 0.15s ease;
}

/* 进度条轨道 */
.done-progress-track {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

/* 进度填充（金色渐变，带动画） */
.done-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
    border-radius: 4px;
    transition: width 1s linear;
    position: relative;
    overflow: hidden;
}

/* 光泽扫描效果 */
.done-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    to {
        left: 160%;
    }
}

/* 三步骤状态 */
.done-timer-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.ds-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-b);
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(39, 174, 96, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.2);
    transition: all 0.4s ease;
}

.ds-step i {
    color: #1a7a42;
    font-size: 0.75rem;
}

.ds-step.ds-step-pending {
    background: rgba(15, 23, 42, 0.04);
    border-color: var(--border);
    color: var(--text-lt);
}

.ds-step.ds-step-pending i {
    color: var(--text-lt);
}

@media (max-width: 560px) {
    .done-timer-steps {
        flex-direction: column;
        align-items: flex-start;
    }

    .done-timer-wrap {
        padding: 18px 20px 16px;
    }
}