/* Text Repeater — site styles. Tokens first; light + dark (system or manual via data-theme). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --paper: #f3f1ff; --surface: #ffffff; --surface-2: #eae7ff; --ink: #14124a; --ink-soft: #4a4780;
  --line: #cfcaf5; --accent: #4338f0; --accent-ink: #ffffff; --accent-soft: #e3e0ff;
  --pop: #ff4f8b; --pop-ink: #ffffff; --pop-btn: #c41d5a; --pop-btn-ink: #ffffff; --out-bg: #4338f0; --out-ink: #ffffff; --out-field: #2c23b8;
  --ok: #0f7a4d; --err: #b3123f; --shadow: 0 1px 0 rgba(20,18,74,.06), 0 8px 24px -12px rgba(20,18,74,.25);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: Charter, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif", serif;
  --ui: var(--display);
  --radius: 14px; --radius-sm: 9px; --maxw: 1180px; --gutter: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f0d2e; --surface: #181547; --surface-2: #211d5c; --ink: #ecebff; --ink-soft: #b4b1e6;
    --line: #34307f; --accent: #b9b4ff; --accent-ink: #14124a; --accent-soft: #2a2680;
    --pop: #ff7aa8; --pop-ink: #2a0716; --pop-btn: #ff7aa8; --pop-btn-ink: #2a0716; --out-bg: #2a2680; --out-ink: #f4f3ff; --out-field: #14113f;
    --ok: #5ee0a0; --err: #ff8aa8; --shadow: 0 1px 0 rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f0d2e; --surface: #181547; --surface-2: #211d5c; --ink: #ecebff; --ink-soft: #b4b1e6;
  --line: #34307f; --accent: #b9b4ff; --accent-ink: #14124a; --accent-soft: #2a2680;
  --pop: #ff7aa8; --pop-ink: #2a0716; --pop-btn: #ff7aa8; --pop-btn-ink: #2a0716; --out-bg: #2a2680; --out-ink: #f4f3ff; --out-field: #14113f;
  --ok: #5ee0a0; --err: #ff8aa8; --shadow: 0 1px 0 rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body);
  font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; font-family: var(--ui); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: -.04em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a { font-family: var(--ui); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--accent-soft); }
.nav-toggle, .theme-toggle { font-family: var(--ui); font-weight: 600; font-size: .9rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.theme-toggle:hover, .nav-toggle:hover { background: var(--accent-soft); }
.nav-toggle { display: none; margin-left: auto; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 14px; margin: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .theme-toggle { align-self: flex-start; margin-top: 6px; }
}

/* ---------- hero: the one memorable thing — a headline that repeats itself ---------- */
.hero { padding-block: clamp(18px, 3vw, 34px) clamp(14px, 2vw, 22px); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 5.5vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; color: var(--ink); }
.lede { max-width: 62ch; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); margin: 10px 0 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-family: var(--ui); font-weight: 600; font-size: .95rem; color: var(--ink); }
.hero-meta li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pop); margin-right: 8px; }
.page-hero { padding-block: clamp(24px, 4vw, 44px) 8px; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.035em; margin: 8px 0 0; }
.crumbs { font-family: var(--ui); font-size: .9rem; color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* ---------- workbench ---------- */
.workbench { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 28px; align-items: start; }
@media (min-width: 900px) { .workbench { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; } .output { position: sticky; top: 76px; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; box-shadow: var(--shadow); }
.step + .step { margin-top: 16px; }
.step-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.015em; margin: 0 0 12px; }
.step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .9rem; font-weight: 700; }
.hint { margin: -4px 0 12px; font-size: .95rem; color: var(--ink-soft); }
.field, .input {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s;
}
.field { resize: vertical; min-height: 120px; font-family: var(--ui); font-size: 1.15rem; line-height: 1.5; }
.field:focus, .input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.input { font-family: var(--ui); font-size: 1rem; }
.field-meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-family: var(--ui); font-size: .9rem; color: var(--ink-soft); }
.field-meta .spacer { flex: 1; }
.link { font-family: var(--ui); background: none; border: 0; padding: 4px 2px; font: inherit; font-family: var(--ui); font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.error { min-height: 1.2em; margin: 6px 0 0; font-family: var(--ui); font-size: .9rem; color: var(--err); }
.label { display: block; font-family: var(--ui); font-weight: 600; font-size: .95rem; margin: 16px 0 8px; }
.label:first-child { margin-top: 0; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.swatches::before { content: "Text color"; font-family: var(--ui); font-size: .9rem; font-weight: 600; margin-right: 4px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); background: var(--sw); cursor: pointer; padding: 0; }
.swatch-default { background: conic-gradient(var(--ink) 0 50%, var(--surface) 0 100%); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--accent); }

/* style picker */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.tab { flex: none; font-family: var(--ui); font-weight: 600; font-size: .9rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 6px; }
.style-card { text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; color: var(--ink); display: flex; flex-direction: column; gap: 4px; min-height: 84px; min-width: 0; }
.style-card:hover { border-color: var(--accent); }
.style-card[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent); }
.style-card-name { font-family: var(--ui); font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
.style-card-label { font-family: var(--ui); font-size: .8rem; color: var(--ink-soft); }
.selected-style { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--ui); font-size: .95rem; }

/* settings controls */
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); }
.stepper button { width: 44px; border: 0; background: var(--surface-2); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.stepper button:hover { background: var(--accent-soft); }
.stepper input { width: 110px; text-align: center; border: 0; border-inline: 1.5px solid var(--line); font: 600 1.1rem var(--ui); color: var(--ink); background: transparent; padding: 10px 6px; }
.stepper input:focus { outline: none; background: var(--accent-soft); }
.quick { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 10px; vertical-align: middle; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span, .quick button { display: inline-block; font-family: var(--ui); font-weight: 600; font-size: .92rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; background: var(--paper); color: var(--ink); }
.quick button { cursor: pointer; padding: 6px 12px; }
.quick button:hover { border-color: var(--accent); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--pop); outline-offset: 2px; }
.two { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.switches { display: grid; gap: 4px; margin-top: 8px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); font-family: var(--ui); font-weight: 600; cursor: pointer; }
.switch small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.switch input { appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(20px); background: var(--accent-ink); }
.switch input:focus-visible { outline: 3px solid var(--pop); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ui); font-weight: 700; font-size: 1rem; line-height: 1.1; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; }
.btn:hover:not(:disabled) { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.small { padding: 8px 15px; font-size: .9rem; border-width: 1.5px; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.pop { background: var(--pop-btn); border-color: var(--pop-btn); color: var(--pop-btn-ink); }
.btn.wide { width: 100%; padding: 16px; font-size: 1.1rem; margin-top: 16px; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* output panel */
.output { background: var(--out-bg); color: var(--out-ink); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.output h2 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: 0 0 12px; letter-spacing: -.015em; }
.result { width: 100%; min-height: 260px; max-height: 60vh; resize: vertical; font: 1.05rem/1.55 var(--ui); color: var(--out-ink); background: var(--out-field); border: 0; border-radius: var(--radius-sm); padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
body.has-color .output .result { background: #f6f5ff; }
.result-empty { margin: 10px 0 0; font-family: var(--ui); font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.stat { background: rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 8px 10px; font-family: var(--ui); }
.stat b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat span { font-size: .8rem; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.output .btn { background: var(--out-ink); border-color: var(--out-ink); color: var(--out-bg); }
.output .btn.ghost { background: transparent; color: var(--out-ink); }

/* app promo: nudges people to the Android app, where results can be saved */
.promo { display: flex; gap: 14px 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border: 1.5px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.promo p { margin: 0; flex: 1 1 320px; font-family: var(--ui); font-size: 1rem; line-height: 1.5; }
.promo strong { font-weight: 700; }
.output .promo-mini { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25); font-family: var(--ui); font-size: .92rem; line-height: 1.5; }
.output .promo-mini a { color: var(--out-ink); font-weight: 700; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); visibility: hidden; opacity: 0; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 11px 20px; font-family: var(--ui); font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 14px; z-index: 60; transition: transform .22s ease, opacity .22s, visibility .22s; max-width: calc(100vw - 24px); box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; }
.toast button { background: none; border: 0; color: var(--pop); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; }

/* ---------- content sections ---------- */
.section { padding: clamp(28px, 5vw, 52px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: 26px 0 6px; letter-spacing: -.015em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose strong { font-weight: 700; }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.feature-list li { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list b { font-family: var(--display); font-size: 1.05rem; display: block; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 14px 28px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 1.5rem; color: var(--accent); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; max-width: 70ch; }

/* style rows (style landing pages + gallery) */
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.mini .field { min-height: 0; height: 56px; resize: none; padding: 14px; }
.style-rows { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.style-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.style-row:last-child { border-bottom: 1px solid var(--line); }
.style-row-info { min-width: 0; }
.style-row-name { font-family: var(--ui); font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.style-row-out { margin: 2px 0 0; font-family: var(--ui); font-size: 1.3rem; line-height: 1.4; overflow-wrap: anywhere; }
.style-row-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 560px) { .style-row { flex-direction: column; align-items: stretch; } .style-row-actions .btn { flex: 1; } }
.group-title { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.025em; margin: 34px 0 0; }
.group-title:first-of-type { margin-top: 18px; }

/* link lists */
.link-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.link-rows a { display: grid; gap: 2px; padding: 14px 4px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.link-rows li:last-child a { border-bottom: 1px solid var(--line); }
.link-rows a:hover { background: var(--accent-soft); }
.link-rows b { font-family: var(--display); font-size: 1.1rem; color: var(--accent); }
.link-rows span { font-size: .95rem; color: var(--ink-soft); }
.cols { display: grid; gap: 0 36px; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } }

/* ads: space reserved so a late-loading ad never shifts the layout; empty slots collapse */
.ad { margin: 24px auto; max-width: 970px; min-height: 120px; text-align: center; position: relative; }
.ad::before { content: "Advertisement"; display: block; font-family: var(--ui); font-size: .7rem; color: var(--ink-soft); margin-bottom: 4px; letter-spacing: .04em; }
.ad ins.adsbygoogle { display: block; min-height: 90px; }
.ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-in-article { min-height: 250px; }

/* footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 32px 0 40px; font-family: var(--ui); font-size: .95rem; color: var(--ink-soft); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .95rem; color: var(--ink); margin: 0 0 8px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-soft); }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.notice { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-family: var(--ui); font-size: .95rem; }
.center-404 { text-align: center; padding: 60px 0; }
.btn-play { background: #fff; border-color: #fff; color: #14124a; gap: 10px; }
.btn-play:hover:not(:disabled) { filter: none; background: #f1efff; }
.promo .btn-play { border-color: var(--line); box-shadow: 0 1px 0 rgba(20,18,74,.08); }
.play-icon { flex: none; }
.promo-mini a, .footer-play { display: inline-flex; align-items: center; gap: 6px; vertical-align: bottom; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .ad, .toast { display: none; } }

.workbench > * { min-width: 0; }

/* QR code card: desktop only (a phone user taps the Play button instead) */
.qr-desktop { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .qr-desktop { display: block; } }
.qr-card { display: flex; align-items: center; gap: 28px; max-width: 760px; }
.qr { flex: none; width: 168px; height: 168px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.qr-card h2 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 8px; }
.qr-card p { margin: 0 0 10px; max-width: 52ch; }
.qr-link a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-weight: 700; }


.btn.whatsapp, .output .btn.whatsapp { background: #0b7a4b; border-color: #0b7a4b; color: #fff; }
/* reserve space for the parts the script fills in, so nothing shifts when it runs */
.swatches { min-height: 40px; } .tabs { min-height: 44px; } .styles { min-height: 190px; }
