/* Tasty Clips portal
   Premium monochrome: warm white, charcoal, hairlines. Geist + one italic serif accent.
   Matches tastyclips.com. The 9:16 frame is the recurring visual unit. */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-2: #F2F1ED;
  --ink: #141413;
  --muted: #6B6A64;
  --line: #E6E4DE;
  --saffron: #E2643C;
  --saffron-press: #C9532D;
  --on-saffron: #FFFFFF;
  --accent-text: #C2502E;
  --accent-tint: #FBE6DE;
  --accent-ink: #8C2F14;
  --mint: #2F6B4F;
  --coral: #B4362F;
  --focus: #141413;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  --font: "Geist", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E0F;
    --surface: #161618;
    --surface-2: #1F1F22;
    --ink: #F2F2F0;
    --muted: #A3A29D;
    --line: #2A2A2D;
    --saffron: #E2643C;
    --saffron-press: #EE7A54;
    --on-saffron: #FFFFFF;
    --accent-text: #F2896A;
    --accent-tint: #3A1E14;
    --accent-ink: #F6B39C;
    --mint: #6BCB97;
    --coral: #F08A84;
    --focus: #F2F2F0;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.icon { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--on-saffron); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin: 0; }
h1 em, .showcase-line em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-text); }
.showcase-line em { color: #F2896A; }
h2 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 var(--s2); letter-spacing: -0.02em; }
p { margin: 0; }
.sub { color: var(--muted); margin-top: var(--s2); max-width: 60ch; }
.hint { color: var(--muted); font-size: 14px; margin-top: 6px; }
.fine { color: var(--muted); font-size: 14px; margin-top: var(--s5); }
.muted { color: var(--muted); font-size: 14px; }
.block { display: block; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease-out, transform .1s ease-out, border-color .2s ease-out;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--saffron); color: var(--on-saffron); }
.btn-primary:hover { background: var(--saffron-press); }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-secondary:hover { background: var(--surface-2); }
form.inline { display: contents; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; margin-top: var(--s3); }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
.stack { display: grid; gap: var(--s5); }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
label, legend { font-weight: 600; font-size: 15px; padding: 0; }
.req { color: var(--coral); }
input[type="text"], input[type="email"], input[type="url"], input[type="datetime-local"], input:not([type]), select, textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  min-height: 50px; padding: 0 16px; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s ease-out;
}
textarea { padding: 12px 16px; min-height: 96px; resize: vertical; line-height: 1.5; }
input:hover, textarea:hover, select:hover { border-color: var(--muted); }
textarea:focus, select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
input[type="color"] {
  width: 100%; height: 50px; padding: 4px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
}
.has-error input, .has-error textarea { border-color: var(--coral); }
.field-error { color: var(--coral); font-size: 14px; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }

/* ---------- App shell ---------- */
.shell { min-height: 100dvh; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 8px solid var(--bg); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.logo-light .logo-mark { background: #FFFFFF; }
.logo-light .logo-mark::after { border-left-color: #141413; }

.sidebar { display: none; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--muted); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

.content { max-width: 1040px; margin: 0 auto; padding: var(--s5) var(--s4) 120px; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
}
.tab {
  display: grid; justify-items: center; gap: 2px; min-height: 52px; padding-top: 4px; min-width: 0;
  text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600;
  white-space: nowrap;   /* labels stay on one line */
}
@media (max-width: 380px) { .tab { font-size: 11px; } .tab-icon { width: 44px; } }
.tab.is-active { color: var(--ink); }
.tab.is-active .tab-icon { background: var(--surface-2); }
.tab-icon { display: grid; place-items: center; width: 52px; height: 30px; border-radius: 999px; }
.tab.is-primary .tab-icon {
  width: 54px; height: 54px; margin-top: -24px; margin-bottom: 2px; border-radius: 50%;
  background: var(--saffron); color: var(--on-saffron);
  box-shadow: 0 8px 20px rgba(226, 100, 60, .30);
}
.tab.is-primary { color: var(--ink); }
.only-desktop { display: none; }

@media (min-width: 1024px) {
  .shell { display: grid; grid-template-columns: 248px 1fr; }
  .topbar, .tabbar { display: none; }
  .only-desktop { display: inline-flex; }
  .sidebar {
    display: flex; flex-direction: column; gap: var(--s6);
    position: sticky; top: 0; height: 100dvh; padding: var(--s5) var(--s4);
    background: var(--surface); border-right: 1px solid var(--line);
  }
  .sidebar .logo { padding: 0 var(--s3); }
  .side-nav { display: grid; gap: 4px; }
  .side-link {
    display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 var(--s3);
    border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 600;
    transition: background-color .15s ease-out, color .15s ease-out;
  }
  .side-link:hover { background: var(--surface-2); color: var(--ink); }
  .side-link.is-active { background: var(--surface-2); color: var(--ink); }
  .side-link.is-primary { background: var(--saffron); color: var(--on-saffron); margin: var(--s2) 0; }
  .side-link.is-primary:hover { background: var(--saffron-press); }
  .side-foot { margin-top: auto; display: grid; gap: 4px; }
  .who { font-size: 13px; color: var(--muted); padding: 0 var(--s3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .content { padding: var(--s7) var(--s6) var(--s8); width: 100%; }
}

/* ---------- Page pieces ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }

.usage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4) var(--s5); margin-bottom: var(--s6); }
.usage-row { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; font-size: 15px; margin-bottom: var(--s3); }
.usage-plan { font-weight: 700; }
.meter { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--saffron); border-radius: inherit; }

.getting-started { margin-bottom: var(--s6); }
.steps { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s3); }
.step {
  display: grid; grid-template-columns: 36px 1fr; gap: var(--s4); align-items: start;
  padding: var(--s4) var(--s5); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface);
}
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); color: var(--muted); font-weight: 600;
}
.step.is-current { border-color: var(--saffron); }
.step.is-current .step-num { background: var(--saffron); color: var(--on-saffron); }
.step.is-done .step-num { background: var(--mint); color: #fff; }
.step.is-done .step-title { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.step-title { font-weight: 700; }
.step-text { color: var(--muted); font-size: 15px; }

.empty { text-align: center; padding: var(--s7) var(--s4); border: 2px dashed var(--line); border-radius: var(--r-lg); }
.empty p { color: var(--muted); max-width: 42ch; margin: 0 auto; }
.ghost-reels { display: flex; justify-content: center; gap: 10px; margin-bottom: var(--s5); }
.ghost-reels span { width: 54px; aspect-ratio: 9 / 16; border-radius: 10px; background: var(--surface-2); }
.ghost-reels span:nth-child(2) { transform: translateY(-8px); background: color-mix(in srgb, var(--ink) 12%, var(--surface-2)); }

.tips { display: grid; gap: var(--s4); }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.tip p { color: var(--muted); }
@media (min-width: 768px) { .tips { grid-template-columns: 1fr 1fr; } }

.toast {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s5);
  padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 15%, var(--surface));
  color: var(--mint); font-weight: 700; animation: toast-in .25s ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Brand page ---------- */
.brand-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .brand-grid { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; } }
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s2); }
@media (min-width: 560px) { .style-grid { grid-template-columns: repeat(3, 1fr); } }
.style-card {
  position: relative; display: grid; gap: 4px; padding: var(--s3); cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: border-color .15s ease-out;
}
.style-card:hover { border-color: var(--muted); }
.style-card input { position: absolute; opacity: 0; pointer-events: none; }
.style-card:has(input:checked) { border-color: var(--saffron); box-shadow: inset 0 0 0 1.5px var(--saffron); }
.style-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.style-swatch { height: 34px; border-radius: 8px; margin-bottom: 4px; }
.sw-0 { background: linear-gradient(135deg, #2B2A27, #8C8A84 50%, #E6E4DE); }
.sw-1 { background: linear-gradient(135deg, #3A3A3F, #6B6A64); }
.sw-2 { background: linear-gradient(135deg, #141413, #3A342A); }
.sw-3 { background: linear-gradient(135deg, #5A4A3A, #B8A48C); }
.sw-4 { background: linear-gradient(135deg, #000000, #4A4A4A); }
.sw-5 { background: linear-gradient(135deg, #2E3640, #9AA4AE); }
.style-name { font-weight: 700; font-size: 15px; }
.style-desc { color: var(--muted); font-size: 13px; line-height: 1.35; }

.preview-col { order: -1; display: grid; gap: var(--s3); justify-items: center; }
.preview-col .phone { width: 200px; }
@media (min-width: 900px) {
  .preview-col { order: 0; position: sticky; top: var(--s5); }
  .preview-col .phone { width: 240px; }
}
.preview-label { font-weight: 700; justify-self: start; }
.phone {
  width: 240px; border-radius: 30px; padding: 10px; background: #0E0C18;
  box-shadow: 0 18px 40px rgba(14, 12, 24, .28); display: grid; gap: 8px;
}
.phone-screen {
  position: relative; aspect-ratio: 9 / 13; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--pv-a, #E2456B), var(--pv-b, #2A1A33));
}
.phone-screen::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 110%, rgba(0,0,0,.55), transparent 60%);
}
.pv-tag {
  position: absolute; z-index: 1; top: 16px; left: 50%; transform: translateX(-50%);
  max-width: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700;
  background: rgba(0,0,0,.45); color: #fff;
}
.pv-cap {
  position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 26%;
  text-align: center; color: #fff; font-weight: 800; font-size: 20px; line-height: 1.15;
  text-shadow: 0 0 2px #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000;
}
.pv-cap b { color: var(--pv-hi, #FFC83D); }
.phone-end {
  display: grid; justify-items: center; gap: 6px; padding: 16px 10px; border-radius: 16px;
  background: var(--pv-end, #2A1A33); color: #fff; text-align: center; font-weight: 800;
}
.pv-cta { font-size: 13px; font-weight: 700; color: var(--pv-cta, #FFC83D); }

/* Caption looks per style (mirror the real video presets) */
.phone[data-style="Luxury"] .pv-cap { font-family: "DM Serif Display", serif; font-weight: 400; text-transform: none; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.phone[data-style="Luxury"] .pv-tag { background: transparent; color: #E8C77A; }
.phone[data-style="Cozy"] .pv-cap { color: #FFF3D6; text-transform: none; text-shadow: 0 0 2px #5A3E2B, 0 2px 0 #5A3E2B, 0 -2px 0 #5A3E2B, 2px 0 0 #5A3E2B, -2px 0 0 #5A3E2B; }
.phone[data-style="Energetic"] .pv-cap { font-family: "Anton", sans-serif; font-weight: 400; font-size: 30px; bottom: 38%; letter-spacing: .01em; }
.phone[data-style="Energetic"] .pv-tag { background: #FFE500; color: #000; }
.phone[data-style="Clean Pro"] .pv-cap { font-size: 16px; font-weight: 700; text-shadow: none; text-transform: none; }
.phone[data-style="Clean Pro"] .pv-cap span { background: rgba(0,0,0,.6); padding: 4px 8px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Admin ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-bottom: var(--s6); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); display: grid; }
.stat-num { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 14px; }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; color: var(--muted); font-size: 14px; }
.table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill-soft { background: var(--surface-2); color: var(--muted); }
.pill-strong { background: var(--accent-tint); color: var(--accent-ink); }

@media (max-width: 720px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: var(--s3); }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: 14px; }
  .table td:first-child { display: block; }
  .table td:first-child::before { content: none; }
}

/* ---------- Signed-out pages ---------- */
.auth { background: var(--bg); }
.auth-grid { min-height: 100dvh; display: grid; }
.showcase {
  background: #141413; color: #fff; padding: var(--s4) var(--s4) var(--s5);
  display: grid; gap: var(--s4); align-content: start; overflow: hidden;
}
.reels { display: flex; gap: 10px; justify-content: center; }
.reel {
  position: relative; width: 26%; max-width: 104px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
.reel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 110%, rgba(0,0,0,.6), transparent 60%); }
.r1 { background: radial-gradient(120% 70% at 50% 15%, #3A3A3F 0%, #222225 45%, #1B1B1D 100%); transform: rotate(-4deg) translateY(10px); }
.r2 { background: radial-gradient(120% 70% at 50% 15%, #3A3A3F 0%, #222225 45%, #1B1B1D 100%); z-index: 1; }
.r3 { background: radial-gradient(120% 70% at 50% 15%, #3A3A3F 0%, #222225 45%, #1B1B1D 100%); transform: rotate(4deg) translateY(10px); }
.tag {
  position: absolute; z-index: 1; top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: rgba(0,0,0,.45);
}
.tag.lux { background: rgba(255,255,255,.14); color: #fff; }
.cap {
  position: absolute; z-index: 1; left: 6px; right: 6px; bottom: 24%; text-align: center;
  font-weight: 800; font-size: 10px; line-height: 1.15;
  text-shadow: 0 0 2px #000, 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000;
}
.cap b { background: #E2643C; color: #fff; padding: 0 4px; border-radius: 3px; text-shadow: none; }
.cap.serif { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 11px; text-shadow: 0 2px 6px rgba(0,0,0,.8); }
.cap.serif b { background: none; color: #fff; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.cap.big { font-family: "Anton", sans-serif; font-weight: 400; font-size: 17px; bottom: 38%; }
.cap.big b { background: #E2643C; color: #fff; }
.showcase-line { font-weight: 600; letter-spacing: -0.03em; font-size: 20px; text-align: center; justify-self: center; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; max-width: 20ch; }

.auth-panel { display: grid; place-items: start center; padding: var(--s5) var(--s4) var(--s7); }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { margin-bottom: 0; }
.auth-box .stack { margin-top: var(--s5); }
.sent-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--saffron); color: var(--on-saffron); margin-bottom: var(--s4); }
.auth-box a { color: var(--ink); font-weight: 600; }
.auth-box .btn { margin-top: var(--s5); }

@media (min-width: 900px) {
  .auth-grid { grid-template-columns: 1.1fr 1fr; }
  .showcase { padding: var(--s6) var(--s7); align-content: space-between; }
  .reels { padding: var(--s6) 0; gap: 18px; }
  .reel { width: 170px; max-width: none; border-radius: 20px; }
  .tag { font-size: 12px; top: 14px; padding: 3px 8px; }
  .cap { font-size: 16px; }
  .cap.serif { font-size: 18px; }
  .cap.big { font-size: 30px; }
  .showcase-line { font-size: 34px; text-align: left; justify-self: start; max-width: 18ch; }
  .showcase .logo { justify-self: start; }
  .auth-panel { place-items: center; padding: var(--s7); }
}

/* ---------- Status pills ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-ready { background: color-mix(in srgb, var(--mint) 14%, var(--surface)); color: var(--mint); }
.st-processing { background: var(--accent-tint); color: var(--accent-ink); }
.st-processing::before { animation: pulse 1.2s ease-in-out infinite; }
.st-failed { background: color-mix(in srgb, var(--coral) 12%, var(--surface)); color: var(--coral); }
.st-draft { background: var(--surface-2); color: var(--muted); }
.st-approved { background: var(--mint); color: #fff; }
@keyframes pulse { 50% { opacity: .3; } }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--ink) 12%, transparent); border-top-color: var(--ink); animation: spin .8s linear infinite; display: inline-block; }
.spinner.big { width: 40px; height: 40px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Video grid ---------- */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* min-width: 0 lets long titles shrink (and show "…") instead of stretching the card off the screen */
.vcard { text-decoration: none; display: grid; gap: var(--s2); border-radius: var(--r-md); min-width: 0; }
.vcard > * { min-width: 0; }
.vthumb { aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; border: 1px solid var(--line); transition: transform .15s ease-out; }
.vcard:hover .vthumb { transform: translateY(-2px); }
.vthumb video { width: 100%; height: 100%; object-fit: cover; }
.vthumb-state { font-size: 28px; font-weight: 800; color: var(--coral); }
.vtitle { font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }

/* ---------- New video ---------- */
.new-grid { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .new-grid { grid-template-columns: 1fr 1fr; align-items: start; } .submit-bar { grid-column: 1 / -1; } }
.drop {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: var(--s6) var(--s4); cursor: pointer;
  border: 2px dashed var(--line); border-radius: var(--r-md); background: var(--bg); text-align: center;
  transition: border-color .15s ease-out, background-color .15s ease-out;
}
.drop:hover { border-color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.drop-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--saffron); color: var(--on-saffron); margin-bottom: 6px; }
.drop-title { font-weight: 700; }
.drop-sub { color: var(--muted); font-size: 14px; }
.drop.is-full { display: none; }
.cliplist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.clip { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.clip-thumb { width: 48px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.clip-info { min-width: 0; }
.clip-name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip-tools { display: flex; gap: 4px; }
.tool { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.tool:hover:not(:disabled) { background: var(--surface-2); }
.tool:disabled { opacity: .35; cursor: default; }
.submit-bar {
  position: static; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap;
  padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(20, 16, 40, .08);
}
@media (min-width: 1024px) { .submit-bar { position: sticky; z-index: 10; bottom: var(--s4); } }
.clip-count { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0; }
.clip-count:empty { display: none; }
.field-error.is-info { color: var(--muted); font-weight: 500; }
.upload-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--s4); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(6px); }
.upload-overlay[hidden] { display: none; }
.upload-box { width: 100%; max-width: 380px; display: grid; gap: var(--s3); justify-items: center; text-align: center; padding: var(--s6) var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.upload-box .meter { width: 100%; }
.upload-box .meter span { transition: width .3s ease-out; }
.notice-box { padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink); display: grid; gap: var(--s2); justify-items: start; max-width: 640px; }
.notice-box p { color: var(--muted); }

/* ---------- Video page ---------- */
.crumb { font-size: 14px; margin-bottom: 6px; }
.crumb a { color: var(--muted); font-weight: 600; text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.video-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .video-grid { grid-template-columns: 340px 1fr; align-items: start; } }
.player-wrap { justify-self: center; width: 100%; max-width: 340px; }
.player { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-lg); background: #000; box-shadow: 0 18px 40px rgba(14, 12, 24, .25); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.copy-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4) var(--s5); }
.copy-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.copy-head h2 { margin: 0; }
.copy-text { white-space: pre-line; color: var(--ink); margin-top: var(--s2); }
.btn-ghost { text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.btn-ghost:hover { background: var(--surface-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-weight: 700; }
.facts dd.cap1::first-letter { text-transform: uppercase; }
.making { display: grid; gap: var(--s5); align-items: center; grid-column: 1 / -1; max-width: 640px; }
@media (min-width: 640px) { .making { grid-template-columns: 160px 1fr; } }
.making-frame { width: 160px; aspect-ratio: 9 / 16; border-radius: var(--r-lg); background: var(--surface-2); display: grid; place-items: center; justify-self: center; }

/* ---------- Settings (brand page) ---------- */
.settings { display: grid; gap: var(--s4); }
.setting-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); display: grid; gap: var(--s4); }
.setting-head h2 { font-size: 17px; margin: 0 0 2px; }
.setting-head .muted { font-size: 14px; }
.req-text { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: var(--r-md); background: var(--surface-2); }
.segmented label { margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; gap: 1px; padding: 12px 14px; border-radius: 12px; transition: background-color .2s ease-out, box-shadow .2s ease-out; }
.segmented strong { font-weight: 600; font-size: 15px; }
.segmented small { font-size: 13px; color: var(--muted); font-weight: 400; }
.segmented input:checked + span { background: var(--surface); box-shadow: 0 1px 3px rgba(20, 20, 19, .10), inset 0 0 0 1.5px var(--saffron); }
.segmented input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.style-sample { display: grid; place-items: center; height: 58px; border-radius: 10px; margin-bottom: 6px; padding: 0 8px; text-align: center;
  background: radial-gradient(120% 90% at 50% 10%, #3A3A3F 0%, #222225 55%, #1B1B1D 100%); overflow: hidden; }
.smp { color: #fff; font-size: 13px; line-height: 1.1; font-weight: 700; }
.smp b { font-weight: inherit; }
.smp-auto { font-weight: 500; color: rgba(255,255,255,.8); }
.smp-fresh { text-transform: uppercase; text-shadow: 0 0 2px #000, 0 1px 0 #000; } .smp-fresh b { color: #FFC83D; }
.smp-lux { font-family: "DM Serif Display", var(--serif), serif; font-weight: 400; font-size: 15px; } .smp-lux b { color: #E8C77A; font-weight: 400; }
.smp-cozy { color: #FFF3D6; font-weight: 600; } .smp-cozy b { color: #F2A65A; }
.smp-energy { font-family: "Anton", sans-serif; font-weight: 400; font-size: 18px; letter-spacing: .02em; } .smp-energy b { color: #FFE500; font-weight: 400; }
.smp-clean i { font-style: normal; font-weight: 600; font-size: 12px; background: rgba(0,0,0,.65); padding: 3px 7px; border-radius: 5px; } .smp-clean b { color: #7CC4FF; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row[hidden] { display: none; }
.chip-btn { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s ease-out, background-color .2s ease-out; }
.chip-btn:hover { border-color: var(--saffron); background: var(--accent-tint); }

.colour-field { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 5px 12px 5px 5px; background: var(--surface); }
.colour-field input[type="color"] { width: 44px; height: 38px; border: 0; padding: 0; border-radius: 8px; background: none; }
.colour-hex { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; color: var(--muted); }

.save-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.save-row .btn { margin: 0; }
#save-note.is-dirty { color: var(--accent-text); font-weight: 600; }
@media (min-width: 1024px) { .save-row { position: sticky; bottom: var(--s4); z-index: 5; box-shadow: 0 8px 24px rgba(20, 20, 19, .06); } }

/* Never let a page scroll sideways on phones */
html, body { max-width: 100%; overflow-x: clip; }

/* Filming guide */
.shot-guide { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); background: var(--surface-2); display: grid; gap: var(--s2); }
.shot-guide[hidden] { display: none; }
.shot-guide-title { margin: 0; font-weight: 600; }
.shot-list { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 15px; }
.smp-cine { font-family: "DM Serif Display", var(--serif), serif; font-weight: 400; font-size: 15px; letter-spacing: .02em; color: #f4efe6; }
.smp-show { font-family: "Anton", sans-serif; font-weight: 400; font-size: 22px; display: grid; line-height: 1; text-align: center; }
.smp-show small { font-family: "Poppins", sans-serif; font-size: 9px; letter-spacing: .12em; font-weight: 700; }

/* Logo upload */
.logo-row { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.logo-preview { width: 160px; height: 96px; border-radius: var(--r-md); border: 1px dashed var(--line); display: grid; place-items: center; overflow: hidden;
  background: repeating-conic-gradient(var(--surface-2) 0% 25%, var(--surface) 0% 50%) 50% / 16px 16px; }
.logo-preview img { max-width: 92%; max-height: 80%; object-fit: contain; }
.logo-actions { display: grid; gap: var(--s2); justify-items: start; }
.logo-pick { position: relative; overflow: hidden; margin: 0; }
.logo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Welcome: choose account type */
.choose { display: grid; gap: var(--s4); max-width: 820px; }
@media (min-width: 760px) { .choose { grid-template-columns: 1fr 1fr; } }
.choice {
  display: grid; gap: var(--s2); align-content: start; text-align: left; cursor: pointer;
  padding: var(--s6) var(--s5); border-radius: var(--r-lg); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit;
  transition: border-color .2s ease-out, transform .15s ease-out;
}
.choice:hover { border-color: var(--saffron); transform: translateY(-2px); }
.choice-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.choice-text { color: var(--muted); }
.choice-go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); font-weight: 600; color: var(--accent-text); }

/* ---------- Billing ---------- */
.billing-current { margin-bottom: var(--s6); }
.billing-row { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); flex-wrap: wrap; }
.billing-row .btn { margin: 0; }
.billing-plan { font-size: 28px; letter-spacing: -0.03em; margin: 2px 0 4px; }
.billing-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
.billing-head h2 { margin: 0; }
.segmented.small { width: min(100%, 320px); }
.segmented.small span { padding: 8px 12px; }
.plan-cards { display: grid; gap: var(--s4); margin-bottom: var(--s3); }
@media (min-width: 900px) { .plan-cards { grid-template-columns: repeat(3, 1fr); } }
.plan-card { display: flex; flex-direction: column; gap: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
.plan-card.featured { border-color: var(--saffron); }
.plan-card.current { background: var(--surface-2); }
.plan-card .plan-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.plan-card h3 { margin: 0; font-size: 18px; font-weight: 600; }
.switch-form { margin: 0; }
.plan-card .plan-tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); }
.plan-price { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan-price small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-billed { font-size: 14px; color: var(--muted); margin-top: -6px; }
.plan-quota { font-weight: 600; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-card li { display: flex; gap: 10px; font-size: 15px; }
.plan-card li .icon { color: var(--saffron); margin-top: 3px; }
.plan-card .btn { width: 100%; margin: 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Affiliate hub ---------- */
.seg-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--r-md); width: fit-content; margin-bottom: var(--s5); }
.seg-tabs a { padding: 8px 16px; border-radius: 12px; text-decoration: none; font-weight: 500; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.seg-tabs a.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 20, 19, .1); }
.prog-grid { display: grid; gap: var(--s4); margin: var(--s4) 0; }
@media (min-width: 760px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .prog-grid { grid-template-columns: repeat(3, 1fr); } }
.prog-card { display: flex; flex-direction: column; gap: var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
.prog-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.prog-card p { margin: 0; font-size: 15px; }
.prog-top { display: flex; justify-content: space-between; gap: var(--s2); align-items: flex-start; }
.prog-meta { font-size: 14px !important; }
.prog-how summary { cursor: pointer; font-weight: 500; font-size: 14px; color: var(--accent-text); }
.prog-how p { margin-top: 6px !important; color: var(--muted); }
.prog-card .btn { margin-top: auto; width: fit-content; }
.pill-soft { background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.link-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); }
.link-row { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); }
.link-main { display: grid; gap: 4px; min-width: 0; }
.link-main .v-name { margin: 0; font-weight: 600; }
.link-main .muted { margin: 0; font-size: 14px; }
.link-copy { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.link-copy code { font-size: 14px; background: var(--surface-2); padding: 4px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.link-actions { display: flex; gap: var(--s2); align-items: center; }
.link-actions .btn { margin: 0; }

/* ---------- Social posting ---------- */
.social-list { list-style: none; margin: 0; padding: 0; display: grid; }
.social-row { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.social-row:last-child { border-bottom: 0; }
.social-name { font-weight: 600; min-width: 100px; }
.social-state { flex: 1; color: var(--muted); font-size: 15px; }
.social-state.on { color: var(--mint); font-weight: 500; }
.social-state.warn { color: var(--coral); font-weight: 500; }
.post-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); background: var(--surface); display: grid; gap: var(--s3); }
.post-box h2 { margin: 0; font-size: 17px; }
details.post-box > summary { list-style: none; width: fit-content; }
details.post-box > summary::-webkit-details-marker { display: none; }
details.post-box[open] > summary { margin-bottom: var(--s2); }
.post-form .post-at { margin-top: var(--s2); }
.post-form .post-at[hidden] { display: none; }
.check-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer; margin: 0; }
.check-chip:has(input:checked) { border-color: var(--saffron); background: var(--accent-tint); }
.check-chip input { accent-color: var(--saffron); width: 18px; height: 18px; margin: 0; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.post-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r-sm); }
.post-row .v-name { margin: 0; font-weight: 600; }
.post-row .muted { margin: 0; font-size: 14px; }

/* Voice recording upload */
.rec-box { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s2); padding: var(--s3) var(--s4); border: 1.5px dashed var(--line); border-radius: var(--r-md); background: var(--bg); }
.rec-box[hidden] { display: none; }
.rec-box.has-file { border-style: solid; border-color: var(--saffron); background: var(--accent-tint); }
.rec-pick { position: relative; flex: 1; display: grid; gap: 2px; cursor: pointer; margin: 0; }
.rec-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rec-title { font-weight: 600; font-size: 15px; }
.rec-sub { font-size: 14px; color: var(--muted); font-weight: 400; }
.rec-box:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Checkbox row */
.check[hidden] { display: none; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer; margin: 0; }
.check input { width: 20px; height: 20px; accent-color: var(--saffron); margin: 0; }

/* ---------- Review: changes and versions ---------- */
.change-box { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.change-box summary { list-style: none; display: flex; align-items: center; min-height: 48px; margin: 0; padding: 0 var(--s4); border: 0; border-radius: var(--r-md); }
.change-box summary::-webkit-details-marker { display: none; }
.change-box summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); }
.change-box[open] summary::after { content: "−"; }
.change-box[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) 0 0; }
.change-form { padding: var(--s4); }
.versions h2 { margin-bottom: var(--s3); }
.version-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.version-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.version-list li.is-current { border-color: var(--saffron); }
.v-name { font-weight: 700; }

/* ---------- Admin dashboard ---------- */
.stats-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats-4 { grid-template-columns: repeat(4, 1fr); } }
.asection { margin-bottom: var(--s6); }
.asection > h2 { display: flex; align-items: center; gap: 8px; }
.count { color: var(--accent-ink) !important; background: var(--accent-tint) !important; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 700; }
.all-good { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 600; }
.alist { display: grid; gap: var(--s2); margin-top: var(--s3); }
.arow {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); align-items: center; padding: var(--s3); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .15s ease-out;
}
.arow:hover { border-color: var(--ink); }
.arow-thumb { width: 44px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.arow-thumb video { width: 100%; height: 100%; object-fit: cover; }
.arow-main { min-width: 0; }
.arow-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arow-note { font-size: 14px; margin-top: 4px; }
.arow-note.err { color: var(--coral); }
.arow-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (min-width: 720px) {
  .arow { grid-template-columns: 44px 1fr auto; }
  .arow-side { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 4px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip.is-active { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); }
.chip { font-weight: 500; }
.strong-link { font-weight: 700; text-decoration: none; }
.strong-link:hover { text-decoration: underline; }
.cust-grid { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
@media (min-width: 900px) { .cust-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.kv { display: grid; gap: var(--s3); margin: var(--s3) 0 0; }
.kv div { display: flex; justify-content: space-between; gap: var(--s3); border-bottom: 1px solid var(--line); padding-bottom: var(--s2); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; display: flex; gap: 6px; }
.swatch { display: inline-block; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); }
.admin-box { margin-top: var(--s6); max-width: 720px; border-left: 3px solid var(--ink); }
.script-box summary { cursor: pointer; font-weight: 700; }
.script-box p { margin-top: var(--s2); color: var(--muted); white-space: pre-line; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Live Studio (real stages + real details; website colours) ---------- */
.vgp-root { grid-column: 1 / -1; }
.vgp.ls { display: grid; gap: 22px; align-items: start; max-width: 940px; margin: 0 auto; color: var(--ink); }
@media (min-width: 820px) { .vgp.ls { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; } .ls-side { padding-top: 6px; } }
.vgp.vgp-in .vgp-title, .vgp.vgp-in .vgp-sub, .vgp.vgp-in .ls-screen > * { animation: lsIn .45s ease both; }
@keyframes lsIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.vgp-head { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--accent-text); }
.vgp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 0 rgba(226, 100, 60, .6); animation: lsGlow 1.8s ease-out infinite; }
@keyframes lsGlow { 70% { box-shadow: 0 0 0 9px rgba(226, 100, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 100, 60, 0); } }
.vgp-title { margin: 10px 0 4px; font-size: 1.4rem; line-height: 1.25; }
.vgp-sub { margin: 0; color: var(--muted); max-width: 46ch; }
.vgp-bar { position: relative; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--line); overflow: hidden; }
.vgp-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: var(--saffron); transition: width .5s ease; }
.vgp-bar.vgp-indet .vgp-fill { width: 35%; animation: lsSlide 1.6s ease-in-out infinite; }
@keyframes lsSlide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.vgp-count { min-height: 1.2em; margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.vgp-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.vgp-steps li { font-size: .74rem; color: var(--muted); }
.vgp-steps li span { display: block; height: 4px; margin-bottom: 7px; border-radius: 4px; background: var(--line); }
.vgp-steps li.done { color: var(--ink); } .vgp-steps li.done span { background: var(--muted); }
.vgp-steps li.active { color: var(--ink); font-weight: 600; } .vgp-steps li.active span { background: var(--saffron); }
.vgp-note { margin: 18px 0 0; font-size: .82rem; color: var(--muted); }

/* the phone stage: the website's device frame */
.ls-phone { position: relative; width: min(340px, 82vw); aspect-ratio: 9 / 16; margin: 0 auto; padding: 9px; border-radius: 36px; background: #1B1B1D;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 28px 56px -24px rgba(20, 20, 19, .45); }
.ls-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 28px; background: #232326; color: #F2F2F0; }
.ls-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #2B2A27, #1F1F22); }
.ls-simple { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #A3A29D; font-size: .85rem; }
.ls-pulse { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #E2643C; animation: lsPulse 1.6s ease-in-out infinite; }
@keyframes lsPulse { 50% { transform: scale(.82); opacity: .5; } }

/* 1 footage */
.ls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 16px 12px; }
.ls-clip { margin: 0; }
.ls-img { position: relative; aspect-ratio: 5 / 4; border-radius: 13px; overflow: hidden; background: #000; }
.ls-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85) brightness(.85); transition: filter .4s; }
.ls-clip.seen .ls-img img, .ls-clip.scanning .ls-img img { filter: none; }
.ls-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 12px 2px rgba(255,255,255,.5); opacity: 0; }
.ls-clip.scanning .ls-scan { opacity: 1; animation: lsScan 1.2s ease-in-out infinite alternate; }
@keyframes lsScan { from { top: 4%; } to { top: 94%; } }
.ls-cap { display: flex; gap: 5px; min-height: 2.5em; margin-top: 5px; font-size: .66rem; line-height: 1.28; color: #A3A29D; opacity: 0; transition: opacity .35s; }
.ls-cap svg { flex: none; margin-top: 1px; color: #6BCB97; }
.ls-clip.seen .ls-cap { opacity: 1; }
.ls-note { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 3px 7px; border-radius: 8px; font-size: .6rem; background: rgba(20,20,19,.78); color: #F6B39C; }
.ls-dim .ls-img img { filter: grayscale(.4) brightness(.6); }
.ls-more, .ls-queue { margin: 0 12px; font-size: .72rem; color: #A3A29D; text-align: center; }
.ls-queue { position: absolute; left: 0; right: 0; bottom: 18px; font-weight: 600; color: #F2F2F0; }

/* 2 story */
.ls-story { display: flex; flex-direction: column; gap: 9px; padding: 18px 12px; }
.ls-board { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 13px; background: rgba(255,255,255,.06); opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.ls-board.in, .ls-board.ls-skel { opacity: 1; transform: none; }
.ls-board img, .ls-board .ls-noimg { width: 50px; height: 50px; flex: none; border-radius: 10px; object-fit: cover; }
.ls-board p { margin: 0; font-size: .74rem; line-height: 1.35; }
.ls-n { display: block; font-size: .6rem; color: #A3A29D; }
.ls-skel p { flex: 1; } .ls-skel i { display: block; height: 8px; margin: 6px 0; border-radius: 4px; background: rgba(255,255,255,.1); animation: lsPulse 1.6s ease-in-out infinite; }
.ls-skel i + i { width: 60%; }

/* 3 editing (editing, rendering and quality fill the whole screen: their parts are positioned inside it) */
.ls-edit, .ls-frame, .ls-simple { position: absolute; inset: 0; }
.ls-edit .ls-pv { position: absolute; inset: 0 0 20% 0; overflow: hidden; }
.ls-pv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-kb { animation: lsKb 4s ease-out both; }
@keyframes lsKb { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.ls-deck { position: absolute; left: 0; right: 0; bottom: 0; height: 31%; padding: 10px 12px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; background: linear-gradient(180deg, rgba(35,35,38,0), #232326 42%); }
.ls-track { display: grid; gap: 3px; height: 32px; }
.ls-track i { overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.08); }
.ls-track i img, .ls-track i .ls-noimg { width: 100%; height: 100%; object-fit: cover; }
.ls-track i.fill { animation: lsSlot .35s cubic-bezier(.2,.9,.3,1) both; }
@keyframes lsSlot { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.ls-wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.ls-wave i { flex: 1; height: 30%; border-radius: 2px; background: #E2643C; opacity: .75; animation: lsWave .8s ease-in-out infinite alternate; }
@keyframes lsWave { to { height: 100%; } }

/* 4 rendering + 5 quality */
.ls-frame .ls-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ls-scrim { position: absolute; inset: 0 0 50% 0; background: linear-gradient(180deg, rgba(6,6,10,.6), transparent); }
.ls-ttl { position: absolute; left: 14px; right: 14px; top: 11%; text-align: center; color: #fff; animation: lsTitle .7s ease both .2s; }
@keyframes lsTitle { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.ls-eb { display: block; margin-bottom: 7px; font-size: .58rem; font-weight: 600; letter-spacing: .22em; color: #F6B39C; }
.ls-h { display: block; font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.ls-shimmer { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.18); }
.ls-shimmer i { position: absolute; inset: 0 auto 0 0; width: 35%; background: linear-gradient(90deg, transparent, #E2643C, transparent); animation: lsSlide 1.4s ease-in-out infinite; }
.ls-qc .ls-bg { filter: brightness(.4) saturate(.8); }
.ls-checks { position: absolute; left: 16px; right: 16px; bottom: 22px; display: grid; gap: 8px; }
.ls-checks > div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: .76rem; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.ls-checks > div.show { opacity: 1; transform: none; }
.ls-tick { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); color: transparent; }
.ls-checks > div.pass .ls-tick { background: #2F6B4F; border-color: #2F6B4F; color: #fff; }
.ls-improve { margin: 4px 0 0; font-size: .72rem; color: #F6B39C; text-align: center; }

@media (max-width: 480px) { .vgp-title { font-size: 1.25rem; } .vgp-steps { font-size: .66rem; } }
@media (prefers-reduced-motion: reduce) {
  .vgp *, .vgp { animation: none !important; transition: none !important; }
  .vgp-bar.vgp-indet .vgp-fill { width: 100%; opacity: .5; }
  .ls-clip .ls-cap, .ls-board, .ls-checks > div { opacity: 1; transform: none; }
}
#making-fallback[hidden] { display: none; }   /* the fallback view hides once real progress is shown */

/* ---------- Voice picker: compact row + sheet ---------- */
.voice-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.voice-row[hidden] { display: none; }
.vr-text { flex: 1; min-width: 0; display: grid; }
.vr-label { font-size: .72rem; color: var(--muted); }
.vr-text strong { font-size: .95rem; }
.vr-text small { font-size: .78rem; color: var(--muted); }
.vr-change { flex: none; }
.vp-play { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.vp-play:hover { border-color: var(--saffron); color: var(--accent-text); }
.vp-play[hidden] { display: none; }
.vp-play.is-playing { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); animation: vpPulse 1.2s ease-in-out infinite; }
@keyframes vpPulse { 50% { box-shadow: 0 0 0 6px rgba(226, 100, 60, .15); } }
.voice-sheet { width: min(460px, calc(100vw - 24px)); max-height: min(78vh, 640px); padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.voice-sheet::backdrop { background: rgba(20, 20, 19, .45); }
.vs-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; }
.vs-head h2 { margin: 0; font-size: 1.1rem; }
.vs-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.vs-body { overflow-y: auto; max-height: calc(min(78vh, 640px) - 60px); padding: 4px 12px 16px; }
.vs-group { margin: 14px 6px 6px; font-size: .74rem; font-weight: 600; color: var(--muted); }
.vs-row { display: flex; align-items: center; gap: 8px; }
.vs-item { flex: 1; display: flex; align-items: center; text-align: left; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
.vs-item span { display: grid; }
.vs-item strong { font-size: .92rem; }
.vs-item small { font-size: .76rem; color: var(--muted); }
.vs-item:hover { background: var(--surface-2); }
.vs-item[aria-pressed="true"] { border-color: var(--saffron); background: var(--accent-tint); }
.vs-auto { width: 100%; margin-top: 4px; }
@media (max-width: 600px) {
  .voice-sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .voice-sheet[open] { animation: vsUp .25s ease-out; }
  @keyframes vsUp { from { transform: translateY(100%); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .vp-play.is-playing, .voice-sheet[open] { animation: none; } }

/* ---------- Share link (owner box + public page) ---------- */
.share-url { word-break: break-all; font-size: .85rem; }
.share-body { background: var(--bg); min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.share-page { width: min(420px, 100%); display: grid; gap: 14px; text-align: center; }
.share-brand { font-weight: 600; font-size: .95rem; color: var(--muted); margin: 0; }
.share-video { width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #111; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.share-title { font-size: 1.05rem; font-weight: 600; margin: 0; }
.share-cta { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.share-cta p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Admin funnel ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stat-n { font-size: 1.5rem; font-weight: 700; }
.stat-l { font-size: .8rem; color: var(--muted); }
.funnel-table td.funnel-low, .funnel-table .funnel-low { color: #b3261e; font-weight: 600; }

/* ---------- Brand page: industry only for business accounts ---------- */
form[data-type="creator"] .biz-only { display: none; }

/* ---------- Upload: per-clip checklist, iPhone tip ---------- */
.ov-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; max-height: 40vh; overflow-y: auto; text-align: left; }
.ov-item { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); }
.ov-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-state { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.ov-item.is-active .ov-state { color: var(--accent-text); font-weight: 600; }
.ov-item.is-done .ov-state { color: #3f7a55; font-weight: 600; }
.ov-item.is-done .ov-state::before { content: '✓ '; }
.ios-tip[hidden] { display: none; }

/* 2j: logout is a POST form; make its button look exactly like the old link */
.logout-form { margin: 0; }
.logout-form button.side-link { width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.logout-form button.icon-btn { background: none; border: 0; cursor: pointer; }

/* ---------- AI Growth Team (portal 2k, early access) ---------- */
.gt-hero { margin-bottom: var(--s6); max-width: 720px; }
.gt-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent-tint); padding: 3px 10px; border-radius: 999px; margin: 0 0 var(--s3); }
.gt-hero h1 { margin: 0 0 var(--s2); }
.gt-lede { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0; }
.gt-ask { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.gt-ask-label { font-weight: 600; font-size: 18px; }
.gt-ask textarea { width: 100%; box-sizing: border-box; }
.gt-ask-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.gt-examples .chip-btn { text-align: left; white-space: normal; }
.gt-section { margin-bottom: var(--s6); }
.gt-section h2 { margin: 0 0 var(--s4); }
.gt-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); max-width: 980px; }
.gt-card { position: relative; display: grid; gap: var(--s1); padding: var(--s5); padding-right: calc(var(--s5) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.gt-card:hover { border-color: var(--saffron); transform: translateY(-1px); }
.gt-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.gt-card-title { font-weight: 600; font-size: 17px; }
.gt-card-text { color: var(--muted); font-size: 15px; line-height: 1.45; }
.gt-card-go { position: absolute; top: var(--s5); right: var(--s4); color: var(--accent-text); }
.gt-list { display: grid; gap: var(--s2); }
.gt-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.gt-row:hover { border-color: var(--saffron); }
.gt-row-main { display: grid; gap: 2px; min-width: 0; }
.gt-row-title { font-weight: 600; overflow-wrap: anywhere; }
.gt-row-sub, .gt-row-prog { color: var(--muted); font-size: 14px; }
.gt-row-side { display: grid; justify-items: end; gap: 4px; flex-shrink: 0; }
.meter.gt-mini { width: 96px; height: 6px; }
.gt-fine { max-width: 720px; }
.gt-teaser { display: grid; gap: 2px; padding: var(--s4) var(--s5); margin-bottom: var(--s5); border-radius: var(--r-md); background: var(--accent-tint); color: var(--accent-ink); text-decoration: none; border: 1px solid transparent; }
.gt-teaser:hover { border-color: var(--saffron); }
.gt-teaser .muted { color: var(--accent-ink); opacity: .8; }
.gt-form { max-width: 760px; }
.gt-form textarea, .gt-form select { width: 100%; box-sizing: border-box; }
.gt-progress { margin-bottom: var(--s4); display: grid; gap: var(--s2); max-width: 820px; }
.gt-report { display: grid; gap: var(--s4); max-width: 820px; }
.gt-sec h2 { margin: 0 0 var(--s3); font-size: 19px; }
.gt-sec p { margin: 0 0 var(--s2); line-height: 1.55; }
.gt-key { border-left: 3px solid var(--saffron); }
.gt-stage { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: var(--s4) 0 var(--s2); }
.gt-actions { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.gt-action { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.gt-action form { margin: 0; }
.gt-tick { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: var(--surface); color: var(--on-saffron); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.gt-action.is-done .gt-tick { background: var(--mint); border-color: var(--mint); }
.gt-action-text { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.gt-action.is-done .gt-action-text { color: var(--muted); text-decoration: line-through; }
.gt-how summary { cursor: pointer; font-weight: 600; }
@media (max-width: 600px) {
  .gt-row { flex-direction: column; align-items: stretch; }
  .gt-row-side { justify-items: start; }
  .gt-lede { font-size: 16px; }
}

/* ---------- Growth Team: simplified layout (v33) ---------- */
.gt-hero { margin-bottom: var(--s5); }
.gt-hero h1 { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.gt-badge { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-tint); padding: 3px 10px; border-radius: 999px; letter-spacing: .01em; }
.gt-lede { font-size: 18px; }
.gt-ask { margin-bottom: var(--s5); }
.gt-ask-label { font-size: 17px; }
.gt-h2 { font-size: 17px; margin: 0 0 var(--s3); }
.gt-tiles { display: grid; gap: var(--s3); grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
.gt-tile { display: grid; gap: 6px; align-content: start; padding: var(--s4); min-height: 112px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.gt-tile:hover { border-color: var(--saffron); transform: translateY(-1px); }
.gt-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.gt-tile-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-ink); }
.gt-tile-title { font-weight: 600; font-size: 16px; line-height: 1.25; }
.gt-tile-text { color: var(--muted); font-size: 14px; }
.gt-teaser { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.gt-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.gt-plan-head h1 { font-size: 24px; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.gt-plan-head .pill { flex-shrink: 0; margin-top: 4px; }
.gt-wait { display: flex; gap: var(--s4); align-items: center; max-width: 640px; }
.gt-wait h2 { margin: 0 0 4px; font-size: 18px; }
.gt-wait p { margin: 0; }
.gt-key h2 { color: var(--accent-text); }
.gt-key p { font-size: 17px; }
.gt-steps-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s2); }
.gt-steps-head h2 { margin: 0; }
.gt-count { font-weight: 600; color: var(--muted); }
.gt-stage { font-size: 13px; }
.gt-actions { gap: var(--s3); }
.gt-action { min-height: 44px; }
.gt-tick { width: 32px; height: 32px; border-radius: 10px; position: relative; }
.gt-tick::after { content: ""; position: absolute; inset: -6px; }          /* 44px touch target */
.gt-action-text { font-size: 16px; }
.gt-make { display: inline-flex; align-items: center; gap: 6px; }
.gt-more summary, .gt-details summary { cursor: pointer; font-weight: 600; padding: 2px 0; }
.gt-more h3 { font-size: 15px; margin: var(--s4) 0 var(--s1); }
.gt-details { display: grid; gap: var(--s2); }
.gt-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@media (max-width: 600px) {
  .gt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gt-tile { min-height: 96px; padding: var(--s3) var(--s4); }
  .gt-tile-text { display: none; }
  .gt-lede { font-size: 17px; }
  .gt-plan-head h1 { font-size: 21px; }
  .gt-make { margin-left: 44px; }
  .gt-row { flex-direction: row; align-items: center; }
  .gt-row-side { justify-items: end; }
}
.gt-ask, .gt-hero { max-width: 820px; }
