@font-face{font-family:DM Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/font-0.ttf) format("truetype")}@font-face{font-family:DM Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/font-1.ttf) format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/font-2.ttf) format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/font-3.ttf) format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/font-4.ttf) format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/font-5.ttf) format("truetype")}@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/font-6.ttf) format("truetype")}@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/font-7.ttf) format("truetype")}:root{font-family:DM Sans,sans-serif;color:var(--ink);background:#fff;font-synthesis:none;--accent:#c9252d;--accent-ink:#a51d27;--accent-soft:#fff1f2;--accent-hover:#fde3e5;--accent-border:#edb5bb;--ink:#292326;--muted:#756b70;--line:#e7e4e6;--surface-subtle:#f7f7f8;--blue:#2563eb;--orange:#d9601a;--mono:"DM Mono",monospace}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{cursor:not-allowed;opacity:.4}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:hover:not(:disabled){filter:brightness(.96)}a{color:var(--accent);text-underline-offset:3px}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}p{line-height:1.6}::selection{background:var(--accent-hover)}.app-header{height:68px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 max(24px,calc((100vw - 920px)/2))}.brand{display:flex;align-items:center;gap:8px;font-size:20px;letter-spacing:-.8px;font-weight:600;padding:0}.brand svg{color:var(--accent)}.app-header nav{display:flex;align-items:center;gap:22px}.app-header nav>button{font-size:12px;color:var(--muted);padding:5px 0}.app-header nav>.icon-button{padding:7px}.app-main{width:100%;max-width:732px;padding:35px 24px 45px;margin:auto}.scan-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.scan-heading h1{font-size:25px;letter-spacing:-.7px;line-height:1.3}.scan-heading p{font-size:13px;color:var(--muted);margin-top:6px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:6px;padding:12px 18px;font-size:13px;font-weight:500;min-height:44px;line-height:1.3;text-decoration:none}.button.primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}.button.secondary{background:#fff;border:1px solid var(--line)}.button.text{color:var(--muted);font-size:12px;font-weight:400}.button.small{padding:9px 11px;font-size:11px;min-height:36px;gap:5px}.button.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:5px;padding:8px}.icon-button:hover{background:var(--surface-subtle)}.side-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;margin-bottom:18px}.side-tabs>button{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 15px;border-radius:5px;text-align:left;color:var(--muted);font-size:13px;min-height:42px}.side-tabs>button.selected{background:#fff;color:var(--accent-ink);box-shadow:0 1px 4px #2923260c}.side-tabs small{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:4px}.upload-panel{border:1px dashed var(--line);min-height:348px;background:#fff;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;text-align:center}.upload-card-icon{height:53px;width:43px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;color:var(--muted);margin-bottom:20px}.upload-panel h2{font-size:17px;letter-spacing:-.3px}.upload-panel p{font-size:12px;color:var(--muted);margin:8px 0 23px}.upload-panel .button.primary{min-width:170px}.upload-panel .button.text{margin-top:2px;min-height:40px}.example-link{font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;margin-top:20px;padding:5px}.privacy-note{font-size:10px;line-height:1.8;color:var(--muted);text-align:center;max-width:460px;margin:23px auto 0}.editor{border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.edge-step-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding:0 15px;gap:24px}.edge-step-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:var(--muted);padding:15px 10px;position:relative}.edge-step-tabs>button.active:after{content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0;background:currentColor}.edge-step-tabs>button.active.blue{color:var(--blue)}.edge-step-tabs>button.active.orange{color:var(--orange)}.boundary-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.boundary-dot.blue{background:var(--blue)}.boundary-dot.orange{background:var(--orange)}.boundary-help{display:flex;align-items:center;gap:10px;padding:17px 20px 19px}.boundary-diagram{width:84px;height:66px;flex-shrink:0}.boundary-help h2{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:500}.boundary-help p{font-size:12px;color:var(--muted);margin-top:6px;max-width:450px;line-height:1.65}.boundary-help small{font-size:10px;color:var(--muted);line-height:1.6;display:block;margin-top:4px}.photo-viewport{--boundary:var(--blue);position:relative;height:clamp(350px,53vh,500px);overflow:auto;display:flex;padding:28px 38px;background:var(--surface-subtle);border-top:1px solid var(--line);border-bottom:1px solid var(--line);scrollbar-width:thin;scrollbar-color:var(--line) transparent;align-items:flex-start}.photo-viewport.print-mode{--boundary:var(--orange)}.photo-size{width:calc(min(66vw,310px) * var(--zoom));flex-shrink:0;margin:auto}.photo-art{position:relative;width:100%;box-shadow:0 4px 20px #2923261f}.photo-art>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none}.guide-overlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none;overflow:visible;-webkit-user-select:none;user-select:none}.boundary-line{fill:none;stroke:var(--boundary);stroke-width:2px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 1px #fff)}.print-mode .boundary-line{stroke-dasharray:6 3}.physical-edge{fill:none;stroke:var(--blue);stroke-width:2px;vector-effect:non-scaling-stroke}.edge-hit{stroke:transparent;stroke-width:24px;vector-effect:non-scaling-stroke;cursor:move}.edge-hit:focus-visible{outline:none;stroke:#d9601a35}.corner{cursor:move}.corner:focus-visible{outline:none}.corner:focus-visible .corner-handle{stroke-width:4px}.corner-handle,.edge-handle{fill:#fff;stroke:var(--boundary);stroke-width:2px;vector-effect:non-scaling-stroke}.edge-handle{cursor:move;stroke-width:1.5px}.photo-label{position:absolute;font-size:10px;font-weight:500;line-height:1;z-index:2;background:#fff;border-radius:3px;padding:4px 6px;box-shadow:0 1px 4px #0001;pointer-events:none;white-space:nowrap}.card-label{color:var(--blue);top:-11px;left:8px;border:1px solid #c9d9ff}.print-label{color:var(--orange);transform:translate(-50%,6px);border:1px solid #f2d1bb}.photo-tools{display:flex;align-items:center;justify-content:space-between;padding:9px 13px;gap:10px}.tool-group{display:flex;align-items:center;gap:3px}.zoom{font:11px var(--mono);color:var(--muted);gap:7px}.ai-button{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:5px;min-height:35px;padding:7px 11px;margin-right:7px}.ai-hint{font-size:9px;color:var(--muted);padding:0 19px 12px}.inline-warning{font-size:11px;color:#9b6229;background:#fff7ed;margin:0 15px 12px;padding:10px 12px;border-radius:4px}.processing{position:sticky;bottom:10px;align-self:flex-end;flex-shrink:0;z-index:3;display:flex;align-items:center;gap:10px;background:#fff;color:var(--ink);padding:12px 16px;box-shadow:0 2px 15px #29232623;border:1px solid var(--line);border-radius:6px;font-size:12px;margin-left:-100%;left:50%;transform:translate(-50%)}.spinner{width:14px;height:14px;display:inline-block;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.nudge-row{display:flex;align-items:center;justify-content:space-between;padding:4px 18px 13px;gap:10px;font-size:10px;color:var(--muted)}.nudge-row>div{display:flex;gap:4px}.nudge-row button{width:32px;height:29px;border:1px solid var(--line);border-radius:4px;font-size:14px}.fine-adjustments{border-top:1px solid var(--line);padding:0 19px}.fine-adjustments summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;font-size:11px;color:var(--muted);padding:14px 0}.fine-adjustments summary::-webkit-details-marker{display:none}.border-inputs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding-bottom:16px}.border-field>span{display:block;text-transform:capitalize;font-size:10px;color:var(--muted);margin-bottom:6px}.border-field>div{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;padding-right:8px;font:10px var(--mono);color:var(--muted)}.border-field input{width:100%;min-width:0;background:#fff;border:0;border-radius:4px;padding:9px 7px;font:11px var(--mono);color:var(--muted);outline-offset:-2px}.editor-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:14px 18px;gap:10px}.editor-bottom .button.primary{font-size:12px;min-height:40px;padding:10px 15px}.editor-bottom .button.text{font-size:11px;padding:8px 0}.demo-label{font-size:9px;text-align:center;color:var(--muted);padding:0 15px 14px}.results{margin-top:24px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:19px}.results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.results-heading h2{font-size:15px;letter-spacing:-.2px}.results-heading>span{font-size:10px;color:var(--muted)}.measurement-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.measurement-table th{font-size:10px;font-weight:400;color:var(--muted);padding:0 8px 9px}.measurement-table td{padding:9px 8px;border-top:1px solid var(--surface-subtle);font:12px var(--mono);color:var(--muted)}.measurement-table td:first-child{font:11px DM Sans,sans-serif;color:var(--muted)}.grade-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:17px}.grade-grid>button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-width:0;border:1px solid var(--line);border-radius:5px;padding:13px 6px}.grade-grid>button.selected{border-color:var(--accent-border);background:var(--accent-soft)}.grade-grid>button>span{font-size:10px;font-weight:500;display:flex;gap:5px;align-items:center}.grade-grid i{width:4px;height:4px;border-radius:50%;background:#dd9553}.grade-grid strong{font-size:25px;font-weight:500;letter-spacing:-.9px;line-height:1.1;white-space:nowrap}.grade-grid strong.long-grade{font:11px var(--mono);letter-spacing:-.4px;padding-top:8px;padding-bottom:8px}.grade-grid small{font-size:8px;color:var(--muted)}.grade-detail{margin-top:12px;padding:12px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:5px}.grade-detail>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.grade-detail strong{font-size:12px;font-weight:500}.grade-detail p{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.8}.grade-detail p.limits{font:10px var(--mono);color:var(--muted);margin-top:4px;line-height:1.8}.grade-detail a{font-size:10px;display:inline-flex;align-items:center;gap:3px;margin-top:10px}.result-footnote{display:flex;align-items:flex-start;gap:15px;margin-top:14px;justify-content:space-between}.result-footnote p{font-size:9px;line-height:1.8;color:var(--muted)}.result-footnote button{font-size:10px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;flex-shrink:0}.result-actions{display:flex;align-items:center;gap:8px;margin-top:13px}.result-actions .button{font-size:11px;min-height:38px;padding:9px 13px}.result-actions>span{margin-left:auto;font-size:9px;max-width:150px;line-height:1.6;color:var(--muted);text-align:right}.modal{border:1px solid var(--line);border-radius:10px;width:calc(100vw - 28px);max-width:480px;max-height:90dvh;overflow:auto;padding:22px;color:var(--ink);background:#fff;box-shadow:0 15px 80px #29232630}.modal.wide{max-width:600px}.modal::backdrop{background:#2923265c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.modal-heading h2{font-size:19px;letter-spacing:-.4px}.muted{font-size:12px;color:var(--muted);line-height:1.8;margin:14px 0}.field-label{font-size:12px;display:flex;flex-direction:column;gap:8px;color:var(--muted)}.field-label input{padding:12px;background:#fff;border:1px solid var(--line);border-radius:5px;color:var(--ink)}.help-content h3{font-size:13px;font-weight:500;display:flex;gap:7px;align-items:center;margin-top:22px}.help-content h3:first-child{margin-top:0}.help-content p{font-size:12px;color:var(--muted);line-height:1.9;margin:7px 0 15px}.help-content a{font-size:11px}.saved-list{display:flex;flex-direction:column}.saved-list>button{display:flex;align-items:center;gap:15px;padding:14px 0;text-align:left;border-bottom:1px solid var(--line)}.saved-list img{width:39px;height:55px;object-fit:cover;border-radius:3px;background:var(--surface-subtle)}.saved-list span{flex:1}.saved-list strong{font-size:13px;font-weight:500;display:block}.saved-list small{font-size:10px;color:var(--muted);display:block;margin-top:6px}.open-arrow{transform:rotate(180deg);color:var(--muted)}.rules-tabs{display:flex;gap:7px}.rules-tabs button{flex:1;border:1px solid var(--line);border-radius:4px;padding:10px 6px;font-size:12px;color:var(--muted)}.rules-tabs button.selected{color:var(--ink);border-color:var(--line);background:var(--surface-subtle)}.rules-table-scroll{overflow:auto}.rules-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.rules-table th{font-size:10px;color:var(--muted);padding:12px 8px;font-weight:400;border-bottom:1px solid var(--line)}.rules-table td{font:12px var(--mono);padding:13px 8px;border-bottom:1px solid var(--line);color:var(--muted)}.rules-table td:first-child{font-family:DM Sans,sans-serif;color:var(--ink);white-space:normal}.rules-table td strong{font-size:13px;font-weight:500;display:block}.rules-table td small{font-size:9px;display:block;color:var(--muted);margin-top:3px}.source-link{font-size:11px;display:inline-flex;align-items:center;gap:4px;margin:5px 0 16px}.rules-date{font-size:9px;color:var(--muted);margin:20px 0 0;line-height:1.8}.other-graders{border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:var(--muted)}.other-graders summary{cursor:pointer}.other-graders h3{font-size:12px;font-weight:500;margin-top:20px}.other-graders p{font-size:11px;margin:7px 0;line-height:1.8}.other-graders a{font-size:10px}.toast{position:fixed;z-index:10;bottom:22px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 4px 20px #29232620;border-radius:7px;padding:11px 14px;max-width:500px;width:max-content;font-size:12px;line-height:1.7}.toast .icon-button{height:28px;width:28px;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:560px){.app-header{height:60px;padding:0 17px;gap:15px}.brand{font-size:18px;gap:6px}.brand svg{width:20px}.app-header nav{gap:14px}.app-header nav>button{font-size:10px}.app-header nav>.icon-button{width:24px;padding:3px}.app-main{padding:24px 14px 30px}.scan-heading{margin-bottom:20px}.scan-heading h1{font-size:23px}.scan-heading p{font-size:12px}.scan-heading .button.small{font-size:10px;padding:9px;min-height:35px}.side-tabs{margin-bottom:14px}.side-tabs>button{padding:11px 12px;font-size:12px}.side-tabs small{font-size:9px}.upload-panel{min-height:330px;padding:30px 15px}.upload-panel h2{font-size:16px}.upload-panel p{font-size:11px}.edge-step-tabs{padding:0 12px;gap:18px}.edge-step-tabs>button{font-size:11px;padding:14px 7px}.boundary-help{padding:15px 12px;gap:7px}.boundary-diagram{width:67px;height:61px}.boundary-help h2{font-size:13px}.boundary-help p{font-size:11px;margin-top:5px;line-height:1.7}.boundary-help small{font-size:9px;margin-top:4px}.photo-viewport{padding:25px 28px;height:clamp(330px,53vh,460px)}.photo-size{width:calc(min(67vw,270px) * var(--zoom))}.photo-label{font-size:9px}.photo-tools{padding:8px 10px}.ai-button{font-size:10px;padding:7px 9px;margin-right:3px}.tool-group{gap:1px}.icon-button{height:35px;width:33px}.zoom{gap:3px}.ai-hint{font-size:8px;padding:0 14px 10px}.editor-bottom{padding:12px}.editor-bottom .button.primary{font-size:11px;min-height:41px;padding:11px 13px}.editor-bottom .button.text{font-size:10px}.fine-adjustments{padding:0 14px}.fine-adjustments summary{font-size:10px;padding:13px 0}.border-inputs{gap:7px}.border-field input{font-size:11px;padding:9px 5px}.border-field>div{padding-right:5px}.nudge-row{padding:3px 14px 13px;font-size:9px}.nudge-row button{width:34px;height:31px}.results{margin-top:20px;padding:16px 13px}.results-heading{margin-bottom:15px}.results-heading h2{font-size:14px}.results-heading>span{font-size:9px}.measurement-table th{font-size:9px;padding:0 6px 8px}.measurement-table td{font-size:11px;padding:9px 6px}.measurement-table td:first-child{font-size:10px}.grade-grid{gap:6px;margin-top:14px}.grade-grid>button{padding:12px 4px;gap:8px}.grade-grid>button>span{font-size:10px}.grade-grid strong{font-size:25px}.grade-grid strong.long-grade{font-size:9px;padding-top:9px;padding-bottom:9px}.grade-grid small,.result-footnote p{font-size:8px}.result-actions{gap:4px}.result-actions .button{font-size:10px;gap:6px;padding:9px 10px}.result-actions>span{font-size:8px;max-width:115px}.privacy-note{font-size:9px;padding:0 13px;max-width:350px;margin-top:21px}.modal{padding:20px 17px;max-height:88dvh}.modal-heading h2{font-size:18px}.rules-table td{font-size:11px;padding:12px 7px}.rules-table td small{font-size:8px}.rules-tabs button,.muted,.help-content p{font-size:11px}.toast{width:calc(100vw - 26px);font-size:11px;bottom:15px;padding:10px 12px;max-width:480px}.processing{font-size:11px;padding:11px 13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}.photo-stage{position:relative}.photo-viewport{display:block;padding:0;touch-action:none;cursor:grab;overscroll-behavior:contain}.photo-viewport:active{cursor:grabbing}.photo-space{position:relative;flex:none}.photo-art{position:absolute;margin:0;aspect-ratio:auto}.card-mode .photo-viewport{--boundary:var(--blue)}.print-mode .photo-viewport{--boundary:var(--orange)}.boundary-line,.physical-edge{stroke-width:1px}.corner-handle{stroke-width:1.5px}.adjusting-guide .boundary-line{opacity:.65}.corner.dragging .corner-handle{opacity:0}.photo-tools{flex-wrap:wrap;gap:5px}.photo-tools>.zoom{margin-left:auto}.fit-button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:50px;min-height:36px;font:10px var(--mono);padding:4px}.viewer-hint{font-size:10px;line-height:1.6;color:var(--muted);padding:0 18px 11px}.processing{position:absolute;left:50%;bottom:12px;transform:translate(-50%);margin:0;max-width:calc(100% - 24px);width:max-content}.precision-loupe{position:absolute;top:10px;z-index:4;width:162px;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden;box-shadow:0 3px 18px #29232630;pointer-events:none}.precision-loupe.on-left{left:10px}.precision-loupe.on-right{right:10px}.precision-loupe>div{display:flex;align-items:center;justify-content:space-between;height:26px;padding:0 7px;background:#fff;font:9px var(--mono);color:var(--muted)}.precision-loupe button{pointer-events:auto;display:grid;place-items:center;padding:5px}.precision-loupe canvas{width:160px;height:160px;display:block;image-rendering:pixelated}.precision-loupe small{display:block;text-align:center;padding:5px;font-size:9px;color:var(--muted)}.normalized-note{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:var(--muted);padding:0 18px 13px}.normalized-note button{color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding:3px 0}.crop-editor .muted{margin-top:0}.crop-editor .photo-stage{border:1px solid var(--line);border-radius:5px;overflow:hidden}.crop-editor .photo-viewport{height:clamp(260px,48vh,440px)}.crop-editor .button.full{margin-top:12px}.crop-frame{fill:transparent;stroke:#fff;stroke-width:1px;vector-effect:non-scaling-stroke;cursor:move}.crop-handle{fill:#fff;stroke:var(--ink);stroke-width:1.5px;vector-effect:non-scaling-stroke;cursor:nwse-resize}.crop-guides g:focus-visible{outline:none}.crop-guides g:focus-visible .crop-handle{stroke-width:3px}@media(max-width:560px){.photo-viewport{padding:0}.photo-tools .icon-button{width:33px;height:39px}.photo-tools .ai-button{font-size:10px;padding:7px}.photo-tools>.zoom{gap:0}.fit-button{min-width:48px;min-height:39px}.viewer-hint{font-size:9px;padding:0 13px 11px}.precision-loupe{width:134px;top:8px}.precision-loupe canvas{width:132px;height:132px}.precision-loupe.on-left{left:8px}.precision-loupe.on-right{right:8px}.precision-loupe>div{font-size:8px;height:24px}.precision-loupe small{font-size:9px;padding:4px}.boundary-help p{font-size:12px}.normalized-note{font-size:10px;padding:0 13px 12px;line-height:1.6}.normalized-note button{font-size:10px;white-space:nowrap}.ai-hint{font-size:9px}}.save-bucket-field{margin-top:17px}.saved-intro{font-size:12px;color:var(--muted);margin-bottom:17px}.saved-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:22px}.saved-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:var(--muted)}.saved-toolbar select,.bucket-select select{font:11px DM Sans,sans-serif;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);padding:9px;max-width:100%}.saved-toolbar select{min-width:160px}.new-bucket{display:flex;gap:8px;margin-bottom:20px}.new-bucket input{min-width:0;flex:1;padding:10px;border:1px solid var(--line);border-radius:5px;font-size:12px}.saved-bucket{margin-top:23px}.saved-bucket h3{font-size:13px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding-bottom:10px}.saved-bucket h3>span{font:10px var(--mono);color:var(--muted)}.saved-card{padding:13px 0;border-bottom:1px solid var(--line)}.saved-card-open{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:0}.saved-card-open>img{width:39px;height:55px;border-radius:3px;object-fit:cover;background:var(--surface-subtle)}.saved-card-open>span{flex:1;min-width:0}.saved-card-open strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.saved-card-open small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.saved-card-open>svg{color:var(--muted)}.saved-estimates{display:flex;gap:11px;flex-wrap:wrap;margin-top:8px}.saved-estimates>span{display:flex;gap:4px;font-size:9px;color:var(--muted)}.saved-estimates b{font:10px var(--mono);font-weight:400;color:var(--muted)}.bucket-select{margin:11px 0 0 51px;display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted)}.bucket-select select{min-width:135px;padding:6px 8px;font-size:10px}.saved-footnote{font-size:10px;margin:24px 0 0}@media(max-width:560px){.saved-toolbar{gap:8px}.saved-toolbar select{min-width:145px;font-size:10px;padding:9px 7px}.saved-toolbar .button{font-size:10px;padding:9px}.saved-estimates{gap:9px}.saved-card-open strong{font-size:12px}.saved-footnote{font-size:10px}}.selected-edge{stroke:var(--boundary);stroke-width:9px;stroke-opacity:.22;vector-effect:non-scaling-stroke;pointer-events:none}.guide-overlay:focus{outline:none}.nudge-row strong{font-weight:500;color:var(--muted)}.nudge-row small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.edge-hit[aria-pressed=true]{cursor:move}.card-mode .boundary-line{stroke-dasharray:2 4;stroke-linecap:round}.swap-sides{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;width:max-content;margin:-8px 0 10px auto;padding:7px 2px;font-size:11px;color:var(--muted)}.swap-sides:hover:not(:disabled){color:var(--accent);text-decoration:underline;text-underline-offset:3px}.boundary-help>div{flex:1;min-width:0}.boundary-help-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.boundary-help-heading .replace-photo{font-size:11px;min-height:36px;padding:8px 11px;white-space:nowrap;color:var(--ink);border-color:var(--line);background:var(--surface-subtle)}.editor-bottom{justify-content:flex-end}.results{scroll-margin-top:18px}@media(max-width:560px){.boundary-help-heading{gap:8px}.boundary-help-heading .replace-photo{font-size:10px;padding:8px 9px}.editor-bottom .button.primary{min-height:44px;font-size:12px}}.app-header nav>.saved-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid var(--accent-border);border-radius:6px;background:var(--accent-soft);color:var(--accent-ink);font-size:12px;font-weight:500;white-space:nowrap}.app-header nav>.saved-button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent)}.app-header nav>.saved-button:active:not(:disabled){background:var(--accent-hover);transform:translateY(1px)}.saved-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent-hover);font:10px var(--mono)}@media(max-width:560px){.app-header nav>.saved-button{font-size:11px;padding:8px 10px;gap:6px}}@media(max-width:380px){.app-header{padding:0 12px;gap:8px}.app-header nav{gap:8px}.app-header .brand{font-size:16px;gap:5px}.app-header .brand svg{width:18px}.app-header nav>.saved-button{padding:8px;gap:5px}.saved-count{min-width:16px;font-size:9px}}.photo-stage,.photo-viewport{overflow-anchor:none}.photo-viewport{scroll-behavior:auto;scrollbar-gutter:stable}.side-tab-label{display:flex;align-items:center;gap:9px;min-width:0}.side-tab-label img{width:23px;height:32px;object-fit:cover;border-radius:3px;background:var(--surface-subtle)}.side-review{margin:0 0 14px}.upload-panel:has(.button.primary+.button.text+.button.text){min-height:365px}@media(max-width:560px){.side-tab-label{gap:7px}.side-tab-label img{width:20px;height:28px}.side-tabs>button{gap:5px}}.editor-bottom .button.edge-saved:disabled{background:var(--surface-subtle);border-color:var(--line);color:var(--muted);opacity:1;cursor:default}.editor-bottom .button.edge-saved svg{color:var(--muted)}.editor-bottom>.button.secondary{font-size:12px;min-height:44px;padding:10px 15px}@media(max-width:560px){.editor-bottom{flex-wrap:wrap;gap:8px}.editor-bottom>.button.secondary{font-size:11px;padding:10px 12px}}.boundary-halo,.physical-edge-halo{fill:none;stroke:#fff;stroke-width:3px;vector-effect:non-scaling-stroke;pointer-events:none;stroke-linejoin:round}.print-mode .boundary-line{stroke:var(--ink);stroke-width:1.1px;stroke-dasharray:5 4;filter:none}.print-mode .boundary-halo,.physical-edge-halo{stroke-width:3px}.physical-edge{stroke-width:1px;stroke-dasharray:2 4}.selected-edge{stroke:#fff;stroke-width:5px;stroke-opacity:.95}.edge-handle,.corner-handle{filter:drop-shadow(0 0 1px var(--ink))}.edge-handle.is-selected{fill:var(--boundary);stroke:#fff;stroke-width:1.5px}.adjusting-guide .boundary-halo{opacity:.65}.scan-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-8px 0 12px}.scan-actions .swap-sides{margin:0 0 0 auto}.history-actions{display:flex;align-items:center;gap:5px}.history-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;min-width:36px;padding:7px 10px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);font-size:11px}.history-actions button:hover:not(:disabled){background:var(--surface-subtle)}.tier-checks{list-style:none;margin:12px 0 0;padding:0}.tier-checks li{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:11px}.tier-checks li>span:first-child{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.tier-checks strong{font-size:11px}.tier-checks small{font-size:10px;color:var(--muted)}.check-ratio{font:10px var(--mono);color:var(--muted)}.check-status{font-size:9px;min-width:65px;text-align:right}.check-status.passes{color:var(--muted)}.check-status.outside{color:#a3662d}.grade-detail p.grade-reason{color:#775e3f;font-size:11px}@media(max-width:560px){.tier-checks li{gap:7px}.tier-checks li>span:first-child{align-items:flex-start;flex-direction:column;gap:3px}.check-status{min-width:62px;font-size:9px}}.scan-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.saved-intro{line-height:1.7;color:var(--muted)}.saved-card{padding:18px 0}.saved-card-info{flex:1;min-width:0}.saved-card-open small{color:var(--muted)}.saved-card-actions{display:flex;align-items:center;gap:7px;margin-top:13px}.saved-card-actions .button{min-height:38px}.saved-card .bucket-select{margin:12px 0 0;color:var(--muted);justify-content:space-between}.saved-card .bucket-select select{min-height:38px;min-width:155px;font-size:11px}.saved-centering{width:100%;border-collapse:collapse;margin-top:14px;text-align:left}.saved-centering thead th{font-size:10px;font-weight:400;color:var(--muted);padding:0 0 7px}.saved-centering tbody th{font-size:11px;font-weight:400;color:var(--muted);padding:5px 0}.saved-centering td{font:11px var(--mono);color:var(--ink);padding:5px 0}.saved-centering th:first-child{width:22%}.saved-centering th:not(:first-child),.saved-centering td{text-align:right}.saved-rename{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.saved-rename input{width:100%;padding:10px;border:1px solid var(--line);border-radius:5px;font:13px DM Sans,sans-serif}.saved-rename .button{min-height:38px}@media(max-width:560px){.scan-heading{gap:10px;flex-wrap:wrap}.scan-heading h1{font-size:24px}.scan-heading-actions{margin-left:auto}.scan-heading-actions .button{min-height:38px}.saved-toolbar{align-items:center}.saved-card-actions .button{font-size:11px}.saved-card-open strong{font-size:14px}.saved-centering td{font-size:12px}}.edge-detection-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 18px 15px}.edge-detection-actions .button{border-color:var(--accent-border);color:var(--accent-ink);min-height:44px;font-size:12px;padding:10px 12px}.edge-detection-actions .button svg{flex-shrink:0}.edge-detection-actions .refinement-feedback{grid-column:1/-1;font-size:11px;color:var(--muted);line-height:1.6;margin:0}.refinement-feedback:empty{display:none}.saved-centering .centering-difference{display:inline-block;margin-left:6px;font-size:9px;line-height:1;white-space:nowrap}.centering-difference.within-limit{color:#15803d}.centering-difference.over-limit{color:var(--accent)}.saved-card-title{display:flex;align-items:center;gap:7px;min-width:0}.saved-complete{color:#15803d;flex-shrink:0}.saved-card-open>.remove-saved-card{width:44px;height:44px;flex-shrink:0;color:var(--muted);align-self:flex-start}.remove-saved-card:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.toast-undo{font-size:12px;font-weight:500;color:var(--accent);text-decoration:underline;text-underline-offset:3px;min-height:36px;padding:6px}.scan-save-controls{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;min-height:60px;margin:-6px 0 18px;padding:0 0 14px;border-bottom:1px solid var(--line)}.scan-save-status{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.scan-save-status.dirty{color:var(--accent-ink)}.scan-save-controls .button{min-height:44px}.scan-save-controls .button.primary{min-width:78px}@media(max-width:420px){.scan-save-controls{gap:7px}.scan-save-status{font-size:10px}.scan-save-controls .button{font-size:10px;padding:9px}.scan-save-controls .button.primary{min-width:65px}}.precision-dock{position:relative;height:232px;border-top:1px solid var(--line);background:var(--surface-subtle);overflow:hidden}.precision-dock .precision-loupe{pointer-events:auto}.precision-loupe .loupe-drag{display:flex;align-items:center;gap:6px;flex:1;justify-content:flex-start;font:inherit;cursor:grab;touch-action:none;min-width:0}.precision-loupe .loupe-drag:active{cursor:grabbing}@media(max-width:560px){.precision-dock{height:202px}}.modal .toast{position:sticky;bottom:0;left:auto;transform:none;width:100%;max-width:none;margin-top:16px}.measurement-mode{display:grid;grid-template-columns:1fr 1fr;gap:3px;max-width:292px;min-width:0;margin:0 0 12px auto;padding:3px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px}.measurement-mode>label{position:relative;min-width:0}.mode-option{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 12px;border-radius:5px;color:var(--muted);font-size:11px;font-weight:500;cursor:pointer}.mode-check{visibility:hidden}.measurement-mode input:checked+.mode-option{background:var(--accent);color:#fff;box-shadow:0 1px 3px #29232618}.measurement-mode input:checked+.mode-option .mode-check{visibility:visible}.measurement-mode input:focus-visible+.mode-option{outline:2px solid var(--accent);outline-offset:3px}.measurement-mode input:disabled+.mode-option{opacity:.45;cursor:not-allowed}.caliper-editor .boundary-help p{display:flex;align-items:center;gap:6px}.caliper-editor .boundary-help .orange{margin-left:8px}.caliper-halo{stroke:#fff;stroke-width:4px;vector-effect:non-scaling-stroke}.caliper-line{stroke:var(--ink);stroke-width:1px;vector-effect:non-scaling-stroke}.caliper-tip{fill:#fff;stroke-width:1.5px;vector-effect:non-scaling-stroke}.caliper-tip.outer-tip{stroke:var(--blue)}.caliper-tip.inner-tip{stroke:var(--orange)}.caliper-overlay g[data-guide]{cursor:move}.caliper-overlay g[data-guide]:focus-visible{outline:none}.caliper-overlay g[data-guide]:focus-visible .caliper-tip{stroke-width:3px}.caliper-widths{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:13px 18px;border-top:1px solid var(--line)}.caliper-widths>span{font-size:10px;color:var(--muted);display:flex;gap:7px;align-items:center;justify-content:center}.caliper-widths strong{font:10px var(--mono);color:var(--ink)}@media(max-width:420px){.caliper-widths{padding:12px 8px;gap:4px}.caliper-widths>span{flex-direction:column;gap:4px}}.boundary-help{justify-content:space-between;padding:15px 18px;gap:12px}.boundary-help p{margin:0;font-size:11px;line-height:1.5;max-width:260px}.boundary-help .replace-photo{flex-shrink:0;white-space:nowrap;font-size:11px;min-height:38px;padding:8px 11px;color:var(--ink);border-color:var(--line);background:var(--surface-subtle)}.editor-photo-metadata{display:block}.editor-photo-metadata summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;overflow-wrap:anywhere}.editor-photo-metadata summary::-webkit-details-marker{display:none}.editor-photo-metadata summary svg{flex-shrink:0}.editor-photo-metadata p{margin-top:5px}.editor-photo-metadata[open] summary svg{transform:rotate(180deg)}.grade-grid>button>span>svg{color:var(--muted);transition:transform .15s}.grade-grid>button.selected>span>svg{transform:rotate(180deg)}.upload-panel h2{margin-bottom:20px}.rotation-controls{display:inline-flex;align-items:center;gap:1px;border:1px solid var(--line);border-radius:5px;margin:0 5px}.rotation-controls .icon-button{min-width:36px;min-height:40px}.editor-notice{font-size:11px;line-height:1.7;color:#876d4f;padding:0 18px 12px;margin:0}.editor-photo-metadata{display:block;padding:0 18px 12px;font-size:10px;color:var(--muted)}.editor-photo-metadata summary{color:var(--muted)}.active-batch{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin:-8px 0 15px}.active-batch button,.saved-batch-filter button{color:var(--muted);text-decoration:underline;text-underline-offset:3px}.scan-heading-actions .button.primary{min-width:115px}.modal.batch-modal{max-width:900px}.batch-mode-tabs{display:flex;gap:6px;padding:4px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:7px;margin-bottom:20px}.batch-mode-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:11px;font-size:12px;color:var(--muted);border-radius:4px;min-height:43px}.batch-mode-tabs>button.selected{background:#fff;color:var(--accent-ink);box-shadow:0 1px 4px #29232610}.batch-intro,.batch-pairing-note{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:15px}.batch-source-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.batch-arrangement{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:15px 0;border-top:1px solid var(--line)}.batch-arrangement label,.batch-footer label,.batch-choose-photo,.saved-filters label{font-size:11px;color:var(--muted);display:flex;flex-direction:column;gap:7px;min-width:0}.batch-arrangement select,.batch-choose-photo select,.batch-footer input,.saved-filters select{min-width:0;max-width:100%;width:100%;padding:10px;border:1px solid var(--line);border-radius:5px;font:12px DM Sans,sans-serif;background:#fff;color:var(--ink);min-height:42px}.batch-pairing-note{font-size:11px;margin:0 0 16px}.batch-pair{padding:18px 0 23px;border-top:1px solid var(--line)}.batch-pair-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.batch-pair-heading label{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.batch-pair-heading label>span{font:11px var(--mono);color:var(--muted);white-space:nowrap}.batch-pair-heading input{font:13px DM Sans,sans-serif;width:100%;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:5px;color:var(--ink)}.batch-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.batch-photo-slot,.batch-photo-details{min-width:0}.batch-side-label{display:block;font-size:12px;color:var(--ink);font-weight:500;margin-bottom:8px}.batch-photo-preview{display:block;position:relative;width:100%;height:270px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:5px;padding:8px;overflow:hidden}.batch-photo-preview img{display:block;width:100%;height:100%;object-fit:contain}.batch-photo-preview>span{position:absolute;bottom:8px;right:8px;display:flex;gap:5px;align-items:center;font-size:10px;color:var(--ink);background:#fffef9ee;border:1px solid var(--line);padding:6px 8px;border-radius:4px}.batch-photo-details>strong{display:block;overflow-wrap:anywhere;font-size:12px;font-weight:500;line-height:1.7;color:var(--ink);margin-top:9px}.batch-photo-details>small{display:block;font-size:11px;line-height:1.7;color:var(--muted);margin-top:2px}.batch-photo-missing{height:270px;background:var(--surface-subtle);border:1px dashed var(--line);border-radius:5px;display:grid;place-items:center;font-size:12px;color:var(--muted)}.batch-choose-photo{margin-top:11px}.batch-photo-slot>.button{padding-left:0;margin-top:3px}.batch-swap{margin-top:10px}.batch-error{background:#fff4e8;border:1px solid #efddc5;border-radius:5px;font-size:12px;line-height:1.8;color:#855c31;padding:11px 13px;margin:13px 0}.batch-error button{text-decoration:underline;text-underline-offset:3px}.batch-progress{display:flex;align-items:center;gap:9px;padding:13px 0;font-size:12px;color:var(--ink)}.batch-footer{position:sticky;bottom:-22px;background:#fffffff5;border-top:1px solid var(--line);padding:16px 0 4px;display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px 16px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:2}.batch-footer label{max-width:270px}.batch-footer>.button{min-height:44px;min-width:145px}.batch-footer>small{grid-column:1/-1;color:var(--muted);font-size:10px;line-height:1.7;padding-bottom:8px}.batch-lightbox{max-width:1100px;max-height:94dvh;width:calc(100vw - 24px)}.batch-lightbox .batch-photo-preview{height:min(66dvh,700px)}.batch-lightbox .modal-heading{position:sticky;top:-22px;z-index:1;background:#fff;padding:5px 0 12px;margin-bottom:0}.batch-ready{text-align:center;padding:10px 0}.batch-ready-icon{width:54px;height:54px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}.batch-ready h3{font-size:22px;font-weight:500;letter-spacing:-.5px}.batch-ready>p{font-size:12px;color:var(--muted);line-height:1.9;margin:10px 0 22px}.batch-ready>.button{max-width:340px}.batch-transfer{margin-top:27px;padding-top:22px;border-top:1px solid var(--line);text-align:left}.batch-transfer h4{font-size:14px;font-weight:500}.batch-transfer p{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 14px}.batch-transfer>.button{margin:0 7px 8px 0}.capture-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.capture-heading strong{font-size:17px;font-weight:500}.capture-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:5px}.capture-heading>span{font:11px var(--mono);color:var(--muted);white-space:nowrap}.capture-reference{display:flex;align-items:center;gap:12px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:6px;padding:9px;margin-bottom:13px}.capture-reference img{width:44px;height:62px;object-fit:contain;background:var(--surface-subtle)}.capture-reference>span{font-size:12px;color:var(--muted);flex:1;line-height:1.6}.capture-reference small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere}.batch-camera-view{height:clamp(260px,47dvh,540px);position:relative;background:var(--surface-subtle);border:1px solid var(--line);border-radius:6px;overflow:hidden}.batch-camera-view.is-live{background:var(--ink)}.batch-camera-view video{display:block;width:100%;height:100%;object-fit:contain}.camera-start{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:var(--surface-subtle);color:var(--muted)}.camera-start p{font-size:12px}.camera-card-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:80%;aspect-ratio:63/88;max-width:86%;border:1px dashed #ffffffe0;border-radius:10px;box-shadow:0 0 0 1000px #29232625;pointer-events:none}.capture-shutter{margin-top:12px;min-height:54px!important;font-size:15px}.capture-alternatives{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.capture-alternatives .button{font-size:12px;flex:1}.saved-filters{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:16px}.saved-filters label{min-width:180px}.saved-batch-filter{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:14px}.saved-photo-details{margin-top:13px}.saved-photo-details summary{font-size:11px;color:var(--muted);cursor:pointer;padding:8px 0}.saved-photo-details .batch-photo-preview{height:220px}.saved-photo-details .batch-photo-details>strong,.saved-photo-details .batch-photo-details>small{font-size:10px}.saved-card-open>img{width:57px;height:80px;object-fit:contain}@media(max-width:560px){.edge-detection-actions{padding:0 12px 13px;gap:9px}.edge-detection-actions .button{font-size:11px;padding:10px 7px;gap:5px}.edge-detection-actions p{font-size:10px}.rotation-controls{margin:0 3px}.editor-photo-metadata{padding:0 12px 12px;font-size:9px}.active-batch{font-size:10px}.modal.batch-modal{padding:17px 13px;max-height:94dvh;width:calc(100vw - 14px)}.batch-mode-tabs{margin-bottom:17px}.batch-mode-tabs>button{font-size:12px}.batch-intro{font-size:11px}.batch-source-actions>.button{font-size:11px;flex:1;padding:10px}.batch-arrangement{gap:9px}.batch-arrangement select,.batch-choose-photo select{font-size:11px;padding:9px 7px}.batch-photo-grid{gap:10px}.batch-photo-preview,.batch-photo-missing{height:210px;padding:5px}.batch-photo-details>strong{font-size:11px}.batch-photo-details>small{font-size:10px}.batch-photo-preview>span{font-size:9px;bottom:6px;right:6px;padding:5px}.batch-pair-heading label{gap:8px}.batch-pair-heading input{font-size:12px;padding:10px 8px}.batch-footer{bottom:-17px;gap:9px;padding-top:13px}.batch-footer>.button{min-width:125px;font-size:12px}.batch-footer label{font-size:10px}.batch-footer>small{font-size:9px}.capture-heading strong{font-size:16px}.capture-heading p{font-size:11px}.capture-reference>span{font-size:11px}.capture-reference>.button{font-size:10px;padding:6px}.capture-alternatives .button{font-size:11px;padding:10px 7px}.batch-lightbox .batch-photo-grid{grid-template-columns:1fr;gap:22px}.batch-lightbox .batch-photo-preview{height:65dvh}.batch-lightbox .modal-heading{top:-20px}.batch-ready h3{font-size:20px}.batch-transfer>.button{font-size:11px}.saved-photo-details .batch-photo-preview{height:180px}}.edge-detection-actions .button.edge-action-complete{background:var(--surface-subtle);border-color:var(--line);color:var(--muted);opacity:1;cursor:default}@media(max-width:560px){.boundary-help{padding:12px;gap:10px}.boundary-help p{font-size:10px;max-width:180px}.boundary-help .replace-photo{font-size:10px;padding:8px 9px}.edge-detection-actions .refinement-feedback{font-size:10px}}
