@font-face{font-family:Microgramma;src:url('/smartfit/assets/microgramma-medium.otf') format('opentype');font-display:swap}
/* Summary uses the same Microgramma family, with an explicit weight hierarchy. */
:root{color-scheme:dark;--bg:#090c10;--panel:#10161d;--line:#29333e;--text:#edf0f2;--muted:#9ca8b5;--accent:#f4f4f2;--red:#ff3746;--font:Microgramma}
*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);font-family:Microgramma;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}input:focus,select:focus,textarea:focus{outline:1px solid #f5f5f5;border-color:#f5f5f5}h1,h2,h3,.micro,.btn,.brand,.tabs,.number{font-family:var(--font);font-weight:400;letter-spacing:.13em}h1,h2,h3,p{margin:0}h1{font-size:clamp(32px,4.7vw,70px);line-height:1.13}h2{font-size:clamp(23px,2.5vw,37px);line-height:1.3}h3{font-size:14px}.muted{color:var(--muted)}.micro{font-size:10px;text-transform:uppercase}.eyebrow{color:var(--accent);margin-bottom:25px}.shell{max-width:1440px;margin:auto;padding:0 5vw}header{height:99px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:22px;font-size:13px}.brand img{width:72px;filter:brightness(0) invert(1)}.brand span{border-left:1px solid var(--line);padding-left:22px}.preview{margin-left:auto;border:1px solid var(--line);border-radius:30px;padding:7px 12px;color:var(--muted);font-size:10px}.tabs{display:flex;gap:32px;overflow:auto;font-size:10px;padding-top:20px}.tabs button{font:inherit;letter-spacing:inherit;white-space:nowrap;border:0;background:none;color:var(--muted);padding:10px 0 15px;border-bottom:2px solid transparent}.tabs button.active{color:white;border-color:white}main{padding:45px 0 60px;min-height:76vh}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;align-items:center;min-height:510px}.hero h1 span{color:#8f9daa;display:block}.hero p.lead{max-width:480px;margin:25px 0 30px;font-size:17px;color:#b7c1cb;line-height:1.8}.btn{display:inline-flex;justify-content:center;align-items:center;gap:18px;padding:17px 23px;border:1px solid #a1a9b1;border-radius:7px;background:none;color:white;font-size:11px;line-height:1.5;transition:background .2s,transform .2s}.btn:hover{background:#ffffff0c;transform:translateY(-2px)}.btn.primary{background:#ecf1f3;color:#0d1217;border-color:#ecf1f3}.btn.small{font-size:9px;padding:10px 14px}.actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.hero-note{font-size:12px;color:var(--muted);margin-top:18px;max-width:440px}.figure-panel{position:relative;min-height:490px;display:grid;place-items:center;background:radial-gradient(ellipse,#22313d8a,transparent 67%);border:1px solid var(--line);border-radius:24px;overflow:hidden}.figure-panel:before{content:'';position:absolute;inset:0;background:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:40px 40px}.figure-panel svg{height:410px;max-width:90%;z-index:1}.figure-panel .caption{position:absolute;left:22px;top:20px;color:var(--muted)}.figure-panel .foot{position:absolute;bottom:20px;left:22px;right:22px;display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.figure-panel .tag{position:absolute;right:22px;top:70px;color:var(--accent);font-size:10px;max-width:100px}.intro-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:40px;border-top:1px solid var(--line)}.intro-grid>div{padding:24px 25px 0 0}.intro-grid h3{margin-bottom:10px}.intro-grid p{color:var(--muted);font-size:13px;max-width:310px}.index{color:#80909e;font-family:var(--font);font-size:11px;display:block;margin-bottom:12px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.section-head p{color:var(--muted);margin-top:10px}.notice{padding:14px 18px;border-left:2px solid #62788b;background:#14202c66;color:#bac6d2;font-size:13px;margin:22px 0}.notice.warning{border-color:#f34448;background:#33151944;color:#f4f4f2}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.form-grid label{display:block;font-size:12px;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #364452;background:#0b1016;color:var(--text);padding:15px;border-radius:7px;margin-top:7px}textarea{resize:vertical;min-height:100px}.full{grid-column:1/-1}.form-wrap{max-width:810px;margin:0 auto}.form-wrap h2{margin:15px 0}.form-wrap .actions{margin-top:30px;justify-content:space-between}.help{font-size:12px;color:var(--muted);margin-top:6px}.step-line{display:flex;justify-content:space-between;gap:20px;margin-bottom:12px;color:var(--muted)}.progress{height:3px;background:#27303a;margin-bottom:36px}.progress i{display:block;height:100%;background:var(--accent);transition:width .3s}.workspace{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(260px,.72fr);gap:38px}.rail h3{font-size:10px;color:var(--muted);margin-bottom:16px}.rail-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.rail-grid button{aspect-ratio:1;background:#131b23;border:1px solid #28343f;border-radius:6px;color:#91a0ad;font:10px var(--font)}.rail-grid button.done{color:#f4f4f2;border-color:#69717a}.rail-grid button.current{background:#eef1f3;color:#13191e;border-color:white}.rail .help{margin:20px 0}.measure h2{font-size:clamp(22px,2.4vw,36px);margin:20px 0}.measure .instruction{font-size:16px;min-height:105px;color:#bbc6ce}.input-unit{display:flex;align-items:center;border-bottom:1px solid #5a6a78;margin:30px 0 15px;gap:20px}.input-unit input{font-family:var(--font);font-size:46px;border:0;margin:0;background:transparent;padding:10px 0;width:100%;min-width:0}.input-unit span{color:var(--muted);font-family:var(--font)}.check{display:flex;align-items:flex-start;gap:10px;margin:22px 0;line-height:1.6;font-size:13px;color:#b7c3cf}.check input{width:18px;height:18px;margin:2px 0;accent-color:#f4f4f2;flex-shrink:0}.measure .actions{justify-content:space-between;margin-top:25px}.measure .figure-panel{min-height:350px}.workspace>.figure-panel{min-height:420px;align-self:start}.workspace>.figure-panel svg{height:350px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-family:var(--font);letter-spacing:.1em;font-size:9px;font-weight:400;color:var(--muted);padding:18px 20px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:16px 20px;border-bottom:1px solid #222d37}tr:last-child td{border-bottom:0}td strong{font-weight:400;color:white}.badge{display:inline-block;padding:4px 9px;font-size:10px;border:1px solid #425061;border-radius:20px;white-space:nowrap}.badge.checked{border-color:#8f969e;color:#f4f4f2}.badge.recheck{color:#ffd596;border-color:#86734f}.empty{padding:65px 25px;text-align:center;border:1px solid var(--line);border-radius:16px;color:var(--muted)}.empty h3{color:white;margin-bottom:12px}.empty .btn{margin-top:22px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 34px;margin:28px 0}.summary-row{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);align-items:center;font-size:13px}.summary-row .number{color:var(--muted);font-size:10px;width:24px;flex-shrink:0}.summary-row strong{margin-left:auto;white-space:nowrap;font-weight:400}.summary-row button{padding:6px;color:var(--muted);background:transparent;border:0}.profile-strip{display:flex;gap:30px;flex-wrap:wrap;padding:20px 0;border-block:1px solid var(--line);margin:24px 0}.profile-strip small{display:block;color:var(--muted);font-size:10px}.pdf-frame{width:100%;height:650px;border:1px solid var(--line);border-radius:10px;background:#161a20;margin-top:20px}.search{max-width:330px;margin:0 0 20px}.result{max-width:720px;margin:60px auto;text-align:center}.result-mark{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#f4f4f215;border:1px solid #f4f4f2;color:#f4f4f2;font-size:30px;margin:0 auto 30px}.result p{margin:20px 0;color:var(--muted)}.result .actions{justify-content:center}footer{border-top:1px solid var(--line);padding:20px 0 28px;display:flex;justify-content:space-between;gap:20px;color:#7d8c9b;font-size:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(90vw,700px);padding:14px 20px;background:#eef1f3;color:#10151a;border-radius:8px;z-index:99;box-shadow:0 12px 40px #0008;display:none}#toast.show{display:block}.boot{height:100vh;display:grid;place-content:center;text-align:center;font-family:var(--font)}.boot span{font:13px Microgramma;color:var(--muted);margin-top:25px}dialog{max-width:600px;width:94vw;max-height:94dvh;border:1px solid #475665;border-radius:16px;background:#0e151d;color:#e9eef2;padding:25px}dialog::backdrop{background:#000b}dialog p{font-size:12px;color:var(--muted);margin:12px 0}.camera-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.camera-head h2{font-size:13px}.camera-head button{border:0;background:none;color:white;font-size:23px}.camera-view{height:min(58dvh,500px);position:relative;background:#030609;border-radius:10px;overflow:hidden}.camera-view video{width:100%;height:100%;object-fit:contain;transform:scaleX(-1)}.camera-view svg{position:absolute;inset:0;margin:auto;height:100%;max-width:100%;fill:#ffffff08;stroke:#ffffffaa;stroke-width:2;pointer-events:none}.hidden{display:none!important}
@media(max-width:1100px){.workspace{grid-template-columns:130px minmax(0,1fr) 260px;gap:24px}.rail-grid{grid-template-columns:repeat(4,1fr)}.shell{padding:0 3vw}.hero{gap:35px}.figure-panel{min-height:460px}}
@media(max-width:760px){header{height:80px;gap:10px}.brand{gap:12px;font-size:10px}.brand img{width:52px}.brand span{padding-left:12px}.preview{font-size:8px;padding:5px 8px}.shell{padding:0 22px}.tabs{gap:24px}.tabs button{font-size:9px}main{padding:30px 0 40px}.hero{grid-template-columns:1fr;gap:30px}.hero h1{font-size:41px}.hero p.lead{font-size:15px}.hero .figure-panel{min-height:340px}.figure-panel svg{height:290px}.intro-grid{grid-template-columns:1fr;gap:16px}.intro-grid>div{padding:12px 0}.form-grid{grid-template-columns:1fr}.workspace{grid-template-columns:1fr;gap:20px}.rail{order:2}.measure{order:0}.workspace>.figure-panel{order:1;min-height:270px}.workspace>.figure-panel svg{height:235px}.rail-grid{grid-template-columns:repeat(10,1fr)}.rail .help{display:none}.summary-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.progress{margin-bottom:25px}.measure h2{margin:12px 0}.measure .instruction{min-height:0}.input-unit{margin-top:20px}.figure-panel .tag{font-size:8px;right:15px;top:60px}.profile-strip{gap:16px}.pdf-frame{height:65vh}td,th{padding:12px}footer{flex-direction:column;gap:6px}.btn{padding:15px 18px;font-size:10px}.result{margin:30px auto}.result h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Match the M6 website typography, palette and outline actions. */
:root{--bg:#090a0c;--panel:#11151a;--line:#3f4852;--muted:#a6a7ab;--accent:#f4f4f2;--text-tracking:.4em}
body,body *{letter-spacing:var(--text-tracking)}
body{font-family:Microgramma;font-size:12px;line-height:1.9;background:radial-gradient(ellipse at 78% 26%,#1a2028 0,transparent 55%),#090a0c}
h1,h2,h3{font-weight:700}h1{font-size:clamp(30px,3.8vw,57px);line-height:1.5}h2{font-size:clamp(21px,2.3vw,32px);line-height:1.6}h3{line-height:1.8}
.hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:45px}.hero p.lead{font-size:12px;line-height:2.2;max-width:580px}.hero-note,.intro-grid p,.help{font-size:10px;line-height:2}.hero h1 span{margin-top:10px}
.brand img{flex-shrink:0}.brand,.tabs,.actions{min-width:0}.tabs{scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{font-size:9px}
.btn,.btn.primary{background:transparent;color:#f4f4f2;border:1px solid #a1a9b1;border-radius:8px;text-transform:uppercase;font-weight:700;line-height:1.8;box-shadow:none;transition:box-shadow .25s,border-color .25s,transform .25s}
@media(hover:hover){.btn:not(:disabled):hover{background:transparent;border-color:#fff;box-shadow:0 0 18px #ffffff24,inset 0 0 12px #ffffff0c;animation:cta-bounce .48s both}}
@keyframes cta-bounce{0%{transform:scale(1)}45%{transform:translateY(-3px) scale(1.035)}72%{transform:translateY(1px) scale(1.012)}100%{transform:translateY(-1px) scale(1.02)}}
.measure .instruction{font-size:12px;line-height:2}.notice,.check{font-size:10px;line-height:2}.form-grid label{font-size:10px}.figure-panel{border-radius:16px}.intro-grid h3{font-size:11px}.summary-row{font-size:10px}.summary-row button{font-size:8px}.workspace{grid-template-columns:140px minmax(0,1fr) minmax(280px,.8fr);gap:28px}.rail-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:1100px){.workspace{grid-template-columns:110px minmax(0,1fr) 280px;gap:20px}.hero{gap:25px}.brand{font-size:10px}.btn{font-size:9px}}
@media(max-width:760px){.hero{grid-template-columns:1fr}.hero h1{font-size:clamp(25px,7vw,39px)}.workspace{grid-template-columns:1fr}.rail-grid{grid-template-columns:repeat(5,1fr)}.brand{font-size:8px;gap:8px}.brand img{width:45px}.brand span{padding-left:8px}.preview{font-size:6px;letter-spacing:.2em}.btn{max-width:100%;font-size:9px}.measure h2{font-size:22px;overflow-wrap:anywhere}.tabs{gap:20px}.tabs button{font-size:8px}.section-head h2{overflow-wrap:anywhere}.actions{gap:12px}.figure-panel .foot{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.tutorial-panel{border:1px solid #3f4852;border-radius:12px;padding:22px;align-self:start;min-width:0;background:#0d1116}.tutorial-panel>p:first-child{color:#a6a7ab;margin-bottom:15px}.tutorial-panel h3{font-size:11px;margin-bottom:20px}.tutorial-panel video{display:block;width:100%;max-height:470px;aspect-ratio:16/9;object-fit:contain;background:#050607;border-radius:6px}.tutorial-panel .help{margin-top:16px}input:disabled{opacity:.35;cursor:not-allowed}.summary-row button{min-width:66px}
@media(max-width:760px){.tutorial-panel{order:-1}.tutorial-panel video{max-height:360px}.tutorial-panel{padding:18px}.tutorial-panel h3{font-size:10px}}

body,body *{letter-spacing:var(--text-tracking)!important}.tutorial-panel video{height:auto}.btn{font-size:10px}.btn.small{font-size:8px}

.rail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rail-grid button{padding:0;min-width:0}.measure{min-width:0}.measure h2{font-size:clamp(19px,2vw,28px);overflow-wrap:anywhere}.rail h3{font-size:9px}@media(max-width:760px){.rail-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Task-focused app: immediate profile entry and one measurement at a time. */
.shell{max-width:1600px;padding:0 4vw}header{height:78px}.tabs{padding-top:10px}main{padding:32px 0 40px;min-height:0}.form-wrap{max-width:1050px;margin:15px auto}.form-wrap h2{margin:0 0 25px}.form-grid{gap:20px 30px}.form-grid .full{grid-column:1/-1}.form-wrap .actions{justify-content:flex-end;margin-top:28px}.form-wrap .actions .help{margin-right:auto}
.workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:5vw;align-items:start}.tutorial-panel{grid-column:1;grid-row:1;border:0;padding:0;background:transparent}.measure{grid-column:2;grid-row:1}.tutorial-panel video{width:100%;height:auto;max-height:65vh}.tutorial-panel>p:first-child{margin-bottom:15px}.measure h2{font-size:clamp(20px,2vw,30px);margin:0 0 20px;line-height:1.6}.measure .instruction{min-height:0;margin-bottom:20px}.notice{margin:16px 0;padding:10px 14px}.input-unit{margin:18px 0 10px}.check{margin:16px 0}.progress{margin-bottom:28px}.measure .actions{margin-top:24px}.step-line{font-size:10px}
p:not(.micro),.help,.notice,.instruction,.check,.form-grid label,input,select,textarea,.summary-row,.profile-strip,td{letter-spacing:.06em!important;font-size:13px;line-height:1.7}.micro,.btn,.tabs,h1,h2,h3{letter-spacing:.22em!important}.input-unit input{font-size:44px}.help{font-size:11px}.form-grid input,.form-grid select{padding:13px}.tabs button{font-size:10px}
@media(max-width:760px){.shell{padding:0 20px}header{height:66px}.tabs{gap:22px}.tabs button{font-size:8px}main{padding:22px 0}.form-wrap{margin:0}.form-grid{gap:13px}.form-grid input,.form-grid select{padding:10px;margin-top:4px}.form-wrap h2{font-size:21px;margin-bottom:18px}.form-grid{margin-top:15px!important}.workspace{display:flex;flex-direction:column;gap:18px}.tutorial-panel{width:100%;order:0}.measure{width:100%;order:1}.tutorial-panel video{max-height:240px}.tutorial-panel>p:first-child{font-size:9px;margin-bottom:8px}.measure h2{font-size:19px;margin:0 0 10px}.measure .instruction{margin-bottom:10px;font-size:12px}.progress{margin-bottom:18px}.notice,.check{font-size:11px;margin:10px 0}.input-unit{margin:10px 0}.input-unit input{font-size:32px}.measure .actions{margin-top:16px}.step-line{font-size:8px}.btn{font-size:9px;padding:13px 15px}.form-wrap .actions{margin-top:20px}.preview{font-size:6px}}

.fit-entry{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:6vw;min-height:65vh}.fit-entry h1{font-size:clamp(30px,3.3vw,54px);letter-spacing:.2em!important;line-height:1.5;margin:24px 0}.fit-entry h1 span{color:#92999f}.fit-entry p:not(.micro){max-width:530px;font-size:14px;margin-bottom:28px}.fit-entry small{display:block;color:#90979f;font-size:10px;letter-spacing:.06em!important;margin-top:25px}.fit-entry .figure-panel{min-height:450px}.scan-intro{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:6vw;max-width:1300px;margin:15px auto}.scan-intro h2{margin:20px 0}.scan-intro ul{padding-left:20px;line-height:2.2;font-size:13px;letter-spacing:.06em!important}.scan-intro li{letter-spacing:.06em!important}.scan-intro .help{margin:25px 0}.scan-symbol{height:420px;border:1px solid #3f4852;border-radius:18px;position:relative;background:radial-gradient(ellipse,#35404a55,transparent 70%);display:grid;place-content:center}.scan-symbol span{width:85px;height:290px;border:1px solid #a6adb4;border-radius:45% 45% 25% 25%}.scan-symbol i{position:absolute;left:12%;right:12%;top:45%;height:1px;background:#eee;box-shadow:0 0 18px white}.scan-symbol b{position:absolute;bottom:25px;width:100%;text-align:center;font-size:9px}.scan-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5vw;align-items:center}.scan-live{position:relative;height:min(68vh,680px);background:#040608;border:1px solid #3f4852;border-radius:14px;overflow:hidden}.scan-live video,.scan-live canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform:scaleX(-1)}.scan-live canvas{pointer-events:none}.scan-controls h2{margin:20px 0}.scan-controls .actions{margin:25px 0}#scan-message{min-height:60px;margin:22px 0;padding:15px;border-left:1px solid #a6adb4;background:#ffffff05}#scan-count{position:absolute;inset:40% 0 auto;text-align:center;font:60px Microgramma;color:white;text-shadow:0 0 20px #000}.scan-review{max-width:1100px;margin:auto}.scan-review h2{margin:20px 0}.scan-shots,.scan-silhouettes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.scan-shots figure,.scan-silhouettes figure{margin:0;text-align:center}.scan-shots img{height:260px;width:100%;object-fit:contain;background:#050607;border:1px solid #3f4852;border-radius:10px}.scan-shots figcaption,.scan-silhouettes figcaption{font-size:9px;margin-top:12px}.scan-estimates{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.scan-estimates>div{border-top:1px solid #3f4852;padding:15px 0}.scan-estimates span,.scan-estimates strong,.scan-estimates small{display:block;letter-spacing:.05em!important;font-size:12px}.scan-estimates strong{font-size:17px;margin:10px 0}.scan-review .actions{margin:25px 0}.scan-reference{border-left:2px solid #969ea6;padding:10px 15px;margin:16px 0}.scan-reference small{display:block;font-size:10px;letter-spacing:.05em!important;color:#a6adb4}.scan-archive{margin:30px 0;border:1px solid #3f4852;padding:25px;border-radius:12px}.scan-silhouettes svg{height:220px;width:100%}
@media(max-width:760px){.fit-entry,.scan-intro,.scan-layout{grid-template-columns:1fr;gap:25px;min-height:0}.fit-entry{padding-top:15px}.fit-entry h1{font-size:27px;margin:18px 0}.fit-entry .figure-panel{min-height:220px;order:-1}.fit-entry .figure-panel svg{height:200px}.fit-entry .figure-panel .foot{display:none}.fit-entry p:not(.micro){font-size:12px;margin-bottom:20px}.fit-entry small{margin-top:18px}.scan-symbol{display:none}.scan-intro h2{font-size:23px}.scan-live{height:43vh}.scan-controls h2{font-size:21px;margin:10px 0}.scan-controls .actions{margin:15px 0}#scan-message{min-height:0;margin:12px 0}.scan-shots{gap:8px}.scan-shots img{height:160px}.scan-shots figcaption{font-size:7px}.scan-estimates{grid-template-columns:1fr;gap:0}.scan-review h2{font-size:22px}}
/* Camera takes its own viewport on phones: no square preview or page chrome. */
@media(max-width:760px){
 .scan-layout{position:fixed;inset:0;z-index:100;background:#090c10;height:100dvh;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(260px,1fr) auto;gap:0;overflow:auto;padding-top:env(safe-area-inset-top)}
 .scan-live{height:100%;min-height:260px;width:100%;border:0;border-radius:0}
 .scan-live video,.scan-live canvas{object-fit:contain}
 .scan-controls{padding:12px 18px max(14px,env(safe-area-inset-bottom));background:#090c10}
 .scan-controls .micro{font-size:10px}.scan-controls h2{font-size:19px;margin:3px 0 6px}
 #scan-direction{font-size:12px;line-height:1.45;letter-spacing:.02em!important}
 .scan-controls #scan-message{font-size:17px;font-weight:700;line-height:1.4;letter-spacing:.02em!important;padding:8px 10px;margin:8px 0;min-height:0}
 .scan-controls .check{font-size:11px;line-height:1.4;letter-spacing:.02em!important}
 .scan-controls .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 0}
 .scan-controls .btn{min-height:46px;padding:10px;font-size:10px;letter-spacing:.1em!important}
 .scan-controls>.help{display:none}
}
@media(max-width:760px) and (orientation:landscape){
 .scan-layout{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.scan-controls{overflow:auto}.scan-live{min-height:0}
}

#scan-voice{margin-top:8px;min-height:40px}
/* The live image occupies the viewport; controls are compact overlays. */
.scan-layout{position:fixed;inset:0;z-index:100;background:#050607;display:block;height:100dvh;overflow:hidden;padding:0}
.scan-layout .scan-live{position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;border-radius:0}
.scan-layout .scan-controls{position:absolute;inset:0;pointer-events:none;padding:0;background:none;overflow:visible}
.scan-controls #scan-step{position:absolute;top:calc(env(safe-area-inset-top) + 18px);left:20px;text-shadow:0 2px 8px #000}
.scan-controls #scan-title{position:absolute;top:calc(env(safe-area-inset-top) + 35px);left:20px;font-size:20px;text-shadow:0 2px 8px #000}
.scan-controls #scan-direction{position:absolute;top:calc(env(safe-area-inset-top) + 82px);left:20px;right:20px;font-size:13px;text-shadow:0 2px 8px #000;max-width:650px}
.scan-controls #scan-message{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 85px);left:16px;right:16px;text-align:center;border:0;border-radius:10px;background:#050607b8;font-size:clamp(16px,3vw,24px);padding:12px;margin:0;min-height:0;letter-spacing:.02em!important}
.scan-controls .actions{position:absolute;left:16px;bottom:calc(env(safe-area-inset-bottom) + 14px);display:block;margin:0;pointer-events:auto}
.scan-controls #scan-voice{position:absolute;right:16px;bottom:calc(env(safe-area-inset-bottom) + 14px);margin:0;pointer-events:auto}
.scan-controls .btn{background:#050607b8;min-height:46px;font-size:9px;padding:10px;max-width:44vw;letter-spacing:.06em!important}
.scan-controls>.help{display:none}
#scan-count{top:42%;font-size:76px;color:#36e58b;text-shadow:0 2px 12px #000}
/* Fill the actual portrait viewport, not a contained landscape strip. */
.scan-layout .scan-live #scan-video{object-fit:cover;object-position:center;width:100%;height:100%;max-width:none;max-height:none}
.scan-layout .scan-live #scan-overlay{object-fit:fill;width:100%;height:100%;max-width:none;max-height:none}

.syxa-guide{border-left:1px solid #89919b;padding-left:14px;margin:18px 0}.syxa-guide .micro{color:#a6adb4}.syxa-guide .instruction{margin:10px 0}.syxa-guide .btn{margin-bottom:12px}

/* Preserve the full sensor image without digital enlargement or cropping. */
.scan-layout .scan-live #scan-video,.scan-layout .scan-live #scan-overlay{object-fit:contain;object-position:center}

#language{width:auto;max-width:150px;margin-left:auto;background:#101216;color:#fff;border:1px solid #777;border-radius:8px;padding:9px;font:inherit;font-size:12px}
.draft-save{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #30363d;padding-top:22px;margin-top:28px}.draft-actions{display:flex;align-items:center;gap:12px}.delete-draft{padding:10px!important;min-width:44px;min-height:44px;display:grid;place-items:center}.delete-draft svg{width:20px;height:20px}
.language-picker{margin-left:auto;position:relative;z-index:20;font-size:12px;letter-spacing:.16em}.language-picker summary{list-style:none;border:1px solid #626971;border-radius:9px;min-height:44px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}.language-picker summary::-webkit-details-marker{display:none}.language-flag{width:25px;height:17px;border-radius:2px;flex-shrink:0}.language-options{position:absolute;right:0;top:calc(100% + 8px);min-width:125px;background:#101318;border:1px solid #626971;border-radius:9px;padding:6px;box-shadow:0 12px 30px #0008}.language-options button{display:flex;align-items:center;gap:12px;width:100%;padding:10px;background:transparent;border:0;border-radius:5px;min-height:44px;color:#fff;font:inherit;letter-spacing:inherit;cursor:pointer}.language-options button:hover,.language-options button:focus-visible,.language-options button[aria-pressed=true]{background:#ffffff15}.language-picker summary:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:600px){.draft-save{gap:10px}.draft-save .help{font-size:11px;line-height:1.5}.draft-actions{gap:6px}.language-picker{font-size:11px}}
@media(max-width:600px){.draft-table,.draft-table tbody{display:block;width:100%;min-width:0}.draft-table thead{display:none}.draft-table tr{display:grid;grid-template-columns:1fr auto;padding:14px;gap:10px;border-bottom:1px solid #30363d}.draft-table tr:last-child{border-bottom:0}.draft-table td{padding:0;border:0;white-space:normal;min-width:0;overflow-wrap:anywhere}.draft-table td:first-child{grid-column:1/-1}.draft-table td:nth-child(2),.draft-table td:nth-child(3){font-size:11px;color:#a9afb6}.draft-table td:last-child{grid-column:1/-1}.draft-table .draft-actions{justify-content:space-between}.draft-table .delete-draft{flex:none}}
.summary-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:24px 0}
.summary-row{display:grid;grid-template-columns:42px minmax(0,1fr) 120px 100px;gap:20px;padding:20px 24px;align-items:center;text-transform:uppercase;background:#0c101580;min-width:0}
.summary-row:nth-child(even){background:#ffffff03}.summary-row:last-child{border-bottom:0}.summary-row .number{color:var(--red);font-size:18px;width:auto;font-weight:700;letter-spacing:.08em}
.summary-label{min-width:0}.summary-row .summary-label strong{display:block;color:white;font-weight:700;white-space:normal;letter-spacing:.06em;line-height:1.6;font-size:14px;margin:0}.summary-label small{color:var(--muted);display:block;font-size:11px;letter-spacing:.04em;margin-top:4px;font-weight:400}
.summary-value{font-size:20px;font-weight:700;color:var(--red);white-space:nowrap;text-align:right;letter-spacing:.05em}.summary-value small{font-size:11px;color:var(--muted);font-weight:400;margin-left:8px}.summary-row button{font-size:11px;min-height:44px;font-weight:400;letter-spacing:.06em}.summary-row:not(:has(button)){grid-template-columns:42px minmax(0,1fr) 120px}
.profile-strip{text-transform:uppercase}.prediction{margin:22px 0;padding:18px 22px;border:1px solid #51545a;border-radius:10px}.prediction>span,.prediction>small{display:block;color:var(--muted);font-size:11px;letter-spacing:.06em}.prediction>strong{display:block;color:var(--red);font-size:28px;letter-spacing:.05em}.prediction p{color:#c5c6ca;font-size:12px!important;margin:4px 0}.prediction.unavailable{border-style:dashed}.input-unit input[readonly]{color:var(--red)}
#pdf-preview{max-width:1200px;width:95vw;height:94dvh;padding:20px}#pdf-preview .pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}#pdf-preview .pdf-frame{height:calc(100% - 75px);margin-top:12px}.summary-grid~.help,.section-head:has(+.profile-strip) p{text-transform:uppercase}
@media(max-width:760px){.summary-row,.summary-row:not(:has(button)){grid-template-columns:28px minmax(0,1fr) 84px;gap:10px;padding:16px 12px}.summary-row .number{font-size:14px}.summary-row .summary-label strong{font-size:12px}.summary-row button{grid-column:2/4;justify-self:end;padding:0 4px;min-height:36px}.summary-value{font-size:16px}.summary-value small{font-size:10px;margin-left:4px}.summary-label small{font-size:10px}.summary-grid{margin:18px 0}#pdf-preview{padding:12px}}
.review-view{text-transform:uppercase}.review-view .help,.review-view p,.review-view label{font-weight:400;color:var(--muted)}
.back-row{margin-bottom:24px}.tutorial-posture{border-top:1px solid #414141;margin-top:20px;padding-top:18px}
.tabs button[data-view="admin"]{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}
.tabs .panel-label{font-size:12px;letter-spacing:.18em!important}
.tabs .panel-mark{width:29px;height:20px;object-fit:contain;filter:brightness(0) invert(1);flex-shrink:0}
@media(max-width:760px){.tabs .panel-label{font-size:10px}.tabs .panel-mark{width:25px;height:18px}.tabs button[data-view="admin"]{gap:5px}}
.tutorial-posture strong{font-size:11px;letter-spacing:.1em!important;color:white;display:block;margin-bottom:8px}
.tutorial-posture p{font-size:12px;color:#c9c9c9;line-height:1.7}
.tutorial-posture .forearm-note{border-left:2px solid var(--red);padding-left:12px;margin-top:14px;color:white;font-weight:700}
.scan-controls .actions{display:flex;gap:10px}
.body-measure-notice{border:1px solid #454545;border-left:3px solid var(--red);border-radius:12px;padding:18px 22px;margin:0 0 28px;background:#191919}
.body-measure-notice strong{display:block;color:#fff;font-size:12px;font-weight:700;letter-spacing:.12em!important;margin-bottom:6px}
.body-measure-notice p{color:#ccc;font-size:13px;line-height:1.7}
@media(max-width:760px){.body-measure-notice{padding:14px 16px;margin-bottom:22px}.body-measure-notice strong{font-size:11px}.body-measure-notice p{font-size:12px}}
/* Neutral full-page canvas and a focused measurement workspace. */
:root{--bg:#101010;--panel:#161616;--line:#343434;--muted:#aaa}
html{min-height:100%;background:var(--bg)}
body{min-height:100dvh;background:var(--bg)}
.shell,main{background:transparent}
header{border-color:#303030}
.tabs button{padding-inline:8px;border-radius:8px 8px 0 0}
.tabs button.active{background:#ffffff06}
.figure-panel,.scan-symbol{background:#161616}
.figure-panel:before{background:none}
.workspace{gap:clamp(24px,4vw,64px);align-items:start}
.tutorial-panel{padding:clamp(14px,2vw,26px);border:1px solid #3b3b3b;border-radius:24px;background:#151515;box-shadow:0 16px 40px #0002}
.tutorial-panel>p:first-child{display:flex;align-items:center;gap:12px;color:#f4f4f4;margin-bottom:18px}
.tutorial-panel>p:first-child:before{content:'';width:7px;height:7px;flex:none;background:var(--red);border-radius:50%}
.tutorial-panel video{aspect-ratio:auto;max-height:58vh;object-fit:contain;background:#090909;border-radius:14px;border:1px solid #292929}
.tutorial-panel .help{margin-top:14px;color:#999}
.measure h2{font-size:clamp(22px,2.2vw,34px);line-height:1.4;margin:4px 0 24px}
.syxa-guide{border:0;padding:0;margin:20px 0 24px}
.syxa-guide .micro{font-size:9px;color:#999}
.syxa-guide .instruction{font-size:14px;line-height:1.8;color:#dedede;margin-top:12px}
.notice{background:#ffffff05;border-left:2px solid #777;border-radius:0 10px 10px 0;color:#bbb}
.input-unit{border:1px solid #4a4a4a;border-radius:14px;padding:10px 20px;margin:10px 0 16px;background:#161616}
.input-unit:focus-within{border-color:#eee;box-shadow:0 0 0 3px #ffffff08}
.input-unit input{font-size:44px;line-height:1.2;padding:8px 0}
.input-unit span{font-size:12px}
.measure .actions{padding-top:8px;gap:14px}
.measure .actions .btn{flex:1;min-height:50px}
.progress{height:2px;border-radius:3px;background:#303030;margin-bottom:32px;overflow:hidden}
.progress i{background:#f4f4f4;border-radius:3px}
input,select,textarea,dialog,.language-options{background:#161616;border-color:#444}
.summary-row{background:#141414}.summary-row:nth-child(even){background:#191919}
.form-wrap{padding:clamp(20px,3vw,40px);border:1px solid #333;border-radius:22px;background:#141414}
@media(max-width:760px){
 .workspace{gap:24px}.tutorial-panel{padding:12px;border-radius:18px}
 .tutorial-panel video{max-height:34dvh;border-radius:10px}
 .tutorial-panel>p:first-child{margin:2px 0 12px}.tutorial-panel .help{margin-top:10px;font-size:10px}
 .measure h2{font-size:21px;margin-bottom:18px}.syxa-guide{margin:16px 0}
 .syxa-guide .instruction{font-size:12px}.input-unit{padding:8px 16px}.input-unit input{font-size:36px}
 .form-wrap{padding:20px 16px;border-radius:18px}.measure .actions .btn{padding:12px 8px;font-size:9px}
}
@media(max-width:760px){.summary-row .summary-label{grid-column:2/4}.summary-row .summary-value{grid-column:2;grid-row:2;text-align:left}.summary-row button{grid-column:3;grid-row:2}.summary-row:not(:has(button)) .summary-value{grid-column:2/4}.summary-row .number{align-self:start}.summary-row{row-gap:8px}}

.save-warning{color:var(--red);font-weight:700;text-transform:uppercase;letter-spacing:.18em!important;line-height:1.8;border:1px solid var(--red);border-radius:14px;background:transparent;padding:18px 22px;margin:24px 0;box-shadow:0 0 18px #ed0e1a30;font-size:12px}

.scan-body-reference{height:auto;aspect-ratio:1;max-width:600px;width:100%;justify-self:center;display:grid;place-items:center;background:#000;overflow:hidden;border-color:#383838}
.scan-body-reference img{display:block;width:100%;height:100%;object-fit:contain;filter:grayscale(1);border-radius:inherit}
@media(max-width:760px){.scan-body-reference{display:grid;max-width:320px}}

.scan-body-reference{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.scan-body-reference img{border-radius:0;filter:grayscale(1);mix-blend-mode:screen}

.measurement-hero{align-self:stretch;min-height:450px;position:relative;border:0;background:transparent;pointer-events:none}
.measurement-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center;filter:grayscale(1) brightness(.72);mask-image:linear-gradient(to right,transparent,#000 24%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 18%,#000 80%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 24%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 18%,#000 80%,transparent);-webkit-mask-composite:source-in}
@media(max-width:760px){.measurement-hero{min-height:230px;order:-1}.measurement-hero img{object-position:center}}

.fit-entry-centered{display:flex;justify-content:center;align-items:center;text-align:center;min-height:72vh;padding:42px 0 60px}
.fit-entry-centered>div{width:100%;max-width:1100px;margin:0 auto}
.fit-entry-centered .entry-wordmark{display:block;width:clamp(130px,14vw,200px);height:auto;margin:0 auto 22px;filter:brightness(0) invert(1)}
.fit-entry-centered .micro{font-size:14px;letter-spacing:.22em!important;margin:0 auto 24px}
.fit-entry-centered h1{font-size:clamp(34px,4.5vw,70px);line-height:1.35;letter-spacing:.16em!important;margin:24px 0 30px}
.fit-entry-centered p:not(.micro){max-width:790px;margin:0 auto 34px;font-size:clamp(15px,1.4vw,20px);line-height:1.8}
.fit-entry-centered .actions{justify-content:center;gap:22px;margin:0 auto 24px;flex-wrap:wrap}
.fit-entry-centered .btn{font-size:14px;min-height:64px;padding:20px 30px}
.fit-entry-centered small{font-size:13px;margin-top:26px;line-height:1.8}
@media(max-width:760px){.fit-entry-centered{min-height:0;padding:30px 0 44px}.fit-entry-centered h1{font-size:clamp(27px,7vw,42px);letter-spacing:.12em!important}.fit-entry-centered .actions{gap:16px}.fit-entry-centered .btn{font-size:12px;min-height:60px;padding:18px 22px;width:min(100%,350px)}.fit-entry-centered small{font-size:11px}.fit-entry-centered .micro{font-size:12px}}

.fit-entry-centered{width:100%;margin-inline:auto}
.fit-entry-centered>div{display:flex;flex-direction:column;align-items:center;text-align:center}
.fit-entry-centered .entry-wordmark{width:clamp(240px,35vw,500px);max-width:100%;margin-inline:auto}
.fit-entry-centered h1{line-height:1.5;padding-left:.16em;width:100%}
.fit-entry-centered p:not(.micro){line-height:1.6;width:100%}
.fit-entry-centered .actions{width:100%}
@media(max-width:760px){.fit-entry-centered h1{padding-left:.12em}}

.form-wrap .profile-paths{align-items:flex-start;justify-content:flex-start;gap:24px}
.profile-paths .scan-choice{text-align:center;max-width:100%}
.profile-paths .scan-choice .help{margin:10px 0 0;font-size:11px;line-height:1.6}
@media(max-width:760px){.profile-paths{flex-direction:column}.profile-paths>.btn,.profile-paths .scan-choice,.profile-paths .scan-choice .btn{width:100%}.profile-paths .btn{white-space:normal}}

.fit-entry-centered p:not(.micro){text-wrap:balance}
.form-wrap .profile-paths{justify-content:flex-end}
@media(max-width:760px){.form-wrap .profile-paths{align-items:flex-end}}
/* Responsive navigation and immediate interaction feedback */
.shell main,.workspace>* ,.form-grid>*{min-width:0}
.tabs{display:flex;flex-wrap:wrap;gap:clamp(12px,2vw,32px)}
.tabs button{min-height:48px;white-space:normal;line-height:1.6;transition:background .15s,box-shadow .15s,transform .15s}
.btn{white-space:normal;max-width:100%;line-height:1.6;overflow-wrap:anywhere;transition:transform .18s,box-shadow .18s,border-color .18s}
.btn:active,.tabs button:active{transform:scale(.96);box-shadow:0 0 16px #ffffff28}
.btn:focus-visible,.tabs button:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(hover:hover){.btn:hover,.tabs button:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 0 18px #ffffff22}}
.is-working body:before{content:'';position:fixed;inset:0 auto auto 0;width:100%;height:3px;background:linear-gradient(90deg,transparent,#fff,transparent);z-index:9999;animation:working 1s ease-in-out infinite}
.view-loading{padding:60px 0;min-height:240px;font-size:13px;letter-spacing:.16em;line-height:1.8}
.view-loading span{display:block;width:min(300px,100%);height:2px;background:linear-gradient(90deg,#333,#fff,#333);background-size:200% 100%;margin-top:25px;animation:working 1s ease-in-out infinite}
@keyframes working{50%{opacity:.35}}
.account-email{overflow-wrap:anywhere;color:#aaa;line-height:1.8}
.profile-strip>div,.summary-label,.section-head>div{min-width:0;overflow-wrap:anywhere}
select{max-width:100%;text-overflow:ellipsis}
@media(max-width:760px){
 .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .tabs button{font-size:9px;padding:10px 2px;letter-spacing:.08em!important;min-width:0}
 .tabs button[data-view="admin"]{flex-wrap:wrap;justify-content:center;gap:3px;flex-shrink:1}
 .tabs .panel-label{font-size:9px;letter-spacing:.04em!important}
 .tabs .panel-mark{width:24px;height:17px}
 h2{overflow-wrap:anywhere}.step-line{gap:10px;line-height:1.7}
 .section-head{flex-wrap:wrap;gap:16px}
 .table-wrap{overflow:visible}
 .table-wrap table,.table-wrap tbody,.table-wrap tr,.table-wrap td{display:block;width:100%;box-sizing:border-box}
 .table-wrap thead{display:none}
 .table-wrap tr{padding:18px 14px;border-bottom:1px solid #333}
 .table-wrap td{padding:6px 0;border:0;white-space:normal;overflow-wrap:anywhere}
 .table-wrap .draft-actions{justify-content:flex-start;flex-wrap:wrap}
 .draft-save{flex-wrap:wrap;gap:12px}
 .draft-save .help{line-height:1.8}
}
@media(prefers-reduced-motion:reduce){.btn,.tabs button{transition:none}.btn:hover,.tabs button:hover,.btn:active,.tabs button:active{transform:none}.view-loading span,.is-working body:before{animation:none}}
.profile-icon{width:17px;height:17px;vertical-align:middle;margin-right:6px;flex-shrink:0}
@media(max-width:760px){.tabs button[data-view="account"]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px}.profile-icon{margin:0;width:15px;height:15px}}
@media(max-width:360px){.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs button:nth-child(3){grid-column:1/-1;justify-self:center;padding-inline:16px}}
.header-tools{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.auth-panel{max-width:580px;margin:30px auto;text-align:center}.auth-wordmark{width:220px;max-width:100%;margin:0 auto 25px}.auth-panel h2{font-size:clamp(20px,3vw,30px);line-height:1.6}.auth-panel form{text-align:left;display:grid;gap:20px}.auth-panel input{width:100%;min-width:0}.auth-panel .google-login{width:100%;margin-top:24px}.auth-divider{color:#999;margin:24px 0}.auth-panel .actions{justify-content:center}.auth-panel p{line-height:1.8}.auth-panel label{display:grid;gap:8px}.auth-panel form>.btn{margin-top:8px}
@media(max-width:600px){.header-tools{gap:6px}.header-tools #sign-out{padding:8px;font-size:8px}.auth-panel{padding:22px 16px}.auth-panel .actions{flex-direction:column}.auth-panel .actions .btn{width:100%}}

.auth-panel .google-login{display:flex;align-items:center;justify-content:center;gap:12px}.google-login img{flex:none;width:22px;height:22px}.password-field{display:grid;gap:8px}.password-control{position:relative}.auth-panel .password-control input{padding-right:54px}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:transparent;color:#ddd;display:grid;place-items:center;cursor:pointer;border-radius:8px}.password-toggle svg{width:23px;height:23px}.password-toggle:hover{color:#fff;filter:drop-shadow(0 0 5px #ffffff70)}.password-toggle:focus-visible{outline:2px solid #fff;outline-offset:-3px}.password-toggle .eye-slash{display:none}.password-toggle[aria-pressed=true] .eye-slash{display:block}

#tutorial-status[data-state="required"]{color:#ff656c;border:1px solid #e53943;border-left-width:3px;background:#e5394310;border-radius:10px}#tutorial-status[data-state="complete"]{color:#65da96;border:1px solid #35b86b;border-left-width:3px;background:#35b86b10;border-radius:10px}

/* Fluid working surface: no fixed desktop-width shell. */
.shell{width:100%;max-width:none;padding-inline:clamp(18px,3.2vw,88px)}
main{min-height:calc(100dvh - 168px)}
.form-wrap:not(.auth-panel){width:100%;max-width:none}
.fit-entry-centered>div{max-width:none}
.fit-entry-centered h1{font-size:clamp(30px,4.2vw,90px)}
.fit-entry-centered .entry-wordmark{width:clamp(240px,30vw,640px)}
.fit-entry-centered p:not(.micro){max-width:52em;font-size:clamp(15px,1.15vw,24px)}
.workspace{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,3vw,72px)}
.tutorial-panel video{width:100%;max-height:64dvh}
.scan-intro{width:100%;max-width:none}
.app-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0 24px}
.app-tools .help{margin:0;flex-basis:100%;letter-spacing:.06em}
@media(min-width:1600px){body{font-size:14px}.form-grid{gap:28px 40px}.form-grid label{font-size:14px}input,select{min-height:58px}.summary-row{padding:22px}.measure .instruction{font-size:17px}.tabs button{font-size:12px}.btn{font-size:13px}}
@media(min-width:761px) and (max-width:1050px){.workspace{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.measure h2{font-size:clamp(20px,2.6vw,28px)}.measure .actions{flex-wrap:wrap}.measure .actions .btn{flex-basis:44%}.summary-grid{gap:12px 18px}.summary-row{grid-template-columns:28px minmax(0,1fr) auto}.summary-row button{grid-column:2/-1;justify-self:end}.tutorial-panel video{max-height:52dvh}}
@media(max-width:760px){.shell{padding-inline:clamp(16px,4.5vw,28px)}.workspace{grid-template-columns:minmax(0,1fr)}.fit-entry-centered h1{font-size:clamp(27px,7vw,44px)}.fit-entry-centered .entry-wordmark{width:min(80%,380px)}.form-grid{grid-template-columns:minmax(0,1fr)}.app-tools .btn{flex:1 1 150px}.tutorial-panel video{max-height:42dvh}}

.push-status{flex:1 1 100%;font-weight:700;letter-spacing:.1em;color:#ef3544}.push-status[data-state="active"]{color:#f4f4f2}.push-status[data-state="pending"]{color:#92989c}
.app-tools [hidden]{display:none!important}

.unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:29px;padding:0 4px;margin-left:10px;border:2px solid #ff0019;border-radius:4px;color:#ff0019;font-size:18px;line-height:1;letter-spacing:0!important;text-align:center;font-variant-numeric:tabular-nums;flex-shrink:0}.unread-badge[hidden]{display:none}
