/* Dropforge, direction 3: Towers' family look (towers.app's home.css) on a deeper blue sky. Geist; white cards; clear
   glass for what floats; ink does, white is the other way; green only says live or kept. */
@font-face { font-family: 'Geist'; font-weight: 400 700; font-display: swap; src: url('../fonts/geist-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-weight: 400 700; font-display: swap; src: url('../fonts/geist-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --sky: linear-gradient(180deg, #a9c4dc 0, #c3d6e6 300px, #d6e3ed 620px, #e2eaf1 100%);
  --page: #dbe5ed;
  --panel: #fff; --panel-2: #ebe8e3; --soft: #f3f5f7;
  --line: rgba(22,24,29,.08); --line-2: rgba(22,24,29,.16);
  --ink: #16181d; --ink-hover: #2d3038; --text-2: #50535b; --text-3: #686b73;
  --green: #13804a; --green-fill: #2fbf71; --green-soft: rgba(47,191,113,.15);
  --blue: #2a64cc; --blue-fill: #4f8df5; --amber: #a86a10; --amber-soft: rgba(232,166,48,.18);
  --lg: rgba(255,255,255,.55); --lg-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px rgba(22,24,29,.05), 0 0 0 .5px rgba(22,24,29,.09), 0 12px 30px rgba(40,60,90,.16);
  --lens: rgba(255,255,255,.92); --lens-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgba(22,24,29,.08), 0 3px 10px rgba(22,24,29,.12);
  --raise: 0 1px 2px rgba(22,24,29,.06), 0 10px 28px rgba(30,45,70,.14);
  --ease: cubic-bezier(.2,.8,.2,1);
  --gut: clamp(16px, 3vw, 32px);
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; min-height: 100vh; background: var(--sky) no-repeat; color: var(--ink); font: 15px/1.5 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 10px; }

/* the bar */
.bar { position: sticky; top: 0; z-index: 8; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; padding: 0 var(--gut); transition: background .25s, box-shadow .25s; }
.bar.solid { background: rgba(232,239,245,.82); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font: 700 20px/1 Geist; letter-spacing: -.035em; text-decoration: none; justify-self: start; }
/* Dropforge's mark (static/img/logo-*.png, made on Higgsfield): the bag with its spark */
.mark { width: 30px; height: 30px; border-radius: 8px; background: url('../img/logo-64.png') center / cover no-repeat; flex: none; }
.links { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: var(--lg); box-shadow: var(--lg-shadow); -webkit-backdrop-filter: blur(24px) saturate(2); backdrop-filter: blur(24px) saturate(2); }
.bar.solid .links { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the header shows where you are in the four stages; it's not a menu */
.links span { height: 36px; padding: 0 14px 0 6px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.links span i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(22,24,29,.07); font-style: normal; font-size: 12px; font-weight: 600; }
.links span b { font-weight: inherit; }
.links span.done i { background: var(--green-soft); color: var(--green); }
.links span.on { background: var(--lens); box-shadow: var(--lens-shadow); color: var(--ink); font-weight: 600; }
.links span.on i { background: var(--ink); color: #fff; }
.acts { justify-self: end; display: flex; gap: 8px; align-items: center; }
.reset { height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.reset:hover { background: #fff; color: var(--ink); }
.reset.armed { background: #b4392f; color: #fff; box-shadow: none; }
.acct { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-fill); box-shadow: 0 0 0 3px var(--green-soft); flex: none; }
.dot.grey { background: #a6a8ae; box-shadow: 0 0 0 3px rgba(22,24,29,.06); }
.dot.amber { background: #e8a630; box-shadow: 0 0 0 3px var(--amber-soft); }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background .2s, transform .2s var(--ease), opacity .2s; }
.btn:active { transform: scale(.98); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: var(--ink-hover); }
.btn.white { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(22,24,29,.06); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.pill { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255,255,255,.86); box-shadow: inset 0 0 0 1px rgba(22,24,29,.1), 0 8px 24px rgba(20,40,70,.12); font-size: 14px; font-weight: 500; transition: box-shadow .15s, transform .2s; }
.pill:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink), 0 8px 24px rgba(20,40,70,.12); }
.fchip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; }
.fchip.on { background: var(--ink); color: #fff; box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--panel-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.live { background: var(--green-soft); color: var(--green); }
.chip.review { background: var(--amber-soft); color: var(--amber); }

/* page frame */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut) 130px; }
.wrap.narrow { max-width: 920px; }
#card { margin-top: 22px; }
.k { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }
.h { font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; }
.h span { color: var(--text-3); }
.sub { margin-top: 10px; font-size: 16px; color: var(--text-2); max-width: 640px; }
.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--raise); }
.pad { padding: 20px; }
.muted { color: var(--text-2); font-size: 14px; }
.faint { color: var(--text-3); font-size: 13px; }

/* a step's head: Back, then the title with the way on at its right, so it's never below the fold */
.head { padding-top: 8px; }
.backrow { margin: 0 0 14px; }
.hrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.hact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (min-width: 900px) { .hrow { flex-wrap: nowrap; } .hrow > div:first-child { min-width: 0; } .hact { flex: none; justify-content: flex-end; } }
.back { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.back:hover { background: #fff; color: var(--ink); }

/* 1 · search */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(44px, 5vw, 68px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.hero .lead { margin: 16px auto 0; max-width: 640px; font-size: 19px; font-weight: 500; color: #2b2d33; }
.box { display: flex; align-items: center; gap: 10px; width: min(660px, 100%); margin: 32px auto 0; padding: 6px 8px 6px 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(22,24,29,.07), 0 22px 60px rgba(20,40,70,.22); }
.box:focus-within { box-shadow: 0 0 0 1.5px var(--ink), 0 22px 60px rgba(20,40,70,.22); }
.box input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 500; }
.go { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.go svg, .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.sugg { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: 920px; margin-inline: auto; }
.sugg > .faint { width: 100%; text-align: center; margin-bottom: -2px; }
.sugg.left { justify-content: flex-start; margin: 0; }
.src { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.how .card { padding: 22px; }
.how b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.how h3 { margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.how p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }

/* working: a card over the page with its lines ticking */
.work { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(200,216,230,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fade .3s var(--ease); }
.work[hidden] { display: none; }
.work .in { width: min(480px, 100%); padding: 28px 28px 22px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 90px -30px rgba(20,30,50,.45); }
.work h2 { font-size: 26px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.tick { margin: 18px 0 0; padding: 0; list-style: none; }
.tick li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--text-3); }
.tick li i { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px var(--line-2); }
.tick li.now { color: var(--ink); }
.tick li.now i { box-shadow: none; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.tick li.ok { color: var(--ink); }
.tick li.ok i { background: var(--green-fill); box-shadow: none; }
.tick li.ok i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }

/* 2 · pick */
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.filters .sp { flex: 1; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.co { position: relative; display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 20px; background: #fff; overflow: hidden; cursor: pointer; text-align: left; box-shadow: 0 0 0 1px var(--line), var(--raise); transition: transform .25s var(--ease), box-shadow .25s; }
.co:hover { transform: translateY(-2px); }
.co.on { box-shadow: 0 0 0 2.5px var(--ink), 0 18px 40px rgba(22,24,29,.16); }
.co.dim { opacity: .5; }
.co .scr { position: relative; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.co .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co .rk { position: absolute; left: 12px; top: 12px; height: 26px; min-width: 26px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12.5px; font-weight: 700; }
.co .tk { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.95); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 700; }
.co.on .tk { background: var(--ink); }
.co .bd { padding: 14px 16px 16px; }
.co h3 { font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.co .m { margin-top: 4px; font-size: 13px; color: var(--text-2); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.nums div, .nums > span { display: block; padding: 7px 9px; border-radius: 12px; background: var(--soft); }
.co .bd, .co h3, .co .m { display: block; }
.nums small { display: block; font-size: 11.5px; color: var(--text-3); }
.nums b { font-size: 14.5px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nums .kp, .nums > span.kp { background: var(--green-soft); }
.nums .kp b { color: var(--green); }
/* the way on: one bar, in the same place on every step */
.dock { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 9; display: flex; align-items: center; gap: 14px; width: min(780px, calc(100% - 32px)); min-height: 64px; padding: 10px 10px 10px 18px; border-radius: 24px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 0 0 1px var(--line), 0 20px 50px rgba(20,30,50,.22); }
.dock .th { display: flex; gap: 6px; }
.dock .th img, .dock .th span { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.dock .th span { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.dock[hidden] { display: none; }
.dock p { flex: 1; min-width: 0; font-size: 13px; color: var(--text-2); }
.dock .btn { flex: none; height: 46px; padding: 0 22px; }
.dock .th { margin-left: -6px; }
.dock p b { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }

/* 3 · design and 4 · name: choices beside a live store */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; margin-top: 24px; }
.opts { display: flex; flex-direction: column; gap: 12px; }
.tpl { display: flex; gap: 14px; align-items: center; padding: 16px; border: 0; border-radius: 20px; background: #fff; cursor: pointer; text-align: left; box-shadow: 0 0 0 1px var(--line), var(--raise); }
.tpl.on { box-shadow: 0 0 0 2.5px var(--ink), var(--raise); }
.tpl .ic { width: 64px; height: 64px; border-radius: 14px; background: var(--soft); display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 8px; flex: none; }
.tpl .ic i { border-radius: 3px; background: #cdd5dd; }
.tpl .ic.one { grid-template-columns: 1fr; }
.tpl b { display: block; font-size: 16px; }
.tpl span { font-size: 13.5px; color: var(--text-2); }
/* the styles: each card shows its paper, its type and its accent */
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sty { display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; border-radius: 16px; background: var(--soft); cursor: pointer; text-align: left; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s; }
.sty:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.sty.on { background: #fff; box-shadow: 0 0 0 2.5px var(--ink); }
.sty .sp { position: relative; flex: none; width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); overflow: hidden; }
.sty .sp b { font-size: 26px; line-height: 1; }
.sty .sp i { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 7px; }
.sty .nm b { display: block; font-size: 14.5px; }
.sty .nm small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--text-2); }
.lays { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lays .tpl { padding: 12px; box-shadow: 0 0 0 1px var(--line); align-items: flex-start; }
.lays .tpl.on { box-shadow: 0 0 0 2.5px var(--ink); }
.lays .tpl .ic { width: 48px; height: 48px; padding: 6px; border-radius: 10px; }
.opts .card .k { margin: 0 0 12px; }
.pvcol { position: sticky; top: 88px; }
.sw { display: flex; gap: 10px; flex-wrap: wrap; }
.sw .own { position: relative; }
.sw:has(.own) { margin-bottom: 14px; }
.sw .own::after { content: "Own"; position: absolute; left: 0; right: 0; bottom: -18px; font-size: 11px; font-weight: 600; color: var(--text-3); }
.sw button { width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sw button.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.field { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.field:focus-within { box-shadow: 0 0 0 1.5px var(--ink); }
.field input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: none; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.mini { margin: 4px 0 0; padding: 0; list-style: none; }
.mini li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 600; }
.mini li + li { border-top: 1px solid var(--line); }
.mini img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.mini small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.mini .v { margin-left: auto; font-variant-numeric: tabular-nums; }
.mini.card { margin: 0; padding: 4px 16px; }

/* a store in a window */
.win { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--raise); }
.win .url { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 12.5px; color: var(--text-2); background: #f6f7f9; border-bottom: 1px solid var(--line); }
.win .url i { width: 9px; height: 9px; border-radius: 50%; background: #dfe2e6; }
.win .url span { margin: 0 auto; }
/* the store at 1280px wide, scaled to the box by fit() in app.js */
.win .vp { position: relative; height: 560px; overflow: hidden; }
.win.lg .vp { height: calc(100vh - 270px); min-height: 420px; }
.win.tall .vp { height: calc(100vh - 160px); min-height: 520px; max-height: 760px; }
.win .vp iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 100%; border: 0; background: #fff; transform-origin: 0 0; }
.win .off { display: grid; place-items: center; height: 560px; padding: 24px; text-align: center; color: var(--text-2); font-size: 14px; }

/* 5 · the store, with its chat */
.studio { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; height: calc(100vh - 270px); min-height: 420px; }
.side h4 { margin-bottom: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.chat { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.msgs { flex: 1; min-height: 120px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding-right: 2px; }
.msg { padding: 10px 12px; border-radius: 16px; background: var(--soft); font-size: 14px; color: #2b2d33; max-width: 92%; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; }
.msg .did { display: inline-flex; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 600; }
.msg.typing { color: var(--text-3); }
.cks { display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px; padding: 1px 20px 3px; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); }
.cks::-webkit-scrollbar { display: none; }
.cks button { flex: none; height: 30px; padding: 0 11px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; font-size: 12.5px; font-weight: 500; }
.ask { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ask input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; background: none; font-size: 14px; }
.ask .go { width: 36px; height: 36px; }
.ask .go svg { width: 16px; height: 16px; }
.mh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 4px 2px 14px; }
.mh h2 { font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.mh .adr { width: 100%; margin-top: -4px; font-size: 13px; color: var(--text-3); }
.mh .sp { flex: 1; }
.float { white-space: nowrap; position: fixed; left: 50%; bottom: 22px; z-index: 9; translate: -50% 0; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 20px 50px rgba(20,30,50,.35); }
.float .btn { height: 38px; background: rgba(255,255,255,.14); color: #fff; }
/* the store's way on: in the middle at the bottom, where nobody misses it */
.float.next { height: 64px; padding: 0 8px 0 24px; gap: 18px; font-weight: 500; font-size: 15.5px; animation: rise .5s .3s var(--ease) both; }
.float.next b { font-weight: 700; }
.float.next .btn { height: 48px; padding: 0 24px; font-size: 16px; background: #fff; color: var(--ink); }
.float.next .btn:hover { background: #eef2f6; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.btn svg { flex: none; }

/* 6 · ads */
.ads { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; margin-top: 24px; align-items: start; }
.adcol { display: flex; flex-direction: column; gap: 16px; }
.video { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0f1115; color: #fff; box-shadow: var(--raise); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 2.6s ease-out both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.video .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.65) 100%); }
.video .bars { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 4px; }
.video .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.video .bars i b { display: block; height: 100%; width: 0; background: #fff; }
.video .bars i.done b { width: 100%; }
.video .bars i.now b { animation: fill 2.6s linear forwards; }
@keyframes fill { to { width: 100%; } }
.video .who { position: absolute; left: 12px; top: 24px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.video .who i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.video .who small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.video .cap { position: absolute; left: 16px; right: 16px; bottom: 76px; font-size: 26px; font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.video .cta { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 16px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; }
.scenes { margin: 0; padding: 0; list-style: none; }
.scenes li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 10px 12px; border-radius: 14px; font-size: 14px; color: var(--text-2); }
.scenes li.on { background: var(--soft); color: var(--ink); font-weight: 600; }
.scenes time { font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.statics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.statics.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.static { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--soft); container-type: inline-size; }
.static img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.static::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.62)); }
.static p { z-index: 1; position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-size: clamp(12px, 9cqi, 17px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.55); overflow-wrap: break-word; }
.static .pr { z-index: 1; position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.static + small, .stc small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
.hooks { margin: 0; padding: 0; list-style: none; }
.hooks li { display: grid; grid-template-columns: 1fr 120px 28px; gap: 12px; align-items: center; padding: 9px 0; font-size: 14.5px; font-weight: 600; }
.hooks li + li { border-top: 1px solid var(--line); }
.hooks .b { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.hooks .b i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
.hooks em { font-style: normal; font-size: 13px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 12px 12px 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.foot p { flex: 1; font-size: 14px; color: var(--text-2); }
.foot p b { color: var(--ink); }

/* 7 · campaign */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; align-items: start; }
.thumbs { display: flex; gap: 4px; margin-bottom: 6px; }
.thumbs img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; font-size: 14.5px; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; }
.aud { display: flex; flex-direction: column; gap: 6px; }
.aud span { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--soft); }
.aud em { font-style: normal; color: var(--text-3); }
.hook { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.hook small { display: block; font-size: 12px; font-weight: 600; color: var(--text-3); }
.hook b { font-size: 16px; }
.budget b.num { font-size: 52px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.budget input[type=range] { width: 100%; margin: 18px 0 4px; accent-color: var(--ink); }
.scale2 { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.days { display: flex; gap: 6px; margin-top: 14px; }
.days button { flex: 1; height: 38px; border: 0; border-radius: 999px; cursor: pointer; background: var(--soft); font-size: 14px; font-weight: 600; }
.days button.on { background: var(--ink); color: #fff; }
.est { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.est div { padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.est small { display: block; font-size: 12.5px; color: var(--text-3); }
.est b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.est span { font-size: 12px; color: var(--text-3); }

/* 9 · analytics */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.kpis .card { padding: 18px; }
.kpis small { font-size: 13px; color: var(--text-3); }
.kpis b { display: block; margin-top: 4px; font-size: 32px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 12.5px; color: var(--text-3); }
.kpis .g b { color: var(--green); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px var(--line); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.seg button.on { background: var(--ink); color: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 16px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--text-3); border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:first-child td { border-top: 0; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table .who { display: flex; align-items: center; gap: 10px; }
.table .who .lg { width: 32px; height: 32px; border-radius: 9px; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.table .who small { display: block; font-size: 12.5px; color: var(--text-3); }
.meter { display: inline-block; width: 80px; height: 6px; margin-right: 8px; border-radius: 3px; background: var(--soft); vertical-align: middle; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--green-fill); }
.roas { font-weight: 700; }
.tablecard { margin-top: 16px; overflow: auto; }
.table .who img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.table .keep { color: var(--green); font-weight: 700; }
.table a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.table a svg, .btn.sm svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* 11 · your store's page */
.lgo { width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.homegrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: stretch; }
.homegrid > #win { display: flex; }
.homegrid .win { flex: 1; display: flex; flex-direction: column; }
.homegrid .win .vp { flex: 1; height: auto; max-height: none; min-height: 520px; }
.homeside { display: flex; flex-direction: column; gap: 16px; }
.homeside .row { align-items: center; }
.homeside .facts > div { grid-template-columns: 110px 1fr; }
.dotc { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; }
.sec { margin: 36px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.adrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.empty { margin-top: 14px; }
.empty b { font-size: 16px; }
.empty p { margin-top: 4px; font-size: 14.5px; color: var(--text-2); max-width: 640px; }
.foot.end { margin-top: 36px; }

/* 10 · library: a drawer */
.drawer { position: fixed; inset: 0; z-index: 15; display: flex; justify-content: flex-end; background: rgba(30,45,65,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s var(--ease); }
.drawer[hidden] { display: none; }
.drawer .in { width: min(620px, 100%); height: 100%; overflow-y: auto; padding: 24px; background: #f6f8fa; box-shadow: -20px 0 60px rgba(20,30,50,.2); animation: slide .35s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: .5; } }
.drawer .x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; font-size: 18px; }
.lib { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-auto-rows: 150px; gap: 10px; margin-top: 12px; }
.lib .static:first-child { grid-row: span 2; aspect-ratio: auto; }
.lib .static { aspect-ratio: auto; }

.toast { position: fixed; left: 50%; top: 86px; z-index: 30; translate: -50% 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
.banner { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--raise); }
.banner .ok { width: 32px; height: 32px; border-radius: 50%; background: var(--green-fill); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.banner p { flex: 1; font-size: 14px; color: var(--text-2); }
.banner p b { display: block; color: var(--ink); font-size: 15px; }
.banner button { border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--text-3); }

/* the real site (R1–R2): what a search said, the sign-in sheet, the saved picks */
.said { width: min(660px, 100%); margin: 14px auto 0; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; color: var(--text-2); text-align: left; }
.said[hidden] { display: none; }
.work .signin { position: relative; }
.work .signin .x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--text-3); cursor: pointer; }
.work .signin h2 { margin-top: 6px; }
.work .signin p.muted { margin-top: 8px; font-size: 14.5px; }
.work .signin form { display: flex; gap: 8px; margin-top: 14px; }
.work .signin form .btn { flex: none; }
/* a phone: the sheet keeps the screen's width (a grid item's min-width is its content's), the email over its button */
.work { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 440px) {
  .work .in { padding: 24px 20px 18px; }
  .work .signin form { flex-direction: column; }
  .work .signin form input { flex: none; }
  .work .signin form .btn { width: 100%; justify-content: center; }
}
.work .signin input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--soft); font-size: 16px; outline: 0; }
.work .signin input:focus { box-shadow: 0 0 0 1.5px var(--ink); }
.work .signin .btn { height: 46px; }
.work .signin .gbtn { width: 100%; margin-top: 18px; justify-content: center; }
.work .signin .or { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--text-3); font-size: 13px; }
.work .signin .or::before, .work .signin .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.work .signin .said { margin: 12px 0 0; width: 100%; }
.saved .row { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.saved .row + .row { border-top: 1px solid var(--line); }
.saved img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.saved .row > span:nth-child(2) { flex: 1; min-width: 0; }
.saved b { display: block; font-size: 15px; }
.saved small { display: block; font-size: 13px; color: var(--text-2); }
.saved .nums { display: grid; justify-items: end; gap: 1px; text-align: right; }

@media (max-width: 1080px) {
  .acts .acct { display: none; }
  .bar { grid-template-columns: auto 1fr; }
  .links { justify-self: end; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .two, .studio, .ads, .plan, .homegrid { grid-template-columns: minmax(0, 1fr); }
  .pvcol { position: static; }
  .adrow { grid-template-columns: 1fr 1fr; }
  .side { position: static; height: auto; min-height: 0; }
  .chat { flex: none; height: 440px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  /* phone: the brand and Reset on one row, the four stages under them; not sticky, the dock is the way on */
  .bar, .bar.solid { position: relative; grid-template-columns: auto auto; grid-template-areas: "brand acts" "links links"; row-gap: 10px; height: auto; padding: 12px 16px 6px; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar .brand { grid-area: brand; }
  .bar .acts { grid-area: acts; }
  .bar .links, .bar.solid .links { grid-area: links; justify-self: center; background: var(--lg); box-shadow: var(--lg-shadow); }
  .links span { white-space: nowrap; }
  .links span:not(.on) { padding: 0 4px; }
  .links span:not(.on) b { display: none; }
  .reset { height: 34px; padding: 0 12px; font-size: 13px; }
  .wrap { padding-bottom: 190px; }
  /* the dock: what's ready on top, the buttons under it, full width */
  .dock { bottom: 10px; width: calc(100% - 20px); flex-wrap: wrap; gap: 10px; padding: 12px; border-radius: 20px; }
  .dock .th { margin-left: 0; }
  .dock .th img, .dock .th span { width: 36px; height: 36px; border-radius: 10px; }
  .dock p { flex: 1 1 190px; font-size: 12.5px; line-height: 1.4; }
  .dock p b { font-size: 14.5px; }
  .dock .btn { flex: 1 0 auto; justify-content: center; height: 46px; padding: 0 16px; font-size: 14.5px; }
  .sty { flex-direction: column; align-items: flex-start; padding: 10px; }
  .sty .sp { width: 100%; height: 56px; }
  .lays .tpl { flex-direction: column; gap: 10px; }
  .chat { height: 380px; }
  .acts .acct { display: none; }
  .grid, .how { grid-template-columns: 1fr 1fr; }
  .statics, .statics.three, .styles, .lays { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts > div { grid-template-columns: 104px minmax(0, 1fr); }
  .facts dd { overflow-wrap: break-word; }
  .seg { flex: none; }
  .seg button { white-space: nowrap; padding: 0 12px; }
  .float.next span { display: none; }
  .table { min-width: 560px; }
  .table th:nth-child(2), .table td:nth-child(2), .meter { display: none; }
  .table th, .table td { padding-left: 12px; padding-right: 12px; }
  .table th, .table .who b, .table .who span { white-space: nowrap; }
}

/* a product's 30-day trend on its card (R6) */
.co .m b.up { color: var(--green); font-weight: 600; }
.co .m b.down { color: var(--text-3); font-weight: 600; }

/* the legal links: the search page's foot, the sign-in and plan sheets */
.legalfoot { margin: 28px 0 8px; text-align: center; font-size: 13px; color: var(--text-3); }
.legalfoot a, .signin .fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.signin .fine { margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--text-3); text-align: center; }

/* the orders table on a phone: each order a block (number and money first), no sideways scroll */
@media (max-width: 560px) {
  .table.stack, .table.stack tbody { display: block; min-width: 0; }
  .table.stack tr:first-child { display: none; }
  .table.stack tr { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .table.stack tr:nth-child(2) { border-top: 0; }
  .table.stack td { padding: 0; border: 0; grid-column: 1 / -1; }
  .table.stack td:nth-child(2) { display: block; }
  .table.stack td.r { text-align: left; display: flex; justify-content: space-between; gap: 12px; }
  .table.stack td.r::before { content: attr(data-l); color: var(--text-3); font-size: 12.5px; }
}

/* a change being saved: the preview says what's being made (core.js busyOn) */
#pv { position: relative; }
.pvbusy { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 12px; border-radius: 18px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); font-size: 15px; text-align: center; padding: 20px; }
.pvbusy .spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--ink); animation: spin .8s linear infinite; }

/* the plan chooser (app.js planSheet): three cards, Growth raised */
.work .in.plans { width: min(940px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 32px 32px 22px; }
.plans h2 { margin-top: 6px; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.02em; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px; border-radius: 22px; background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.pcard.hot { background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 22px 44px -22px rgba(20, 30, 50, .45); transform: translateY(-6px); }
.pcard h3 { margin: 0; font-size: 17px; }
.pbadge { position: absolute; top: -11px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.pprice { display: flex; align-items: baseline; gap: 4px; }
.pprice b { font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.pprice span { color: var(--text-3); font-size: 14px; }
.pticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; align-content: start; gap: 8px; font-size: 14px; color: var(--text-2); flex: 1; }
.pticks li { position: relative; padding-left: 24px; line-height: 1.4; }
.pticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft); }
.pticks li::after { content: ""; position: absolute; left: 6px; top: 5px; width: 3px; height: 7px; border: solid var(--green); border-width: 0 1.8px 1.8px 0; rotate: 45deg; }
.ptoday { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.ptoday > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ptoday .tot { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink); font-weight: 600; }
.ptoday b { color: var(--ink); font-size: 16px; }
.pcard .btn { width: 100%; justify-content: center; height: 46px; }
.pbudget { margin: 18px 0 0; font-size: 14px; color: var(--text-2); }
.plans .fine { text-align: left; margin-top: 10px; }
@media (max-width: 760px) {
  .work .in.plans { padding: 24px 18px 18px; }
  .pcards { grid-template-columns: minmax(0, 1fr); }
  .pcard.hot { transform: none; order: -1; }
}

.pcard.now { background: #fff; box-shadow: 0 0 0 2px var(--green), 0 22px 44px -22px rgba(20, 30, 50, .3); }
.pcard.now .pbadge { background: var(--green); }
.psub { margin: 0; font-size: 13px; color: var(--text-3); }

/* Products: a product's name and price edited in its row */
.table .pacts { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.table tr.pedit td { background: var(--soft); }
.pform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.pform img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; align-self: center; }
.pform label { display: grid; gap: 6px; flex: 1 1 220px; min-width: 0; }
.pform label.pprice { flex: 0 1 150px; }
.pform small { font-size: 12px; color: var(--text-3); }
.pform input { height: 40px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--panel); font: inherit; font-size: 15px; color: var(--ink); outline: 0; min-width: 0; width: 100%; box-shadow: 0 0 0 1px var(--line-2); }
.pform input:focus { box-shadow: 0 0 0 1.5px var(--ink); }
.pform .pin { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.pform .pnote { flex: 1 1 100%; font-size: 13px; order: 5; }
.pform .pbtns { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 720px) { .pform img { display: none; } .pform label.pprice { flex: 1 1 120px; } }

/* Settings: the store's own design changes */
.customs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.customs li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.customs li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.customs .cx { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--text-3); font-size: 18px; line-height: 1; cursor: pointer; }
.customs .cx:hover { background: var(--panel); color: var(--ink); }
.custrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: 10px; font-size: 13px; }

/* the dashboard's store switcher (more than one live store) */
.whowrap { position: relative; }
button.who { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 0; }
.who .chev { margin-left: auto; font-style: normal; color: var(--text-3); font-size: 12px; }
.whomenu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--panel); border-radius: 14px; padding: 6px; box-shadow: var(--raise); display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.whomenu button { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.whomenu button:hover, .whomenu button.on { background: var(--soft); }
.whomenu button span { display: grid; min-width: 0; }
.whomenu button b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whomenu button small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whomenu .lgo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; flex: none; }

/* the header's account: Sign in, or the account button and its menu */
.acctwrap { position: relative; }
.acctbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.acctbtn:hover { background: var(--ink-hover); }
.acctmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px; background: var(--panel); border-radius: 14px; padding: 6px; box-shadow: var(--raise); display: grid; gap: 2px; }
.acctmenu .who2 { padding: 8px 10px 10px; font-size: 13px; color: var(--text-3); border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow-wrap: anywhere; }
.acctmenu button { text-align: left; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.acctmenu button:hover { background: var(--soft); }
a.reset { display: inline-flex; align-items: center; text-decoration: none; }
@media (max-width: 720px) { .acctbtn { width: 34px; height: 34px; font-size: 13px; } }
/* (a menu's display above would show it even when hidden) */
.acctmenu[hidden], .whomenu[hidden] { display: none; }

/* the steps: "Find products" as a way to a new store once this one is built */
.links button { height: 36px; padding: 0 14px 0 6px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-2); background: transparent; border: 0; cursor: pointer; }
.links button i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-style: normal; font-size: 12px; font-weight: 600; }
.links button b { font-weight: inherit; }
.links button:hover { background: rgba(255,255,255,.6); color: var(--ink); }
/* a plan without room for what's asked: shown, not choosable */
.pcard.off { opacity: .55; }
.pcard.off .btn { cursor: default; }
@media (max-width: 720px) { .links button { white-space: nowrap; padding: 0 4px; } .links button b { display: none; } }
.links button:not(.done) i { background: rgba(22,24,29,.07); color: inherit; }
