/* System fonts keep the app self-contained and available offline. */
.install-card{display:flex;align-items:center;gap:25px;border:1px solid #d9e2ee;border-radius:20px;background:#edf4fd;padding:26px;margin:14px 0 24px}.install-card h2{font-size:23px}.install-card p{max-width:700px;font-size:13px}.install-card .eyebrow{font-size:10px}.install-card .footnote{font-size:11px}.offline-status{color:#3d6594;font-weight:500}.app-icon{flex-shrink:0;width:72px;height:72px;background:#3d6594;color:#d4e5fa;border-radius:18px;display:grid;place-items:center;font-size:40px;letter-spacing:-10px;padding-right:10px}@media(max-width:760px){.install-card{padding:22px;align-items:flex-start}.app-icon{display:none}}@media(display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}
:root{--ink:#24374d;--muted:#5d6e83;--page-bg:#f8faff;--accent:#3d6594;--line:#d9e2ee;--accent-soft:#d4e5fa}*{box-sizing:border-box}body{margin:0;background:var(--page-bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px}header{max-width:1160px;margin:auto;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:700;color:inherit;text-decoration:none;letter-spacing:-1px}.logo{background:var(--accent);color:var(--accent-soft);border-radius:12px;width:36px;height:36px;text-align:center;padding-top:2px;letter-spacing:-6px;padding-right:5px}.tag{font-size:9px;letter-spacing:1.3px;margin-left:6px;border:1px solid #c8d4e3;border-radius:5px;padding:5px;font-weight:500}.private{font-size:12px;color:var(--muted)}main{max-width:1160px;padding:0 32px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;padding:48px 0 42px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#5d7189;margin:0 0 15px}h1{font-family:Manrope,sans-serif;font-weight:500;font-size:62px;line-height:1.07;letter-spacing:-3px;margin:0 0 20px}.sub{font-size:16px;line-height:1.65;max-width:390px;color:var(--muted);margin:0}.intro-art{width:290px;height:200px;position:relative;margin-right:45px}.orbit{position:absolute;width:170px;height:170px;border:1px solid #c1d0e2;border-radius:50%;top:0}.o1{left:15px}.o2{left:95px}.dot{position:absolute;width:62px;height:62px;border-radius:50%;top:54px}.d1{background:var(--accent);left:68px}.d2{background:var(--accent-soft);left:176px}.art-label{position:absolute;bottom:0;left:90px;font-size:12px;color:#60738b}.layout{display:grid;grid-template-columns:1.22fr 1fr;gap:24px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.card-top .eyebrow{margin:0}.pill{border-radius:20px;background:#edf3fb;padding:7px 10px;font-size:11px}h2{font-family:Manrope,sans-serif;font-size:25px;font-weight:600;letter-spacing:-.9px;margin:0 0 10px}p{line-height:1.6}#instructions,.muted{color:var(--muted);font-size:13px;margin:0 0 20px}.settings{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin:20px 0}select{font:inherit;color:var(--ink);background:#f3f7fd;border:1px solid var(--line);border-radius:8px;padding:8px;max-width:140px}.settings select{margin-left:7px}button{font-family:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #5b88cd;outline-offset:4px}.text-btn{border:0;background:none;color:var(--ink);font-size:12px;padding:10px 0;text-decoration:underline;text-underline-offset:4px}.playfield{background:#f3f7fd;border:1px solid #dce5f0;border-radius:18px;padding:20px}.session-line{display:flex;align-items:center;justify-content:space-between;font-size:12px}#clock{font-size:24px;font-family:Manrope,sans-serif;font-weight:600}.track{height:3px;background:#dbe5f2;border-radius:9px;margin-top:12px;overflow:hidden}#progress{height:100%;background:var(--accent);width:100%}.targets{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:28px 0}.target{height:132px;width:132px;border:1px solid #afc7e3;background:#e1edfb;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--accent);touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.target span:last-child{font-size:10px;letter-spacing:2px}.target-dot{display:block;background:var(--accent);width:22px;height:22px;border-radius:50%}.target:disabled{opacity:.65}.target.next{background:var(--accent-soft);border:2px solid var(--accent)}.target.hit{transform:scale(.94);background:#aac9ec}.between{color:#849ab4;font-size:22px}.live{display:flex;justify-content:space-between;align-items:center;color:#5d7087;font-size:11px}.live b{color:var(--ink);font-size:18px}.primary{width:100%;padding:16px 22px;display:flex;justify-content:space-between;align-items:center;background:var(--accent);color:white;border:0;border-radius:12px;margin-top:20px;font-size:14px}.primary:hover{background:#31567f}.primary span{font-size:20px;color:var(--accent-soft)}.footnote{font-size:11px;color:#637287;line-height:1.6;margin-bottom:0}.test>.footnote{text-align:center}.stop{display:block;margin:auto}.stop[hidden]{display:none}.empty{text-align:center;padding:30px 15px 36px;border:1px dashed #cbd8e8;border-radius:14px;margin:25px 0}.empty h3{font-size:14px;font-weight:500;margin-bottom:8px}.empty p{font-size:12px;color:var(--muted);max-width:250px;margin:auto}.empty-bars{height:58px;display:flex;justify-content:center;align-items:center;gap:5px}.empty-bars i{width:9px;background:#d8e6f7;border-radius:5px;height:20px}.empty-bars i:nth-child(2),.empty-bars i:nth-child(4){height:34px}.empty-bars i:nth-child(3){height:47px;background:#8eaed3}.history-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.outline{background:white;border:1px solid #c2d2e5;border-radius:9px;padding:11px 15px;color:var(--accent);font-size:12px}.note{display:flex;gap:12px;padding:24px 10px}.note-icon{border:1px solid #7087a4;border-radius:50%;width:20px;height:20px;flex-shrink:0;text-align:center;font-size:12px}.note h3{font-size:13px;margin:0 0 7px;font-weight:600}.note p{font-size:12px;color:var(--muted);margin:0}.results{border-top:1px solid var(--line);margin-top:25px;padding-top:22px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metrics strong{display:block;font-size:25px;font-family:Manrope,sans-serif;font-weight:500}.metrics span{font-size:10px;color:var(--muted)}#result-note,details{font-size:12px;color:var(--muted)}summary{cursor:pointer;color:var(--ink)}.row{border-bottom:1px solid var(--line);padding:13px 0;display:flex;justify-content:space-between;gap:15px;font-size:12px}.row small{display:block;color:var(--muted);margin-top:4px}.row strong{font-size:16px;white-space:nowrap;font-weight:500}.chart-label{font-size:9px;letter-spacing:1px;color:var(--muted);margin-top:25px}#chart{width:100%;height:auto;display:block}footer{display:flex;justify-content:space-between;font-size:11px;color:#637287;padding:30px 0 25px;margin-top:14px;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:760px){header{padding:19px 20px}.private{display:none}main{padding:0 18px}.intro{padding:35px 6px 30px}h1{font-size:47px;letter-spacing:-2px}.sub{font-size:14px;max-width:290px}.intro-art{display:none}.layout{grid-template-columns:1fr;gap:18px}.card{padding:22px;border-radius:20px}.target{width:116px;height:116px}.targets{gap:5px}.playfield{padding:16px}.live{font-size:10px}footer{gap:20px;line-height:1.7}.tag{font-size:8px}h2{font-size:23px}}@media(prefers-reduced-motion:no-preference){.target{transition:transform .08s,background .08s}}@media(max-width:350px){.target{width:94px;height:94px}.card{padding:17px}.settings{flex-wrap:wrap}}
/* Appointment tools share the blue palette and rounded cards. */
html{scroll-behavior:smooth}input,textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #a4b5ca;border-radius:8px;padding:11px;width:100%;min-width:0}input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #5b88cd;outline-offset:3px}textarea{resize:vertical}label{display:block;font-size:14px;line-height:1.5}label>input,label>textarea,label>select{margin-top:7px}button,input,select,summary{min-height:44px}input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:none;margin:0;accent-color:var(--accent)}.check{display:flex;gap:10px;align-items:center;margin:14px 0}.accessibility{padding:15px 0;border-top:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin:18px 0}.form-grid select{width:100%;max-width:100%}.section-nav{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 24px}.section-nav a{padding:12px 14px;border:1px solid var(--line);border-radius:12px;color:var(--accent);font-size:13px;background:#fff;text-decoration:none}.setup-help{padding:12px;border:1px solid var(--line);border-radius:10px;margin-bottom:18px}.setup-help summary{display:flex;align-items:center}.feature-section{margin:24px 0}.feature-section>p{max-width:850px}.feature-section p{font-size:14px}.feature-section .footnote{font-size:12px}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}figure{margin:20px 0}figcaption{font-size:13px;font-weight:600}figure svg{width:100%;height:auto;display:block}table{border-collapse:collapse;width:100%;font-size:12px;margin:20px 0}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}th{font-weight:600;background:#f0f5fc}caption{text-align:left;font-weight:600;margin-bottom:8px}.table-scroll{overflow-x:auto}#speed-comparison,#variation-comparison{font-size:13px;background:#f0f5fc;border-radius:10px;padding:14px}.row .text-btn{font-size:12px;text-align:left}.row small{max-width:290px}.row-right{text-align:right}.row-right strong{display:block}.flag-label{font-weight:bold;color:#8a4600}.button-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:16px 0}.file-label{cursor:pointer;position:relative;overflow:hidden;font-size:14px;display:inline-flex;align-items:center;min-height:44px}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.file-label:focus-within{outline:3px solid #5b88cd;outline-offset:3px}.report-controls{border-top:1px solid var(--line);margin-top:24px;padding-top:10px}.report-controls .primary{max-width:350px}.notice{padding:14px;border:1px solid #afc7e3;border-radius:10px;background:#edf4fd}.tag-options{display:flex;flex-wrap:wrap;gap:8px}.tag-options .check{margin:4px 0;padding:8px;border:1px solid var(--line);border-radius:10px}.tag-options input{width:20px;height:20px}fieldset{border:1px solid var(--line);border-radius:12px;padding:12px;margin:18px 0}legend{font-size:13px}dialog{border:1px solid var(--line);border-radius:20px;padding:26px;width:650px;max-width:calc(100% - 24px);max-height:90dvh;overflow-y:auto;color:var(--ink);background:#fff}dialog::backdrop{background:#101722aa}dialog label{margin-top:16px}dialog p{font-size:14px}.report-page{padding:20px 0;border-top:1px solid var(--line)}.report-page h3{font-size:18px}.report-record{padding:12px 0;border-bottom:1px solid var(--line);break-inside:avoid;overflow-wrap:anywhere}.report-record p{margin:6px 0;white-space:pre-wrap}#notes-error,#backup-status:empty{color:#9a301b}.report-disclaimer{background:#f8faff;padding:12px;border-radius:8px}.high-contrast{--muted:#334c67;--line:#72849a;--page-bg:#fff;--ink:#14283f;--accent:#245581}.high-contrast .footnote,.high-contrast .eyebrow,.high-contrast .chart-label,.high-contrast .live,.high-contrast footer,.high-contrast .art-label{color:#334c67}.high-contrast .outline,.high-contrast .target{border-color:#284f78}.large-text p,.large-text label,.large-text button:not(.target),.large-text select,.large-text input,.large-text textarea,.large-text summary,.large-text .row,.large-text .row small,.large-text figcaption,.large-text td,.large-text th{font-size:18px!important}.large-text .metrics span{font-size:14px}.large-text .settings{flex-wrap:wrap}.large-text .session-line{font-size:16px}.large-text .live{flex-wrap:wrap;gap:8px}.large-text .history-actions{flex-wrap:wrap}.large-text .section-nav a{font-size:17px}.large-text .card-top{flex-wrap:wrap}.large-text .questions{grid-template-columns:1fr}@media(max-width:760px){.chart-grid{grid-template-columns:1fr;gap:0}.form-grid{grid-template-columns:1fr}.feature-section{padding:22px}.section-nav{gap:6px}.section-nav a{font-size:12px;padding:10px}.row{gap:8px}dialog{padding:20px}table{font-size:12px}.report-page{padding:14px 0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{body>*{display:none!important}body:has(#report-dialog[open])>main{display:block!important}main>*{display:none!important}main>#report-dialog[open]{display:block!important;position:static;width:100%;max-width:none;max-height:none;overflow:visible;border:0;padding:0}#report-dialog>.card-top,#report-dialog>.footnote,#report-dialog>.button-row,#report-status{display:none!important}#report-preview{display:block!important}dialog::backdrop{display:none}main{padding:0;max-width:none}.chart-grid{grid-template-columns:1fr 1fr}figure,table{break-inside:avoid}}

.intro>div:first-child{max-width:560px}.intro .eyebrow{max-width:480px;line-height:1.6;letter-spacing:.2px;font-size:14px;font-weight:600}.intro .sub{max-width:445px}.intro-disclaimer{font-size:12px;line-height:1.6;color:var(--muted);max-width:425px;margin:16px 0 0}.intro-art{flex-shrink:0}@media(max-width:760px){.intro .eyebrow{max-width:320px;font-size:13px}.intro .sub{max-width:350px}.intro-disclaimer{max-width:350px}}
#personal-comparison{border:1px solid var(--line);border-radius:14px;background:#f3f7fd;padding:18px;margin:20px 0}.comparison-total{display:flex;align-items:baseline;gap:10px;margin:15px 0}.comparison-total strong{font-size:38px;font-weight:600;line-height:1}.comparison-total span{font-size:13px;color:var(--muted)}#comparison-message{font-size:13px;line-height:1.6}#comparison-chart{display:block;width:100%;height:auto;margin-top:20px;overflow:visible}#comparison-chart text{font-family:inherit;font-size:12px;fill:var(--ink)}#comparison-chart text:last-child{font-size:10px}.comparison-track{fill:none;stroke:#c7d5e6;stroke-width:1}.comparison-current,.comparison-mid{fill:var(--accent)}.comparison-band{fill:none;stroke:#b3ccec;stroke-width:14;stroke-linecap:round}.comparison-caps{stroke:var(--accent);stroke-width:2}.comparison-numbers{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;margin:16px 0}.comparison-numbers dt{font-size:11px;color:var(--muted)}.comparison-numbers dd{font-size:16px;margin:5px 0;font-weight:600}.comparison-details{margin-top:16px}.comparison-details summary{display:flex;align-items:center}.comparison-caution{font-size:12px!important;color:var(--muted);line-height:1.6}.large-text .comparison-total{flex-wrap:wrap}.large-text .comparison-numbers dt,.large-text .comparison-numbers dd,.large-text .comparison-total span{font-size:18px}.high-contrast .comparison-band{stroke:#97b5dc}

.header-actions{display:flex;align-items:center;gap:18px}.settings-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}.settings-icon:hover{background:#edf3fb}.settings-icon svg{flex-shrink:0}#settings-dialog{width:480px}#settings-dialog .card-top{margin-bottom:8px;flex-wrap:nowrap}#settings-dialog h2{margin:0}#settings-description{margin:0 0 16px}.preference-list{border-top:1px solid var(--line)}#settings-dialog .preference-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:20px 0;border-bottom:1px solid var(--line);cursor:pointer}.preference-row strong{display:block;font-size:15px;font-weight:600}.preference-row small{display:block;font-size:13px;color:var(--muted);line-height:1.5;margin-top:5px}.preference-row input{margin:0;width:24px;height:24px}.large-text .preference-row strong,.large-text .preference-row small{font-size:18px}#settings-done{justify-content:center}.high-contrast .settings-icon{border-color:var(--line)}@media(max-width:760px){.header-actions{gap:0}header{gap:12px}.brand{min-width:0}.settings-icon{width:44px;height:44px}}@media(max-width:350px){header{padding-left:16px;padding-right:16px;gap:8px}.brand{gap:6px;font-size:21px}.brand .tag{margin-left:0;letter-spacing:.6px;padding:4px}}
.language-setting{display:flex;flex-direction:column;gap:8px;padding:18px 0;border-bottom:1px solid var(--line)}.language-setting select{width:100%;max-width:none;font-size:16px}.language-setting small{font-size:13px;color:var(--muted);line-height:1.5}.large-text .language-setting small{font-size:18px}#settings-dialog{overscroll-behavior:contain}html[lang=zh-CN] h1{font-size:50px;letter-spacing:0;line-height:1.2}html[lang=zh-CN] h2{letter-spacing:0}html[lang=es] .card-top{flex-wrap:wrap}html[lang=es] .settings{flex-wrap:wrap}.dark-mode{--ink:#e8edf5;--muted:#b5c0d0;--page-bg:#101216;--accent:#9bbcec;--line:#4d5b6d;--accent-soft:#b3cdf2;color-scheme:dark}.dark-mode header{background:#101216}.dark-mode .card,.dark-mode dialog{background:#1b1f26}.dark-mode .settings-icon,.dark-mode .outline,.dark-mode input,.dark-mode textarea,.dark-mode select,.dark-mode .section-nav a{background:#242b35;color:var(--ink);border-color:var(--line)}.dark-mode .settings-icon:hover{background:#303b49}.dark-mode .primary{background:#9bbcec;color:#142236}.dark-mode .primary:hover{background:#b7d1f4}.dark-mode .primary span{color:#203e60}.dark-mode .playfield,.dark-mode #personal-comparison,.dark-mode #speed-comparison,.dark-mode #variation-comparison,.dark-mode .pill,.dark-mode .install-card,.dark-mode th,.dark-mode .notice,.dark-mode .report-disclaimer{background:#242b35;color:var(--ink);border-color:var(--line)}.dark-mode .target{background:#293e57;border-color:#8ba8cd;color:#e3efff}.dark-mode .target.next{background:#3c5e85;border-color:#c5dcfa}.dark-mode .target.hit{background:#5279a6}.dark-mode .target-dot,.dark-mode #progress{background:#b3cdf2}.dark-mode .track{background:#394555}.dark-mode .logo,.dark-mode .app-icon{background:#263c55;color:#d4e5fa}.dark-mode .footnote,.dark-mode .eyebrow,.dark-mode .chart-label,.dark-mode .live,.dark-mode .art-label,.dark-mode footer,.dark-mode .offline-status{color:var(--muted)}.dark-mode .empty,.dark-mode .setup-help{border-color:var(--line)}.dark-mode .flag-label{color:#ffc27b}.dark-mode .comparison-track{stroke:#71859d}.dark-mode .comparison-band{stroke:#3d5f87}.dark-mode .comparison-caps{stroke:#d6e7ff}.dark-mode #notes-error{color:#ffb59f}.dark-mode #chart text,.dark-mode #speed-chart text,.dark-mode #variation-chart text,.dark-mode #report-preview svg text{fill:var(--ink)}.dark-mode #chart circle,.dark-mode #speed-chart circle,.dark-mode #variation-chart circle,.dark-mode #report-preview svg circle{fill:#9bbcec;stroke:#9bbcec}.dark-mode svg circle[fill="white"]{fill:#242b35!important;stroke:#ffc27b!important}.dark-mode.high-contrast{--ink:#fff;--muted:#e0e8f3;--line:#9baec6;--page-bg:#0b0d11}.dark-mode.high-contrast .card,.dark-mode.high-contrast dialog{background:#151a22}.dark-mode.high-contrast .footnote,.dark-mode.high-contrast .eyebrow,.dark-mode.high-contrast .chart-label,.dark-mode.high-contrast .live,.dark-mode.high-contrast footer{color:var(--muted)}@media(max-width:760px){html[lang=zh-CN] h1{font-size:38px}.language-setting select{max-width:100%}}@media print{.dark-mode #report-dialog,.dark-mode #report-preview{background:white!important;color:#24374d!important}.dark-mode #report-preview svg text{fill:#24374d!important}.dark-mode .report-disclaimer{background:#f8faff!important;color:#24374d!important}}

.data-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.data-actions a{text-decoration:none;display:inline-flex;align-items:center}.backup-reminder{margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--page-bg)}.backup-reminder strong{font-size:14px}.backup-reminder p{font-size:13px;color:var(--muted);margin:8px 0 12px}.backup-steps{padding-left:22px;line-height:1.7}.backup-steps li{padding:6px 0}.large-text .backup-steps,.large-text .data-actions a,.large-text .backup-reminder strong{font-size:18px}@media(max-width:760px){.data-actions>*{flex:1 1 160px;justify-content:center;text-align:center}}

/* Easy mode keeps the same records and test logic, with one task visible. */
.easy-switch{display:flex;align-items:center;gap:8px;min-height:52px;padding:5px 10px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-size:14px;font-weight:600;white-space:nowrap}.easy-switch input{appearance:none;-webkit-appearance:none;position:relative;width:44px;height:28px;min-height:28px;border:2px solid #708198;border-radius:18px;background:#e6edf6;padding:0;margin:0;cursor:pointer}.easy-switch input:before{content:'';position:absolute;width:18px;height:18px;top:3px;left:3px;border-radius:50%;background:#4d627a}.easy-switch input:checked{background:#3d6594;border-color:#3d6594}.easy-switch input:checked:before{left:19px;background:#fff}.easy-switch input:disabled{cursor:default;opacity:.5}#easy-state{font-size:12px;min-width:22px}.header-actions{gap:10px}.dark-mode .easy-switch{background:#242b35}.dark-mode .easy-switch input{background:#374251;border-color:#a2b3c9}.dark-mode .easy-switch input:before{background:#eee}.dark-mode .easy-switch input:checked{background:#9bbcec;border-color:#9bbcec}.dark-mode .easy-switch input:checked:before{background:#151a22}
.easy-mode{font-size:18px}.easy-mode main{max-width:850px}.easy-mode header{max-width:1160px}.easy-mode .private,.easy-mode .intro-art,.easy-mode .standard-instructions,.easy-mode .empty-bars{display:none}.easy-intro{padding:30px 0 16px}.easy-intro h1{font-size:38px;letter-spacing:-1px;line-height:1.2}.easy-intro p{max-width:680px;margin:12px 0}.easy-mode .intro-disclaimer{font-size:16px!important;max-width:680px}.easy-mode .layout{display:block}.easy-mode .chart-grid,.easy-mode .form-grid{grid-template-columns:1fr}.easy-mode .card{padding:28px}.easy-mode .card-top{gap:16px}.easy-mode h2{font-size:30px;line-height:1.3}.easy-mode h3{font-size:22px}.easy-mode p,.easy-mode li{line-height:1.7}.easy-mode .footnote,.easy-mode .muted,.easy-mode .chart-label,.easy-mode .eyebrow,.easy-mode .metrics span,.easy-mode .comparison-caution{font-size:16px!important;letter-spacing:0}.easy-mode button:not(.target),.easy-mode select,.easy-mode input:not([type=checkbox]),.easy-mode summary,.easy-mode .outline,.easy-mode .file-label{min-height:56px}.easy-mode input[type=checkbox]:not(#easy-mode){width:28px;height:28px;min-height:28px}.easy-mode .check{padding:10px 0;gap:14px}.easy-mode summary{padding:12px 4px;line-height:1.6}.easy-mode .text-btn{padding:14px 10px}.easy-mode .settings{gap:20px;flex-wrap:wrap}.easy-mode .settings select{min-width:140px}.easy-mode .settings-icon{width:56px;height:56px}.easy-mode .easy-switch{font-size:15px!important;min-height:56px}.easy-mode .button-row,.easy-mode .data-actions{gap:16px}.easy-mode .row{gap:20px;padding:20px 0;flex-wrap:wrap}.easy-mode .row-right{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.easy-mode .target span:last-child{font-size:14px;letter-spacing:1px}.easy-mode .target{transition:none}.easy-mode .stop{border:2px solid var(--ink);border-radius:12px;margin-top:20px;min-width:180px}.easy-mode :is(button,input,select,textarea,summary,a):focus-visible{outline:3px solid #3577c7;outline-offset:4px}.easy-mode h2:focus{outline:3px solid #3577c7;outline-offset:6px}.easy-instructions{padding-left:27px}.easy-instructions li{padding:6px 0}.easy-tip{padding:14px;border-left:4px solid var(--accent);background:var(--page-bg);color:var(--ink)}.easy-next{width:100%;margin-top:22px}#easy-details{width:100%;margin-top:18px}#easy-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0 22px}#easy-nav button{display:flex;align-items:center;gap:12px;text-align:left;background:white;color:var(--ink);border:2px solid var(--line);border-radius:14px;padding:16px;font-size:18px;line-height:1.4}#easy-nav span{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;border:1px solid currentColor}#easy-nav button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.dark-mode #easy-nav button{background:#242b35;color:var(--ink)}.dark-mode #easy-nav button[aria-pressed=true]{background:#9bbcec;color:#101b2a;border-color:#9bbcec}.easy-mode #test-title,.easy-mode #history-title,.easy-mode #appointment-title,.easy-mode #backup-title{scroll-margin-top:20px}html:has(.easy-mode){scroll-behavior:auto}
@media(max-width:760px){header{flex-wrap:wrap;gap:12px}.header-actions{margin-left:auto}.header-actions .private{display:none}.easy-mode .card{padding:20px}.easy-mode h2{font-size:27px}.easy-intro h1,html[lang=zh-CN] .easy-intro h1{font-size:34px}.easy-mode .playfield{padding:16px}.easy-mode .metrics{grid-template-columns:1fr;gap:16px}.easy-mode .metrics>div{display:flex;align-items:baseline;gap:12px}.easy-mode .button-row>*{width:100%}.easy-mode .history-actions{flex-wrap:wrap;gap:16px}#easy-nav{grid-template-columns:1fr;gap:12px}#easy-nav button{padding:14px 16px}.easy-mode .tag{display:none}.easy-mode .easy-switch{gap:7px;padding:5px 8px}.easy-mode .live{gap:14px}.easy-mode .session-line{gap:12px}.easy-mode #clock{flex:none}.easy-mode .row-right{width:100%;justify-content:space-between}}
@media print{.easy-only{display:none!important}.easy-mode #report-dialog{font-size:15px}}

/* Account controls use the existing soft blue theme. */
#account-open{min-height:44px;padding:.6rem .9rem;white-space:nowrap}#cloud-status{padding:.8rem 1rem;background:var(--accent-soft);color:var(--ink);border-radius:12px;margin:0 0 1.2rem}#account-dialog{width:min(580px,calc(100vw - 32px));max-height:90dvh;overflow:auto}#account-dialog form>label{display:block;margin:1rem 0}#account-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;margin-top:.5rem;min-height:48px}#account-dialog .check{display:flex;align-items:flex-start;gap:.7rem}#account-dialog .check input{flex-shrink:0}#account-dialog .primary{width:auto;min-height:48px}#account-email-label{overflow-wrap:anywhere;font-weight:700}#cloud-conflict{border:2px solid var(--accent);padding:1rem;border-radius:12px;margin-top:1rem}.dark-mode #cloud-status{background:#242f40;color:#e8edf5}@media(max-width:600px){.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem}#account-dialog .button-row>*{flex:1 1 100%;text-align:center}.easy-mode #account-open{min-height:52px}}

#account-dialog{font-size:1rem}#account-dialog input,#account-dialog button{font-size:inherit}#account-dialog button{min-height:48px}#account-dialog .footnote{font-size:.875em}#account-open{font-size:1rem}.large-text #account-dialog{font-size:1.2rem}

#account-dialog label{font-size:inherit}

/* Account and settings, arranged as familiar grouped rows. */
#settings-section{font-size:1rem}
#settings-section h1{font:700 clamp(2rem,6vw,2.75rem)/1.15 Manrope,sans-serif;letter-spacing:-.06rem;margin:0 0 .6rem}
#settings-description{color:var(--muted);line-height:1.5;margin-bottom:1.6rem;font-size:1rem}
#settings-section #account-open{display:flex;align-items:center;gap:1rem;width:100%;min-height:104px;padding:1.25rem;text-align:left;white-space:normal;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.account-avatar{display:grid;place-items:center;flex:none;width:64px;height:64px;border-radius:50%;background:linear-gradient(145deg,#739acb,#345989);color:#fff}
.account-avatar svg{width:34px;height:34px}.account-card-copy{display:grid;gap:.4rem;min-width:0;flex:1}.account-card-copy strong{font-size:1.25rem}.account-card-copy>span{font-size:.9375rem;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}.account-chevron{flex:none;width:20px;height:20px;color:var(--muted)}
#settings-section .settings-group-title{font-weight:600;line-height:1.4;letter-spacing:0;margin:1.75rem 0 .65rem;padding-left:.3rem;font-size:1rem}
.settings-group{border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden;padding:0 1.2rem}
#settings-section .preference-row{display:flex;align-items:center;gap:1rem;padding:1.1rem 0;margin:0;border-bottom:1px solid var(--line);cursor:pointer;min-height:88px}
#settings-section .preference-row:last-child{border-bottom:0}
.setting-symbol{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#e6effc;color:#3d6594}.setting-symbol svg{width:24px;height:24px}
.setting-copy{flex:1;min-width:0}.setting-copy strong{font-size:1rem}.setting-copy small,#settings-section .language-setting small{font-size:.875rem;line-height:1.45}
#settings-section .preference-row input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:50px;height:30px;min-height:30px;border:0;border-radius:20px;background:#a0adbd;margin:0;cursor:pointer}
#settings-section .preference-row input:before{content:'';position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}
#settings-section .preference-row input:checked{background:#3d6594}#settings-section .preference-row input:checked:before{transform:translateX(20px)}#settings-section .preference-row input:disabled{opacity:.55;cursor:default}
#settings-section .language-setting{border:0;padding:1.1rem 0;margin:0;gap:.8rem}.language-heading{display:flex;align-items:center;gap:1rem}.language-heading strong{font-size:1rem}#settings-section select{min-height:48px;font:inherit;background:var(--page-bg);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.settings-help{font-size:.875rem;color:var(--muted);line-height:1.5;margin:.8rem .3rem}
.dark-mode #settings-section :is(.settings-group,#account-open){background:#1d222a;border-color:#3a4554}.dark-mode .setting-symbol{background:#293a50;color:#b3cef2}.dark-mode #settings-section .preference-row input:checked{background:#6086b6}.dark-mode #settings-section .preference-row{border-color:#3a4554}
.high-contrast #settings-section :is(.settings-group,#account-open){border:2px solid var(--line)}
.large-text #settings-section{font-size:1.125rem}.large-text #settings-section .setting-copy :is(strong,small),.large-text #settings-section .language-setting small{font-size:1rem}
@media(max-width:600px){#settings-section{margin-top:22px}#settings-section #account-open{padding:1rem;gap:.8rem}.account-avatar{width:54px;height:54px}.settings-group{padding:0 1rem}#settings-section .preference-row{gap:.75rem}.setting-symbol{width:32px;height:32px}.account-card-copy strong{font-size:1.125rem}}
@media(prefers-reduced-motion:reduce){#settings-section .preference-row input:before{transition:none}}

.review-section{margin-top:2rem}.review-card{padding:1.25rem;margin-bottom:1rem}.review-intro{font-weight:600;font-size:1.125rem;margin:0 0 .6rem}.review-privacy{font-size:.9375rem;line-height:1.6;color:var(--muted)}
#review-fields,.review-rating{border:0;margin:0;padding:0;min-width:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.review-rating legend,.review-message-label{font-size:1rem;font-weight:600;margin:1rem 0 .7rem;display:block}.rating-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.rating-options label{position:relative;cursor:pointer;margin:0}.rating-options input{position:absolute;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.rating-options label>span{display:flex;align-items:center;justify-content:center;gap:4px;min-height:48px;border:1px solid var(--line);border-radius:12px;font-size:1rem;color:var(--ink);background:var(--page-bg)}.rating-options input:checked+span{background:#3d6594;color:#fff;border-color:#3d6594}.rating-options input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}.rating-options input:disabled+span{opacity:.6}
#review-message{width:100%;font:inherit;line-height:1.5;min-height:120px;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--page-bg);color:var(--ink)}#review-submit{min-height:48px;margin-top:12px;width:100%;font-size:1rem}#review-status:empty,#review-inbox-status:empty{display:none}#review-status,#review-inbox-status{line-height:1.5;font-size:.9375rem}
#review-inbox summary{font-size:1.0625rem;font-weight:600;cursor:pointer;min-height:44px;padding:8px 0}#review-inbox>p{font-size:.9375rem;line-height:1.5}.private-review{padding:1rem 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.private-review h4{font-size:1rem;margin:0 0 .5rem}.review-meta{font-size:.875rem;color:var(--muted)}.review-body{white-space:pre-wrap;font-size:1rem;line-height:1.6}.dark-mode .rating-options input:checked+span{background:#9bbcec;color:#142236}.easy-mode .rating-options label>span{min-height:56px}.review-card [hidden]{display:none!important}

/* Private account profile */
.account-avatar img,.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.account-avatar,.profile-avatar{overflow:hidden;flex-shrink:0}
.profile-avatar{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:var(--accent);color:var(--page-bg);font-size:28px;font-weight:700}
.profile-editor{border-bottom:1px solid var(--line);padding:12px 0 20px;margin:0 0 20px}
.profile-editor summary{padding:12px 0;min-height:48px;font-weight:700;cursor:pointer}
.profile-photo-row{display:flex;align-items:center;gap:20px;margin:16px 0}
.profile-photo-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#profile-fields{border:0;padding:0;margin:0;min-width:0}
#profile-fields input[type=text]{width:100%;font-size:16px;min-height:48px}
#profile-fields button,.profile-photo-actions .file-label{min-height:48px}
#profile-status{overflow-wrap:anywhere}
#account-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
