:root{--paper:#f7f6f0;--ink:#20231e;--muted:#71746b;--accent:#f25b40;--line:#dedfd4;--surface:#fffefa;--soft:#eceee2;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,label.button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}svg{flex-shrink:0}p{margin:0}a{color:inherit}.skip-link{position:fixed;left:20px;top:-80px;z-index:10;padding:12px;background:var(--ink);color:white}.skip-link:focus{top:12px}
.site-header{max-width:1496px;margin:auto;min-height:96px;display:flex;align-items:center;justify-content:space-between;padding:20px 52px;border-bottom:1px solid var(--line);gap:15px}.wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:25px;letter-spacing:-1.3px;font-weight:800;flex-shrink:0}.wordmark>svg{width:39px;height:23px}.wordmark-light{font-weight:400}.brand-period{color:var(--accent);font-size:32px}.header-actions{display:flex;align-items:center;gap:27px}.pilot-label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;letter-spacing:.3px}.pilot-label>span{width:6px;height:6px;background:var(--accent);border-radius:50%}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:6px;padding:12px 17px;font-size:13px;font-weight:700;line-height:1.35;text-decoration:none;white-space:nowrap;transition:background .16s,transform .16s}.button:not(:disabled):active{transform:translateY(1px)}.button-primary{background:var(--accent);color:#1c2018;border-color:var(--accent)}.button-primary:not(:disabled):hover{background:#ed6c54}.button-secondary{background:transparent;border-color:#ced0c4}.button-secondary:not(:disabled):hover{background:var(--soft)}.button-dark{background:var(--ink);color:var(--surface)}.button-dark:not(:disabled):hover{background:#42453b}.button-quiet{background:transparent}.button-quiet:not(:disabled):hover{background:var(--soft)}.header-actions .button{border-color:var(--line);font-size:12px}
.main-layout{max-width:1380px;margin:0 auto;display:grid;grid-template-columns:minmax(310px,.78fr) minmax(500px,1.2fr);gap:68px;padding:57px 52px 58px}.intro{padding:30px 0 0}.eyebrow,.small-label{font-size:10px;font-weight:700;letter-spacing:1.6px;line-height:1.5}.eyebrow{display:flex;align-items:center;gap:9px;letter-spacing:1.35px}.eyebrow>span{width:25px;height:2px;background:var(--accent)}h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,4.75vw,73px);font-weight:400;letter-spacing:-3.5px;line-height:1.045;margin:25px 0 26px}.accent-word{position:relative;white-space:nowrap;z-index:0}.accent-word:after{content:"";height:8px;position:absolute;bottom:1px;left:0;right:-4px;background:var(--accent);z-index:-1;transform:rotate(-2deg)}.intro-copy{font-size:15px;color:#63665c;line-height:1.75;max-width:370px}.assortment-stats{display:flex;gap:0;padding:27px 0;margin:27px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:370px}.assortment-stats>div{flex:1;display:flex;flex-direction:column;gap:7px}.assortment-stats>div:not(:first-child){border-left:1px solid var(--line);padding-left:21px}.assortment-stats strong{font-family:Georgia,'Times New Roman',serif;font-size:40px;font-weight:400;letter-spacing:-1.5px;line-height:1}.assortment-stats span{font-size:10px;color:var(--muted)}.how-it-works .small-label{font-size:9px;letter-spacing:1.3px;color:var(--muted)}.how-it-works ol{list-style:none;margin:17px 0 0;padding:0}.how-it-works li{display:flex;gap:16px;font-size:12px;align-items:center;margin:0 0 17px}.how-it-works li>span{font-family:Consolas,monospace;font-size:10px;color:#9ca388}.intro-note{display:flex;align-items:center;gap:10px;max-width:370px;border-top:1px solid var(--line);padding:21px 0;color:var(--muted);font-size:10px;margin-top:27px;line-height:1.5}.workspace-column{min-width:0}.workbench{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 40px #242b1a05;overflow:hidden;min-width:0}.workbench-top{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid var(--line);gap:10px}.workbench-top .small-label{color:var(--muted);font-size:9px;letter-spacing:1.4px}.workspace-badge{background:#eef0e6;border-radius:4px;padding:6px 8px;font-size:9px;letter-spacing:.3px;white-space:nowrap;color:#5d6450}.panel{padding:25px 26px 21px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:10px}.panel-heading .small-label{font-size:9px;color:var(--muted);letter-spacing:1.2px;margin-bottom:7px}h2{font-family:Georgia,'Times New Roman',serif;font-size:29px;line-height:1.12;font-weight:400;letter-spacing:-.8px;margin:0}.heading-mark{font-size:28px;color:#b5bba3;line-height:1;font-family:Georgia,'Times New Roman',serif;font-weight:400}
.camera-stage{position:relative;overflow:hidden;background:#f0f1e8;border:1px solid #e2e4d6;border-radius:8px;aspect-ratio:1.5;display:flex;align-items:center;justify-content:center;min-height:280px;isolation:isolate}.camera-stage video,.camera-stage canvas{display:block;width:100%;height:100%;object-fit:contain;max-height:none}.camera-stage:has(video:not([hidden])),.camera-stage:has(canvas:not([hidden])){background:#181b16;min-height:0;padding:0;border:0}.stage-placeholder{position:relative;height:100%;width:100%;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background-image:radial-gradient(#cbd0bb .8px,transparent .8px);background-size:13px 13px}.stage-label{font-size:8px;letter-spacing:1.6px;color:#767d66;font-weight:700;background:#f0f1e8;padding:3px 7px}.glasses-illustration{width:87%;max-width:430px;margin:7px 0 -6px}.stage-placeholder p{font-family:Georgia,'Times New Roman',serif;font-size:18px;letter-spacing:-.3px;background:#f0f1e8;padding:2px 7px}.stage-placeholder>span:last-child{font-size:10px;color:#7a806e;line-height:1.5;background:#f0f1e8;padding:5px 7px 0}.viewfinder-corner{width:17px;height:17px;position:absolute;border-color:#afb899;border-style:solid}.corner-tl{top:17px;left:17px;border-width:1px 0 0 1px}.corner-tr{top:17px;right:17px;border-width:1px 1px 0 0}.corner-bl{bottom:17px;left:17px;border-width:0 0 1px 1px}.corner-br{bottom:17px;right:17px;border-width:0 1px 1px 0}.tray-guides{position:absolute;inset:0;height:100%;width:100%;pointer-events:none;overflow:visible;z-index:2}.tray-guides:empty{display:none}.tray-guides polygon,.tray-guides .guide{fill:#f25b400a;stroke:var(--accent);stroke-width:2;vector-effect:non-scaling-stroke}.tray-guides line{stroke:#f7f6f060;stroke-width:1;vector-effect:non-scaling-stroke}.tray-guides text{font-family:Consolas,monospace;fill:var(--accent);paint-order:stroke;stroke:#fff9;stroke-width:2;font-size:13px}.guide-handle{pointer-events:all;touch-action:none;cursor:grab;fill:var(--accent);stroke:var(--surface);stroke-width:2;vector-effect:non-scaling-stroke}.guide-handle:active{cursor:grabbing}.camera-controls{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.camera-controls>.button{flex:1;font-size:12px}.upload-button{position:relative;cursor:pointer;overflow:hidden}.upload-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-button:focus-within{outline:3px solid var(--accent);outline-offset:4px}.capture-help{font-size:10px;line-height:1.7;color:var(--muted);margin-top:13px}.guide-controls{display:flex;justify-content:space-between;gap:12px}.guide-controls:has(button:not([hidden])){margin-top:8px}.text-button{background:transparent;border:0;padding:8px 0;min-height:44px;color:#53594a;font-size:11px;text-decoration:underline;text-underline-offset:4px}.text-button span{display:inline-block;margin-left:4px}.scan-action-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.scan-action-row .button{font-size:11px;min-height:44px}.scan-feedback{margin-top:12px;min-height:18px}.scan-feedback p{font-size:10px;line-height:1.6;color:var(--muted)}progress{width:100%;height:5px;border:none;border-radius:6px;margin-top:10px;overflow:hidden;accent-color:var(--accent)}progress::-webkit-progress-bar{background:var(--soft)}progress::-webkit-progress-value{background:var(--accent)}.workbench-footer{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-top:1px solid var(--line);background:#fafaf5;font-size:9px;color:#858a7b;line-height:1.6}
.results-view{margin-top:20px}.report-total{display:flex;gap:20px;align-items:center;margin:22px 0;padding:0 0 22px;border-bottom:1px solid var(--line)}.report-total>span{font-family:Georgia,'Times New Roman',serif;font-size:70px;line-height:1;color:var(--accent);letter-spacing:-3px}.report-total strong{font-size:15px}.report-total p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:6px;max-width:330px}.results-stats{display:flex;gap:17px;flex-wrap:wrap;padding:0 0 17px;font-size:11px;color:var(--muted)}.results-stats strong{color:var(--ink);margin-right:4px}.refill-list{margin-bottom:21px}.refill-item,.refill-row{display:flex;align-items:center;justify-content:space-between;gap:13px;border-bottom:1px solid var(--line);padding:13px 0}.refill-item img,.refill-row img{width:66px;height:47px;object-fit:contain;border-radius:4px;background:#f3f4ec;flex-shrink:0}.refill-item>div,.refill-row>div{min-width:0}.refill-item>div:nth-child(2),.refill-row>div:nth-child(2){flex:1}.refill-item strong,.refill-row strong{font-size:13px}.refill-item p,.refill-row p,.refill-item>div>span,.refill-row>div>span{font-size:10px;color:var(--muted);margin-top:5px;display:block}.refill-quantity{text-align:right;flex:0!important}.refill-quantity strong{font-size:18px;color:var(--accent)}.refill-quantity span{font-size:8px!important}.mini-frame{height:35px;width:62px;display:flex;align-items:center;justify-content:center;background:#f0f2e7;border-radius:5px;padding:9px;flex-shrink:0}.mini-frame svg{width:100%;height:auto}.complete-state,.empty-state{padding:25px 15px;text-align:center;background:#f1f4e9;border-radius:6px;border:1px solid #dfe5d1}.complete-state strong,.empty-state strong{font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:400}.complete-state p,.empty-state p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:9px}.unclear-details{border:1px solid var(--line);border-radius:6px;margin:20px 0;padding:0 14px}.unclear-details summary{font-size:12px;font-weight:700;cursor:pointer;padding:16px 0;min-height:46px}.unclear-details[open]{padding-bottom:14px}.panel-copy{font-size:11px;line-height:1.75;color:var(--muted);margin-bottom:17px}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.review-card{min-width:0;padding:11px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.review-card img,.review-card canvas{width:100%;aspect-ratio:1.5;object-fit:contain;background:var(--soft);border-radius:4px;margin-bottom:8px}.review-card h3{font-size:12px;margin:0 0 8px}.review-card label{font-size:10px;display:block;margin:8px 0 5px;color:var(--muted)}.review-card select{font-size:10px;width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:4px;background:white;padding:7px 5px}.review-card p{font-size:10px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere;margin:6px 0}.review-card-top{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:9px}.item-number{font-family:Consolas,monospace;font-size:10px;color:#78806d}.state-tag{font-size:8px;line-height:1.4;background:#f7e5d5;color:#926143;padding:4px 6px;border-radius:3px}.no-crop{display:flex;align-items:center;justify-content:center;aspect-ratio:1.5;background:#f0f2e8;border-radius:4px;color:#929b81;font-size:10px;margin-bottom:8px}.review-card details summary{font-size:9px;color:var(--muted);cursor:pointer;padding:7px 0}.review-card details p{font-family:Consolas,monospace;font-size:9px;background:var(--soft);padding:7px;border-radius:4px}.review-card button{min-height:44px;font-size:10px;border:1px solid var(--line);border-radius:4px;background:transparent;padding:7px;margin-top:8px}.full-button{width:100%}#confirm-results{margin-top:14px;font-size:11px}.report-actions{display:flex;flex-wrap:wrap;gap:10px}.report-actions .button{font-size:11px;flex:1}
.reference-details{margin-top:20px;border:1px solid var(--line);border-radius:8px;background:transparent;padding:0 20px}.reference-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;list-style:none;font-size:11px;font-weight:700;cursor:pointer;min-height:55px}.reference-details>summary::-webkit-details-marker{display:none}.reference-count{color:#8a927a;font-size:8px;letter-spacing:1px;white-space:nowrap}.reference-count>span{font-size:16px;margin-left:13px;font-weight:400}.reference-details[open] .reference-count>span{display:inline-block;transform:rotate(45deg)}.reference-note{font-size:10px;line-height:1.75;color:var(--muted);border-top:1px solid var(--line);padding-top:14px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:17px 0 20px}.catalog-item,.catalog-card{min-width:0;border:1px solid var(--line);border-radius:5px;padding:10px;background:var(--surface)}.catalog-item img,.catalog-card img{width:100%;height:68px;object-fit:contain;border-radius:3px;background:#f6f7f0;margin-bottom:8px}.catalog-item strong,.catalog-card strong{display:block;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.catalog-item p,.catalog-card p,.catalog-item>span,.catalog-card>span,.catalog-item small,.catalog-card small{display:block;font-size:9px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.catalog-item .item-number{font-size:8px;margin-bottom:5px}
.site-footer{max-width:1380px;margin:0 auto;padding:23px 52px 31px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#8b8e83;font-size:10px;gap:20px}.site-footer>span:first-child{font-weight:700;letter-spacing:1.4px;font-size:8px}.site-footer>span:last-child{font-size:9px}dialog{border:1px solid var(--line);border-radius:12px;padding:26px;background:var(--surface);color:var(--ink);width:calc(100% - 32px);max-width:450px;box-shadow:0 25px 90px #20231e33}dialog::backdrop{background:#20231e70;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-top .small-label{font-size:9px;color:var(--muted)}.icon-button{height:44px;min-width:44px;background:transparent;border:0;border-radius:5px;font-size:27px;color:var(--muted);margin:-12px -10px -10px 0}.icon-button:hover{background:var(--soft)}dialog>p{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0}.qr-output{display:flex;justify-content:center;align-items:center;margin:22px auto;padding:12px;background:white;border:1px solid var(--line);width:fit-content;min-width:180px;min-height:180px;max-width:100%}.qr-output img,.qr-output svg{max-width:100%;height:auto}.editor-label{display:block;color:#676b60;font-size:10px;font-weight:700;margin-bottom:7px;letter-spacing:.3px}.share-url{width:100%;min-height:44px;border:1px solid var(--line);border-radius:5px;background:#f5f6ef;padding:10px;font-size:11px;color:#626958}.qr-generate{margin-top:9px;min-height:44px;font-size:11px}.dialog-actions{display:flex;gap:9px;margin-top:13px}.dialog-actions .button{flex:1;font-size:12px}.dialog-note{border-top:1px solid var(--line);padding-top:15px!important;font-size:10px!important;margin-top:20px!important}
@media(min-width:1500px){.main-layout{gap:85px}.intro{padding-top:45px}h1{font-size:78px}.intro-copy{font-size:16px}}
@media(max-width:1100px){.site-header{padding:19px 30px;min-height:88px}.main-layout{padding:37px 30px 45px;gap:32px;grid-template-columns:minmax(270px,.7fr) minmax(430px,1fr)}h1{font-size:55px;letter-spacing:-2.8px}.intro-copy{font-size:13px}.eyebrow{font-size:8px;letter-spacing:1px}.workbench-top{padding:18px 21px}.panel{padding:23px 21px 20px}.camera-stage{min-height:240px}.stage-placeholder{padding:21px}.stage-placeholder p{font-size:16px}.site-footer{padding:23px 30px}.scan-action-row .button{padding:11px 12px}.scan-action-row .text-button{font-size:10px}.camera-controls>.button{font-size:11px}.assortment-stats>div:not(:first-child){padding-left:15px}}
@media(max-width:830px){.site-header{padding:16px 23px;min-height:79px}.wordmark{font-size:23px}.wordmark>svg{width:34px}.header-actions{gap:12px}.pilot-label{display:none}.main-layout{grid-template-columns:1fr;max-width:650px;padding:28px 23px 37px;gap:25px}.intro{padding:0}.eyebrow{font-size:9px}h1{font-size:56px;letter-spacing:-2.8px;line-height:1.035;margin:18px 0 17px}.intro-copy{max-width:480px;font-size:13px;line-height:1.7}.assortment-stats{max-width:none;margin:19px 0 0;padding:15px 0}.assortment-stats strong{font-size:29px}.assortment-stats span{font-size:9px}.assortment-stats>div{gap:5px}.assortment-stats>div:not(:first-child){padding-left:23px}.how-it-works,.intro-note{display:none}.workbench-top{padding:17px 23px}.panel{padding:22px 23px}.camera-stage{min-height:250px}.site-footer{max-width:650px;margin:0 auto;padding:23px;flex-wrap:wrap}.site-footer>span:last-child{display:none}}
@media(max-width:480px){.site-header{padding:14px 18px;min-height:73px;gap:8px}.wordmark{font-size:20px;gap:8px;letter-spacing:-1px}.wordmark>svg{width:29px}.brand-period{font-size:26px}.header-actions .button{min-height:42px;font-size:9px;padding:9px 9px;gap:6px}.header-actions .button svg{width:13px}.main-layout{padding:24px 16px 30px;gap:22px}.intro{padding:0 4px}.eyebrow{font-size:8px;letter-spacing:1.05px}.eyebrow>span{width:18px}h1{font-size:clamp(39px,12.4vw,48px);letter-spacing:-2px;margin:16px 0 15px}.accent-word:after{height:6px}.intro-copy{font-size:11px;line-height:1.8}.assortment-stats{padding:12px 0;margin-top:16px}.assortment-stats strong{font-size:25px}.assortment-stats span{font-size:8px}.assortment-stats>div:not(:first-child){padding-left:17px}.workbench{border-radius:10px}.workbench-top{padding:15px 17px}.workbench-top .small-label{font-size:8px;letter-spacing:1px}.workspace-badge{font-size:8px;padding:5px 6px}.panel{padding:20px 17px 19px}.panel-heading{margin-bottom:17px}h2{font-size:25px}.panel-heading .small-label{font-size:8px}.heading-mark{font-size:23px}.camera-stage{min-height:211px;aspect-ratio:1.4}.stage-placeholder{padding:18px 13px}.stage-label{font-size:7px;letter-spacing:1.3px}.glasses-illustration{width:94%;margin:5px 0 -5px}.stage-placeholder p{font-size:15px}.stage-placeholder>span:last-child{font-size:8px}.camera-controls{gap:7px;margin-top:13px}.camera-controls>.button{min-height:45px;font-size:10px;padding:10px 8px;gap:7px}.camera-controls svg{width:15px}.capture-help{font-size:9px;line-height:1.7}.scan-action-row{margin-top:17px;padding-top:14px;gap:7px}.scan-action-row .button{font-size:10px;padding:10px 11px}.text-button,.scan-action-row .text-button{font-size:9px}.scan-feedback p{font-size:9px}.workbench-footer{padding:12px 17px;font-size:8px;gap:7px;justify-content:flex-start}.workbench-footer svg{width:12px}.report-total{gap:15px}.report-total>span{font-size:57px}.report-total strong{font-size:13px}.report-total p{font-size:10px}.results-stats{font-size:10px;gap:12px}.refill-item,.refill-row{gap:10px}.refill-item img,.refill-row img{width:53px;height:40px}.refill-item strong,.refill-row strong{font-size:11px}.refill-item p,.refill-row p{font-size:9px}.report-actions{flex-direction:column}.unclear-details{padding:0 10px}.unclear-details summary{font-size:11px}.review-grid{gap:8px}.review-card{padding:8px}.review-card select{font-size:9px}.review-card label,.review-card p{font-size:9px}.review-card-top{align-items:flex-start}.state-tag{font-size:7px;padding:3px}.reference-details{padding:0 16px;margin-top:16px}.reference-details>summary{font-size:10px}.reference-count{font-size:7px}.reference-count>span{margin-left:6px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.catalog-item,.catalog-card{padding:9px}.catalog-item img,.catalog-card img{height:63px}.site-footer{padding:20px;gap:11px;font-size:9px}.site-footer>span:first-child{font-size:7px}dialog{padding:22px}.dialog-actions .button{font-size:11px}}
@media(max-width:350px){.wordmark{font-size:19px}.header-actions .button{font-size:8px;padding:9px 7px}.header-actions .button svg{width:12px}.scan-action-row .button{font-size:9px;padding:10px 8px}.scan-action-row .text-button{font-size:8px}.workbench-top .small-label{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Official color-specific product photos, independent of recognition crops. */
.product-photo { display: block; background: #fff; border: 1px solid #ecece6; border-radius: 6px; overflow: hidden; }
.refill-item .product-photo { width: 124px; height: 78px; padding: 5px; flex: 0 0 auto; }
.refill-item .product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 0; }
.refill-item small { display: block; margin-top: 7px; font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.refill-item .refill-quantity { font-size: 11px; font-weight: 700; white-space: nowrap; color: var(--accent); }
.catalog-item .product-photo { height: 96px; padding: 5px; margin-bottom: 9px; }
.catalog-item .product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; background: #fff; border-radius: 0; }
@media (max-width: 480px) {
  .refill-item .product-photo { width: 92px; height: 66px; padding: 3px; }
  .refill-item small { font-size: 8px; }
  .refill-item .refill-quantity { font-size: 10px; }
  .catalog-item .product-photo { height: 88px; }
}
.tray-guides .tray-label{font-family:Inter,Arial,sans-serif;font-size:inherit;font-weight:700;fill:#fff;stroke:#273326;stroke-width:5;paint-order:stroke;stroke-linejoin:round}.tray-feedback{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}.tray-feedback-card{padding:12px;border:1px solid var(--line);border-radius:7px;background:#fafaf5;min-width:0}.tray-feedback-card>div{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}.tray-feedback-card strong{font-size:12px}.tray-feedback-card span{font-size:9px;color:#5e6655;background:#e9eddf;border-radius:4px;padding:4px 6px}.tray-feedback-card[data-state=incomplete] span,.tray-feedback-card[data-state=not-detected] span{color:#84553b;background:#fff0dc}.tray-feedback-card p{font-size:11px;line-height:1.5;margin-top:9px}.tray-feedback-card small{display:block;font-size:9px;line-height:1.5;color:var(--muted);margin-top:5px}@media(max-width:480px){.tray-feedback{gap:7px}.tray-feedback-card{padding:9px}.tray-feedback-card p{font-size:10px}.tray-feedback-card small{font-size:8px}}
.camera-stage:has(video:not([hidden])),.camera-stage:has(canvas:not([hidden])){width:100%;max-height:min(560px,65svh)}
.camera-guidance{position:absolute;z-index:3;inset:10px 10px auto;padding:10px 12px;border-radius:7px;background:#131711d9;color:#fff;display:flex;flex-direction:column;gap:5px;pointer-events:none;line-height:1.4}
.camera-guidance .camera-step{font-size:9px;letter-spacing:1.1px;color:#f5c9bd;font-weight:700}
.camera-guidance strong{font-size:12px;font-weight:600}
.camera-guidance #camera-detail{font-size:10px;color:#e3e9dc}
.guided-camera-actions{position:absolute;z-index:4;inset:auto 10px 10px;display:flex;gap:8px;justify-content:center}
.guided-camera-actions .button{min-height:46px;box-shadow:0 2px 12px #0004}
.guided-camera-actions .button-primary{flex:1}
@media(max-width:480px){.camera-stage:has(video:not([hidden])){max-height:460px;max-height:min(520px,58svh)}.camera-guidance{inset:7px 7px auto;padding:8px 9px}.camera-guidance strong{font-size:11px}.camera-guidance #camera-detail{font-size:9px}.guided-camera-actions{inset:auto 7px 7px}.guided-camera-actions .button{font-size:11px;padding:10px 12px}}

/* Myokids header branding */
.wordmark-logo{display:block;width:220px;height:54px;object-fit:cover;object-position:center}
@media(max-width:830px){.wordmark-logo{width:192px;height:48px}}
@media(max-width:480px){.wordmark-logo{width:164px;height:42px}}
@media(max-width:350px){.wordmark-logo{width:148px;height:38px}}

/* Single-column homepage workspace */
.main-layout.workspace-layout{grid-template-columns:minmax(0,1fr);max-width:880px;gap:0;padding-top:38px}
.workspace-title{font-family:Georgia,"Times New Roman",serif;font-size:29px;line-height:1.12;font-weight:400;letter-spacing:-.8px;margin:0}
.workspace-route{margin:18px 0 0;text-align:center}
@media(max-width:830px){.main-layout.workspace-layout{max-width:720px;padding-top:28px}}
@media(max-width:480px){.main-layout.workspace-layout{padding-top:22px}.workspace-title{font-size:25px}}

/* Smooth logo asset includes its own tight framing. */
.wordmark-logo{object-fit:contain}

/* Myokids scan entry artwork */
.stage-placeholder.scan-placeholder{padding:20px;background-image:none;gap:0}
.scan-trays-illustration{display:block;width:82%;max-width:360px;flex:1 1 0%;min-height:0;object-fit:contain}
.stage-placeholder.scan-placeholder p{font-family:inherit;font-size:11px;line-height:1.5;letter-spacing:0;color:var(--muted);background:none;padding:0;margin:10px 0 0}
@media(max-width:480px){.stage-placeholder.scan-placeholder{padding:12px}.stage-placeholder.scan-placeholder p{font-size:9px;margin-top:6px}}

/* Larger mobile tray preview, before camera or photo display. */
@media(max-width:480px){
  .camera-stage:has(>.scan-placeholder:not([hidden])){aspect-ratio:.84;min-height:340px}
  .stage-placeholder.scan-placeholder{padding:12px 8px}
  .scan-placeholder .scan-trays-illustration{width:calc(100% + 36px);max-width:none;height:auto;flex:0 1 auto}
}

/* Myokids line arrows */
.ui-arrow{width:1.1em;height:1.1em;display:inline-block;vertical-align:-.15em;flex-shrink:0;pointer-events:none}
