@font-face{font-family:WissRoboto;src:url(../fonts/roboto.ttf) format('truetype');font-weight:400;font-display:swap}
:root{--ink:#222e36;--muted:#737e86;--accent:#09a9c7;--line:#e5eaed;--surface:#fff;--bg:#f5f7f9;--empty-bar:#e7e9eb;--shadow:0 3px 13px #26384609}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px WissRoboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #078fa9;outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}header{position:sticky;top:0;z-index:5;background:#fffffff5;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.headerInner{max-width:680px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:17px 20px;gap:16px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);min-width:0}.brand img{width:53px;height:53px}.brand>span{font-size:24px;letter-spacing:.3px;font-weight:bold;white-space:nowrap}.brand small{font-size:9px;letter-spacing:1px;text-transform:uppercase;font-weight:400;display:block;margin-top:5px}.headActions{display:flex;gap:7px;flex-shrink:0}.iconBtn{display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:#47545d;min-width:40px;height:42px;font-size:27px}.iconBtn:hover{background:#edf5f7}.iconBtn svg{width:24px;height:24px}main{max-width:640px;margin:auto;padding:23px 18px 15px}.intro{padding:0 4px;margin-bottom:22px}.intro h1{font-size:25px;font-weight:bold;line-height:1.25;margin:4px 0 9px;letter-spacing:-.4px}.intro p{font-size:16px;line-height:1.45;margin:0;color:#4a565f}h2{font-size:17px;line-height:1.35;margin:0;font-weight:bold;letter-spacing:-.2px}.card{background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:19px 18px;margin-bottom:13px;box-shadow:var(--shadow)}.card h2{color:#5e6b74}.forecast{padding:21px 20px 18px}.gauge{display:block;width:min(100%,340px);height:auto;aspect-ratio:320/175;stroke:none;margin:14px auto 0;overflow:visible}.gauge .needle{fill:none;stroke:#27343c;stroke-width:4;stroke-linecap:round}.gauge .needleCenter{fill:#27343c}.forecastNote{text-align:center;color:#77838b;line-height:1.4;font-size:12px;margin:9px auto 0;max-width:340px}.counters{display:grid;grid-template-columns:repeat(var(--count),minmax(0,1fr));gap:15px;margin-top:17px}.counter{text-align:center;min-width:0}.counterNumber{border:1px solid var(--category);border-radius:12px;font-size:24px;font-weight:bold;min-height:61px;display:flex;align-items:center;justify-content:center;color:#28363e;background:white}.counterNumber.filled{background:var(--category);border-color:var(--category)}.counter>span{display:block;color:#6c767e;font-size:10px;font-weight:bold;text-transform:uppercase;margin-top:9px;line-height:1.3;overflow-wrap:anywhere}.sleepCard{padding-bottom:21px}.sleepHeading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.sleepHeading>span{font-size:9px;color:#88939b;max-width:120px;text-align:right;line-height:1.4}.sleepRows{margin-top:13px}.sleepRow{display:grid;grid-template-columns:42px minmax(0,1fr) 37px;align-items:center;gap:9px;min-height:48px}.sleepDate{font-size:11px;color:#6b7780;line-height:1.25}.sleepDate strong{display:block;font-weight:400}.sleepDate span{font-size:10px}.sleepRail{height:17px;position:relative;border-radius:4px;overflow:hidden}.sleepRail i{display:block;height:100%;border-radius:4px}.sleepValue{font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.pageVersion{max-width:640px;margin:0 auto;padding:0 23px 25px;font-size:9px;color:#929ba2}footer{position:fixed;right:max(20px,calc((100vw - 620px)/2));bottom:max(24px,env(safe-area-inset-bottom));z-index:6}.micButton{display:grid;place-items:center;width:60px;height:60px;border:0;border-radius:50%;background:var(--accent);color:#073c49;box-shadow:0 5px 17px #087f9d38;transition:transform .15s}.micButton:hover{transform:translateY(-2px)}.micButton svg{width:27px;height:31px;stroke-width:1.7}.srOnly{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;border:0!important}.primary{border:0;background:var(--accent);color:#073c49;border-radius:12px;padding:13px 18px;min-height:46px;font-weight:bold}.secondary{border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);padding:12px 17px;min-height:45px}.wide{display:block;width:100%;margin-top:12px}.muted{color:var(--muted);line-height:1.6;font-size:14px}.empty{text-align:center;min-height:65vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 15px}.empty img{width:150px;opacity:.18;margin:0 0 28px}.empty h1{font-size:24px;line-height:1.3;letter-spacing:-.5px;margin:5px 0}.empty p{max-width:320px}.emptyHelp{font-size:12px;color:#8b969e;line-height:1.5;max-width:300px}.session{padding:18px;margin-bottom:20px;border:1px solid #a8dce5;border-radius:16px;background:#edfafd}.sessionType{font-size:10px;color:#148ba4;text-transform:uppercase;letter-spacing:1px;display:block;margin-bottom:5px}.session p{font-size:13px;color:#5d737d;line-height:1.5}.session h2{font-size:18px}.session button{font-size:12px}.banner{padding:13px 15px;border:1px solid #e5c994;background:#fff8eb;border-radius:12px;margin-bottom:18px;font-size:13px;line-height:1.5}.banner button{border:0;background:none;color:#087f9d;text-decoration:underline;font-size:12px;margin-left:10px}.error{color:#c13f4a;font-size:13px;line-height:1.5}dialog{border:1px solid #e5eaed;border-radius:22px;box-shadow:0 20px 80px #152e4440;background:white;color:var(--ink);width:calc(100% - 32px);max-width:390px;padding:24px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#172b3f65;backdrop-filter:blur(2px)}.dialogHead{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialogHead h2{font-size:17px}.dialogHead .iconBtn{height:33px;min-width:33px;color:#75838c;background:#f5f7f8;font-size:24px}.popover{position:fixed;inset:90px max(14px,calc((100vw - 640px)/2)) auto auto;margin:0;width:300px;padding:13px 17px;border-radius:19px}.popover .dialogHead{padding:3px 0 7px}.popover .dialogHead h2{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:#89949b;font-weight:400}.menuItem{display:flex;align-items:center;gap:15px;background:none;border:0;border-bottom:1px solid #f0f3f5;width:100%;padding:17px 0;text-align:left;color:#34424b;font-size:15px;min-height:57px}.menuItem:last-child{border-bottom:0}.menuItem svg{width:22px;height:22px;color:#84939c;flex-shrink:0}.menuItem .chevron{margin-left:auto;color:#a6b1b8;font-size:19px}.menuItem.danger{color:#ae525c}.menuItem.danger svg{color:#ae7279}.eyebrow{font-size:10px;color:#1598b0;letter-spacing:1px;text-transform:uppercase}#login h2{font-size:21px;margin-top:18px}#loginHint{font-size:13px;margin:9px 0 19px}label{font-size:11px;color:#7d8b94;display:block}#code{width:100%;font:24px WissRoboto,Arial,sans-serif;letter-spacing:5px;text-align:center;padding:14px 8px;margin:7px 0 17px;border:1px solid #dce9ee;border-radius:12px;background:#f6fafb;color:#243e4a;caret-color:transparent}#code::placeholder{font-size:15px;color:#9eb4c0;letter-spacing:1px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.key{background:#f4fbfd;border:1px solid #acdce7;border-radius:14px;min-height:60px;font-size:27px;color:#059fbd}.key:active{background:#d9f2f7;transform:scale(.98)}.keyAction{font-size:15px;color:#4593a4}.confirmActions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.scanner{position:relative;border-radius:17px;overflow:hidden;background:#1b2e3b;height:330px;margin-top:18px}.scanner video{width:100%;height:100%;object-fit:cover}.scanFrame{position:absolute;inset:55px 35px;border:2px solid #3dd7e8;border-radius:14px}.fileButton{cursor:pointer;text-align:center;font-size:13px}#splash{position:fixed;inset:0;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:23px;z-index:30}#splash img{width:100px}#splash p{font-size:13px;color:var(--muted)}.spinner{width:25px;height:25px;border:3px solid #e0edf1;border-top-color:var(--accent);border-radius:50%;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.wiss-update{position:fixed;z-index:100;top:12px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:620px;background:#fff8e9;border:1px solid #dfb564;padding:14px 17px;border-radius:16px;box-shadow:0 8px 30px #102c3920;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.wiss-update button{border:0;border-radius:10px;background:var(--accent);color:#073c49;padding:11px 14px;white-space:nowrap}.wiss-update button:disabled{opacity:.5}@media(max-width:360px){.headerInner{padding:13px 14px;gap:10px}.brand{gap:9px}.brand img{width:45px;height:45px}.brand>span{font-size:21px}.brand small{font-size:8px}.headActions{gap:0}.iconBtn{min-width:34px}main{padding:20px 12px 12px}.card{padding:17px 14px}.counters{gap:10px}.counterNumber{min-height:53px}.sleepHeading>span{max-width:100px}.key{min-height:54px}}@media(min-width:700px){.headerInner{padding:19px 20px}.brand img{width:54px;height:54px}main{padding-top:30px}.intro h1{font-size:28px}.intro p{font-size:17px}.card{padding:23px 25px;margin-bottom:17px}.forecastNote{font-size:13px}.counterNumber{min-height:68px;font-size:27px}.counter>span{font-size:11px}.sleepRow{min-height:53px;grid-template-columns:55px minmax(0,1fr) 42px;gap:13px}.sleepDate,.sleepValue{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}.spinner{animation-duration:2s}}

/* Fixed application frame: only main scrolls; version stays at the bottom. */
html,body{height:100%;overflow:hidden}#shell{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}header{position:relative;flex-shrink:0}main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;width:100%;padding-bottom:88px;scrollbar-gutter:stable}.pageVersion{flex-shrink:0;width:100%;max-width:none;text-align:center;padding:8px 20px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #edf0f2;color:#87929a;font-size:10px;z-index:7}footer{bottom:calc(45px + env(safe-area-inset-bottom));right:max(22px,calc((100vw - 620px)/2))}.micButton{width:64px;height:64px;background:linear-gradient(145deg,#25c5de 0%,#06a6c5 60%,#0794b5 100%);border:1px solid #ffffff80;box-shadow:0 4px 10px #07566c26,inset 0 1px 1px #ffffff80;position:relative;isolation:isolate}.micButton::after{display:none;content:'';position:absolute;z-index:-1;width:55px;height:14px;border-radius:50%;background:#155b7538;filter:blur(8px);bottom:-12px;left:4px}.micButton:active{transform:translateY(1px);box-shadow:0 2px 5px #07566c20,inset 0 1px 1px #ffffff80}#code{font-family:WissRoboto,Arial,sans-serif;font-size:29px;letter-spacing:8px;-webkit-text-security:none}.empty{min-height:calc(100% - 25px)}.webViewer{position:fixed;inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden}.webViewer[open]{display:flex;flex-direction:column}.viewerBar{display:flex;align-items:center;gap:8px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:white;border-bottom:1px solid var(--line);flex-shrink:0}.viewerBar h2{flex:1;font-size:16px}.viewerBar .close{font-size:27px}.webViewer iframe{display:block;flex:1;min-height:0;width:100%;border:0;background:white;padding-bottom:env(safe-area-inset-bottom)}.viewerLoading{position:absolute;inset:75px 0 0;display:grid;place-items:center;background:#ffffffd9;pointer-events:none}.webViewer .error{padding:12px}.emptyHelp{display:none}

/* User identity and dashboard readability. */
.brand{gap:10px;flex:1;min-width:0}.brand img{width:48px;height:48px;flex-shrink:0}.brand>.brandText{min-width:0;flex:1;overflow:hidden}.brandTitle{display:block;font-size:23px;font-weight:600;white-space:nowrap;letter-spacing:-.3px}.brandUsers{font-size:13px;font-weight:500;letter-spacing:0;color:#586873;white-space:nowrap}.brand small{font-size:12px;line-height:1.4;text-transform:none;letter-spacing:0;font-weight:500;color:#455966;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.headerInner{gap:10px}.intro{margin-bottom:16px}.intro p{font-size:17px;font-weight:500;line-height:1.5;color:#344956}.forecast{padding:17px 17px 14px}.gauge{margin:4px auto -4px;max-width:320px}.forecastNote{color:#4b5e6b;font-weight:500;line-height:1.45;margin:7px auto 0}.card h2{color:#394f5e;font-weight:600}.counter>span{color:#455864;font-weight:500;font-size:11px}.counterNumber{font-weight:600}.sleepDate{font-size:12px;color:#4f626e;font-weight:500}.sleepDate strong{font-weight:500}.sleepDate span{font-size:11px;font-weight:500}.sleepValue{font-size:12px;font-weight:500;color:#354f5e}.sleepHeading>span{color:#5f7380;font-weight:500}.pageVersion{color:#6d7f8b}@media(max-width:360px){.brand img{width:42px;height:42px}.brandTitle{font-size:20px}.brandUsers{font-size:11px}.brand small{font-size:11px}.brand{gap:8px}.headerInner{gap:7px}.intro p{font-size:16px}}@media(min-width:700px){.brandTitle{font-size:25px}.brandUsers{font-size:14px}.brand small{font-size:13px}.forecast{padding:19px 22px 16px}.intro p{font-size:18px}}

/* Shared WISS visual family: light cards, line icons and restrained color. */
:root{--bg:#f8f9f9;--line:#e4e9e9;--ink:#26363c;--shadow:0 2px 5px #253b4505}
header{border-bottom:1px solid #74ccdb;background:#fff}.headerInner{padding:18px 18px}.headActions .iconBtn{color:#10a5bd}.brandTitle{font-size:22px;letter-spacing:-.35px}.brandUsers{font-size:17px;font-weight:500;color:#29373c}.brand small{font-weight:600;color:#42565f;font-size:12px}
main{padding-top:20px}.intro{padding:0 2px;margin-bottom:17px}.intro p{font-size:17px;color:#35464e;font-weight:500}.card{border-radius:18px;border-color:#e3e9e9;padding:18px 17px;margin-bottom:16px;box-shadow:var(--shadow)}
.sectionTitle{display:flex;align-items:center;gap:10px;min-height:34px;font-size:17px;line-height:1.3}.sectionIcon{width:34px;height:34px;display:inline-grid;place-items:center;flex-shrink:0;border-radius:11px;background:#edf9fb;color:#079cb5}.sectionIcon svg{width:22px;height:22px;stroke-width:1.7}.card h2{color:#30434c;font-weight:600}
.forecast{padding:16px 17px 17px}.gauge{margin:2px auto -6px;max-width:310px}.forecastNote{color:#52656e;font-weight:500}.counters{gap:10px;margin-top:17px}.counter{padding:12px 4px 10px;border:1px solid #e9eded;border-radius:12px;background:#fcfdfd;display:flex;flex-direction:column;align-items:center;justify-content:center}.counterNumber,.counterNumber.filled{border:0;border-radius:0;min-height:38px;background:transparent;color:#354b55;color:color-mix(in srgb,var(--category) 52%,#172d36);font-size:29px;font-weight:600}.counter>span{margin-top:5px;font-size:11px;line-height:1.4;color:#4c606a;font-weight:500;text-transform:none}.sleepHeading{align-items:center}.sleepHeading>span{font-size:10px;max-width:100px}.sleepRows{margin-top:12px}.sleepRow{min-height:49px;border-bottom:1px solid #f0f3f3}.sleepRow:last-child{border-bottom:0}.sleepRail{height:14px;border-radius:7px;background:#f4f6f6}.sleepRail i{border-radius:7px}.sleepValue{font-weight:600}.sleepDate strong{font-weight:600}.pageVersion{background:var(--bg);border-top:0;color:#77858b;padding-top:9px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.menuItem svg{color:#119eb5}.primary{color:#fff}.micButton{color:#fff;background:#08abc5}
@media(max-width:380px){.headerInner{padding:15px 12px;gap:5px}.brand{gap:7px}.brand img{width:40px;height:40px}.brandTitle{font-size:19px}.brandUsers{font-size:15px}.brand small{font-size:11px}.headActions{gap:0}.headActions .iconBtn{min-width:32px}.card{padding:16px 14px}.sectionTitle{font-size:16px}.counters{gap:7px}.counterNumber{font-size:26px}.counter>span{font-size:10px}}
@media(min-width:700px){.brandTitle{font-size:25px}.brandUsers{font-size:19px}.brand small{font-size:13px}.card{padding:21px 23px}.forecast{padding:18px 23px}.intro p{font-size:18px}.counter{padding:15px 6px 12px}.counterNumber{font-size:32px}.counter>span{font-size:12px}}

/* Category tint and weekly completion. */
.counter{background:color-mix(in srgb,var(--category) 25%,white);border-color:color-mix(in srgb,var(--category) 30%,#e9eded)}
.weeklyProgress{display:flex;align-items:flex-start;gap:11px}.progressIcon{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border-radius:50%;background:#e9f6ed;color:#368851;margin-top:2px}.progressIcon svg{width:22px;height:22px}.weeklyProgress p{margin:3px 0 0}
/* Assessment flow */
.flowIdentity{display:flex;flex-direction:column;gap:5px;margin:0 3px 18px}.flowIdentity>span{font-size:12px;color:#63808c}.flowIdentity strong{font-size:20px;font-weight:600}.assessmentCard h3{font-size:15px;color:#405660;font-weight:500;margin:24px 0 12px}.readingText{font-size:18px;line-height:1.65;color:#3e555e;background:#f4fafb;border-radius:13px;padding:17px;margin:18px 0 8px}.recordMeter{width:180px;height:180px;margin:20px auto 12px;position:relative}.recordMeter>svg{width:100%;height:100%;stroke-width:10;transform:rotate(-90deg)}.recordMeter circle{stroke:#e8eef0;fill:none}.recordMeter #recordArc{stroke:#08abc5;stroke-dasharray:415;stroke-dashoffset:415;transition:stroke-dashoffset .1s linear}.recordMeter>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#079eb6}.recordMeter span svg{width:38px;height:38px}.recordMeter strong{font-size:26px;font-weight:500;font-variant-numeric:tabular-nums}.recordStatus{min-height:42px;text-align:center;font-size:14px;line-height:1.5;color:#546b76}.recordControls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recordControls button{font-size:13px;padding:11px 6px}.assessmentActions{display:flex;justify-content:space-between;gap:12px;margin:20px 0}.assessmentActions>button{flex:1;max-width:280px}.flowChoices{display:grid;gap:12px;margin-top:19px}.answerList{margin:17px 0 0}.answerList>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #edf0f1;font-size:14px;line-height:1.5}.answerList>div:last-child{border-bottom:0}.answerList dt{color:#516772;flex:1}.answerList dd{margin:0;color:#137e95;font-weight:600;text-align:right;max-width:55%}.voiceHistory{margin-top:12px}.voiceHistory>div{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0f1;font-size:12px}.voiceHistory strong{font-weight:500}.dateField{display:flex;flex-direction:column;gap:10px;font-size:14px;color:#47616e;margin:15px 0}.dateField input{width:100%;min-width:0;color:#234552;background:#f7fafb;border:1px solid #dce8eb;border-radius:11px;padding:12px 8px;min-height:46px;font-size:15px;accent-color:#08abc5}.dateField input[type=range]{padding:0;border:0;background:transparent;min-height:25px}.dateField output{color:#0c839c;font-size:19px;font-weight:600;text-align:right}.datePair{display:grid;grid-template-columns:1fr;gap:0}.smartSleepNote{font-size:12px;color:#13879e}.reviewAudio{width:100%;margin-top:20px}.resultColumns{display:flex;justify-content:space-around;gap:16px;margin:23px 0}.resultColumns>div{display:flex;align-items:center;flex-direction:column;gap:12px;font-size:14px;color:#4c6570}.resultBadge{display:inline-grid;place-items:center;min-width:30px;min-height:30px;border-radius:50%;background:#edf1f3;color:#5a6f7a;padding:5px}.resultBadge[data-result=G]{background:#e3f3e6;color:#338148}.resultBadge[data-result=O]{background:#fff0d7;color:#a16708}.resultBadge[data-result=R]{background:#fce5e7;color:#bd3346}.resultColumns .resultBadge{width:64px;height:64px;font-size:26px}.finalResult{text-align:center}.resultBadge.large{width:88px;height:88px;margin:12px}.resultBadge.large svg{width:53px;height:53px}.finalResult p{font-size:16px;line-height:1.65;font-weight:500;color:#405963}.qualityOutcome{text-align:center;font-size:13px;color:#6a7c85}.assessmentCard input:disabled{opacity:.8;color:#3d6473}.assessmentCard .error:empty{display:none}@media(min-width:700px){.datePair{grid-template-columns:1fr 1fr;gap:14px}}
/* Process screens fit the available viewport; navigation stays visible. */
main.assessmentFlow{display:flex;flex-direction:column;gap:0;overflow:hidden;scrollbar-gutter:auto;padding:12px 16px 8px;--flow-scale:1}
.assessmentFlow>.card,.assessmentFlow>.banner{flex-shrink:0;zoom:var(--flow-scale)}
.assessmentFlow>.assessmentActions{flex-shrink:0;margin:8px 0 0;padding:8px 0 0;min-height:54px;gap:8px;margin-top:auto}
.assessmentFlow>.assessmentActions button{min-height:44px;padding:10px 12px;font-size:14px;max-width:none}
.assessmentFlow .assessmentCard{padding:14px;margin-bottom:10px;border-radius:16px}
.assessmentFlow .sectionTitle{font-size:15px;min-height:30px;gap:8px}.assessmentFlow .sectionIcon{width:30px;height:30px}
.assessmentFlow .readingText{font-size:16px;line-height:1.45;padding:13px;margin:12px 0}
.assessmentFlow .recordMeter{width:150px;height:150px;margin:12px auto 8px}.assessmentFlow .recordStatus{min-height:22px;font-size:13px;margin:9px 0 12px}
.assessmentFlow .datePair{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.assessmentFlow .dateField{margin:10px 0;gap:7px;font-size:13px}
.assessmentFlow .dateField input{font-size:13px;padding:9px 5px;min-height:42px}.assessmentFlow .assessmentCard h3{margin:17px 0 6px;font-size:14px}
.assessmentFlow .answerList{margin-top:10px}.assessmentFlow .answerList>div{padding:9px 0;font-size:13px;gap:10px}
.assessmentFlow .flowChoices{gap:8px;margin-top:12px}.assessmentFlow .voiceHistory>div{padding:7px 0}
.assessmentFlow .resultColumns{margin:14px 0}.assessmentFlow .resultColumns .resultBadge{width:48px;height:48px}.assessmentFlow .resultBadge.large{width:68px;height:68px;margin:6px}.assessmentFlow .resultBadge.large svg{width:43px;height:43px}.assessmentFlow .finalResult p{font-size:14px;line-height:1.45;margin:9px 0}.assessmentFlow .qualityOutcome{margin:8px 0}.assessmentFlow .reviewAudio{margin-top:12px}
@media(max-height:700px){.assessmentFlow .recordMeter{width:120px;height:120px;margin:8px auto}.assessmentFlow .readingText{font-size:15px;padding:10px}.assessmentFlow .assessmentCard{padding:12px}.assessmentFlow .sectionTitle{font-size:14px}}
.assessmentFlow>.flowIdentity{zoom:var(--flow-scale);margin:0 2px 10px}.assessmentFlow>.flowIdentity strong{font-size:16px}
@media(max-width:699px){.assessmentFlow .datePair{grid-template-columns:minmax(0,1fr);gap:0}.assessmentFlow .dateField{margin:6px 0;gap:4px}.assessmentFlow .dateField input{font-size:14px}}
/* Paired time sliders, matching the original interaction. */
.timeRange{margin:10px 0 16px}.rangeValues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rangeValues>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#f4fafb;border:1px solid #deebee;border-radius:12px;padding:10px 5px}.rangeValues span{font-size:12px;color:#5b727d}.rangeValues strong{font-size:14px;color:#176e83;font-weight:500;white-space:nowrap}.dualTrack{position:relative;height:42px;margin:5px 10px 0}.dualRail{position:absolute;left:0;right:0;top:19px;height:5px;background:#d7edf1;border-radius:8px;overflow:hidden}.dualRail i{position:absolute;height:100%;background:#08abc5;border-radius:8px}.dualTrack input[type=range]{position:absolute;inset:0;width:100%;height:42px;margin:0;padding:0;border:0;background:none;-webkit-appearance:none;appearance:none;pointer-events:none;outline-offset:1px}.dualTrack input[type=range]::-webkit-slider-runnable-track{height:5px;background:transparent}.dualTrack input[type=range]::-moz-range-track{height:5px;background:transparent}.dualTrack input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:25px;height:25px;border-radius:50%;border:2px solid white;background:#08abc5;box-shadow:0 1px 4px #14627a30;margin-top:-10px;pointer-events:auto;cursor:grab}.dualTrack input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;border:2px solid white;background:#08abc5;box-shadow:0 1px 4px #14627a30;pointer-events:auto;cursor:grab}.dualTrack input[type=range]:disabled::-webkit-slider-thumb{background:#8baeb8;pointer-events:none}.dualTrack input[type=range]:disabled::-moz-range-thumb{background:#8baeb8;pointer-events:none}.dualTrack input[type=range]:last-child{z-index:3}.dualTrack input[type=range]:focus-visible{outline:2px solid #078fa9;border-radius:8px}.assessmentFlow .dateField output{font-size:15px;font-weight:500;text-align:center;color:#176e83}.assessmentFlow .timeRange{margin-bottom:8px}
.pendingNotice{flex-shrink:0;border:0;border-bottom:1px solid #d7e9ed;background:#edf8fa;color:#176b80;font-size:13px;padding:9px 16px;text-align:center}.pendingRow{display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #e4ecef;padding:12px 0;font-size:13px;color:#4f6874}.pendingRow strong{color:#294b5c}.pendingRow small{line-height:1.5}#pendingReceipts h3{font-size:14px;color:#335e71;margin-top:22px}

.pullRefresh{position:fixed;top:72px;left:50%;z-index:25;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;box-shadow:0 2px 10px #0002;pointer-events:none}.pullRefresh[hidden]{display:none}.pullRefresh .spinner{width:24px;height:24px;margin:0}

.processingDialog{max-width:300px;text-align:center;padding:28px 24px}.processingDialog .spinner{display:block;margin:0 auto 16px}.processingDialog p{margin:0;line-height:1.5}.processingDialog::backdrop{background:#12333c70}

.assessmentFlow .assessmentCard.resultCard{padding:14px 14px 0}.assessmentFlow .resultCard .qualityOutcome{margin:16px -14px 0;padding:12px 14px;border-radius:0 0 15px 15px;font-size:15px;font-weight:700;letter-spacing:.02em;color:#536a73;background:#edf1f3;border-top:1px solid #00000008}.assessmentFlow .resultCard .qualityOutcome[data-result=G]{color:#276b3b;background:#e3f3e6}.assessmentFlow .resultCard .qualityOutcome[data-result=O]{color:#8a5705;background:#fff0d7}.assessmentFlow .resultCard .qualityOutcome[data-result=R]{color:#a92438;background:#fce5e7}

.assessmentFlow .readingText{text-align:center}

/* Multiple sleep periods remain readable; scroll rather than shrink controls. */
main.assessmentFlow[data-flow-step="question"]{display:block;overflow-y:auto;overscroll-behavior-y:contain;padding-bottom:8px}
.assessmentFlow[data-flow-step="question"]>.assessmentActions{position:sticky;bottom:0;background:var(--bg);padding:10px 0 4px;margin-top:8px;z-index:5}
.sleepPeriod{border:1px solid #dfedef;border-radius:12px;background:#f7fbfc;padding:10px 10px 6px;margin:10px 0}
.sleepPeriodHeading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#385864;min-height:30px}
.periodRemove{border:0;background:transparent;font-size:24px;line-height:1;color:#697f87;min-height:36px;min-width:36px;padding:4px}
.addSleepPeriod{width:100%;margin-top:4px;font-size:13px;min-height:40px;padding:9px 12px}
.sleepPeriodsHint{font-size:12px;line-height:1.5;color:#667c85;margin:8px 0}
.sleepTotalRow{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#eaf7fa;border-radius:10px;padding:11px 12px;font-size:13px;color:#345660}
.sleepTotalRow strong{color:#087f94;font-size:16px;text-align:right}
.smartSleepReadOnly{background:#f1f7f8;border-radius:12px;padding:8px 12px}
.smartSleepReadOnly>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:13px;color:#59707a}
.smartSleepReadOnly strong{text-align:right;color:#315e6a}

/* Compact assessment history; quality and fatigue use independent colors. */
.assessmentFlow .compactQuestions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;margin-top:12px}
.assessmentFlow .compactQuestions>div{display:block;padding:9px 0;min-width:0;font-size:12px;border-bottom:1px solid #edf0f1}
.assessmentFlow .compactQuestions dt{font-size:11px;line-height:1.35}
.assessmentFlow .compactQuestions dd{max-width:none;text-align:left;margin:3px 0 0;font-size:13px;line-height:1.4}
.textBadge{display:inline-block;text-align:center;border-radius:8px;padding:6px 9px;background:#edf1f3;color:#536a73;font-size:12px;font-weight:700}
.textBadge[data-result=G]{background:#e3f3e6;color:#338148}.textBadge[data-result=O]{background:#fff0d7;color:#a16708}.textBadge[data-result=R]{background:#fce5e7;color:#bd3346}
.assessmentFlow .voiceHistory .textBadge{font-weight:700}

/* Saved-profile access: compact placement and persistent server wait notice. */
footer{bottom:calc(33px + env(safe-area-inset-bottom))}.micButton{width:58px;height:58px}
.autoLoginWait{position:absolute;right:0;bottom:66px;width:min(250px,calc(100vw - 44px));margin:0;padding:10px 12px;border:1px solid #dce8eb;border-radius:10px;background:#fff;color:#52656e;box-shadow:0 2px 9px #26384612;font-size:12px;line-height:1.4}
.micButton:disabled{cursor:default;opacity:.5}
/* Compact mobile dashboard. */
.compactForecast{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,42%);align-items:center;gap:8px;padding:13px 15px}
.compactForecast .sectionTitle{font-size:14px;line-height:1.3}.compactForecast .sectionIcon{width:28px;height:28px;min-width:28px}.compactForecast .gauge{width:100%;max-width:160px;margin:0 auto}
.compactForecast .forecastNote{font-size:9px;line-height:1.3;margin:3px 0 0}.forecastRisk{display:block;font-size:25px;margin:5px 0 0 38px;color:#338148}.forecastRisk[data-risk=MEDIUM]{color:#a16708}.forecastRisk[data-risk=MEDIUM-HIGH]{color:#d27800}.forecastRisk[data-risk=HIGH]{color:#bd3346}
.dashboardQuestionnaire{padding:13px 15px}.questionnaireHeading{display:flex;justify-content:space-between;align-items:center;gap:8px}.questionnaireHeading .sectionTitle{font-size:14px}.questionnaireHeading .textBadge{font-size:10px;padding:5px 8px;flex-shrink:0}.questionnaireDate{margin:3px 0 8px 39px;font-size:11px;color:#6b7780}
.sleepMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}.sleepMetrics>div{background:#f2f6f8;border-radius:10px;padding:8px 4px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}.sleepMetrics svg{width:21px;height:21px;color:#246b84}.sleepMetrics span{font-size:10px;line-height:1.3;min-height:26px;display:flex;align-items:center}.sleepMetrics strong{font-size:18px;color:#263e4c;font-variant-numeric:tabular-nums}
.weeklyCard{padding:13px 15px}.weeklyCard .sectionTitle{font-size:15px}.weeklyCard h3{font-size:12px;font-weight:500;color:#445b67;margin:9px 0 6px}.weeklyCard hr{border:0;border-top:1px solid #e4eaed;margin:10px 0}
.compactCounters{display:grid;grid-template-columns:repeat(var(--count),minmax(0,1fr));gap:7px}.compactCounter{display:flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;padding:7px 4px;background:#edf1f3;color:#60727c}.compactCounter[data-result=G]{background:#e3f3e6;color:#338148}.compactCounter[data-result=O]{background:#fff0d7;color:#a16708}.compactCounter[data-result=R]{background:#fce5e7;color:#bd3346}.compactCounter strong{font-size:23px;line-height:1.2}.counterIcon{position:relative;display:inline-flex}.counterIcon svg{width:26px;height:26px}.crossedIcon::after{content:'';position:absolute;width:32px;height:2px;left:-3px;top:12px;background:currentColor;transform:rotate(-48deg);border-radius:2px}
.sleepCard{padding:13px 15px}.sleepCard .sectionTitle{font-size:15px}.sleepCard .sleepRows{margin-top:6px}.sleepCard .sleepRow{min-height:32px}.sleepCard .sleepRail{height:10px}.weeklyProgress{margin-bottom:10px}.weeklyProgress p{font-size:13px;line-height:1.35}
@media(max-width:360px){.compactCounter{gap:5px}.compactCounter strong{font-size:21px}.counterIcon svg{width:23px;height:23px}.compactForecast .sectionTitle{font-size:13px}.forecastRisk{font-size:22px;margin-left:0}}

.sleepMetrics strong.sleepLow,.sleepColumnValue.sleepLow{color:#bd3346}
.sleepColumns{display:grid;grid-template-columns:repeat(var(--days),minmax(0,1fr));gap:7px;margin-top:12px}
.sleepColumn{min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}
.sleepColumnValue{font-size:11px;font-weight:700;color:#354b55;white-space:nowrap;font-variant-numeric:tabular-nums}
.sleepColumnTrack{height:76px;display:flex;align-items:flex-end;justify-content:center;width:100%;border-bottom:1px solid #dce7ec;background:linear-gradient(to top,#f2f6f8,transparent);border-radius:4px 4px 0 0}
.sleepColumnTrack i{display:block;width:65%;max-width:28px;background:#14b5e2;border-radius:5px 5px 0 0;min-height:0}
.sleepColumnDay{font-size:10px;color:#536a73;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.sleepColumnDate{font-size:9px;color:#77858b;line-height:1.2;white-space:nowrap}
@media(max-width:360px){.sleepColumns{gap:4px}.sleepColumnValue{font-size:10px}.weeklyCard .sectionTitle{font-size:14px}}

.sleepColumnTrack i.sleepLowColumn{background:#dc3545}

/* WENCO terminal: fixed design viewport, independent of the users app. */
html,body{width:100%;height:100%;overflow:hidden}#shell{width:830px;height:600px;max-width:100vw;max-height:100vh;margin:0 auto;display:flex;flex-direction:column;background:#f5f7f9;position:relative}header{flex:none}.headerInner{max-width:none;padding:10px 22px;height:70px}.brand img{width:44px;height:44px}.brand small{font-size:13px;letter-spacing:0;text-transform:none}.brand strong{font-size:23px}#loginScreen{display:grid;grid-template-columns:1fr 330px;gap:30px;padding:24px 40px;flex:1;min-height:0}.terminalIntro{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.terminalIntro>img{width:100px;height:100px}.terminalIntro h1{font-size:27px;margin:18px 0 8px}.terminalIntro p{font-size:18px}.terminalKeys{align-self:center}#code{width:100%;height:54px;text-align:center;font-size:25px;border:1px solid #d4e0e5;border-radius:8px;background:#fff}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.key{height:66px;border:1px solid #dce7ec;border-radius:9px;background:#fff;font-size:27px;color:#203b49;box-shadow:0 2px 4px #18364a0a}#loginError{padding:15px;background:#fff1df;color:#8b3600;border:2px solid #e9a14a;border-radius:9px;font-size:21px;font-weight:bold;line-height:1.4;margin-top:15px}#main{max-width:none;width:100%;flex:1;min-height:0;overflow-y:auto;padding:12px 22px 18px}#main:empty{display:none}.pageVersion{position:static;flex:none;text-align:center;font-size:11px;padding:5px}.assessmentActions{position:sticky;bottom:-18px;background:#f5f7f9;padding:10px 0;display:flex;gap:12px;justify-content:flex-end}.card{padding:14px;margin-bottom:10px}.recordMeter{width:135px;height:135px;margin:6px auto}.readingText{text-align:center;font-size:19px;margin:8px 0}.recordControls{margin:8px 0}.processIdentity{margin:0 0 8px}.answerList{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.dateField{margin:8px 0}.dualTrack{margin:10px 0}.sleepPeriod{padding:8px;margin:8px 0}dialog{max-width:650px;max-height:540px}.resultGrid{gap:10px}.assessmentActions button{padding:10px 18px;min-height:43px}#splash{width:100vw;height:100vh}.terminalIntro .spinner{margin:15px}

/* Larger controls for the truck terminal. */
body{background:#e8ecef}#shell{background:#f2f4f6}#loginScreen{grid-template-columns:1fr 390px;gap:26px;padding:24px 28px}.terminalIntro>img{width:94px;height:94px}.terminalIntro h1{font-size:27px;margin:18px 0} .terminalIntro #code{max-width:305px;height:60px;font-size:27px}.terminalKeys{width:100%}.terminalKeys .keypad{margin-top:0;gap:12px}.terminalKeys .key{height:88px;font-size:34px;border-radius:10px}.terminalKeys .key:last-child{font-size:25px}.assessmentActions{background:#f2f4f6}

/* Shared-user choice: use the terminal's landscape space. */
#main.assessmentFlow[data-flow-step="choice"]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(220px,1fr) auto;gap:12px;align-content:stretch;overflow:hidden;padding:12px 22px}
#main[data-flow-step="choice"]>.flowIdentity{grid-column:1/-1;margin:0;zoom:1}
#main[data-flow-step="choice"]>.flowIdentity strong{font-size:17px}
#main[data-flow-step="choice"]>.card{margin:0;zoom:1;min-width:0;min-height:0;padding:16px}
#main[data-flow-step="choice"]>.card:last-child{grid-column:1/-1}
#main[data-flow-step="choice"] .sectionTitle{font-size:16px;line-height:1.4;margin-bottom:12px}
#main[data-flow-step="choice"] .sectionIcon{width:30px;height:30px}
#main[data-flow-step="choice"] .answerList{gap:0 12px;margin:0}
#main[data-flow-step="choice"] .answerList>div{padding:12px 0;font-size:16px}
#main[data-flow-step="choice"] .answerList dt{font-size:12px}
#main[data-flow-step="choice"] .answerList dd{font-size:16px;font-weight:600}
#main[data-flow-step="choice"] .voiceHistory{max-height:205px;overflow-y:auto}
#main[data-flow-step="choice"] .voiceHistory>div{padding:14px 0;gap:8px;font-size:14px}
#main[data-flow-step="choice"] .textBadge{font-size:13px;padding:6px 9px}
#main[data-flow-step="choice"] .flowChoices{display:grid;grid-template-columns:1fr 1fr auto;gap:12px}
#main[data-flow-step="choice"] .flowChoices button{min-height:57px;padding:14px 20px;font-size:17px;font-weight:600;border-radius:8px}

/* Landscape assessment controls, no automatic text shrinking. */
#main.assessmentFlow:not([data-flow-step="choice"]){display:flex;overflow:hidden;gap:8px;padding:10px 22px}
#main.assessmentFlow:not([data-flow-step="choice"])>.card,#main.assessmentFlow>.flowIdentity{zoom:1}
#main.assessmentFlow>.flowIdentity{margin:0;font-size:17px}#main.assessmentFlow>.card{margin:0;min-height:0;flex-shrink:1}
#main.assessmentFlow .sectionTitle{font-size:17px;margin:0 0 12px}#main.assessmentFlow .sectionIcon{width:30px;height:30px}
#main.assessmentFlow .assessmentActions{position:static;bottom:auto;margin-top:auto;flex-shrink:0;padding:8px 0;gap:12px}
#main.assessmentFlow .assessmentActions button,#main.assessmentFlow .recordControls button{min-height:57px;font-size:17px;font-weight:600;padding:12px 20px}
.recordLandscape{display:grid;grid-template-columns:1fr 180px;gap:24px;align-items:center;min-height:180px}
#main .recordLandscape .readingText{font-size:23px;line-height:1.55;margin:0;padding:20px;text-align:center}
#main .recordLandscape .recordMeter{width:155px;height:155px;margin:0 auto}#main .recordStatus{font-size:16px;margin:6px 0 12px}#main .recordControls{margin:0}
#main[data-flow-step="question"] .assessmentCard{flex:1;overflow:hidden;padding:12px 16px}
.questionTabs,.periodTabs{display:flex;gap:10px;margin-bottom:10px}.questionTabs button{flex:1;min-height:43px;font-size:16px;padding:8px}.periodTabs button{min-height:38px;padding:6px 14px;font-size:15px}.periodTabs:has(button:only-child){display:none}
#main[data-flow-step="question"] .sleepPeriod{margin:0 0 8px;padding:10px}.sleepPeriodHeading{margin-bottom:6px}
#main[data-flow-step="question"] .rangeValues>div{padding:9px}#main[data-flow-step="question"] .rangeValues strong{font-size:19px}#main[data-flow-step="question"] .dualTrack{margin:15px 0;height:30px}
#main[data-flow-step="question"] .addSleepPeriod{min-height:38px;margin:0;padding:7px;font-size:15px}#main[data-flow-step="question"] .sleepPeriodsHint{font-size:12px;margin:5px 0}#main[data-flow-step="question"] .sleepTotalRow{padding:8px;font-size:16px}#main #questionError{font-size:14px;margin:5px 0}
#main[data-flow-step="review"] .answerList>div{font-size:17px;padding:10px 0}#main[data-flow-step="review"] .answerList dt{font-size:16px;line-height:1.4}#main[data-flow-step="review"] .answerList dd{font-size:20px;font-weight:bold}#main[data-flow-step="review"] .dateField{font-size:16px;margin:8px 0}#main[data-flow-step="review"] .reviewAudio{margin-top:12px;height:42px}#main[data-flow-step="review"] .muted{font-size:15px;margin:8px 0}
#main[data-flow-step="result"] .resultColumns .resultBadge{width:78px;height:78px}#main[data-flow-step="result"] .resultBadge.large{width:78px;height:78px;margin:8px}#main[data-flow-step="result"] .resultBadge svg{width:43px;height:43px}#main[data-flow-step="result"] .resultColumns p,#main[data-flow-step="result"] .finalResult p{font-size:18px;font-weight:700;line-height:1.4;margin:8px 0}#main[data-flow-step="result"] .qualityOutcome{font-size:18px;font-weight:700}#main[data-flow-step="result"] .resultColumns{margin:4px 0}

#main[data-flow-step="result"] .resultColumns>div>span:first-child,#main[data-flow-step="result"] .finalResult h3{font-size:18px;font-weight:700;margin:6px 0 8px}#main[data-flow-step="result"] .resultColumns>div{padding:0}

.terminalResultRow{display:grid;grid-template-columns:repeat(var(--result-count),minmax(0,1fr));gap:22px;align-items:start;padding:20px 12px}.terminalResultTile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:15px}.terminalResultLabel{font-size:20px;font-weight:700}.terminalResultTile .resultBadge{width:90px!important;height:90px!important;margin:0;position:relative}.terminalResultTile .resultBadge svg{width:48px!important;height:48px!important}.terminalResultTile .crossedIcon:after{content:"";position:absolute;width:58px;height:3px;background:currentColor;transform:rotate(-45deg);top:43px;left:16px}.terminalResultValue{font-size:19px;font-weight:700}.terminalResultValue[data-result=G]{color:#287d42}.terminalResultValue[data-result=O]{color:#9b5a00}.terminalResultValue[data-result=R]{color:#b62c40}.terminalResultValue[data-result=N]{color:#637783}.terminalFinal{text-align:center;padding:14px 16px;margin-top:12px;border-top:1px solid #e5eaed}.terminalFinal p{font-size:21px;font-weight:700;line-height:1.5;margin:8px 0}.terminalFinal[data-result=G]{color:#287d42}.terminalFinal[data-result=O]{color:#9b5a00}.terminalFinal[data-result=R]{color:#b62c40}#main[data-flow-step="result"]>.assessmentCard{padding-bottom:12px}

/* Keep the sleep total visible above navigation; full guidance is in help. */
#main[data-flow-step="question"] .questionTabs{margin-bottom:8px}#main[data-flow-step="question"] .questionTabs .questionHelp{flex:0 0 44px;border:2px solid #09a9c7;border-radius:9px;color:#078aa4;background:white;font-size:23px;font-weight:bold;padding:4px}
#main[data-flow-step="question"] .sleepPeriod{padding:8px;margin-bottom:6px}#main[data-flow-step="question"] .sleepPeriodHeading{margin-bottom:2px;font-size:14px}#main[data-flow-step="question"] .rangeValues>div{padding:5px}#main[data-flow-step="question"] .dualTrack{margin:10px 0;height:25px}#main[data-flow-step="question"] .sleepPeriodsHint{display:none}#main[data-flow-step="question"] .sleepTotalRow{margin-top:7px;min-height:38px;padding:7px 12px}#main[data-flow-step="question"] .sleepTotalRow strong{font-size:20px}#noticeText{white-space:pre-line;font-size:17px;line-height:1.5}#notice{max-height:540px}#noticeAccept{min-height:48px;font-size:17px}

.headerUser{font-size:20px;font-weight:600;text-align:right;line-height:1.25;max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.headerUser:empty{display:none}.headerInner{justify-content:space-between;gap:20px}
#main.assessmentFlow[data-flow-step="choice"]{grid-template-rows:minmax(220px,1fr) auto}

/* Leave room for the complete total, including three-period navigation. */
#main[data-flow-step="question"] .assessmentCard{padding:10px 16px 12px}#main[data-flow-step="question"] .sectionTitle{margin-bottom:8px}#main[data-flow-step="question"] .periodTabs{margin-bottom:7px}#main[data-flow-step="question"] .sleepPeriodHeading{line-height:20px}#main[data-flow-step="question"] .sleepTotalRow{flex-shrink:0;margin-top:6px;min-height:38px}#main[data-flow-step="question"] .sleepPeriod .rangeValues{margin-top:4px;margin-bottom:4px}#main[data-flow-step="question"] .sleepPeriod .dualTrack{margin:7px 0}

/* Uniform visible release; placement remains native to each layout. */
[data-wiss-footer]{font-size:12px;font-weight:400;line-height:1.4;text-align:center;color:#74858b;}

/* Recorder: reserve space for controls; long readings scroll inside their own panel. */
#main.assessmentFlow[data-flow-step="record"] > .assessmentCard {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}
#main[data-flow-step="record"] .sectionTitle,
#main[data-flow-step="record"] .recordStatus,
#main[data-flow-step="record"] .recordControls {
	flex: none;
}
#main[data-flow-step="record"] .recordLandscape {
	flex: 1 1 0;
	min-width: 0;
	min-height: 0;
	grid-template-columns: minmax(0, 1fr) 180px;
	grid-template-rows: minmax(0, 1fr);
}
#main[data-flow-step="record"] .recordLandscape .readingText {
	min-width: 0;
	min-height: 0;
	max-height: 100%;
	overflow-y: auto;
	overflow-wrap: anywhere;
	overscroll-behavior-y: contain;
	scrollbar-gutter: stable;
}
#main[data-flow-step="record"] .recordLandscape .recordMeter {
	width: min(155px, 25vh);
	height: min(155px, 25vh);
}
#main[data-flow-step="record"] .recordStatus {
	min-height: 24px;
	margin: 8px 0;
}
#main[data-flow-step="record"] .assessmentActions {
	margin: 0;
}
