@font-face { font-family: "Inter"; src: url("../fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@property --halo-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --halo-b { syntax: "<angle>"; inherits: false; initial-value: 140deg; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin.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 {
  color-scheme: dark;
  --bg: #0b0d11; --card: #0f1218; --soft: #141820; --soft-2: #1a1f29;
  --ink: #f3f5f8; --ink-2: #c9ced6; --ink-3: #8d95a1;
  --solid: #e9edf3; --on-solid: #0b0d11;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --blue: #9fd4ff; --lilac: #cdbfff;
  --brand-from: #9fd4ff; --brand-mid: #7cc0f5; --brand-to: #5aa9e6;
  --brand-grad: linear-gradient(90deg, var(--brand-from) 0%, var(--brand-mid) 55%, var(--brand-to) 100%);
  --accent-soft: rgba(159, 212, 255, .12); --accent-ink: #9fd4ff;
  --bad: #ff8f8f; --bad-soft: rgba(255, 110, 110, .12); --warn: #f2c66d; --warn-soft: rgba(242, 198, 109, .12);
  --r: 20px; --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow-float: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; color: var(--ink); letter-spacing: -.025em; } p { text-wrap: pretty; }
a { color: inherit; }
[hidden] { display: none !important; }
#app:focus { outline: none; }
.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.visually-hidden:where(:not(:focus-within, :active)) { position: absolute !important; clip-path: inset(50%) !important; overflow: hidden !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; white-space: nowrap !important; }
.num { font-variant-numeric: tabular-nums; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 17, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--solid); color: var(--on-solid); font-size: 12px; letter-spacing: .02em; }
.top__right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.saved { font-size: 13px; color: var(--ink-3); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.saved.is-on { opacity: 1; }
.who { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 32vw; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; color: var(--ink-2); transition: transform .15s var(--ease), border-color .2s; }
.icon-btn:active { transform: scale(.96); }
@media (hover: hover) { .icon-btn:hover { border-color: var(--ink); color: var(--ink); } }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 16px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), filter .2s, background .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn { font-family: var(--mono); letter-spacing: -.02em; }
.btn--main { border-radius: 16px; background: #06050b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 22px rgba(150, 130, 255, .14); color: #ece8ff; font-weight: 700; }
.halo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.halo i { position: absolute; inset: -1px; border-radius: inherit; }
.halo i:last-child { inset: -3px; filter: blur(6px); opacity: .9; }
.halo i::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit;
  background:
    conic-gradient(from var(--halo-a), transparent 0deg, #2f6bff 12deg, #5fe1ff 20deg, #ffffff 32deg, #ffffff 62deg, #ffe66b 74deg, #ff8a3d 84deg, #ff3d6e 92deg, transparent 106deg, transparent 188deg, #7a5cff 200deg, #4db8ff 210deg, #ffffff 222deg, #ffffff 236deg, #ffd84d 246deg, #ff5f6d 256deg, transparent 270deg, transparent 360deg),
    conic-gradient(from var(--halo-b), transparent 0deg, #ff4fd8 10deg, #ffb347 18deg, #ffffff 30deg, #ffffff 50deg, #6ff0ff 60deg, #3b6cff 70deg, transparent 84deg, transparent 360deg);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: halo-a 7s linear infinite, halo-b 11s linear infinite; }
.halo i:last-child::before { padding: 5px; }
@keyframes halo-a { to { --halo-a: 360deg; } }
@keyframes halo-b { to { --halo-b: -220deg; } }
@media (prefers-reduced-motion: reduce) { .halo i::before { animation: none; } }
.btn--main[disabled] { filter: grayscale(.6) opacity(.6); cursor: not-allowed; }
.btn--main[disabled] .halo { display: none; }
@media (hover: hover) { .btn--main:hover .halo i::before { animation-duration: 3s, 4.5s; } }
.btn--line { background: var(--card); border-color: var(--line-2); color: var(--ink); }
@media (hover: hover) { .btn--line:hover { border-color: var(--ink); } }
.btn--soft { background: var(--accent-soft); color: var(--accent-ink); }
@media (hover: hover) { .btn--soft:hover { filter: brightness(.97); } }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--danger { background: var(--card); border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: var(--bad); }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }
@media (hover: hover) { .link-btn:hover { color: var(--ink); } }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
@media (hover: hover) { .back:hover { color: var(--ink); } }

.label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.h1 { margin: 12px 0 0; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.h1 .thin { font-weight: 400; color: var(--ink-2); }
.lead { margin: 14px 0 0; font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.page { padding: clamp(28px, 5vw, 56px) 0 96px; }
.page.is-new, .auth__card.is-new { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.auth { min-height: 100dvh; display: grid; place-items: center; align-content: center; padding: 32px 20px; background: var(--bg); }
.auth__card { width: min(100%, 440px); background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 6vw, 40px); box-shadow: var(--shadow-float); }
.auth__card .brand { margin-bottom: 28px; }
.auth h1 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.auth .sub { margin: 8px 0 26px; color: var(--ink-2); }
.auth form { display: grid; gap: 18px; }
.auth .btn--main { width: 100%; margin-top: 4px; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); font-size: 14px; }

.home__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.ring { --p: 0; position: relative; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--brand-from) calc(var(--p) * 1%), var(--soft-2) 0); display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--card); }
.ring span { position: relative; text-align: center; line-height: 1.1; font-size: 13px; color: var(--ink-3); }
.ring b { display: block; font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.step-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .2s, transform .15s var(--ease), box-shadow .2s; }
.step-card:active { transform: scale(.99); }
@media (hover: hover) { .step-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-float); } }
.step-card__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); font-weight: 600; font-size: 18px; }
.step-card.is-done .step-card__n { background: var(--accent-soft); color: var(--accent-ink); }
.step-card.is-next { border-color: color-mix(in srgb, var(--brand-from) 45%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-from) 10%, transparent); }
.step-card h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.step-card p { margin: 2px 0 0; font-size: 14px; color: var(--ink-3); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.pill--done { background: var(--accent-soft); color: var(--accent-ink); }
.pill--next { background: var(--solid); color: var(--on-solid); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--bad { background: var(--bad-soft); color: var(--bad); }
.home__help { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--soft); }
.home__help p { margin: 0; color: var(--ink-2); }
.wa-ico { width: 20px; height: 20px; }

.wrap--narrow { width: min(100% - 40px, 760px); }
.step-head { display: grid; gap: 4px; margin-bottom: 26px; }
.step-head h1 { margin: 8px 0 0; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; }
.bar { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.bar li { display: grid; gap: 8px; font-size: 13px; color: var(--ink-3); min-width: 0; }
.bar li::before { content: ""; height: 4px; border-radius: 4px; background: var(--soft-2); transition: background .3s; }
.bar li.is-on::before, .bar li.is-done::before { background: var(--brand-from); }
.bar li.is-on { color: var(--ink); font-weight: 500; }
.bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.card { background: var(--soft); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 3.6vw, 36px); }
.card h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -0.025em; }
.card .page-lead { margin: 6px 0 0; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 22px; }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field__label { font-size: 15px; font-weight: 500; padding: 0; }
.field__label em { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 13px; margin-left: 6px; }
.hint { display: block; font-size: 14px; color: var(--ink-3); margin-top: -2px; }
.input, .field textarea, .day__times input { color: var(--ink); -webkit-text-fill-color: var(--ink); }
.input::placeholder, .field textarea::placeholder { color: #6d7480; -webkit-text-fill-color: #6d7480; opacity: 1; }
.input, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { field-sizing: content; resize: none; min-height: 96px; max-height: 60dvh; line-height: 1.45; }
.input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 22, 20, .07); }
.input:user-invalid, .field textarea:user-invalid, [aria-invalid="true"] { border-color: var(--bad) !important; background-color: rgba(255, 110, 110, .06); }
.err { display: none; color: var(--bad); font-size: 14px; }
.err.is-on { display: block; }
.count { justify-self: end; font-size: 12px; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; font-size: 15px; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease); }
.chip:active { transform: scale(.97); }
@media (hover: hover) { .chip:hover { border-color: var(--ink); } }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--solid); color: var(--on-solid); border-color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices .chip { min-height: 52px; padding: 0 22px; border-radius: 16px; }

.colours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.palettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pal { display: grid; gap: 10px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s var(--ease); }
.pal:active { transform: scale(.98); }
.pal[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.pal__sw { display: flex; height: 30px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.pal__sw i { flex: 1; }
.pal__name { font-size: 14px; font-weight: 500; display: grid; line-height: 1.25; }
.pal__name small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.custom { grid-column: 1 / -1; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.custom label { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.custom input[type=color] { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: none; cursor: pointer; }
.custom input[type=color]::-webkit-color-swatch-wrapper { padding: 3px; }
.custom input[type=color]::-webkit-color-swatch { border: 0; border-radius: 9px; }
.pv { --p-bg: #fff; --p-ink: #141616; --p-primary: #1f5c4a; --p-accent: #e3b04b; --p-soft: #eef3ef; margin: 0; border-radius: 16px; overflow: hidden; background: var(--p-bg); color: var(--p-ink); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); }
.pv-nav { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12px; border-bottom: 1px solid color-mix(in srgb, var(--p-ink) 10%, transparent); }
.pv-nav b { margin-right: auto; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-nav span { width: 28px; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--p-ink) 18%, transparent); }
.pv-nav i { font-style: normal; font-size: 11px; padding: 5px 10px; border-radius: 999px; background: var(--p-accent); color: var(--p-on-accent, #fff); }
.pv-hero { padding: 22px 16px 18px; background: var(--p-primary); color: var(--p-on-primary, #fff); display: grid; gap: 6px; }
.pv-hero small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.pv-hero strong { font-size: 19px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
.pv-hero i { justify-self: start; margin-top: 4px; font-style: normal; font-size: 11px; padding: 7px 12px; border-radius: 999px; background: var(--p-accent); color: var(--p-on-accent, #fff); }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.pv-cards span { height: 48px; border-radius: 10px; background: var(--p-soft); }

.drop { position: relative; display: grid; place-items: center; gap: 4px; padding: 22px 16px; border-radius: 16px; border: 1.5px dashed var(--line-2); background: var(--card); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop.is-over { border-color: var(--brand-from); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { font-weight: 500; }
.drop small { color: var(--ink-3); font-size: 13px; }
.drop:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.files li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.files img, .files .thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--soft); display: grid; place-items: center; font-size: 11px; color: var(--ink-3); }
.files span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; cursor: pointer; color: var(--ink-3); font-size: 18px; }

.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.item { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s; }
@media (hover: hover) { .item:hover { border-color: var(--line-2); } }
.item:not(:has(.item__pic)) { padding-left: 14px; }
.item__pic { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--soft); display: grid; place-items: center; color: var(--ink-3); }
.item__text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.item__text b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item__text small { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item__edit { flex: none; color: var(--accent-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.items__more { justify-self: start; color: var(--accent-ink); }
.add-row { justify-self: start; }

.hours { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.day { display: grid; grid-template-columns: 110px auto minmax(0, 1fr); gap: 12px; align-items: center; min-height: 52px; padding: 4px 10px 4px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.day b { font-weight: 500; }
.day__times { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.day__times input { min-height: 42px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); font-size: 16px; font-variant-numeric: tabular-nums; }
.day__closed { color: var(--ink-3); font-size: 14px; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--soft-2); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--brand-from); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.hours__copy { justify-self: start; max-width: 100%; height: auto; min-height: 44px; padding-block: 8px; margin-top: 4px; white-space: normal; text-align: left; }

.social { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; }
.social__logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.social__logo img { width: 24px; height: 24px; object-fit: contain; }
.social .err, .social .hint { grid-column: 2; }
.icons-preview { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: #0f1211; color: #fff; }
.icons-preview small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.icons-preview__row { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; align-items: center; }
.icons-preview__row span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 500; }
.icons-preview__row img { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }
.icons-preview__row em { font-style: normal; color: rgba(255, 255, 255, .6); font-size: 14px; }

.range { display: flex; align-items: flex-end; gap: 10px; }
.range label { display: grid; gap: 6px; flex: 0 1 104px; font-size: 13px; color: var(--ink-3); }
.range .input { text-align: center; }
.range__to, .range__unit { padding-bottom: 15px; font-size: 15px; color: var(--ink-2); }
.book-note { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.book-note small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.book-note p { margin: 0; font-size: 15px; color: var(--ink-2); }
.book-note b { color: var(--ink); font-weight: 600; }
.panel { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.panel p { margin: 0; color: var(--ink-2); font-size: 15px; }
.panel__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wa-backup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.wa-backup .btn { max-width: 100%; height: auto; min-height: 44px; padding-block: 8px; white-space: normal; text-align: center; }
.panel.is-ok { border-color: color-mix(in srgb, var(--brand-from) 40%, transparent); background: var(--accent-soft); }
.ok { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-weight: 500; }
.ok::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-from); color: var(--on-solid); font-size: 13px; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--solid); color: var(--on-solid); text-decoration: none; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.nav .btn--main { margin-left: auto; }
.nav__exit { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 10px; margin: 16px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; text-align: center; }

.summary { display: grid; gap: 14px; margin-top: 22px; }
.sum { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sum__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sum__head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.sum__head a { font-size: 14px; color: var(--accent-ink); }
.sum dl { margin: 0; }
.sum dl div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 11px 16px; }
.sum dl div + div { border-top: 1px solid var(--line); }
.sum dt { color: var(--ink-3); font-size: 14px; }
.sum dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 15px; }
.sum .missing { color: var(--bad); }
.sum--short dd { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.item-form__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.item-form__head .icon-btn { font-size: 22px; line-height: 1; }
.item-form .sheet__actions { flex-wrap: wrap; }
.link-btn--bad { color: var(--bad); }
.sw { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 8px; }
.sw i { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line); }
.done { text-align: center; padding: clamp(40px, 8vw, 80px) 0; animation: rise .5s var(--ease); }
.done__tick { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-grad); color: var(--on-solid); font-size: 32px; box-shadow: 0 0 0 10px var(--accent-soft); }
.done h1 { margin: 26px 0 8px; font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.035em; line-height: 1.08; }
.done p { margin: 0 auto; color: var(--ink-2); max-width: 46ch; }
.done .btn { margin-top: 26px; }

.admin-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.stat { padding: 16px 18px; border-radius: 18px; background: var(--soft); }
.stat b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-3); }
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.hub__card { padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.hub__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.hub__top h2 { margin: 0; font-size: 18px; }
.hub__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); font-family: var(--mono); font-size: 13px; text-decoration: none; transition: border-color .2s; }
@media (hover: hover) { .hub__link:hover { border-color: var(--blue); } }
.hub .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.hub__more { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.hub__more a { color: var(--blue); }
.hub__title { margin: 36px 0 0; font-size: 22px; scroll-margin-top: 84px; }
.auth__new { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.auth__new b { color: var(--ink); }
.auth__new p { margin: 4px 0 0; color: var(--ink-3); }
.auth__new a { color: var(--blue); }
.auth__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--ink-3); font-family: var(--mono); font-size: 13px; }
.auth__card--wide { max-width: 520px; text-align: left; }
.auth__google { width: 100%; margin-top: 8px; }
.g-ico { flex: none; padding: 3px; border-radius: 50%; background: #fff; box-sizing: content-box; }
.box--files { margin-top: 18px; }
.file-links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.file-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); overflow-wrap: anywhere; }
.enq { display: grid; gap: 12px; margin-top: 16px; }
.enq__card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.enq__who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; flex: 1 1 280px; }
.enq__who small { flex-basis: 100%; color: var(--ink-3); font-size: 14px; overflow-wrap: anywhere; }
.enq__who p { flex-basis: 100%; margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.enq__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hub__title .pill { margin-left: 8px; vertical-align: middle; }
.clients { margin-top: 18px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.client-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.2fr) 24px; gap: 16px; align-items: center; padding: 16px 20px; text-decoration: none; background: var(--card); transition: background .15s; }
.client-row + .client-row { border-top: 1px solid var(--line); }
@media (hover: hover) { a.client-row:hover { background: var(--soft); } }
.client-row--head { background: var(--soft); font-size: 13px; color: var(--ink-3); padding-block: 11px; }
.client-row b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-row small { display: block; color: var(--ink-3); font-size: 13px; }
.mini-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.mini-bar i { flex: 1; height: 6px; border-radius: 6px; background: var(--soft-2); overflow: hidden; }
.mini-bar i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--brand-from); border-radius: inherit; }
.empty { padding: 40px 20px; text-align: center; color: var(--ink-3); }
.client-top { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 18px; }
.client-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.client-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.client-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 30px; align-items: start; }
.box { border: 1px solid var(--line); border-radius: 22px; padding: 20px; background: var(--card); }
.box h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.box > p { margin: 0 0 14px; color: var(--ink-3); font-size: 14px; }
.cl-step { padding: 14px 0; }
.cl-step + .cl-step { border-top: 1px solid var(--line); }
.cl-step__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cl-step__head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.tick { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 15px; cursor: pointer; }
.tick input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand-to); flex: none; }
.tick.is-locked { color: var(--ink-3); cursor: not-allowed; }
.tick input:checked + span { color: var(--ink-3); text-decoration: line-through; }
.exports { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.exports .btn { justify-content: flex-start; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.danger-zone { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--bad) 22%, transparent); }
.danger-zone p { margin: 0; color: var(--ink-2); font-size: 14px; }

.sheet { width: min(100% - 32px, 440px); padding: 0; border: 0; border-radius: 24px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-float); overscroll-behavior: contain; }
.sheet--wide { width: min(100% - 32px, 560px); }
.sheet::backdrop { background: rgba(10, 12, 11, .42); overflow: hidden; overscroll-behavior: contain; }
.sheet[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(6px); } }
.sheet__body { display: grid; gap: 14px; padding: 26px; }
.sheet h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.sheet p { margin: 0; color: var(--ink-2); }
.sheet__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.sheet__actions .btn--main { margin-left: auto; }
.sheet .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--solid); color: var(--on-solid); font-size: 15px; box-shadow: var(--shadow-float); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.page-lead { margin: 6px 0 0; color: var(--ink-2); }
.small { margin: 0; font-size: 14px; color: var(--ink-3); }
.small a { color: var(--accent-ink); }
.ticks, .crosses { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li, .crosses li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-ink); font-weight: 600; }
.warns { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.warns li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); }
.warns li::before { content: "!"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 700; }
.project .tick input:checked + span, .domain-row .tick input:checked + span { color: var(--ink-2); text-decoration: none; }
.crosses li::before { content: "×"; position: absolute; left: 2px; top: -1px; color: var(--ink-3); font-size: 18px; line-height: 1.3; }

.track { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.track li { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.track li::after { content: ""; position: absolute; top: 17px; left: 44px; right: -4px; height: 2px; border-radius: 2px; background: var(--soft-2); }
.track li:last-child::after { display: none; }
.track li.is-done::after { background: var(--brand-from); }
.track__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--ink-3); font-weight: 600; font-size: 15px; position: relative; z-index: 1; }
.track li.is-done .track__dot { background: var(--accent-soft); color: var(--accent-ink); }
.track li.is-on:not(.is-done) .track__dot { background: var(--solid); color: var(--on-solid); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-from) 18%, transparent); }
.track__text { display: grid; gap: 2px; padding-right: 10px; }
.track__text b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.track li:not(.is-on):not(.is-done) .track__text b { color: var(--ink-3); font-weight: 500; }
.track__text small { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.track--compact { margin: 0; gap: 6px; }
.track--compact .track__dot { width: 28px; height: 28px; font-size: 13px; }
.track--compact li::after { top: 13px; left: 34px; }
.track--compact .track__text b { font-size: 13px; }

.portal__head .h1 { margin-top: 10px; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; margin-top: 30px; align-items: start; }
.portal__side { display: grid; gap: 14px; }
.stage-card { display: grid; gap: 16px; justify-items: start; padding: clamp(20px, 3.4vw, 32px); border-radius: 26px; background: var(--soft); border: 1px solid var(--line); }
.stage-card > * { max-width: 100%; }
.stage-card h2 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; }
.stage-card > p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.stage-card .panel { justify-self: stretch; }
.stage-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stage-card--live { background: linear-gradient(160deg, var(--accent-soft), var(--soft) 55%); }
.site-link { font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--accent-ink); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .site-link:hover { text-decoration: underline; text-underline-offset: 4px; } }
.launch { justify-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 6px; padding: 18px 18px 18px 20px; border-radius: 20px; background: var(--card); border: 1px solid color-mix(in srgb, var(--brand-from) 30%, transparent); }
.launch div { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.launch b { font-weight: 600; }
.launch span { font-size: 14px; color: var(--ink-3); }
.launch.is-locked { border-color: var(--line); }
.launch--owner { margin-top: 14px; background: var(--soft); }
.past { justify-self: stretch; border-top: 1px solid var(--line); padding-top: 10px; }
.past summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--ink-2); font-size: 15px; }
.past__round { padding: 10px 0; font-size: 14px; color: var(--ink-3); }
.past__round ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); }

.side-card { padding: 18px 20px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; }
.side-card h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.side-card > p { margin: 0; color: var(--ink-2); font-size: 15px; }
.kv { margin: 0; display: grid; }
.kv div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 14px; }
.kv div + div { border-top: 1px solid var(--line); }
.kv dt { color: var(--ink-3); flex: none; }
.kv dd { margin: 0; text-align: right; color: var(--ink); overflow-wrap: anywhere; }
.kv dd a { color: var(--accent-ink); }
.kv .pill { height: 26px; }

.allowed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.allowed > div { padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.allowed h3 { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.allowed li { font-size: 14px; }
.sheet select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23474c4a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; cursor: pointer; }

.rules-row { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rules-row li { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 14px; color: var(--ink-2); }
.rules-row b { color: var(--ink); font-weight: 600; }
.slots-group { margin-top: 26px; }
.slots-group h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.slots-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.slots-group__head span { font-size: 14px; color: var(--ink-3); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.slot { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.slot__img { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; }
.slot__img img { width: 100%; height: 100%; object-fit: cover; }
.slot__img span { display: grid; justify-items: center; gap: 6px; padding: 10px; color: var(--ink-3); text-align: center; }
.slot__img small { font-size: 12px; overflow-wrap: anywhere; }
.slot__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; }
.slot__foot > span { display: grid; min-width: 0; }
.slot__foot b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot__foot small { font-size: 12px; color: var(--ink-3); }
.slot--add { display: grid; place-content: center; justify-items: center; gap: 8px; min-height: 200px; border-style: dashed; border-color: var(--line-2); background: var(--soft); }
.slot--add small { font-size: 13px; color: var(--ink-3); }
.file-btn { position: relative; flex: none; }
.file-btn:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.file-btn.is-off { opacity: .5; cursor: not-allowed; }
.file-hide { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.icon-btn--sm { width: 40px; height: 40px; flex: none; font-size: 20px; }

.stage-mini { display: grid; gap: 4px; font-size: 14px; }
.stage-mini small { font-size: 13px; color: var(--ink-3); }
.stage-mini__dots { display: flex; gap: 4px; }
.stage-mini__dots i { width: 18px; height: 6px; border-radius: 6px; background: var(--soft-2); }
.stage-mini__dots i.is-done { background: var(--brand-from); }
.stage-mini__dots i.is-on { background: var(--ink); }
.project { margin-top: 24px; display: grid; gap: 14px; }
.project > p { margin: 0; color: var(--ink-2); font-size: 15px; }
.project__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 4px; }
.project__head h2 { margin: 0; }
.changes { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.changes li { font-size: 15px; }
.changes li span { display: block; color: var(--ink-2); }
.changes li small { display: block; color: var(--ink-3); font-size: 13px; }
.affix { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); overflow: hidden; }
.affix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 22, 20, .07); }
.affix span { padding: 0 12px; color: var(--ink-3); font-size: 15px; white-space: nowrap; }
.affix .input { border: 0; box-shadow: none !important; padding-inline: 0; min-width: 0; }
.domain-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.domain-row .tick { padding-bottom: 14px; }

.preview-box { justify-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
@media (hover: hover) { .preview-box:hover { border-color: var(--line-2); } }
.preview-box > span:first-child { display: grid; gap: 2px; min-width: 0; }
.preview-box small { font-size: 13px; color: var(--ink-3); }
.preview-box b { font-weight: 600; overflow-wrap: anywhere; }
.preview-box__go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.tile { display: grid; gap: 2px; align-content: start; min-width: 0; padding: 16px; border-radius: 18px; background: var(--soft); }
.tile__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; min-width: 0; }
.tile__ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--card); color: var(--accent-ink); }
.tile small { font-size: 13px; color: var(--ink-3); }
.tile b { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.2; }
.tile > span:last-child { font-size: 13px; color: var(--ink-3); }
.progress { display: none; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; }
.rows li + li { border-top: 1px solid var(--line); }
.row { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 8px 0; border: 0; background: none; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; }
.row__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--ink-2); }
.row b { display: block; font-weight: 500; font-size: 15px; }
.row small { display: block; font-size: 13px; color: var(--ink-3); }
.row__go { color: var(--ink-3); font-size: 20px; }
@media (hover: hover) { .row:hover b { text-decoration: underline; text-underline-offset: 3px; } }

.deal .label { display: flex; }
.deal__h { margin: 8px 0 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.deal__sum { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; margin-top: 22px; }
.deal__sum > div { display: grid; gap: 2px; align-content: start; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.deal__sum small { font-size: 13px; color: var(--ink-3); }
.deal__sum b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.deal__sum span { font-size: 13px; color: var(--ink-3); }
.deal__due { background: var(--accent-soft) !important; color: var(--accent-ink); }
.deal__due small, .deal__due span { color: var(--accent-ink) !important; opacity: .8; }
.deal__due b { font-size: 24px; }
.deal__terms { gap: 12px; }
.deal .track { margin-top: 22px; }
.deal__sec { margin-top: 26px; }
.deal__sec h2 { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.row--static { cursor: default; }
.deal__form { display: grid; gap: 4px; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.deal__form > .btn--main, .deal__go { width: 100%; margin-top: 16px; }
.deal__q { margin: 10px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.deal__yn { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 14px 0 6px; }
.deal__yn .btn { min-width: 96px; }
.deal .note .btn { margin-top: 10px; }
.perk { margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, var(--accent-soft), var(--soft) 70%); color: var(--ink-2); font-size: 15px; }
.perk b { color: var(--accent-ink); font-weight: 600; }
.bank { display: grid; margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.bank__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; }
.bank__row + .bank__row { border-top: 1px solid var(--line); }
.bank__row span { display: grid; min-width: 0; }
.bank__row small { font-size: 13px; color: var(--ink-3); }
.bank__row b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank__row.is-key { background: var(--accent-soft); }
.deal .note { margin-top: 14px; }
.deal__next { margin-top: 10px; text-align: center; }
.deal-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--soft); font-size: 15px; }
.deal-line > span:not(.pill) { display: grid; }
.deal-line small { font-size: 13px; color: var(--ink-3); }
.deal-line .btn, .deal-line .pill { margin-left: auto; }

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(fonts/manrope.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 100 900; font-display: swap; src: url(fonts/geist.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 200 800; font-display: swap; src: url(fonts/plus-jakarta-sans.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-grotesk.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 100 900; font-display: swap; src: url(fonts/fraunces.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 100 1000; font-display: swap; src: url(fonts/dm-sans.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader.woff2) format('woff2'); }

.tpl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.tpl { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); }
.tpl.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.tpl__pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 6px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.tpl__aa { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--soft); font-size: 22px; }
.tpl.is-on .tpl__aa { background: var(--solid); color: var(--on-solid); }
.tpl__text { display: grid; min-width: 0; }
.tpl__text b { font-weight: 600; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tpl__text em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.tpl__text small { font-size: 13px; color: var(--ink-3); }

.tpv { padding-bottom: 24px; }
.tpv__head { display: grid; gap: 2px; margin-bottom: 12px; }
.tpv__head .small { margin: 0; }
.tpv__screen { position: relative; overflow: hidden; width: min(100% - 16px, 1200px); margin: 0 auto; border-radius: 18px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-float); }
.tp-frame { position: absolute; top: 0; left: 0; border: 0; background: var(--card); transform-origin: 0 0; pointer-events: none; }
.tpv__bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 6px; width: max-content; max-width: calc(100% - 16px); margin: 14px auto 0; padding: 6px; border-radius: 999px; background: rgba(20, 22, 22, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(0, 0, 0, .28); color: #fff; }
.tpv__arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; text-decoration: none; }
.tpv__arrow:hover { background: rgba(255, 255, 255, .22); }
.tpv__name { display: grid; min-width: 0; padding: 0 6px; text-align: center; }
.tpv__name b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpv__name small { font-size: 12px; color: rgba(255, 255, 255, .7); }
.tpv__bar .btn { flex: none; white-space: nowrap; }
.tpv__picked { padding: 0 14px; font-size: 14px; font-weight: 600; color: #8fe3bf; white-space: nowrap; }


.photos { margin-top: 20px; padding: clamp(18px, 3vw, 28px); border-radius: 26px; border: 1px solid var(--line); background: var(--card); }
.photos__head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.photos__head p { margin: 4px 0 16px; color: var(--ink-3); font-size: 15px; }
.photos .rules-row { margin-bottom: 4px; }
.photos .slots-group { margin-top: 18px; }
.photos h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.stage-card .kv { justify-self: stretch; }

.slot__desc { display: grid; gap: 2px; padding: 0 14px 10px; }
.slot__desc p { margin: 0; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.slot__desc i { color: var(--ink-3); }
.slot__desc .link-btn { justify-self: start; min-height: 36px; padding: 4px 0; font-size: 13px; color: var(--accent-ink); }

.must { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-size: 15px; }
.must b { font-weight: 600; }
.paybox { border: 1px solid var(--line); border-radius: 18px; padding: 0 16px; background: var(--soft); }
.paybox > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
.paybox > summary::-webkit-details-marker { display: none; }
.paybox > summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--ink-3); }
.paybox[open] > summary::after { content: '−'; }
.paybox[open] { padding-bottom: 16px; background: var(--card); }
.paybox .must { margin-top: 0; }
.paybox .bank { margin-top: 14px; }

.info-note b { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.info-note .ticks { gap: 8px; font-size: 14px; }
.countdown { margin: 0; }
.countdown b { font-size: clamp(30px, 4.6vw, 40px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.stage-card--warn { background: var(--warn-soft); border-color: rgba(138, 90, 0, .18); margin-bottom: 16px; }
.domain-form { display: grid; gap: 10px; justify-self: stretch; max-width: 460px; }
.domain-form .field { margin: 0; }
.gbp { margin-top: 16px; }
.mini-steps { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink-2); }
.mini-steps b { color: var(--ink); font-weight: 600; }
.gbp .bank { justify-self: stretch; max-width: 460px; margin: 0; }
.gbp-done { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.publish { position: sticky; top: 78px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 8px 8px 8px 16px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.publish.is-on { background: var(--card); border-color: var(--brand-to); box-shadow: var(--shadow-float); }
.publish > div:first-child { display: grid; gap: 2px; min-width: 0; }
.publish b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.publish span { font-size: 13px; line-height: 1.3; color: var(--ink-3); }
.publish__btns { display: flex; align-items: center; gap: 12px; flex: none; }
.publish__btns .link-btn { font-size: 14px; color: var(--ink-2); }
.slot { position: relative; }
.slot__flag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 12px; font-weight: 600; }
.slots-group, .info-card { position: relative; }
.slots-group > .slot__flag { position: static; display: inline-block; margin-top: 10px; }
.info-card > .slot__flag { position: static; display: inline-block; margin-top: 8px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.info-card { padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.info-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.info-card__head b { font-size: 15px; font-weight: 600; }
.info-card__head .link-btn { min-height: 36px; font-size: 14px; color: var(--accent-ink); }
.info-card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.listing-photo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.listing-photo .slot__img { width: 120px; flex: none; border-radius: 14px; overflow: hidden; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-grid { grid-template-columns: minmax(0, 1fr); }
  .project__head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .client-row .stage-mini { grid-column: 1 / -1; grid-row: 2; }
  .client-grid { grid-template-columns: minmax(0, 1fr); }
  .colours { grid-template-columns: minmax(0, 1fr); }
  .colours .pv { order: -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub { grid-template-columns: minmax(0, 1fr); }
  .client-row { grid-template-columns: minmax(0, 1fr) auto; }
  .client-row > :nth-child(2), .client-row > :nth-child(4), .client-row > :nth-child(5) { display: none; }
  .client-row .mini-bar { grid-column: 1 / -1; grid-row: 2; }
  .client-row--head { display: none; }
}
@media (max-width: 620px) {
  .home__head { grid-template-columns: minmax(0, 1fr); }
  .ring { width: 96px; height: 96px; }
  .ring b { font-size: 22px; }
  .step-card { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .step-card__n { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
  .step-card .pill { grid-column: 2; justify-self: start; }
  .bar span { display: none; }
  .day { grid-template-columns: minmax(0, 1fr) auto; }
  .day__times, .day__closed { grid-column: 1 / -1; padding-bottom: 8px; }
  .sum dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .nav .btn { flex: 1; min-width: 0; padding: 10px 16px; height: auto; min-height: 52px; white-space: normal; line-height: 1.25; text-align: center; }
  .nav .btn--line { flex: 0 0 auto; }
  .sheet .grid2 { grid-template-columns: minmax(0, 1fr); }
  .sheet--page { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .sheet--page .sheet__body { display: flex; flex-direction: column; min-height: 100%; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }
  .item-form .sheet__actions { flex-direction: column-reverse; align-items: stretch; margin-top: auto; padding-top: 8px; }
  .item-form .sheet__actions .btn--main { margin-left: 0; }
  .brand__name, .who { display: none; }
  .track { gap: 4px; }
  .track__text small { display: none; }
  .track__text b { font-size: 13px; }
  .track__dot { width: 32px; height: 32px; font-size: 14px; }
  .track li::after { top: 15px; left: 38px; }
  .allowed { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .slot__foot { flex-direction: column; align-items: stretch; padding: 10px; }
  .slot__foot .btn { width: 100%; }
  .slot__desc { padding: 0 10px 8px; }
  .slot--add { min-height: 160px; }
  .domain-row { grid-template-columns: minmax(0, 1fr); }
  .domain-row .tick { padding-bottom: 0; }
  .stage-card__actions { justify-self: stretch; }
  .stage-card__actions .btn { flex: 1 1 100%; }
  .launch .btn { width: 100%; white-space: normal; }
}
@media (max-width: 620px) {
  .portal { padding-top: 18px; padding-bottom: 48px; }
  .deal { padding-top: 20px; }
  .deal__h { font-size: 30px; }
  .deal__sum { grid-template-columns: 1fr 1fr; }
  .deal__due { grid-column: 1 / -1; grid-row: 1; }
  .deal__terms li { font-size: 15px; }
  .deal-line .btn, .deal-line .pill { margin-left: 0; }
  .portal__head .label { display: none; }
  .portal__head .h1 { font-size: 26px; margin-top: 0; }
  .staged .track { display: none; }
  .tpl-list { grid-template-columns: minmax(0, 1fr); }
  .photos { padding: 16px; border-radius: 20px; margin-top: 8px; }
  .publish { top: 72px; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 14px; }
  .publish b { font-size: 14px; }
  .publish span { font-size: 12px; }
  .publish__btns { gap: 10px; }
  .deal__yn { grid-template-columns: 1fr; }
  .photos .rules-row { gap: 6px; }
  .photos .rules-row li { padding: 5px 10px; font-size: 12px; }
  .progress { display: grid; gap: 8px; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--soft-2); color: var(--ink-2); font-size: 14px; }
  .progress b { color: #fff; font-weight: 600; }
  .progress__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .progress__bar i { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .16); }
  .progress__bar i.is-done { background: var(--brand-from); }
  .progress__bar i.is-on { background: var(--card); }
  .tiles { gap: 8px; margin-top: 8px; }
  .tile { padding: 12px 14px; border-radius: 16px; gap: 1px; }
  .tile__top { margin-bottom: 4px; gap: 6px; }
  .tile__ico { width: 24px; height: 24px; border-radius: 7px; }
  .tile__ico svg { width: 14px; height: 14px; }
  .tile small, .tile > span:last-child { font-size: 12px; }
  .tile b { font-size: 16px; }
  .portal-grid { gap: 8px; margin-top: 8px; }
  .portal__side { gap: 8px; }
  .stage-card { gap: 12px; padding: 18px 16px; border-radius: 20px; }
  .stage-card h2 { font-size: 22px; }
  .stage-card > p { font-size: 15px; }
  .site-link { font-size: 19px; }
  .preview-box { padding: 10px 10px 10px 14px; border-radius: 14px; }
  .preview-box b { font-size: 14px; overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .progress { margin-top: 12px; }
  .launch { padding: 14px; border-radius: 16px; gap: 10px; margin-top: 2px; }
  .launch .btn { min-height: 48px; font-size: 15px; padding-inline: 14px; }
  .side-card { padding: 14px 16px 8px; border-radius: 18px; gap: 4px; }
  .side-card h2 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .side-card .small { padding: 4px 0 8px; font-size: 13px; }
  .kv div { padding: 7px 0; font-size: 13px; }
  .row { min-height: 52px; }
  .portal .home__help { margin-top: 8px; padding: 12px 12px 12px 16px; border-radius: 18px; flex-wrap: nowrap; font-size: 14px; }
  .portal .home__help .btn { flex: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.card > .items { margin-top: 18px; }
.card > .add-row { margin-top: 12px; }
.info-note { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }

.hint .where { display: block; color: var(--accent-ink); font-weight: 600; margin-bottom: 2px; }
.starters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 10px; }
.starters > span { width: 100%; font-size: 14px; color: var(--ink-3); }
.chip--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.deal__plan { display: block; margin-top: 4px; font-size: 14px; }
.plans-sheet { gap: 12px; padding: 20px 16px; }
.plans-sheet h2 { margin: 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 12px 12px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); min-width: 0; }
.plan--best { background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand-grad) border-box; border: 2px solid transparent; box-shadow: var(--shadow-float); }
.plan.is-on { outline: 2px solid var(--ink); outline-offset: 2px; }
.plan__tag { position: absolute; top: -10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--brand-grad); background-origin: border-box; color: var(--on-solid); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.plan h3 { margin: 0; font-size: 16px; letter-spacing: -0.01em; }
.plan__price { margin: 0; color: var(--ink-3); font-size: 13px; }
.plan__price b { color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.plan__price small { display: block; color: var(--accent-ink); font-weight: 600; font-size: 12px; }
.plan__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; align-content: start; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); flex: 1; }
.plan__list li { position: relative; padding-left: 16px; }
.plan__list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.plan__list .is-good::before { content: "✓"; color: var(--accent-ink); }
.plan__list .is-bad::before { content: "–"; color: var(--bad); }
.plan .btn { width: 100%; margin-top: 4px; }
@media (min-width: 640px) { .plans-sheet { padding: 26px; } .plan { padding: 22px 18px 16px; } .plan__list { font-size: 14px; gap: 7px; } .plan__price b { font-size: 28px; } }
.bill { display: grid; gap: 14px; padding: 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); font-size: 14px; }
.bill + .bill { margin-top: 4px; }
.bill__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bill__head small, .bill__to small { display: block; color: var(--ink-3); font-size: 12px; }
.bill__title { text-align: right; }
.bill__title b { font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.bill__to { margin: 0; display: grid; }
.bill__to span { color: var(--ink-2); overflow-wrap: anywhere; }
.bill__lines { width: 100%; border-collapse: collapse; }
.bill__lines td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bill__lines td + td { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.bill__lines .is-total td { font-weight: 600; font-size: 16px; border-bottom: 0; }
.bill__note { margin: 0; color: var(--ink-2); }
.note--info { background: var(--accent-soft); color: var(--accent-ink); margin: 0 0 14px; }
.sheet__actions .link-btn { white-space: nowrap; flex: none; }
.bill__lines td small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.pay-h { margin: 6px 0 0; font-size: 17px; letter-spacing: -0.01em; }
#bot .field + .field { margin-top: 20px; }
.bot__save { margin-top: 28px; }
.bot__save .btn { width: 100%; }
@media (min-width: 640px) { .bot__save .btn { width: auto; min-width: 200px; } }

@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; padding: 10px 18px; font-size: 15px; }
  .track--compact .track__text b { font-size: 11.5px; letter-spacing: -.02em; }
}
