:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#21353d;background:#f3f6f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--accent:#087f73;--muted:#71837e;--line:#e0e8e5;--soft:#eef7f2;--ink:#21353d}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #39ab93}a{text-decoration:none;color:inherit}button{border:0;color:inherit;background:none}h1,h2,p{margin:0}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;flex-shrink:0}[hidden]{display:none!important}.app-header{height:72px;background:#fff;border-bottom:1px solid var(--line);padding:0 max(22px,calc((100vw - 760px)/2));display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;gap:10px;align-items:center}.brand-symbol{display:grid;place-items:center;width:34px;height:36px;background:#eff8f4;border:1px solid #d4e9e0;border-radius:8px;color:var(--accent)}.brand strong{font-size:23px;letter-spacing:-1px;color:#183b3d}.brand strong span{font-weight:400}.connection{display:flex;align-items:center;gap:6px;color:#7c8d84;font-size:10px;line-height:1.5;max-width:140px;text-align:right}.connection i{display:block;border-radius:50%;width:6px;height:6px;background:#b8c5bd;flex-shrink:0}.connection.connected{color:#32765e}.connection.connected i{background:#249a78}.connection.connecting i{background:#ce9f4d}.capture-app{width:min(100%,640px);margin:0 auto;padding:23px 18px max(20px,env(safe-area-inset-bottom))}.step-nav{margin:0 0 24px;padding:0 4px}.step-nav ol{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;margin:0}.step-nav li{font-size:10px;display:flex;gap:6px;align-items:center;color:#99a79f;white-space:nowrap}.step-nav li>span{height:20px;width:20px;border:1px solid #dce7e0;border-radius:50%;display:grid;place-items:center;font-size:9px;background:#f7faf8}.step-nav li[aria-current]{color:#14745c;font-weight:600}.step-nav li[aria-current]>span{background:#e7f3ed;border-color:#9ac5ae}.step-nav li.done>span{background:#f0f7f2;color:#4e9377}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;padding:26px 24px}.eyebrow{font-size:9px;letter-spacing:1.55px;font-weight:650;color:#7e9b8d;line-height:1.6}.panel h1,.capture-heading h1{font-size:29px;letter-spacing:-.8px;line-height:1.15;font-weight:550;color:#244b43;margin-top:9px}.intro{font-size:12px;line-height:1.8;color:var(--muted);margin-top:14px;max-width:430px}.setup-illustration{margin:17px 0 21px;text-align:center;background:#f8fbf9;border:1px solid #e9efeb;border-radius:7px;padding:5px 10px 14px}.setup-illustration svg{height:155px;width:100%;max-width:320px;stroke:none}.setup-illustration>span{font-size:10px;color:#70917e}.preparation-list{display:flex;flex-direction:column;gap:18px}.preparation-list>div{display:flex;gap:12px}.list-icon{display:grid;place-items:center;background:#f0f7f2;border:1px solid #e0ece3;color:#58916f;width:27px;height:27px;border-radius:5px;font-size:9px;flex-shrink:0}.preparation-list p>strong{font-size:12px;font-weight:600;color:#3b6d56;display:block;margin:2px 0 6px}.preparation-list p>span{font-size:11px;line-height:1.75;color:#869b8c;display:block}.reference-help{margin:21px 0;padding:14px 0;border-top:1px solid #edf1ee;border-bottom:1px solid #edf1ee;font-size:11px;color:#5a806b}.reference-help summary{cursor:pointer}.reference-help p{font-size:11px;line-height:1.8;margin:12px 0 0;color:#879a8b}.pair-card{background:#f9fbfa;border:1px solid #e3ebe5;border-radius:7px;padding:17px;margin:0 0 20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading h2{font-size:12px;font-weight:600;color:#406653}.tag{font-size:8px;border:1px solid #dce9e1;border-radius:3px;padding:3px 5px;color:#6d907c}.pair-card>p{font-size:10px;line-height:1.8;color:#84998a;margin:9px 0 12px}.field-label{font-size:9px;display:block;color:#5d7e6a;margin:0 0 6px}.input-row{display:flex;gap:7px}.input-row input{width:100%;min-width:0;border:1px solid #dce7df;border-radius:5px;background:#fff;padding:10px;font-size:11px;min-height:42px;color:#315e49}.input-row input::placeholder{color:#9aaba0}.primary-button,.secondary-button,.stop-button{min-height:46px;border-radius:5px;padding:12px 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:600;line-height:1.5;text-align:center;transition:background .15s,border-color .15s}.primary-button{color:#fff;background:var(--accent);border:1px solid var(--accent)}.primary-button:hover{background:#076e64;border-color:#076e64}.secondary-button{color:#5b866d;border:1px solid #dce7e0;background:#fff}.secondary-button:hover{background:#f0f7f2;border-color:#bfd8c9}.input-row>.secondary-button{min-height:42px;padding:9px 14px;font-size:11px}.full-width{width:100%}.text-button{color:#5a8970;font-size:11px;padding:12px 3px;min-height:42px;text-decoration:underline;text-underline-offset:3px;line-height:1.5}.text-button:hover{color:var(--accent)}.privacy-note{display:flex;align-items:flex-start;justify-content:center;gap:6px;margin-top:16px;font-size:9px;line-height:1.7;color:#8da392}.privacy-note svg{width:13px;height:13px;margin-top:1px;color:#71a58a}.small-text{font-size:10px;line-height:1.8;color:#82998a}.centered{text-align:center}.app-footer{display:flex;justify-content:space-between;gap:12px;color:#a0afa6;font-size:8px;margin:23px 4px 0;line-height:1.6}.notice{font-size:11px;line-height:1.8;color:#718e7a;border:1px solid #dce9e0;background:#f2f8f4;border-radius:6px;padding:13px;margin:16px 0}.notice.warning{color:#8d723e;background:#fbf8ee;border-color:#ede2c1}.notice.error{color:#a14f3e;background:#fff5f1;border-color:#efcec2}.capture-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:0 4px;margin:0 0 15px}.capture-heading h1{font-size:23px;line-height:1.2}.icon-button{border:1px solid #dce6df;background:#fff;width:34px;height:34px;border-radius:5px;flex-shrink:0;color:#8ba195;font-size:24px;line-height:1;font-weight:300}.camera-wrap{position:relative;aspect-ratio:4/5;max-height:55dvh;background:#172329;border:1px solid #2a3e42;border-radius:8px;overflow:hidden;width:100%;display:flex;align-items:center;justify-content:center}.camera-wrap video{width:100%;height:100%;object-fit:contain;display:block}.camera-top{position:absolute;inset:13px 13px auto;display:flex;justify-content:space-between;align-items:center;gap:10px}.camera-badge{font-size:8px;letter-spacing:1px;padding:6px 8px;background:#20352ee0;color:#c9e2d1;border:1px solid #68847350;border-radius:4px}.camera-badge.recording{color:#fff1eb;background:#904534d9;border-color:#d6876f}.camera-time{color:#eaf5ef;font-size:12px;font-variant-numeric:tabular-nums;background:#152a28c9;border-radius:4px;padding:5px 8px}.framing-guide{position:absolute;inset:14% 9%;pointer-events:none}.framing-guide i{position:absolute;width:24px;height:24px;border-color:#d6e8d9a3;border-style:solid;border-width:0}.framing-guide i:nth-child(1){left:0;top:0;border-top-width:1px;border-left-width:1px;border-top-left-radius:4px}.framing-guide i:nth-child(2){right:0;top:0;border-top-width:1px;border-right-width:1px;border-top-right-radius:4px}.framing-guide i:nth-child(3){left:0;bottom:0;border-bottom-width:1px;border-left-width:1px;border-bottom-left-radius:4px}.framing-guide i:nth-child(4){right:0;bottom:0;border-bottom-width:1px;border-right-width:1px;border-bottom-right-radius:4px}.camera-message{position:absolute;bottom:12px;left:12px;right:12px;background:#162d27e3;color:#d5ebda;border:1px solid #91b59840;border-radius:5px;display:flex;gap:7px;align-items:center;justify-content:center;text-align:center;font-size:10px;line-height:1.6;padding:8px}.quality-dot{width:5px;height:5px;border-radius:50%;background:#98c9a7;flex-shrink:0}.camera-message.warning{color:#ffe6ac;background:#463c23e8;border-color:#ba985044}.camera-message.warning .quality-dot{background:#e4bc6b}.live-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;font-size:9px;color:#95a79b;padding:11px 3px 12px;border-bottom:1px solid #dfe9e2}.live-metrics>span{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.live-metrics strong{color:#648572;font-size:9px;font-weight:550}.live-metrics strong.warn{color:#aa833b}.guide-card{display:flex;align-items:center;gap:17px;margin:17px 0 14px}.guide-orbit{position:relative;flex-shrink:0;width:94px;height:94px}.guide-orbit>svg{width:100%;height:100%;overflow:visible}.orbit-track{stroke:#e0eae3;stroke-width:5;stroke-dasharray:1 4}.orbit-segment{fill:none;stroke:#b6cdbf;stroke-width:5;stroke-linecap:butt}.orbit-segment.visited{stroke:#3c9980}.orbit-segment.current{stroke:#087f73}.orbit-foot{fill:#e8f2ec;stroke:#97b6a1;stroke-width:1}.guide-orbit>span{position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);font-size:8px;color:#81a18e;background:#f3f6f6;padding:2px 6px;white-space:nowrap}.guide-copy{min-width:0}.guide-copy .eyebrow{font-size:8px;letter-spacing:1px}.guide-copy h2{font-size:14px;color:#3d6d55;font-weight:550;margin:5px 0 6px;line-height:1.4}.guide-copy p{font-size:10px;line-height:1.7;color:#849b8c}.guide-copy .coverage-caption{font-size:8px;color:#a1ada5;margin-top:7px}.guide-progress{height:3px;background:#e2ece5;border-radius:3px;overflow:hidden}.guide-progress>span{display:block;width:0;height:100%;background:#6da78a;transition:width .3s}.sensor-row{display:flex;align-items:center;gap:10px;margin:6px 0 11px;justify-content:space-between}.sensor-row .text-button{font-size:9px;text-align:left;min-height:34px;max-width:55%;padding:6px 0}.sensor-row>span{font-size:8px;line-height:1.6;color:#9baa9f;max-width:45%;text-align:right}.actual-settings{display:flex;gap:10px;justify-content:space-between;align-items:baseline;font-size:9px;border-top:1px solid #e2eae4;padding:12px 0;color:#93a699}.actual-settings strong{font-weight:500;color:#668572;text-align:right;line-height:1.6}.lock-row{display:flex;align-items:center;gap:10px;padding:0 0 13px}.lock-row .secondary-button{font-size:10px;min-height:36px;padding:7px 10px}.lock-row span{font-size:9px;color:#899e8f;line-height:1.7}.capture-actions{display:flex;gap:10px}.capture-actions>button{width:100%}.record-dot{width:10px;height:10px;display:block;background:#e1eee8;border-radius:50%;box-shadow:0 0 0 3px #e7f5ef25}.stop-button{background:#fff;border:1px solid #c7ddd0;color:#35765a}.stop-button>span{height:10px;width:10px;border-radius:2px;background:#258263}.capture-tip{margin:12px 2px 0;font-size:9px}.review-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#809b89;margin-top:11px;flex-wrap:wrap;font-variant-numeric:tabular-nums}#review-preview{display:block;width:100%;max-height:50dvh;aspect-ratio:4/5;object-fit:contain;background:#172329;border-radius:6px;margin-top:23px}.coverage-checklist{border:0;padding:0;margin:22px 0 11px}.coverage-checklist legend{font-size:11px;font-weight:600;color:#527e63;margin-bottom:14px}.coverage-checklist label{display:flex;gap:10px;align-items:center;min-height:37px;font-size:11px;color:#77927f;line-height:1.6}.coverage-checklist input{accent-color:var(--accent);width:17px;height:17px;margin:0;flex-shrink:0}.review-actions{display:flex;gap:8px;margin-top:15px;flex-wrap:wrap;align-items:center;justify-content:space-between}.review-actions .secondary-button{font-size:10px;padding:9px 12px;min-height:40px}.review-actions .text-button{font-size:10px}#send-capture{margin-top:22px}#send-hint{margin-top:10px}.process-symbol{width:86px;height:86px;background:#f0f7f2;border:1px solid #dcebe0;border-radius:18px;display:grid;place-items:center;color:#719e83;margin:28px auto}.process-symbol svg{width:38px;height:38px;stroke-width:1.1}.process-steps{list-style:none;padding:0;display:flex;flex-direction:column;gap:18px;font-size:11px;color:#9aaba0;margin:25px 0}.process-steps li{display:flex;gap:12px;align-items:center}.process-steps i{width:24px;height:24px;display:grid;place-items:center;border:1px solid #dfe9e2;border-radius:50%;font-style:normal;font-size:9px}.process-steps .active{color:#3b8263}.process-steps .active i{border-color:#91bfa4;background:#e8f4ec}.process-steps .done{color:#6e9d80}.process-steps .done i{background:#edf6ef;color:#458967}progress{width:100%;height:7px;border:0;border-radius:5px;overflow:hidden;background:#edf3ef;accent-color:#198b72;margin:7px 0 9px}progress::-webkit-progress-bar{background:#edf3ef}progress::-webkit-progress-value{background:#198b72}progress::-moz-progress-bar{background:#198b72}.success-symbol{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#eaf5ed;border:1px solid #d3e7da;color:#31946e;font-size:28px;margin:1px 0 23px}.result-details{padding:18px 0;margin:10px 0 16px;border-bottom:1px solid #e7eee8;font-size:11px;color:#789a84;line-height:1.9;overflow-wrap:anywhere}.result-details:empty{display:none}#result-viewer,#result-download{margin-bottom:10px}
@media(min-width:700px){.capture-app{padding-top:30px}.panel{padding:36px}.panel h1{font-size:34px}.step-nav{margin-bottom:28px}.camera-wrap{max-height:620px}.capture-heading{margin-bottom:20px}.capture-heading h1{font-size:28px}.guide-card{gap:24px;margin-top:22px}.guide-orbit{width:108px;height:108px}.guide-copy h2{font-size:17px}.guide-copy p{font-size:12px}.guide-copy .eyebrow{font-size:9px}.guide-copy .coverage-caption{font-size:9px}.live-metrics,.live-metrics strong{font-size:11px}.actual-settings{font-size:10px}.sensor-row .text-button{font-size:10px}.sensor-row>span{font-size:9px}}
@media(max-width:360px){.app-header{padding:0 17px}.capture-app{padding-left:12px;padding-right:12px}.panel{padding:22px 18px}.step-nav li{font-size:9px;gap:4px}.step-nav li>span{width:18px;height:18px;font-size:8px}.guide-card{gap:12px}.guide-orbit{width:80px;height:80px}.guide-copy h2{font-size:13px}.guide-copy p{font-size:9px}.app-footer{font-size:7px}}
@media(orientation:landscape) and (max-height:600px){.camera-wrap{max-height:none;height:68dvh;aspect-ratio:auto}.capture-app{width:min(100%,760px)}.capture-heading h1{font-size:22px}.app-header{height:58px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
#mark-view{min-height:39px;font-size:10px;margin-bottom:10px}#marked-views{font-size:8px;margin-top:7px}
.camera-options{margin-top:10px;border-top:1px solid #e2eae4}.camera-options summary{cursor:pointer;list-style:none}.camera-options summary::-webkit-details-marker{display:none}.camera-options .actual-settings{border:0;padding:11px 0}.camera-options .actual-settings:after{content:"⌄";color:#9bb0a1;font-size:13px}.camera-options .actual-settings strong{margin-left:auto}.camera-options[open] .actual-settings:after{content:"⌃"}.camera-options .sensor-row{margin-top:0}
@media(max-width:699px){body[data-panel="capture"] .camera-wrap{height:34dvh;min-height:220px;max-height:330px;aspect-ratio:auto}body[data-panel="capture"] .capture-actions{position:fixed;z-index:12;bottom:0;left:0;right:0;width:min(calc(100% - 36px),604px);margin:0 auto;background:#f3f6f6;padding:10px 0 calc(12px + env(safe-area-inset-bottom));box-shadow:0 -10px 12px #f3f6f6}body[data-panel="capture"] #capture-panel{padding-bottom:72px}.guide-copy p{font-size:11px}.camera-message{font-size:11px}.live-metrics,.live-metrics strong{font-size:10px}.guide-card{margin-top:13px;margin-bottom:11px}.guide-copy .coverage-caption{font-size:8px}.capture-heading h1{font-size:21px}.actual-settings{font-size:10px}.capture-tip{font-size:10px}}
@media(max-width:699px){body[data-panel="capture"] .camera-wrap{height:32dvh}.camera-options{margin-top:0}.camera-options .actual-settings{padding:9px 0}.guide-card{margin-top:8px}}
@media(max-width:699px) and (max-height:760px){body[data-panel="capture"] .app-header{height:58px}body[data-panel="capture"] .capture-app{padding-top:14px}body[data-panel="capture"] .step-nav{margin-bottom:16px}body[data-panel="capture"] .camera-wrap{height:28dvh;min-height:180px}body[data-panel="capture"] .capture-heading h1{font-size:19px;margin-top:5px}body[data-panel="capture"] .guide-orbit{width:80px;height:80px}body[data-panel="capture"] .guide-copy p{font-size:10px}}
/* The capture viewport always fills the screen; native fullscreen is an enhancement. */
.sensor-intro{font-size:11px;line-height:1.8;color:#7d9787;margin:0 0 15px}
body[data-panel="capture"]{overflow:hidden;background:#142126}
body[data-panel="capture"]>.app-header,body[data-panel="capture"] .step-nav,body[data-panel="capture"] .app-footer{display:none}
body[data-panel="capture"] .capture-app{max-width:none;width:100%;padding:0;margin:0}
body[data-panel="capture"] #capture-panel,#capture-panel:fullscreen,#capture-panel:-webkit-full-screen{position:fixed;z-index:100;inset:0;width:100%;height:100vh;height:100dvh;padding:0;margin:0;background:#142126;color:#e0eee9;overflow:hidden}
body[data-panel="capture"] #capture-panel>.camera-wrap{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;border:0;border-radius:0;aspect-ratio:auto;background:#142126}
#capture-panel::backdrop{background:#142126}
#capture-panel .camera-wrap>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#capture-panel .camera-top{z-index:5;top:max(13px,env(safe-area-inset-top));left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right));display:flex;gap:10px;align-items:center}
.camera-exit,.camera-expand{height:38px;width:38px;border:1px solid #b4d4c12b;border-radius:50%;display:grid;place-items:center;background:#1b302ae6;color:#d0e9db;flex-shrink:0}
.camera-exit{font-size:28px;line-height:1;font-weight:300;padding-bottom:2px}.camera-expand svg{height:17px;width:17px;stroke-width:1.4}
.camera-status{display:flex;gap:7px;align-items:center;justify-content:center;flex:1}.camera-status .camera-badge{font-size:8px;padding:6px 8px}.camera-status .camera-time{font-size:11px}
.camera-title{position:absolute;z-index:3;top:calc(max(13px,env(safe-area-inset-top)) + 52px);left:15px;right:15px;text-align:center;color:#d2e5da;font-size:12px;font-weight:500;line-height:1.6;letter-spacing:0;margin:0;text-shadow:0 1px 8px #000}
#capture-panel .framing-guide{z-index:1;opacity:.55}
#capture-panel .camera-options{position:absolute;z-index:8;top:calc(max(13px,env(safe-area-inset-top)) + 80px);left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right));border:1px solid #a0c8b32b;border-radius:6px;padding:0 10px;margin:0;background:#172b25bf;max-height:44dvh;overflow:auto}
#capture-panel .camera-options summary{padding:0;list-style:none}#capture-panel .actual-settings{font-size:9px;color:#abc6b5;padding:7px 0;gap:7px}
#capture-panel .actual-settings strong{color:#b7d5c3;font-size:9px}#capture-panel .actual-settings:after{color:#abc8b6}
#capture-panel .camera-options[open]{background:#172b25f5;border-color:#93bfa957}
#capture-panel .live-metrics{font-size:9px;padding:9px 0;border-color:#54786144;color:#a6c2b0}#capture-panel .live-metrics strong{font-size:9px;color:#a6d2b5}#capture-panel .live-metrics strong.warn{color:#e4bf75}
#capture-panel .sensor-row{margin:6px 0}#capture-panel .sensor-row>span{color:#a2bdac}#capture-panel .sensor-row .text-button{color:#b4d7be;font-size:10px}
#capture-panel .lock-row span{color:#abc7b4}#capture-panel .lock-row .secondary-button{background:#233f33;border-color:#71958066;color:#d0e6d5}
#capture-panel .capture-tip{font-size:9px;color:#92b39d;line-height:1.7;margin:10px 0 12px}
.capture-bottom{position:absolute;z-index:4;bottom:0;left:0;right:0;padding:35px max(18px,env(safe-area-inset-right)) calc(13px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:linear-gradient(transparent,#12231ecc 19%,#12231ef5 100%)}
#capture-panel .camera-message{position:relative;inset:auto;border-color:#a6cbb334;background:#1e3b2fcc;border-radius:6px;font-size:11px;padding:8px 11px;min-height:34px;line-height:1.5}
#capture-panel .camera-message.warning{background:#4c3d21e8;border-color:#c09a4d55;color:#ffe8b6}
#capture-panel .guide-card{gap:15px;margin:12px 0 14px;align-items:center}#capture-panel .guide-orbit{width:84px;height:84px;flex-shrink:0}
#capture-panel .orbit-track{stroke:#789a8533;stroke-dasharray:none;stroke-width:4}#capture-panel .orbit-segment{stroke:#537b6244;stroke-width:4}#capture-panel .orbit-segment.visited{stroke:#70c3a0}#capture-panel .orbit-segment.current{stroke:#d7efb8}
#capture-panel .guide-orbit>span{position:absolute;left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);background:none;padding:0;font-size:13px;font-weight:500;color:#d1e8d5;line-height:1.5}
#capture-panel .guide-copy .eyebrow{font-size:8px;letter-spacing:1.1px;color:#87b39b}#capture-panel .guide-copy h2{font-size:15px;line-height:1.35;color:#e1eee5;margin:4px 0 6px;font-weight:550}
#capture-panel .guide-copy p{font-size:11px;line-height:1.6;color:#abc6b5}#capture-panel .guide-copy .coverage-caption{font-size:8px;line-height:1.5;color:#85a58e;margin-top:5px}
body[data-panel="capture"] #capture-panel .capture-actions{position:static;inset:auto;width:100%;margin:0;padding:0;background:none;box-shadow:none}
#capture-panel .capture-actions .primary-button,#capture-panel .capture-actions .stop-button{min-height:49px;font-size:13px;border-radius:6px}
#capture-panel .capture-actions .stop-button{background:#ecf4ed;border-color:#d4e8d9;color:#276a4c}#capture-panel .capture-actions .stop-button>span{background:#378467}
.finish-explanation{text-align:center;color:#86a58e;font-size:9px;line-height:1.5;margin-top:9px}
@media(min-width:700px) and (orientation:portrait){#capture-panel .capture-bottom{left:50%;right:auto;width:min(100%,640px);transform:translateX(-50%)}#capture-panel .camera-options{left:50%;right:auto;width:min(calc(100% - 30px),604px);transform:translateX(-50%)}}
@media(orientation:landscape){#capture-panel .camera-options{right:auto;max-width:310px;width:36%;top:calc(max(10px,env(safe-area-inset-top)) + 51px)}#capture-panel .camera-title{top:calc(max(10px,env(safe-area-inset-top)) + 47px);left:40%;right:7%;font-size:11px}.capture-bottom{left:auto;width:43%;min-width:300px;padding-top:24px;background:linear-gradient(transparent,#12231ee0 15%,#12231ef8)}#capture-panel .guide-orbit{width:68px;height:68px}#capture-panel .guide-card{gap:10px;margin:9px 0 10px}#capture-panel .guide-copy h2{font-size:13px}#capture-panel .guide-copy p{font-size:10px;line-height:1.5}#capture-panel .camera-message{font-size:10px;min-height:30px;padding:6px 8px}#capture-panel .capture-actions .primary-button,#capture-panel .capture-actions .stop-button{min-height:42px;font-size:12px}.finish-explanation{font-size:8px;margin-top:6px}}
@media(max-width:360px), (orientation:portrait) and (max-height:650px){#capture-panel .camera-options{top:calc(max(10px,env(safe-area-inset-top)) + 73px)}#capture-panel .guide-orbit{width:68px;height:68px}#capture-panel .guide-card{gap:10px;margin:9px 0 10px}#capture-panel .guide-copy h2{font-size:13px}#capture-panel .guide-copy p{font-size:10px;line-height:1.5}#capture-panel .camera-message{font-size:10px;min-height:30px;padding:6px 8px}.capture-bottom{padding-top:25px}#capture-panel .capture-actions .primary-button,#capture-panel .capture-actions .stop-button{min-height:44px;font-size:12px}.finish-explanation{font-size:8px;margin-top:7px}}
/* Keep recording controls compact so neither end of a centered foot is hidden. */
body[data-recording="true"] #capture-panel .guide-card{position:fixed;z-index:6;top:calc(max(13px,env(safe-area-inset-top)) + 126px);left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right));margin:0;padding:7px 10px;gap:10px;border:1px solid #93bca244;border-radius:6px;background:#172c23d9}
body[data-recording="true"] #capture-panel .guide-orbit{width:47px;height:47px}
body[data-recording="true"] #capture-panel .guide-orbit>span{font-size:9px}
body[data-recording="true"] #capture-panel .guide-copy h2{font-size:12px;line-height:1.4;margin:2px 0}
body[data-recording="true"] #capture-panel .guide-copy .eyebrow{font-size:7px}
body[data-recording="true"] #capture-panel .guide-copy #guide-instruction{display:none}
body[data-recording="true"] #capture-panel .guide-copy .coverage-caption{font-size:8px;margin:2px 0 0}
body[data-recording="true"] #capture-panel .capture-bottom{padding-top:12px;background:linear-gradient(transparent,#12231ecc 30%,#12231ef8)}
body[data-recording="true"] #capture-panel .camera-message:not(.warning){display:none}
body[data-recording="true"] #capture-panel .camera-message.warning{margin-bottom:9px}
body[data-recording="true"] #capture-panel .finish-explanation{font-size:8px;line-height:1.4;margin-top:7px}
@media(orientation:landscape){body[data-recording="true"] #capture-panel .guide-card{top:calc(max(12px,env(safe-area-inset-top)) + 80px);left:auto;right:max(18px,env(safe-area-inset-right));width:calc(43% - 36px);min-width:264px}body[data-recording="true"] #capture-panel .capture-bottom{width:43%;min-width:300px}}
@media(min-width:700px) and (orientation:portrait){body[data-recording="true"] #capture-panel .guide-card{left:50%;right:auto;width:min(calc(100% - 30px),604px);transform:translateX(-50%)}}
.detected-foot{position:absolute;z-index:2;border:1.5px solid #e7bc66;border-radius:9px;pointer-events:none;box-shadow:0 0 0 1px #18291e38}
.detected-foot>span{position:absolute;left:0;top:-20px;white-space:nowrap;background:#45391fd9;color:#ffe0a0;padding:3px 6px;border-radius:3px;font-size:8px;line-height:1.4}
.detected-foot.verified{border-color:#78d9aa}.detected-foot.verified>span{background:#173c2be8;color:#bbf2d2}
#capture-panel .camera-message.warning{font-size:12px;font-weight:550;border-color:#e7b95588;background:#4d3b19f2;color:#ffe5a6;box-shadow:0 2px 12px #06100b30}
@media(max-width:360px),(orientation:landscape){#capture-panel .camera-message.warning{font-size:11px}}

/* One clear entry point, with connection and camera details kept optional. */
#setup-panel{padding:28px 24px 20px}
#setup-panel h1{font-size:30px;line-height:1.2}
#setup-panel .intro{font-size:14px;line-height:1.65;margin-top:12px}
#setup-panel .setup-illustration{margin:21px 0 16px;padding:4px 10px 12px}
#setup-panel .setup-illustration svg{height:138px}
#setup-panel .setup-illustration>span{font-size:11px}
.scan-setup-note{font-size:13px;line-height:1.7;color:#658476;margin:0 0 20px}
#open-camera{min-height:54px;font-size:15px;border-radius:8px}
#remote-history{display:flex;align-items:center;justify-content:center;font-size:13px;text-decoration:none;margin-top:4px}
.more-options{border-top:1px solid var(--line);margin-top:12px;padding-top:3px;color:#6b8879;font-size:12px}
.more-options>summary,.connection-help>summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer}
.more-options>summary:before,.connection-help>summary:before{content:'+';font-size:17px;line-height:1}
.more-options[open]>summary:before,.connection-help[open]>summary:before{content:'−'}
.more-options .text-button{font-size:12px;text-align:left;justify-content:flex-start}
.reference-choice{display:flex;align-items:center;gap:9px;min-height:44px;font-size:12px;color:#466f5c;cursor:pointer}
.reference-choice input{accent-color:var(--accent);width:18px;height:18px;flex:none;margin:0}
.more-options .small-text{font-size:11px;line-height:1.65}
.connection-help{margin:12px 0 0;border-top:1px solid var(--line)}
.connection-help .pair-card{margin:2px 0 10px}
.connection-help .input-row input,.connection-help .input-row>.secondary-button{font-size:16px}
#setup-panel .privacy-note{font-size:10px;margin-top:14px}
body[data-panel="setup"] .step-nav{display:none}
body[data-panel="setup"] .capture-app{padding-top:22px}
#capture-panel .camera-options{left:auto;right:max(15px,env(safe-area-inset-right));width:auto;max-width:calc(100% - 30px);top:calc(max(13px,env(safe-area-inset-top)) + 80px);padding:0 11px;background:#172b25a6}
#capture-panel .camera-options>summary{padding:8px 0;font-size:10px;line-height:1.4;color:#b7d5c3;cursor:pointer}
#capture-panel .camera-options[open]{width:min(calc(100% - 30px),420px);max-height:55dvh}
#capture-panel .actual-settings{border-top:1px solid #54786144}
body[data-recording="true"] #capture-panel .guide-card{top:calc(max(13px,env(safe-area-inset-top)) + 124px);align-items:flex-start}
body[data-recording="true"] #capture-panel .guide-copy #guide-instruction{display:block;font-size:11px;line-height:1.45;margin-top:4px;color:#c3ddcb}
body[data-recording="true"] #capture-panel .guide-copy h2{font-size:13px}
body[data-recording="true"] #capture-panel .guide-copy .coverage-caption{font-size:9px;margin-top:4px}
body[data-recording="true"] #capture-panel .guide-orbit{margin-top:7px;width:48px;height:48px}
body[data-recording="true"] #capture-panel .camera-message:not(.warning){display:flex}
#capture-panel .finish-explanation{font-size:10px;line-height:1.5}
#review-panel .review-actions{align-items:center}
#review-panel .review-actions>button:first-child{flex:1}
#review-panel .review-actions .text-button{font-size:12px;padding-left:10px;padding-right:10px}
#coverage-review{display:none}
#review-preview{max-height:36dvh;margin-top:20px}
.perspective-steps{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}
.perspective-steps>span{font-size:9px;line-height:1.5;border:1px solid #8baf9944;border-radius:4px;padding:3px 5px;color:#aac6b4;background:linear-gradient(90deg,#6ca78433 var(--view-progress,0%),transparent var(--view-progress,0%))}
.perspective-steps>span.current{border-color:#d4e7a38a;color:#e0ebba}
.perspective-steps>span.complete{border-color:#7ec69b77;background:#5fb68b33;color:#c2f2d2}
.perspective-steps>span.complete:before{content:'✓ ';font-size:9px}
#capture-panel .capture-actions .finish-early{width:auto;flex-shrink:0;font-size:11px;padding-left:12px;padding-right:12px}
body[data-recording="true"] #capture-panel .perspective-steps{margin-top:6px;gap:4px}
body[data-recording="true"] #capture-panel .perspective-steps>span{font-size:9px;padding:2px 4px}
@media(max-width:360px){#setup-panel{padding:24px 19px 18px}#setup-panel h1{font-size:27px}#setup-panel .setup-illustration svg{height:115px}}
@media(orientation:landscape){#capture-panel .camera-options{left:max(15px,env(safe-area-inset-left));right:auto;max-width:42%}body[data-recording="true"] #capture-panel .guide-card{top:calc(max(12px,env(safe-area-inset-top)) + 78px)}body[data-recording="true"] #capture-panel .guide-copy #guide-instruction{font-size:10px}}
@media(min-width:700px) and (orientation:portrait){#capture-panel .camera-options{left:auto;right:20px;transform:none}}
.low-front-guide{border:1px solid #8cb79c66;background:#17392df2;border-radius:7px;padding:9px 10px;margin:8px 0 10px;color:#d4e8dc;max-height:44dvh;overflow-y:auto;overscroll-behavior:contain}
.toe-height-cue{display:flex;align-items:center;gap:9px}.toe-height-cue svg{width:106px;height:39px;color:#abd9b9;flex:none}.toe-height-cue span{font-size:11px;line-height:1.45;max-width:215px}
.low-front-aim{font-size:10px;line-height:1.5;color:#b7d6c2;margin-top:5px}.low-front-aim.warning{color:#ffe3a4}
.low-front-guide progress{display:block;height:5px;margin:8px 0;background:#345344;accent-color:#8ed4aa}
.low-front-guide progress::-webkit-progress-bar{background:#345344}.low-front-guide progress::-webkit-progress-value{background:#8ed4aa}.low-front-guide progress::-moz-progress-bar{background:#8ed4aa}
#low-front-confirmations label{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.5;margin:8px 0;color:#e1ece5}
#low-front-confirmations input{width:18px;height:18px;margin:0;accent-color:#5bb58e;flex:none}
#low-front-confirmations button{min-height:44px;font-size:12px;margin:3px 0 0}
body[data-low-front="setup"] #capture-panel .guide-card{top:calc(max(13px,env(safe-area-inset-top)) + 77px)}
body[data-low-front="setup"] #capture-panel .camera-options{visibility:hidden}
body[data-low-front="setup"] #capture-panel .guide-orbit{display:none}
body[data-low-front="setup"] #capture-panel .guide-copy #guide-instruction{font-size:10px}
body[data-low-front="setup"] #capture-panel .guide-copy .coverage-caption{display:none}
@media(orientation:landscape){.low-front-guide{max-height:none;padding:7px 8px}.toe-height-cue svg{width:72px;height:30px}.toe-height-cue span,#low-front-confirmations label{font-size:9px}.low-front-aim{font-size:9px}body[data-low-front="setup"] #capture-panel .guide-card{display:none}body[data-low-front="setup"] #capture-panel .camera-message{display:none}body[data-low-front="setup"] #capture-panel .finish-explanation{display:none}body[data-low-front="setup"] #capture-panel .capture-bottom{padding-top:5px}}

.sole-option{margin:18px 0;padding:14px;border:1px solid #dce9e0;border-radius:7px;background:#f7faf8}
.sole-option>p{font-size:12px;line-height:1.6;color:#517260;margin:7px 0 4px}
.sole-option .section-heading h2{font-size:14px}
#sole-preview{display:block;width:100%;max-height:29dvh;object-fit:contain;background:#172329;border-radius:6px;margin-top:10px}
#sole-meta{margin-top:7px;color:#466855}
.sole-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:8px}
.sole-actions .secondary-button{font-size:12px;min-height:44px;padding:9px 12px}
.sole-actions .text-button{font-size:12px}
body[data-capture-role="sole"] #capture-panel .guide-orbit,
body[data-capture-role="sole"] #capture-panel .sensor-row{display:none}
