.select-container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.exam-select-hidden { display: none !important; }

.welcome-section { text-align: center; margin-bottom: 44px; }
.welcome-logo { display: block; width: min(280px, 72vw); height: auto; object-fit: contain; margin: 0 auto 18px; }
.welcome-logo-tenant { width: 82px; max-height: 82px; }
.welcome-section h1 { font-size: 30px; color: var(--color-primary); margin-bottom: 8px; font-weight: 700; }
.subtitle { font-size: 17px; color: var(--color-text-secondary); margin: 0; }

.limit-warning { background: #DC2626; color: white; text-align: center; padding: 14px 20px; border-radius: 10px; font-size: 16px; font-weight: 600; margin-bottom: 28px; }

/* Tab 面板 */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeSlideUp .2s ease; }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* 作业区域 */
.hw-title { font-size: 20px; color: var(--color-text-primary); margin-bottom: 16px; font-weight: 700; }
.hw-subject-filter-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.hw-subject-filter-btn {
    padding: 7px 14px; border: 1px solid #dbe4df; border-radius: 999px; background: #fff;
    color: #4b5563; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s;
}
.hw-subject-filter-btn:hover { border-color: #8ec7ae; background: #f7fbf8; }
.hw-subject-filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* 日历 + 仪表盘 横排 */
.hw-top-row {
    display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start;
}

/* 学生日历组件 */
.hw-cal-widget {
    background: white; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 14px 16px; width: 320px; flex-shrink: 0;
}
.hw-cal-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hw-cal-title { font-size: 15px; font-weight: 600; color: var(--color-text-primary); min-width: 100px; text-align: center; }
.hw-cal-nav {
    width: 30px; height: 30px; border: 1px solid #e5e7eb; border-radius: 6px;
    background: white; font-size: 18px; color: #475569; cursor: pointer;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.hw-cal-nav:hover { background: #F1F5F9; border-color: #CBD5E1; }
.hw-cal-today-btn {
    margin-left: auto; padding: 5px 12px; border: 1px solid #e5e7eb;
    border-radius: 6px; background: white; font-size: 13px; color: #475569; cursor: pointer;
}
.hw-cal-today-btn:hover { background: #F1F5F9; border-color: #CBD5E1; }
.hw-cal-weekdays {
    display: grid; grid-template-columns: repeat(7, 1fr);
    text-align: center; font-size: 12px; color: #94A3B8; margin-bottom: 4px;
}
.hw-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.hw-cal-day {
    position: relative; text-align: center; padding: 6px 0; font-size: 13px;
    border-radius: 6px; cursor: pointer; color: #334155; line-height: 1.4;
}
.hw-cal-day:hover { background: #F1F5F9; }
.hw-cal-day.other-month { color: #CBD5E1; }
.hw-cal-day.today { font-weight: 700; }
.hw-cal-day.today::after {
    content: ''; display: block; width: 4px; height: 4px; border-radius: 50%;
    background: var(--color-primary); margin: 1px auto 0;
}
.hw-cal-day.selected { background: var(--color-primary); color: white; font-weight: 600; }
.hw-cal-day.selected:hover { background: var(--color-primary); opacity: .9; }
.hw-cal-day.selected.today::after { background: white; }
.hw-cal-badge {
    position: absolute; top: 1px; right: 2px; min-width: 16px; height: 16px;
    padding: 0 4px; border-radius: 8px;
    font-size: 10px; font-weight: 600; line-height: 16px; text-align: center;
}
.hw-cal-badge-done { background: #16a34a; color: white; }
.hw-cal-badge-todo { background: #f59e0b; color: white; }
.hw-cal-day.selected .hw-cal-badge-done { background: white; color: #16a34a; }
.hw-cal-day.selected .hw-cal-badge-todo { background: white; color: #f59e0b; }
.hw-cal-overdue { background: #FEF2F2; }
.hw-cal-overdue:hover { background: #FEE2E2; }
.hw-cal-day.selected.hw-cal-overdue { background: var(--color-primary); }

/* 日历下方练习记录面板 */
.pcal-records {
    border-top: 1px solid #e5e7eb; margin-top: 10px; padding-top: 10px;
}
.pcal-records-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px; font-weight: 600; color: var(--color-text-primary);
}
.pcal-records-close {
    width: 22px; height: 22px; border: none; background: #f1f5f9;
    border-radius: 4px; font-size: 14px; color: #64748B; cursor: pointer;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.pcal-records-close:hover { background: #e2e8f0; }
.pcal-records-list { display: flex; flex-direction: column; gap: 4px; max-height: 200px; overflow-y: auto; }
.pcal-record-item {
    display: flex; align-items: center; gap: 8px; padding: 6px 8px;
    border-radius: 6px; font-size: 13px; cursor: pointer; transition: background .12s;
}
.pcal-record-item:hover { background: #f0fdf4; }
.pcal-record-item .hw-type-tag { font-size: 10px; padding: 1px 6px; }
.pcal-record-topic { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #334155; }
.pcal-record-mode {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.pcal-record-mode.mode-exam { background: #dcfce7; color: #166534; }
.pcal-record-mode.mode-mock_exam { background: #f1f5f9; color: #475569; }
.pcal-record-mode.mode-sat-practice { background: #e0f2fe; color: #0369a1; }
.pcal-record-mode.mode-dictation,
.pcal-record-mode.mode-audio_cloze_dictation { background: #ffedd5; color: #ea580c; }
.pcal-record-mode.mode-vocab_learn,
.pcal-record-mode.mode-vocab_game { background: #dbeafe; color: #1e40af; }
.pcal-record-mode.mode-vocab_match { background: #ede9fe; color: #7c3aed; }
.pcal-record-mode.mode-vocab_quiz,
.pcal-record-mode.mode-vocab_exam,
.pcal-record-mode.mode-audio_cloze_practice,
.pcal-record-mode.mode-listening { background: #e0f2fe; color: #0369a1; }
.pcal-record-mode.mode-writing_practice,
.pcal-record-mode.mode-sentences,
.pcal-record-mode.mode-sentence_parse,
.pcal-record-mode.mode-cloze,
.pcal-record-mode.mode-spelling,
.pcal-record-mode.mode-typing { background: #fef3c7; color: #92400e; }
.pcal-record-mode.mode-oral,
.pcal-record-mode.mode-oral_practice { background: #fce7f3; color: #db2777; }
.pcal-record-mode.mode-multi { background: #f1f5f9; color: #475569; }
.pcal-record-score { font-size: 12px; font-weight: 600; color: #16a34a; white-space: nowrap; }
.pcal-record-status { font-size: 11px; color: #94A3B8; white-space: nowrap; }
.pcal-record-item .sat-practice-meta-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}
.pcal-record-item .sat-practice-difficulty-1,
.pcal-record-item .sat-practice-difficulty-easy { background: #dcfce7; color: #166534; }
.pcal-record-item .sat-practice-difficulty-2,
.pcal-record-item .sat-practice-difficulty-medium { background: #fef3c7; color: #92400e; }
.pcal-record-item .sat-practice-difficulty-3,
.pcal-record-item .sat-practice-difficulty-hard { background: #fee2e2; color: #b91c1c; }
.pcal-record-item .sat-practice-source-question_bank,
.pcal-record-item .sat-practice-source-qb { background: #dbeafe; color: #1d4ed8; }
.pcal-record-item .sat-practice-source-real_test,
.pcal-record-item .sat-practice-source-rt { background: #ede9fe; color: #6d28d9; }
.hw-primary-line-top .sat-practice-meta-badge,
.hw-package-task-row .sat-practice-meta-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}
.hw-package-task-row .sat-practice-meta-badge { margin-left: 6px; }
.hw-primary-line-top .sat-practice-difficulty-1,
.hw-primary-line-top .sat-practice-difficulty-easy,
.hw-package-task-row .sat-practice-difficulty-1,
.hw-package-task-row .sat-practice-difficulty-easy { background: #dcfce7; color: #166534; }
.hw-primary-line-top .sat-practice-difficulty-2,
.hw-primary-line-top .sat-practice-difficulty-medium,
.hw-package-task-row .sat-practice-difficulty-2,
.hw-package-task-row .sat-practice-difficulty-medium { background: #fef3c7; color: #92400e; }
.hw-primary-line-top .sat-practice-difficulty-3,
.hw-primary-line-top .sat-practice-difficulty-hard,
.hw-package-task-row .sat-practice-difficulty-3,
.hw-package-task-row .sat-practice-difficulty-hard { background: #fee2e2; color: #b91c1c; }
.hw-primary-line-top .sat-practice-source-question_bank,
.hw-primary-line-top .sat-practice-source-qb,
.hw-package-task-row .sat-practice-source-question_bank,
.hw-package-task-row .sat-practice-source-qb { background: #dbeafe; color: #1d4ed8; }
.hw-primary-line-top .sat-practice-source-real_test,
.hw-primary-line-top .sat-practice-source-rt,
.hw-package-task-row .sat-practice-source-real_test,
.hw-package-task-row .sat-practice-source-rt { background: #ede9fe; color: #6d28d9; }
.pcal-records-empty { font-size: 12px; color: #94A3B8; text-align: center; padding: 8px 0; }

.hw-columns { display: flex; gap: 16px; margin-bottom: 32px; align-items: flex-start; }
.hw-col {
    flex: 1; min-width: 0; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 10px; overflow: hidden;
}
.hw-col-header {
    padding: 10px 14px; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #e5e7eb;
}
.hw-col-header-todo { background: #FEF2F2; color: #991B1B; flex-wrap: wrap; }
.hw-col-header-done { background: #F0FDF4; color: #166534; }
.hw-filter-btns { display: flex; gap: 4px; margin-left: auto; }
.hw-filter-btn {
    padding: 2px 8px; border: 1px solid #e5e7eb; border-radius: 4px;
    font-size: 11px; font-weight: 600; cursor: pointer;
    background: #fff; color: #64748B; transition: all .15s; white-space: nowrap;
}
.hw-filter-btn:hover { border-color: #94A3B8; background: #f8fafc; }
.hw-filter-btn.active { background: #991B1B; color: #fff; border-color: #991B1B; }
.hw-filter-btn.hw-filter-overdue.active { background: #DC2626; border-color: #DC2626; }
.hw-filter-btn.hw-filter-active.active { background: #1E40AF; border-color: #1E40AF; }
.hw-col-icon { font-size: 15px; }
.hw-col-count { font-size: 12px; font-weight: 600; opacity: .7; margin-left: 2px; }
.hw-col-empty { text-align: center; color: #94A3B8; padding: 24px 14px; font-size: 13px; }
.hw-overdue-divider {
    font-size: 11px; font-weight: 700; color: #DC2626; padding: 6px 14px 2px;
    background: #FFF5F5;
}
.hw-subject-divider {
    display: flex; align-items: center; gap: 8px; padding: 10px 14px 6px; background: #f8fafc;
    border-top: 1px solid #eef2f7; font-size: 12px; font-weight: 800; color: #334155;
}
.hw-subject-divider:first-child { border-top: none; }
.hw-subject-badge { flex-shrink: 0; }
.hw-empty { text-align: center; color: var(--color-text-muted); padding: 24px 0; font-size: 14px; }

.hw-list { display: flex; flex-direction: column; gap: 0; }
.hw-card {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-bottom: 1px solid #f1f5f9;
    transition: background .15s;
}
.hw-card:hover { background: #f8fdf9; }
.hw-card-link { cursor: pointer; }
.hw-card-link:hover { background: #f0fdf4; }
.hw-package-card { cursor: pointer; }
.hw-card-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
/* 题型颜色标签 */
.hw-type-tag {
    display: inline-block; padding: 3px 8px; border-radius: 5px;
    font-size: 12px; font-weight: 700; flex-shrink: 0; letter-spacing: .3px;
}
/* 托福阅读 - 蓝底 */
.hw-type-RAP { background: #dbeafe; color: #1e40af; }
.hw-type-CTW { background: #dbeafe; color: #be123c; }
.hw-type-RDP { background: #dbeafe; color: #7e22ce; }
/* 托福听力 - 紫底 */
.hw-type-ACT { background: #ede9fe; color: #1e40af; }
.hw-type-CON { background: #ede9fe; color: #be123c; }
.hw-type-ANN { background: #ede9fe; color: #166534; }
.hw-type-LCR { background: #ede9fe; color: #b45309; }
.hw-type-ACP { background: #e0f2fe; color: #0369a1; }
.hw-type-ACD { background: #ffedd5; color: #ea580c; }
/* 托福写作 - 橙底 */
.hw-type-WAD { background: #fdba74; color: #1e40af; }
.hw-type-WAE { background: #fdba74; color: #be123c; }
.hw-type-BAS { background: #fdba74; color: #7e22ce; }
/* 托福口语 - 青底 */
.hw-type-LAR { background: #99f6e4; color: #1e40af; }
.hw-type-TAR { background: #99f6e4; color: #be123c; }
/* 雅思阅读 - 黄底 */
.hw-type-IR { background: #fef3c7; color: #92400e; }
.hw-type-IR1 { background: #fef3c7; color: #1e40af; }
.hw-type-IR2 { background: #fef3c7; color: #be123c; }
.hw-type-IR3 { background: #fef3c7; color: #7e22ce; }
/* 雅思听力 - 粉底 */
.hw-type-IL { background: #fce7f3; color: #9d174d; }
.hw-type-IL1 { background: #fce7f3; color: #1e40af; }
.hw-type-IL2 { background: #fce7f3; color: #166534; }
.hw-type-IL3 { background: #fce7f3; color: #b45309; }
.hw-type-IL4 { background: #fce7f3; color: #7e22ce; }
/* 雅思写作 - 绿底 */
.hw-type-IW { background: #dcfce7; color: #15803d; }
.hw-type-IW1 { background: #86efac; color: #1e40af; }
.hw-type-IW2 { background: #86efac; color: #be123c; }
/* 雅思口语 - 灰蓝底 */
.hw-type-INI { background: #c7d2fe; color: #be123c; }
.hw-type-LTD { background: #c7d2fe; color: #7e22ce; }
.hw-type-ORL_P1 { background: #e0e7ff; color: #4338ca; }
.hw-type-ORP { background: #c7d2fe; color: #3730a3; }
.hw-type-TOEFL_LCR { background: #ede9fe; color: #b45309; }
.hw-type-TOEFL_MOCK { background: #dcfce7; color: #166534; }
.hw-type-IELTS_MOCK { background: #ccfbf1; color: #0f766e; }
.hw-type-SAT_MOCK { background: #e0f2fe; color: #075985; }
.hw-type-SAT_PRACTICE { background: #dbeafe; color: #1d4ed8; }
.hw-type-LLK { background: #f0e6ff; color: #7c3aed; }
.hw-type-VEX { background: #e0f2fe; color: #0284c7; }
.hw-type-VOCAB { background: #ecfdf5; color: #047857; }
.hw-type-IELTS_L { background: #fef3c7; color: #92400e; }
.hw-type-TOEFL_C { background: #dbeafe; color: #1e40af; }
.hw-type-TOEFL_L { background: #e0e7ff; color: #4338ca; }
.hw-type-LANG { background: #dcfce7; color: #166534; }
.hw-type-WP_WA { background: #fef3c7; color: #b45309; }
.hw-type-WP_WI { background: #e0f2fe; color: #0369a1; }
.hw-type-WP_WAD { background: #fef3c7; color: #b45309; }
.hw-type-WP_WAE { background: #e0f2fe; color: #0369a1; }
.hw-type-WP_C { background: #dcfce7; color: #16a34a; }
.hw-type-WP_CLOZE { background: #dcfce7; color: #16a34a; }
.hw-type-WP_GAP { background: #ffedd5; color: #ea580c; }
.hw-type-WP_TYPING { background: #e0e7ff; color: #4338ca; }
.hw-type-WP_W2 { background: #ede9fe; color: #7c3aed; }
.hw-type-WP_TK { background: #ffedd5; color: #ea580c; }
.hw-type-WP_RE { background: #fce7f3; color: #db2777; }
.hw-type-SPA { background: #fef3c7; color: #92400e; }
.hw-type-PACKAGE { background: #f8fafc; color: #334155; border: 1px solid #cbd5e1; }

/* 仪表盘 */
.hw-dashboard {
    flex: 1; min-width: 0; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 12px; padding: 16px 18px;
}
.hw-dash-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.hw-dash-title { font-size: 14px; font-weight: 700; color: var(--color-text-primary); }
.hw-dash-range { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hw-dash-date {
    padding: 4px 8px; border: 1px solid #e5e7eb; border-radius: 6px;
    font-size: 12px; color: #334155; outline: none; background: #fff;
}
.hw-dash-date:focus { border-color: var(--color-primary); }
.hw-dash-sep { font-size: 12px; color: #94A3B8; }
.hw-dash-query {
    padding: 4px 12px; border: 1px solid var(--color-primary); border-radius: 6px;
    background: var(--color-primary); color: #fff; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: opacity .15s;
}
.hw-dash-query:hover { opacity: .85; }
.hw-dash-reset {
    padding: 4px 10px; border: 1px solid #e5e7eb; border-radius: 6px;
    background: #fff; color: #64748B; font-size: 12px; cursor: pointer;
}
.hw-dash-reset:hover { background: #f1f5f9; border-color: #CBD5E1; }
.hw-dash-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.hw-dash-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: #F8FAFC; border: 1px solid #f1f5f9; border-radius: 10px;
    min-width: 0; width: calc(50% - 5px);
}
.hw-dash-item .hw-type-tag { font-size: 11px; padding: 2px 7px; }
.hw-dash-nums { font-size: 13px; color: #475569; line-height: 1.5; }
.hw-dash-nums strong { font-size: 18px; font-weight: 700; color: var(--color-text-primary); }
.hw-dash-avg { font-size: 12px; color: #94A3B8; margin-top: 1px; }
.hw-dash-empty { font-size: 13px; color: #94A3B8; text-align: center; padding: 16px 0; }
.hw-info { flex: 1; min-width: 0; }
.hw-primary-line {
    font-size: 14px; font-weight: 600; color: var(--color-text-primary);
    line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hw-primary-line-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hw-primary-line-text {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.hw-secondary-line {
    font-size: 12px; color: #94A3B8; margin-top: 2px; line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hw-secondary-line .hw-sep { margin: 0 4px; opacity: .5; }
.hw-redo-tag {
    display: inline-block; padding: 1px 6px; border-radius: 4px;
    font-size: 11px; font-weight: 600; background: #FEE2E2; color: #991B1B;
    margin-left: 6px; vertical-align: middle;
}
.hw-progress-tag {
    display: inline-block; padding: 1px 6px; border-radius: 4px;
    font-size: 11px; font-weight: 600; background: #DBEAFE; color: #1E40AF;
    margin-left: 6px; vertical-align: middle;
}
.hw-score-tag {
    display: inline-block; padding: 1px 6px; border-radius: 4px;
    font-size: 11px; font-weight: 600; background: #DCFCE7; color: #166534;
    margin-left: 6px; vertical-align: middle;
}
.hw-btn {
    padding: 6px 14px; background: var(--color-primary); color: white;
    border: none; border-radius: 6px; font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap; flex-shrink: 0; text-decoration: none;
    transition: background .15s;
}
.hw-btn:hover { background: var(--color-primary-dark); }
.hw-btn-start {
    background: var(--color-primary); color: #fff;
}
.hw-btn-start:hover { background: var(--color-primary-dark); }
.hw-btn-continue {
    background: #2563EB; color: #fff;
}
.hw-btn-continue:hover { background: #1D4ED8; }
.hw-btn-redo {
    background: #DC2626; color: #fff;
}
.hw-btn-redo:hover { background: #B91C1C; }
.hw-btn-view {
    background: #0F766E; color: #fff;
}
.hw-btn-view:hover { background: #115E59; }
.hw-package-modal {
    position: fixed; inset: 0; z-index: 1000;
}
.hw-package-modal-backdrop {
    position: absolute; inset: 0; background: rgba(15, 23, 42, .38);
}
.hw-package-modal-panel {
    position: absolute; top: 24px; right: 24px; bottom: 24px;
    width: min(720px, calc(100vw - 48px)); background: #fff;
    border-radius: 10px; box-shadow: 0 20px 48px rgba(15, 23, 42, .22);
    display: flex; flex-direction: column; overflow: hidden;
}
.hw-package-modal-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid #e5e7eb;
}
.hw-package-modal-head h3 {
    margin: 0; font-size: 16px; color: var(--color-text-primary);
}
.hw-package-modal-close {
    width: 30px; height: 30px; border: 1px solid #e5e7eb; border-radius: 6px;
    background: #fff; color: #475569; font-size: 18px; line-height: 1;
    cursor: pointer;
}
.hw-package-modal-close:hover { background: #f8fafc; }
.hw-package-modal-body {
    padding: 14px; overflow: auto; display: flex; flex-direction: column; gap: 8px;
}
.hw-package-task-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 8px;
    background: #fff;
}
.hw-package-task-row strong {
    display: block; color: var(--color-text-primary); font-size: 14px; margin-bottom: 4px;
}
.hw-package-task-row p {
    display: flex; gap: 6px; flex-wrap: wrap; margin: 0; color: #64748B; font-size: 12px;
}
.hw-package-module-tag,
.hw-package-task-row p > span:not(.hw-type-tag) {
    padding: 2px 6px; border-radius: 4px; background: #f8fafc;
}
.hw-package-task-row .hw-type-tag {
    padding: 2px 7px; border-radius: 5px; font-size: 12px; letter-spacing: 0;
}
.hw-package-status-tag {
    font-weight: 700;
}
.hw-package-status-pending {
    background: #fef3c7 !important; color: #92400e;
}
.hw-package-status-active {
    background: #dbeafe !important; color: #1e40af;
}
.hw-package-status-redo {
    background: #fee2e2 !important; color: #991b1b;
}
.hw-package-status-done {
    background: #dcfce7 !important; color: #166534;
}
.hw-package-status-muted {
    background: #f1f5f9 !important; color: #475569;
}
.hw-package-action {
    min-width: 58px; padding: 7px 14px; border-radius: 6px;
    font-size: 13px; font-weight: 700; text-align: center; text-decoration: none;
    white-space: nowrap; flex-shrink: 0; border: 1px solid transparent;
}
.hw-package-action-start {
    background: var(--color-primary); color: #fff;
}
.hw-package-action-start:hover { background: var(--color-primary-dark); }
.hw-package-action-redo {
    background: #fef2f2; border-color: #fecaca; color: #991b1b;
}
.hw-package-action-redo:hover { background: #fee2e2; }
.hw-package-action-continue {
    background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8;
}
.hw-package-action-continue:hover { background: #dbeafe; }
.hw-package-action-view {
    background: #f0fdf4; border-color: #bbf7d0; color: #166534;
}
.hw-package-action-view:hover { background: #dcfce7; }
.hw-package-action-muted {
    background: #f1f5f9; border-color: #cbd5e1; color: #64748b; cursor: not-allowed;
}
@media (max-width: 768px) {
    .hw-top-row { flex-direction: column; }
    .hw-cal-widget { width: 100%; }
    .hw-columns { flex-direction: column; }
    .hw-dash-item { width: 100%; }
    .hw-dash-header { flex-direction: column; align-items: flex-start; }
    .hw-package-modal-panel {
        top: 10px; right: 10px; bottom: 10px; width: calc(100vw - 20px);
    }
    .hw-package-task-row {
        align-items: stretch; flex-direction: column;
    }
}
@media (max-width: 480px) {
    .hw-card { flex-wrap: wrap; }
    .hw-card-left { width: 100%; }
    .hw-btn { width: 100%; text-align: center; padding: 10px; }
    .hw-primary-line-top { flex-wrap: wrap; }
}

/* ===== 题目浏览器 ===== */
.qbrowser { display: flex; gap: 0; min-height: 400px; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }

/* 左侧 sidebar */
.qb-sidebar {
    width: 240px; min-width: 240px; background: #eef8f4; border-right: 1px solid #e5e7eb;
    align-self: stretch;
    padding: 12px 0;
}
.qb-exam-toggle {
    display: flex; gap: 0; margin: 4px 12px 12px; border-radius: 8px;
    overflow: hidden; border: 1px solid #d1d5db;
}
.qb-exam-btn {
    flex: 1; padding: 7px 0; border: none; background: #fff; color: #64748B;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
    text-align: center;
}
.qb-exam-btn.active { background: var(--color-primary); color: #fff; }
.qb-exam-btn:hover:not(.active) { background: #f1f5f9; }

.qb-sidebar-section { margin-bottom: 4px; }
.qb-sidebar-heading {
    display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 13px;
    font-weight: 700; color: #475569; cursor: pointer; user-select: none;
    width: 100%; border: 0; background: transparent; font-family: inherit; text-align: left;
}
.qb-sidebar-heading:hover { background: rgba(74,188,153,.08); }
.qb-sidebar-heading .qb-icon { width: 16px; height: 16px; opacity: .6; }
.qb-sidebar-heading .qb-chevron {
    margin-left: auto; transition: transform .2s; font-size: 11px; opacity: .5;
}
.qb-sidebar-heading.collapsed .qb-chevron { transform: rotate(-90deg); }
.qb-sidebar-items { }
.qb-sidebar-heading.collapsed + .qb-sidebar-items { display: none; }
.qb-sidebar-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 16px 9px 24px; font-size: 14px; color: #334155; cursor: pointer;
    border-left: 3px solid transparent; transition: all .15s; text-decoration: none;
}
.qb-sidebar-item-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.qb-sidebar-item .qb-icon { width: 16px; height: 16px; opacity: .65; }
.qb-sidebar-item-standalone {
    padding-left: 16px;
    font-weight: 700;
}
.qb-sidebar-item:hover { background: rgba(74,188,153,.1); }
.qb-sidebar-item.active {
    border-left-color: var(--color-primary); background: rgba(74,188,153,.15);
    color: var(--color-primary); font-weight: 600;
}
.qb-sidebar-item .qb-item-count {
    font-size: 12px; color: #94A3B8; background: #fff; padding: 1px 8px;
    border-radius: 10px; font-weight: 500;
}
.qb-sidebar-item.active .qb-item-count { color: var(--color-primary); background: rgba(255,255,255,.8); }
.qb-llk-badge {
    font-size: 10px; padding: 1px 5px; border-radius: 4px;
    background: #e0f7ff; color: #00aaff; font-weight: 600; margin-left: 4px;
}

/* 右侧主内容 */
.qb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qb-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid #e5e7eb; flex-wrap: wrap;
}
.qb-toolbar[hidden] { display: none !important; }
.qb-toolbar-title { font-size: 15px; font-weight: 600; color: var(--color-text-primary); }
.qb-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.qb-toolbar-actions[hidden] { display: none !important; }
.qb-toolbar-sat-mock {
    padding: 16px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}
.qb-toolbar-sat-mock .qb-toolbar-actions {
    margin-left: auto;
}
.qb-toolbar-sat-mock .qb-search-input {
    display: none !important;
}
.qb-search-input {
    padding: 5px 10px; border: 1px solid #e5e7eb; border-radius: 6px;
    font-size: 13px; color: #334155; background: #fff; outline: none; width: 120px;
    transition: border-color .2s;
}
.qb-search-input:focus { border-color: var(--color-primary); }
.qb-search-input::placeholder { color: #94A3B8; }
.qb-select {
    padding: 5px 10px; border: 1px solid #e5e7eb; border-radius: 6px;
    font-size: 13px; color: #334155; background: #fff; cursor: pointer; outline: none;
}
.qb-select:focus { border-color: var(--color-primary); }

.qb-sat-practice-controls {
    display: grid;
    gap: 14px;
    padding: 12px 18px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.qb-sat-practice-mode-row,
.qb-sat-practice-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.qb-sat-practice-form-row + .qb-sat-practice-form-row {
    margin-top: 12px;
}
.qb-sat-practice-form-row-common {
    padding-top: 12px;
    border-top: 1px solid #e8edf5;
}
.qb-sat-practice-mode-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d1d5db;
}
.qb-sat-practice-mode-btn {
    min-width: 108px;
    padding: 8px 14px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.qb-sat-practice-mode-btn.active {
    background: var(--color-primary);
    color: #fff;
}
.qb-sat-practice-mode-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.qb-sat-practice-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    min-height: 38px;
}
.qb-sat-practice-inline-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    margin-left: 4px;
}
.qb-sat-practice-inline-toggle input {
    margin: 0;
}
.qb-sat-practice-field-grow {
    flex: 1 1 320px;
}
.qb-sat-practice-textarea {
    min-width: 240px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font: inherit;
    color: #334155;
    resize: vertical;
    background: #fff;
}
.qb-sat-practice-textinput {
    min-width: 320px;
    height: 38px;
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font: inherit;
    color: #334155;
    background: #fff;
    width: 100%;
    max-width: 520px;
}
.qb-sat-practice-config-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    padding: 0;
}
.qb-sat-practice-group {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e3ebe8;
    border-radius: 10px;
    background: #fff;
}
.qb-sat-practice-group-title,
.qb-sat-practice-field {
    display: block;
    margin: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}
.qb-sat-practice-choice-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.qb-sat-practice-choice-grid-difficulty {
    grid-template-columns: none;
}
.qb-sat-practice-choice-grid-source {
    grid-template-columns: none;
}
.qb-sat-practice-choice {
    position: relative;
    min-width: 126px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 11px;
    border: 1px solid #dce6e2;
    border-radius: 12px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.qb-sat-practice-choice-grid-source .qb-sat-practice-choice {
    min-width: 176px;
}
.qb-sat-practice-choice > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}
.qb-sat-practice-choice > span::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    border: 1.5px solid #b8c7c3;
    border-radius: 999px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.qb-sat-practice-choice > span::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 5px;
    height: 5px;
    transform: translateY(-50%) scale(0);
    border-radius: 999px;
    background: var(--color-primary);
    transition: transform .18s ease;
}
.qb-sat-practice-choice-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1.1;
}
.qb-sat-practice-choice-text strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #243145;
    font-size: 12px;
    font-weight: 850;
}
.qb-sat-practice-choice-text small {
    color: #7a8a9a;
    font-size: 10px;
    font-weight: 700;
}
.qb-sat-practice-choice:hover {
    border-color: var(--color-primary);
    background: #f2fbf8;
    color: #087568;
}
.qb-sat-practice-choice input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.qb-sat-practice-choice:has(input:checked) {
    border-color: var(--color-primary);
    background: #eefbf8;
    color: #087568;
}
.qb-sat-practice-choice:has(input:checked) > span::before {
    border-color: var(--color-primary);
    box-shadow: inset 0 0 0 3px #fff;
    background: #eefbf8;
}
.qb-sat-practice-choice:has(input:checked) > span::after {
    transform: translateY(-50%) scale(1);
}
.qb-sat-practice-choice.is-locked {
    color: #94a3b8;
    border-style: dashed;
}
.qb-sat-practice-choice.is-locked > span::before {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.qb-sat-practice-scope-summary {
    grid-column: auto;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 4px 10px;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #e3ebe8;
    border-radius: 10px;
    background: #fff;
}
.qb-sat-practice-scope-label {
    grid-row: span 2;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}
.qb-sat-practice-scope-summary strong {
    min-width: 0;
    color: #102a27;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qb-sat-practice-scope-count {
    min-width: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qb-sat-practice-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    grid-column: auto;
}
.qb-sat-practice-start .qb-go-btn {
    min-height: 34px;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 13px;
}
.qb-sat-practice-start .qb-go-btn:disabled,
.qb-sat-practice-start .qb-go-btn.is-disabled {
    border-color: #d8e2df;
    background: #edf2f1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}
.qb-sat-practice-selection {
    padding: 12px 20px 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}
.qb-sat-practice-tree {
    margin: 8px 0 4px;
    padding-left: 12px;
}
.qb-sat-practice-tree-list,
.qb-sat-practice-tree-children {
    list-style: none;
    margin: 0;
    padding: 0;
}
.qb-sat-practice-tree-node {
    margin-top: 6px;
}
.qb-sat-practice-tree-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    text-align: left;
}
.qb-sat-practice-tree-toggle:hover {
    background: rgba(74,188,153,.1);
}
.qb-sat-practice-tree-toggle.is-selected {
    background: rgba(74,188,153,.15);
    color: var(--color-primary);
    font-weight: 700;
}
.qb-sat-practice-tree-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .18s ease;
    flex-shrink: 0;
}
.qb-sat-practice-tree-toggle.is-expanded .qb-sat-practice-tree-chevron {
    transform: rotate(45deg);
}
.qb-sat-practice-tree-chevron.is-hidden { visibility: hidden; }
.qb-sat-practice-tree-count {
    margin-left: auto;
    font-size: 12px;
    color: #64748b;
}
.qb-sat-practice-tree-children {
    margin-left: 14px;
    border-left: 1px solid rgba(100,116,139,.15);
    padding-left: 8px;
}
.qb-sat-practice-tree-children.is-collapsed { display: none; }
.qb-empty.qb-empty-compact { padding: 12px; }
.qb-sat-practice-check-cell {
    width: 36px;
    text-align: center;
}

/* 表格 */
.qb-table-wrap { flex: 1; overflow-x: auto; }
.qb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.qb-table thead th {
    padding: 10px 14px; text-align: center; font-weight: 600; color: #64748B;
    font-size: 13px; border-bottom: 1px solid #e5e7eb; background: #F8FAFC;
    white-space: nowrap;
}
.qb-table tbody td {
    padding: 11px 14px; border-bottom: 1px solid #f1f5f9; color: #334155;
    vertical-align: middle;
}
.qb-table tbody tr:hover { background: #f8fdf9; }
.qb-col-type { width: 55px; text-align: center; }
.qb-col-num { width: 55px; text-align: center; }
.qb-type-tag {
    display: inline-block; padding: 2px 7px; border-radius: 4px;
    font-size: 11px; font-weight: 700; white-space: nowrap;
}
/* 托福阅读 - 蓝底 */
.qb-type-RAP { background: #dbeafe; color: #1e40af; }
.qb-type-CTW { background: #dbeafe; color: #be123c; }
.qb-type-RDP { background: #dbeafe; color: #7e22ce; }
/* 托福听力 - 紫底 */
.qb-type-ACT { background: #ede9fe; color: #1e40af; }
.qb-type-CON { background: #ede9fe; color: #be123c; }
.qb-type-ANN { background: #ede9fe; color: #166534; }
.qb-type-LCR { background: #ede9fe; color: #b45309; }
/* 托福写作 - 橙底 */
.qb-type-WAD { background: #fdba74; color: #1e40af; }
.qb-type-WAE { background: #fdba74; color: #be123c; }
.qb-type-BAS { background: #fdba74; color: #7e22ce; }
/* 托福口语 - 青底 */
.qb-type-LAR { background: #99f6e4; color: #1e40af; }
.qb-type-TAR { background: #99f6e4; color: #be123c; }
.qb-type-TOEFL_MOCK { background: #dcfce7; color: #166534; }
.qb-type-SAT_MOCK { background: #e0f2fe; color: #075985; }
.qb-type-IELTS_MOCK { background: #ccfbf1; color: #0f766e; }
/* 雅思写作 - 绿底 */
.qb-type-IW { background: #86efac; color: #166534; }
.qb-type-IW1 { background: #86efac; color: #1e40af; }
.qb-type-IW2 { background: #86efac; color: #be123c; }
/* 雅思口语 - 灰蓝底 */
.qb-type-INI { background: #c7d2fe; color: #be123c; }
.qb-type-LTD { background: #c7d2fe; color: #7e22ce; }
.qb-type-ORP { background: #c7d2fe; color: #3730a3; }
/* 雅思阅读 - 黄底 */
.qb-type-IR { background: #fef3c7; color: #92400e; }
.qb-type-IR1 { background: #fef3c7; color: #1e40af; }
.qb-type-IR2 { background: #fef3c7; color: #be123c; }
.qb-type-IR3 { background: #fef3c7; color: #7e22ce; }
/* 雅思听力 - 粉底 */
.qb-type-IL { background: #fce7f3; color: #9d174d; }
.qb-type-IL1 { background: #fce7f3; color: #1e40af; }
.qb-type-IL2 { background: #fce7f3; color: #166534; }
.qb-type-IL3 { background: #fce7f3; color: #b45309; }
.qb-type-IL4 { background: #fce7f3; color: #7e22ce; }
.qb-type-SPA { background: #fef3c7; color: #92400e; }
.qb-col-topic { width: 210px; }
.qb-col-tag { width: 78px; text-align: center; }
.qb-tag-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.qb-tag-l1 {
    font-size: 11px; font-weight: 700; line-height: 1.3;
    padding: 2px 8px; border-radius: 4px;
    white-space: nowrap;
}
.qb-tag-l2 {
    font-size: 10px; font-weight: 500;
    white-space: nowrap; line-height: 1.2;
}
.qb-tag-color-ls { color: #16a34a; }
.qb-tag-l1.qb-tag-color-ls { background: #16a34a12; border: 1px solid #16a34a30; }
.qb-tag-color-ss { color: #b45309; }
.qb-tag-l1.qb-tag-color-ss { background: #b4530912; border: 1px solid #b4530930; }
.qb-tag-color-ps { color: #2563eb; }
.qb-tag-l1.qb-tag-color-ps { background: #2563eb12; border: 1px solid #2563eb30; }
.qb-tag-color-ah { color: #9333ea; }
.qb-tag-l1.qb-tag-color-ah { background: #9333ea12; border: 1px solid #9333ea30; }
.qb-tag-color-cam { color: #0891b2; }
.qb-tag-l1.qb-tag-color-cam { background: #0891b212; border: 1px solid #0891b230; }
.qb-tag-color-liv { color: #65a30d; }
.qb-tag-l1.qb-tag-color-liv { background: #65a30d12; border: 1px solid #65a30d30; }
.qb-tag-color-wrk { color: #c2410c; }
.qb-tag-l1.qb-tag-color-wrk { background: #c2410c12; border: 1px solid #c2410c30; }
.qb-tag-color-trv { color: #0d9488; }
.qb-tag-l1.qb-tag-color-trv { background: #0d948812; border: 1px solid #0d948830; }
.qb-tag-color-hlt { color: #dc2626; }
.qb-tag-l1.qb-tag-color-hlt { background: #dc262612; border: 1px solid #dc262630; }
.qb-tag-color-com { color: #6366f1; }
.qb-tag-l1.qb-tag-color-com { background: #6366f112; border: 1px solid #6366f130; }
.qb-tag-color-default { color: #6b7280; }
.qb-tag-l1.qb-tag-color-default { background: #6b728012; border: 1px solid #6b728030; }
.qb-col-stars { width: 80px; text-align: center; }
.qb-col-status { width: 220px; text-align: left; }
.qb-col-action { width: 180px; text-align: center; }

.qb-cell-center { text-align: center; }
.qb-topic-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.qb-num-cell { font-family: 'Monaco','Menlo',monospace; font-size: 13px; font-weight: 500; color: #475569; text-align: center; }
.qb-count-cell { font-size: 13px; color: #94A3B8; }
.qb-muted { color: #ccc; }
.qb-diff { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.qb-cefr {
    font-size: 10px; font-weight: 700; line-height: 1;
    padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px;
}
.qb-cefr-A1 { background: #dcfce7; color: #166534; }
.qb-cefr-A2 { background: #d1fae5; color: #065f46; }
.qb-cefr-B1 { background: #fef9c3; color: #854d0e; }
.qb-cefr-B2 { background: #fed7aa; color: #9a3412; }
.qb-cefr-C1 { background: #fecaca; color: #991b1b; }
.qb-cefr-C2 { background: #e9d5ff; color: #6b21a8; }
.qb-dots { display: flex; gap: 3px; }
.qb-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #e5e7eb;
}
.qb-dot-on { background: #9ca3af; }
.qb-dot-on.qb-dot-level-1 { background: #4ade80; }
.qb-dot-on.qb-dot-level-2 { background: #a3e635; }
.qb-dot-on.qb-dot-level-3 { background: #facc15; }
.qb-dot-on.qb-dot-level-4 { background: #fb923c; }
.qb-dot-on.qb-dot-level-5 { background: #f87171; }
.qb-badge {
    display: inline-block; padding: 2px 8px; border-radius: 6px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.qb-badge-completed { background: #DCFCE7; color: #166534; }
.qb-badge-submitted, .qb-badge-grading { background: #FEF3C7; color: #92400E; }
.qb-badge-none { background: #F1F5F9; color: #94A3B8; }
.qb-go-btn {
    display: inline-block; padding: 5px 14px; background: var(--color-primary); color: #fff;
    border: none; border-radius: 6px; font-size: 13px; font-weight: 600;
    cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s;
}
.qb-go-btn:hover { background: var(--color-primary-dark); }
.qb-row-locked {
    background: #f8fafc;
}
.qb-row-locked .qb-topic-text,
.qb-row-locked .qb-num-cell,
.qb-row-locked .qb-mock-paper-title,
.qb-row-locked .qb-mock-paper-meta,
.qb-row-locked .qb-mock-score {
    color: #94a3b8;
}
.qb-go-btn-unlock {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(220, 38, 38, .24);
}
.qb-go-btn-unlock:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}
.qb-row-locked .qb-go-btn-unlock {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    opacity: 1;
}
.qb-empty-action { margin-top: 14px; }
.qb-go-btn-secondary {
    background: #eef6f3;
    color: #2f6f5c;
}
.qb-go-btn-secondary:hover {
    background: #dfeee8;
}
.qb-go-btn-continue {
    background: #3e6ea8;
}
.qb-go-btn-continue:hover {
    background: #325d8d;
}
.qb-go-btn-restart {
    background: #fff4e5;
    color: #b45309;
}
.qb-go-btn-restart:hover {
    background: #fde7c7;
}
.qb-action-stack {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.access-lock-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.access-lock-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .46);
    backdrop-filter: blur(5px);
}
.access-lock-dialog {
    position: relative;
    width: min(460px, 100%);
    overflow: hidden;
    border: 1px solid rgba(225, 231, 235, .95);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 253, 251, .98) 100%);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .24), 0 2px 12px rgba(8, 191, 162, .08);
    padding: 28px 30px 26px;
}
.access-lock-dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 112px;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(222, 252, 240, .94), rgba(255, 255, 255, 0) 70%),
        radial-gradient(circle at 86% 12%, rgba(67, 214, 181, .24), rgba(67, 214, 181, 0) 38%);
}
.access-lock-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #64748b;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.access-lock-close:hover {
    background: #eef6f3;
    color: #0f766e;
    transform: translateY(-1px);
}
.access-lock-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #e8faf7;
    border: 1px solid rgba(8, 191, 162, .24);
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .56);
}
.access-lock-icon::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 20px;
    width: 16px;
    height: 12px;
    border-radius: 4px;
    background: #08bfa2;
}
.access-lock-icon::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 11px;
    width: 12px;
    height: 14px;
    border: 2px solid #08bfa2;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
}
.access-lock-kicker {
    position: relative;
    z-index: 1;
    margin-bottom: 7px;
    color: #08a88f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}
.access-lock-title {
    position: relative;
    z-index: 1;
    margin: 0 36px 10px 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    color: #24313b;
}
.access-lock-message {
    position: relative;
    z-index: 1;
    color: #526371;
    font-size: 15px;
    line-height: 1.7;
}
.access-lock-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(225, 231, 235, .86);
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
    list-style: none;
}
.access-lock-benefits li {
    position: relative;
    padding-left: 18px;
    color: #40515f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
.access-lock-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #08bfa2;
}
.access-lock-actions {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.access-lock-actions .qb-go-btn {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.access-lock-primary {
    box-shadow: 0 8px 18px rgba(8, 191, 162, .22);
}
.access-lock-secondary {
    border: 1px solid rgba(225, 231, 235, .95);
}
.sat-mock-resume-choice {
    position: fixed;
    inset: 0;
    z-index: 1210;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.sat-mock-resume-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .44);
    backdrop-filter: blur(5px);
}
.sat-mock-resume-dialog {
    position: relative;
    width: min(430px, 100%);
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, .88);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(74, 188, 153, .14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
    box-shadow: 0 28px 72px rgba(15, 23, 42, .25);
    padding: 28px;
}
.sat-mock-resume-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.sat-mock-resume-close:hover {
    background: #eef6f3;
    color: #0f766e;
}
.sat-mock-resume-kicker {
    color: #0f9f86;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .03em;
}
.sat-mock-resume-title {
    margin: 8px 36px 10px 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
}
.sat-mock-resume-copy {
    margin: 0;
    color: #526371;
    font-size: 14px;
    line-height: 1.7;
}
.sat-mock-resume-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}
.sat-mock-resume-primary,
.sat-mock-resume-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}
.sat-mock-resume-primary {
    background: #45bd99;
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(74, 188, 153, .24);
}
.sat-mock-resume-secondary {
    border: 1px solid rgba(203, 213, 225, .92);
    background: rgba(255, 255, 255, .82);
    color: #475569;
}

@media (max-width: 520px) {
    .access-lock-modal {
        align-items: flex-end;
        padding: 12px;
    }
    .access-lock-dialog {
        width: 100%;
        padding: 24px 22px 22px;
        border-radius: 14px;
    }
    .access-lock-title {
        font-size: 20px;
    }
    .access-lock-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .access-lock-actions .qb-go-btn {
        width: 100%;
    }
    .sat-mock-resume-choice {
        align-items: flex-end;
        padding: 14px;
    }
    .sat-mock-resume-dialog {
        padding: 24px 20px 20px;
        border-radius: 18px;
    }
    .sat-mock-resume-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .sat-mock-resume-primary,
    .sat-mock-resume-secondary {
        width: 100%;
    }
}
.qb-mock-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.45;
    align-items: center;
    text-align: center;
}
.qb-mock-meta strong {
    color: #1f2937;
    font-size: 15px;
}
.qb-mock-sub {
    font-size: 12px;
    color: #64748b;
}
.qb-mock-paper-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}
.qb-mock-paper-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.qb-mock-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}
.qb-mock-chip-official {
    background: #e0f2fe;
    color: #0369a1;
}
.qb-mock-chip-real {
    background: #fef3c7;
    color: #92400e;
}
.qb-mock-chip-sample {
    background: #dcfce7;
    color: #166534;
}
.qb-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.qb-status-pill-not-started {
    background: #f1f5f9;
    color: #64748b;
}
.qb-status-pill-in-progress {
    background: #dbeafe;
    color: #1d4ed8;
}
.qb-status-pill-completed {
    background: #dcfce7;
    color: #166534;
}
.qb-mock-score {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}
.qb-mock-score strong {
    font-size: 14px;
    color: #1f2937;
}
.qb-mock-score-total {
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
}
.qb-mock-score-breakdown {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}
.qb-mock-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    text-align: left;
}
.qb-table.qb-table-sat-mock-cards thead {
    display: none;
}
.qb-table.qb-table-sat-mock-cards tbody td {
    padding: 0;
    border-bottom: 0;
}
.qb-table.qb-table-sat-mock-cards tbody tr:hover {
    background: transparent;
}
.qb-sat-mock-card-row > td {
    background:
        linear-gradient(180deg, #f8fbfa 0%, #f5f8fb 100%);
}
.qb-sat-mock-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 22px;
}
.qb-sat-mock-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 126px;
    padding: 20px 20px 18px;
    border: 1px solid rgba(203, 213, 225, 0.78);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.qb-sat-mock-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 188, 153, 0.46);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.10);
}
.qb-sat-mock-card.is-year-2026 {
    background:
        radial-gradient(circle at 100% 100%, rgba(74, 188, 153, 0.13), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%);
}
.qb-sat-mock-card.is-year-2025 {
    background:
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.13), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7f7ff 100%);
}
.qb-sat-mock-card.is-year-2024 {
    background:
        radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.13), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #fff8ed 100%);
}
.qb-sat-mock-card.is-year-other {
    background:
        radial-gradient(circle at 100% 100%, rgba(148, 163, 184, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.qb-sat-mock-card.is-locked {
    background:
        radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.10), transparent 32%),
        #fffafa;
    border-color: #fecaca;
}
.qb-sat-mock-card.has-progress {
    border-color: rgba(99, 102, 241, 0.30);
}
.qb-sat-mock-status-badge {
    position: absolute;
    top: 14px;
    right: 40px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 999px;
    background: rgba(238, 242, 255, 0.92);
    color: #4f46e5;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.10);
    pointer-events: none;
}
.qb-sat-mock-card::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 8px;
    height: calc(100% - 36px);
    border-radius: 999px;
    background: rgba(74, 188, 153, 0.18);
    pointer-events: none;
}
.qb-sat-mock-card.is-year-2025::after {
    background: rgba(129, 140, 248, 0.18);
}
.qb-sat-mock-card.is-year-2024::after {
    background: rgba(245, 158, 11, 0.20);
}
.qb-sat-mock-card-main {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.qb-sat-mock-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qb-sat-mock-title-prefix {
    display: inline-flex;
    width: fit-content;
    color: #64748b;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .06em;
}
.qb-sat-mock-title-date {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}
.qb-sat-mock-title strong {
    color: #111827;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 30px;
    line-height: 1.02;
    font-weight: 820;
    letter-spacing: 0;
}
.qb-sat-mock-title-year {
    color: #475569;
    font-size: 20px;
    line-height: 1;
    font-weight: 760;
}
.qb-sat-mock-title-version {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}
.qb-sat-mock-card-score .qb-mock-score {
    align-items: flex-start;
    text-align: left;
}
.qb-sat-mock-card-score .qb-mock-score-total {
    font-size: 18px;
}
.qb-sat-mock-card-score .qb-mock-score-breakdown {
    font-size: 13px;
}
.qb-sat-mock-card-actions {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 16px;
}
.qb-sat-mock-card-actions .qb-go-btn-enter {
    min-width: 72px;
    height: 38px;
    min-height: 38px;
    padding: 0 20px;
    border: 1px solid rgba(74, 188, 153, 0.34);
    border-radius: 999px;
    background: rgba(236, 255, 248, 0.92);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.10);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.qb-sat-mock-card-actions .qb-go-btn-enter:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 188, 153, 0.58);
    background: #4abc99;
    color: #ffffff;
    box-shadow: 0 14px 24px rgba(74, 188, 153, 0.20);
}
.qb-sat-mock-card-actions .qb-go-btn-enter::after {
    content: "";
    margin-left: 0;
}
.qb-sat-mock-card-actions .qb-go-btn-restart {
    min-width: 64px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(180, 83, 9, 0.14);
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.86);
    color: #b45309;
    box-shadow: 0 10px 18px rgba(245, 158, 11, 0.10);
    font-size: 13px;
    font-weight: 800;
}
.qb-sat-mock-card-actions .qb-go-btn-restart::after {
    content: "";
    margin-left: 0;
}
.qb-sat-mock-card-actions .qb-go-btn-restart:hover {
    background: #ffedd5;
    color: #92400e;
}
.qb-sat-mock-card-actions .qb-go-btn-continue {
    background: linear-gradient(135deg, #7777f1 0%, #5754dc 100%);
    color: #ffffff;
    box-shadow:
        0 15px 26px rgba(79, 70, 229, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.50);
}
@media (max-width: 768px) {
    .qb-sat-mock-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    .qb-sat-mock-card {
        align-items: stretch;
        flex-direction: column;
        min-height: 0;
        gap: 16px;
        padding: 18px;
        border-radius: 16px;
    }
    .qb-sat-mock-title-date {
        gap: 8px;
    }
    .qb-sat-mock-title strong {
        font-size: 27px;
    }
    .qb-sat-mock-title-year {
        font-size: 19px;
    }
    .qb-sat-mock-card-actions {
        align-items: stretch;
        padding-right: 0;
    }
    .qb-sat-mock-card-actions .qb-go-btn {
        width: 100%;
    }
    .qb-sat-mock-card-actions .qb-go-btn-enter {
        width: auto;
        min-width: 72px;
        height: 36px;
        min-height: 36px;
        align-self: flex-end;
    }
}
.qb-loading { text-align: center; color: #94A3B8; padding: 40px 0; font-size: 14px; }
.qb-empty { text-align: center; color: #94A3B8; padding: 40px 0; }

/* 分页 */
.qb-pagination {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    padding: 14px 20px; border-top: 1px solid #e5e7eb;
}
.qb-page-btn {
    min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid #e5e7eb;
    border-radius: 6px; background: #fff; color: #334155; font-size: 13px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.qb-page-btn:hover:not(.active):not(:disabled) { background: #F1F5F9; border-color: #CBD5E1; }
.qb-page-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); font-weight: 600; }
.qb-page-btn:disabled { opacity: .4; cursor: default; }
.qb-page-ellipsis { padding: 0 4px; color: #94A3B8; font-size: 13px; }
.qb-page-jump {
    display: inline-flex; align-items: center; gap: 4px; margin-left: 10px;
    font-size: 13px; color: #64748B; white-space: nowrap;
}
.qb-page-input {
    width: 42px; height: 30px; text-align: center; border: 1px solid #e5e7eb;
    border-radius: 6px; font-size: 13px; color: #334155; outline: none;
    padding: 0 4px;
}
.qb-page-input:focus { border-color: var(--color-primary); }

/* ===== 词汇单元卡片 ===== */
.vocab-panel { padding: 20px; background: linear-gradient(180deg, #f8fbfa 0%, #ffffff 18%); }
.vocab-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vocab-panel-title { margin: 0; font-size: 20px; font-weight: 800; color: #1f2937; }
.vocab-panel-title-count { font-size: .85rem; color: #94a3b8; font-weight: 400; }
.vu-toolbar {
    display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px;
    padding: 14px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}
.vu-toolbar-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vu-toolbar-label { min-width: 64px; font-size: 12px; font-weight: 700; color: #64748b; }
.vu-toolbar-label-smart { color: var(--color-primary); }
.vu-toolbar-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vu-btn {
    padding: 7px 12px; border: 1px solid #dbe4ea; border-radius: 999px; background: #fff;
    color: #334155; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.vu-btn:hover { border-color: #94a3b8; background: #f8fafc; }
.vu-btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.vu-btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.vu-btn-smart { background: rgba(74,188,153,.08); color: var(--color-primary); border-color: rgba(74,188,153,.18); }
.vu-toolbar-sep { width: 1px; height: 20px; background: #e5e7eb; }
.vu-toolbar-hint { font-size: 12px; color: #94a3b8; font-weight: 600; }
.vu-input {
    min-width: 120px; padding: 7px 10px; border: 1px solid #dbe4ea; border-radius: 10px;
    background: #fff; color: #334155; font-size: 13px; outline: none;
}
.vu-input:focus { border-color: var(--color-primary); }
.vu-input:disabled { opacity: .4; }
.vu-input-auto { min-width: auto; }
.vu-input-num { min-width: 72px; width: 72px; }
.vocab-units-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vocab-unit-card {
    position: relative; display: block; cursor: pointer; border: 1px solid #dbe4ea; border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%); overflow: hidden;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.vocab-unit-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 5px;
    background: linear-gradient(90deg, var(--color-primary), #7dd3fc);
}
.vocab-unit-card:hover { transform: translateY(-3px); border-color: rgba(74,188,153,.3); box-shadow: 0 22px 44px rgba(15, 23, 42, 0.09); }
.vocab-unit-card.is-locked {
    cursor: default;
    opacity: .62;
    border-color: #e2e8f0;
    background: #f8fafc;
}
.vocab-unit-card.is-locked:hover {
    transform: none;
    box-shadow: none;
}
.vocab-unit-card input[type="checkbox"] { position: absolute; top: 16px; right: 16px; width: 17px; height: 17px; }
.vocab-unit-card input[type="checkbox"]:checked + .vu-card-body { background: linear-gradient(180deg, rgba(74,188,153,.12) 0%, #ffffff 100%); }
.vocab-unit-card input[type="checkbox"]:checked + .vu-card-body::after {
    content: ''; position: absolute; inset: 0; border: 2px solid rgba(74,188,153,.45); border-radius: 18px; pointer-events: none;
}
.vu-card-body { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 170px; padding: 18px 16px 16px; }
.vu-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 28px; }
.vu-card-seq {
    display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--color-primary);
}
.vu-card-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(180deg, var(--color-primary), #7dd3fc);
    box-shadow: 0 0 0 4px rgba(74,188,153,.12);
}
.vu-card-name { font-size: 16px; font-weight: 800; color: #0f172a; line-height: 1.45; }
.vu-card-title { display: flex; flex-direction: column; gap: 8px; }
.vu-card-subtitle { font-size: 12px; color: #64748b; line-height: 1.5; }
.vu-card-count {
    flex-shrink: 0; padding: 4px 8px; border-radius: 999px; background: #eff6ff;
    color: #1d4ed8; font-size: 12px; font-weight: 700;
}
.vu-card-lock-btn {
    border: 0;
    border-radius: 6px;
    background: var(--color-primary);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(54, 170, 135, .16);
}
.vu-card-lock-btn:hover {
    background: var(--color-primary-dark);
}
.vu-card-progress {
    margin-top: auto; display: flex; flex-direction: column; gap: 8px;
    padding: 10px 12px; border-radius: 14px; background: rgba(248, 250, 252, .95); border: 1px solid #eef2f7;
}
.vu-bar { width: 100%; height: 7px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.vu-bar-fill { height: 100%; border-radius: inherit; background: var(--color-primary); }
.vu-progress-meter {
    width: 100%;
    height: 7px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
}
.vu-progress-meter::-webkit-progress-bar { background: #e5e7eb; border-radius: 999px; }
.vu-progress-meter::-webkit-progress-value { background: var(--color-primary); border-radius: 999px; }
.vu-progress-meter::-moz-progress-bar { background: var(--color-primary); border-radius: 999px; }
.vu-status-text { font-size: 12px; color: #64748b; font-weight: 600; }
.vu-status-text.vu-new { color: #94a3b8; }
.vu-card-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 2px; padding-top: 2px;
}
.vu-card-pdf-link, .vu-card-pdf-link:visited {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
    background: linear-gradient(180deg, #ecfeff, #e0f2fe); color: #0369a1; text-decoration: none; font-size: 12px; font-weight: 800;
    border: 1px solid rgba(3, 105, 161, .12);
}
.vu-card-pdf-link:hover { background: linear-gradient(180deg, #dff7ff, #d7efff); }
.vu-card-pdf-link.is-disabled {
    background: #f8fafc; color: #94a3b8; pointer-events: none; border-color: #e5e7eb;
}
.vu-card-index {
    font-size: 11px; color: #94a3b8; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
/* ===== 练习模式选择卡片 ===== */
.vu-mode-bar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px;
}
.vu-mode-card {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px 10px 14px; border: 2px solid #e5e7eb; border-radius: 16px; background: #fff;
    cursor: pointer; transition: all .18s; text-align: center; user-select: none;
    font-family: inherit;
}
.vu-mode-card:hover { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,.06); }
.vu-mode-card.active {
    border-color: var(--color-primary); background: linear-gradient(180deg, rgba(74,188,153,.08) 0%, #fff 100%);
    box-shadow: 0 0 0 3px rgba(74,188,153,.12);
}
.vu-mode-icon { font-size: 28px; line-height: 1; }
.vu-mode-name { font-size: 14px; font-weight: 800; color: #1f2937; }
.vu-mode-desc { font-size: 11px; color: #94a3b8; line-height: 1.4; }
.vu-mode-card.active .vu-mode-name { color: var(--color-primary); }
.vu-mode-card.active::after {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; height: 4px;
    background: var(--color-primary); border-radius: 16px 16px 0 0;
}
/* 预设模式提示条 */
.vu-preset-hint {
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
    padding: 12px 16px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(74,188,153,.06), rgba(56,189,248,.06));
    border: 1px solid rgba(74,188,153,.15); font-size: 13px; color: #475569; font-weight: 500;
}
.vu-preset-hint strong { color: var(--color-primary); font-weight: 700; }
/* 隐藏工具栏和模块区（预设模式下） */
.vocab-panel.preset-mode .vu-modules { display: none; }
.vocab-panel.preset-mode .vu-toolbar { display: none; }
/* 测试/复习模式：显示工具栏（只保留快捷操作行） */
.vocab-panel.preset-mode.preset-test .vu-toolbar,
.vocab-panel.preset-mode.preset-review .vu-toolbar { display: flex; }
.vocab-panel.preset-mode.preset-test .vu-toolbar .vu-toolbar-row:first-child,
.vocab-panel.preset-mode.preset-review .vu-toolbar .vu-toolbar-row:first-child { display: none; }
/* 学习模式：卡片整体不可交互但 PDF 链接可点击 */
.vocab-panel.preset-mode .vocab-units-grid { opacity: .55; }
.vocab-panel.preset-mode .vocab-unit-card { pointer-events: none; }
.vocab-panel.preset-mode .vu-card-pdf-link:not(.is-disabled) { pointer-events: auto; position: relative; z-index: 1; }
/* 学习模式选中卡片高亮 */
.vocab-panel.preset-mode.preset-learn .vocab-unit-card:has(input:checked) {
    opacity: 1; border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74,188,153,.15), 0 12px 32px rgba(15,23,42,.08);
    animation: vu-pulse 1.5s ease-in-out;
}
@keyframes vu-pulse {
    0% { box-shadow: 0 0 0 0 rgba(74,188,153,.3); }
    50% { box-shadow: 0 0 0 10px rgba(74,188,153,0), 0 12px 32px rgba(15,23,42,.08); }
    100% { box-shadow: 0 0 0 3px rgba(74,188,153,.15), 0 12px 32px rgba(15,23,42,.08); }
}
/* 测试/复习模式：卡片完全可交互 */
.vocab-panel.preset-mode.preset-test .vocab-units-grid,
.vocab-panel.preset-mode.preset-review .vocab-units-grid { opacity: 1; }
.vocab-panel.preset-mode.preset-test .vocab-unit-card,
.vocab-panel.preset-mode.preset-review .vocab-unit-card { pointer-events: auto; }

.vocab-stats {
    margin: 14px 0 18px; padding: 12px 14px; border-radius: 12px;
    background: #f8fafc; border: 1px solid #e5e7eb; color: #475569; font-size: 14px; font-weight: 600;
}
.vu-modules { display: flex; flex-direction: column; gap: 12px; }
.vu-settings-title { margin-bottom: 2px; font-size: 16px; font-weight: 800; color: #1f2937; }
.vu-module { border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; overflow: hidden; }
.vu-module-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.vu-module-icon { font-size: 18px; }
.vu-module-name { font-size: 15px; font-weight: 700; color: #1f2937; }
.vu-module-desc { font-size: 12px; color: #94a3b8; }
.vu-module-toggle {
    margin-left: auto; color: #94a3b8; cursor: pointer; user-select: none; transition: transform .15s;
    border: 0; background: transparent; font-family: inherit; padding: 0;
}
.vu-module.expanded .vu-module-toggle { transform: rotate(0deg); }
.vu-module:not(.expanded) .vu-module-toggle { transform: rotate(-90deg); }
.vu-module-settings { display: none; padding: 0 16px 16px; border-top: 1px solid #f1f5f9; }
.vu-module.expanded .vu-module-settings { display: block; }
.vu-setting-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; }
.vu-setting-row > label:first-child { min-width: 68px; font-size: 13px; font-weight: 700; color: #475569; }
.vu-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #334155; }
.vu-check-spaced { margin-left: 6px; }
.vu-setting-hint { font-size: 12px; color: #94a3b8; }
.vocab-exam-start-btn {
    width: 100%; margin-top: 16px; padding: 14px 16px; border: none; border-radius: 12px;
    background: var(--color-primary); color: #fff; font-size: 16px; font-weight: 800;
    cursor: pointer; box-shadow: 0 10px 22px rgba(74,188,153,.2);
}
.vocab-exam-start-btn:disabled {
    background: #cbd5e1; cursor: not-allowed; box-shadow: none;
}

/* 平板竖屏 */
@media (max-width: 768px) {
    .select-container { padding: 24px 16px; }
    .welcome-section { margin-bottom: 28px; }
    .welcome-section h1 { font-size: 24px; }

    .qbrowser { flex-direction: column; }
    .qb-sidebar {
        width: 100%; min-width: 100%; position: static; max-height: none;
        display: flex; flex-direction: row; overflow-x: auto; overflow-y: hidden;
        border-right: none; border-bottom: 1px solid #e5e7eb; padding: 0; gap: 0;
        -webkit-overflow-scrolling: touch;
    }
    .qb-exam-toggle {
        margin: 0; border: none; border-right: 1px solid #e5e7eb; border-radius: 0;
        flex-shrink: 0; gap: 0;
    }
    .qb-exam-btn { padding: 10px 14px; border-radius: 0; font-size: 12px; }
    .qb-sidebar-section { display: contents; margin: 0; }
    .qb-sidebar-heading { display: none; }
    .qb-sidebar-heading.collapsed + .qb-sidebar-items { display: contents; }
    .qb-sidebar-items { display: contents; }
    .qb-sidebar-item {
        padding: 10px 16px; border-left: none; border-bottom: 3px solid transparent;
        white-space: nowrap; flex-shrink: 0;
    }
    .qb-sidebar-item.active { border-left-color: transparent; border-bottom-color: var(--color-primary); }
    .qb-sidebar-item .qb-item-count { display: none; }
    .vocab-panel { padding: 16px; }
    .vu-mode-bar {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .vu-mode-bar::-webkit-scrollbar { display: none; }
    .vu-mode-card { flex: 0 0 138px; }
    .vu-toolbar-row { align-items: flex-start; }
    .vu-toolbar-label { min-width: auto; width: 100%; }
}

/* 手机 */
@media (max-width: 480px) {
    .welcome-section h1 { font-size: 22px; }
    .welcome-logo { width: min(220px, 78vw); }
    .welcome-logo-tenant { width: 70px; max-height: 70px; }
    .qb-toolbar { padding: 10px 12px; }
    .qb-table thead th { padding: 8px 10px; }
    .qb-table tbody td { padding: 9px 10px; }
    .qb-col-status { display: none; }
    .qb-table thead th.qb-col-status,
    .qb-table tbody td:nth-child(4) { display: none; }
    .vocab-units-grid { grid-template-columns: 1fr; }
    .vu-card-actions { align-items: flex-start; flex-direction: column; }
.vu-module-header { align-items: flex-start; flex-wrap: wrap; }
}

.hw-overdue-divider-active {
    background: #F0F9FF;
    color: #1E40AF;
}

/* ===== Public subject landing: migrated selectexam visual system ===== */
body.exam-select-page {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    min-height: 100%;
    background: linear-gradient(180deg, #f4f8f6 0%, #f4f8f6 100%);
}

body.exam-select-page::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    height: 560px;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(222, 252, 240, .95) 0%, rgba(225, 250, 240, .88) 47%, rgba(244, 248, 246, .98) 100%),
        radial-gradient(circle at 82% 4%, rgba(67, 214, 181, .32) 0%, rgba(67, 214, 181, 0) 36%),
        radial-gradient(circle at 16% 35%, rgba(255, 255, 255, .65) 0%, rgba(255, 255, 255, 0) 40%);
}

body.exam-select-page .main-content {
    position: relative;
    z-index: 1;
    background: transparent;
    padding-top: 62px;
}

body.exam-select-page .footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 26px 20px;
    background: transparent;
    border-top: none;
    color: #8a8f93;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

body.exam-select-page .footer::before {
    content: "\00a9  2026 百灵果 BilingGo";
}

body.exam-select-page .footer p {
    margin: 0;
}

body.exam-select-page .footer p:first-child {
    display: none;
}

body.exam-select-page .footer-beian-links,
body.exam-select-page .footer-legal-links {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px !important;
    flex-wrap: wrap;
    margin: 0 !important;
    font-size: 12px !important;
}

body.exam-select-page .footer a {
    color: #8a8f93;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.exam-select-page .footer-beian-links a {
    text-decoration: none;
}

body.exam-select-page .footer a:hover {
    color: #4abc99;
}

body.exam-select-page .exam-wordmark-watermark {
    position: absolute;
    left: max(57px, calc((100vw - 1400px) / 2 + 47px));
    top: 87px;
    width: 639px;
    min-width: 0;
    max-width: 840px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

body.exam-select-page .exam-wordmark-watermark g {
    opacity: .42;
}

body.exam-select-page .select-container {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: min(1400px, calc(100vw / var(--site-page-zoom, 1)));
    max-width: 1400px;
    margin: 0 auto 72px;
    padding: 0 40px;
}

body.exam-select-page #tabPractice.tab-panel.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 620px;
    gap: 28px;
    align-items: start;
    animation: fadeSlideUp .2s ease;
}

body.exam-select-page #tabPractice .welcome-section.exam-hero-card {
    grid-column: 1;
    grid-row: 1;
}

body.exam-select-page #practiceProgressRow {
    display: contents;
}

body.exam-select-page #practiceProgressRow .exam-hero-stats {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

body.exam-select-page #pCalWidget {
    grid-column: 2;
    grid-row: 1;
}

body.exam-select-page #pDashboard {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
}

body.exam-select-page #tabPractice .qbrowser {
    grid-column: 1 / -1;
}

body.exam-select-page #tabPractice.tab-panel.active:has(#pCalWidget.exam-select-hidden) {
    grid-template-columns: minmax(0, 1fr);
}

body.exam-select-page .welcome-section.exam-hero-card {
    position: relative;
    display: block;
    min-height: 284px;
    margin: 34px 0 0;
    padding: 0;
    text-align: left;
    overflow: visible;
}

body.exam-select-page .exam-hero-copy {
    position: absolute;
    left: 38px;
    top: 46px;
    z-index: 2;
    max-width: 430px;
    padding-top: 0;
    pointer-events: none;
}

body.exam-select-page .welcome-section .exam-hero-title {
    margin: 0;
    color: #2d3034;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0;
}

body.exam-select-page .exam-hero-wave {
    display: inline-block;
    margin-left: 8px;
    font-size: .82em;
    vertical-align: 7%;
}

body.exam-select-page .welcome-section .exam-hero-subtitle {
    margin: 12px 0 0;
    color: #4f6f80;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 1.1px;
}

body.exam-select-page .exam-hero-mascot {
    position: absolute;
    left: 366px;
    top: 3px;
    z-index: 4;
    width: 316px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 26px 32px rgba(4, 120, 87, .16));
    pointer-events: none;
}

body.exam-select-page .exam-hero-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 135px 135px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 95px;
    margin: 0;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(225, 231, 235, .9);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .045);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.exam-select-page .exam-hero-stat {
    display: grid;
    align-content: center;
    min-height: 64px;
    padding: 0 28px;
    border-right: 1px solid rgba(15, 23, 42, .08);
}

body.exam-select-page .exam-hero-stat:last-child {
    border-right: none;
}

body.exam-select-page .exam-hero-stat-label {
    display: block;
    margin-bottom: 2px;
    color: #66788b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
}

body.exam-select-page .exam-hero-stat-value {
    display: flex;
    align-items: baseline;
    gap: 0;
    color: #303746;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.15;
}

body.exam-select-page .exam-hero-stat-value strong {
    display: inline-block;
    margin-top: 4px;
    color: #08bfa2;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

body.exam-select-page .exam-hero-stat-value small {
    margin-left: 4px;
    color: #66788b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

body.exam-select-page .exam-hero-stat-note {
    display: block;
    margin-top: 4px;
    color: #66788b;
    font-size: 11px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
}

body.exam-select-page .exam-hero-stat-link {
    cursor: pointer;
    transition: background-color .18s ease, box-shadow .18s ease;
}

body.exam-select-page .exam-hero-stat-link:hover,
body.exam-select-page .exam-hero-stat-link:focus-visible {
    background: rgba(8, 191, 162, .06);
    box-shadow: inset 0 0 0 1px rgba(8, 191, 162, .16);
    outline: none;
}

body.exam-select-page .exam-hero-stat-link .exam-hero-stat-note::after {
    content: "  去设置";
    color: #08bfa2;
    font-weight: 600;
}

body.exam-select-page #tabAssignments.tab-panel.active {
    display: block;
}

body.exam-select-page .assignment-workbench {
    display: grid;
    gap: 18px;
    width: 100%;
}

body.exam-select-page .assignment-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    min-height: 132px;
    padding: 28px 30px;
    border: 1px solid rgba(225, 231, 235, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .045);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.exam-select-page .assignment-kicker {
    display: block;
    margin-bottom: 9px;
    color: #08bfa2;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.exam-select-page .hw-title {
    margin: 0;
    color: #303746;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

body.exam-select-page .assignment-copy {
    max-width: 520px;
    margin: 12px 0 0;
    color: #66788b;
    font-size: 14px;
    line-height: 1.7;
}

body.exam-select-page .hw-subject-filter-btns {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 330px;
    margin: 0;
}

body.exam-select-page .hw-subject-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 17px;
    border: 1px solid #dce6e9;
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: #66788b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none;
}

body.exam-select-page .hw-subject-filter-btn:hover {
    border-color: rgba(8, 191, 162, .45);
    background: rgba(8, 191, 162, .06);
    color: #303746;
}

body.exam-select-page .hw-subject-filter-btn.active {
    border-color: #08bfa2;
    background: #08bfa2;
    color: #fff;
    box-shadow: 0 10px 22px rgba(8, 191, 162, .18);
}

body.exam-select-page .assignment-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.exam-select-page .assignment-summary-card {
    position: relative;
    min-height: 112px;
    padding: 20px 22px;
    border: 1px solid rgba(225, 231, 235, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .045);
    overflow: hidden;
}

body.exam-select-page .assignment-summary-card::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(8, 191, 162, .1);
}

body.exam-select-page .assignment-summary-card-overdue::after {
    background: rgba(220, 38, 38, .1);
}

body.exam-select-page .assignment-summary-card-done::after {
    background: rgba(22, 163, 74, .11);
}

body.exam-select-page .assignment-summary-label {
    display: block;
    color: #66788b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

body.exam-select-page .assignment-summary-card strong {
    display: block;
    margin-top: 13px;
    color: #303746;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

body.exam-select-page .assignment-summary-card small {
    display: block;
    margin-top: 10px;
    color: #98a3ae;
    font-size: 12px;
    line-height: 1.45;
}

body.exam-select-page .assignment-calendar-section {
    display: block;
}

body.exam-select-page .hw-cal-widget,
body.exam-select-page .hw-dashboard,
body.exam-select-page .qbrowser {
    border-radius: 14px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(225, 231, 235, .9);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .045);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.exam-select-page .hw-dashboard {
    padding: 28px 27px 32px;
}

body.exam-select-page .hw-top-row {
    margin: 0;
}

body.exam-select-page .assignment-workbench .hw-top-row {
    display: grid;
    grid-template-columns: minmax(560px, 1fr) minmax(360px, .84fr);
    align-items: stretch;
    gap: 18px;
}

body.exam-select-page .hw-cal-widget {
    position: static;
    z-index: 3;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 24px;
    width: 100%;
    min-height: 246px;
    flex: 0 0 620px;
    margin-top: 34px;
    padding: 28px 27px 32px;
}

body.exam-select-page .assignment-workbench .hw-cal-widget {
    margin-top: 0;
}

body.exam-select-page .hw-cal-header {
    grid-column: 1;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px auto;
    align-items: center;
    gap: 10px;
    margin: 0 0 13px;
}

body.exam-select-page .hw-cal-title {
    min-width: 0;
    text-align: center;
    color: #303746;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

body.exam-select-page .hw-cal-nav {
    width: 30px;
    height: 30px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    color: #66788b;
    font-size: 16px;
    box-shadow: none;
}

body.exam-select-page .hw-cal-today-btn {
    height: 30px;
    margin-left: 10px;
    padding: 0 13px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    color: #66788b;
    font-size: 13px;
    line-height: 1;
    box-shadow: none;
}

body.exam-select-page .hw-cal-weekdays {
    grid-column: 1;
    margin: 0 0 8px;
    color: #98a3ae;
    font-size: 12px;
    line-height: 1.2;
}

body.exam-select-page .hw-cal-days {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px 7px;
}

body.exam-select-page .hw-cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 999px;
    color: #303746;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

body.exam-select-page .hw-cal-day.other-month {
    color: #c6ccd4;
}

body.exam-select-page .hw-cal-day.today {
    font-weight: 500;
}

body.exam-select-page .hw-cal-day.today:not(.selected) {
    color: #16a34a;
    box-shadow: inset 0 0 0 1.5px #38c4a5;
}

body.exam-select-page .hw-cal-day.today::after {
    content: none;
}

body.exam-select-page .hw-cal-day.selected {
    background: #38c4a5;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(56, 196, 165, .22);
}

body.exam-select-page .hw-cal-badge {
    display: block;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 1px;
    min-width: 0;
    width: 6px;
    height: 6px;
    padding: 0;
    border-radius: 999px;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .92);
}

body.exam-select-page .hw-cal-badge-done {
    background: #16a34a;
    color: transparent;
}

body.exam-select-page .hw-cal-day.selected .hw-cal-badge-done,
body.exam-select-page .hw-cal-day.selected .hw-cal-badge-todo {
    background: #fff;
    color: transparent;
    box-shadow: none;
}

body.exam-select-page .pcal-records {
    grid-column: 2;
    grid-row: 1 / 4;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 30px;
    border-top: 0;
    border-left: 1px solid #e9ecef;
}

body.exam-select-page .pcal-records-header {
    display: block;
    margin: 0 0 14px;
    color: #303746;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

body.exam-select-page .pcal-records-close {
    display: none;
}

body.exam-select-page .pcal-records-list {
    gap: 16px;
    max-height: 193px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

body.exam-select-page .pcal-record-item {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #303746;
    font-size: 13px;
    line-height: 1.2;
}

body.exam-select-page .pcal-record-item:hover {
    background: transparent;
}

body.exam-select-page .hw-dash-title {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding-left: 0;
    margin: 0 0 4px;
    color: #303746;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

body.exam-select-page .hw-dash-title::before {
    content: none;
}

body.exam-select-page .hw-dash-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 52px;
    margin-bottom: 6px;
}

body.exam-select-page .hw-dash-range {
    gap: 12px;
    margin-left: 0;
    transform: translateY(-8px);
}

body.exam-select-page .hw-dash-date {
    padding: 6px 11px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
}

body.exam-select-page .hw-dash-query,
body.exam-select-page .hw-dash-reset,
body.exam-select-page .qb-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    box-shadow: none;
}

body.exam-select-page .hw-dash-query,
body.exam-select-page .hw-dash-reset {
    min-width: 58px;
    padding: 9px 25px;
}

body.exam-select-page .hw-dash-query {
    border-color: #08bfa2;
    background: #08bfa2;
}

body.exam-select-page .hw-dash-query:hover {
    background: #06aa91;
    border-color: #06aa91;
    opacity: 1;
}

body.exam-select-page .hw-dash-reset:hover,
body.exam-select-page .qb-page-btn:hover:not(.active):not(:disabled) {
    background: #f4f8fb;
    border-color: #d8e0e7;
    color: #303746;
}

body.exam-select-page .hw-dash-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.exam-select-page .hw-dash-item {
    width: auto;
}

body.exam-select-page .hw-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 18px;
    margin: 0 0 24px;
    align-items: start;
}

body.exam-select-page .hw-col {
    min-width: 0;
    border: 1px solid rgba(225, 231, 235, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .045);
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.exam-select-page .hw-col-header {
    min-height: 62px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(225, 231, 235, .9);
    background: transparent;
    color: #303746;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

body.exam-select-page .hw-col-header-todo,
body.exam-select-page .hw-col-header-done {
    background: transparent;
    color: #303746;
}

body.exam-select-page .hw-col-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    margin-left: 2px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(8, 191, 162, .1);
    color: #08a88f;
    font-size: 12px;
    font-weight: 700;
    opacity: 1;
}

body.exam-select-page .hw-filter-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

body.exam-select-page .hw-filter-btn {
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #dce6e9;
    border-radius: 999px;
    background: #fff;
    color: #66788b;
    font-size: 12px;
    font-weight: 600;
}

body.exam-select-page .hw-filter-btn:hover {
    border-color: rgba(8, 191, 162, .45);
    background: rgba(8, 191, 162, .06);
}

body.exam-select-page .hw-filter-btn.active,
body.exam-select-page .hw-filter-btn.hw-filter-overdue.active,
body.exam-select-page .hw-filter-btn.hw-filter-active.active {
    border-color: #08bfa2;
    background: #08bfa2;
    color: #fff;
}

body.exam-select-page .hw-list {
    gap: 0;
}

body.exam-select-page .hw-card {
    position: relative;
    align-items: stretch;
    gap: 14px;
    min-height: 86px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(235, 240, 243, .9);
    background: rgba(255, 255, 255, .58);
}

body.exam-select-page .hw-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: #08bfa2;
    opacity: .38;
}

body.exam-select-page .hw-card-status-needs_redo::before,
body.exam-select-page .hw-card-status-pending::before {
    background: #dc2626;
}

body.exam-select-page .hw-card-status-grading::before,
body.exam-select-page .hw-card-status-submitted::before,
body.exam-select-page .hw-card-status-in_progress::before,
body.exam-select-page .hw-card-status-draft::before {
    background: #2563eb;
}

body.exam-select-page .hw-card:hover,
body.exam-select-page .hw-card-link:hover,
body.exam-select-page .hw-package-card:hover {
    background: rgba(248, 253, 251, .95);
}

body.exam-select-page .hw-card-left {
    align-items: flex-start;
    min-width: 0;
}

body.exam-select-page .hw-info {
    display: grid;
    gap: 8px;
    min-width: 0;
}

body.exam-select-page .hw-primary-line {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    white-space: normal;
}

body.exam-select-page .hw-primary-line-top {
    align-items: center;
    gap: 8px;
}

body.exam-select-page .hw-primary-line-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

body.exam-select-page .hw-secondary-line {
    color: #7a8794;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

body.exam-select-page .hw-redo-tag,
body.exam-select-page .hw-progress-tag,
body.exam-select-page .hw-score-tag {
    flex: 0 0 auto;
    margin-left: 0;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.2;
}

body.exam-select-page .hw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 76px;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}

body.exam-select-page .hw-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

body.exam-select-page .hw-col-empty,
body.exam-select-page .hw-empty {
    padding: 32px 18px;
    color: #98a3ae;
    font-size: 14px;
}

body.exam-select-page .hw-overdue-divider,
body.exam-select-page .hw-subject-divider {
    padding: 10px 18px 8px;
    background: rgba(248, 250, 252, .78);
    border-top: 1px solid rgba(235, 240, 243, .9);
    color: #66788b;
    font-size: 12px;
    font-weight: 700;
}

body.exam-select-page .hw-overdue-divider:first-child,
body.exam-select-page .hw-subject-divider:first-child {
    border-top: 0;
}

body.exam-select-page .hw-overdue-divider {
    color: #dc2626;
}

body.exam-select-page .hw-overdue-divider-active {
    color: #2563eb;
}

body.exam-select-page .hw-package-modal-backdrop {
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

body.exam-select-page .hw-package-modal-panel {
    top: 34px;
    right: 34px;
    bottom: 34px;
    width: min(760px, calc(100vw - 68px));
    border: 1px solid rgba(225, 231, 235, .9);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

body.exam-select-page .hw-package-modal-head {
    min-height: 66px;
    padding: 18px 22px;
}

body.exam-select-page .hw-package-modal-head h3 {
    color: #303746;
    font-size: 20px;
    font-weight: 700;
}

body.exam-select-page .hw-package-task-row {
    border-color: rgba(225, 231, 235, .9);
    border-radius: 12px;
    padding: 15px 16px;
}

body.exam-select-page .qbrowser {
    display: block;
    overflow: hidden;
}

body.exam-select-page .qb-sidebar {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px 27px 17px;
    background: transparent;
    border-right: 0;
    border-bottom: 1px solid rgba(225, 231, 235, .9);
    overflow: hidden;
}

body.exam-select-page .qb-sidebar-section {
    display: inline-block;
    margin: 0 34px 0 0;
    vertical-align: top;
}

body.exam-select-page .qb-sidebar-heading {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #66788b;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

body.exam-select-page .qb-sidebar-heading:hover {
    background: transparent;
    color: #303746;
}

body.exam-select-page .qb-sidebar-heading .qb-icon {
    width: 14px;
    height: 14px;
    opacity: .62;
    transform: translateY(-1px);
}

body.exam-select-page .qb-sidebar-heading .qb-chevron {
    display: none;
}

body.exam-select-page .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-heading,
body.exam-select-page .qb-sidebar-section > .qb-sidebar-item-standalone.active {
    color: #08bfa2;
    border-bottom-color: #08bfa2;
}

body.exam-select-page .qb-sidebar-items {
    display: none;
}

body.exam-select-page .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-items {
    position: absolute;
    left: 27px;
    right: 27px;
    bottom: 17px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
}

body.exam-select-page .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-items::-webkit-scrollbar {
    display: none;
}

body.exam-select-page .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-items::before {
    content: none;
    display: none;
}

body.exam-select-page .qb-sidebar-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #66788b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

body.exam-select-page .qb-sidebar-item:hover {
    background: #f4f8fb;
    color: #303746;
}

body.exam-select-page .qb-sidebar-item.active {
    border-color: #08bfa2;
    background: rgba(8, 191, 162, .08);
    color: #08bfa2;
    font-weight: 500;
}

body.exam-select-page .qb-sidebar-item .qb-item-count {
    display: none;
}

body.exam-select-page .qb-sidebar-item-standalone {
    justify-content: flex-start;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #66788b;
    font-weight: 500;
    line-height: 1.2;
}

body.exam-select-page .qb-sidebar-item-standalone:hover {
    background: transparent;
    color: #303746;
}

body.exam-select-page .qb-main {
    width: 100%;
    min-width: 0;
}

body.exam-select-page .qb-toolbar {
    gap: 14px;
    padding: 18px 27px;
}

body.exam-select-page .qb-toolbar-title {
    color: #303746;
    font-weight: 600;
}

body.exam-select-page .qb-pagination {
    gap: 8px;
    padding: 16px 20px;
}

body.exam-select-page .qb-page-btn {
    min-width: 34px;
    padding: 9px 13px;
}

body.exam-select-page .qb-page-btn.active {
    background: #08bfa2;
    color: #fff;
    border-color: #08bfa2;
    font-weight: 400;
}

body.exam-select-page .qb-page-jump {
    gap: 12px;
    margin-left: 0;
}

body.exam-select-page .qb-page-jump .qb-page-btn {
    min-width: 58px;
    padding: 9px 25px;
}

body.exam-select-page .qb-page-input {
    width: 42px;
    padding: 6px 11px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    body.exam-select-page::before {
        top: 56px;
        height: 430px;
    }

    body.exam-select-page .main-content {
        padding-top: 154px;
    }

    body.exam-select-page .exam-wordmark-watermark {
        left: 18px;
        top: 82px;
        width: min(210px, calc(100vw - 36px));
        min-width: 0;
        max-width: none;
    }

    body.exam-select-page .exam-wordmark-watermark g {
        opacity: .38;
    }

    body.exam-select-page .select-container {
        position: static;
        margin: 0 auto 72px;
        padding: 0 13px;
    }

    body.exam-select-page #tabPractice.tab-panel.active {
        display: block;
    }

    body.exam-select-page #practiceProgressRow {
        display: block;
    }

    body.exam-select-page .assignment-workbench {
        gap: 13px;
    }

    body.exam-select-page .assignment-hero {
        display: block;
        min-height: 0;
        padding: 18px 15px;
        border-radius: 12px;
    }

    body.exam-select-page .assignment-kicker {
        margin-bottom: 8px;
        font-size: 11px;
    }

    body.exam-select-page .hw-title {
        font-size: 24px;
        line-height: 1.1;
    }

    body.exam-select-page .assignment-copy {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.55;
    }

    body.exam-select-page .hw-subject-filter-btns {
        justify-content: flex-start;
        gap: 8px;
        min-width: 0;
        margin: 16px -15px -2px;
        padding: 0 15px 2px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.exam-select-page .hw-subject-filter-btns::-webkit-scrollbar {
        display: none;
    }

    body.exam-select-page .hw-subject-filter-btn {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 14px;
        font-size: 12px;
    }

    body.exam-select-page .assignment-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    body.exam-select-page .assignment-summary-card {
        min-height: 90px;
        padding: 14px 12px;
        border-radius: 12px;
    }

    body.exam-select-page .assignment-summary-card::after {
        right: 9px;
        top: 12px;
        width: 30px;
        height: 30px;
    }

    body.exam-select-page .assignment-summary-label {
        font-size: 11px;
    }

    body.exam-select-page .assignment-summary-card strong {
        margin-top: 10px;
        font-size: 26px;
    }

    body.exam-select-page .assignment-summary-card small {
        margin-top: 8px;
        font-size: 10px;
        line-height: 1.35;
    }

    body.exam-select-page .assignment-workbench .hw-top-row {
        display: block;
    }

    body.exam-select-page .welcome-section.exam-hero-card {
        position: static;
        display: block;
        min-height: 0;
        margin: 24px 0 18px;
        padding: 0;
        text-align: left;
        overflow: visible;
    }

    body.exam-select-page .exam-hero-copy {
        left: 20px;
        top: 106px;
        padding-top: 0;
    }

    body.exam-select-page .welcome-section .exam-hero-title {
        font-size: 22px;
        line-height: 1.08;
    }

    body.exam-select-page .welcome-section .exam-hero-subtitle {
        max-width: 220px;
        margin-top: 9px;
        font-size: 11px;
        line-height: 1.45;
        letter-spacing: .4px;
    }

    body.exam-select-page .exam-hero-mascot {
        position: absolute;
        left: auto;
        right: 1px;
        top: 77px;
        width: 160px;
        height: 122px;
        opacity: .72;
    }

    body.exam-select-page .exam-hero-stats {
        grid-template-columns: 105px 105px minmax(0, 1fr);
        width: 100%;
        min-height: 72px;
        margin-top: 28px;
        margin-left: 0;
    }

    body.exam-select-page .exam-hero-stat {
        min-height: 58px;
        padding: 10px 20px;
    }

    body.exam-select-page .exam-hero-stat-label {
        font-size: 12px;
    }

    body.exam-select-page .exam-hero-stat-value {
        font-size: 16px;
    }

    body.exam-select-page .exam-hero-stat-value strong {
        font-size: 23px;
    }

    body.exam-select-page .exam-hero-stat-note {
        font-size: 10px;
    }

    body.exam-select-page .hw-cal-widget {
        display: block;
        width: 100%;
        min-height: 0;
        margin-top: 13px;
        padding: 16px 14px 18px;
    }

    body.exam-select-page .hw-cal-header {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) 30px auto;
        gap: 7px;
        margin-bottom: 12px;
    }

    body.exam-select-page .hw-cal-weekdays {
        margin-bottom: 7px;
    }

    body.exam-select-page .hw-cal-days {
        gap: 5px 4px;
    }

    body.exam-select-page .pcal-records {
        margin-top: 14px;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid #e9ecef;
    }

    body.exam-select-page .hw-dashboard {
        margin-top: 13px;
        padding: 18px 14px;
    }

    body.exam-select-page .hw-dash-title {
        min-height: auto;
        margin-bottom: 0;
        font-size: 16px;
    }

    body.exam-select-page .hw-dash-header {
        gap: 10px;
    }

    body.exam-select-page .hw-dash-range {
        width: 100%;
        gap: 8px;
        transform: none;
    }

    body.exam-select-page .hw-dash-date {
        flex: 1 1 130px;
        min-width: 0;
    }

    body.exam-select-page .hw-dash-grid {
        grid-template-columns: 1fr;
    }

    body.exam-select-page .hw-columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
        margin-bottom: 18px;
    }

    body.exam-select-page .hw-col {
        border-radius: 12px;
    }

    body.exam-select-page .hw-col-header {
        align-items: flex-start;
        min-height: auto;
        padding: 14px 14px;
        font-size: 16px;
        flex-wrap: wrap;
    }

    body.exam-select-page .hw-filter-btns {
        order: 2;
        width: 100%;
        margin: 8px 0 0;
        overflow-x: auto;
        padding-bottom: 1px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.exam-select-page .hw-filter-btns::-webkit-scrollbar {
        display: none;
    }

    body.exam-select-page .hw-filter-btn {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 0 11px;
        font-size: 11px;
    }

    body.exam-select-page .hw-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
        padding: 15px 14px;
    }

    body.exam-select-page .hw-card-left {
        width: 100%;
        gap: 10px;
    }

    body.exam-select-page .hw-primary-line {
        font-size: 14px;
    }

    body.exam-select-page .hw-primary-line-top {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    body.exam-select-page .hw-secondary-line {
        font-size: 11px;
    }

    body.exam-select-page .hw-btn {
        width: 100%;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 9px;
    }

    body.exam-select-page .hw-overdue-divider,
    body.exam-select-page .hw-subject-divider {
        padding: 9px 14px 7px;
    }

    body.exam-select-page .hw-package-modal-panel {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 36px);
        border-radius: 16px 16px 0 0;
    }

    body.exam-select-page .hw-package-modal-head {
        min-height: 58px;
        padding: 15px 16px;
    }

    body.exam-select-page .hw-package-modal-body {
        padding: 12px;
    }

    body.exam-select-page .hw-package-task-row {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        border-radius: 12px;
    }

    body.exam-select-page .hw-package-action {
        width: 100%;
        min-height: 38px;
    }

    body.exam-select-page .qbrowser {
        display: block;
        margin-top: 13px;
    }

    body.exam-select-page .qb-sidebar {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 10px 14px 52px;
        border-right: 0;
        border-bottom: 1px solid rgba(225, 231, 235, .9);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    body.exam-select-page .qb-sidebar-section {
        display: inline-block;
        margin: 0 18px 0 0;
    }

    body.exam-select-page .qb-sidebar-heading {
        display: inline-flex;
        gap: 5px;
        padding: 0 0 7px;
        font-size: 12px;
    }

    body.exam-select-page .qb-sidebar-heading .qb-icon {
        width: 12px;
        height: 12px;
    }

    body.exam-select-page .qb-sidebar-items {
        display: none;
    }

    body.exam-select-page .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-items {
        left: 14px;
        right: 14px;
        bottom: 13px;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.exam-select-page .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-items::before {
        font-size: 11px;
    }

    body.exam-select-page .qb-sidebar-item {
        gap: 5px;
        padding: 7px 10px;
        font-size: 11px;
    }

    body.exam-select-page .qb-sidebar-item-standalone {
        padding: 0 0 7px;
        font-size: 12px;
    }

    body.exam-select-page .qb-toolbar {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        padding: 14px 18px;
    }

    body.exam-select-page .qb-toolbar-title {
        width: 100%;
        font-size: 14px;
        line-height: 1.35;
    }

    body.exam-select-page .qb-toolbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    body.exam-select-page .qb-search-input {
        box-sizing: border-box;
        grid-column: 1 / -1;
        width: 100%;
        padding: 8px 10px;
        font-size: 12px;
    }

    body.exam-select-page .qb-select {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        padding: 8px 10px;
        font-size: 12px;
    }

    body.exam-select-page .qb-sat-practice-controls {
        padding: 12px 14px 14px;
    }

    body.exam-select-page .qb-sat-practice-mode-row,
    body.exam-select-page .qb-sat-practice-form-row {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        justify-content: stretch;
        gap: 10px;
    }

    body.exam-select-page .qb-sat-practice-form-row-common {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 10px;
    }

    body.exam-select-page .qb-sat-practice-config-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.exam-select-page .qb-sat-practice-scope-summary,
    body.exam-select-page .qb-sat-practice-start {
        grid-column: auto;
    }

    body.exam-select-page .qb-sat-practice-choice-grid-difficulty,
    body.exam-select-page .qb-sat-practice-choice-grid-source {
        grid-template-columns: none;
    }

    body.exam-select-page .qb-sat-practice-choice-grid-source {
        grid-template-columns: none;
    }

    body.exam-select-page .qb-sat-practice-choice {
        justify-content: flex-start;
    }

    body.exam-select-page .qb-sat-practice-mode-switch,
    body.exam-select-page .qb-sat-practice-mode-actions {
        width: 100%;
        min-width: 0;
    }

    body.exam-select-page .qb-sat-practice-mode-switch {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 3px;
    }

    body.exam-select-page .qb-sat-practice-mode-btn {
        min-width: 0;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
    }

    body.exam-select-page .qb-sat-practice-mode-actions .qb-go-btn {
        width: 100%;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.exam-select-page .qb-sat-practice-field {
        width: 100%;
        min-width: 0;
        min-height: 0;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        font-size: 12px;
    }

    body.exam-select-page .qb-sat-practice-group {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    body.exam-select-page .qb-sat-practice-scope-summary {
        flex: none;
    }

    body.exam-select-page .qb-sat-practice-textinput {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 38px;
        font-size: 13px;
    }

    body.exam-select-page .qb-sat-practice-inline-toggle {
        margin-left: 0;
    }

    body.exam-select-page .qb-sat-practice-start .qb-go-btn {
        width: auto;
        min-height: 36px;
    }

    body.exam-select-page .qb-table-wrap {
        overflow: visible;
    }

    body.exam-select-page .qb-table {
        display: block;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        font-size: 13px;
    }

    body.exam-select-page .qb-table thead {
        display: none;
    }

    body.exam-select-page .qb-table tbody {
        display: grid;
        gap: 10px;
        padding: 12px 18px 14px;
    }

    body.exam-select-page .qb-table tbody tr {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas:
            "type num tag stars"
            "topic topic topic topic"
            "status status action action";
        align-items: center;
        gap: 8px 10px;
        min-width: 0;
        padding: 12px;
        border: 1px solid rgba(225, 231, 235, .9);
        border-radius: 10px;
        background: rgba(255, 255, 255, .84);
        box-shadow: 0 2px 8px rgba(15, 23, 42, .035);
    }

    body.exam-select-page .qb-table tbody td {
        display: flex;
        align-items: center;
        min-width: 0;
        padding: 0;
        border-bottom: 0;
    }

    body.exam-select-page .qb-table tbody td:nth-child(1) { grid-area: type; }
    body.exam-select-page .qb-table tbody td:nth-child(2) { grid-area: num; justify-content: flex-start; }
    body.exam-select-page .qb-table tbody td:nth-child(3) { display: flex !important; grid-area: topic; }
    body.exam-select-page .qb-table tbody td:nth-child(4) { grid-area: tag; justify-content: center; transform: translateX(-6px); }
    body.exam-select-page .qb-table tbody td:nth-child(5) { grid-area: stars; justify-content: flex-end; }
    body.exam-select-page .qb-table tbody td:nth-child(6) { grid-area: status; justify-content: flex-start; }
    body.exam-select-page .qb-table tbody td:nth-child(7) { grid-area: action; justify-content: flex-end; }

    body.exam-select-page .qb-table tbody td:nth-child(6)::before {
        content: "我的答题：";
        margin-right: 4px;
        color: #66788b;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
    }

    body.exam-select-page .qb-topic-text {
        width: 100%;
        font-size: 13px;
        line-height: 1.35;
        color: #303746;
    }

    body.exam-select-page .qb-go-btn {
        padding: 6px 16px;
        font-size: 12px;
        border-radius: 6px;
    }

    body.exam-select-page .qb-pagination {
        gap: 7px;
        padding: 14px 18px;
        flex-wrap: wrap;
    }

    body.exam-select-page .qb-page-jump {
        width: 100%;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
        margin-left: 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body.exam-select-page .qb-sat-practice-form-row-common {
        grid-template-columns: 1fr;
    }

    body.exam-select-page .qb-sat-practice-choice-grid-difficulty {
        grid-template-columns: none;
    }

    body.exam-select-page .qb-sat-practice-choice-grid-source {
        grid-template-columns: none;
    }

    body.exam-select-page .qb-sat-practice-field,
    body.exam-select-page .qb-sat-practice-group {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    body.exam-select-page .exam-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    body.exam-select-page .exam-hero-stat:nth-child(2) {
        border-right: 0;
    }

    body.exam-select-page .exam-hero-stat:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(15, 23, 42, .08);
    }
}

/* Public subject home: migrated horizontal category rail. */
body.exam-select-page .qb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 12px 27px 16px;
    overflow: hidden;
}

body.exam-select-page .qb-sidebar-primary,
body.exam-select-page .qb-sidebar-secondary {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

body.exam-select-page .qb-sidebar-primary::-webkit-scrollbar,
body.exam-select-page .qb-sidebar-secondary::-webkit-scrollbar {
    display: none;
}

body.exam-select-page .qb-sidebar-primary {
    gap: 34px;
}

body.exam-select-page .qb-sidebar-secondary {
    gap: 14px;
    min-height: 34px;
}

body.exam-select-page .qb-sidebar-secondary.is-empty {
    display: none;
}

body.exam-select-page .qb-sidebar-secondary::before {
    content: none;
    display: none;
}

body.exam-select-page .qb-sidebar-secondary:has(.qb-sat-layered-tree)::before {
    content: none;
    display: none;
}

body.exam-select-page .qb-sidebar:has(.qb-sat-layered-tree) {
    padding-bottom: 0;
    border-bottom: 0;
}

body.exam-select-page .qb-sidebar:has(.qb-sat-layered-tree) + .qb-main .qb-sat-practice-controls {
    padding-top: 12px;
    border-top: 0;
}

body.exam-select-page .qb-sidebar:has(.qb-sat-layered-tree) + .qb-main .qb-sat-practice-config-grid {
    padding-top: 12px;
    border-top: 1px solid #edf3f1;
}

body.exam-select-page .qb-sidebar-primary .qb-sidebar-section {
    display: block;
    flex: 0 0 auto;
    margin: 0;
}

body.exam-select-page .qb-sidebar-primary .qb-sidebar-item-standalone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

body.exam-select-page .qb-sidebar-primary .qb-sidebar-item-standalone.active {
    color: #111827;
    border-bottom-color: #08bfa2;
    background: transparent;
}

body.exam-select-page .qb-sidebar-primary .qb-sidebar-item-standalone:hover {
    background: transparent;
    color: #111827;
}

body.exam-select-page .qb-sidebar-secondary .qb-sidebar-item {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #66788b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

body.exam-select-page .qb-sidebar-secondary .qb-sidebar-item:hover {
    background: #f4f8fb;
    color: #303746;
}

body.exam-select-page .qb-sidebar-secondary .qb-sidebar-item.active {
    border-color: #08bfa2;
    background: rgba(8, 191, 162, .08);
    color: #08bfa2;
}

body.exam-select-page .qb-sidebar-secondary .qb-item-count {
    display: none;
}

body.exam-select-page .qb-sidebar-secondary .qb-sat-practice-tree {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding-left: 0;
}

body.exam-select-page .qb-sidebar-secondary .qb-sat-practice-tree-list,
body.exam-select-page .qb-sidebar-secondary .qb-sat-practice-tree-children {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body.exam-select-page .qb-sidebar-secondary .qb-sat-practice-tree-node {
    flex: 0 0 auto;
    margin-top: 0;
}

body.exam-select-page .qb-sidebar-secondary .qb-sat-practice-tree-toggle {
    min-height: 34px;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    white-space: nowrap;
}

body.exam-select-page .qb-sidebar-secondary .qb-sat-practice-tree-toggle.is-selected {
    border-color: #08bfa2;
    background: rgba(8, 191, 162, .08);
}

body.exam-select-page .qb-sat-layered-tree {
    display: grid;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

body.exam-select-page .qb-sat-layer-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

body.exam-select-page .qb-sat-layer-label {
    flex: 0 0 auto;
    min-width: 36px;
    padding-top: 11px;
    color: #66788b;
    font-size: 13px;
    font-weight: 600;
}

body.exam-select-page .qb-sat-layer-items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    min-width: 0;
    overflow: visible;
}

body.exam-select-page .qb-sat-layer-btn {
    --sat-layer-accent: #08bfa2;
    --sat-layer-bg: #fff;
    --sat-layer-border: #dce8e4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 15px;
    border: 1px solid var(--sat-layer-border);
    border-radius: 12px;
    background: var(--sat-layer-bg);
    color: #465668;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .045);
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

body.exam-select-page .qb-sat-layer-btn:hover {
    border-color: var(--sat-layer-accent);
    color: var(--sat-layer-accent);
    transform: translateY(-1px);
    box-shadow: 0 9px 18px rgba(8, 191, 162, .10);
}

body.exam-select-page .qb-sat-layer-btn.is-selected {
    border-color: var(--sat-layer-accent);
    background: var(--sat-layer-bg);
    color: var(--sat-layer-accent);
    box-shadow: 0 8px 18px rgba(8, 191, 162, .12);
}

body.exam-select-page .qb-sat-layer-btn.is-ability-expression {
    --sat-layer-accent: #0ea77b;
    --sat-layer-bg: #e8fbf3;
    --sat-layer-border: #9bd8c7;
}

body.exam-select-page .qb-sat-layer-btn.is-ability-craft {
    --sat-layer-accent: #4f73d9;
    --sat-layer-bg: #edf3ff;
    --sat-layer-border: #b9c8f5;
}

body.exam-select-page .qb-sat-layer-btn.is-ability-information {
    --sat-layer-accent: #a567d8;
    --sat-layer-bg: #f7edff;
    --sat-layer-border: #d6b8ef;
}

body.exam-select-page .qb-sat-layer-btn.is-ability-conventions {
    --sat-layer-accent: #d28a21;
    --sat-layer-bg: #fff3da;
    --sat-layer-border: #e8c182;
}

body.exam-select-page .qb-sat-layer-btn.is-ability-math-a {
    --sat-layer-accent: #2785d6;
    --sat-layer-bg: #eaf5ff;
    --sat-layer-border: #aed1f2;
}

body.exam-select-page .qb-sat-layer-btn.is-ability-math-b {
    --sat-layer-accent: #0d9488;
    --sat-layer-bg: #e6fbf7;
    --sat-layer-border: #9bd8d0;
}

body.exam-select-page .qb-sat-layer-btn.is-ability-math-c {
    --sat-layer-accent: #c45a94;
    --sat-layer-bg: #fff0f8;
    --sat-layer-border: #ebb4d1;
}

body.exam-select-page .qb-sat-layer-btn.is-subject-reading {
    --sat-layer-accent: #4f73d9;
    --sat-layer-bg: #edf3ff;
    --sat-layer-border: #b9c8f5;
}

body.exam-select-page .qb-sat-layer-btn.is-subject-writing {
    --sat-layer-accent: #d28a21;
    --sat-layer-bg: #fff3da;
    --sat-layer-border: #e8c182;
}

body.exam-select-page .qb-sat-layer-btn.is-subject-math {
    --sat-layer-accent: #0d9488;
    --sat-layer-bg: #e6fbf7;
    --sat-layer-border: #9bd8d0;
}

body.exam-select-page .qb-sat-layer-empty {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 15px;
    border: 1px dashed #d7e1df;
    border-radius: 12px;
    background: #f8fbfa;
    color: #8a98a7;
    font-size: 13px;
    font-weight: 700;
}

body.exam-select-page .qb-sat-layer-row.is-subject-row {
    align-items: stretch;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf3f1;
}

body.exam-select-page .qb-sat-layer-row.is-subject-row .qb-sat-layer-label {
    padding-top: 8px;
    color: #334155;
    font-weight: 800;
}

body.exam-select-page .qb-sat-layer-row.is-subject-row .qb-sat-layer-items {
    gap: 12px;
}

body.exam-select-page .qb-sat-layer-row.is-subject-row .qb-sat-layer-btn {
    min-height: 46px;
    padding: 11px 24px;
    border-radius: 14px;
    color: #475569;
    font-size: 14px;
    font-weight: 850;
}

body.exam-select-page .qb-sat-layer-row.is-subject-row .qb-sat-layer-btn:hover {
    border-color: #7fd0bd;
    background: #effcf8;
    color: #087568;
    transform: translateY(-1px);
}

body.exam-select-page .qb-sat-layer-row.is-subject-row .qb-sat-layer-btn.is-selected {
    border-color: #08bfa2;
    background: #e9fbf6;
    color: #087568;
    box-shadow: 0 9px 20px rgba(8, 191, 162, .12);
}

body.exam-select-page .qb-sat-layer-count {
    color: #98a3ae;
    font-size: 12px;
    font-weight: 500;
}

.qb-sat-practice-type-cards {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e5ecea;
    border-radius: 16px;
    background: #fff;
}

.qb-sat-practice-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.qb-sat-practice-type-card {
    --sat-card-accent: #08bfa2;
    --sat-card-bg: #ecfbf7;
    --sat-card-border: #a8ded3;
    display: grid;
    gap: 12px;
    min-height: 116px;
    padding: 15px;
    border: 1px solid var(--sat-card-border);
    border-radius: 14px;
    background: var(--sat-card-bg);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.qb-sat-practice-type-card.is-ability-expression {
    --sat-card-accent: #0ea77b;
    --sat-card-bg: #e8fbf3;
    --sat-card-border: #9bd8c7;
}

.qb-sat-practice-type-card.is-ability-craft {
    --sat-card-accent: #4f73d9;
    --sat-card-bg: #edf3ff;
    --sat-card-border: #b9c8f5;
}

.qb-sat-practice-type-card.is-ability-information {
    --sat-card-accent: #a567d8;
    --sat-card-bg: #f7edff;
    --sat-card-border: #d6b8ef;
}

.qb-sat-practice-type-card.is-ability-conventions {
    --sat-card-accent: #d28a21;
    --sat-card-bg: #fff3da;
    --sat-card-border: #e8c182;
}

.qb-sat-practice-type-card.is-ability-math-a {
    --sat-card-accent: #2785d6;
    --sat-card-bg: #eaf5ff;
    --sat-card-border: #aed1f2;
}

.qb-sat-practice-type-card.is-ability-math-b {
    --sat-card-accent: #0d9488;
    --sat-card-bg: #e6fbf7;
    --sat-card-border: #9bd8d0;
}

.qb-sat-practice-type-card.is-ability-math-c {
    --sat-card-accent: #c45a94;
    --sat-card-bg: #fff0f8;
    --sat-card-border: #ebb4d1;
}

.qb-sat-practice-type-card.is-disabled {
    border-color: #e5e7eb;
    background: #f8fafc;
    box-shadow: none;
    opacity: .72;
}

.qb-sat-practice-type-card.is-loading {
    opacity: .86;
}

.qb-sat-practice-type-main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.qb-sat-practice-type-main strong {
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.qb-sat-practice-type-main span,
.qb-sat-practice-type-meta span {
    color: #66788b;
    font-size: 12px;
    font-weight: 600;
}

.qb-sat-practice-type-main span {
    color: var(--sat-card-accent);
}

.qb-sat-practice-combo-list {
    display: grid;
    gap: 8px;
}

.qb-sat-practice-combo {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #dbeae6;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    color: #243145;
    font-family: inherit;
    cursor: pointer;
}

.qb-sat-practice-combo:hover {
    border-color: #08bfa2;
    background: rgba(8, 191, 162, .06);
}

.qb-sat-practice-combo-tags {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qb-sat-practice-difficulty-bars,
.qb-sat-practice-source-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 24px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.qb-sat-practice-difficulty-bars {
    width: 34px;
    gap: 3px;
    padding: 0 2px;
}

.qb-sat-practice-difficulty-bars i {
    display: block;
    width: 7px;
    border-radius: 999px;
    background: #d8e2e7;
}

.qb-sat-practice-difficulty-bars i:nth-child(1) { height: 9px; }
.qb-sat-practice-difficulty-bars i:nth-child(2) { height: 14px; }
.qb-sat-practice-difficulty-bars i:nth-child(3) { height: 19px; }

.qb-sat-practice-difficulty-bars.is-easy i:nth-child(1) {
    background: #16a77d;
}

.qb-sat-practice-difficulty-bars.is-medium i:nth-child(-n+2) {
    background: #d18b16;
}

.qb-sat-practice-difficulty-bars.is-hard i {
    background: #d04d40;
}

.qb-sat-practice-source-badge {
    min-width: 32px;
    padding: 0 8px;
}

.qb-sat-practice-source-badge.is-question-bank {
    border: 1px solid #a9ded2;
    background: #effcf8;
    color: #146b5d;
}

.qb-sat-practice-source-badge.is-real-test {
    border: 1px solid #bccbff;
    background: #f2f5ff;
    color: #3f56bd;
}

.qb-sat-practice-member-content {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #8a5a00;
    font-weight: 900;
    white-space: nowrap;
}

.qb-sat-practice-choice .account-avatar-badge-mark,
.qb-sat-practice-member-content .account-avatar-badge-mark {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff4c2;
    color: #5a3b00;
    border: 1px solid rgba(180,128,0,.18);
    box-shadow: 0 6px 14px rgba(15,23,42,.12);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.qb-sat-practice-combo.is-member-locked {
    opacity: 1;
    border-color: #f1d17a;
    background: #fffdf4;
}

.qb-sat-practice-combo.is-member-locked .qb-sat-practice-count-badge {
    color: #8a5a00;
}

.qb-sat-practice-count-badge {
    color: #0b8d78;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.qb-sat-practice-combo.is-disabled {
    border-color: #e5e7eb;
    background: #f8fafc;
    cursor: not-allowed;
    opacity: .62;
}

.qb-sat-practice-combo.is-disabled .qb-sat-practice-count-badge {
    color: #94a3b8;
}

.qb-sat-practice-type-empty {
    padding: 18px;
    border: 1px dashed #d8e2df;
    border-radius: 12px;
    color: #66788b;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background: #f8fbfa;
}

@media (prefers-reduced-motion: reduce) {
    body.exam-select-page .qb-sat-layer-btn {
        transition: none;
    }

    body.exam-select-page .qb-sat-layer-btn:hover {
        transform: none;
    }
}

body.exam-select-page .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-items {
    position: static;
    display: none;
}

@media (max-width: 768px) {
    body.exam-select-page .qb-sidebar {
        padding: 10px 14px 14px;
        gap: 11px;
    }

    body.exam-select-page .qb-sidebar-primary {
        gap: 18px;
    }

    body.exam-select-page .qb-sidebar-secondary {
        gap: 8px;
    }

    body.exam-select-page .qb-sidebar-secondary::before {
        content: none;
        display: none;
    }

    body.exam-select-page .qb-sidebar-primary .qb-sidebar-item-standalone {
        padding-bottom: 7px;
        font-size: 14px;
    }

    body.exam-select-page .qb-sidebar-primary .qb-icon {
        width: 16px;
        height: 16px;
    }

    body.exam-select-page .qb-sidebar-secondary .qb-sidebar-item,
    body.exam-select-page .qb-sidebar-secondary .qb-sat-practice-tree-toggle {
        padding: 7px 10px;
        font-size: 11px;
    }

    body.exam-select-page .qb-sat-layered-tree {
        gap: 8px;
    }

    body.exam-select-page .qb-sat-layer-row {
        gap: 8px;
    }

    body.exam-select-page .qb-sat-layer-label {
        min-width: 30px;
        font-size: 11px;
    }

    body.exam-select-page .qb-sat-layer-btn {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 11px;
    }

    .qb-sat-practice-type-cards {
        margin-top: 12px;
        padding: 12px;
        border-radius: 14px;
    }

    .qb-sat-practice-card-grid {
        grid-template-columns: 1fr;
    }

    .qb-sat-practice-combo {
        grid-template-columns: auto auto;
    }
}

/* Assignments redesigned dashboard */
body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    min-height: 100%;
    background: linear-gradient(180deg, #f4f8f6 0%, #f4f8f6 100%);
}

body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    height: 560px;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(222, 252, 240, .95) 0%, rgba(225, 250, 240, .88) 47%, rgba(244, 248, 246, .98) 100%),
        radial-gradient(circle at 82% 4%, rgba(67, 214, 181, .32) 0%, rgba(67, 214, 181, 0) 36%),
        radial-gradient(circle at 16% 35%, rgba(255, 255, 255, .65) 0%, rgba(255, 255, 255, 0) 40%);
}

body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .main-content {
    position: relative;
    z-index: 1;
    background: transparent;
    padding-top: 62px;
}

body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .main-content::before {
    content: "";
    position: absolute;
    right: max(92px, calc((100vw - 1400px) / 2 + 78px));
    top: 82px;
    width: 287px;
    height: 241px;
    z-index: 2;
    pointer-events: none;
    background: var(--exam-home-mascot-url, none) center / contain no-repeat;
    opacity: 1;
    filter: drop-shadow(0 26px 32px rgba(4, 120, 87, .16));
}

body.exam-select-page .exam-assignment-hero-copy {
    position: absolute;
    left: max(80px, calc((100vw - 1400px) / 2 + 65px));
    top: 124px;
    z-index: 2;
    pointer-events: none;
}

body.exam-select-page .account-hero-copy-title {
    margin: 0;
    color: #2d3034;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
}

body.exam-select-page .account-hero-copy-subtitle {
    margin: 12px 0 0;
    color: #4f6f80;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 1.1px;
}

body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .exam-wordmark-watermark {
    position: absolute;
    left: max(57px, calc((100vw - 1400px) / 2 + 47px));
    top: 87px;
    width: 639px;
    min-width: 0;
    max-width: 840px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .exam-wordmark-watermark g {
    opacity: .42;
}

body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .select-container {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: min(1400px, calc(100vw / var(--site-page-zoom, 1)));
    max-width: 1400px;
    margin: 219px auto 72px;
    padding: 0 40px;
}

body.exam-select-page #tabAssignments .assignment-workbench {
    display: grid;
    gap: 28px;
    width: 100%;
}

body.exam-select-page #tabAssignments .assignment-overview-card,
body.exam-select-page #tabAssignments #hwDashboard,
body.exam-select-page #tabAssignments .hw-columns {
    box-sizing: border-box;
    border: 1px solid rgba(225, 231, 235, .82);
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .055);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.exam-select-page #tabAssignments #hwDashboard {
    order: 0;
    padding: 28px 27px 32px;
}

body.exam-select-page #tabAssignments .assignment-overview-card {
    order: 1;
    padding: 28px 28px 24px;
    overflow: hidden;
}

body.exam-select-page #tabAssignments .hw-columns {
    order: 2;
}

body.exam-select-page #tabAssignments #hwEmpty {
    order: 2;
    box-sizing: border-box;
    width: 100%;
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    border: 1px solid rgba(225, 231, 235, .82);
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    color: #7a8498;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .055);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.exam-select-page #tabAssignments .assignment-overview-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 34px;
    align-items: stretch;
}

body.exam-select-page #tabAssignments .assignment-overview-left {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0;
    align-items: start;
    width: 100%;
    min-width: 0;
}

body.exam-select-page #tabAssignments .assignment-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0;
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-title,
body.exam-select-page #tabAssignments .assignment-overview-title,
body.exam-select-page #tabAssignments .hw-col-header > span:first-child {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding-left: 24px;
    color: #303746;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-title::before,
body.exam-select-page #tabAssignments .assignment-overview-title::before,
body.exam-select-page #tabAssignments .hw-col-header > span:first-child::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 18%;
    width: 28px;
    height: 41px;
    transform: translateY(-52%);
    background: var(--exam-mark-url, none) center / contain no-repeat;
    -webkit-mask-image: linear-gradient(135deg, #000 0%, #000 24%, rgba(0, 0, 0, .72) 44%, rgba(0, 0, 0, .24) 68%, transparent 100%);
    mask-image: linear-gradient(135deg, #000 0%, #000 24%, rgba(0, 0, 0, .72) 44%, rgba(0, 0, 0, .24) 68%, transparent 100%);
}

body.exam-select-page #tabAssignments .assignment-overview-desc {
    margin: 10px 0 18px;
    color: #8a94a6;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

body.exam-select-page #tabAssignments .hw-subject-filter-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    flex-wrap: wrap;
}

body.exam-select-page #tabAssignments .hw-subject-filter-btn {
    min-width: 82px;
    height: 34px;
    min-height: 34px;
    padding: 0 18px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

body.exam-select-page #tabAssignments .hw-subject-filter-btn:hover {
    border-color: #bfede4;
    color: #08a88f;
    background: #f3fcfa;
}

body.exam-select-page #tabAssignments .hw-subject-filter-btn.active {
    border-color: #08bfa2;
    background: #08bfa2;
    color: #fff;
    box-shadow: none;
}

body.exam-select-page #tabAssignments .assignment-summary-grid {
    align-self: stretch;
    align-items: stretch;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

body.exam-select-page #tabAssignments .assignment-summary-card {
    position: relative;
    box-sizing: border-box;
    display: grid;
    align-content: center;
    height: 118px;
    min-height: 118px;
    max-height: 118px;
    padding: 18px 24px 18px 114px;
    border: 1px solid #edf1f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    text-align: left;
    overflow: hidden;
}

body.exam-select-page #tabAssignments .assignment-summary-card > * {
    position: relative;
    z-index: 1;
}

body.exam-select-page #tabAssignments .assignment-summary-card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: auto;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translateY(-50%);
    border-radius: 999px;
    opacity: .85;
    z-index: 0;
}

body.exam-select-page #tabAssignments .assignment-summary-card-todo::after {
    background: #dff8eb;
}

body.exam-select-page #tabAssignments .assignment-summary-card-overdue::after {
    background: #ffe5e8;
}

body.exam-select-page #tabAssignments .assignment-summary-card-done::after {
    background: #e7f0ff;
}

body.exam-select-page #tabAssignments .assignment-summary-card::before {
    content: "";
    position: absolute;
    left: 43px;
    top: 50%;
    z-index: 1;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
    background: #4abc99;
}

body.exam-select-page #tabAssignments .assignment-summary-card-todo::before {
    background: #4abc99;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h10M8 12h10M8 18h6M4 6h.01M4 12h.01M4 18h.01' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h10M8 12h10M8 18h6M4 6h.01M4 12h.01M4 18h.01' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.exam-select-page #tabAssignments .assignment-summary-card-overdue::before {
    background: #ff655c;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v5l3 2M12 22a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v5l3 2M12 22a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.exam-select-page #tabAssignments .assignment-summary-card-done::before {
    background: #4789ff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 13 4 4L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 13 4 4L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.exam-select-page #tabAssignments .assignment-summary-label {
    display: block;
    margin: 0 0 3px;
    color: #7a8498;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

body.exam-select-page #tabAssignments .assignment-summary-card strong {
    display: block;
    margin: 0;
    color: #111827 !important;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

body.exam-select-page #tabAssignments .assignment-summary-card-overdue strong {
    color: #e87872 !important;
}

body.exam-select-page #tabAssignments .assignment-summary-card-todo strong {
    color: #4abc99 !important;
}

body.exam-select-page #tabAssignments .assignment-summary-card-done strong {
    color: #4789ff !important;
}

body.exam-select-page #tabAssignments .assignment-summary-card small {
    display: block;
    margin: 3px 0 0;
    color: #7a8498;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}

body.exam-select-page #tabAssignments .assignment-overview-calendar {
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    padding-left: 34px;
    border-left: 1px solid #edf1f4;
}

body.exam-select-page #tabAssignments .assignment-calendar-section {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

body.exam-select-page #tabAssignments .assignment-workbench .hw-top-row {
    display: grid;
    grid-template-columns: none !important;
    align-items: stretch;
    gap: 18px;
}

body.exam-select-page #tabAssignments .hw-cal-widget {
    display: grid;
    grid-template-columns: 246px;
    grid-template-rows: auto auto 1fr;
    width: 246px;
    min-height: 200px;
    margin: 0;
    flex: 0 0 246px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.exam-select-page #tabAssignments .hw-cal-header {
    grid-column: 1;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px auto;
    align-items: center;
    gap: 8px;
    width: 246px;
    margin: 0 0 10px;
}

body.exam-select-page #tabAssignments .hw-cal-title {
    width: auto;
    min-width: 0;
    text-align: center;
    color: #303746;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

body.exam-select-page #tabAssignments .hw-cal-nav {
    width: 28px;
    height: 28px;
}

body.exam-select-page #tabAssignments .hw-cal-today-btn {
    width: auto;
    height: 28px;
    margin-left: 8px;
    padding: 0 11px;
}

body.exam-select-page #tabAssignments .hw-cal-weekdays {
    grid-column: 1;
    width: 246px;
    margin: 0 0 7px;
    color: #98a3ae;
    font-size: 12px;
    line-height: 1.2;
}

body.exam-select-page #tabAssignments .hw-cal-days {
    grid-column: 1;
    width: 246px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px 6px;
}

body.exam-select-page #tabAssignments .hw-cal-day {
    justify-self: stretch;
    width: auto;
    min-width: 26px;
    height: 26px;
    font-size: 13px;
}

body.exam-select-page #tabAssignments .hw-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.exam-select-page #tabAssignments .hw-col {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(225, 231, 235, .82);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .055);
    overflow: hidden;
}

body.exam-select-page #tabAssignments .hw-col + .hw-col {
    border-left: 1px solid rgba(225, 231, 235, .82);
}

body.exam-select-page #tabAssignments .hw-col-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 28px 28px 14px;
    border-bottom: 1px solid #edf1f4;
    color: #303746;
    font-size: 20px;
    font-weight: 600;
}

body.exam-select-page #tabAssignments .hw-col-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f0fdfa;
    color: #08bfa2;
    font-size: 15px;
    font-weight: 700;
}

body.exam-select-page #tabAssignments #hwDoneCount {
    background: #e7f0ff;
    color: #4789ff;
}

body.exam-select-page #tabAssignments .hw-filter-btns {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.exam-select-page #tabAssignments .hw-list {
    gap: 0;
    padding: 0;
}

body.exam-select-page #tabAssignments .hw-overdue-divider,
body.exam-select-page #tabAssignments .hw-subject-divider {
    margin: 0;
    padding: 12px 28px;
    background: #fbfdfd;
    border-bottom: 1px solid #f1f5f9;
    color: #8a94a6;
    font-size: 13px;
}

body.exam-select-page #tabAssignments .hw-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 13px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    box-shadow: none;
}

body.exam-select-page #tabAssignments .hw-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 5px;
    border-radius: 0 3px 3px 0;
    background: #08bfa2;
    opacity: .38;
}

body.exam-select-page #tabAssignments .hw-card-left {
    min-width: 0;
}

body.exam-select-page #tabAssignments .hw-primary-line-top {
    gap: 8px;
}

body.exam-select-page #tabAssignments .hw-primary-line-text {
    color: #303746;
    font-weight: 500;
}

body.exam-select-page #tabAssignments .hw-secondary-line {
    margin-top: 5px;
    color: #8a94a6;
    font-size: 12px;
}

body.exam-select-page #tabAssignments .hw-btn {
    min-width: 72px;
    min-height: 38px;
    border-radius: 8px;
    font-weight: 500;
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-header {
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 18px;
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-range {
    transform: translateY(-4px);
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 14px 18px;
    border: 1px solid #edf1f4;
    border-radius: 10px;
    background: #fbfdfd;
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-nums {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

body.exam-select-page #tabAssignments #hwDashboard .hw-dash-nums strong {
    color: #08bfa2;
    font-size: 18px;
}

@media (max-width: 767px) {
    body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page)::before {
        top: 56px;
        height: 430px;
    }

    body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .main-content {
        padding-top: 210px;
    }

    body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .main-content::before {
        right: 8px;
        top: 86px;
        width: 160px;
        height: 122px;
        opacity: .72;
    }

    body.exam-select-page .exam-assignment-hero-copy {
        left: 20px;
        top: 106px;
    }

    body.exam-select-page .account-hero-copy-title {
        font-size: 30px;
        line-height: 1.08;
    }

    body.exam-select-page .account-hero-copy-subtitle {
        max-width: 220px;
        margin-top: 9px;
        font-size: 13px;
        line-height: 1.45;
        letter-spacing: .4px;
    }

    body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .exam-wordmark-watermark {
        left: 18px;
        top: 82px;
        width: min(210px, calc(100vw - 36px));
        min-width: 0;
        max-width: none;
    }

    body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .exam-wordmark-watermark g {
        opacity: .38;
    }

    body.exam-select-page:not(.exam-select-toefl-page):not(.exam-select-ielts-page):not(.exam-select-sat-page) .select-container {
        position: static;
        margin: 0 auto 56px;
        padding: 0 13px;
    }

    body.exam-select-page #tabAssignments .assignment-workbench {
        gap: 18px;
    }

    body.exam-select-page #tabAssignments #hwDashboard,
    body.exam-select-page #tabAssignments .assignment-overview-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-header,
    body.exam-select-page #tabAssignments .assignment-overview-head {
        display: block;
        margin-bottom: 6px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-title,
    body.exam-select-page #tabAssignments .assignment-overview-title {
        min-height: 34px;
        margin-bottom: 10px;
        padding-left: 22px;
        font-size: 18px;
    }

    body.exam-select-page #tabAssignments .hw-col-header > span:first-child {
        min-height: 34px;
        margin-bottom: 0;
        padding-left: 22px;
        font-size: 18px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-title::before,
    body.exam-select-page #tabAssignments .assignment-overview-title::before,
    body.exam-select-page #tabAssignments .hw-col-header > span:first-child::before {
        width: 24px;
        height: 34px;
        top: 20%;
    }

    body.exam-select-page #tabAssignments .assignment-overview-body {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.exam-select-page #tabAssignments .assignment-overview-left {
        gap: 0;
    }

    body.exam-select-page #tabAssignments .assignment-overview-desc {
        display: none;
    }

    body.exam-select-page #tabAssignments .assignment-overview-calendar {
        width: 100%;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #edf1f4;
        padding-top: 18px;
    }

    body.exam-select-page #tabAssignments .assignment-calendar-section {
        width: 100%;
    }

    body.exam-select-page #tabAssignments .hw-subject-filter-btns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body.exam-select-page #tabAssignments .hw-subject-filter-btn {
        width: 100%;
        min-width: 0;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-card,
    body.exam-select-page #tabAssignments .assignment-summary-card-done {
        height: 88px;
        min-height: 88px;
        max-height: 88px;
        padding: 14px 14px 14px 84px;
        border-radius: 12px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-card-overdue {
        height: 100px;
        min-height: 100px;
        max-height: 100px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-card::after,
    body.exam-select-page #tabAssignments .assignment-summary-card-done::after {
        left: 20px;
        width: 44px;
        height: 44px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-card::before {
        left: 31px;
        width: 22px;
        height: 22px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-label {
        margin: 0 0 6px;
        font-size: 13px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-card strong {
        font-size: 32px;
    }

    body.exam-select-page #tabAssignments .assignment-summary-card small {
        margin-top: 7px;
        font-size: 12px;
    }

    body.exam-select-page #tabAssignments .hw-cal-widget {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        flex: 1 1 auto;
        min-height: 0;
    }

    body.exam-select-page #tabAssignments .hw-cal-header {
        width: 100%;
        grid-template-columns: 30px minmax(0, 1fr) 30px auto;
        gap: 8px;
        margin-bottom: 12px;
    }

    body.exam-select-page #tabAssignments .hw-cal-nav {
        width: 30px;
        height: 30px;
    }

    body.exam-select-page #tabAssignments .hw-cal-today-btn {
        height: 30px;
        margin-left: 4px;
        padding: 0 12px;
    }

    body.exam-select-page #tabAssignments .hw-cal-weekdays,
    body.exam-select-page #tabAssignments .hw-cal-days {
        width: 100%;
    }

    body.exam-select-page #tabAssignments .hw-cal-weekdays {
        margin-bottom: 8px;
    }

    body.exam-select-page #tabAssignments .hw-cal-days {
        gap: 5px 7px;
    }

    body.exam-select-page #tabAssignments .hw-cal-day {
        min-width: 0;
        height: 30px;
        font-size: 13px;
    }

    body.exam-select-page #tabAssignments .hw-columns {
        grid-template-columns: 1fr;
        gap: 14px;
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    body.exam-select-page #tabAssignments #hwEmpty {
        min-height: 96px;
        padding: 24px 18px;
        border-radius: 12px;
        font-size: 14px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
    }

    body.exam-select-page #tabAssignments .hw-col {
        border: 1px solid rgba(225, 231, 235, .82);
        border-radius: 12px;
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
        overflow: hidden;
    }

    body.exam-select-page #tabAssignments .hw-col-header {
        align-items: center;
        flex-wrap: wrap;
        gap: 0 4px;
        padding: 17px 18px 4px;
    }

    body.exam-select-page #tabAssignments .hw-col-count {
        min-width: 22px;
        height: 22px;
        padding: 0 7px;
        font-size: 12px;
    }

    body.exam-select-page #tabAssignments .hw-filter-btns {
        order: 2;
        width: 100%;
        margin: 6px 0;
        overflow-x: auto;
        padding-bottom: 1px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.exam-select-page #tabAssignments .hw-filter-btns::-webkit-scrollbar {
        display: none;
    }

    body.exam-select-page #tabAssignments .hw-card {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
        min-height: 0;
        padding: 14px 16px;
    }

    body.exam-select-page #tabAssignments .hw-card-left {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    body.exam-select-page #tabAssignments .hw-info {
        display: grid;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }

    body.exam-select-page #tabAssignments .hw-primary-line,
    body.exam-select-page #tabAssignments .hw-primary-line-top {
        width: 100%;
        min-width: 0;
    }

    body.exam-select-page #tabAssignments .hw-primary-line-top {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    body.exam-select-page #tabAssignments .hw-type-tag {
        align-self: start;
        white-space: nowrap;
    }

    body.exam-select-page #tabAssignments .hw-primary-line-text,
    body.exam-select-page #tabAssignments .hw-secondary-line {
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        overflow: visible;
        text-overflow: clip;
    }

    body.exam-select-page #tabAssignments .hw-btn {
        width: 100%;
        min-height: 40px;
    }

    body.exam-select-page #tabAssignments .hw-overdue-divider,
    body.exam-select-page #tabAssignments .hw-subject-divider {
        padding: 10px 16px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-header {
        display: block;
        margin-bottom: 6px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-range {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 10px 8px;
        width: 100%;
        margin: 10px 0 18px;
        transform: none;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-date {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        padding: 8px 10px;
        font-size: 12px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-sep {
        text-align: center;
        font-size: 14px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-query,
    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-reset {
        width: 100%;
        min-width: 0;
        padding: 10px 0;
        font-size: 13px;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-query {
        grid-column: 1;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-reset {
        grid-column: 3;
    }

    body.exam-select-page #tabAssignments #hwDashboard .hw-dash-grid {
        grid-template-columns: 1fr;
    }
}
