.plate-camera{width:min(860px,calc(100vw - 32px));max-height:94dvh;padding:27px;overflow:auto;background:#fafbf5}
.camera-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.camera-heading .eyebrow{color:#82906e;font-size:9px}.camera-heading h2{font:400 31px Georgia,serif;letter-spacing:-.04em;margin-top:6px}.camera-close{align-self:start;font-size:17px}
.capture-steps{display:flex;gap:24px;padding:0;margin:0 0 24px;list-style:none;color:#9ca590;font-size:11px}.capture-steps li{display:flex;align-items:center;gap:7px}.capture-steps span{border:1px solid #dfe5d3;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:10px}.capture-steps .current{color:#36543c;font-weight:650}.capture-steps .current span{background:#dce8c6;border-color:#dce8c6}
.camera-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.85fr);gap:25px;align-items:start}.camera-stage{position:relative;width:100%;aspect-ratio:4/3;max-height:54dvh;overflow:hidden;border-radius:15px;background:#28352a;color:#eff6e5}.camera-stage video,.camera-existing,.camera-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.camera-overlay{pointer-events:none;filter:drop-shadow(0 1px 2px #0008)}.rim-guide,.rim-square{fill:none;stroke:#e8eddf;stroke-width:1.5;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.has-contour .rim-guide,.has-contour .rim-square{stroke:#c8eb9c;stroke-width:2;stroke-dasharray:none}.camera-live{position:absolute;top:12px;left:12px;border-radius:12px;font-size:8px;letter-spacing:.08em;padding:7px 10px;background:#203725b5;color:#eef7e4}.camera-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:#28352af0;font-size:12px;padding:25px;text-align:center}.contour-status{font-size:11px;line-height:1.7;color:#576d47;margin-top:13px;min-height:38px}.camera-instruction{font-size:11px;line-height:1.7;color:#8a957d;margin-top:6px}.plate-proposal{background:#edf2e2;border:1px solid #dce6ce;border-radius:13px;padding:20px 18px 15px}.plate-proposal>.eyebrow{font-size:9px;color:#6c8056}.dimension-origin{font-size:11px;color:#819171;line-height:1.5;margin:7px 0 17px}.plate-proposal .field{margin-bottom:12px}.plate-proposal .field-row{gap:10px}.plate-proposal .field-row input{font-size:25px;font-family:Georgia,serif;height:50px;padding:8px 12px}.plate-proposal .field-row label{font-size:10px}.plate-proposal select{font-size:12px}.dimension-note{font-size:10px;line-height:1.7;color:#7b896b;margin-top:2px}.plate-confirm-form .check{font-size:11px;margin:15px 0}.camera-confirm{width:100%;font-size:13px;padding:15px}.capture-next{font-size:10px;color:#8a957d;line-height:1.7;margin:11px 0 0}.camera-recovery{display:grid;gap:7px;margin-top:15px}.camera-recovery .button{font-size:11px;padding:10px}.camera-upload{justify-self:center;font-size:11px}.capture-api{font-size:10px;line-height:1.6;color:#a2916e;border-top:1px solid var(--line);padding-top:13px;margin-top:17px}.photo-checkpoints{display:flex;gap:9px;flex-wrap:wrap;font-size:10px;color:#526c40;margin:0 0 14px}.photo-checkpoints span{padding:7px 10px;border-radius:20px;background:#eaf0e0}.photo-checkpoints .pending{background:#f2eddf;color:#93805c}.confirmed-plate{background:#f1f5e8;color:#537242;font-size:12px;padding:13px 15px;border-radius:10px;margin:-8px 0 20px}.confirmed-plate small{display:block;font-size:10px;color:#8c987e;margin-top:6px}
@media(max-width:620px){.plate-camera{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:21px 20px calc(26px + env(safe-area-inset-bottom));overscroll-behavior:contain}.camera-heading{margin-bottom:17px}.camera-heading h2{font-size:29px}.capture-steps{justify-content:space-between;gap:10px;margin-bottom:19px;font-size:10px}.camera-layout{grid-template-columns:1fr;gap:15px}.camera-stage{max-height:36dvh;min-height:190px}.camera-live{font-size:7px}.contour-status{margin-top:9px;min-height:0;font-size:10px}.camera-instruction{font-size:10px;margin-top:4px}.plate-proposal{padding:17px 16px 13px}.dimension-origin{font-size:10px;margin:6px 0 13px}.plate-proposal>.field{float:left;width:43%;margin-bottom:5px}.plate-proposal .field-row{margin-left:calc(43% + 12px);display:flex;flex-wrap:wrap;gap:6px}.plate-proposal .field-row>.field{flex:1;min-width:75px;margin-bottom:7px}.plate-proposal select{padding:11px 7px;font-size:11px;height:50px}.plate-proposal .field label{font-size:10px}.plate-proposal .field-row input{font-size:25px}.dimension-note{clear:both;padding-top:6px;font-size:10px;line-height:1.6}.plate-confirm-form .check{font-size:10px;margin:13px 0}.capture-next{font-size:10px;margin-top:9px}.capture-api{margin-top:13px;padding-top:11px}.camera-confirm{position:relative;font-size:13px}.photo-checkpoints{gap:6px;font-size:9px}.photo-checkpoints span{padding:6px 8px}}
.plate-entry{max-width:500px}.ar-intro-icon{font:76px Georgia,serif;color:#82976c;text-align:center;margin:2px 0 16px}.ar-intro{font-size:15px;line-height:1.65;color:#40563c}.ar-instructions{font-size:12px;line-height:1.75;color:#7b896e;margin:15px 0 23px}.ar-availability{font-size:12px;line-height:1.65;background:#edf2e2;padding:14px;border-radius:10px;margin:8px 0 18px}.ar-start{width:100%}.ar-limit{font-size:10px;line-height:1.65;color:#88947b;margin:12px 0 14px}.entry-manual{display:block;margin:0 auto}.ar-overlay{position:fixed;inset:0;z-index:10000;background:transparent;color:white;pointer-events:none;font-family:Inter,"Segoe UI",sans-serif}.ar-overlay:xr-overlay{background:transparent}.ar-rim{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 1px 2px #0009)}.ar-rim ellipse,.ar-rim rect{fill:none;stroke:#d7f5af;stroke-width:2;vector-effect:non-scaling-stroke}.ar-top{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:calc(15px + env(safe-area-inset-top)) 18px 25px;background:linear-gradient(#122216b5,transparent)}.ar-top .eyebrow{font-size:9px;color:#edf9dd}.ar-top p{font-size:11px;margin-top:7px}.ar-close{pointer-events:auto;width:44px;height:44px;border-radius:50%;background:#213625bb;color:#fff;font-size:20px}.ar-card{pointer-events:auto;position:absolute;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;right:12px;max-width:440px;margin:auto;background:#fafbf5f5;color:#314b35;border:1px solid #dbe5ce;border-radius:20px;padding:17px 20px 12px;box-shadow:0 5px 25px #0002}.ar-status{font-size:12px;line-height:1.5;min-height:36px}.ar-value{font:42px Georgia,serif;margin:8px 0 5px;letter-spacing:-.04em}.ar-method{font-size:10px;color:#7d896e}.ar-card .check{font-size:11px;margin:14px 0}.ar-confirm{width:100%;font-size:14px}.ar-manual{display:block;font-size:11px;margin:8px auto 0}.ar-overlay [hidden]{display:none!important}@media(max-height:650px){.ar-card{max-width:320px;left:auto;padding:12px}.ar-status{font-size:10px;min-height:0}.ar-value{font-size:29px}.ar-method{display:none}.ar-card .check{margin:8px 0;font-size:10px}.ar-top{right:50%;padding:10px}.ar-top .eyebrow{font-size:8px}.ar-top p{display:none}}
.meal-photo-set{margin:0 0 26px;padding-bottom:24px;border-bottom:1px solid var(--line)}.photo-set-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.photo-set-heading .eyebrow{font-size:8px;color:#859671;letter-spacing:.1em}.photo-set-heading h3{font:25px Georgia,serif;letter-spacing:-.03em;margin:7px 0 0}.photo-count{font-size:10px;background:#eaf1dc;border-radius:20px;padding:7px 10px;white-space:nowrap}.photo-set-tip{font-size:11px;line-height:1.7;color:#809070;margin:12px 0 17px}.photo-view-list{display:grid;gap:12px}.photo-view{display:grid;grid-template-columns:112px minmax(0,1fr);background:#f4f6ed;border:1px solid #e1e7d6;border-radius:13px;overflow:hidden;align-items:center}.photo-view-image{height:115px;min-width:0;display:grid;place-items:center;background:#eaf0df}.photo-view-image>button{height:100%;width:100%;padding:0;background:transparent}.photo-view-image img{display:block;width:100%;height:100%;object-fit:contain}.photo-view-image svg{width:85px;height:85px;fill:none;stroke:#98aa7e;stroke-width:1.4}.photo-view-image .angle-ray{stroke:#78915d;stroke-dasharray:3 3}.photo-view-copy{padding:14px 15px 7px;min-width:0}.photo-view-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.photo-view-title h4{font-size:13px;font-weight:600;margin:0}.photo-view-title span{font-size:9px;color:#8e9b7e}.has-photo .photo-view-title span{color:#597541}.photo-view-copy>p{font-size:10px;line-height:1.6;color:#879477;margin-top:7px}.photo-view-actions{display:flex;flex-wrap:wrap;gap:3px 14px;margin-top:5px}.photo-view-actions .text-button{font-size:10px;min-height:35px}.photo-view-actions .photo-remove{color:#a58d7a;margin-left:auto}.expand-photos{width:100%;font-size:12px;margin:13px 0 17px}.photo-set-note{font-size:10px;line-height:1.7;color:#8b977b;margin:13px 0 18px}.meal-photo-set .confirmed-plate{margin:0 0 15px;font-size:11px;line-height:1.5}.photo-analysis .button{width:100%;font-size:12px}.photo-analysis>p{font-size:10px;line-height:1.7;color:#998b6a;margin-top:9px}.photo-preview{display:block;width:100%;max-height:64dvh;object-fit:contain;background:#eef2e5;border-radius:10px;margin:18px 0}.photo-view-image>button:focus-visible{outline-offset:-4px}@media(max-width:620px){.photo-view{grid-template-columns:92px minmax(0,1fr)}.photo-view-image{height:125px}.photo-view-copy{padding:12px 10px 5px}.photo-view-title{gap:4px}.photo-view-title h4{font-size:12px}.photo-view-title span{font-size:8px}.photo-view-actions{gap:0 10px}.photo-view-actions .text-button{min-height:37px;font-size:10px}.photo-view-actions .photo-remove{margin-left:0}.photo-set-heading h3{font-size:24px}.photo-count{font-size:9px;padding:6px 8px}.photo-set-heading .eyebrow{font-size:7px;letter-spacing:.07em}.photo-set-tip{font-size:10px}.draft-panel:has(.meal-photo-set){padding:20px 16px}.photo-set-note{font-size:9px}}
