/* Витрина — стили без сборки. Mobile-first; с 1024px — сайдбар и рабочее пространство в две колонки. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --surface-2: #F0EEE8;
  --ink: #17171B;
  --ink-2: #3A3A42;
  --muted: #5F5F68;
  --line: #E3E1DA;
  --line-strong: #D6D3CA;
  --accent: #C93A12;
  --accent-hover: #B0320F;
  --accent-ink: #9E2C0C;
  --accent-tint: #FBE8E0;
  --on-accent: #FFFFFF;
  --ok: #1B6B43;
  --ok-tint: #E2F2E9;
  --danger: #B42318;
  --danger-tint: #FDECEA;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 23, 27, .06), 0 8px 24px -12px rgba(23, 23, 27, .12);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nav-h: 64px;
  --sidebar-w: 248px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121215;
    --surface: #1C1C21;
    --surface-2: #26262C;
    --ink: #F2F1EE;
    --ink-2: #D9D8D4;
    --muted: #A3A2AA;
    --line: #2E2E35;
    --line-strong: #3B3B43;
    --accent: #E4572E;
    --accent-hover: #F06A41;
    --accent-ink: #FF9A78;
    --accent-tint: #3A1E16;
    --on-accent: #FFFFFF;
    --ok: #6FD19B;
    --ok-tint: #173325;
    --danger: #FF8A80;
    --danger-tint: #3A1B19;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; font-family: var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.5; font-size: 15px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
[x-cloak] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ─── Раскладка ─────────────────────────────────────────────────────────── */
.app { min-height: 100dvh; }
.main { padding: 16px 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.brand-mark::after { content: ""; width: 12px; height: 16px; border-radius: 3px; background: #fff; }
.sidebar { display: none; }

@media (min-width: 1024px) {
  .app { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
  .topbar, .bottom-nav { display: none !important; }
  .sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 0; height: 100dvh; padding: 24px 16px;
    background: var(--surface); border-right: 1px solid var(--line); }
  .sidebar .brand { padding: 0 10px; }
  .main { max-width: 1200px; padding: 32px 40px 48px; width: 100%; }
}

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; }
.side-nav a:hover { background: var(--surface-2); }
.side-nav a.active { background: var(--accent-tint); color: var(--accent-ink); font-weight: 800; }
.side-balance { margin-top: auto; padding: 16px; border-radius: var(--radius); background: var(--ink); color: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.side-balance .num { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.side-balance .hint { font-size: 13px; opacity: .7; }
.side-balance .btn { margin-top: 8px; background: var(--bg); color: var(--ink); }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around; align-items: center;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; min-height: 44px; justify-content: center;
  color: var(--muted); font-size: 11px; font-weight: 600; }
.bottom-nav a.active { color: var(--accent); font-weight: 800; }
.bottom-nav .nav-create { width: 52px; height: 52px; min-width: 0; border-radius: 16px; background: var(--accent); color: var(--on-accent); margin-top: -6px; }

/* ─── Типографика и мелочи ─────────────────────────────────────────────── */
.h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 15px; color: var(--muted); }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.xs { font-size: 12px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.stack-lg > * + * { margin-top: 24px; }
span.stack, span.stack-sm { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; } .icon-lg { width: 24px; height: 24px; }
.kbd { display: inline-block; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,.18); font-size: 11px; font-weight: 700; }
@media (hover: none) { .kbd { display: none; } }

/* ─── Кнопки и поля ────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid transparent; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center;
  transition: background .15s, transform .1s, opacity .15s; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .5; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); }
.btn-outline:hover:not(:disabled) { background: var(--surface-2); }
.btn-ghost { background: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-lg { min-height: 52px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.link { color: var(--accent-ink); font-weight: 700; }

.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 13px; font-weight: 700; color: var(--muted); }
.input, .textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink); font: 600 16px/1.4 var(--font); }
.textarea { min-height: 120px; resize: vertical; font-weight: 500; }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.counter { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.over { color: var(--danger); font-weight: 700; }
.error { color: var(--danger); font-size: 13px; font-weight: 600; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 16px; }
.hint-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-ink); font-size: 13px; line-height: 1.45; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px 0 12px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; }
.chip button { width: 26px; height: 26px; border: 0; border-radius: 13px; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; }
.chip-add { padding: 0 12px; border-style: dashed; color: var(--accent-ink); background: transparent; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 12px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); }
.badge-ok { background: var(--ok-tint); color: var(--ok); }
.badge-accent { background: var(--accent-tint); color: var(--accent-ink); }
.badge-danger { background: var(--danger-tint); color: var(--danger); }
.balance-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 800; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.seg button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(23,23,27,.12); }

.kv { display: flex; flex-direction: column; }
.kv > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.kv .kv-action { margin: -6px -10px -6px 0; }  /* кнопка-значение: по высоте строки и по правому краю, как цифры выше */
/* Настройка в карточке: заголовок и подсказка столбиком слева, кнопка справа не сжимается. */
.setting-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.35; }
.row-between > .btn { flex-shrink: 0; }
.kv > div:last-child { border-bottom: 0; }

/* ─── Главная ───────────────────────────────────────────────────────────── */
.hero { background: var(--ink); color: var(--bg); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.hero p { color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 14px; }
.hero .btn-outline { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 25%, transparent); }
.dropzone { border: 1.5px dashed var(--line-strong); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; background: var(--surface); transition: border-color .15s, background .15s; }
.dropzone.drag { border-color: var(--accent); background: var(--accent-tint); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { position: relative; width: 72px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 12px; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; }
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step-n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
/* Мышь и клавиатура (ПК): вместо «Сфотографировать» — зона перетаскивания. */
.only-touch { display: flex; }
.only-pointer { display: none; }
@media (hover: hover) and (pointer: fine) {
  .only-touch { display: none; }
  .only-pointer { display: flex; }
}
.hero .dropzone { background: transparent; border-color: color-mix(in srgb, var(--bg) 30%, transparent); color: var(--bg); padding: 28px 20px; cursor: pointer; }
.hero .dropzone.drag { background: color-mix(in srgb, var(--accent) 25%, transparent); border-color: var(--accent); }
@media (min-width: 1024px) {
  .home-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .home-grid .product-list { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 32px; }
  .hero h1 { font-size: 32px; }
}

.product-list { display: grid; gap: 10px; }
@media (min-width: 720px) { .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .product-list.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-item { display: flex; gap: 12px; align-items: center; padding: 10px; }
.product-item .pic { width: 56px; height: 74px; border-radius: 8px; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.product-item .pic img { width: 100%; height: 100%; object-fit: cover; }
.product-item:hover { border-color: var(--line-strong); }

/* ─── Черновик (редактор товара) ───────────────────────────────────────── */
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stepper span { height: 4px; border-radius: 2px; background: var(--line); }
.stepper span.on { background: var(--accent); }
.mp-grid { display: grid; gap: 10px; }
.mp-toggle { display: flex; gap: 12px; align-items: center; min-height: 60px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-strong); text-align: left; width: 100%; }
.mp-toggle[aria-pressed="true"] { border: 2px solid var(--ink); padding: 11px 13px; }
.mp-toggle .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; }
.mp-toggle .box svg { visibility: hidden; }
.mp-toggle[aria-pressed="true"] .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.mp-toggle[aria-pressed="true"] .box svg { visibility: visible; }
.style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.style-card { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; }
.style-card .sw { height: 52px; border-radius: 8px; border: 1px solid rgba(0,0,0,.06); }
.style-card[aria-pressed="true"] { border: 2px solid var(--ink); padding: 7px; }
.cta-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 25;
  padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
/* На телефоне итог — обычная карточка под формой (бесплатная обложка + цена), кнопка запуска — в .cta-bar. */
.draft-preview { display: flex; flex-direction: column; gap: 14px; padding: 16px; margin-top: 24px; }
.draft-preview .hide-mobile { display: none; }
@media (min-width: 720px) { .mp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .draft-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .draft-preview { position: sticky; top: 32px; padding: 18px; margin-top: 0; }
  .draft-preview .hide-mobile { display: flex; }
  .draft-preview p.hide-mobile { display: block; }
  .cta-bar { display: none; }
}
.preview-frame { position: relative; background: var(--surface-2); border-radius: 12px; height: 380px; display: grid; place-items: center; overflow: hidden; }
.preview-frame img { max-height: 360px; max-width: 100%; border-radius: 10px; object-fit: cover; }
.preview-frame .state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.teaser[data-state="done"] .preview-frame img { box-shadow: 0 6px 24px rgba(0,0,0,.12); }
@media (max-width: 1023px) { .preview-frame { height: 320px; } .preview-frame img { max-height: 300px; } }

/* ─── Результат ─────────────────────────────────────────────────────────── */
.slides { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding-bottom: 4px;
  margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex-shrink: 0; width: 72%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.slide.wide { width: 86%; }
.slide-pic { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 4; }
.slide.wide .slide-pic { aspect-ratio: 4 / 3; }
.slide-pic img { width: 100%; height: 100%; object-fit: cover; }
.slide-pic .state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.slide-pic.busy img { opacity: .45; filter: blur(2px); }
.slide-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.skeleton { background: linear-gradient(100deg, var(--surface-2) 30%, color-mix(in srgb, var(--surface-2) 60%, var(--surface)) 50%, var(--surface-2) 70%);
  background-size: 300% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.texts .text-block { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.texts .text-block:last-child { border-bottom: 0; }
.text-body { white-space: pre-line; font-size: 14px; color: var(--ink-2); max-height: 8.5em; overflow: hidden; position: relative; }
.progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.progress > div { height: 6px; background: var(--accent); transition: width .4s; }
@media (min-width: 1024px) {
  .result-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
  .slides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px 18px; }
  .slides.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide, .slide.wide { width: auto; }
  .texts { position: sticky; top: 32px; }
}

/* ─── Пакеты ────────────────────────────────────────────────────────────── */
.packs { display: grid; gap: 10px; }
.pack { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line-strong); text-align: left; width: 100%; }
.pack[aria-checked="true"] { border: 2px solid var(--accent); padding: 15px; background: color-mix(in srgb, var(--accent-tint) 50%, var(--surface)); }
.pack .price { font-size: 18px; font-weight: 800; white-space: nowrap; }
@media (min-width: 1024px) { .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pack { flex-direction: column; align-items: flex-start; min-height: 150px; } }

/* ─── Шторки: снизу на телефоне, по центру на ПК ───────────────────────── */
dialog.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 92dvh; border-radius: 22px 22px 0 0;
  background: var(--surface); color: var(--ink); overflow: auto; }
dialog.sheet::backdrop { background: rgba(10, 10, 12, .5); }
dialog.sheet[open] { animation: sheet-up .22s ease-out; }
@keyframes sheet-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-inner { padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.sheet-grip { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 720px) {
  dialog.sheet { margin: auto; border-radius: 20px; }
  .sheet-grip { display: none; }
  .sheet-inner { padding: 24px; }
}

/* ─── Тосты ─────────────────────────────────────────────────────────────── */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); z-index: 100;
  display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; }
.toast.success { background: var(--ok); color: #fff; }
.toast.error { background: var(--danger); color: #fff; }
@media (min-width: 1024px) { .toasts { bottom: 24px; } }
