/* My Storefront: the shop app. Phone first, big touch targets, light and dark by the visitor's setting. */
:root {
  color-scheme: light;
  --bg: #ffffff; --alt: #f5f7fa; --card: #ffffff; --line: #e3e7ec; --line-strong: #cfd6de;
  --text: #121820; --muted: #55606b; --faint: #6b7783;
  --accent: #c2410c; --accent-hover: #9a3412; --accent-soft: #fff1ea;
  --brand: #c2410c; --dark: #121820; --on-dark: #ffffff;
  --ok: #1a7f37; --ok-soft: #e7f5ec; --bad: #cf222e;
  --shadow: 0 1px 2px rgba(18, 24, 32, 0.05), 0 8px 24px -12px rgba(18, 24, 32, 0.14);
  --wordmark: invert(1);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0e13; --alt: #10141a; --card: #151a21; --line: #232a33; --line-strong: #33404d;
    --text: #e9edf1; --muted: #a3adb8; --faint: #8b96a2;
    --accent: #ff6a2b; --accent-hover: #ff8752; --accent-soft: rgba(255, 106, 43, 0.13);
    --dark: #e9edf1; --on-dark: #0b0e13;
    --ok: #3fb950; --ok-soft: rgba(63, 185, 80, 0.14); --bad: #ff7b72;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
    --wordmark: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 560px; margin: 0 auto; }
.center { text-align: center; margin-top: 18px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { padding: 24px; }

.ico { display: inline-flex; flex: none; width: 22px; height: 22px; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons: every one at least 48 px tall ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 20px; border-radius: 10px; max-width: 100%;
  border: 1px solid transparent; background: none; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { opacity: .9; }
.btn-outline { border-color: var(--line-strong); background: var(--card); }
.btn-outline:hover { border-color: var(--text); }
.btn-quiet { color: var(--bad); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn-big { min-height: 58px; font-size: 18px; padding: 0 26px; }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 8px 0 4px; color: var(--muted); font-weight: 600; }
.back .ico { width: 20px; height: 20px; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--muted); cursor: pointer; }

/* ---------- The brand bar ---------- */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.logo b { color: var(--accent); }
.by { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; }
.by img { width: 92px; height: auto; filter: var(--wordmark); }

/* ---------- Landing ---------- */
.hero { padding: 44px 0 28px; max-width: 760px; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.hero h1 { font-size: clamp(40px, 9vw, 68px); font-weight: 800; letter-spacing: -0.03em; }
.accent { color: var(--accent); }
.lead { margin-top: 16px; color: var(--muted); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.actions-note { color: var(--faint); font-size: 15px; }
.switch-note { margin-top: 16px; color: var(--muted); }
.demo-note { margin-top: 18px; color: var(--faint); font-size: 14px; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.how li { display: flex; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.how .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.how b { display: block; }
.how span:not(.ico) { color: var(--muted); font-size: 15px; }
.real { margin: 40px 0 56px; padding: 26px; border-radius: 16px; background: var(--alt); border: 1px solid var(--line); }
.real h2 { font-size: 26px; }
.real .btn { margin-top: 18px; }
.ticks { margin: 14px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--line); color: var(--muted); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 11px; height: 6px; margin-top: -5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.foot { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); color: var(--faint); font-size: 14px; }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--accent); font-weight: 600; }

/* ---------- Forms ---------- */
.page-title { margin-top: 18px; font-size: clamp(28px, 6vw, 38px); font-weight: 800; }
.page-lead { margin-top: 10px; color: var(--muted); font-size: 18px; }
.card { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field-label { font-weight: 700; font-size: 16px; }
.hint { color: var(--faint); font-size: 14px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); font-size: 17px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
[aria-invalid=true] { border-color: var(--bad) !important; outline: 2px solid var(--bad); }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.check b { display: block; }
.check small { display: block; color: var(--muted); font-size: 14px; }
.form-err { color: var(--bad); font-weight: 700; }
.form-err:empty { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Payments ---------- */
.providers { display: grid; gap: 12px; margin-top: 22px; }
.provider { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; min-height: 72px; padding: 14px 18px; text-align: left;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); cursor: pointer; }
.provider b { font-size: 19px; }
.provider small { grid-column: 1; color: var(--muted); font-size: 14px; }
.provider .chip { grid-row: 1 / span 2; grid-column: 2; }
.provider.on { border: 2px solid var(--accent); padding: 13px 17px; background: var(--accent-soft); }
.provider:hover { border-color: var(--text); }

/* ---------- Chips and badges ---------- */
.chip { display: inline-block; justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--alt); color: var(--muted); font-size: 13px; font-weight: 700; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.sold { background: var(--accent-soft); color: var(--accent); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }

/* ---------- The owner's side ---------- */
.owner-top { border-bottom: 1px solid var(--line); }
.owner-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.owner-hi { color: var(--muted); font-size: 14px; }
.owner-biz { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.tabs { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.tabs-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; position: relative; color: var(--muted); font-size: 13px; font-weight: 700; }
.tabs a[aria-current=page] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.tabs .badge { position: absolute; top: 6px; left: calc(50% + 8px); }
.owner-main { max-width: 720px; padding-top: 16px; padding-bottom: 8px; }
.owner .demo-note { max-width: 720px; margin: 8px auto 32px; text-align: center; }
.sec-title { margin: 26px 0 12px; font-size: 21px; font-weight: 800; }
.snap { display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 18px 20px; border-radius: 16px; background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.snap:hover { background: var(--accent-hover); }
.snap .ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.18); }
.snap b { display: block; font-size: 20px; }
.snap small { display: block; opacity: .9; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stats div { padding: 14px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.stats b { display: block; font-size: 22px; }
.stats span { color: var(--muted); font-size: 13px; }
.nudge { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.nudge .ico { color: var(--accent); }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.list-head .sec-title { margin-bottom: 12px; }
.rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.row-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.row-text { display: grid; gap: 2px; min-width: 0; }
.row-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-text span:not(.chip) { color: var(--muted); font-size: 15px; }
.row.is-sold .thumb { opacity: .55; }
.thumb { display: block; flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--alt); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.empty { padding: 22px; text-align: center; color: var(--muted); background: var(--alt); border-radius: 12px; }

/* The snap: the photo first. */
.shot { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--alt); overflow: hidden; }
.shot::before { content: "Your photo goes here"; color: var(--faint); font-weight: 600; }
.shot.has { border-style: solid; border-color: var(--line); }
.shot.has::before { content: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.shot-btns .btn { min-height: 56px; }
.danger { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.orders, .mail { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.order p { margin-top: 4px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-head b { display: inline-flex; align-items: center; gap: 8px; }
.order-head .muted { font-size: 14px; white-space: nowrap; }
.mail li p { margin-top: 6px; color: var(--muted); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; }
.swatch.on { box-shadow: 0 0 0 3px var(--text); }
.card.real { margin-top: 16px; background: var(--alt); }
.card.real h3 { font-size: 20px; }
.card.real p { margin: 8px 0 14px; color: var(--muted); }

/* After posting: a sheet with what to do next. */
.sheet { position: fixed; inset: 0; z-index: 40; display: grid; align-items: end; justify-items: center; background: rgba(8, 10, 14, 0.5); animation: fade .2s ease; }
.sheet-in { width: 100%; max-width: 520px; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); background: var(--card); border-radius: 20px 20px 0 0; text-align: center; animation: rise .25s ease; }
.sheet-in .thumb.big { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 16px; }
.sheet-in h2 { font-size: 23px; }
.sheet-in .muted { margin-top: 6px; }
.sheet-btns { display: grid; gap: 10px; margin-top: 18px; }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: #121820; font-size: 28px; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }

/* ---------- The customer's side: the shop's own site ---------- */
.demo-bar { background: #121820; color: #e9edf1; font-size: 14px; }
.demo-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
.demo-bar b { margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: #ff6a2b; color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.demo-bar a { display: inline-flex; align-items: center; min-height: 36px; color: #ffb38f; font-weight: 700; }
.shop-top { border-bottom: 1px solid var(--line); }
.shop-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.shop-name { font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 700; }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); }
.cart-btn .ico { width: 24px; height: 24px; }
.cart-btn .badge { position: absolute; top: -6px; right: -6px; background: var(--brand); }
.shop-main { padding-bottom: 40px; }
.shop-hero { padding: 30px 0 22px; }
.shop-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 7vw, 48px); }
.shop-hero p { margin-top: 6px; color: var(--brand); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.tile > a { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; }
.tile-body { display: grid; gap: 2px; padding: 0 4px; }
.tile-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.price { color: var(--brand); font-weight: 800; }
.shop .btn-dark { min-height: 48px; }
.item-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 8px; align-items: start; }
.item-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; }
.item-info h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 6vw, 40px); }
.item-price { margin: 8px 0 6px; color: var(--brand); font-size: 28px; font-weight: 800; }
.item-desc { margin: 14px 0 18px; color: var(--muted); }
.item-more { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; }
.ask { display: grid; gap: 12px; margin-top: 14px; padding: 16px; border-radius: 12px; background: var(--alt); }
.total { margin: 18px 0 12px; text-align: right; font-size: 19px; }
.summary { display: grid; gap: 8px; margin: 0; padding: 0 0 14px; list-style: none; border-bottom: 1px solid var(--line); }
.summary li { display: flex; justify-content: space-between; gap: 12px; }
.sum-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 19px; }
.paybox { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--alt); font-size: 15px; }
.thanks { text-align: center; padding-top: 24px; }
.big-tick { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.big-tick .ico { width: 38px; height: 38px; }
.demo-what { margin-top: 22px; text-align: left; }
.demo-what h2 { font-size: 19px; }
.demo-what .btn { margin-top: 16px; }
.shop-foot { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: 14px; }
.shop-foot p + p { margin-top: 6px; }
.shop-foot a { color: var(--accent); font-weight: 600; }

/* ---------- Toasts: narrate waits and results ---------- */
.toasts { position: fixed; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: center; gap: 8px; padding: 0 16px; pointer-events: none; }
.toast { max-width: 520px; padding: 13px 18px; border-radius: 12px; background: #121820; color: #fff; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); animation: rise .2s ease; transition: opacity .35s, transform .35s; }
.toast.ok { background: #14532d; }
.toast.bad { background: #9f1239; }
.toast.out { opacity: 0; transform: translateY(8px); }

/* ---------- View as: Customer or Shop owner, always within thumb's reach ---------- */
.switch { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: #121820; color: #e9edf1;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.55); white-space: nowrap; }
.switch-label { padding: 0 8px 0 12px; color: #9aa4af; font-size: 13px; font-weight: 700; }
.switch a { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 16px; border-radius: 999px; color: #e9edf1; font-weight: 700; font-size: 15px; }
.switch a .ico { width: 19px; height: 19px; }
.switch a:hover { background: rgba(255, 255, 255, 0.08); }
.switch a[aria-current=page] { background: #ffffff; color: #121820; }
.page.owner, .page.shop { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
#app:has(.owner, .shop) ~ .toasts { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (max-width: 380px) { .switch-label { display: none; } .switch a { padding: 0 13px; } }

/* ---------- Phones: the desktop layout, drawn about twice the size ----------
   The page is laid out 1280 px wide (see the viewport tag). A phone shows that
   at about a third of its size, so on phones the whole page is zoomed to keep
   the desktop's columns while words and buttons read and tap comfortably. */
.phone body { zoom: 2; }
.phone .wrap { padding: 0 20px; }
.phone .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Narrow screens ---------- */
@media (max-width: 760px) {
  .how { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 8px; }
  .item-grid { grid-template-columns: 1fr; gap: 16px; }
  .by { font-size: 12px; }
  .by img { width: 78px; }
}
@media (max-width: 380px) {
  .shot-btns { grid-template-columns: 1fr; }
  .item-more { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Payments: the owner's own accounts */
.pay-status { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); }
.pay-status .ico { color: var(--accent); flex: none; }
.pay-status.ok { background: var(--ok-soft); }
.pay-status.ok .ico { color: var(--ok); }
.provs { display: grid; gap: 12px; margin-top: 16px; }
.prov.on { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.prov-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.prov-head b { display: block; font-size: 19px; }
.prov-head small { display: block; color: var(--muted); font-size: 14px; }
.prov-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: #fff; font-weight: 800; font-size: 21px; }
.prov-logo.big { width: 56px; height: 56px; font-size: 27px; margin-bottom: 12px; }
.prov-stripe { background: #635bff; }
.prov-paypal { background: #003087; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.prov-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.prov-said { margin-top: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; word-break: break-all; }
.prov-said .muted { font-family: inherit; }
.keys { margin-top: 16px; }
.keys input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
input[aria-invalid=true] { border-color: var(--bad) !important; outline: 2px solid var(--bad); outline-offset: 1px; }
.sheet-in.left { text-align: left; }
.sheet-in .demo-note { margin-top: 12px; }
.done-btn { margin: 28px 0 8px; }
.order-acts { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.bank-box { margin-top: 18px; text-align: left; }
.bank-box h2 { font-size: 20px; }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 10px; }
.bank-box dt { color: var(--muted); }
.bank-box dd { margin: 0; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.check:has(input:disabled) { opacity: .5; cursor: not-allowed; }

/* ---------- My Storefront additions ---------- */
.logo small { font-weight: 600; color: var(--faint); font-size: 14px; margin-left: 10px; }
.nudge.bad { background: #fff1f2; border-color: #fecdd3; }
.nudge.bad .ico { color: var(--bad); }
.nudge a, .nudge .link { color: var(--accent); font-weight: 700; }
.nudge span { flex: 1; }
.nudge .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
@media (prefers-color-scheme: dark) { .nudge.bad { background: rgba(255, 123, 114, 0.12); border-color: rgba(255, 123, 114, 0.4); } }
.addr { display: grid; gap: 10px; }
.addr b { font-size: 19px; word-break: break-all; }
.addr .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.chip.pending { background: #fff7e6; color: #9a6700; }
.chip.cancelled { text-decoration: line-through; }
.order-who { display: grid; gap: 2px; margin-top: 6px; font-size: 15px; color: var(--muted); }
.order-who a { color: var(--accent); font-weight: 600; }
.q { display: grid; gap: 4px; }
.q .q-item { color: var(--accent); font-weight: 700; font-size: 14px; }
.q p.msg { white-space: pre-wrap; }
.q .q-from a { color: var(--accent); font-weight: 600; }
.q.unread { border-color: var(--accent); }
.closed { text-align: center; padding: 40px 0; }
.closed h1 { font-size: clamp(26px, 5vw, 36px); }
.closed p { margin-top: 10px; color: var(--muted); }
.shop-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.shop-about h2 { font-size: 20px; }
.shop-about p { margin-top: 6px; color: var(--muted); white-space: pre-wrap; }
.shop-about dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 8px 0 0; }
.shop-about dt { color: var(--faint); font-size: 14px; }
.shop-about dd { margin: 0; }
.shop-about a { color: var(--brand); font-weight: 600; }
.signin-note { margin-top: 10px; color: var(--faint); font-size: 14px; }
.trial-line { margin-top: 12px; color: var(--muted); font-size: 15px; }
.pay-why { margin-top: 8px; color: var(--faint); font-size: 14px; }
.by-line { color: var(--faint); font-size: 13px; }
.by-line a { color: var(--accent); font-weight: 600; }
.form .field + .field-head { margin-top: 6px; }
.field-head { font-weight: 800; font-size: 18px; margin-top: 10px; }

/* ---------- Embedded in someone else's page ---------- */
.embed body { zoom: 1; background: transparent; }
.embed .wrap { padding: 0 8px; max-width: none; }
.embed .shop-top-in { min-height: 56px; justify-content: flex-end; }
.embed .shop-name { display: none; }
.embed .shop-hero { padding: 14px 0 12px; }
.embed .shop-hero h1 { font-size: 28px; }
.embed .page.shop { padding-bottom: 8px; }
.embed .shop-main { padding-bottom: 12px; }
.embed .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.embed .item-grid { grid-template-columns: 1fr 1fr; }
.embed .shop-foot { padding: 12px 0; font-size: 13px; }
.embed .toasts { bottom: 12px; }
@media (max-width: 560px) { .embed .item-grid { grid-template-columns: 1fr; } .embed .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .embed .grid { grid-template-columns: 1fr; } }
