:root { color-scheme: light; --ink:#203e35; --muted:#718278; --line:#e0e7df; --paper:#f4f6f0; --green:#214e3c; --gold:#efd77b; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-size:14px; }
a { color:inherit; text-decoration:none; }
button,select { font:inherit; }
button,a,select { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
:focus-visible { outline:3px solid #be9024; outline-offset:4px; }
[hidden] { display:none !important; }
.skip { position:absolute; left:16px; top:-60px; z-index:5; background:white; padding:12px; }
.skip:focus { top:10px; }
.site-header { min-height:90px; padding:18px max(28px,calc((100vw - 1256px)/2)); display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid var(--line); background:#fcfdf9; }
.brand { display:flex; align-items:center; gap:12px; font-size:18px; font-weight:700; white-space:nowrap; }
.brand-mark { display:grid; place-items:center; width:42px; height:42px; background:var(--green); color:var(--gold); border-radius:12px; font-family:Georgia,serif; font-size:24px; }
.brand small { display:block; margin-top:4px; color:var(--muted); font-size:9px; letter-spacing:1.5px; font-weight:500; }
nav { display:flex; align-items:center; gap:30px; color:#6a7c70; }
nav a { padding:10px 0; }
nav .active { color:var(--green); font-weight:650; border-bottom:2px solid var(--green); }
.header-actions { display:flex; align-items:center; gap:28px; }
.logout-button { border:1px solid #cbd8cc; border-radius:9px; padding:9px 14px; color:var(--green); background:#f7faf5; font-size:11px; }
.logout-button:hover { background:#eaf0e6; }
.logout-button:disabled { cursor:wait; opacity:.6; }
.public-notice { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; padding:11px 22px; background:#f0ead7; color:#6a5e38; font-size:12px; line-height:1.6; }
.notice-dot { width:6px; height:6px; border-radius:50%; background:#a68b3c; }
main { max-width:1312px; margin:auto; padding:38px 28px 52px; }
.login-view { min-height:calc(100vh - 225px); display:grid; place-items:center; padding:20px 0 50px; }
.login-card { width:min(100%,460px); text-align:center; border:1px solid var(--line); border-radius:24px; background:#fcfdf9; padding:38px 44px 30px; box-shadow:0 18px 55px #203e3512; }
.login-card h1 { font-size:25px; letter-spacing:-.5px; }
.login-lead { margin:12px 0 24px; color:var(--muted); font-size:12px; line-height:1.8; }
.code-frame { width:246px; height:246px; margin:0 auto 18px; display:grid; place-items:center; overflow:hidden; border:1px solid #dbe4d9; border-radius:18px; background:#f2f5ed; color:#879487; font-size:12px; }
.code-frame img { width:100%; height:100%; display:block; object-fit:cover; }
.login-status { min-height:22px; margin:0; color:var(--green); font-size:13px; line-height:1.7; }
.login-countdown { min-height:18px; margin:4px 0 0; color:#899688; font-size:10px; font-variant-numeric:tabular-nums; }
.refresh-login { margin:10px 0 0; border:0; border-radius:10px; padding:11px 22px; background:var(--green); color:#fffce9; }
.login-safety { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--line); color:#96a096; font-size:10px; line-height:1.8; }
.empty-account { max-width:700px; margin:70px auto; padding:38px; text-align:center; border:1px solid var(--line); border-radius:20px; background:#fcfdf9; }
.empty-account h2 { margin:0 0 12px; font-size:20px; }
.empty-account p { margin:0 auto 20px; max-width:520px; color:var(--muted); line-height:1.9; }
.empty-account a { color:var(--green); font-weight:600; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:30px; }
.eyebrow { margin:0 0 10px; font-size:10px; letter-spacing:2.4px; color:#839277; font-weight:700; }
h1 { margin:0; font-size:clamp(23px,2.8vw,34px); font-weight:650; letter-spacing:-.8px; }
.lead { color:var(--muted); margin:12px 0 0; line-height:1.8; font-size:13px; }
.snapshot-label { flex-shrink:0; border:1px solid #dbe3d4; background:#edf1e6; border-radius:20px; padding:8px 14px; color:#66775e; font-size:11px; }
.dashboard { display:grid; grid-template-columns:232px minmax(0,1fr); gap:26px; align-items:start; }
.sidebar { display:flex; flex-direction:column; gap:18px; }
.account-panel { border:1px solid var(--line); border-radius:18px; background:#fcfdf9; padding:20px 12px 18px; }
.section-kicker { display:flex; justify-content:space-between; font-size:12px; color:#788574; margin:0 8px 18px; }
.section-kicker span:last-child { font-size:10px; }
.account-list { display:flex; flex-direction:column; gap:8px; }
.account-button { display:flex; align-items:center; width:100%; text-align:left; gap:10px; padding:12px 10px; border:1px solid transparent; background:transparent; border-radius:12px; color:var(--ink); }
.account-button:hover { background:#f0f3e9; }
.account-button[aria-pressed="true"] { background:#e9eedf; border-color:#d5dfc9; }
.avatar { width:34px; height:34px; flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:#dfe6d5; color:#53694b; font-size:14px; }
.account-button[aria-pressed="true"] .avatar { color:#fff9de; background:var(--green); }
.account-text { min-width:0; flex:1; }
.account-name { display:block; font-size:13px; overflow-wrap:anywhere; font-weight:600; }
.account-sub { display:block; margin-top:5px; font-size:10px; color:var(--muted); }
.account-dot { flex-shrink:0; height:6px; width:6px; border-radius:50%; background:var(--green); visibility:hidden; }
.account-button[aria-pressed="true"] .account-dot { visibility:visible; }
.sidebar-note { font-size:11px; color:#8a9386; line-height:1.8; margin:18px 8px 0; }
.source-panel { border:1px solid var(--line); border-radius:18px; padding:22px 20px; background:#f0f3e9; }
.source-icon { display:block; width:25px; color:#7b8c64; font-size:22px; }
.source-panel h2 { font-size:13px; margin:10px 0; }
.source-panel p,.source-panel dt,.source-panel dd { font-size:11px; line-height:1.8; }
.source-panel p,.source-panel dt { color:var(--muted); }
.source-panel dl { margin:20px 0 0; }
.source-panel dd { margin:4px 0 0; font-variant-numeric:tabular-nums; }
.source-note { border-top:1px solid #dfe5d7; padding-top:14px; margin:14px 0 0; }
.download-link { font-size:11px; line-height:1.8; padding:4px 8px; color:#65735e; }
.download-link span { margin-left:3px; }
.content { min-width:0; }
.profile-hero { min-height:162px; overflow:hidden; border-radius:20px; background:var(--green); color:#fffbe9; padding:28px 32px; display:flex; align-items:center; justify-content:space-between; gap:16px; position:relative; }
.hero-kicker { font-size:10px; letter-spacing:2px; color:#bdceb4; margin:0 0 8px; }
.profile-hero h2 { font-size:30px; line-height:1.3; margin:0; overflow-wrap:anywhere; }
.profile-hero p:last-child { font-size:12px; color:#bdcdbd; margin:12px 0 0; }
.letter-stack { display:flex; align-items:center; padding-right:12px; flex-shrink:0; }
.letter-stack span { display:grid; place-items:center; height:76px; width:62px; border-radius:10px; border:1px solid #7a907040; background:#3b634c; font-family:Georgia,serif; font-size:46px; color:#bdd1a5; transform:rotate(-12deg); box-shadow:0 8px 12px #122e2918; }
.letter-stack span:nth-child(2) { color:#304b2d; background:var(--gold); transform:rotate(8deg); margin-left:-8px; margin-top:17px; z-index:1; }
.letter-stack span:nth-child(3) { transform:rotate(19deg); margin-left:-5px; margin-top:-3px; color:#dae2c7; }
.metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:18px 0 30px; }
.metric { padding:20px 22px; border:1px solid var(--line); background:#fcfdf9; border-radius:16px; }
.metric-label { font-size:11px; color:var(--muted); }
.metric p { margin:12px 0 10px; display:flex; align-items:baseline; gap:9px; }
.metric strong { font-size:34px; line-height:1; font-weight:650; font-variant-numeric:tabular-nums; }
.metric p span { font-size:13px; color:#8a947f; }
.metric small { font-size:10px; color:#8c9789; }
.metric-accent { background:#ecefdc; border-color:#e1e5c9; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.section-heading h2 { font-size:18px; margin:0; font-weight:650; }
.section-heading p { margin:7px 0 0; font-size:11px; color:var(--muted); }
.filter-label { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:11px; flex-shrink:0; }
select { appearance:auto; border:1px solid var(--line); color:#546b5b; background:#fcfdf9; border-radius:8px; padding:8px 7px; font-size:11px; }
.grade-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.grade-card { background:#fcfdf9; border:1px solid var(--line); border-radius:14px; padding:18px; text-align:left; color:var(--ink); transition:border-color .15s,background .15s; min-width:0; }
.grade-card:hover { border-color:#a7b69b; background:white; }
.grade-card[aria-pressed="true"] { border-color:#75905b; box-shadow:inset 0 0 0 1px #75905b; }
.grade-head { display:flex; justify-content:space-between; align-items:center; gap:6px; }
.grade-title { font-size:14px; font-weight:600; }
.grade-badge { font-size:9px; padding:3px 6px; border-radius:5px; color:#658354; background:#edf2e3; white-space:nowrap; }
.grade-card.is-locked { background:#f0f2ec; }
.is-locked .grade-badge { background:#e7eae2; color:#8c9486; }
.grade-numbers { display:flex; align-items:baseline; gap:5px; margin:17px 0 9px; }
.grade-numbers strong { font-size:23px; font-weight:600; font-variant-numeric:tabular-nums; }
.grade-numbers span { font-size:10px; color:#8e988a; }
.progress-track { width:100%; height:5px; border-radius:10px; overflow:hidden; background:#e9eee1; }
.progress-fill { display:block; height:100%; background:#8b9f57; border-radius:10px; }
.grade-foot { display:flex; justify-content:space-between; gap:5px; margin-top:12px; color:#87907e; font-size:10px; }
.explanation { margin-top:26px; border-top:1px solid var(--line); padding-top:20px; }
.explanation h2 { font-size:12px; margin:0 0 14px; color:#62745c; }
.explanation>div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.explanation p { font-size:10px; color:#88917e; line-height:1.85; margin:0; }
.explanation strong { display:block; font-weight:500; color:#62745c; margin-bottom:4px; }
.explanation .legacy-note { margin-top:14px; color:#8b794e; }
.message,.filter-empty { padding:30px; border:1px solid var(--line); border-radius:16px; background:#fcfdf9; color:var(--muted); line-height:1.9; }
footer { max-width:1256px; margin:auto; border-top:1px solid var(--line); padding:22px 0 32px; display:flex; gap:16px; justify-content:space-between; font-size:10px; color:#94a08d; }
footer span:first-child { font-weight:600; color:#6c7d63; }
@media(min-width:1500px) { main { padding-top:45px; } }
@media(max-width:1000px) { .dashboard { grid-template-columns:190px minmax(0,1fr); gap:18px; } .grade-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .metric { padding:18px 14px; } .letter-stack { transform:scale(.8); transform-origin:right; margin-left:-35px; } footer { margin:0 28px; } }
@media(max-width:720px) { .site-header { padding:16px 20px; min-height:74px; } .brand { font-size:15px; gap:8px; } .brand-mark { height:35px; width:35px; font-size:21px; } .brand small { font-size:7px; letter-spacing:.8px; } .header-actions { gap:12px; } nav { font-size:12px; gap:15px; } .logout-button { padding:7px 9px; font-size:10px; } main { padding:26px 18px 32px; } .login-view { min-height:calc(100vh - 190px); padding:0 0 30px; } .login-card { padding:30px 18px 24px; border-radius:18px; } .code-frame { width:220px; height:220px; } .snapshot-label { display:none; } .page-heading { margin-bottom:24px; } h1 { font-size:24px; } .lead { font-size:12px; } .dashboard { display:flex; flex-direction:column; gap:20px; } .sidebar,.content { width:100%; } .sidebar { gap:12px; } .account-panel { padding:14px 12px; } .section-kicker { margin-bottom:10px; } .account-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .sidebar-note,.download-link { display:none; } .source-panel { padding:14px 20px; } .source-icon,.source-panel h2 { display:none; } .source-panel>p { margin:0; } .source-panel dl { margin:6px 0 0; display:flex; flex-wrap:wrap; gap:8px; } .source-panel dd { margin:0; } .source-panel .source-note { margin-top:8px; padding-top:8px; } .profile-hero { min-height:140px; padding:24px; } .profile-hero h2 { font-size:25px; } .letter-stack { transform:scale(.66); margin-left:-54px; margin-right:-10px; } .profile-hero p:last-child { font-size:10px; } .metrics { gap:8px; margin:12px 0 26px; } .metric { padding:16px 10px; border-radius:12px; } .metric-label { font-size:10px; } .metric strong { font-size:27px; } .metric p { gap:4px; } .metric p span { font-size:11px; } .metric small { font-size:9px; line-height:1.6; display:block; } .grade-grid { gap:10px; } .grade-card { padding:15px 12px; } .explanation>div { grid-template-columns:1fr; gap:12px; } .explanation strong { display:inline; margin-right:8px; } footer { margin:0 18px; flex-wrap:wrap; font-size:9px; } footer span:nth-child(2) { display:none; } }
@media(prefers-reduced-motion:reduce) { * { transition:none !important; } }
