:root{--background:#f7f7f5;--card:#fff;--popover:#fff;--foreground:#111;--primary:#111;--primary-foreground:#fff;--muted-foreground:#666;--border:#d6d6d2;--input:#d6d6d2;--camera:#000;--camera-foreground:#fff;--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;color:var(--foreground);background:var(--background);font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility}*{box-sizing:border-box}html{background:var(--background);min-width:320px;min-height:100%}body{background:var(--background);min-width:320px;min-height:100%;margin:0;overflow-x:hidden}button,input{font:inherit}button{color:inherit}button,label{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--foreground);outline-offset:3px}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}#root{min-height:100%}.button{border:1px solid var(--primary);background:var(--primary);min-width:44px;min-height:48px;color:var(--primary-foreground);cursor:pointer;border-radius:8px;padding:11px 18px;font-size:16px;font-weight:650;line-height:24px}.button:hover{opacity:.88}.button--wide{width:100%}.button--compact{min-height:44px;padding-block:9px;font-size:14px}.text-action{min-width:44px;min-height:44px;color:inherit;text-underline-offset:4px;cursor:pointer;background:0 0;border:0;padding:10px 0;font-size:14px;font-weight:650;line-height:20px;text-decoration:underline}.overline{color:var(--muted-foreground);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:12px;font-weight:650;line-height:16px}.prepare{width:calc(100% - 32px);max-width:960px;min-height:100dvh;margin:0 auto;padding:20px 0 32px}.brand-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:44px;display:flex}.brand-row__name{font-size:16px;font-weight:650;line-height:24px}.brand-row__status{color:var(--muted-foreground);font-size:12px;font-weight:650;line-height:16px}.prepare__layout{gap:32px;padding-top:32px;display:grid}.prepare__copy h1,.simple-state h1,.result h1{letter-spacing:-.025em;margin:8px 0 12px;font-size:28px;font-weight:650;line-height:32px}.prepare__lede{max-width:54ch;color:var(--muted-foreground);margin:0;font-size:16px;line-height:24px}.preparation-list{gap:16px;margin:32px 0 0;padding:0;list-style:none;display:grid}.preparation-list li{grid-template-columns:32px minmax(0,1fr);align-items:start;gap:12px;display:grid}.preparation-list__number{border:1px solid var(--foreground);border-radius:4px;place-items:center;width:32px;height:32px;font-size:12px;font-weight:650;display:grid}.preparation-list strong{font-size:16px;line-height:24px;display:block}.preparation-list p,.setup__pose{color:var(--muted-foreground);margin:2px 0 0;font-size:14px;line-height:20px}.setup__pose{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.prepare__controls{border:1px solid var(--border);background:var(--card);border-radius:12px;align-self:start;padding:20px}.band-field{border:0;min-width:0;margin:0 0 20px;padding:0}.band-field legend{margin-bottom:10px;font-size:14px;font-weight:650;line-height:20px}.band-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.band-option{border:1px solid var(--border);cursor:pointer;border-radius:8px;align-items:center;min-width:0;min-height:64px;padding:11px 10px;display:flex;position:relative}.band-option:has(input:checked){border:2px solid var(--foreground);padding:10px 9px}.band-option input{width:20px;height:20px;accent-color:var(--foreground);flex:none;margin:0 8px 0 0}.band-option span{min-width:0}.band-option strong,.band-option small{display:block}.band-option strong{font-size:13px;line-height:18px}.band-option small{color:var(--muted-foreground);font-size:11px;line-height:16px}.privacy-note{color:var(--muted-foreground);text-align:center;margin:12px 0 0;font-size:12px;line-height:18px}.simple-state{place-items:center;min-height:100dvh;padding:20px;display:grid}.simple-state__panel{border:1px solid var(--border);background:var(--card);border-radius:12px;width:100%;max-width:480px;padding:24px}.simple-state__panel>p:not(.overline){color:var(--muted-foreground);margin:0 0 20px;font-size:16px;line-height:24px}.result-page{min-height:100dvh;padding:20px 16px 32px}.result{width:100%;max-width:960px;margin:0 auto}.result__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:44px;display:flex}.result__header strong{font-size:16px}.result__intro{padding:28px 0 20px}.result__intro p{max-width:54ch;color:var(--muted-foreground);margin:0;font-size:16px;line-height:24px}.result__grid{gap:24px;display:grid}.measurement-panel{border:1px solid var(--border);background:var(--card);border-radius:12px;overflow:hidden}.confidence-label{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:48px;padding:12px 16px;font-size:14px;display:flex}.confidence-label strong{border:1px solid var(--foreground);text-transform:capitalize;border-radius:4px;padding:3px 7px}.measurement-table{font-variant-numeric:tabular-nums lining-nums;grid-template-columns:88px repeat(3,minmax(0,1fr));display:grid}.measurement-table>*{border-bottom:1px solid var(--border);text-align:right;min-width:0;padding:8px;font-size:12px;line-height:20px}.measurement-table>:nth-last-child(-n+4){border-bottom:0}.measurement-table__head{color:var(--muted-foreground);font-size:11px;font-weight:650}.measurement-table__system{color:var(--muted-foreground);text-align:left}.measurement-table__value{font-size:14px}.measurement-table__value[data-bound=best]{border-bottom:2px solid var(--foreground);color:var(--foreground);font-weight:750}.band-note{border-top:1px solid var(--border);color:var(--muted-foreground);margin:0;padding:12px 16px;font-size:12px;line-height:18px}.result__notes{border:1px solid var(--border);background:var(--card);border-radius:12px}.honesty-notes{margin:0;padding:0;list-style:none}.honesty-notes li{border-top:1px solid var(--border);padding:14px 16px}.honesty-notes li:first-child{border-top:0}.honesty-notes strong{margin-bottom:2px;font-size:12px;line-height:16px;display:block}.honesty-notes p{color:var(--muted-foreground);margin:0;font-size:14px;line-height:20px}.result__actions{margin-top:20px}.abstention-panel{border:1px solid var(--border);background:var(--card);border-radius:12px;max-width:560px;padding:20px}.abstention-panel h2{margin:0 0 8px;font-size:20px;line-height:24px}.abstention-panel p{color:var(--muted-foreground);margin:0 0 16px;font-size:14px;line-height:20px}@media (width>=360px){.prepare{width:calc(100% - 40px)}.result-page{padding-inline:20px}}@media (width>=768px){.prepare,.result-page{padding-top:40px;padding-bottom:64px}.prepare__layout{grid-template-columns:minmax(0,1fr) 360px;gap:48px;padding-top:48px}.prepare__copy h1,.simple-state h1,.result h1{font-size:40px;line-height:44px}.button--wide{width:220px}.prepare__controls .button--wide,.abstention-panel .button--wide{width:100%}.result__grid{grid-template-columns:560px minmax(0,1fr);gap:32px}.measurement-table{grid-template-columns:160px repeat(3,minmax(0,1fr))}.measurement-table>*{padding:16px;font-size:14px}.measurement-table__value{font-size:20px;line-height:24px}}.capture-shell{grid-template-rows:calc(56px + env(safe-area-inset-top)) minmax(0, 1fr);background:var(--camera);width:100%;height:100dvh;display:grid;overflow:hidden}.capture-header{min-width:0;padding:env(safe-area-inset-top) 16px 0;background:var(--camera);color:var(--camera-foreground);justify-content:space-between;align-items:center;display:flex}.capture-header h1,.capture-header p{margin:0}.capture-header h1{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:650;line-height:24px;overflow:hidden}.capture-header h1 span,.capture-header p{color:#ffffffb8}.capture-header p{flex:none;margin-left:12px;font-size:12px;font-weight:650;line-height:16px}.capture-body{grid-template-rows:minmax(0, 1fr) calc(220px + env(safe-area-inset-bottom));min-width:0;min-height:0;display:grid}.video-plane{background:var(--camera);min-width:0;min-height:0;position:relative;overflow:hidden}.video-plane__video,.video-plane__still{z-index:0;background:var(--camera);object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.video-plane__still{z-index:1;visibility:hidden;opacity:0}.video-plane__still.is-visible{visibility:visible;opacity:1}.video-plane__video.is-mirrored,.video-plane__still.is-mirrored{transform:scaleX(-1)}.video-plane__content{z-index:2;pointer-events:none;position:absolute}.video-plane__wash{z-index:2;visibility:hidden;pointer-events:none;opacity:0;background:#0000001f;position:absolute;inset:0}.video-plane__wash.is-visible{visibility:visible;opacity:1}.video-plane__card-guide{z-index:3;aspect-ratio:85.6/53.98;width:clamp(112px,32%,220px);color:var(--camera-foreground);pointer-events:none;background:linear-gradient(#ffffffe0,#ffffffe0) 0 0/18px 1.5px no-repeat,linear-gradient(#ffffffe0,#ffffffe0) 0 0/1.5px 18px no-repeat,linear-gradient(#ffffffe0,#ffffffe0) 100% 0/18px 1.5px no-repeat,linear-gradient(#ffffffe0,#ffffffe0) 100% 0/1.5px 18px no-repeat,linear-gradient(#ffffffe0,#ffffffe0) 0 100%/18px 1.5px no-repeat,linear-gradient(#ffffffe0,#ffffffe0) 0 100%/1.5px 18px no-repeat,linear-gradient(#ffffffe0,#ffffffe0) 100% 100%/18px 1.5px no-repeat,linear-gradient(#ffffffe0,#ffffffe0) 100% 100%/1.5px 18px no-repeat;position:absolute;bottom:16px;left:16px}.video-plane__card-guide span{background:#0000007a;border-radius:4px;padding:2px 5px;font-size:11px;font-weight:650;line-height:16px;position:absolute;top:-1px;left:50%;transform:translate(-50%,-50%)}.camera-overlay{z-index:5;border:1px solid var(--border);background:var(--card);width:min(280px,100% - 40px);color:var(--foreground);text-align:center;border-radius:8px;gap:6px;padding:16px;font-size:14px;line-height:20px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.camera-overlay strong{font-size:16px;line-height:24px}.camera-overlay span{color:var(--muted-foreground)}.capture-coach{min-width:0;min-height:0;padding:12px 16px calc(10px + env(safe-area-inset-bottom));background:var(--card);color:var(--foreground);grid-template-rows:72px 12px 48px minmax(20px,1fr) 44px;display:grid;position:relative}.capture-state-copy{grid-row:1;min-width:0;height:72px;overflow:hidden}.capture-state-copy h2,.capture-state-copy p{margin:0}.capture-state-copy h2{text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:650;line-height:24px;overflow:hidden}.capture-state-copy p{color:var(--muted-foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:4px;font-size:14px;line-height:20px;display:-webkit-box;overflow:hidden}.capture-primary{grid-row:3;min-width:0;height:48px;display:flex}.capture-primary .button{width:100%;min-height:48px;padding-block:11px}.capture-secondary{grid-row:5;justify-content:flex-end;align-items:center;min-width:0;height:44px;display:flex}.capture-secondary .text-action{min-height:44px}@media (width>=360px) and (width<=1023px){.capture-coach{padding:14px 20px calc(10px + env(safe-area-inset-bottom))}}@media (width>=1024px){.capture-shell{background:var(--background);grid-template-rows:64px minmax(0,1fr)}.capture-header{padding:0 24px}.capture-body{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 328px;gap:24px;padding:24px}.video-plane,.capture-coach{border:1px solid var(--border);border-radius:8px}.video-plane__card-guide{bottom:24px;left:24px}.capture-coach{grid-template-rows:72px 24px 48px minmax(24px,1fr) 44px;padding:24px}}@media (prefers-reduced-motion:reduce){.video-plane__still,.video-plane__wash{transition:none}}
