:root{--wine:#921e3a;--dark:#34272a;--paper:#faf7f0;--muted:#76686b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:#eae4dd;color:var(--dark);font-family:Arial,sans-serif;font-size:16px;line-height:1.5;-webkit-text-size-adjust:100%}body>header,body>main,body>footer{background:var(--paper);max-width:480px;margin:0 auto}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;min-height:48px}button:focus-visible,a:focus-visible{outline:3px solid #b56600;outline-offset:3px}button{color:inherit}a{color:inherit}[hidden]{display:none!important}header{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5dbd5;gap:15px}.brand{text-decoration:none;min-height:44px;display:flex;align-items:center}.brandmark{font-weight:800;font-size:15px;letter-spacing:.5px;line-height:1.08;color:var(--wine)}.brandmark i{font-family:Georgia;font-size:19px}.branddesc{display:none}.headernote{font-size:12px;color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;background:var(--wine);border-radius:50%;margin-right:6px}main{padding:0 16px}.hero{padding:24px 4px 18px}.eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:700;color:var(--wine)}h1{font-size:36px;font-weight:500;line-height:1.1;letter-spacing:-1.3px;margin:12px 0}em{font-family:Georgia,serif;font-weight:normal;color:var(--wine)}.hero p{font-size:15px;color:var(--muted);line-height:1.5;margin:12px 0 0;max-width:340px}.sectiontop .eyebrow{display:none}h2{font-size:21px;line-height:1.25;font-weight:500;letter-spacing:-.4px;margin:4px 0 14px}.routegrid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.route{padding:17px 20px 14px;border-radius:16px;min-width:0}.zoom{background:var(--wine);color:#fff8f4}.mill{background:#eee7dc;border:1px solid #ded1c6}.cardtop{display:flex;justify-content:space-between;align-items:center}.tag{font-size:11px;border:1px solid currentColor;border-radius:20px;padding:3px 9px;letter-spacing:.4px}.route-number{font-size:11px;opacity:.8}h3{font-size:30px;line-height:1.15;font-weight:500;letter-spacing:-.7px;margin:10px 0 7px}.mill h3{font-family:Georgia}.spark,.lineflower{float:right;font-size:34px;line-height:1;color:#e3e9b3}.lineflower{color:var(--wine)}.route>p{font-size:14px;line-height:1.45;margin:0 0 14px}.chips{display:none}.choose{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;padding:12px 16px;border-radius:9px;background:#f8f4eb;color:var(--wine);font-weight:bold;font-size:15px;min-height:50px}.mill .choose{background:var(--wine);color:white}.choose:active,.next:active{filter:brightness(.93)}.choose span{font-size:20px}.saved{font-size:11px;text-align:center;line-height:1.4;margin-top:9px}.age-note{font-size:12px;color:var(--muted);margin:14px 4px 0;line-height:1.5}.how{display:flex;gap:15px;align-items:center;padding:26px 4px}.how img{width:70px;height:100px;object-fit:cover;border-radius:40px 40px 8px 8px}.how h2{font-size:17px;margin:7px 0}.how p{font-size:13px;color:var(--muted);margin:0}.how .eyebrow{font-size:9px}footer{border-top:1px solid #e5dbd5;padding:20px 20px max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px;font-size:11px;color:var(--muted)}.small{font-size:12px}#learning{padding:0 16px 24px;min-height:calc(100svh - 180px)}.learnhead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 10px;font-size:12px;color:var(--wine);padding-top:8px}.back{background:none;border:0;color:var(--wine);padding:10px 0;text-align:left;font-size:14px}.courseintro{padding:12px 4px 18px}.courseintro h1{font-size:28px;letter-spacing:-.7px;margin:9px 0 14px}.progress-label{display:flex;justify-content:space-between;font-size:12px;margin:12px 0 8px}.progress{height:6px;background:#e4dad3;border-radius:10px;overflow:hidden}.progress>div{height:100%;background:var(--wine);transition:width .3s}.lesson-card{background:white;border:1px solid #e9e0db;border-radius:14px;padding:20px 16px}.lesson-card h2{font-size:24px;line-height:1.2;margin:10px 0 18px}.memo{background:var(--paper);padding:16px;border-left:3px solid var(--wine);font-size:16px;line-height:1.7}.question{font-size:18px;line-height:1.4;font-weight:bold;margin:12px 0 18px}.answers{display:grid;gap:12px}.answer{text-align:left;width:100%;padding:15px 16px;background:white;border:1.5px solid #d6c9c7;border-radius:10px;line-height:1.45;font-size:16px;min-height:56px}.answer:disabled{cursor:default}.answer.correct{border-color:#4c6a34;background:#eff4e6}.answer.wrong{border-color:#ac324d;background:#fcecf0}.feedback{margin-top:18px;padding:16px;border-radius:8px;background:var(--paper);line-height:1.55;font-size:15px}.next{display:block;margin-top:20px;background:var(--wine);color:white;border:0;padding:15px 18px;border-radius:10px;min-height:54px;width:100%;font-weight:bold}.source{font-size:11px;color:var(--muted);line-height:1.5;margin:18px 0 0}.storage-note{font-size:12px;color:var(--muted);margin:18px 4px 0;line-height:1.5}.done{text-align:center}.done .medal{font-size:55px;color:var(--wine)}.done p{font-size:15px;line-height:1.6}.done .back{display:block;margin:12px auto 0;text-align:center}.result-list{text-align:left;background:var(--paper);padding:14px;border-radius:8px;line-height:1.9;font-size:14px}.mill-mode .lesson-card h2{font-family:Georgia}.mill-mode .memo{line-height:1.8}@media(min-width:481px){body>header{border-radius:20px 20px 0 0;margin-top:24px}body>footer{border-radius:0 0 20px 20px;margin-bottom:24px}}@media(max-width:350px){header{padding:12px 16px}.hero{padding-top:20px}h1{font-size:32px}.route{padding:15px 16px}h3{font-size:28px}.lesson-card{padding:18px 13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
input{display:block;width:100%;font:inherit;font-size:16px;padding:13px;border:1px solid #cbbdb5;border-radius:8px;margin:7px 0 16px;background:var(--paper);color:var(--dark);min-height:48px}label{display:block;font-size:14px}.remember{display:flex;align-items:center;gap:12px;font-size:12px}.remember input{width:20px;min-height:20px;margin:0}#account{padding-bottom:30px;min-height:70svh}#userbar{max-width:480px;margin:auto;background:var(--paper);padding:8px 20px;display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:12px}#notice{max-width:480px;margin:0 auto;background:#fff1d9;color:#613900;padding:14px 20px;font-size:14px}#notice:empty{display:none}#dashboard{padding-top:16px;padding-bottom:35px}#dashboard>h1{font-size:32px}#dashboard>p{font-size:13px}.result{margin:14px 0}.result p{font-size:13px}.resultstatus{display:block;font-size:12px;color:var(--wine);margin-top:5px}summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:14px}.learner{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd;font-size:14px}#learners{font-size:13px}
textarea,select{display:block;width:100%;font:inherit;font-size:16px;padding:13px;border:1px solid #cbbdb5;border-radius:8px;margin:7px 0 16px;background:var(--paper);color:var(--dark);min-height:48px}textarea{resize:vertical;line-height:1.6}.formnote{font-size:12px;line-height:1.6;color:var(--muted)}#identify,#summary,#account{padding-bottom:30px}.qtitle{font-size:18px;line-height:1.4;margin:12px 0}.verbatim{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px!important}.result .result{padding:14px;border-radius:7px}.result a.back{display:block}#dashboard select{font-size:16px}#candidate-name{font-size:13px}#notice{overflow-wrap:anywhere}.result h2{overflow-wrap:anywhere}

/* Keep candidate and reviewer forms within narrow mobile viewports. */
body{overflow-wrap:anywhere}input,textarea,select{min-width:0;max-width:100%}input[type=date]{appearance:none;-webkit-appearance:none;min-inline-size:0}input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.5em}header>*,.learnhead>*,.progress-label>*,.how>*,.choose>*{min-width:0}.brand{flex-shrink:0}.progress-label{flex-wrap:wrap;gap:4px 12px}.remember input{flex-shrink:0}button{max-width:100%;white-space:normal}textarea{scroll-margin-block:20px}.role-description{margin-top:-6px}.result .result{padding:12px 10px}select{padding-right:28px}
