*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font:17px/1.55 var(--st-font);color:var(--st-ink);background:#f4f7f5}button,a,summary{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:var(--st-green);text-underline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #1d4ed8;outline-offset:4px}h1:focus,#main:focus{outline:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,4.5vw,48px);line-height:1.13;letter-spacing:-.035em;margin-bottom:20px}h2{font-size:25px;line-height:1.2;letter-spacing:-.025em}h3{font-size:20px;line-height:1.3}button:disabled{cursor:default}strong{font-weight:750}.skip-link{position:absolute;top:-100px;left:16px;padding:12px;background:white;z-index:20}.skip-link:focus{top:10px}.top{background:white;border-bottom:1px solid var(--st-border)}.top-inner{max-width:1160px;margin:auto;padding:20px 28px;display:flex;justify-content:space-between;gap:20px;align-items:center}.brand{display:flex;align-items:center;gap:22px}.brand span{border-left:1px solid var(--st-border);padding-left:22px;font-size:14px;font-weight:650;color:var(--st-muted)}.brand img{max-width:100%;height:auto}.button{min-height:48px;padding:12px 21px;border:1px solid transparent;border-radius:10px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.primary{background:var(--st-green);color:white}.primary:hover{background:var(--st-green-hover)}.secondary{background:white;color:var(--st-green);border-color:#b6c8be}.secondary:hover{background:#eef5f0}.quiet{color:var(--st-green);background:transparent;text-decoration:underline;text-underline-offset:4px;padding-inline:12px}.safety-bar{display:flex;align-items:center;justify-content:center;gap:9px;color:#355548;background:#e7f1eb;border-bottom:1px solid #d1e1d7;padding:10px 20px;font-size:13px;font-weight:700}.practice-dot{width:7px;height:7px;border-radius:50%;background:var(--st-green)}.layout{max-width:1100px;margin:auto;padding:36px 28px 20px}.intro-card{background:white;border:1px solid var(--st-border);border-radius:24px;padding:48px;max-width:870px;margin:16px auto 0;position:relative;overflow:hidden}.intro-card:before{content:"";display:block;width:54px;height:6px;border-radius:9px;background:var(--st-lime);margin-bottom:28px}.eyebrow{color:var(--st-green);font-size:12px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;margin-bottom:14px}.lead{font-size:20px;color:var(--st-muted);max-width:640px;margin-bottom:24px}.muted{color:var(--st-muted)}.small{font-size:14px}.intro-steps{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0;margin:28px 0}.intro-steps li{background:#f3f7f4;padding:15px;border-radius:10px;font-size:16px}.step-number{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;margin-right:10px;background:white;color:var(--st-green);font-size:13px;font-weight:800}.intro-actions,.end-actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 16px}.privacy-note{font-size:14px;color:var(--st-muted);max-width:650px;margin:18px 0 0}.progress-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px;font-size:14px;font-weight:750}.progress-top span:last-child{color:var(--st-muted);font-weight:500}.progress-track{height:5px;display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin-bottom:32px}.progress-track span{background:#dbe5df;border-radius:3px}.progress-track span.passed{background:var(--st-green)}.learning-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:44px;align-items:start}.lesson-copy{padding-top:26px}.lesson-copy h1{max-width:520px}.lesson-copy .lead{font-size:20px}.instruction{border-left:3px solid var(--st-lime);background:#eaf2ed;border-radius:0 10px 10px 0;padding:16px 20px;margin:24px 0}.instruction p:last-child{margin-bottom:0}.instruction-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--st-green);font-weight:800;margin-bottom:8px}.guide-check{font-size:15px;color:var(--st-muted);margin:20px 0;max-width:460px}.guide-check strong{color:var(--st-ink)}.lesson-controls{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:30px}.lesson-controls .button{padding-inline:9px}.device{background:white;border:1px solid #cbd8d0;border-radius:25px;box-shadow:0 14px 42px #173c2810;overflow:hidden}.sim-label{background:#eef3ef;padding:11px 16px;font-size:12px;letter-spacing:.04em;font-weight:750;color:#41604f;text-align:center;border-bottom:1px solid #d8e2db}.device-main{padding:25px}.device h2{font-size:27px;margin-bottom:8px}.identity{font-size:13px;color:var(--st-muted);margin-bottom:6px}.example-date{font-size:13px;color:var(--st-muted);margin-bottom:20px}.clockcard{background:#edf5f0;border:1px solid #d2e3d8;border-radius:17px;text-align:center;padding:24px 20px;margin:20px 0}.state{display:flex;gap:7px;align-items:center;justify-content:center;font-size:13px;font-weight:750;color:var(--st-green);margin-bottom:18px}.clockcard h3{font-size:21px;font-weight:650;margin-bottom:18px}.clock-time{display:block;font-size:46px;line-height:1.1;font-weight:800;letter-spacing:-.04em;margin-top:9px;color:#133d2b}.site{font-size:14px;color:var(--st-muted);margin:16px 0}.site strong{display:block;color:var(--st-ink);font-size:16px}.clock-action{width:100%;min-height:66px;background:var(--st-green);color:white;border:0;border-radius:13px;font-size:21px;font-weight:800;margin-top:8px}.clock-action:hover{background:var(--st-green-hover)}.clock-action.out{background:#142d22}.device .wide{width:100%}.device-footnote{font-size:13px;color:var(--st-muted);text-align:center;margin:12px 0 0}.device-nav{padding:11px 9px;border-top:1px solid var(--st-border);display:flex;justify-content:space-around;gap:4px}.device-nav button{background:none;border:none;min-height:48px;border-radius:8px;font-size:12px;padding:8px 10px;color:var(--st-muted)}.device-nav button[aria-current]{background:#e8f3ec;color:var(--st-green);font-weight:800}.nav-icon{display:block;font-size:18px;line-height:1;margin-bottom:6px}.fake-field{margin:18px 0}.fake-field .field-label{display:block;font-size:14px;font-weight:700;margin-bottom:6px}.field-value{display:block;padding:12px 14px;border:1px solid #bdcec3;border-radius:9px;background:#f8faf9;font-size:15px;color:#51685c;overflow-wrap:anywhere}.fake-field small{display:block;color:var(--st-muted);font-size:12px;margin-top:5px}.simulation-note{font-size:12px;background:#f4f6f4;padding:10px 12px;border-radius:8px;margin:18px 0}.choices{display:grid;gap:10px;margin:20px 0}.choice{width:100%;padding:14px 16px;min-height:52px;text-align:left;background:white;border:1px solid #b6c8be;border-radius:10px;font-weight:650}.choice:hover{background:#f0f6f1;border-color:var(--st-green)}.choice.correct-target{border:2px solid var(--st-green);box-shadow:0 0 0 4px #e8f3e4}.guided-tip{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;color:var(--st-green);margin-top:12px}.guided-tip:before{content:"↑";font-size:20px}.record{padding:17px;border:1px solid #bfd0c5;border-radius:12px;margin:18px 0;background:#f7faf8}.record dl,.summary-list{margin:0}.record dl div,.summary-list div{display:flex;justify-content:space-between;gap:18px;padding:7px 0}.record dt{color:var(--st-muted);font-size:14px}.record dd{margin:0;font-weight:750}.record-button strong,.record-button span{display:block}.record-button span{color:var(--st-muted);font-size:14px;font-weight:400;margin-top:6px}.result-note{background:#eaf4ed;padding:14px 16px;border-radius:10px;font-size:14px;color:#214e35;margin-bottom:18px}.feedback{font-size:15px;background:#fff6e3;border:1px solid #e4c78b;padding:14px 17px;border-radius:10px;margin-top:20px}.feedback:empty{display:none}.sums{font-size:15px;background:#f3f7f4;border-radius:12px;padding:18px;margin-top:22px}.sums strong{display:block;font-size:22px;color:var(--st-green);margin-top:5px}.summary-list div{border-bottom:1px solid var(--st-border);font-size:16px}.summary-list dt{font-weight:650}.summary-list dd{margin:0;color:var(--st-green);font-weight:750}.completion-icon{display:grid;place-items:center;background:var(--st-green);color:white;width:52px;height:52px;border-radius:50%;font-size:27px;margin-bottom:24px}.storage-note{text-align:center;color:var(--st-muted);font-size:12px;margin:24px 0 10px;min-height:19px}.footer{max-width:1000px;text-align:center;font-size:12px;color:var(--st-muted);margin:0 auto;padding:10px 24px 30px}.welcome-hint{font-size:13px;font-weight:700;color:var(--st-green)}dialog{border:1px solid var(--st-border);border-radius:20px;padding:28px;max-width:640px;width:calc(100% - 32px);max-height:85vh;color:var(--st-ink);background:white;box-shadow:0 20px 90px #14233540}dialog::backdrop{background:#10251eb8}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-heading h2{margin-bottom:0}.dialog-heading+.muted{font-size:14px;margin-top:12px}details{padding:16px 0;border-top:1px solid var(--st-border)}summary{font-weight:750;cursor:pointer;min-height:30px}details p{font-size:15px;margin:12px 0}details:last-child{padding-bottom:0}.text-route{border:0;background:transparent;color:var(--st-green);font-size:13px;min-height:44px;text-decoration:underline;padding:10px 0}.badge{background:#eaf4ed;color:var(--st-green);font-size:12px;font-weight:750;border-radius:30px;display:inline-block;padding:5px 11px;margin-bottom:16px}@media(max-width:760px){.top-inner{padding:15px 18px}.brand{gap:12px}.brand img{width:124px}.brand span{font-size:12px;padding-left:12px}.layout{padding:24px 18px 10px}.intro-card{padding:28px 24px;border-radius:20px;margin:0}.intro-steps{grid-template-columns:1fr;gap:8px}.intro-steps li{padding:12px}.learning-grid{grid-template-columns:1fr;gap:22px}.lesson-copy{padding:0}.lesson-copy h1{font-size:33px;margin-bottom:14px}.lesson-copy .lead{font-size:18px;margin-bottom:16px}.instruction{padding:13px 16px;margin:16px 0}.guide-check{margin:14px 0}.device{max-width:460px;width:100%;margin:auto}.device-main{padding:23px}.lesson-controls{margin-top:14px}.progress-track{margin-bottom:22px}.progress-top{font-size:13px}.intro-actions .button,.end-actions .button{width:100%}.lead{font-size:18px}.footer{font-size:11px}.safety-bar{font-size:12px}.guide-check+.lesson-controls{margin-bottom:0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{.top,.safety-bar,.footer,.lesson-controls,.device-nav,button,dialog{display:none}.layout{padding:0}.learning-grid{display:block}.device,.intro-card{box-shadow:none}.device{margin-top:24px;break-inside:avoid}}

/* Clock styling follows QA222 worker-clock.module.css: white cards, left-aligned times, lime actions. */
.clockcard{background:white;border-color:#e5e7eb;text-align:left;border-radius:12px}.state{justify-content:flex-start;color:#475569}.clockcard .state:has(+h3 .clock-time){color:#166534}.clockcard h3{font-size:27px;font-weight:800}.clock-time{color:#0f172a}.clock-action,.clock-action.out{background:var(--st-lime);color:#0f172a;border:1px solid var(--st-lime);border-radius:8px;min-height:56px}.clock-action:hover,.clock-action.out:hover{background:#76cc00}.site strong{font-weight:500}.device-nav button[aria-current]{background:transparent;color:#0f172a}.device-nav button[aria-current] .nav-icon{background:var(--st-lime);border-radius:50%;width:28px;height:28px;display:grid;place-items:center;margin:-5px auto 4px}.remember-check{border:0;padding:0;margin:16px 0;color:var(--st-muted);font-size:14px}.remember-check summary{font-size:14px;min-height:44px;padding-block:10px;font-weight:650}.remember-check p{margin:8px 0;max-width:460px}.lesson-controls{margin-top:15px}@media(max-width:760px){.lesson-copy .eyebrow{margin-bottom:8px}.instruction-label{display:none}.instruction{padding:11px 14px;margin:12px 0}.remember-check{margin:5px 0}.lesson-controls{margin-top:5px}.clockcard{padding:20px}.device-main{padding:20px}.guide-check{font-size:14px}.learning-grid{gap:16px}}

/* Compact task: action, practice screen, then optional help. */
.layout{padding-bottom:90px}
.learning-grid{grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:16px 36px}
.lesson-copy{grid-column:1;grid-row:1;padding-top:12px}
.lesson-copy h1{font-size:32px;margin-bottom:12px}
.step-action{font-size:19px;line-height:1.4;margin:0}
.device{grid-column:2;grid-row:1 / span 2}
.lesson-extra{grid-column:1;grid-row:2;align-self:start}
.lesson-extra:empty{display:none}
.lesson-controls{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:calc(100% - 28px);z-index:5;display:flex;gap:10px;margin:18px auto 0;padding:10px 0 max(10px,env(safe-area-inset-bottom));background:#f4f7f5;border-top:1px solid #cad8d0;max-width:900px}
.lesson-controls .button{flex:1;min-height:48px}
.lesson-controls .quiet{flex:0 0 auto;font-size:14px}
.progress-track{margin-bottom:18px}
@media(max-width:760px){
 .top-inner{padding:9px 16px}.top .button{min-height:44px;padding:8px 12px}.brand img{width:108px}.brand span{font-size:11px}
 .safety-bar{padding:6px 12px;font-size:11px}
 .layout{padding:12px 14px 90px}.progress-top{margin-bottom:6px}.progress-track{margin-bottom:12px}
 .learning-grid{display:flex;flex-direction:column;gap:12px}
 .lesson-copy{padding:0;width:100%}.lesson-copy h1{font-size:25px;line-height:1.2;margin-bottom:7px}
 .step-action{font-size:17px;line-height:1.4}
 .device{border-radius:14px}.sim-label{font-size:10px;padding:6px 10px}
 .device-main{padding:14px 16px}.device h2{font-size:23px;margin-bottom:6px}.example-date{margin-bottom:10px}
 .clockcard{padding:14px;margin:12px 0}.clockcard h3{font-size:23px;margin-bottom:12px}.clock-time{font-size:36px}.state{margin-bottom:10px}.site{margin:10px 0}
 .fake-field{margin:10px 0}.field-value{padding:8px 10px}.simulation-note{margin:10px 0;padding:8px 10px}
 .device-nav{padding:4px 6px}.device-nav button{min-height:44px;padding:6px 8px}.device-footnote{margin:8px 0 0}
 .choices{margin:12px 0;gap:9px}.choice{min-height:48px;padding:11px 12px}.record{margin:12px 0;padding:12px}
 .lesson-extra{width:100%}.remember-check{margin:0}.lesson-controls{margin-top:12px;padding-top:8px;gap:7px}
 .lesson-controls .button{padding:10px 12px}.lesson-controls .quiet{padding-inline:8px}
 .intro-card{padding:24px 20px}.intro-card:before{margin-bottom:18px}.intro-card h1{font-size:32px;margin-bottom:14px}
 .intro-steps{grid-template-columns:1fr 1fr;margin:20px 0;gap:8px}.intro-steps li{padding:10px;font-size:14px}.step-number{margin-right:5px}
}
@media(max-width:360px){.brand span{display:none}.intro-steps{grid-template-columns:1fr}.lesson-controls .button{padding-inline:8px}}
@media print{.lesson-controls{display:none}.learning-grid{display:block}.lesson-copy,.device,.lesson-extra{display:block}}
