/* FoundFits. VOICE everyday: a private shopping companion, quick and warm, never salesy
   IDEA a boutique hang tag: every find wears a tag that shows what it saves against the original, and every piece carries style tags she can keep or strike
   PICTURE the working app itself on a phone, opening on recent finds, saved pieces and a live results grid
   COLOUR white ground, near-black ink, blush fields for the original and the lock screen, lipstick pink for savings, hearts, matches and struck tags
   TYPE Bodoni Moda italic for the wordmark and section titles + SF / Inter for every control
   LAYOUT laptop: a phone frame centred on a full-bleed blush field with one caption; phone: the app fills the screen edge to edge */
:root{color-scheme:light dark;--bg:light-dark(#fff,#0f0e0e);--ink:light-dark(#161314,#f6f2f1);--muted:light-dark(#6d6668,#a8a0a2);--line:light-dark(#ebe6e6,#2d2829);--soft:light-dark(#f5f2f1,#1b1919);--photo:light-dark(#efebe8,#ddd7d3);--blush:light-dark(#fbe8ec,#2a181d);--field:light-dark(#f3dce2,#170e11);--accent:light-dark(#d01f4c,#ff5f86);--on-accent:light-dark(#fff,#1d0a10);--good:light-dark(#18734f,#63d6a4);--shade:light-dark(rgba(60,20,30,.22),rgba(0,0,0,.7))}
:root[data-theme=light]{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0}
body{background:var(--field);color:var(--ink);font:16px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,system-ui,sans-serif;overflow:hidden;-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
svg{display:block}
.i{width:20px;height:20px;flex:none}
.stage{height:100%;display:grid;place-items:center}
.device{position:relative;width:100%;max-width:520px;height:100%;background:var(--bg);overflow:hidden;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}
.device.is-lock{background:var(--blush)}
#view{flex:1;display:flex;flex-direction:column;min-height:0;position:relative}
.hd{flex:none;display:flex;align-items:center;gap:8px;padding:4px 10px 6px;min-height:52px}
.hdt{font-size:17px;font-weight:600}
.sc{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:28px}
.ft{flex:none;border-top:1px solid var(--line);background:var(--bg);padding:8px 12px max(10px,env(safe-area-inset-bottom))}
.ib{width:44px;height:44px;display:grid;place-items:center;border-radius:22px;flex:none}
.ib:active{background:var(--soft)}
.ib .i{width:24px;height:24px}
.wm{font-family:"Bodoni Moda",Didot,"Bodoni 72",serif;font-style:italic;font-weight:500;letter-spacing:-.01em;line-height:1}
h1,h2{font-family:"Bodoni Moda",Didot,"Bodoni 72",serif;font-weight:500;margin:0;letter-spacing:-.02em;line-height:1.05;text-wrap:balance}
h1{font-size:34px;padding:6px 16px 16px}
h2{font-size:22px}
.muted{color:var(--muted)}
.small{font-size:13px}
.lock{flex:1;display:flex;flex-direction:column;justify-content:center;gap:30px;padding:32px 28px}
.lock form{display:grid;gap:12px}
.inp{height:52px;border-radius:14px;border:1px solid var(--line);background:var(--bg);padding:0 16px;font-size:16px;width:100%}
.inp:focus{border-color:var(--ink);outline:none}
.shake{animation:shake .3s}
@keyframes shake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.btn{height:52px;border-radius:26px;background:var(--ink);color:var(--bg);font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0 16px;white-space:nowrap}
.btn:active{transform:scale(.98)}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn .i{width:18px;height:18px}
.linkb{display:block;width:100%;height:44px;margin-top:6px;color:var(--muted);font-size:15px;font-weight:600;text-align:center}
.hero{margin:0 16px;width:calc(100% - 32px);border-radius:24px;background:var(--blush);padding:22px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
.ht{display:grid;gap:3px}
.ht b{font-size:19px}
.plus{width:56px;height:56px;border-radius:28px;background:var(--ink);color:var(--bg);display:grid;place-items:center}
.plus .i{width:26px;height:26px}
.sec{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:26px 16px 12px}
.shots{display:flex;gap:12px;overflow-x:auto;padding:0 16px;scroll-snap-type:x mandatory;scrollbar-width:none}
.shots::-webkit-scrollbar,.chips::-webkit-scrollbar,.sug::-webkit-scrollbar{display:none}
.shotb{flex:none;width:108px;scroll-snap-align:start;display:grid;gap:6px}
.im{aspect-ratio:9/16;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.im svg,.frame svg,.pickwrap svg,.th svg,.big svg,.dimg svg,.ph svg{width:100%;height:100%}
.row,.srow{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 16px;width:100%}
.th{width:64px;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--photo);flex:none}
.row b,.rtx b{display:block;font-weight:600;line-height:1.3}
.row>.i{color:var(--muted)}
.rtx{display:grid;gap:2px}
.tabs{display:grid;grid-template-columns:1fr 1fr;padding-top:4px}
.tab{height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:12px;font-weight:500;color:var(--muted);position:relative}
.tab.on{color:var(--ink)}
.tab .i{width:24px;height:24px}
.badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:18px;height:18px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px}
.an{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:8px 24px 40px;text-align:center}
.frame{position:relative;height:min(56vh,440px);aspect-ratio:9/16;border-radius:22px;overflow:hidden;box-shadow:0 24px 40px -24px var(--shade)}
.scan{position:absolute;left:0;right:0;height:96px;top:-96px;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--accent) 30%,transparent) 85%,var(--accent));animation:scan 1.7s ease-in-out infinite}
@keyframes scan{to{top:100%}}
.status{font-weight:600;font-size:17px;min-height:26px;margin:0}
.pickwrap{position:relative;margin:0 auto;height:min(50vh,400px);aspect-ratio:9/16;border-radius:22px;overflow:hidden}
.box{position:absolute;border:2px solid #fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.3),0 8px 20px rgba(0,0,0,.25);animation:pop .4s backwards}
.box span{position:absolute;top:-12px;left:8px;background:#fff;color:#111;font-size:12px;font-weight:700;padding:2px 9px;border-radius:10px;white-space:nowrap}
@keyframes pop{from{transform:scale(.85);opacity:0}}
.hint{text-align:center;margin:14px 16px 4px}
.big{width:150px;aspect-ratio:4/5;border-radius:22px;overflow:hidden;background:var(--photo)}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:14px;width:100%;max-width:300px;text-align:left}
.steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;opacity:.3;transition:opacity .3s}
.steps li.done{opacity:1}
.tick{width:28px;height:28px;border-radius:14px;border:2px solid var(--line);display:grid;place-items:center;color:transparent}
.tick .i{width:16px;height:16px}
li.done .tick{background:var(--good);border-color:var(--good);color:var(--bg)}
.tagtop{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center;padding:2px 16px 4px}
.tagtop .th{width:76px;border-radius:14px}
.tagtop b{display:block;font-size:19px;line-height:1.25}
.read{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:13px;font-weight:600;color:var(--good)}
.read .i{width:14px;height:14px}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:12px 16px 0;padding:10px 12px;border-radius:14px;background:var(--soft);font-size:13px}
.legend span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.dot{width:14px;height:14px;border-radius:7px;border:1.5px solid var(--muted);flex:none}
.dot.m{background:var(--ink);border-color:var(--ink)}
.dot.n{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 18%,transparent)}
.tg{padding:16px 16px 0}
.tgl{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:8px}
.tgc{display:flex;flex-wrap:wrap;gap:8px}
.ftnote{text-align:center;margin:6px 0 0}
.tchip{flex:none;height:36px;padding:0 13px;border-radius:18px;border:1px solid var(--line);display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:500;white-space:nowrap;background:var(--bg)}
.tchip .i{width:15px;height:15px}
.tchip.must{background:var(--ink);color:var(--bg);border-color:var(--ink);font-weight:600}
.tchip.not{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 55%,transparent);background:color-mix(in srgb,var(--accent) 8%,var(--bg));text-decoration:line-through}
.tchip.offt,.tchip.sugg{color:var(--muted);border-style:dashed;background:transparent}
.rh .tt{flex:1;display:grid}
.rh b{font-size:17px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rh .th{width:40px;border-radius:9px}
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 16px 10px;scrollbar-width:none;flex:none}
.chip{flex:none;height:36px;padding:0 13px;border-radius:18px;border:1px solid var(--line);display:flex;align-items:center;gap:5px;font-size:14px;font-weight:500;white-space:nowrap;background:var(--bg)}
.chip .i{width:15px;height:15px}
.chip.ctl{background:var(--soft);border-color:transparent;font-weight:600}
.chip.ctl.set{background:var(--ink);color:var(--bg)}
.sep{flex:none;width:1px;background:var(--line);margin:6px 2px}
.prog{height:2px;flex:none;position:relative;overflow:hidden}
.prog.run::after{content:"";position:absolute;inset:0;background:var(--accent);transform-origin:left;animation:prog .8s ease-out forwards}
@keyframes prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.busy .grid,.busy .orig{opacity:.4;transition:opacity .2s}
.orig{margin:12px 16px 0;width:calc(100% - 32px);padding:14px;border-radius:22px;background:var(--blush);display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center}
.orig .th{width:96px;border-radius:14px}
.ot{display:grid;gap:2px}
.pill{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--good)}
.pill .i{width:14px;height:14px}
.onm{font-size:17px;font-weight:600;line-height:1.25}
.op{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:4px}
.op b{font-size:22px;white-space:nowrap}
.cnt{font:500 15px/1 -apple-system,BlinkMacSystemFont,Inter,sans-serif;color:var(--muted);letter-spacing:0}
.seg{display:flex;background:var(--soft);border-radius:18px;padding:3px;flex:none}
.seg button{height:32px;padding:0 10px;border-radius:15px;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.seg .on{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px var(--shade)}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;padding:0 16px}
.card{position:relative;display:flex;flex-direction:column}
.ph{display:block;width:100%;aspect-ratio:4/5;border-radius:16px;overflow:hidden;background:var(--photo);position:relative}
.match{position:absolute;left:8px;top:8px;background:var(--bg);font-size:12px;font-weight:700;padding:3px 8px;border-radius:10px}
.heart{position:absolute;right:2px;top:2px;width:44px;height:44px;display:grid;place-items:center}
.heart>span{width:32px;height:32px;border-radius:16px;background:var(--bg);display:grid;place-items:center}
.heart .i,.hs .i{width:18px;height:18px}
.heart.on .i,.hs.on .i{fill:var(--accent);stroke:var(--accent)}
.pr{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}
.pr b{font-size:17px;white-space:nowrap}
.tag{position:relative;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700;padding:2px 8px 2px 15px;clip-path:polygon(8px 0,100% 0,100% 100%,8px 100%,0 50%);border-radius:0 5px 5px 0;white-space:nowrap}
.tag::before{content:"";position:absolute;left:7px;top:50%;width:4px;height:4px;margin-top:-2px;border-radius:2px;background:var(--bg)}
.nm{font-size:14px;font-weight:500;line-height:1.3;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st{font-size:13px;color:var(--muted)}
.why{font-size:13px;color:var(--muted);line-height:1.35;margin-top:2px}
.acts{display:flex;gap:6px;margin-top:auto;padding-top:8px}
.act{height:40px;flex:1;border-radius:20px;background:var(--soft);display:flex;align-items:center;justify-content:center;gap:5px;font-size:13px;font-weight:600;white-space:nowrap}
.act .i{width:16px;height:16px}
.act.on{background:var(--ink);color:var(--bg)}
.thread{display:grid;gap:8px;padding:14px 16px 0}
.msg{max-width:86%;margin:0;padding:9px 13px;border-radius:18px;font-size:15px;line-height:1.35}
.msg.me{justify-self:end;background:var(--ink);color:var(--bg);border-bottom-right-radius:6px}
.msg.ai{justify-self:start;background:var(--soft);border-bottom-left-radius:6px}
.sug{display:flex;gap:8px;overflow-x:auto;padding:0 0 8px;scrollbar-width:none}
.sug button{flex:none;height:34px;padding:0 13px;border-radius:17px;background:var(--soft);font-size:14px;font-weight:500;white-space:nowrap}
.empty{padding:48px 28px;text-align:center;display:grid;gap:10px;justify-items:center}
.empty p{margin:0}
.empty .btn{width:auto;padding:0 22px}
.sheet{position:absolute;inset:0;z-index:20;display:none}
.sheet.on{display:block}
.scrim{position:absolute;inset:0;background:rgba(0,0,0,.38);animation:fade .2s}
.panel{position:absolute;left:0;right:0;bottom:0;max-height:90%;overflow-y:auto;background:var(--bg);border-radius:26px 26px 0 0;box-shadow:0 -1px 0 var(--line);padding:10px 20px max(26px,env(safe-area-inset-bottom));animation:up .28s cubic-bezier(.2,.8,.2,1)}
.panel p{margin:4px 0}
.grab{width:40px;height:5px;border-radius:3px;background:var(--line);margin:0 auto 16px}
@keyframes up{from{transform:translateY(100%)}}
@keyframes fade{from{opacity:0}}
.fbtop{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:16px}
.fbtop .th{width:56px;border-radius:10px}
.rs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 20px}
.rsn{height:40px;padding:0 15px;border-radius:20px;border:1px solid var(--line);font-size:15px;font-weight:500;white-space:nowrap}
.rsn.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.rs.neg .rsn.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.pv{font-size:30px;font-weight:700;margin:16px 0 0}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:44px;background:transparent;margin:4px 0}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--accent) var(--p,100%),var(--line) var(--p,100%))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:30px;height:30px;border-radius:15px;background:#fff;border:1px solid #ddd;box-shadow:0 2px 8px rgba(0,0,0,.2);margin-top:-12px}
input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:var(--line)}
input[type=range]::-moz-range-progress{height:6px;border-radius:3px;background:var(--accent)}
input[type=range]::-moz-range-thumb{width:30px;height:30px;border-radius:15px;background:#fff;border:1px solid #ddd}
.presets{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 20px}
.sizes{display:grid;gap:8px;margin:16px 0}
.sz{height:46px;border-radius:12px;border:1px solid var(--line);font-weight:600;text-align:center}
.sz.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.fit{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 0;margin:0 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fit b{display:block}
.sw{flex:none;width:51px;height:31px;border-radius:16px;background:var(--line);position:relative;transition:background .2s}
.sw::after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);transition:transform .2s}
.fit.on .sw{background:var(--good)}
.fit.on .sw::after{transform:translateX(20px)}
.dimg{width:min(100%,220px);aspect-ratio:4/5;border-radius:22px;overflow:hidden;margin:0 auto 14px;background:var(--photo)}
.dn{font-size:26px;margin-top:8px}
.whyl{list-style:none;padding:0;margin:14px 0 8px;display:grid;gap:8px}
.whyl li{display:flex;gap:8px;align-items:center;font-size:15px}
.whyl .i{width:18px;height:18px}
.whyl .y .i{color:var(--good)}
.whyl .n{color:var(--muted)}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px;margin-top:16px}
.two .btn{font-size:15px}
.pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.pgrid .shotb{width:auto}
.toast{position:absolute;left:50%;bottom:calc(128px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);width:max-content;transform:translate(-50%,16px);opacity:0;pointer-events:none;z-index:30;background:var(--ink);color:var(--bg);border-radius:20px;padding:11px 18px;font-size:14px;font-weight:500;display:flex;gap:16px;align-items:center;transition:opacity .25s,transform .25s}
.toast span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.toast.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.toast button{color:var(--accent);font-weight:700;flex:none}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.pimg{width:100%;height:100%;object-fit:contain;background:#fff;display:block}
.noimg{display:block;width:100%;height:100%;background:var(--photo)}
.frame img,.pickwrap img{width:100%;height:100%;display:block}
.frame,.pickwrap{height:auto}
.err{flex:1;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:32px 28px}
.err p{margin:0}
.ghostbtn{margin:12px 16px 0;width:calc(100% - 32px)}
.note{margin:12px 16px 0;padding:12px 14px;border-radius:14px;background:var(--soft);font-size:14px;line-height:1.4}
.empty-recent{padding:4px 16px;color:var(--muted);font-size:15px}
a.btn{text-decoration:none}
@media (min-width:600px){.device{border-inline:1px solid var(--line)}}
.cond{font-size:12px;font-weight:600;padding:2px 8px;border-radius:10px;background:var(--soft);white-space:nowrap}
.cond.new{color:var(--good)}
.st.one{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cond.other{color:var(--muted);background:transparent;border:1px solid var(--line)}
:root{--warn:light-dark(#9a5800,#f0b55a)}
.cond.warn{color:var(--warn);background:color-mix(in srgb,var(--warn) 12%,transparent)}
.warn-t{color:var(--warn);font-weight:600}
.note .i{width:16px;height:16px;display:inline-block;vertical-align:-3px;margin-right:4px}
.trustline{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;margin-top:12px}
.trustline .i{width:16px;height:16px}
.trustline.trusted{color:var(--good)}
.trustline.unverified{color:var(--warn)}
.tb{display:flex;gap:16px;margin-top:6px}
.tb button{font-size:14px;font-weight:600;color:var(--muted);text-decoration:underline;height:36px}
.fbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:2px 16px 10px;flex:none}
.fbtn{height:40px;border-radius:20px;background:var(--soft);font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;white-space:nowrap;min-width:0}
.fbtn span:not(.fcount){overflow:hidden;text-overflow:ellipsis}
.fbtn .i{width:15px;height:15px;flex:none}
.fbtn.set{background:var(--ink);color:var(--bg)}
.fcount{flex:none;min-width:18px;height:18px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px}
.pills{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px;flex:none}
.pill2{height:30px;padding:0 6px 0 11px;border-radius:15px;border:1px solid var(--line);background:var(--bg);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:3px;max-width:100%}
.pill2 .i{width:14px;height:14px;color:var(--muted)}
.pill2.no{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
.swrow{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 0;border-bottom:1px solid var(--line);text-align:left}
.swrow b{display:block}
.swrow.on .sw{background:var(--good)}
.swrow.on .sw::after{transform:translateX(20px)}
/* department, sizes */
.seg.wide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.seg.wide button{height:36px;font-size:14px}
.szg{padding:12px 0 0}
.szgl{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}
.szc{display:flex;flex-wrap:wrap;gap:6px}
.szchip{min-width:46px;justify-content:center;padding:0 10px;font-weight:600}
.szchip.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.szk{border-bottom:1px solid var(--line)}
.szk .szrow{width:100%;border-bottom:0;justify-content:flex-start;min-height:48px}
.szsum{margin-left:auto;font-weight:600;font-size:15px;max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.szsum.none{color:var(--muted);font-weight:500}
.szk .szrow .i{flex:none;width:18px;height:18px;color:var(--muted);transition:transform .2s}
.szk.open .szrow .i{transform:rotate(180deg)}
.szbody{padding:0 0 16px}
.szrow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.fbar.four{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.fbar.four .fbtn{padding:0 6px;font-size:13px;gap:4px}
.cond.insize{color:var(--good);display:inline-flex;align-items:center;gap:3px}
.cond .i{width:12px;height:12px}
.sizeline{display:flex;align-items:center;gap:6px;font-size:14px;margin-top:10px!important;color:var(--muted)}
.sizeline .i{width:16px;height:16px}
.sizeline.yes{color:var(--good);font-weight:600}
.sizeline.no{color:var(--accent);font-weight:600}
.hdb{margin-left:auto;height:36px;padding:0 12px;border-radius:18px;background:var(--soft);font-size:14px;font-weight:600;display:flex;align-items:center;gap:6px}
.hdb .i{width:16px;height:16px}
/* set and outfit boards */
.combo{display:flex;gap:10px;margin:12px 16px 0}
.combo .btn{height:44px;font-size:15px;flex:1;min-width:0}
.combo .btn:only-child{flex:none;width:100%}
.setrow .small{display:flex;align-items:center;gap:4px}
.setrow .small .i{width:14px;height:14px}
.lki{margin:0 16px}
.board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:8px;aspect-ratio:1;margin:12px 16px 0;padding:14px;border-radius:22px;background:#f4efe8;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.bt{display:block;width:100%;height:100%;transform:rotate(var(--r,0deg));min-height:0}
.bt img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;display:block}
.bt.hero{background:#fff;padding:5px;border-radius:14px;box-shadow:0 10px 22px -12px rgba(0,0,0,.45)}
.bt.hero img{object-fit:cover;border-radius:10px;mix-blend-mode:normal}
.slot{padding-top:14px}
.slot .tgl{padding:0 16px;margin:0}
.slot .srow{padding-top:6px}
.alts{display:flex;align-items:center;gap:8px;padding:0 16px 0 92px}
.alt{width:48px;aspect-ratio:4/5;border-radius:10px;overflow:hidden;background:var(--photo);box-shadow:0 0 0 1px var(--line)}
.alt.on{box-shadow:0 0 0 2px var(--ink)}
/* Pinterest */
.hero2{margin:10px 16px 0;width:calc(100% - 32px);border-radius:20px;border:1px solid var(--line);padding:14px 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.hero2 b{display:block}
.hero2>.i{color:var(--muted)}
.pinic{width:40px;height:40px;border-radius:20px;background:var(--blush);color:var(--accent);display:grid;place-items:center}
.pinbig{display:grid;place-items:center;background:var(--blush);color:var(--accent)}
.pinbig .i{width:56px;height:56px}
.pimg.cover{object-fit:cover}
.subh{margin:-6px 16px 8px}
/* key pieces show their whole pin: most pins are 2:3 */
.keyrow .th{aspect-ratio:2/3}
/* her pins, two columns at their own shapes, like Pinterest */
.pins{columns:2;column-gap:12px;padding:0 16px}
.pin{display:block;width:100%;break-inside:avoid;margin:0 0 16px;text-align:left}
.pin img{display:block;width:100%;height:auto;min-height:60px;border-radius:16px;background:var(--photo)}
.pin .pcap{display:block;font-size:13px;font-weight:500;line-height:1.35;margin-top:6px}
.pin.quiet img{opacity:.45}
.hdt.one{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fbar.four [data-a=stores] .i,.fbar.four [data-a=tagsSheet] .i,.fbar.four [data-a=sizeSheet] .i{display:none}
/* account */
.acct .ini{width:32px;height:32px;border-radius:16px;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-weight:700;font-size:15px}
.acct .i{width:24px;height:24px}
.acct.push{margin-left:auto}
.authf{display:grid;gap:8px;margin-top:16px}
.authf .btn{margin-top:4px}
.inp.code{font-size:24px;letter-spacing:8px;font-variant-numeric:tabular-nums;text-align:center}
.autherr{margin:0;color:var(--accent);min-height:0}
.autherr:empty{display:none}
.authlinks{display:flex;justify-content:space-between;gap:12px;margin-top:14px}
.authlinks button{height:40px;font-size:14px;font-weight:600;color:var(--muted)}
.ink{color:var(--ink)}
.secb{height:36px;padding:0 4px;font-size:15px;font-weight:600;color:var(--accent)}
.rm .i{color:var(--muted)}
/* top shopping results under each key piece on a board */
.hscroll{display:flex;gap:10px;overflow-x:auto;padding:2px 16px 16px;scroll-padding:0 16px;scrollbar-width:none;scroll-snap-type:x proximity}
.hscroll::-webkit-scrollbar{display:none}
.mini{flex:none;width:116px;scroll-snap-align:start;color:inherit;text-decoration:none;display:block}
.mini .ph{display:block;width:116px;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:var(--photo)}
.mini b{display:block;font-size:15px;margin-top:6px}
.mini .nm1{display:block;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini .st{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini.sk .ph{animation:skp 1.2s ease-in-out infinite}
@keyframes skp{50%{opacity:.45}}
/* FoundFits Plus */
.plustag{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:6px 0 6px!important}
.perks{list-style:none;margin:18px 0 14px;padding:0;display:grid;gap:14px}
.perks li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center}
.perks li>.i{width:40px;height:40px;padding:9px;border-radius:20px;background:var(--blush);color:var(--accent)}
.perks b{display:block;font-size:15px}
.payel{margin-top:16px;min-height:120px}
.payel:has(iframe) .paywait{display:none}
.paywait{text-align:center;padding:40px 0}
.payok{width:56px;height:56px;border-radius:28px;background:var(--good);color:var(--bg);display:grid;place-items:center;margin:10px 0 14px}
.payok .i{width:28px;height:28px}
.plan{margin-top:18px;padding:14px 16px;border-radius:16px;background:var(--soft)}
.plan .plustag{margin-top:0!important}
.secb.quiet{color:var(--muted);padding:0;height:32px;margin-top:4px}
.plan .secb{padding:0;margin-top:4px}
.quota{margin:10px 16px 0;width:calc(100% - 32px);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-radius:16px;background:var(--soft);font-size:14px;text-align:left}
.quota b{color:var(--accent);white-space:nowrap}
.plusline{display:block;color:var(--accent);font-weight:600}
/* Tags folded behind "Refine tags" on a new search */
.row.refine{grid-template-columns:minmax(0,1fr) auto;margin:18px 16px 0;width:calc(100% - 32px);border:1px solid var(--line);border-radius:18px;padding:12px 14px}
.row.refine .small{display:block;margin-top:2px}
.refsec{padding-bottom:0}
.linkb.sm{display:inline;width:auto;height:auto;margin:0;font-size:14px}
/* Same-item headline and "Watch for it" */
.found{display:flex;gap:8px;align-items:flex-start;margin:-4px 16px 8px;font-size:15px;line-height:1.35}
.found .i{width:18px;height:18px;flex:none;margin-top:1px;color:var(--accent)}
.watch{margin:14px 16px 0;padding:14px;border-radius:20px;border:1px solid var(--line);display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:start}
.watch .wic{width:36px;height:36px;border-radius:18px;background:var(--soft);display:grid;place-items:center}
.watch .wic .i{width:18px;height:18px}
.watch p{margin:0}
.watch b{display:block;line-height:1.3}
.watch .small{display:block;margin-top:2px;line-height:1.35}
.watch .btn{grid-column:1/-1;height:42px;font-size:15px;margin-top:10px}
.watch .linkb.sm{grid-column:2;justify-self:start;margin-top:6px}
.watch.on{background:var(--soft);border-color:transparent}
.watch.on .wic{background:var(--bg,#fff)}
/* Share sheet, in-app browser note, Home Screen guide */
.shlink{margin:14px 0;padding:12px 14px;border-radius:14px;background:var(--soft);font-size:14px;overflow-wrap:anywhere}
.btn .i{width:18px;height:18px;margin-right:6px;vertical-align:-3px}
.note.inapp{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.note.inapp button{width:28px;height:28px;display:grid;place-items:center;color:var(--muted)}
.note.inapp button .i{margin:0}
.a2hs{margin:16px 0 0;padding-left:22px;line-height:1.5}
.a2hs li{margin:8px 0}
.a2hs .i{width:16px;height:16px;vertical-align:-3px}
/* Plus: year or month */
.plans{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 4px}
.planopt{position:relative;text-align:left;padding:12px 12px 10px;border-radius:16px;border:1.5px solid var(--line);display:grid;gap:2px}
.planopt.on{border-color:var(--accent);background:var(--blush)}
.planopt b{font-size:15px}
.planopt .save{position:absolute;top:-9px;right:10px;font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px;background:var(--accent);color:var(--on-accent)}
/* Watches on the Saved list */
.srow .acts{display:flex;align-items:center}
.ib.bell{color:var(--muted)}
.ib.bell.on{color:var(--accent)}
.ib.bell .i{width:20px;height:20px}
.wl{display:flex;align-items:center;gap:4px;margin-top:3px;font-size:13px;color:var(--muted)}
.wl .i{width:13px;height:13px}
.wl.good{color:var(--good);font-weight:600}
.wl.off{opacity:.8}
.note.alerts{display:flex;gap:10px;align-items:center;justify-content:space-between}
.note.alerts .secb{flex:none}
.linkb.danger{display:block;margin:4px auto 0;color:var(--accent)}
/* Account: phone and email on file */
.contacts{margin:14px 0 0;border-top:1px solid var(--line)}
.crow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.crow>span{display:grid}
.crow b{font-weight:600}
.linkb.swap{display:block;margin:10px auto 0;color:var(--accent)}

/* ---------- landing page (no invite yet) ---------- */
.device.is-lock{background:var(--bg)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.land{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:max(24px,env(safe-area-inset-bottom))}
.ld-hd{display:flex;align-items:center;justify-content:space-between;padding:10px 18px 0}
.ld-hd .wm{font-size:30px}
.ld-in{font-size:14px;font-weight:600;min-height:38px;padding:0 14px;border:1px solid var(--ink);border-radius:999px}
.ld-hero{padding:16px 22px 0;background:linear-gradient(var(--blush),var(--bg))}
.ld-hero h1{font-size:40px;padding:0;line-height:1}
.ld-sub{font-size:16px;margin:10px 0 14px;color:var(--ink)}
.waitf{display:grid;gap:8px}
.ld-row{display:grid;gap:10px}
.waitf .btn{background:var(--accent);color:var(--on-accent)}
.waitf .btn:disabled{opacity:.7}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0}
.ld-fine{margin:2px 0 0}
.ld-err{margin:0;color:light-dark(#b8183f,var(--accent))}
.ld-err:empty{min-height:0}
.ld-fix{color:inherit;font-weight:700;text-decoration:underline;min-height:32px}
.waitf{scroll-margin-bottom:40vh}
.ld-fine a{color:inherit;text-decoration:underline}
.ld-done{display:grid;gap:6px;padding:14px 16px;border-radius:16px;background:var(--bg);border:1px solid var(--line)}
.ld-done b:first-child{display:flex;align-items:center;gap:6px;font-size:17px}
.ld-done .i{color:var(--good)}
.ld-done .secb{justify-self:start;margin-top:6px;min-height:44px}
.ld-done:focus{outline:none}
.ld-other{justify-self:start;font-size:13px;color:var(--muted);text-decoration:underline;min-height:32px}
.ld-demo{margin:18px 22px 0}
.ld-art{position:relative;height:282px}
.ld-demo figcaption{margin-top:10px;text-align:center}
.ld-ex{position:absolute;right:0;top:6px;padding:2px 9px;border-radius:9px;border:1px solid var(--line);background:var(--bg);color:var(--muted);font:600 11px/1.5 Inter,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.ld-shot{position:absolute;left:0;top:0;width:142px;aspect-ratio:9/16;border-radius:24px;overflow:hidden;box-shadow:0 18px 40px -12px var(--shade),0 0 0 1px var(--line)}
.ld-shot svg{width:100%;height:100%}
.ld-box{position:absolute;border:2px solid rgba(255,255,255,.95);border-radius:10px;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.ld-box i{position:absolute;top:-9px;left:4px;padding:0 5px;border-radius:7px;background:#fff;color:#161314;font:600 8.5px/1.4 Inter,system-ui,sans-serif;font-style:normal;white-space:nowrap}
.ld-box.on{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 30%,transparent)}
.ld-box.on i{background:var(--accent);color:#fff}
.ld-card{position:absolute;right:0;bottom:0;width:min(250px,70%);display:flex;gap:10px;align-items:center;padding:10px;border-radius:18px;background:var(--bg);box-shadow:0 18px 40px -14px var(--shade),0 0 0 1px var(--line)}
.ld-card>span:last-child{display:grid;gap:1px;font-size:14px;line-height:1.3}
.ld-pic{width:64px;height:80px;flex:none;border-radius:12px;overflow:hidden}
.ld-pic svg{width:100%;height:100%}
.ld-k{font-size:10.5px;white-space:nowrap;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--good)}
.ld-save{justify-self:start;margin-top:4px;padding:2px 8px;border-radius:10px;background:var(--soft);font-size:12px;font-weight:600}
@media (prefers-reduced-motion:no-preference){.ld-box.on{animation:ldpulse 2.4s ease-in-out infinite}}
@keyframes ldpulse{50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--accent) 12%,transparent)}}
.ld-sec{padding:34px 22px 0}
.ld-sec h2{font-size:28px;margin-bottom:14px}
.ld-steps{list-style:none;margin:0;padding:0;display:grid;gap:16px;counter-reset:s}
.ld-steps li{display:grid;grid-template-columns:34px 1fr;column-gap:12px;counter-increment:s}
.ld-steps li::before{content:counter(s);grid-row:span 2;width:34px;height:34px;border-radius:17px;display:grid;place-items:center;background:var(--ink);color:var(--bg);font-weight:600}
.ld-steps b{font-size:17px}
.ld-steps span{color:var(--muted)}
.ld-feats{display:grid;gap:12px}
.ld-feats>div{display:grid;grid-template-columns:40px 1fr;column-gap:12px;padding:14px;border-radius:18px;background:var(--soft)}
.ld-feats b{font-size:16px}
.ld-feats>div>span:last-child{grid-column:2;color:var(--muted);font-size:15px}
.ld-ic{grid-row:span 2;width:40px;height:40px;border-radius:20px;display:grid;place-items:center;background:var(--bg);color:var(--accent)}
.ld-faq{border-bottom:1px solid var(--line)}
.ld-faq summary{list-style:none;cursor:pointer;padding:14px 28px 14px 0;min-height:44px;font-weight:600;position:relative}
.ld-faq summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ld-faq summary::-webkit-details-marker{display:none}
.ld-faq summary::after{content:'+';content:'+' / '';position:absolute;right:4px;top:10px;font-size:22px;font-weight:400;color:var(--muted)}
.ld-faq[open] summary::after{content:'–';content:'–' / ''}
.ld-faq p{margin:0 0 14px;color:var(--muted)}
.ld-end{padding-bottom:8px}
.ld-ft{display:flex;align-items:center;gap:16px;padding:30px 22px 8px}
.ld-ft .wm{margin-right:auto}
.ld-ft a{color:var(--ink);font-weight:600;min-height:44px;display:inline-flex;align-items:center}
.ld-ft .wm{font-size:20px;color:var(--ink)}
.ld-ft button{font-weight:600;color:var(--ink);min-height:44px}
@media (min-width:420px){.ld-row{grid-template-columns:1fr auto}.ld-row .btn{width:auto;padding:0 20px}}

/* Before the app's script runs: the wordmark, not a blank screen. */
.boot{flex:1;display:grid;place-content:center;gap:14px;text-align:center;padding:24px;background:var(--bg)}
.boot .wm{font-size:56px}
.boot p{margin:0;color:var(--muted)}

.ld-skip{padding:10px 12px;border-radius:12px;background:var(--blush);font-size:15px}
.ld-done .btn{margin-top:4px;background:var(--accent);color:var(--on-accent)}

/* Real searches on the landing page: store photos, the find, the summary. Swipe sideways. */
.ld-realp{margin:-6px 0 12px}
.ld-exs{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -22px;padding:2px 22px 10px;scrollbar-width:none}
.ld-exc{flex:none;width:min(230px,66%);scroll-snap-align:start;display:grid;align-content:start;gap:3px;color:inherit;text-decoration:none;font-size:15px;line-height:1.3}
.ld-exi{display:block;aspect-ratio:4/5;border-radius:16px;overflow:hidden;background:var(--photo);margin-bottom:6px}
.ld-exi img{width:100%;height:100%;object-fit:cover;display:block}
.ld-exf{color:var(--good);font-weight:600;font-size:14px}
/* her data: download or delete (account and sign-in sheets) */
.datal{display:flex;flex-wrap:wrap;justify-content:center;gap:0 18px;margin-top:18px;font-size:14px}
.datal a,.datal button{color:var(--muted);text-decoration:underline;background:none;border:0;padding:8px 2px;font:inherit;min-height:44px}
.btn.warn{background:var(--accent);color:var(--on-accent);margin-top:16px}
/* what to expect while it searches */
.expect{margin:6px 0 4px;max-width:330px;text-align:center;color:var(--muted);line-height:1.4}
.expect b{color:var(--ink)}
/* the landing page's Try it free (OPEN=on) */
.ld-try{display:grid;gap:8px;margin-top:4px}
.ld-try .btn{width:100%}
.ld-try .ts:empty{display:none}
