/* Brand substitution; original spacing, type, colours and responsive rules remain in assets. */
.baike-history-row{display:grid;grid-template-columns:minmax(240px,1fr) 120px 160px 100px;gap:24px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line, #b9af9b33)}
.baike-history-row strong{font-family:Georgia,serif;font-size:28px}.baike-history-row p{font-size:13px;opacity:.65}.baike-topic-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #8882}.baike-review-link{color:var(--gold,#aa8750)}
.baike-notice{padding:24px;border:1px solid #a88b5355;margin-top:24px}.baike-results{padding:70px 0}.baike-results h1{font-size:clamp(38px,5vw,72px);font-family:Georgia,serif}.baike-results .stat-value-grid{margin:36px 0}.baike-results h2{font-size:28px}.baike-error{max-width:800px;margin:15vh auto;padding:30px;font-family:Georgia,serif}.baike-error h1{font-size:48px;margin-bottom:20px}
@media(max-width:720px){.baike-history-row{grid-template-columns:1fr 75px;gap:12px}.baike-history-row>span{font-size:12px}.baike-results{padding:36px 0}}
.baike-login-page{min-height:100vh;display:grid;place-items:center;padding:32px;color:#17211d;background:#f4f0e8}.baike-login-page>section{width:min(440px,100%)}.baike-login-logo{display:block;width:170px;height:auto;margin:0 auto 28px}.baike-login-card{padding:32px;color:#17211d;background:#fff;border:1px solid rgba(20,30,45,.22);border-radius:14px}.baike-login-card h1{margin:0 0 8px;color:#17211d;font-size:32px}.baike-login-card>p{margin:0 0 24px;color:#505b67}.baike-login-form,.baike-account-form{display:grid;gap:16px}.baike-login-form label,.baike-account-form label{display:grid;gap:7px;color:#26332e;font-size:14px;font-weight:650}.baike-login-form input,.baike-account-form input,.baike-account-form select{width:100%;padding:12px 13px;border:1px solid rgba(20,30,45,.32);border-radius:8px;background:#fff;color:#121923;-webkit-text-fill-color:#121923}.baike-login-form button{width:100%;justify-content:center;color:#fff;-webkit-text-fill-color:#fff;background:#146856}.baike-accounts{display:grid;grid-template-columns:minmax(280px,360px) 1fr;gap:32px;padding-block:42px}.baike-account-form{align-content:start;padding:24px;border:1px solid rgba(20,30,45,.14);border-radius:12px;background:#fff}.baike-account-form h2{margin:0}.baike-account-table-wrap{overflow:auto}.baike-account-table-wrap table{width:100%;border-collapse:collapse;background:#fff}.baike-account-table-wrap th,.baike-account-table-wrap td{padding:13px 14px;text-align:left;border-bottom:1px solid rgba(20,30,45,.1);white-space:nowrap}@media(max-width:800px){.baike-accounts{grid-template-columns:1fr}}

/* Keep the exam UI readable even when an older theme bundle is cached. */
:root[data-theme=day] .exam-page{color:#17211d;background:#f5f6f2}
:root[data-theme=day] .question-panel,
:root[data-theme=day] .exam-sidebar{color:#17211d;background:#fffdf8}
:root[data-theme=day] .exam-options button{color:#17211d!important;-webkit-text-fill-color:#17211d;background:#fffdf8;border-color:#c9cec9}
:root[data-theme=day] .exam-options button b{color:#17211d!important;-webkit-text-fill-color:#17211d;background:#e9e4d8}
:root[data-theme=day] .exam-options button:hover{color:#102f27!important;-webkit-text-fill-color:#102f27;background:#eef5f1;border-color:#146856}
:root[data-theme=day] .exam-options button.selected{color:#102f27!important;-webkit-text-fill-color:#102f27;background:#e5f1ed;border-color:#146856}
:root[data-theme=day] .exam-options button.selected b{color:#fff!important;-webkit-text-fill-color:#fff;background:#146856}
:root[data-theme=day] .exam-number-grid button{color:#17211d!important;-webkit-text-fill-color:#17211d;background:#fffdf8;border-color:#c9cec9}
:root[data-theme=day] .exam-number-grid button.answered{color:#103f34!important;-webkit-text-fill-color:#103f34;background:#dcebe6}
:root[data-theme=day] .exam-number-grid button.current{border-color:#146856;box-shadow:inset 0 0 0 1px #146856}

:root[data-theme=night]{color-scheme:light;--bg-primary:#f4f0e8;--bg-secondary:#ece6dc;--bg-tertiary:#e5ded2;--surface-1:#fbf8f2;--surface-2:#f0eae0;--surface-3:#fffdf9;--text-primary:#171a1f;--text-secondary:#50545b;--text-tertiary:#666b72;--text-disabled:#737981;--border:#171a1f2b;--border-strong:#171a1f4a;--accent-gold:#9d7c4c;--accent-gold-strong:#8a693b;--accent-gold-soft:#ae8e5c21;--button-primary-bg:#1b1d21;--button-primary-text:#f5f1e9;--v2-bg-primary:#f4f0e8;--v2-bg-secondary:#ece6dc;--v2-bg-tertiary:#e5ded2;--v2-surface:#fbf8f2;--v2-surface-strong:#f0eae0;--v2-text-primary:#171a1f;--v2-text-secondary:#50545b;--v2-text-tertiary:#666b72;--v2-text-disabled:#737981;--v2-ink:#171a1f;--v2-muted:#50545b;--v2-paper:#fffdf9;--v2-paper-soft:#f0eae0;--v2-border:#171a1f4a;--v2-border-soft:#171a1f2b}
:root[data-theme=night] .exam-page{color:#17211d;background:#f5f6f2}
:root[data-theme=night] .question-panel,
:root[data-theme=night] .exam-sidebar{color:#17211d;background:#fffdf8}
:root[data-theme=night] .exam-options button{color:#17211d!important;-webkit-text-fill-color:#17211d;background:#fffdf8;border-color:#c9cec9}
:root[data-theme=night] .exam-options button b{color:#17211d!important;-webkit-text-fill-color:#17211d;background:#e9e4d8}
:root[data-theme=night] .exam-options button:hover,
:root[data-theme=night] .exam-options button.selected{color:#102f27!important;-webkit-text-fill-color:#102f27;background:#e5f1ed;border-color:#146856}
:root[data-theme=night] .exam-options button.selected b{color:#fff!important;-webkit-text-fill-color:#fff;background:#146856}
:root[data-theme=night] .exam-number-grid button{color:#17211d!important;-webkit-text-fill-color:#17211d;background:#fffdf8;border-color:#c9cec9}
