:root{--petrol:#173f4f;--teal:#087f8c;--ice:#eaf6f6;--line:#c6dfe2;--muted:#486670}*{box-sizing:border-box}body{margin:0;background:#f4fafa;color:var(--petrol);font:16px/1.55 'Segoe UI',system-ui,sans-serif}a{color:#07616b}.bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 24px;border-top:3px solid #f05418;border-bottom:1px solid var(--line);background:white}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#3a2416;font-weight:700;text-decoration:none}.brand b{color:#df4c15}.brand img{width:36px;height:36px;object-fit:contain}main{width:calc(100% - 48px);margin:22px auto 35px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.intro p{margin:6px 0}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:700;color:var(--teal)}h1{font:600 32px/1.2 Georgia,serif;margin:6px 0 8px}h2{font-size:22px;margin:0}h3{margin-top:25px}.cover{max-width:160px;height:110px;object-fit:contain}.card{padding:24px;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 6px 24px #173f4f07}.choice-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}.choice-row>span{width:65px;flex:none;font-size:13px;color:var(--muted);font-weight:650}.segmented{display:flex;flex-wrap:wrap;gap:5px;background:var(--ice);padding:4px;border:1px solid var(--line);border-radius:12px}.segmented button{min-height:38px;padding:7px 15px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--petrol);font:600 14px 'Segoe UI',system-ui,sans-serif}.segmented button[aria-pressed=true]{background:var(--petrol);border-color:var(--petrol);color:#fff;box-shadow:0 2px 5px #173f4f20}button{font:650 16px 'Segoe UI',system-ui,sans-serif;min-height:46px;padding:11px 24px;background:var(--teal);color:white;border:1px solid transparent;border-radius:10px;cursor:pointer}button:hover{filter:brightness(.95)}button:disabled{opacity:.4;cursor:default}.secondary{background:white;border-color:#abcbd0;color:var(--petrol)}.muted,footer{font-size:13px;color:var(--muted)}.range-note{background:var(--ice);border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:13px;margin:12px 0}.setup-bottom{display:flex;align-items:center;gap:15px}.stage{scroll-margin-top:8px;min-height:calc(100svh - 106px);display:flex;flex-direction:column;padding:18px 24px}.stage-status{display:flex;align-items:center;gap:25px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px;position:sticky;top:0;z-index:2;background:white}.stage-status h2{font-size:20px}.stage-status p{margin:4px 0}.progress-box{width:clamp(170px,35vw,480px);font-size:13px}.timer-box{display:flex;align-items:center;gap:10px;white-space:nowrap}.timer-box span{font-size:12px;color:var(--muted)}.timer-box strong{font-size:27px;font-variant-numeric:tabular-nums}progress{width:100%;height:10px;accent-color:var(--teal)}.stage-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 0}.question{font-size:clamp(44px,6vw,84px);line-height:1.1;font-weight:750;text-align:center;overflow-wrap:anywhere}#answer-form{width:min(520px,100%);text-align:center}#answer{width:100%;min-height:64px;border:2px solid #91bdc5;border-radius:12px;background:#f4fbfb;color:var(--petrol);padding:8px 15px;font:600 34px/1.2 'Segoe UI',system-ui,sans-serif;text-align:center}#answer:read-only{background:#edf4f4}.actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:12px}.actions button{flex:1;max-width:300px}#answer-hint{margin:8px 0 0}#answer-error,#setup-error{color:#a12f17;font-size:13px;margin:5px 0}.feedback{padding:10px 18px;border-radius:10px;text-align:center;background:var(--ice);max-width:650px}.feedback.correct{background:#e5f3e6;color:#23502b}.feedback.wrong{background:#fbece5;color:#853e23}.stage-note{margin:0;text-align:center}.summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:20px 0}.summary>div{padding:16px;border-radius:12px;background:var(--ice)}.summary span{display:block;font-size:12px;color:var(--muted)}.summary strong{font-size:26px;overflow-wrap:anywhere}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:500px;text-align:left}th,td{padding:12px;border-bottom:1px solid var(--line)}thead{background:var(--ice)}footer{margin-top:22px}.running .intro,.running footer{display:none}.running main{margin-top:10px}.preview-note{padding:8px;background:var(--petrol);color:white;text-align:center;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #12aeb8;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:700px){main{width:calc(100% - 24px);margin-top:14px}.bar{padding:10px 14px;font-size:13px}.brand img{width:30px;height:30px}h1{font-size:26px}.cover{max-width:75px;height:75px}.card{padding:16px}.choice-row{gap:6px;margin-bottom:9px}.choice-row>span{width:100%;font-size:12px}.segmented{gap:2px;padding:3px}.segmented button{padding:8px 10px;font-size:13px;min-height:38px}.range-note{padding:9px 11px}.stage{min-height:calc(100svh - 84px);padding:12px}.stage-status{gap:8px;flex-wrap:wrap;padding-bottom:8px}.stage-status h2{font-size:17px}.stage-status .muted{font-size:11px}.timer-box{margin-left:auto;gap:5px}.timer-box strong{font-size:23px}.timer-box span{font-size:11px}.progress-box{width:100%;font-size:12px}.stage-center{padding:10px 0;gap:10px}.question{font-size:clamp(38px,9vw,62px)}#answer{min-height:54px;font-size:29px}.actions{gap:7px}.actions button{padding:11px 12px;min-height:44px;font-size:14px}.summary{grid-template-columns:repeat(2,1fr)}.summary>div{padding:12px}.stage-note{font-size:11px}.setup-bottom{flex-wrap:wrap}}
@media(max-height:620px){.running .bar{padding-top:6px;padding-bottom:6px}.stage{min-height:calc(100svh - 75px);padding:10px 15px}.stage-center{padding:8px 0;gap:6px}.question{font-size:clamp(32px,5vw,54px)}#answer{min-height:46px;font-size:27px}.stage-status{padding-bottom:5px}.stage-status h2{font-size:16px}.actions{margin-top:7px}#answer-hint{font-size:11px}.feedback{padding:6px 12px}.stage-note{font-size:11px}}#discovery-result-meta{overflow-wrap:anywhere}#flow-strip{border-color:#9cc6ce}#discovery-early{font-size:13px}
