/* Ambr app — a system utility: calm print dialog and print queue, amber only for Ambr itself */
:root{color-scheme:light dark;--panel:light-dark(#ffffff,#16100a);--sys:light-dark(#f6f1e9,#22180e);--ink:light-dark(#22160a,#fff6e6);--soft:light-dark(#5e4c36,#bfae96);--line:light-dark(#ece4d6,#33261a);--amber:#f2a20f;--amberSoft:light-dark(#fff1d6,#3a2a12);--resin:light-dark(#9a6206,#f7b93a);--esp:#16100a;--cream:#fff6e6;--warn:#c2410c;--warnSoft:light-dark(#fff1e6,#3a1d0b);--good:light-dark(#2e7d32,#8bd08f);--blue:#1a73e8}
*{box-sizing:border-box;min-width:0}
html,body{height:100%}
body{margin:0;background:var(--panel);color:var(--ink);font:16px/1.5 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip;-webkit-tap-highlight-color:transparent}
h1,h2,h3{font-family:'Inter Tight',Inter,sans-serif;font-weight:700;letter-spacing:-.03em;margin:0;line-height:1.05;text-wrap:balance}
h3{font-size:20px}
button{font:inherit;color:inherit}
.root{position:relative;max-width:560px;margin:0 auto;min-height:100dvh;background:var(--panel)}
@media(min-width:600px){body{background:var(--sys)}.root{box-shadow:0 0 0 1px var(--line)}}
.boot{display:grid;place-items:center;min-height:100dvh;font:700 30px 'Inter Tight',Inter,sans-serif;letter-spacing:-.03em;color:var(--ink)}
.scr{min-height:100dvh;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px 10px}
.bar h2{font-size:28px}
.brand{display:flex;align-items:center;gap:10px}
.dropic{width:36px;height:36px;border-radius:50%;background:var(--esp);display:grid;place-items:center;flex:none}
.muted{color:var(--soft);font-size:13px}
.wrap{flex:1;padding:0 18px 120px}
.btn{min-height:48px;border-radius:999px;border:0;padding:0 18px;font-weight:600;cursor:pointer;background:var(--ink);color:var(--panel)}
.btn.am{background:var(--ink);color:var(--panel)}
.btn.ghost{background:none;border:1.5px solid var(--line);color:var(--ink)}
.btn.warnb{background:var(--warn);color:#fff}
.btn.sm{min-height:40px;font-size:14px;padding:0 14px}
.btn.full{width:100%}
.btn:disabled{opacity:.4;cursor:default}
.link{border:0;background:none;color:var(--blue);font-weight:600;font-size:14px;cursor:pointer;min-height:40px;padding:0 4px}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.hero{margin:6px 0 18px;background:var(--esp);color:#f3eee6;border-radius:6px;padding:28px 22px;display:grid;gap:14px}
.hero h1{font-size:38px;line-height:1.02}.hero .tip{color:#c9bdaf}.hero .btn.ghost{color:#f3eee6;border-color:#5a4c40}
.picker{width:100%;min-height:58px;border-radius:999px;border:0;background:#f3eee6;color:#16100a;font:500 17px Inter;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px}
.picker svg{width:26px;height:26px}
.tip{font-size:13px;color:var(--soft)}
.sec{font-size:13px;font-weight:600;margin:18px 0 8px;color:var(--soft)}
.tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.tph{position:relative;aspect-ratio:1;border-radius:3px;overflow:hidden;background:var(--sys)}
.tph img{width:100%;height:100%;object-fit:cover;display:block}
.tph .x{position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;cursor:pointer;font-size:14px}
.tph .cap{position:absolute;left:0;right:0;bottom:0;padding:14px 6px 4px;background:linear-gradient(transparent,rgba(0,0,0,.6));color:#fff;font-size:11px}
.addt{aspect-ratio:1;border:2px dashed var(--line);border-radius:8px;background:none;color:var(--soft);font-size:13px;cursor:pointer}
.dock{position:fixed;left:0;right:0;bottom:0;padding:12px 18px calc(16px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;max-width:560px;margin:0 auto;z-index:2}
.veil{position:fixed;inset:0;background:rgba(0,0,0,.42);display:flex;align-items:flex-end;justify-content:center;z-index:20;animation:fade .18s}
.sheet{background:var(--panel);width:100%;max-width:560px;border-radius:22px 22px 0 0;max-height:92dvh;display:flex;flex-direction:column;animation:up .24s ease-out;padding-bottom:env(safe-area-inset-bottom)}
.grab{width:40px;height:5px;border-radius:3px;background:var(--line);margin:8px auto 4px;flex:none}
.body{overflow-y:auto;padding:4px 18px 10px}
.foot{padding:10px 18px 16px;border-top:1px solid var(--line);display:flex;gap:8px}
.foot .btn{flex:1}
@keyframes up{from{transform:translateY(40px);opacity:.4}}@keyframes fade{from{opacity:0}}
.still .veil,.still .sheet{animation:none}
.opts{display:grid;gap:10px;padding:8px 18px 22px}
.opt{display:flex;gap:14px;align-items:center;width:100%;min-height:72px;border:1px solid var(--line);border-radius:10px;background:none;padding:12px 14px;cursor:pointer;text-align:left;font-weight:600}
.opt small{display:block;font-weight:400;font-size:13px;color:var(--soft)}
.glyph{width:46px;height:46px;flex:none;border-radius:12px;background:var(--sys);display:grid;place-items:center}
.glyph svg{width:24px;height:24px}
/* print dialog */
.pd{min-height:100dvh;background:var(--sys);display:flex;flex-direction:column}
.pdtop{background:var(--panel);padding:calc(12px + env(safe-area-inset-top)) 16px 0;border-bottom:1px solid var(--line)}
.prn{display:flex;align-items:center;gap:10px;min-height:52px;font-weight:600;font-size:17px}
.prn small{display:block;font-weight:400;font-size:12px;color:var(--soft)}
.set{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 14px;padding:8px 0 14px}
.set label{font-size:12px;color:var(--soft);display:grid;gap:2px}
.set select{min-height:42px;border:0;border-bottom:1.5px solid var(--line);background:none;color:var(--ink);font:500 16px Inter;padding:0 2px;border-radius:0}
.modeln{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--soft)}
.pages{flex:1;padding:16px 16px 170px;display:grid;justify-items:center;gap:10px;align-content:start}
.page{background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.18);padding:6px;position:relative}
.page img{display:block;object-fit:cover}
.pgno{font-size:12px;color:var(--soft);text-align:center}
.info{background:var(--panel);border-radius:12px;padding:9px 12px;font-size:13px;width:100%;max-width:380px}
.warn{background:var(--warnSoft);border-left:4px solid var(--warn);padding:8px 10px;border-radius:8px;font-size:13px;width:100%;max-width:380px}
.low{color:var(--warn);font-weight:600}
.badge{position:absolute;top:4px;left:4px;background:var(--warn);color:#fff;font:700 11px Inter;padding:1px 6px;border-radius:6px;z-index:1}
.pdock{position:fixed;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;background:var(--panel);border-top:1px solid var(--line);padding:12px 16px calc(16px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;z-index:2}
.cost{font-size:12px;color:var(--soft);line-height:1.35}.cost b{color:var(--ink);font-size:15px}
.fab{grid-row:span 2;width:68px;height:68px;border-radius:50%;border:0;background:var(--amber);color:#fff;cursor:pointer;box-shadow:0 8px 20px -6px rgba(120,70,0,.6);display:grid;place-items:center}
.fab svg{width:30px;height:30px}
.later{justify-self:start;min-height:44px;border-radius:12px;border:1.5px solid var(--line);background:none;font-weight:600;font-size:15px;padding:0 16px;cursor:pointer}
/* collage */
.canvas{background:#fff;padding:8px;box-shadow:0 4px 18px rgba(0,0,0,.18);margin:6px auto 12px}
.cgrid{display:grid;gap:5px;width:100%;height:100%}
.cell{position:relative;display:block;border:0;padding:0;overflow:hidden;cursor:pointer;background:#eee;min-height:0}
.cell img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cell.pick{outline:3px solid var(--blue);outline-offset:-3px}
.tpls{display:flex;gap:10px;overflow-x:auto;padding:4px 0 8px;scroll-snap-type:x mandatory}
.tpl{flex:none;width:80px;border:1.5px solid var(--line);border-radius:12px;background:none;padding:8px;cursor:pointer;scroll-snap-align:start;font-size:11px;display:grid;gap:6px}
.tpl.on,.chip.on{border-color:var(--resin);background:var(--amberSoft)}
.mini{display:grid;gap:2px;aspect-ratio:5/4}.mini i{background:var(--soft);opacity:.45;border-radius:2px}
.lbl{font-size:13px;font-weight:600;margin:14px 0 6px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:44px;border-radius:12px;border:1.5px solid var(--line);background:none;padding:6px 12px;font-size:14px;font-weight:500;cursor:pointer;text-align:left;line-height:1.2}
.chip small{display:block;color:var(--soft);font-size:12px}
textarea,input.in{width:100%;border-radius:12px;border:1.5px solid var(--line);background:none;color:var(--ink);font:16px Inter;padding:10px 12px}
input.in{min-height:46px;padding:0 12px}
textarea{min-height:84px;resize:vertical}
label.f{display:block;font-size:13px;font-weight:600;margin:10px 0 4px}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}.row b{white-space:nowrap}
.ck{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin:12px 0 4px;cursor:pointer}.ck input{width:22px;height:22px;margin-top:1px;accent-color:var(--warn);flex:none}
/* queue */
.job{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:14px;margin-bottom:12px}
.job.held{border-style:dashed}
.job h3{font:700 17px 'Inter Tight',Inter,sans-serif;letter-spacing:-.03em}
.jt{display:flex;gap:12px;align-items:center}
.jt img{width:52px;height:52px;object-fit:cover;border-radius:8px;background:var(--sys);flex:none}
.tl{list-style:none;padding:0;margin:14px 0 4px}
.tl li{display:flex;gap:12px;padding:0 0 14px;position:relative;font-size:14px}
.tl li::before{content:"";width:12px;height:12px;border-radius:50%;border:2.5px solid var(--line);flex:none;margin-top:4px;background:var(--panel)}
.tl li.d::before{border-color:var(--good);background:var(--good)}
.tl li.now::before{border-color:var(--amber);background:var(--amber);box-shadow:0 0 0 4px var(--amberSoft)}
.tl li:not(:last-child)::after{content:"";position:absolute;left:5px;top:18px;bottom:0;width:2px;background:var(--line)}
.lowc{margin-top:10px;background:var(--warnSoft);border-radius:10px;padding:8px 10px;font-size:13px}
.acts{display:flex;gap:8px;margin-top:10px}.acts .btn{flex:1}
.empty{border:1.5px dashed var(--line);border-radius:16px;padding:18px;text-align:center;color:var(--soft);font-size:14px}
/* spool */
.spool{min-height:100dvh;display:grid;place-items:center;align-content:center;gap:18px;padding:24px;text-align:center}
.printer{width:170px;height:150px;position:relative}
.sheetfeed{position:absolute;left:45px;width:80px;height:70px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25);top:6px;animation:feed 1.6s ease-in-out infinite}
.sheetfeed img{width:100%;height:100%;object-fit:cover;display:block}
@keyframes feed{0%{top:6px;opacity:1}70%{top:64px;opacity:1}100%{top:64px;opacity:0}}
.pbar{width:240px;height:6px;border-radius:3px;background:var(--line);overflow:hidden}.pbar i{display:block;height:100%;background:var(--amber);width:0;transition:width .2s}
/* review */
.spreads{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 0 4px}
.spread{flex:none;width:92%;scroll-snap-align:center;display:grid;gap:6px;justify-items:center}
.spread img{width:100%;border-radius:4px;box-shadow:0 4px 16px rgba(0,0,0,.2);background:#fff}
.toast{position:fixed;left:16px;right:16px;bottom:110px;max-width:528px;margin:0 auto;background:#1d1d1f;color:#f2f2f4;padding:10px 14px;border-radius:12px;font-size:14px;animation:fade .2s;z-index:40}
.seg2{display:flex;background:var(--sys);border-radius:12px;padding:3px}.seg2 button{flex:1;min-height:42px;border:0;background:none;border-radius:9px;font-weight:600;cursor:pointer}.seg2 button.on{background:var(--panel);box-shadow:0 1px 3px rgba(0,0,0,.15)}
.cropbox{touch-action:none;cursor:grab}
.testpay{background:var(--amberSoft);color:var(--resin);font-size:12px;font-weight:600;border-radius:8px;padding:4px 8px;display:inline-block}
@media(prefers-reduced-motion:reduce){.sheet,.veil,.toast{animation:none}.sheetfeed{animation:none;top:40px}}

/* home: updates only, history, bottom bar */
.empty-st{text-align:center;padding:60px 20px 20px;display:grid;justify-items:center;gap:10px}.empty-st h3{font-size:28px}.empty-st p{max-width:30ch;margin:0}
.hist{margin-top:22px;text-align:center}
.histbtn{border:0;background:none;color:var(--soft);font-weight:500;font-size:14px;padding:14px 18px;cursor:pointer;min-height:44px}
.histbtn::before{content:"";display:block;width:36px;height:4px;border-radius:2px;background:var(--line);margin:0 auto 10px}
.hrow{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
.hrow img{width:44px;height:44px;object-fit:cover;border-radius:6px;opacity:.85;flex:none}
.hrow b{font-weight:500}
.tabbar{position:fixed;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;z-index:3;background:var(--esp);color:#f3eee6;border-radius:26px 26px 0 0;padding:18px 22px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px -10px rgba(0,0,0,.35)}
.tb-head{display:grid;gap:2px;text-align:center;margin-bottom:12px}
.tb-head b{font:700 24px/1.05 'Inter Tight',Inter,sans-serif;letter-spacing:-.03em}
.tb-head span{font-size:13px;color:#c9bdaf}
.tb-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.tb{border:0;background:none;color:#c9bdaf;display:grid;justify-items:center;gap:2px;font-size:11px;cursor:pointer;min-height:48px}
.tb-add{width:66px;height:66px;border-radius:50%;border:0;background:var(--amber);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px -8px rgba(200,134,42,.7);margin-top:-2px}
.cellbar{display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--sys);border-radius:12px;padding:8px 8px 8px 12px;font-size:13px;margin:-4px 0 8px}
.canvas .cgrid{gap:0}

/* website match: Inter Tight headlines, amber + brown, soft Apple-like surfaces */
.bar h2{font-size:30px;letter-spacing:-.04em}
.sec{font:600 13px Inter;letter-spacing:0;color:var(--soft);text-transform:none}
.job{border-radius:22px;border:0;background:var(--sys)}
.job h3{font-size:18px}
.dropic{background:var(--esp)}
.dropic svg{color:var(--amber)}
.btn.am{background:var(--ink);color:var(--panel)}
.fab{background:var(--amber)!important;color:var(--esp)!important;box-shadow:0 10px 22px -8px rgba(160,100,0,.6)!important}
.tabbar{background:var(--esp);color:var(--cream)}
.tb-head b{font-size:24px}
.tb-head span,.tb{color:#bfae96}
.tb-add{background:var(--amber);color:var(--esp);box-shadow:0 10px 24px -8px rgba(242,162,15,.65)}
.chip.on,.tpl.on{background:var(--amberSoft);border-color:var(--amber)}
.empty-st h3{font-size:26px}
.sheet{border-radius:28px 28px 0 0}

/* v3: website look. Amber header like the site's hero, bold Inter Tight, Home = saved, Queue = jobs */
.amb{background:var(--amber);color:#22160a;padding:calc(16px + env(safe-area-inset-top)) 20px 26px;border-radius:0 0 30px 30px;margin-bottom:16px}
.amb .brand{display:flex;align-items:center;gap:8px;margin-bottom:22px}
.amb .dropic{width:30px;height:30px;background:#22160a}
.amb .wm{font:800 22px 'Inter Tight',Inter,sans-serif;letter-spacing:-.04em}
.amb h1{font:800 44px/.95 'Inter Tight',Inter,sans-serif;letter-spacing:-.05em;margin:0}
.amb p{margin:10px 0 0;font-size:16px;color:#4a3214}
.amb.full{min-height:62dvh;display:flex;flex-direction:column;justify-content:flex-end;border-radius:0 0 36px 36px;padding-bottom:40px}
.amb.full .brand{margin-bottom:auto}
.amb.full h1{font-size:56px}
.amb .btn.dark{margin-top:18px;background:#22160a;color:#fff6e6;align-self:flex-start}
.saved{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.scard{background:var(--sys);border-radius:22px;overflow:hidden;display:flex;flex-direction:column}
.sph{position:relative;aspect-ratio:4/5;background:#e9e1d4}.sph img{width:100%;height:100%;object-fit:cover;display:block}
.sbody{padding:10px 12px 12px;display:grid;gap:2px;font-size:14px}.sbody b{font:700 15px/1.2 'Inter Tight',Inter,sans-serif;letter-spacing:-.02em}
.sacts{display:flex;gap:8px;align-items:center;margin-top:8px}.sacts .btn{flex:1;min-height:38px;background:var(--amber);color:#22160a}
.iconb{width:38px;height:38px;border-radius:50%;border:1.5px solid var(--line);background:none;cursor:pointer;color:var(--soft);flex:none}
.tray{margin-top:4px}
.tb-row{grid-template-columns:1fr 1fr auto 1fr 1fr!important}
.tb{position:relative}.tb.on{color:var(--amber)!important}
.tb .dot{position:absolute;top:2px;right:calc(50% - 20px);min-width:17px;height:17px;border-radius:9px;background:var(--amber);color:#22160a;font:700 10px/17px Inter;font-style:normal;padding:0 4px}
.tabbar{border-radius:28px 28px 0 0}
.sec{font:700 15px 'Inter Tight',Inter,sans-serif;letter-spacing:-.02em;color:var(--ink);margin:22px 0 10px}

button.sph{border:0;padding:0;cursor:pointer;width:100%}
.sph .cnt{position:absolute;right:8px;bottom:8px;background:#22160a;color:#fff6e6;border-radius:999px;font:700 12px Inter;padding:3px 9px}

.btn.lightb{background:transparent;border:1.5px solid #22160a;color:#22160a}
.amb .btn.dark{align-self:stretch}

/* quality chips */
.gr{display:inline-block;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600;vertical-align:1px}
.gr-ultra{background:#e3f3e1;color:#1f6b2a}.gr-fine{background:#eef4e2;color:#4a6a12}.gr-soft{background:#fff0d6;color:#8a5200}.gr-problem{background:#fde3dc;color:#a3290f}
.warn.bad{background:#fde3dc;border-color:#f2b3a3}
/* realistic previews: a warm wall, light from the top left */
.wall{width:100%;display:grid;place-items:center;padding:34px 10px 40px;background:radial-gradient(120% 90% at 30% 0%,#f7f2ea 0,#e9e1d5 70%);border-radius:18px;perspective:900px}
.loose{box-shadow:0 1px 1px rgba(0,0,0,.12),0 12px 22px -10px rgba(40,25,10,.45);transform:rotate(-.6deg)}
.fr3{position:relative;box-shadow:0 2px 2px rgba(0,0,0,.25),0 22px 34px -14px rgba(40,25,10,.6),0 6px 10px -4px rgba(0,0,0,.3)}
.fr3::before{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 1px 1px 0 rgba(255,255,255,.35),inset -1px -1px 0 rgba(0,0,0,.35),inset 0 0 0 3px rgba(0,0,0,.06)}
.fr3::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.18),transparent 40%,transparent 60%,rgba(0,0,0,.18))}
.fr-black{background:linear-gradient(145deg,#3a3a3a,#111 45%,#1d1d1d)}
.fr-white{background:linear-gradient(145deg,#ffffff,#ece8e1 55%,#d9d3c9)}
.fr-oak{background:repeating-linear-gradient(92deg,rgba(90,55,20,.18) 0 2px,transparent 2px 7px),repeating-linear-gradient(88deg,rgba(255,240,210,.12) 0 1px,transparent 1px 11px),linear-gradient(145deg,#d6a86c,#b5834a 50%,#9c6c36)}
.mat{background:#fbf9f4;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.matcut{position:relative;box-shadow:0 0 0 1px #e9e3d8,0 0 0 2px #fff,inset 0 0 0 1px rgba(0,0,0,.08)}
.matcut::after{content:"";position:absolute;inset:0;box-shadow:inset 2px 3px 5px rgba(0,0,0,.28);pointer-events:none}
.mat .cropbox,.matcut>div{display:block}
/* wrapped canvas, turned slightly so the folded edge shows */
.cv3{position:relative;transform-style:preserve-3d;transform:rotateY(-24deg) rotateX(6deg);box-shadow:24px 26px 30px -16px rgba(40,25,10,.55)}
.cvface{position:absolute;inset:0;overflow:hidden}
.cvface::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(0,0,0,.04) 0 1px,transparent 1px 3px);pointer-events:none}
.cvside{position:absolute;top:0;left:100%;height:100%;overflow:hidden;transform-origin:left center;transform:rotateY(90deg);background:#d8cfc2}.cvside::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.32)}
.cvside>div{position:absolute}
.cvbot{position:absolute;left:0;top:100%;width:100%;transform-origin:top center;transform:rotateX(-90deg);background:linear-gradient(#bcb3a6,#a69d91)}

.fold{position:absolute;border:1.5px dashed rgba(255,255,255,.95);box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 0 999px rgba(20,12,4,.35);pointer-events:none}
.foldnote{font-size:12.5px;color:var(--soft);background:var(--amberSoft);border-radius:12px;padding:8px 12px;margin:8px 0 0;line-height:1.4}
.cvbot{overflow:hidden}.cvbot>div{position:absolute}

/* v4 bottom bar: two big actions */
.tb2{display:grid;grid-template-columns:1fr auto;gap:10px}
.tb-big{display:flex;align-items:center;gap:14px;border:0;border-radius:22px;background:var(--amber);color:#22160a;padding:12px 18px 12px 12px;cursor:pointer;text-align:left;box-shadow:0 12px 26px -10px rgba(242,162,15,.7);min-height:72px}
.tb-big .plus{width:48px;height:48px;border-radius:50%;background:#22160a;color:var(--amber);display:grid;place-items:center;flex:none}
.tb-big b{display:block;font:800 21px/1.1 'Inter Tight',Inter,sans-serif;letter-spacing:-.03em}.tb-big small{font-size:12.5px;color:#4a3214}
.tb-q{position:relative;border:1.5px solid #3a2a17;background:#22180e;color:#fff6e6;border-radius:22px;min-width:92px;display:grid;justify-items:center;align-content:center;gap:4px;cursor:pointer;padding:0 14px}
.tb-q b{font:700 14px 'Inter Tight',Inter,sans-serif}.tb-q svg{color:var(--amber)}
.tb-q .dot{position:absolute;top:8px;right:12px;min-width:18px;height:18px;border-radius:9px;background:var(--amber);color:#22160a;font:700 11px/18px Inter;font-style:normal;padding:0 5px}
.tabbar{padding-top:16px}
.amb .brand{position:relative}
.gearb{margin-left:auto;width:42px;height:42px;border-radius:50%;border:0;background:rgba(34,22,10,.1);color:#22160a;display:grid;place-items:center;cursor:pointer}

.bookstage{position:relative;aspect-ratio:1/.78;border-radius:22px;margin-bottom:12px;background:radial-gradient(120% 90% at 30% 0%,#f7f2ea 0,#e9e1d5 70%);overflow:hidden}

.nudge{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(108px + env(safe-area-inset-bottom));width:min(540px,calc(100% - 24px));display:flex;gap:10px;align-items:center;background:var(--amberSoft);border:1px solid #f2d08a;border-radius:16px;padding:10px 12px;font-size:13px;z-index:3;box-shadow:0 8px 20px -12px rgba(40,22,6,.4)}
.nudge svg{flex:none;color:#9a6206}.nudge span{flex:1}.nudge .link{min-height:32px}

/* wall-art store */
.explb{margin-left:auto;border:0;background:#22160a;color:#fff6e6;border-radius:999px;padding:0 14px;height:36px;font:700 13px 'Inter Tight',Inter,sans-serif;cursor:pointer}
.explb+.gearb{margin-left:8px}
.ask{width:100%;display:flex;gap:12px;align-items:center;text-align:left;border:1.5px dashed #e6c98f;background:var(--amberSoft);border-radius:18px;padding:14px;cursor:pointer;margin-bottom:6px}
.ask b{display:block;font:700 16px 'Inter Tight',Inter,sans-serif}.ask small{color:var(--soft)}
.fyhead{display:flex;justify-content:space-between;align-items:center;margin:2px 0 8px}.fyhead b{font:800 20px 'Inter Tight',Inter,sans-serif;letter-spacing:-.03em}.fyhead .link{min-height:32px;font-size:13px}
.fy{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;margin:0 -18px 6px;padding:4px 18px 10px;scroll-snap-type:x mandatory;scroll-padding-inline:18px}.fy::-webkit-scrollbar{display:none}
.fyc{flex:none;width:136px;border:0;background:none;padding:0;text-align:left;cursor:pointer;position:relative;scroll-snap-align:start}
.fyf{display:block;aspect-ratio:4/5;padding:9px;background:linear-gradient(145deg,#d6a86c,#9c6c36);box-shadow:0 12px 18px -10px rgba(40,22,6,.55)}
.fyf img{width:100%;height:100%;object-fit:cover;display:block;box-shadow:0 0 0 5px #fbf9f4,inset 0 0 0 1px rgba(0,0,0,.1)}
.fyc b{display:block;font:600 13px/1.25 Inter;margin-top:8px}
.newb{position:absolute;top:6px;left:6px;background:var(--amber);color:#22160a;font:700 10px Inter;font-style:normal;padding:2px 7px;border-radius:999px;z-index:2}
.chiprow{display:flex;gap:6px;overflow-x:auto;padding:0 18px 10px;scrollbar-width:none}.chiprow::-webkit-scrollbar{display:none}.chiprow .chip{flex:none;white-space:nowrap}
.egrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ec{border:0;background:none;padding:0;text-align:left;cursor:pointer;position:relative}
.ecs{position:relative;display:block;aspect-ratio:1/1.1;border-radius:18px;background:radial-gradient(120% 90% at 30% 0%,#f7f2ea 0,#e6ddcf 75%);overflow:hidden}
.ec b{display:block;font:700 14px 'Inter Tight',Inter,sans-serif;margin-top:8px}.ec small{color:var(--soft);font-size:12px}
.artstage{position:relative;aspect-ratio:1/.86;border-radius:20px;background:radial-gradient(120% 90% at 30% 0%,#f7f2ea 0,#e6ddcf 75%);overflow:hidden}
.seg3{display:flex;gap:6px;margin-top:10px;overflow-x:auto}.seg3 button{flex:none;border:1.5px solid var(--line);background:none;border-radius:999px;padding:6px 12px;font-weight:600;font-size:13px;cursor:pointer}.seg3 button.on{background:#22160a;color:#fff6e6;border-color:#22160a}
.ints{display:flex;flex-wrap:wrap;gap:8px}.ints .chip{min-height:40px}
.fyhead span{display:flex;gap:2px;white-space:nowrap;flex:none}.fyhead b{flex:1}

.bundle{display:flex;gap:12px;align-items:center;background:#22160a;color:#fff6e6;border-radius:20px;padding:12px 12px 12px 12px;margin:2px 0 14px}
.bundle .clock{flex:none;width:64px;height:64px;border-radius:50%;background:var(--amber);color:#22160a;display:grid;place-items:center;align-content:center;line-height:1}
.bundle .clock b{font:800 18px 'Inter Tight',Inter,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.bundle .clock small{font-size:10px;font-weight:600}
.bundle>span:nth-child(2){flex:1}.bundle>span b{display:block;font:700 15px 'Inter Tight',Inter,sans-serif}.bundle>span small{color:#cbbba6;font-size:12.5px;line-height:1.35;display:block}
.bundle.print{width:100%;max-width:360px;margin:0 0 6px}

.laters{display:flex;gap:8px;flex-wrap:wrap}.later.cartb{display:inline-flex;align-items:center;gap:6px;background:#22160a;color:#fff6e6;border-color:#22160a}
.cartbox{background:var(--sys);border-radius:22px;padding:14px;margin-bottom:14px}
.cbh{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px}.cbh b{font:800 20px 'Inter Tight',Inter,sans-serif;letter-spacing:-.03em}.cbh span{color:var(--soft);font-size:12.5px}
.cbr{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.cbr img{width:46px;height:46px;object-fit:cover;border-radius:8px;flex:none}
.cbr span{flex:1}.cbr b{display:block;font-weight:600;font-size:14px}.cbr small{color:var(--soft)}.cbr .iconb{width:34px;height:34px}
.cbf{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.cbf>span{font-size:13px}.cbf small{display:block;color:var(--soft);font-size:12px}

/* ===== v5: warm paper, quiet chrome. Amber only for Print / Add photos and the "ready" light ===== */
.v5{--pg:#f7f4ee;--cd:#fdfbf7;--rs:#efe9df;--t1:#1f1b16;--t2:#5e554a;--t3:#7b7266;--hl:rgba(31,27,22,.08);--ac:#f2a20f;--acd:#9a6206;--ez:cubic-bezier(.22,1,.36,1);
  background:var(--pg);color:var(--t1);min-height:100dvh;font-feature-settings:"tnum" 0}
.v5 h1,.v5 h2{font-family:'Inter Tight',Inter,sans-serif;font-weight:600;color:var(--t1)}
.root.wide{max-width:none;box-shadow:none;background:#f7f4ee}
/* header and signature */
.v5 .top5{display:flex;align-items:center;gap:8px;padding:calc(12px + env(safe-area-inset-top)) 20px 4px}
.v5 .logo5{display:flex;align-items:center;gap:8px;font:600 18px/1 'Inter Tight',Inter,sans-serif;letter-spacing:-.02em;margin-right:auto}
.v5 .logo5 .mk{width:32px;height:32px;border-radius:10px;background:var(--t1);display:grid;place-items:center}
.v5 .lnk5{border:0;background:none;color:var(--t2);font:500 14px Inter;padding:8px 10px;border-radius:8px;cursor:pointer;transition:background-color .15s var(--ez),color .15s var(--ez)}
.v5 .lnk5:hover{background:var(--rs);color:var(--t1)}.v5 .lnk5.small{font-size:13px;padding:8px 0;margin-top:4px}
.v5 .ic5{width:40px;height:40px;border-radius:10px;border:0;background:none;color:var(--t2);display:grid;place-items:center;cursor:pointer}.v5 .ic5:hover{background:var(--rs)}
.v5 .ready{display:flex;align-items:center;gap:8px;font:400 13px/20px Inter;color:var(--t2);padding:0 20px 8px}
.v5 .led{width:8px;height:8px;border-radius:50%;background:var(--ac);box-shadow:0 0 0 3px rgba(242,162,15,.18);flex:none}
.v5 .main5{padding:8px 20px 120px}
/* hero: the print on a lit wall is the one bright thing */
.v5 .hero5{display:grid;gap:20px;padding-top:12px}
.v5 .hero5 h1{font-size:40px;line-height:1.04;letter-spacing:-.03em;margin:0}
.v5 .hero5 p{font-size:16px;line-height:24px;color:var(--t2);margin:12px 0 0;max-width:34ch}
.v5 .wall5{position:relative;aspect-ratio:1/.92;border-radius:20px;overflow:hidden;background:radial-gradient(80% 70% at 32% 18%,#fbf6ec 0,#efe6d6 55%,#e2d6c2 100%)}
.v5 .wall5::after{content:"";position:absolute;inset:auto 0 0 0;height:22%;background:linear-gradient(180deg,transparent,rgba(120,90,50,.08))}
.v5 .cap5{position:absolute;left:16px;bottom:12px;font:400 12px/16px Inter;color:var(--t2);z-index:1}
.v5 .title5{padding:16px 0 4px}.v5 .title5 h1{font-size:32px;line-height:1.1;letter-spacing:-.025em;margin:0}.v5 .title5 p{margin:4px 0 0;color:var(--t2);font-size:14px}
/* the 30-minute parcel window: one quiet line */
.v5 .win5{display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px 16px;border-radius:12px;background:var(--cd);box-shadow:inset 0 0 0 1px var(--hl);font-size:13px;line-height:18px;color:var(--t2)}
.v5 .win5 b{font:500 15px/1 'Inter Tight',Inter,sans-serif;font-variant-numeric:tabular-nums;color:var(--t1);min-width:44px}
/* sections */
.v5 .sec5{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:32px 0 12px}
.v5 .sec5 h2{font-size:20px;letter-spacing:-.02em;margin:0}.v5 .sec5>span{font-size:13px;color:var(--t3)}
.v5 .fy5{display:flex;gap:12px;overflow-x:auto;margin:0 -20px;padding:0 20px 4px;scroll-snap-type:x mandatory;scroll-padding-inline:20px;scrollbar-width:none}.v5 .fy5::-webkit-scrollbar{display:none}
.v5 .art5{flex:none;width:156px;border:0;background:none;padding:0;text-align:left;cursor:pointer;scroll-snap-align:start}
.v5 .st5{position:relative;display:block;aspect-ratio:1/1.12;border-radius:14px;overflow:hidden;background:radial-gradient(90% 80% at 30% 15%,#fbf6ec 0,#ece2d1 100%);transition:background-color .15s var(--ez)}
.v5 .art5 b{display:block;font:500 14px/20px Inter;margin-top:8px;color:var(--t1)}.v5 .art5 small{display:block;font-size:12px;line-height:16px;color:var(--t3)}
.v5 .art5:active .st5{transform:scale(.98)}
.v5 .ask5{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:14px;padding:16px;margin-top:24px;background:var(--cd);box-shadow:inset 0 0 0 1px var(--hl);color:var(--t2);cursor:pointer}
.v5 .ask5 span{flex:1}.v5 .ask5 b{display:block;font:500 15px/20px Inter;color:var(--t1)}.v5 .ask5 small{font-size:13px;line-height:18px}
.v5 .tray{margin-top:0}
.v5 .saved .scard,.v5 .cartbox{background:var(--cd);box-shadow:inset 0 0 0 1px var(--hl)}
.v5 .cartbox{border-radius:16px}.v5 .cbh b{font-weight:600;font-size:18px}
.v5 .sacts .btn,.v5 .cbf .btn.am{background:var(--t1);color:#fdfbf7}
/* bottom bar: one slim row */
.v5 .bar5{position:fixed;left:0;right:0;bottom:0;z-index:3;max-width:560px;margin:0 auto;display:flex;gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(253,251,247,.94);backdrop-filter:saturate(1.2) blur(12px);-webkit-backdrop-filter:saturate(1.2) blur(12px);box-shadow:0 -1px 0 var(--hl)}
.v5 .q5{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 18px;border-radius:14px;border:0;background:var(--rs);color:var(--t1);font:500 15px Inter;cursor:pointer;transition:background-color .15s var(--ez)}
.v5 .q5 em{font-style:normal;font:500 12px/20px Inter;min-width:20px;height:20px;border-radius:10px;background:var(--t1);color:#fdfbf7;padding:0 6px}
.v5 .p5{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:52px;border-radius:14px;border:0;background:var(--ac);color:#1f1b16;font:600 16px 'Inter Tight',Inter,sans-serif;letter-spacing:-.01em;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 1px 2px rgba(120,70,0,.25);transition:background-color .15s var(--ez),transform .12s var(--ez)}
.v5 .p5:hover{background:#f5ad26}.v5 .p5:active,.v5 .q5:active{transform:scale(.98)}
.v5 .p5.inline{flex:none;padding:0 24px;margin-top:24px;height:48px}
/* desktop: a real app */
.v5.shell5{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}
.v5 .side5{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:4px;padding:24px 16px;background:var(--cd);box-shadow:1px 0 0 var(--hl)}
.v5 .side5 .logo5{margin:0 8px 4px;flex:none}.v5 .side5 .ready{padding:0 8px 16px}
.v5 .add5{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:12px;border:0;background:var(--ac);color:#1f1b16;font:600 15px 'Inter Tight',Inter,sans-serif;cursor:pointer;margin-bottom:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 1px 2px rgba(120,70,0,.25)}
.v5 .add5:hover{background:#f5ad26}
.v5 .side5 nav{display:grid;gap:2px}
.v5 .nv{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:8px;border:0;background:none;color:var(--t2);font:500 14px Inter;cursor:pointer;text-align:left;transition:background-color .15s var(--ez),color .15s var(--ez)}
.v5 .nv:hover{background:var(--rs);color:var(--t1)}.v5 .nv.on{background:var(--rs);color:var(--t1);box-shadow:inset 0 0 0 1px var(--hl)}
.v5 .nv span{flex:1}.v5 .nv em{font-style:normal;font-size:12px;color:var(--t3);font-variant-numeric:tabular-nums}
.v5 .foot5{margin-top:auto;display:grid;gap:4px;padding:0 10px}.v5 .foot5 a{color:var(--t3);font-size:13px;text-decoration:none}.v5 .foot5 a:hover{color:var(--t1)}
@media (min-width:1024px){
  .v5.shell5 .main5{padding:40px 48px 64px;max-width:1240px;width:100%}
  .v5 .hero5{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:48px;padding-top:0}
  .v5 .hero5 h1{font-size:64px;letter-spacing:-.035em}.v5 .hero5 p{font-size:18px;line-height:28px}
  .v5 .wall5{aspect-ratio:1.25/1}
  .v5 .fy5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin:0;padding:0;overflow:visible}
  .v5 .art5{width:auto}.v5 .sec5{margin-top:48px}
  .v5.shell5 .bar5{left:264px;max-width:none;justify-content:flex-end}.v5.shell5 .bar5 .p5{flex:none;padding:0 28px}
  .v5 .win5{max-width:640px}
}

.v5~.toast,.root:has(.v5) .toast{bottom:calc(92px + env(safe-area-inset-bottom))}
.v5 .side5 .ready{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===== v5 everywhere: palette, controls, sheets, flows ===== */
:root{--panel:#f7f4ee;--sys:#efe9df;--ink:#1f1b16;--soft:#5e554a;--line:rgba(31,27,22,.1);--amberSoft:#f6ead2;--blue:#1f1b16;--esp:#1f1b16}
body{background:#f7f4ee}
.root{background:#f7f4ee}
h1,h2,h3{font-family:'Inter Tight',Inter,sans-serif;font-weight:600;letter-spacing:-.02em}
.link{color:#1f1b16;font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(31,27,22,.25)}
a{color:#1f1b16}
.btn{border-radius:12px;font-weight:500;transition:background-color .15s cubic-bezier(.22,1,.36,1),transform .12s cubic-bezier(.22,1,.36,1)}
.btn:active{transform:scale(.98)}
.btn.am,.btn.dark5{background:#1f1b16;color:#fdfbf7}
.btn.ghost{background:#fdfbf7;border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.1);color:#1f1b16}
.btn.ghost:hover{background:#efe9df}
.in{border-radius:10px;border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.12);background:#fdfbf7}
.in:focus{outline:none;box-shadow:inset 0 0 0 1.5px #1f1b16}
.chip{border-radius:10px;border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.1);background:#fdfbf7;color:#1f1b16;font-weight:500}
.chip.on,.tpl.on{background:#1f1b16;color:#fdfbf7;box-shadow:none}
.tpl{border-radius:12px;background:#fdfbf7;box-shadow:inset 0 0 0 1px rgba(31,27,22,.1);border:0}
.tpl.on .mini i{background:#f2a20f}
.sheet{background:#fdfbf7;border-radius:20px 20px 0 0}
.veil{background:rgba(31,27,22,.36)}
.toast{background:#1f1b16;color:#fdfbf7;border-radius:12px}
.muted{color:#7b7266}
.warn{background:#f6ead2;border:0;border-radius:12px;color:#1f1b16}
.newb{display:none}
.v5 .wrap{padding:0}
.v5 .chiprow{padding:4px 0 16px;margin:0 -20px;padding-left:20px;padding-right:20px}
.v5 .egrid{gap:20px 12px}
.v5 .ecs{border-radius:14px;background:radial-gradient(90% 80% at 30% 15%,#fbf6ec 0,#ece2d1 100%)}
.v5 .ec b{font:500 14px/20px Inter;margin-top:8px}.v5 .ec small{color:#7b7266}
/* queue */
.v5 .job{background:#fdfbf7;border:0;border-radius:16px;box-shadow:inset 0 0 0 1px rgba(31,27,22,.08);padding:16px;margin-bottom:12px}
.v5 .job h3{font:600 17px/1.25 'Inter Tight',Inter,sans-serif;letter-spacing:-.01em}
.v5 .tl li.now::before{background:#f2a20f;box-shadow:0 0 0 4px rgba(242,162,15,.2)}
.v5 .tl li.d::before{background:#1f1b16}
.v5 .hist{margin-top:32px}.v5 .histbtn{color:#7b7266}
.v5 .sec5.first{margin-top:0}
.v5 .grp5{background:#fdfbf7;border-radius:16px;box-shadow:inset 0 0 0 1px rgba(31,27,22,.08);padding:20px;margin-bottom:16px}
.v5 .setw{max-width:640px}
/* welcome and account */
.v5.welc5{display:grid;align-content:start;gap:32px;padding:calc(16px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom))}
.v5.welc5 .wl{display:flex;flex-direction:column}
.v5.welc5 .logo5{margin-bottom:4px}.v5.welc5 .ready{padding:0 0 32px}
.v5.welc5 h1{font-size:40px;line-height:1.04;letter-spacing:-.03em;margin:0}
.v5.welc5 p{font-size:16px;line-height:24px;color:#5e554a;margin:12px 0 24px;max-width:34ch}
.v5 .wact{display:flex;gap:8px}.v5 .wact .q5{flex:none}
.v5.welc5 .lnk5{align-self:flex-start;margin-top:8px;padding-left:0}
.v5.welc5 .wr{order:-1;aspect-ratio:1/.8}
.v5.acct5{padding:calc(12px + env(safe-area-inset-top)) 20px 48px}
.v5.acct5 .acin{max-width:480px;margin:0 auto}
.v5 .back5{padding-left:0}
.v5 .full5{width:100%;flex:none;margin-top:16px}
@media (min-width:1024px){
  .v5.welc5{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:64px;padding:48px 64px;min-height:100vh}
  .v5.welc5 .wr{order:0;aspect-ratio:1.2/1}.v5.welc5 h1{font-size:72px;letter-spacing:-.035em}.v5.welc5 p{font-size:18px;line-height:28px}
  .v5.acct5{padding-top:64px}
  .v5 .egrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}
  .v5 .jgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.v5 .jgrid .job{margin:0}
  .v5 .qwrap{max-width:1100px}
  .v5 .chiprow{margin:0;padding:0 0 24px;flex-wrap:wrap}
}
/* print dialog: like a system print sheet. Phone: settings on top, previews, dock. Desktop: previews left, settings right */
.pd.v5{background:#f7f4ee;min-height:100dvh}
.pd.v5 .pdtop{background:#fdfbf7;border:0;box-shadow:0 1px 0 rgba(31,27,22,.08);padding:calc(8px + env(safe-area-inset-top)) 20px 4px}
.pd.v5 .pdh{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:44px}.pd.v5 .pdh .lnk5{justify-self:start;padding-left:0}.pd.v5 .pdh b{font:600 16px 'Inter Tight',Inter,sans-serif}.pd.v5 .pdh .muted{justify-self:end;font-size:13px}
.pd.v5 .prn{font:600 16px 'Inter Tight',Inter,sans-serif;gap:12px;min-height:56px}
.pd.v5 .prn .mk{width:36px;height:36px;border-radius:10px;background:#1f1b16;display:grid;place-items:center}
.pd.v5 .prn small{display:flex;align-items:center;gap:6px;font:400 13px Inter;color:#5e554a}.pd.v5 .prn .led{width:7px;height:7px}
.pd.v5 .modeln{padding:4px 0;color:#5e554a}
.pd.v5 .set{gap:4px 16px}
.pd.v5 .set label{font-size:12px;color:#7b7266;font-weight:500}
.pd.v5 .set select{border-radius:10px;border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.12);background:#fdfbf7;min-height:44px;padding:0 12px;font:500 15px Inter;color:#1f1b16;margin-top:4px}
.pd.v5 .pages{padding:20px 20px 200px;gap:12px}
.pd.v5 .info{background:#fdfbf7;border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.08);border-radius:14px;max-width:420px}
.pd.v5 .pgno{font-size:12px;color:#7b7266}
.pd.v5 .wall{border-radius:16px;background:radial-gradient(80% 70% at 32% 18%,#fbf6ec 0,#efe6d6 55%,#e2d6c2 100%)}
.pd.v5 .pdock{background:rgba(253,251,247,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:0;box-shadow:0 -1px 0 rgba(31,27,22,.08);grid-template-columns:1fr;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
.pd.v5 .cost{font-size:13px;color:#5e554a}.pd.v5 .cost b{font:600 17px 'Inter Tight',Inter,sans-serif;color:#1f1b16;margin-right:4px}
.pd.v5 .printb{order:3}.pd.v5 .laters{display:flex;gap:8px;order:2}.pd.v5 .laters .q5{flex:1;height:44px;font-size:14px;gap:6px}
.pd.v5 .testpay{background:#efe9df;color:#5e554a}
.pd.v5 .nudge{background:#fdfbf7;border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.1),0 8px 24px rgba(31,27,22,.08);bottom:calc(168px + env(safe-area-inset-bottom))}
.pd.v5 .nudge svg{color:#1f1b16}
.pd.v5 .win5{max-width:420px;width:100%}
@media (min-width:1024px){
  .pd.v5{display:grid;grid-template-columns:minmax(0,1fr) 440px;grid-template-rows:auto 1fr auto;height:100vh;min-height:0}
  .pd.v5 .pages{grid-column:1;grid-row:1/4;overflow:auto;padding:40px 48px;background:#efe9df}
  .pd.v5 .pdtop{grid-column:2;grid-row:1;box-shadow:-1px 0 0 rgba(31,27,22,.08);padding:24px 28px 8px;overflow:auto}
  .pd.v5 .nudge{position:static;transform:none;grid-column:2;grid-row:2;align-self:end;width:auto;margin:0 28px 12px;box-shadow:inset 0 0 0 1px rgba(31,27,22,.1)}
  .pd.v5 .pdock{position:static;grid-column:2;grid-row:3;max-width:none;margin:0;padding:16px 28px 24px;box-shadow:-1px 0 0 rgba(31,27,22,.08),0 -1px 0 rgba(31,27,22,.08);background:#fdfbf7}
  .pd.v5 .pdtop,.pd.v5 .nudge+.pdock{background:#fdfbf7}
  .pd.v5 .pages .wall{max-width:820px}
}
@media (min-width:1024px){.pd.v5{background:#fdfbf7}}
/* step screens (collage, photo book, design review): quiet top bar, centred column on desktop */
.scr>.bar{background:#fdfbf7;box-shadow:0 1px 0 rgba(31,27,22,.08);padding:12px 20px}
.scr>.bar h2{font:600 17px 'Inter Tight',Inter,sans-serif}
.dock{background:rgba(253,251,247,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:0;box-shadow:0 -1px 0 rgba(31,27,22,.08)}
.dock .btn{min-height:52px;border-radius:14px}
.root.wide .scr>.wrap{max-width:760px;margin:0 auto;width:100%;padding-top:24px}
.root.wide .scr>.bar{padding:16px max(24px,calc(50% - 380px))}
.lbl{font:600 15px 'Inter Tight',Inter,sans-serif;color:#1f1b16;margin:24px 0 8px}
.tl li::before{background:#efe9df}.tl li.now::before{background:#f2a20f}.tl li.d::before{background:#1f1b16}
.bookstage{border-radius:16px;background:radial-gradient(80% 70% at 32% 18%,#fbf6ec 0,#efe6d6 55%,#e2d6c2 100%)}
.opts .opt{background:#fdfbf7;border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.1);border-radius:14px}
.opts .opt:hover{background:#efe9df}
.opts .glyph{background:#efe9df;color:#1f1b16}
.dropic{background:#1f1b16}
.addt{border-radius:12px;border:0;box-shadow:inset 0 0 0 1.5px rgba(31,27,22,.15);background:#fdfbf7;color:#1f1b16}
.tph{border-radius:12px}
.cartbox{background:#fdfbf7;box-shadow:inset 0 0 0 1px rgba(31,27,22,.08);border-radius:16px}
.scard{background:#fdfbf7;box-shadow:inset 0 0 0 1px rgba(31,27,22,.08);border-radius:16px}
.sacts .btn{background:#1f1b16;color:#fdfbf7}
.iconb{border:0;box-shadow:inset 0 0 0 1px rgba(31,27,22,.12);background:#fdfbf7;color:#5e554a}
.seg3 button.on,.seg2 button.on{background:#1f1b16;color:#fdfbf7;border-color:#1f1b16}
.artstage{border-radius:16px;background:radial-gradient(80% 70% at 32% 18%,#fbf6ec 0,#efe6d6 55%,#e2d6c2 100%)}
.sheet .foot .btn.am{background:#f2a20f;color:#1f1b16}
.ints .chip{min-height:40px}
.v5 button.logo5{border:0;background:none;padding:0;color:#1f1b16;cursor:pointer}
@media (min-width:1024px){.root.wide .toast{left:auto;right:32px;bottom:32px;margin:0;max-width:420px}}
/* ---------- Deliver to: you, family & friends ---------- */
.sendto{margin:4px 0 12px;padding:12px;border-radius:14px;background:#fdfbf7;border:1px solid rgba(31,27,22,.08)}
.sendto .sth{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.sendto .sth b{font:600 15px/1.2 'Inter Tight',Inter,sans-serif;color:#1f1b16}.sendto .sth span{font-size:12px;color:#7b7266}
.ptos{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 4px;margin:0 -2px;scrollbar-width:none}.ptos::-webkit-scrollbar{display:none}
.pto{flex:none;width:76px;display:grid;justify-items:center;gap:2px;padding:10px 4px 8px;border-radius:12px;border:1px solid rgba(31,27,22,.08);background:#f7f4ee;color:#1f1b16;cursor:pointer;font:inherit}
.pto .av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#efe9df;color:#5e554a;font:600 14px/1 'Inter Tight',Inter,sans-serif;margin-bottom:4px}
.pto .av svg{width:18px;height:18px}
.pto b{font-size:13px;font-weight:500}.pto small{font-size:11px;color:#7b7266;max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pto.on{border-color:#1f1b16;background:#fdfbf7;box-shadow:inset 0 0 0 1px #1f1b16}
.pto.on .av{background:#1f1b16;color:#fdfbf7}
.pto.add .av{background:transparent;border:1px dashed rgba(31,27,22,.3)}
.pto:focus-visible,.sendff:focus-visible{outline:2px solid #f2a20f;outline-offset:2px}
.stad{margin-top:10px;font-size:13px;line-height:1.45;color:#5e554a}
.sendff{display:flex;gap:10px;align-items:center;width:100%;margin-top:10px;padding:10px 12px;border-radius:10px;border:1px dashed rgba(31,27,22,.18);background:none;color:#1f1b16;text-align:left;cursor:pointer;font:inherit}
.sendff span{display:grid}.sendff b{font-size:14px;font-weight:500}.sendff small{font-size:12px;color:#7b7266}
.rels{flex-wrap:wrap}
.prow{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(31,27,22,.08)}
.prow .av{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#efe9df;color:#5e554a;font:600 13px/1 'Inter Tight',Inter,sans-serif}
.prow b{font-weight:500}.prow small{display:block;font-size:12px;color:#7b7266;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.toline{margin-top:4px;font-size:12px;color:#5e554a}
/* ---------- print steps: one thing per screen ---------- */
.wz{min-height:100dvh;display:flex;flex-direction:column;background:#f7f4ee;color:#1f1b16}
.wzbar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:12px 16px;background:rgba(247,244,238,.92);backdrop-filter:blur(12px)}
.wzbar .lnk5{justify-self:start}.wzr{justify-self:end}
.wzdots{display:flex;gap:6px}.wzdots i{width:6px;height:6px;border-radius:3px;background:rgba(31,27,22,.16);transition:width .25s}
.wzdots i.d{background:#1f1b16}.wzdots i.on{width:20px;background:#f2a20f}
.wzq{font:600 28px/1.15 'Inter Tight',Inter,sans-serif;letter-spacing:-.01em;margin:4px 20px 0}
.wzsub{margin:6px 20px 20px;color:#7b7266}
.wzstage{margin:12px 12px 0;border-radius:20px;background:linear-gradient(180deg,#ebe4d8,#e3dacb);min-height:min(56dvh,520px);display:grid;grid-template-rows:1fr auto;overflow:hidden}
.wzwall{display:grid;place-items:center;padding:24px 12px}.wzwall .wall{margin:0}
.wzcap{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 16px 14px;font-size:13px;color:#5e554a}
.wzpanel{padding:16px 20px calc(24px + env(safe-area-inset-bottom))}
.wzl{font-size:13px;color:#7b7266;margin:14px 0 8px}
.wzch{display:flex;gap:8px;overflow-x:auto;margin:0 -20px;padding:0 20px 2px;scrollbar-width:none}.wzch::-webkit-scrollbar{display:none}
.c5{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:20px;border:1px solid rgba(31,27,22,.12);background:#fdfbf7;color:#1f1b16;font:500 14px/1 Inter,sans-serif;cursor:pointer;white-space:nowrap}
.c5.on{background:#1f1b16;border-color:#1f1b16;color:#fdfbf7}
.c5:focus-visible,.wzline:focus-visible{outline:2px solid #f2a20f;outline-offset:2px}
.gd{width:6px;height:6px;border-radius:3px;background:#5f8f5a}.gd-fine{background:#8aa35a}.gd-soft{background:#d08a1c}.gd-problem{background:#c0452f}
.sw{width:14px;height:14px;border-radius:3px;border:1px solid rgba(31,27,22,.2);background:#fff}
.sw-none{background:repeating-linear-gradient(45deg,#fff 0 3px,#e8e1d5 3px 6px)}.sw-black{background:#1f1b16}.sw-white{background:#fafafa}.sw-oak{background:linear-gradient(135deg,#c9944f,#9a6a33)}.sw-wrap{background:linear-gradient(90deg,#d9cbb5 50%,#fff 50%)}
.c5.on .sw{border-color:rgba(255,255,255,.5)}
.wzrow{display:flex;align-items:center;gap:12px;margin:18px 0 4px}.wzrow .wzprice{margin-left:auto;font:600 20px/1 'Inter Tight',Inter,sans-serif;font-variant-numeric:tabular-nums}
.step5{display:flex;align-items:center;gap:4px;border:1px solid rgba(31,27,22,.12);border-radius:22px;background:#fdfbf7;padding:3px}
.step5 button{width:36px;height:36px;border-radius:18px;border:0;background:none;font-size:20px;color:#1f1b16;cursor:pointer}.step5 button:disabled{opacity:.3}
.step5 b{min-width:24px;text-align:center;font-variant-numeric:tabular-nums}
.wzall{display:block;margin:10px 0 0;font-size:14px}
.wzgo{width:100%;margin-top:18px;justify-content:center}.wzgo .muted5{opacity:.6;font-weight:400;margin-left:6px}
.wzone{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.wzone>*:not(.wzbar):not(.wzq){margin-left:20px;margin-right:20px}
.ptos.big{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;overflow:visible}
.pto.big{width:auto;padding:16px 8px 14px;border-radius:16px}.pto.big .av{width:56px;height:56px;font-size:18px}.pto.big .av svg{width:22px;height:22px}
.pto.big b{font-size:15px}.pto.big small{font-size:12px;max-width:none}
.wzaddr{display:grid;gap:2px;margin-top:20px;padding:14px 16px;border-radius:14px;background:#fdfbf7;border:1px solid rgba(31,27,22,.08);font-size:14px;color:#5e554a}.wzaddr b{color:#1f1b16;font-weight:500}
.wzfoot{margin-top:auto;padding-top:20px}.wzfoot .laters{display:flex;gap:8px;margin-top:10px}.wzfoot .laters>*{flex:1}
.wzlist{display:grid;gap:8px;margin-top:20px}
.wzline{display:flex;gap:12px;align-items:center;width:100%;padding:10px 12px;border-radius:14px;border:1px solid rgba(31,27,22,.08);background:#fdfbf7;color:#1f1b16;text-align:left;font:inherit;cursor:pointer}
.wzline img{width:48px;height:48px;border-radius:8px;object-fit:cover}.wzline>span:not(.av):not(.link){flex:1;min-width:0;display:grid}
.wzline b{font-weight:500;font-size:14px}.wzline small{font-size:12px;color:#7b7266;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wzline>b{font-variant-numeric:tabular-nums}
.wzto{margin-top:8px}.wzto .av{flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#efe9df;color:#5e554a;font:600 15px/1 'Inter Tight',Inter,sans-serif}
.wzsum{margin-top:16px;padding:4px 0}.wzsum>div{display:flex;justify-content:space-between;padding:8px 0;font-size:15px;color:#5e554a}.wzsum b{color:#1f1b16;font-weight:500;font-variant-numeric:tabular-nums}
.wzsum .wztot{border-top:1px solid rgba(31,27,22,.1);margin-top:4px;padding-top:12px;color:#1f1b16}.wztot b{font:600 26px/1 'Inter Tight',Inter,sans-serif}
.wznd{margin:2px 0 6px;font-size:13px;color:#7b7266}
.wzone .win5{margin-top:16px}
@media (min-width:1024px){
  .root.wide .wz{max-width:none}
  .root.wide .wzcard{display:grid;grid-template-columns:1fr 420px;grid-template-rows:auto auto 1fr;column-gap:0}
  .root.wide .wzcard .wzbar{grid-column:1/-1}.root.wide .wzcard .wzq{grid-column:1/-1;margin-left:32px}
  .root.wide .wzcard .wzstage{margin:16px 0 24px 24px;min-height:calc(100dvh - 140px)}
  .root.wide .wzcard .wzpanel{padding:8px 32px 32px}
  .root.wide .wzone{max-width:560px;margin:0 auto}
}
.wzdock{position:sticky;bottom:0;margin:18px -20px calc(-24px - env(safe-area-inset-bottom));padding:12px 20px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(247,244,238,0),#f7f4ee 30%)}
.wzdock .wzgo{margin-top:0}
.wzfoot{position:sticky;bottom:0;padding-bottom:4px;background:linear-gradient(180deg,rgba(247,244,238,0),#f7f4ee 24px)}
.wz.v5 .lnk5{border:0;background:none;padding:6px 0;font:500 15px/1 Inter,sans-serif;color:#1f1b16;cursor:pointer}
@media (min-width:1024px){.root.wide .wzdock{position:static;margin:24px 0 0;padding:0;background:none}}
.wzone>.wzline,.wzone .wzlist{width:auto}
/* Set photo: right under the picture */
.wzwall{cursor:grab}
.setph{display:flex;align-items:center;gap:12px;margin:0 16px 16px;padding:12px 16px;border-radius:14px;border:1px solid rgba(31,27,22,.12);background:#fdfbf7;color:#1f1b16;text-align:left;font:inherit;cursor:pointer;box-shadow:0 1px 2px rgba(31,27,22,.06)}
.setph svg{flex:none;color:#1f1b16}.setph span{display:grid;gap:2px}.setph b{font-weight:600;font-size:15px}.setph small{font-size:12px;color:#7b7266}
.setph:hover{background:#fff}.setph:focus-visible{outline:2px solid #f2a20f;outline-offset:2px}
.wzrow .wzprice{font:500 15px/1 Inter,sans-serif;color:#7b7266}
/* Print: like the last screen of a print dialog */
.wzp .wzq{text-align:center;margin-top:8px}
.tray5{display:grid;place-items:center;height:230px;margin-top:8px}
.stk5{position:relative;width:170px;height:200px}
.sh5{position:absolute;inset:0;background:#fff;padding:8px 8px 22px;box-shadow:0 1px 1px rgba(31,27,22,.08),0 10px 24px -8px rgba(31,27,22,.28);transform:translateX(var(--x)) rotate(var(--r))}
.sh5 img{width:100%;height:100%;object-fit:cover;display:block}
.pline{display:flex;gap:12px;align-items:center;margin-top:12px;padding:12px 14px;border-radius:14px;background:#1f1b16;color:#f7f4ee}
.pline .mk{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#2c2620}
.pline span{display:grid;gap:2px}.pline b{font:600 15px/1.1 'Inter Tight',Inter,sans-serif}.pline small{display:flex;align-items:center;gap:6px;font-size:12px;color:#c9bfb1}
.pline .led{width:7px;height:7px;border-radius:4px;background:#f2a20f;box-shadow:0 0 0 3px rgba(242,162,15,.2)}
.pset{margin-top:8px;border-radius:14px;background:#fdfbf7;border:1px solid rgba(31,27,22,.08);overflow:hidden}
.pr{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:8px;width:100%;min-height:52px;padding:0 14px;border:0;border-bottom:1px solid rgba(31,27,22,.07);background:none;color:#1f1b16;text-align:left;font:inherit}
.pset>.pr:last-child,.pset>.pdet:last-child{border-bottom:0}
button.pr{cursor:pointer}.pr span{font-size:13px;color:#7b7266}.pr b{font-weight:500;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pr em{font-style:normal;font-size:13px;color:#5e554a;text-decoration:underline;text-underline-offset:3px}
.pdet{display:grid;gap:6px;padding:10px 12px;background:#f7f4ee}.pdet .wzline{width:auto}
.pdr{display:flex;justify-content:space-between;padding:6px 4px;font-size:14px;color:#5e554a}.pdr b{color:#1f1b16;font-weight:500}
.bigp{min-height:60px;font-size:18px;gap:10px}.bigp em{font-style:normal;font-weight:500;opacity:.7;margin-left:4px;font-variant-numeric:tabular-nums}
.pnote{text-align:center;margin:8px 0 0;font-size:13px;color:#7b7266}
.holds{display:flex;justify-content:center;gap:10px;margin-top:10px;font-size:14px;color:#7b7266}.holds .link{font-size:14px;color:#5e554a}
/* Printing: the prints come out of Ambr */
.spool.v5{background:#f7f4ee;color:#1f1b16;gap:28px}
.dev5{position:relative;width:240px;height:300px}
.dev5 .tin{position:absolute;top:0;left:54px;right:54px;height:48px;border-radius:10px 10px 2px 2px;background:#e3dacb;transform:perspective(200px) rotateX(18deg);transform-origin:bottom}
.dev5 .body{position:absolute;top:40px;left:0;right:0;height:96px;border-radius:24px;background:linear-gradient(180deg,#2e2821,#1f1b16);box-shadow:0 18px 30px -14px rgba(31,27,22,.5),inset 0 1px 0 rgba(255,255,255,.08)}
.dev5 .mk{position:absolute;left:22px;top:22px;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#2c2620}
.dev5 .led{position:absolute;right:26px;top:32px;width:9px;height:9px;border-radius:5px;background:#f2a20f;box-shadow:0 0 0 4px rgba(242,162,15,.2);animation:blink5 1.1s ease-in-out infinite}
.spool.done .dev5 .led{animation:none;background:#7fb069;box-shadow:0 0 0 4px rgba(127,176,105,.22)}
.dev5 .slot{position:absolute;top:112px;left:38px;right:38px;height:8px;border-radius:4px;background:#0c0a08}
.dev5 .out{position:absolute;top:116px;left:50px;right:50px;height:184px;overflow:hidden}
.dev5 .s{position:absolute;left:0;right:0;top:0;height:170px;background:#fff;padding:7px 7px 18px;box-shadow:0 6px 16px -6px rgba(31,27,22,.35);transform:translateY(-104%);animation:out5 1.3s cubic-bezier(.3,.7,.3,1) forwards;animation-delay:calc(var(--i) * .9s + .3s)}
.dev5 .s img{width:100%;height:100%;object-fit:cover;display:block}
@keyframes out5{to{transform:translateY(6px) rotate(var(--r))}}
@keyframes blink5{50%{opacity:.35}}
.spt h2{font:600 26px/1.15 'Inter Tight',Inter,sans-serif;margin:0}.spt p{margin:6px 0 0;color:#7b7266}
@media(prefers-reduced-motion:reduce){.dev5 .s{animation:none;transform:translateY(6px) rotate(var(--r))}.dev5 .led{animation:none}}
/* Drop photos anywhere */
.root.dropping::after{content:'Drop photos to print with Ambr';position:fixed;inset:12px;z-index:100;display:grid;place-items:center;border:2px dashed #f2a20f;border-radius:24px;background:rgba(247,244,238,.92);font:600 24px/1.2 'Inter Tight',Inter,sans-serif;color:#1f1b16;pointer-events:none}
.side5 .drophint{margin:-4px 0 12px;font-size:12px;color:#7b7266;text-align:center}
/* Print settings: a list of dropdowns, like a printer's print panel */
.pgrp{margin-top:4px;border-radius:14px;background:#fdfbf7;border:1px solid rgba(31,27,22,.08);overflow:hidden}
.ps{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 6px 0 16px;border-bottom:1px solid rgba(31,27,22,.07);font-size:15px;color:#1f1b16}
.pgrp>.ps:last-child{border-bottom:0;padding-right:8px}
.ps>span:first-child{color:#5e554a;flex:none}
.psv{position:relative;flex:1;min-width:0;display:flex;justify-content:flex-end}
.psv::after{content:'';position:absolute;right:12px;top:50%;width:7px;height:7px;border-right:1.6px solid #7b7266;border-bottom:1.6px solid #7b7266;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.ps select{appearance:none;-webkit-appearance:none;max-width:100%;border:0;background:none;padding:14px 32px 14px 8px;font:500 15px/1.2 Inter,sans-serif;color:#1f1b16;text-align:right;text-align-last:right;cursor:pointer;text-overflow:ellipsis}
.ps select:focus-visible{outline:2px solid #f2a20f;outline-offset:-2px;border-radius:8px}
.wzcost{margin:10px 2px 0;font-size:13px;color:#7b7266;text-align:right}
.mat.nomat{background:none;box-shadow:none}.mat.nomat .matcut{box-shadow:none;border:0;outline:0;padding:0}
