/* Cromairis touch interface. Shared vocabulary: warm gold, generous targets, real previews. */
.skip-link{position:fixed;top:-100px;left:12px;z-index:99;background:#f0c185;color:#17130d;padding:14px;border-radius:10px}.skip-link:focus{top:12px}
.friendly-client{--gold:#f0c185;--muted:#b7b9bb;--panel:#15181c;--line:#ffffff29;font-size:16px;padding-bottom:30px}
.friendly-client button,.friendly-client summary,.friendly-client a{touch-action:manipulation}
.friendly-client button:focus-visible,.friendly-client a:focus-visible,.friendly-client summary:focus-visible,.friendly-client input:focus-visible{outline:3px solid #a5ede2;outline-offset:4px}
.friendly-client .client-header{min-height:76px;padding:14px max(4vw,20px);gap:16px}
.client-header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.client-header-actions button,.client-header-actions a{min-height:44px;padding:12px;border:0;border-radius:12px;background:transparent;font-size:.82rem}
.client-header-actions button:hover{background:#ffffff0c}
.client-header-actions button span{display:inline-grid;place-items:center;border:1px solid #ffffff50;border-radius:50%;width:20px;height:20px;margin-left:5px}
.friendly-client .client-shell{max-width:1240px;padding:26px 4vw 0}
.friendly-client .journey-heading h1{font-size:2.15rem;line-height:1.15}
.friendly-client .launch-badge{color:#c8e8d7;border-color:#75988a50;background:#8bba9d0a}
.journey-progress{font-size:.8rem;color:var(--muted);margin:22px 0 0}
.friendly-client .step-nav{margin:10px 0 26px}
.friendly-client .step-nav button{flex-direction:column;justify-content:center;gap:7px;min-height:60px;padding:8px 3px;border-radius:10px 10px 0 0;border-bottom:2px solid var(--line);font-size:.76rem}
.friendly-client .step-nav b{display:grid;place-items:center;border:1px solid #ffffff35;width:25px;height:25px;border-radius:50%;font-family:inherit;font-size:.68rem}
.friendly-client .step-nav [aria-current=step]{background:#f0c1850a;border-color:var(--gold)}
.friendly-client .step-nav [aria-current=step] b{background:var(--gold);color:#17130d;border-color:var(--gold)}
.friendly-client .step-nav button:disabled{opacity:.65}
.friendly-client .workspace{gap:32px}
.friendly-client .choices h2{font-size:clamp(1.65rem,2.7vw,2.4rem);font-weight:560;line-height:1.15;margin:5px 0 12px;letter-spacing:-.035em}
.friendly-client .choices [data-panel]>.eyebrow{display:none}
.friendly-client .choices p{font-size:.88rem;line-height:1.55}
.friendly-client .count-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 10px}
.friendly-client .count-card,.friendly-client .design-card,.friendly-client .effect-card,.friendly-client .product-card{position:relative;overflow:hidden;border-radius:16px;padding:12px;border:1px solid #ffffff2b;min-width:0}
.friendly-client .count-card[aria-pressed=true],.friendly-client .design-card[aria-pressed=true],.friendly-client .effect-card[aria-pressed=true],.friendly-client .product-card[aria-pressed=true]{border:2px solid var(--gold);padding:11px;background:#f0c1850b}
.friendly-client .count-card[aria-pressed=true]:after,.friendly-client .design-card[aria-pressed=true]:after,.friendly-client .effect-card[aria-pressed=true]:after,.friendly-client .product-card[aria-pressed=true]:after{content:'✓';display:grid;place-items:center;position:absolute;top:8px;right:8px;background:var(--gold);border:2px solid #11161a;border-radius:50%;width:25px;height:25px;color:#17130d;font-size:.85rem;font-weight:800}
.friendly-client .count-card img{width:100%;height:90px;object-fit:contain;border-radius:10px;display:block;background:#050607;margin-bottom:8px}
.friendly-client .count-card b{position:absolute;top:19px;left:20px;color:#c7c9ca;font:500 .66rem/1 system-ui}
.friendly-client .count-card span{color:var(--ink);font-size:.86rem;font-weight:550;margin:6px 0}
.friendly-client .count-card strong{font-size:.88rem;color:var(--gold)}
.friendly-client .count-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3px 14px}
.friendly-client .count-card:last-child img{grid-row:1/3;height:70px;margin:0}.friendly-client .count-card:last-child b{display:none}.friendly-client .count-card:last-child span{align-self:end}.friendly-client .count-card:last-child strong{align-self:start}
.friendly-client .text-button{min-height:44px;font-size:.83rem;line-height:1.4}
.friendly-client .preview-panel{border-radius:20px;padding:16px;background:#101316}
.friendly-client .preview-stage{border-radius:13px}
.friendly-client .preview-placeholder img{opacity:.9}
.friendly-client .preview-placeholder>span{font-size:1.85rem;text-shadow:0 2px 20px #000}
.friendly-client .preview-tools{gap:12px}.friendly-client .preview-tools button{min-height:44px;font-size:.8rem}
.friendly-client .primary{border-radius:14px;min-height:50px;font-size:.9rem}
.friendly-client .journey-actions{padding:16px 0;gap:18px}
.friendly-client .journey-actions .primary{min-width:180px}
.friendly-client .back{min-height:48px}
.friendly-client .action-price strong{font-weight:650}.friendly-client .action-price small{font-size:.71rem}
.capture-help-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #f0c18544;background:#f0c18508;border-radius:14px;padding:12px 14px;min-height:72px;color:var(--ink)}
.capture-help-card strong{display:block;font-size:.85rem}.capture-help-card small{display:block;margin-top:5px;color:var(--muted);font-size:.76rem}.capture-help-card>span:last-child{margin-left:auto;color:var(--gold)}
.help-eye{color:var(--gold);font:40px/1 Georgia}
.friendly-client .photo-slot{border-radius:16px;padding:16px}.friendly-client .photo-slot img{width:72px;height:72px}.friendly-client .photo-slot h3{font-size:1rem}.friendly-client .photo-slot small{font-size:.8rem}
.friendly-client .slot-actions{gap:10px}.friendly-client .slot-actions button{min-height:46px;border-radius:11px;font-size:.82rem;padding:10px 14px;flex:1 1 auto}
.friendly-client .slot-actions button:first-child{background:var(--gold);color:#17130d;border-color:var(--gold);font-weight:650}
.friendly-client .slot-actions button:nth-child(n+4){flex:0 1 auto;background:none;border-color:transparent;color:var(--muted)}
.photo-slot-empty{width:64px;height:64px;display:grid;place-items:center;background:#f0c1850a;color:var(--gold);border:1px dashed #f0c18577;border-radius:50%;font:34px/1 Georgia}
.friendly-client .slot-name{font-size:16px;border-radius:10px;max-width:none}
/* Ordered choices stay together on the composition page at every width. */
.friendly-client .composition-choice{min-width:0;margin:26px 0 0;padding:18px 16px 16px;border:1px solid var(--line);border-radius:16px;background:#ffffff03}
.friendly-client .composition-choice legend{padding:0 7px;margin:0 0 0 -7px;font-size:1rem;font-weight:600;color:var(--ink)}
.friendly-client .choice-number{display:inline-grid;place-items:center;width:28px;height:28px;margin-right:7px;border-radius:50%;background:#f0c1851a;color:var(--gold);font-size:.85rem}
.friendly-client .composition-choice .choice-hint{margin:0 0 14px;color:var(--muted);font-size:.82rem}
.friendly-client .composition-choice .design-options{margin:0}
.friendly-client .composition-choice .fine{margin:14px 0 0;font-size:.76rem}
.friendly-client .design-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.friendly-client .design-card{display:block}.friendly-client .design-card img{width:100%;height:110px;object-fit:contain;background:#050607;border-radius:10px;margin-bottom:10px}
.friendly-client .design-card strong,.friendly-client .effect-card strong{font-size:.88rem;font-weight:600}
.friendly-client .design-card small,.friendly-client .effect-card small{font-size:.78rem;line-height:1.4}
.friendly-client .effect-options{gap:12px}.friendly-client .effect-card>img{width:100%;height:112px;object-fit:contain;display:block;margin-bottom:10px;border-radius:10px;background:#050607}
.friendly-client .effect-icon{display:none!important}
.friendly-client .background-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.friendly-client .background-options button{flex-direction:column;min-height:90px;border-radius:13px;font-size:.85rem;padding:12px;border-width:2px}
.friendly-client .swatch{width:100%;height:36px;border-radius:7px;border-color:#ffffff45}.friendly-client .swatch.galaxy{background:url('/images/milky-way.webp') center/cover}
.friendly-client .background-options [aria-pressed=true]{background:#f0c1850b}
.friendly-client .product-card{grid-template-columns:76px minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:14px}
.friendly-client .product-card[aria-pressed=true]{padding:13px}
.friendly-client .product-card img{grid-row:1/3;width:76px;height:84px;object-fit:cover;border-radius:9px;background:#080b0c}.friendly-client .product-card small{grid-column:2/-1}.friendly-client .product-card b{padding-right:10px}.friendly-client .product-card strong{font-size:.88rem}
.friendly-client .label,.friendly-client legend{font-size:.9rem}.friendly-client input:not([type=checkbox]):not([type=range]),.friendly-client select{font-size:16px;min-height:48px;border-radius:10px}
.friendly-client .approval{font-size:.86rem;align-items:center;min-height:56px}.friendly-client .approval input{width:23px;height:23px}
.quiet-details{border-top:1px solid var(--line,#ffffff25);padding:12px 0;color:var(--muted,#bdc4c7);font-size:.83rem;line-height:1.6}
.quiet-details>summary{cursor:pointer;min-height:44px;padding:11px 0;color:var(--ink,#f5f0e7);font-size:.85rem}
.quiet-details[open]>summary{margin-bottom:8px}
.storage-details{margin-top:10px}.storage-details .client-sync-panel{margin:0 0 14px}.storage-details button.secondary{min-height:44px;border:1px solid var(--line);background:#25282c;border-radius:10px;color:var(--ink);padding:10px}
.photo-privacy-note a{color:var(--gold);text-decoration:underline}.photo-privacy-note{font-size:.76rem!important}
.friendly-client .save-bar{font-size:.8rem}.friendly-client .status{scroll-margin-bottom:110px}
.friendly-client dialog{border-radius:22px}.friendly-client .dialog-heading button{min-width:44px;min-height:44px}
/* Full-screen camera on phones, with a single 94px shutter target. */
.friendly-client .client-camera{width:min(680px,calc(100% - 24px));padding:18px;max-height:96svh;background:#0b0e10}
.client-camera .dialog-heading{margin-bottom:5px}.client-camera .dialog-heading h2{font-size:1.1rem;font-weight:550}
.client-camera .camera-instruction{margin:4px 0 8px;color:#ced3d3;font-size:.82rem}.camera-instruction .text-button{padding:5px 8px;min-height:34px}
.friendly-client .client-camera-stage{height:clamp(220px,43svh,420px);border-radius:17px;isolation:isolate}
.client-camera-stage video{transform-origin:center}
.friendly-client .client-limbus-guide{border:2px dashed #f0c185;box-shadow:0 0 0 1px #0009,0 0 0 100vmax #0002}
.friendly-client .client-pupil-guide{border-color:#a5ede2}
.camera-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);align-items:center;gap:12px;padding:16px 4px 3px}
.camera-zoom{text-align:center;max-width:150px}.camera-zoom label{font-size:.73rem;color:#c3cacc;display:block;margin-bottom:5px}.camera-zoom>div{display:flex;align-items:center;justify-content:center;gap:4px}.camera-zoom button{background:none;border:0;font-size:1.3rem;min-width:38px;min-height:44px}.camera-zoom output{font-size:.85rem;min-width:36px;font-variant-numeric:tabular-nums;color:#f0c185}
.friendly-client .camera-zoom input[type=range]{min-height:32px;padding:0;width:100%;accent-color:var(--gold);border:0;background:transparent}
.camera-shutter-wrap{text-align:center}.camera-shutter{display:grid;place-items:center;width:94px;height:94px;margin:auto;border:5px solid #0b0e10;outline:3px solid #f0c185;border-radius:50%;background:#f0c185;color:#19140e;box-shadow:0 0 0 7px #f0c18513;transition:transform .12s}
.camera-shutter:active{transform:scale(.94)}.camera-shutter svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}.camera-shutter:disabled{opacity:.45}
#clientShutterHint{display:block;margin-top:10px;font-size:.68rem;color:#d5d9dc;line-height:1.3}
.camera-torch{justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;max-width:130px;min-height:76px;border:1px solid #ffffff24;background:#191d21;border-radius:17px;padding:9px;color:#d6dddf}
.camera-torch svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.6}.camera-torch span{font-size:.71rem;line-height:1.3}.camera-torch[aria-pressed=true]{color:#f0c185;background:#f0c18518;border-color:#f0c185}
.camera-zoom-note{font-size:.72rem!important;text-align:center;margin:12px 0 6px;color:#b9c1c4!important}.client-camera #clientCameraStatus{font-size:.83rem;line-height:1.5;margin:10px 0}
.camera-adjustments,.camera-quality-details{padding:2px 0}.camera-quality-details .fine{margin:4px 0 12px}.client-camera .legacy-capture{display:none!important}.friendly-client .client-camera-actions{gap:10px;margin-top:8px}.friendly-client .client-camera-actions button{border-radius:13px;font-size:.86rem;min-height:48px}.friendly-client .client-camera-controls{border:0}.friendly-client .client-camera-controls input[type=range]{min-height:38px}
/* Small illustrated guide shared by the start screen and capture flow. */
.capture-help-dialog{box-sizing:border-box;width:min(430px,calc(100% - 28px));max-height:92svh;overflow:auto;padding:22px;border:1px solid #ffffff35;border-radius:24px;background:#11171b;color:#f5f0e7;font-family:system-ui,sans-serif}
.capture-help-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}
.help-dialog-top{display:flex;align-items:center;justify-content:space-between}.help-dialog-top>span{font-size:.65rem;letter-spacing:.16em;color:#f0c185}.help-dialog-top button{width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:none;color:inherit;font-size:1.5rem;cursor:pointer}
.help-art{background:#0a1014;border:1px solid #ffffff15;border-radius:20px;margin:15px 0 18px}.help-art svg{display:block;width:100%;max-height:245px}
.capture-help-dialog h2{font-size:1.65rem;line-height:1.2;letter-spacing:-.03em;margin:9px 0 12px;font-weight:600}.capture-help-dialog p{font-size:.92rem;line-height:1.55;color:#c4cece}.capture-help-dialog .help-step{font-size:.75rem;color:#f0c185;margin:0}.capture-help-dialog .help-note{padding:12px 14px;background:#f0c1850b;border-left:2px solid #f0c185;font-size:.82rem}
.help-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}.help-actions button{min-height:48px;padding:12px;border-radius:12px;background:none;color:#d6dedf;border:0;font-size:.82rem;cursor:pointer}.help-actions button:last-child{background:#f0c185;color:#19140e;font-weight:650}.help-actions button:disabled{opacity:.3}.help-dots{display:flex;gap:5px}.help-dots i{width:5px;height:5px;border-radius:50%;background:#4f6064}.help-dots .active{width:15px;border-radius:5px;background:#f0c185}
@media(max-width:760px){
 .friendly-client{padding-bottom:115px}.friendly-client .client-header{padding:10px 16px;min-height:70px;gap:5px}.friendly-client .brand{font-size:.83rem;letter-spacing:.15em}.friendly-client .brand small{font-size:.5rem}.client-header-actions{gap:0}.client-header-actions button,.client-header-actions a{font-size:.73rem;padding:10px}.client-header-actions .studio-link{display:none}.client-header-actions button span{display:none}
 .friendly-client .client-shell{padding:19px 17px 0}.friendly-client .journey-heading{display:flex;align-items:center;gap:10px}.friendly-client .journey-heading h1{font-size:1.8rem;margin:4px 0 0}.friendly-client .journey-heading .eyebrow{display:none}.friendly-client .launch-badge{max-width:100px;padding:7px 10px;margin:0;font-size:.65rem;line-height:1.4}.journey-progress{margin:16px 0 0;font-size:.75rem}
 .friendly-client .step-nav{margin:6px 0 22px}.friendly-client .step-nav ol{gap:4px}.friendly-client .step-nav button{font-size:.66rem;gap:5px}.friendly-client .step-nav button span,.friendly-client .step-nav [aria-current=step] b{display:grid}.friendly-client .step-nav [aria-current=step] span{font-size:.66rem}.friendly-client .step-nav b{font-size:.67rem}
 .friendly-client .choices h2{font-size:1.6rem}.friendly-client .count-options{margin-top:18px;gap:10px}.friendly-client .count-card img{height:80px}.friendly-client .count-card:last-child img{height:60px}
 .friendly-client .preview-panel{padding:10px;border-radius:16px}.friendly-client[data-creation-step="0"] .preview-panel,.friendly-client[data-creation-step="1"] .preview-panel{display:none}.friendly-client .workspace{gap:18px}.friendly-client .preview-panel.after-capture{grid-row:1}.friendly-client .preview-stage{min-height:150px;padding:10px}.friendly-client .preview-stage canvas{max-height:29svh}.friendly-client .preview-stage.case canvas{max-height:29svh}.friendly-client .preview-top{padding:2px 2px 8px;font-size:.56rem}.friendly-client .preview-caption{font-size:.73rem;margin-top:9px}.friendly-client .preview-tools{margin-top:8px;padding-top:4px}.friendly-client .preview-tools button{font-size:.78rem;min-height:40px}
 .friendly-client .journey-actions{position:fixed;inset:auto 0 0;width:100%;padding:12px 17px calc(12px + env(safe-area-inset-bottom));gap:10px;border-top:1px solid #ffffff35;background:#0c1015f7;backdrop-filter:blur(12px);z-index:6}.friendly-client .journey-actions .primary{min-width:0;flex:1;max-width:210px}.friendly-client .action-price{min-width:70px;max-width:100px;text-align:left;margin-left:auto}.friendly-client .action-price small{font-size:.61rem}.friendly-client .action-price strong{font-size:.86rem}.friendly-client .back{font-size:.8rem;min-width:55px}.friendly-client footer{padding-bottom:15px}
 .friendly-client .design-card img{height:90px}.friendly-client .effect-card>img{height:95px}.friendly-client .product-card{grid-template-columns:64px minmax(0,1fr);gap:7px 12px}.friendly-client .product-card img{width:64px;height:86px;grid-row:1/4}.friendly-client .product-card b{grid-column:2}.friendly-client .product-card small{grid-column:2}.friendly-client .product-card strong{padding-right:16px}
 .friendly-client .client-camera{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;border:0;border-radius:0;padding:calc(12px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));overflow:auto}.friendly-client .client-camera-stage{height:clamp(185px,39svh,420px)}.camera-toolbar{gap:8px;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);padding-top:17px}.camera-zoom label{font-size:.65rem}.camera-zoom button{min-width:32px}.camera-torch span{font-size:.67rem}.camera-zoom-note{font-size:.68rem!important}.camera-quality-details>summary,.camera-adjustments>summary{font-size:.79rem}.client-camera #clientCameraStatus{font-size:.78rem}.friendly-client .client-camera-actions button{flex-basis:auto}
}
@media(max-width:359px){.client-header-actions button{padding:9px 6px}.friendly-client .brand{font-size:.77rem}.friendly-client .journey-actions{gap:7px;padding-inline:12px}.friendly-client .journey-actions .primary{padding-inline:10px;font-size:.8rem}.camera-toolbar{gap:3px;grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr)}.camera-zoom button{min-width:28px}}
@media(prefers-reduced-motion:reduce){.camera-shutter{transition:none}}

/* Reveal: devote half the viewport to the composition, without cropping it. */
.friendly-client .workspace:has(.preview-panel.after-capture){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.friendly-client .preview-panel.after-capture{background:#06080a;border:1px solid #f0c18538;border-radius:24px;padding:14px;box-shadow:0 22px 70px #0005,0 0 45px #f0c18507}
.friendly-client .after-capture .preview-top{padding:5px 5px 13px;align-items:center;color:#e5c698;font-size:.68rem;letter-spacing:.15em}
.friendly-client .after-capture .preview-stage{height:56svh;min-height:340px;max-height:820px;padding:0;background:#030405;border-radius:15px;isolation:isolate}
.friendly-client .after-capture .preview-stage canvas{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:none;object-fit:contain;animation:iris-reveal .9s cubic-bezier(.16,1,.3,1) both}
.friendly-client .after-capture .preview-stage.case{padding:16px}.friendly-client .after-capture .preview-stage.case canvas{width:auto;height:100%;max-width:100%;max-height:100%;border-radius:28px}
.friendly-client .after-capture .preview-stage.block{padding:16px}.friendly-client .after-capture .preview-stage.block canvas{width:auto;height:calc(100% - 16px);max-width:94%;max-height:100%;margin:0}
.friendly-client .after-capture .preview-tools{border-top:0;margin-top:7px;padding:4px 2px;gap:12px}
.friendly-client .after-capture .preview-tools button{min-height:46px;border:1px solid #ffffff25;border-radius:12px;padding:10px 16px;font-size:.83rem}
.friendly-client .after-capture .preview-tools button:first-child{background:#f0c18512;border-color:#f0c18560;color:#f0c185}
.reveal-details{border-top:1px solid #ffffff1a;margin-top:7px;padding:0 3px;font-size:.8rem}.reveal-details>summary{cursor:pointer;min-height:44px;padding:13px 0;color:#b7bfc2}.reveal-details>summary:focus-visible{outline:3px solid #a5ede2;outline-offset:2px}
.reveal-details .preview-caption{font-size:.78rem;line-height:1.6;margin:5px 0 13px}
@keyframes iris-reveal{from{opacity:0;transform:scale(.91);filter:blur(5px)}to{opacity:1;transform:scale(1);filter:blur(0)}}
@media(max-width:760px){
 .friendly-client .workspace:has(.preview-panel.after-capture){grid-template-columns:minmax(0,1fr);gap:24px}
 .friendly-client[data-creation-step="2"] .journey-heading,.friendly-client[data-creation-step="3"] .journey-heading,.friendly-client[data-creation-step="4"] .journey-heading,.friendly-client[data-creation-step="5"] .journey-heading{display:none}
 .friendly-client:has(.preview-panel.after-capture) .client-shell{padding-top:6px}
 .friendly-client:has(.preview-panel.after-capture) .journey-progress{margin-top:8px}
 .friendly-client:has(.preview-panel.after-capture) .step-nav{margin-bottom:14px}
 .friendly-client .preview-panel.after-capture{width:calc(100% + 34px);margin-inline:-17px;padding:10px 0 0;border-inline:0;border-radius:0;box-shadow:0 15px 50px #0005}
 .friendly-client .after-capture .preview-top{padding:0 17px 10px;font-size:.62rem}
 .friendly-client .after-capture .preview-stage{height:52svh;min-height:260px;max-height:none;width:100%;padding:0;border-radius:0}
 .friendly-client .after-capture .preview-stage canvas{width:100%;height:100%;max-height:none}
 .friendly-client .after-capture .preview-stage.case canvas{width:auto;height:100%;max-height:100%}
 .friendly-client .after-capture .preview-tools{padding:7px 17px 0;margin-top:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .friendly-client .after-capture .preview-tools button{font-size:.8rem;text-align:center;padding:10px 8px}
 .friendly-client .after-capture .reveal-details{margin:10px 17px 0}
 .friendly-client #proofDialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;inset:0;border:0;border-radius:0;padding:calc(16px + env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom))}
 .friendly-client #proofImage{width:100%;max-height:72svh;object-fit:contain;background:#030405;border-radius:14px}
}
@media(prefers-reduced-motion:reduce){.friendly-client .after-capture .preview-stage canvas{animation:none;filter:none;transform:none}}

/* Milestone progress: numeric for local rendering, indeterminate for remote AI. */
.reveal-progress{position:sticky;top:10px;z-index:8;padding:14px 17px;margin:0 0 18px;border:1px solid #f0c18555;border-radius:15px;background:#15191cf5;box-shadow:0 8px 30px #0004;backdrop-filter:blur(12px)}
.reveal-progress>div{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:11px;font-size:.84rem;line-height:1.4}
#revealProgressLabel{color:#f5e7d1}#revealProgressValue{flex-shrink:0;color:#f0c185;font-size:.77rem;font-variant-numeric:tabular-nums}
.reveal-progress progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:6px;border:0;border-radius:20px;overflow:hidden;background:#ffffff14;color:#f0c185}
.reveal-progress progress::-webkit-progress-bar{background:#ffffff14;border-radius:20px}
.reveal-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#bb8748,#f0c185,#ffe7bd);border-radius:20px;transition:width .25s ease}
.reveal-progress progress::-moz-progress-bar{background:#f0c185;border-radius:20px}
.reveal-progress progress:not([value])::-webkit-progress-bar{background:linear-gradient(90deg,#ffffff0a 15%,#f0c185 50%,#ffffff0a 85%);background-size:250% 100%;animation:reveal-working 1.4s ease-in-out infinite}
.reveal-progress.is-error{border-color:#efac9d60}.reveal-progress.is-error #revealProgressLabel,.reveal-progress.is-error #revealProgressValue{color:#efac9d}
@keyframes reveal-working{0%{background-position:100% 0}100%{background-position:0 0}}
@media(max-width:760px){.reveal-progress{top:7px;margin-bottom:14px;padding:12px 14px}.reveal-progress>div{font-size:.78rem;gap:10px}#revealProgressValue{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.reveal-progress progress::-webkit-progress-value{transition:none}.reveal-progress progress:not([value])::-webkit-progress-bar{animation:none}}
