/* wpi-gallery — see src/styles.ts for the contrast proof */
:root {
  color-scheme: light;
  --bg: #f3f5f9;
  --panel: #ffffff;
  --panel-2: #e9edf4;
  --line: #d3dae5;
  --text: #1f2530;
  --text-dim: #525d6a;
  --accent: #2657e6;
  --accent-press: #2c63f0;
  --accent-strong: #1e4fd6;
  --info-text: #1d4ed8;
  --info-tint: rgba(44, 99, 240, 0.1);
  --info-line: rgba(44, 99, 240, 0.35);
  --pro-text: #6e4a00;
  --pro-tint: rgba(138, 90, 0, 0.12);
  --pro-line: rgba(138, 90, 0, 0.4);
  --soon-text: #444f5a;
  --soon-tint: rgba(95, 106, 118, 0.12);
  --addon-text: #0f5c4a;
  --addon-tint: rgba(16, 122, 98, 0.12);
  --addon-line: rgba(16, 122, 98, 0.4);
  --focus-ring: rgba(44, 99, 240, 0.85);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08);
  --radius: 10px;
  --radius-lg: 14px;
  --ease: 120ms ease;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}
/* DARK is opt-in: only <html data-theme="dark"> (set by /theme.js from the
   visitor's own toggle) turns it on. The OS preference no longer flips the
   page; light is the default for every visitor (owner, 2026-10-01). */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c111b;
  --panel: #141c2b;
  --panel-2: #1c2638;
  --line: #2a3547;
  --text: #e6edf5;
  --text-dim: #94a3b8;
  --accent: #6aa1ff;
  --accent-press: #2c63f0;
  --accent-strong: #1e4fd6;
  --info-text: #8fb2ff;
  --info-tint: rgba(106, 161, 255, 0.16);
  --info-line: rgba(106, 161, 255, 0.45);
  --pro-text: #e8b04a;
  --pro-tint: rgba(217, 165, 20, 0.12);
  --pro-line: rgba(217, 165, 20, 0.45);
  --soon-text: #b5a48e;
  --soon-tint: rgba(133, 114, 88, 0.14);
  --addon-text: #5fd3b4;
  --addon-tint: rgba(45, 190, 150, 0.14);
  --addon-line: rgba(45, 190, 150, 0.45);
  --focus-ring: rgba(106, 161, 255, 0.8);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--font);
  min-height: 100vh;
}
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--panel); color: var(--text); padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow-md); z-index: 10; }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
/* A section that is ALSO a .wrap (wrap lead, wrap filter, wrap detail,
   wrap promise, wrap oops) sets only its top and bottom padding. They used
   the padding shorthand, which came later in the sheet and zeroed the
   wrap's side gutter: on a phone the heading, the search row and the detail
   page sat flush at x=0 with the Search button touching the right edge
   (mobile audit, 2026-10-05). Pinned in mobile.test.ts. */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* --------------------------------------------------------------- header */
.top { border-bottom: 1px solid var(--line); background: var(--panel); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand__logo { height: 32px; width: auto; display: block; }
.brand__sub { color: var(--text-dim); font-weight: 500; }
.top__nav { display: flex; gap: 6px; }
.top__nav a { color: var(--text-dim); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.top__nav a:hover { background: var(--panel-2); color: var(--text); }
/* the right side: the nav, then the light / dark toggle in the corner */
.top__end { display: flex; align-items: center; gap: 8px; }
/* The colour wordmark on the light bar, the official white one on the dark
   bar (its navy text disappears there); the sheet shows one by data-theme. */
html:not([data-theme="dark"]) .logo--dark, html[data-theme="dark"] .logo--light { display: none; }
/* A phone bar holds the logo, the nav link and the 44px toggle on one line
   only without the "Template gallery" label (the page's eyebrow names it). */
@media (max-width: 420px) { .brand__sub { display: none; } .top__nav a { white-space: nowrap; } }
/* theme toggle (@wpi/shared theme-toggle.tsx) */
.theme-toggle {
  display: none; flex: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}
html.theme-js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { background: var(--panel-2); }
.theme-toggle:focus-visible { border-radius: 999px; }
.theme-toggle svg { display: block; width: 22px; height: 22px; }
.theme-toggle .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: block; }
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }

/* ----------------------------------------------------------------- hero */
.lead { padding-top: 40px; padding-bottom: 8px; }
.lead h1 { font-size: clamp(28px, 4vw, 40px); max-width: 22ch; }
.lead p { color: var(--text-dim); max-width: 60ch; margin-top: 10px; font-size: 17px; }
/* The demo back office line: the sentence and its button wrap as one unit. */
.lead .lead__bo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: 72ch; margin-top: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; color: var(--accent); }

/* ---------------------------------------------------------------- search */
/* "Find a template" (owner: reps and merchants should be able to search).
   A plain GET form: works with no JS, and /search.js (card.js's pattern)
   filters the sections below live once it loads. */
.search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 6px 0; max-width: 560px; }
.search__field { flex: 1 1 260px; min-width: 200px; }
.search__label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
/* 16px, never less: iOS Safari zooms the whole page into any input whose
   text is smaller and leaves it zoomed after the keyboard closes. */
.search input[type='search'] {
  width: 100%; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font-size: 16px; font-family: var(--font);
}
.search input[type='search']:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
/* the button matches the 44px field, so the row reads as one control */
.search .btn { min-height: 44px; }
.search__count { color: var(--text-dim); font-size: 14px; padding: 6px 0 0; }

/* --------------------------------------------------------------- filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; padding-bottom: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 600; transition: background var(--ease), border-color var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip[aria-current='true'] { background: var(--accent-press); border-color: var(--accent-press); color: #fff; }
.chip__n { color: var(--text-dim); font-weight: 500; font-size: 12px; }
/* Full white: at 85% the count measured 4.12:1 on the pressed chip (the
   2026-10-07 accessibility scan), under the 4.5:1 small text needs. */
.chip[aria-current='true'] .chip__n { color: #fff; }

/* ------------------------------------------------------------ verticals */
.vertical { padding: 24px 0 8px; }
.vertical__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vertical__head h2 { font-size: 22px; }
.vertical__count { color: var(--text-dim); font-size: 14px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.empty { padding: 48px 20px; text-align: center; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius-lg); margin: 24px 0; }
.empty h2 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--text-dim); }

.results__empty { color: var(--text-dim); font-size: 15px; padding: 8px 0 4px; }

/* ----------------------------------------------------------------- card */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__fam { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.card__title { font-size: 19px; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__tag { font-size: 14px; line-height: 1.45; color: var(--text-dim); }
.tiers { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tier {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid transparent;
}
.tier--standard { color: var(--info-text); background: var(--info-tint); border-color: var(--info-line); }
.tier--pro { color: var(--pro-text); background: var(--pro-tint); border-color: var(--pro-line); }
.tier--soon { color: var(--soon-text); background: var(--soon-tint); }
.tier--addon { color: var(--addon-text); background: var(--addon-tint); border-color: var(--addon-line); text-transform: none; letter-spacing: 0; }
.hint { font-size: 13px; color: var(--text-dim); }
.card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); transition: background var(--ease), border-color var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn--primary { background: var(--accent-press); border-color: var(--accent-press); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.btn--muted { color: var(--text-dim); background: transparent; border-style: dashed; cursor: default; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------- preview */
/* @wpi/shared template-preview: the ONE template preview (gallery + signup) */
.frame {
  font-size: 6px; position: relative; aspect-ratio: 16 / 10; width: 100%; overflow: hidden;
  background: var(--frame-paper); border-bottom: 1px solid var(--line); display: flex; flex-direction: column;
  --p: #475569; --a: #475569; --ov: 80%;
  --frame-paper: #ffffff; --frame-ink: #1f2530; --frame-muted: #cbd3de; --frame-soft: #eef1f6;
}
.frame--lg { font-size: 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 480px) { .frame--lg { font-size: 6.5px; } }
.frame i, .frame b, .frame em, .frame span { display: block; }
.frame__bar { height: 2.2em; background: var(--frame-soft); display: flex; align-items: center; gap: 0.6em; padding: 0 1.2em; flex: none; }
.frame__bar i { width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--frame-muted); }
.frame__bar span { flex: 1; height: 1.1em; border-radius: 1em; background: var(--frame-paper); margin-left: 1em; }
.frame__nav { height: 3.2em; display: flex; align-items: center; gap: 1em; padding: 0 2em; flex: none; }
.frame__logo { width: 5em; height: 1.4em; border-radius: 0.3em; background: var(--p); }
.frame__links { display: flex; gap: 1.2em; margin-left: auto; }
.frame__links i { width: 3em; height: 0.8em; border-radius: 1em; background: var(--frame-muted); }
.frame__cta { width: 4.5em; height: 1.8em; border-radius: 1em; background: var(--a); }
.frame__hero {
  flex: 1; display: flex; align-items: center; gap: 2em; padding: 2.4em 3em; position: relative; overflow: hidden;
  background: var(--p);
  background-image: linear-gradient(180deg, rgb(0 0 0 / 0%) 35%, rgb(0 0 0 / var(--ov))),
    linear-gradient(160deg, color-mix(in srgb, var(--p) 78%, #fff), color-mix(in srgb, var(--p) 70%, #000));
}
.frame__copy { flex: 1; display: flex; flex-direction: column; gap: 0.9em; position: relative; }
.frame__h { height: 2em; width: 80%; border-radius: 0.4em; background: rgba(255, 255, 255, 0.92); }
.frame__h--short { width: 55%; }
.frame__sub { height: 1em; width: 65%; border-radius: 1em; background: rgba(255, 255, 255, 0.6); }
.frame__btn { margin-top: 0.6em; width: 8em; height: 2.4em; border-radius: 1.2em; background: var(--a); box-shadow: 0 0.4em 1.2em rgb(0 0 0 / 25%); }
.frame__aside { width: 32%; min-height: 60%; border-radius: 0.8em; background: rgba(255, 255, 255, 0.94); padding: 1.2em; display: flex; flex-direction: column; gap: 0.8em; position: relative; }
.frame__aside i { height: 1.2em; border-radius: 0.3em; background: var(--frame-soft); }
.frame__aside em { height: 2em; border-radius: 0.4em; background: var(--p); margin-top: auto; }
.frame__strip { height: 2.6em; display: flex; gap: 1em; align-items: center; padding: 0 3em; background: var(--frame-soft); flex: none; }
.frame__strip i { flex: 1; height: 1em; border-radius: 1em; background: var(--frame-muted); }
.frame__grid { display: flex; gap: 1.2em; padding: 1.6em 3em; flex: none; }
.frame__grid i { flex: 1; height: 5em; border-radius: 0.6em; background: var(--frame-soft); border-top: 0.5em solid color-mix(in srgb, var(--p) 40%, var(--frame-soft)); }

/* hero modes — the registry's five: one hero element, five emphases */
.frame[data-hero='appetite'] .frame__hero {
  background-image: linear-gradient(180deg, rgb(0 0 0 / 10%), rgb(0 0 0 / var(--ov))),
    radial-gradient(circle at 25% 30%, color-mix(in srgb, var(--a) 70%, #fff), transparent 45%),
    radial-gradient(circle at 75% 70%, color-mix(in srgb, var(--p) 60%, #fff), transparent 50%),
    linear-gradient(160deg, var(--a), var(--p));
  justify-content: center; text-align: center;
}
.frame[data-hero='appetite'] .frame__copy { align-items: center; max-width: 70%; }
.frame[data-hero='appetite'] .frame__aside { display: none; }
.frame[data-hero='booking'] .frame__hero {
  background-image: linear-gradient(180deg, rgb(0 0 0 / 0%) 50%, rgb(0 0 0 / var(--ov))),
    linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 60%, var(--a)));
  justify-content: center;
}
.frame[data-hero='booking'] .frame__copy { align-items: center; max-width: 70%; }
.frame[data-hero='booking'] .frame__btn { width: 11em; height: 2.8em; }
.frame[data-hero='booking'] .frame__aside { display: none; }
.frame[data-hero='showcase'] .frame__hero {
  background: color-mix(in srgb, var(--p) 10%, var(--frame-paper));
  background-image: linear-gradient(180deg, rgb(0 0 0 / 0%) 80%, rgb(0 0 0 / calc(var(--ov) / 6)));
}
.frame[data-hero='showcase'] .frame__h { background: var(--p); }
.frame[data-hero='showcase'] .frame__sub { background: color-mix(in srgb, var(--p) 35%, var(--frame-paper)); }
.frame[data-hero='showcase'] .frame__aside { width: 40%; background: transparent; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; min-height: 0; }
.frame[data-hero='showcase'] .frame__aside i { height: 4.5em; border-radius: 0.6em; background: var(--frame-paper); border: 1px solid var(--frame-muted); border-bottom: 0.7em solid var(--a); }
.frame[data-hero='showcase'] .frame__aside em { display: none; }
.frame[data-hero='urgency'] .frame__hero {
  background-image: linear-gradient(180deg, rgb(0 0 0 / 0%) 40%, rgb(0 0 0 / var(--ov))),
    repeating-linear-gradient(-45deg, rgb(255 255 255 / 4%) 0 1.5em, transparent 1.5em 3em),
    linear-gradient(160deg, color-mix(in srgb, var(--p) 85%, #fff), color-mix(in srgb, var(--p) 65%, #000));
}
.frame[data-hero='urgency'] .frame__aside { background: transparent; padding: 0; align-items: flex-end; justify-content: center; min-height: 0; }
.frame[data-hero='urgency'] .frame__aside i { display: none; }
.frame[data-hero='urgency'] .frame__aside em { width: 100%; height: 4em; border-radius: 2em; background: var(--a); margin: 0; box-shadow: 0 0.6em 1.4em rgb(0 0 0 / 30%); }
.frame[data-hero='urgency'] .frame__btn { width: 10em; }

/* hero layouts and nav styles (the look levers, recipes.ts): drawn on top of
   the hero mode, so a look that sets one reads differently on its card even
   without a demo. A frame without the attributes is unchanged. */
.frame[data-layout='centered'] .frame__hero, .frame[data-layout='video'] .frame__hero { justify-content: center; text-align: center; }
.frame[data-layout='centered'] .frame__copy, .frame[data-layout='video'] .frame__copy { align-items: center; max-width: 70%; flex: none; }
.frame[data-layout='centered'] .frame__aside, .frame[data-layout='video'] .frame__aside { display: none; }
.frame[data-layout='video'] .frame__hero {
  background-image: linear-gradient(180deg, rgb(0 0 0 / 35%), rgb(0 0 0 / var(--ov))),
    linear-gradient(120deg, color-mix(in srgb, var(--p) 60%, #000), color-mix(in srgb, var(--a) 45%, var(--p)));
}
.frame[data-layout='video'] .frame__hero::after { content: ''; position: absolute; right: 1.6em; bottom: 1.6em; width: 2.4em; height: 2.4em; border-radius: 50%; background: rgb(0 0 0 / 45%); box-shadow: inset 0 0 0 0.25em rgb(255 255 255 / 70%); }
.frame[data-layout='stacked'] .frame__hero { flex-direction: column; align-items: stretch; gap: 1.2em; padding-bottom: 0; background-image: none; }
.frame[data-layout='stacked'] .frame__h { height: 2.6em; }
.frame[data-layout='stacked'] .frame__aside { width: auto; min-height: 0; flex: 1; border-radius: 0; margin: 0 -3em; padding: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--a) 55%, #fff), color-mix(in srgb, var(--p) 55%, #000)); }
.frame[data-layout='stacked'] .frame__aside i, .frame[data-layout='stacked'] .frame__aside em { display: none; }
.frame[data-layout='minimal'] .frame__hero { background: var(--frame-paper); background-image: none; }
.frame[data-layout='minimal'] .frame__h { background: var(--frame-ink); }
.frame[data-layout='minimal'] .frame__sub { background: var(--frame-muted); }
.frame[data-layout='minimal'] .frame__aside { width: 26%; min-height: 0; align-self: stretch; padding: 0; border-radius: 0.4em; background: linear-gradient(160deg, color-mix(in srgb, var(--p) 45%, #fff), color-mix(in srgb, var(--a) 40%, var(--p))); }
.frame[data-layout='minimal'] .frame__aside i, .frame[data-layout='minimal'] .frame__aside em { display: none; }
.frame[data-nav='plain'] .frame__links i { border-radius: 0; height: 0.5em; }
.frame[data-nav='plain'] .frame__cta { background: transparent; border-radius: 0; height: 0.6em; border-bottom: 0.3em solid var(--a); }
.frame[data-nav='centered'] .frame__nav { flex-wrap: wrap; justify-content: center; height: auto; padding: 0.6em 2em; gap: 0.5em; position: relative; }
.frame[data-nav='centered'] .frame__links { margin: 0; width: 100%; justify-content: center; }
.frame[data-nav='centered'] .frame__cta { position: absolute; right: 2em; top: 0.6em; }
.frame[data-nav='overlay'] .frame__nav { position: absolute; top: 2.2em; left: 0; right: 0; z-index: 1; }
.frame[data-nav='overlay'] .frame__logo { background: #ffffff; }
.frame[data-nav='overlay'] .frame__links i { background: rgb(255 255 255 / 70%); }
.frame[data-nav='ctabar'] .frame__nav { border-top: 0.8em solid var(--a); }

/* hero align / hero media (Phase C, docs/DISTINCT_LOOKS.md, recipes.ts
   Skin.heroAlign / Skin.heroMedia): drawn on top of the layout, so a look
   that sets one still reads differently without a demo. A frame without the
   attributes is unchanged. Only the non-default values that actually need a
   rule are here (see PREVIEW_HERO_ALIGNS / PREVIEW_HERO_MEDIA). */
.frame[data-align='right'] .frame__hero { flex-direction: row-reverse; }
.frame[data-align='bottom'] .frame__hero { align-items: flex-end; }
.frame[data-align='bottom'] .frame__copy { align-items: flex-start; text-align: left; max-width: 70%; }
.frame[data-media='tint'] .frame__hero { background-blend-mode: multiply; }
.frame[data-media='inset'] .frame__hero { padding: 1.2em; }
.frame[data-media='inset'] .frame__aside { border-radius: 0.6em; }
.frame[data-media='letterbox'] .frame__hero { background: var(--frame-paper); background-image: none; flex-direction: column; align-items: stretch; }
.frame[data-media='letterbox'] .frame__h { background: var(--frame-ink); }
.frame[data-media='letterbox'] .frame__sub { background: var(--frame-muted); }
.frame[data-media='letterbox'] .frame__aside { width: auto; min-height: 0; flex: 1; border-radius: 0; margin: 0 -3em; padding: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--a) 55%, #fff), color-mix(in srgb, var(--p) 55%, #000)); }
.frame[data-media='letterbox'] .frame__aside i, .frame[data-media='letterbox'] .frame__aside em { display: none; }
.frame[data-media='bleed'] .frame__aside { width: 44%; min-height: 0; align-self: stretch; border-radius: 0; padding: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--p) 45%, #fff), color-mix(in srgb, var(--a) 40%, var(--p))); }
.frame[data-media='bleed'] .frame__aside i, .frame[data-media='bleed'] .frame__aside em { display: none; }
.frame[data-media='none'] .frame__aside { display: none; }
/* The video chip: real text in fixed px, so it reads on a 6px card frame. */
.frame__chip {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; display: block;
  font: 700 11px/1 system-ui, sans-serif; letter-spacing: 0.02em;
  padding: 5px 9px; border-radius: 999px; background: rgb(17 24 39 / 88%); color: #ffffff;
}

/* ------------------------------------------------- the demo's screenshot */
/* A template WITH a demo shows the real home page (demo-shots.ts) over the
   wireframe. The wireframe stays underneath on purpose: a shot that is not
   uploaded yet (a 404) must leave the card looking designed, and the page has
   no script to swap anything in (no inline handlers under this CSP). So the
   img is transparent where it has no pixels: no background, its alt text
   painted in transparent ink, and a ::before block that pushes Chromium's
   broken image icon out of the clipped box. A ::before only ever renders on
   an image that FAILED to load, so a loaded shot is untouched by it. */
.frame__mock { position: absolute; inset: 0; display: flex; flex-direction: column; }
.frame__shot { position: absolute; inset: 2.2em 0 0; display: block; overflow: hidden; color: inherit; text-decoration: none; border-radius: 0; }
.frame__img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top;
  color: transparent; overflow: hidden; background: none;
}
.frame__img::before { content: ''; display: block; height: 100%; }
.frame__shot::after { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / 0%); transition: background-color 0.15s ease; }
.frame__shot .frame__open {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; background: rgb(17 24 39 / 90%); color: #ffffff;
  opacity: 0; transition: opacity 0.15s ease;
}
.frame__shot:hover::after, .frame__shot:focus-visible::after { background: rgb(0 0 0 / 22%); }
.frame__shot:hover .frame__open, .frame__shot:focus-visible .frame__open { opacity: 1; }
.frame__shot:focus-visible { outline: none; box-shadow: none; }
.frame__shot:focus-visible::after { box-shadow: inset 0 0 0 3px var(--focus-ring, #2c63f0); }
@media (prefers-reduced-motion: reduce) {
  .frame__shot::after, .frame__shot .frame__open { transition: none; }
}
/* The card CLIP (a demo with a video hero, card-clip.ts): over the screenshot,
   invisible until card.js has it actually playing, so a missing clip or no
   script leaves the picture as it was. Never shown under reduced motion. */
.frame__clip { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: none; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.frame__clip.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .frame__clip { display: none; } }

/* The shared preview's video chip is 11px; the gallery keeps every piece of
   text at 12px or more (mobile audit). Overridden here, after PREVIEW_CSS,
   so the signup chooser's copy of the frame is untouched. */
.frame__chip { font-size: 12px; }
/* ---------------------------------------------------------------- detail */
.detail { padding-top: 28px; padding-bottom: 8px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .detail { grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); align-items: start; } }
.detail__side { display: flex; flex-direction: column; gap: 14px; }
.detail__side h1 { font-size: clamp(26px, 3vw, 34px); }
.detail__side .tagline { font-size: 17px; font-weight: 500; line-height: 1.45; }
.detail__side .lede { color: var(--text-dim); font-size: 16px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
/* Pages on this demo (2026-11-04): the content pages a demo carries, as
   links into it. Chips that wrap; 44px tall so a thumb can hit one. */
.pages { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pages__h { font-size: 15px; font-weight: 700; }
.pages__sub { font-size: 14px; line-height: 1.45; color: var(--text-dim); }
.pages__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pages__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--info-line); background: var(--info-tint); color: var(--info-text);
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.pages__link:hover { text-decoration: underline; }
.card__pages { font-size: 13px; line-height: 1.45; color: var(--text-dim); overflow-wrap: anywhere; }
.card__pages-k { font-weight: 600; color: var(--text); }
.swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.swatch { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line); display: inline-block; vertical-align: middle; margin-right: 4px; }
.swatch--p { background: var(--p); }
.swatch--a { background: var(--a); }
.crumbs { font-size: 14px; color: var(--text-dim); padding-top: 22px; }
.crumbs a { text-decoration: none; }

/* ------------------------------------------- what you can edit / turn on
   The owner's review: the two panels read like a settings list — cramped
   hairline rows, a legend that wrapped mid-phrase, a bold note jammed under a
   row. They are now two full-width panels of CARDS (2 columns, 1 at <=720px)
   with one header rhythm, a 3-tile legend, and features grouped by tier.
   Every tier colour is the chip's own token trio (--info / --pro / --addon),
   so the AA pairings proven above carry over unchanged. */
.promise { padding-top: 32px; padding-bottom: 56px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-sm); min-width: 0; }
@media (min-width: 720px) { .panel { padding: 32px; } }
.panel__head { margin-bottom: 24px; max-width: 70ch; }
.panel__head h2 { font-size: 22px; margin-bottom: 8px; }
.panel__head .sub { color: var(--text-dim); font-size: 15px; line-height: 1.55; }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 721px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* edit groups differ a lot in length (4 vs 13 items): top-align so a short
   group is not stretched into a mostly empty card */
#editable .cards { align-items: start; }

/* the per-tier token trio every tier-coloured piece reads */
.legend__item--standard, .tiergroup--standard, .ico-tile--standard, .feature[data-tier='standard'] { --t-text: var(--info-text); --t-tint: var(--info-tint); --t-line: var(--info-line); }
.legend__item--pro, .tiergroup--pro, .ico-tile--pro, .feature[data-tier='pro'] { --t-text: var(--pro-text); --t-tint: var(--pro-tint); --t-line: var(--pro-line); }
.legend__item--addon, .tiergroup--addon, .ico-tile--addon, .feature[data-tier='addon'] { --t-text: var(--addon-text); --t-tint: var(--addon-tint); --t-line: var(--addon-line); }
.ico-tile--soon, .feature[data-tier='soon'] { --t-text: var(--soon-text); --t-tint: var(--soon-tint); --t-line: var(--line); }
.ico-tile--neutral { --t-text: var(--text-dim); --t-tint: var(--panel-2); --t-line: var(--line); }

.ico-tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  color: var(--t-text); background: var(--t-tint); border: 1px solid var(--t-line);
}

.count { color: var(--text-dim); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---- legend: three key tiles, the meaning never wraps away from its chip */
.legend { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 32px; }
@media (min-width: 721px) { .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.legend__item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px;
  border-radius: var(--radius); background: var(--t-tint); border: 1px solid var(--t-line);
}
.legend__text { font-size: 14px; line-height: 1.4; color: var(--text); }

/* ---- feature groups */
.tiergroup + .tiergroup { margin-top: 32px; }
.tiergroup__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--t-line); }
.tiergroup__head h3 { font-size: 17px; }

.feature {
  display: flex; align-items: flex-start; gap: 16px; padding: 24px; min-width: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: inset 0 3px 0 var(--t-line);
}
.feature__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.feature__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; }
.feature__label { font-weight: 700; font-size: 16px; line-height: 1.3; }
.feature__desc { font-size: 15px; line-height: 1.6; color: var(--text-dim); }
.feature__note {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; padding: 10px 12px;
  font-size: 14px; line-height: 1.5; color: var(--text-dim); background: var(--panel-2); border-radius: 8px;
}
.feature__i {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px;
  margin-top: 1px; border-radius: 50%; border: 1.5px solid currentColor; font: italic 700 12px/1 Georgia, serif;
}

/* ---- editable groups: the same card grammar, neutral tint */
.group { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); min-width: 0; }
.group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.group__head h3 { font-size: 17px; flex: 1; min-width: 0; }
.edit { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.edit__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; }
.edit__label { font-weight: 600; font-size: 15px; }
.edit__hint { font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.cap {
  display: inline-block; max-width: 100%; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  line-height: 1.6; color: var(--text-dim); background: var(--panel-2); border: 1px solid var(--line); overflow-wrap: anywhere;
}
/* (A 400px rule used to trim .feature / .group to 20px here; the phones
   block below now takes every width under 640px to 16px.) */

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--text-dim); font-size: 13px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------------------------------------------------------------- phones
   Most visitors are on a phone (owner, 2026-10-05: "a majority of traffic is
   mobile"). Below 640px, the single column grid: tighter vertical rhythm so
   the first template shows sooner, 44px touch targets (40px for the chips),
   and the thirteen business type chips become ONE row that scrolls sideways
   instead of wrapping into seven rows, a full screen of filters before the
   first card. The row runs edge to edge (the scroller keeps the 16px gutter
   as its own padding, so the first chip lines up with the heading) and a
   16px mask fade at each edge says "there is more"; at either end the fade
   sits over that padding, so no chip is dimmed. Desktop keeps the wrap.
   Pinned in mobile.test.ts. */
@media (max-width: 639px) {
  .top__nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .lead { padding-top: 20px; }
  .lead h1 { font-size: 26px; }
  .lead p { font-size: 16px; }
  /* a long label ("Live demo · Ashlane Detail & Concierge") wraps on a
     narrow card: keep both lines centred and off the button's edges */
  .btn { min-height: 44px; padding-top: 6px; padding-bottom: 6px; line-height: 1.3; text-align: center; }
  /* the field and its button stay on one line: the field shrinks, the
     button never wraps under it */
  .search { flex-wrap: nowrap; }
  .search__field { flex: 1 1 auto; min-width: 0; }
  .search .btn { flex: none; }
  .filter {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none;
    padding-top: 12px; padding-bottom: 6px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .filter::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 40px; white-space: nowrap; scroll-snap-align: start; }
  .vertical { padding-top: 16px; }
  .vertical__head { margin-bottom: 10px; }
  .vertical__head h2 { font-size: 20px; }
  .grid { gap: 16px; }
  /* the primary button gets its own full width row inside the card; the
     demo and back office buttons share the row above it */
  .card__actions .btn { flex: 1 1 auto; }
  .card__actions .btn--primary { flex-basis: 100%; }
  .crumbs { padding-top: 14px; }
  .detail { padding-top: 14px; gap: 20px; }
  .promise { padding-top: 20px; padding-bottom: 40px; gap: 20px; }
  .panel__head { margin-bottom: 16px; }
  .panel__head h2 { font-size: 20px; }
  .legend { margin-bottom: 20px; gap: 8px; }
  .legend__item { padding: 12px; }
  .tiergroup + .tiergroup { margin-top: 24px; }
  .cards { gap: 12px; }
  .feature, .group { padding: 16px; }
  /* the icon and the label + chip share the first line; the description and
     the note then take the card's FULL width instead of a narrow column
     beside the icon (at 320px that column was about 150px, ten lines of
     text). .feature__body is a plain span, so display: contents drops no
     semantics. */
  .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; }
  .feature__body { display: contents; }
  .feature__desc, .feature__note { grid-column: 1 / -1; }
  .ico-tile { width: 40px; height: 40px; }
  .foot { padding-top: 20px; padding-bottom: 28px; }
}

/* -------------------------------------------------------------- 404/500 */
.oops { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 40px; padding-bottom: 40px; }
.oops h1 { font-size: 28px; margin-bottom: 8px; }
.oops p { color: var(--text-dim); margin-bottom: 18px; }

/* registry icons as CSS masks (see src/icons.ts) */
.ico {
  display: inline-block; width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
@media (forced-colors: active) { .ico { background: CanvasText; forced-color-adjust: none; } }
.ico--calendar-check { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11.5%2021h-5.5a2%202%200%200%201%20-2%20-2v-12a2%202%200%200%201%202%20-2h12a2%202%200%200%201%202%202v6%22%20%2F%3E%20%3Cpath%20d%3D%22M16%203v4%22%20%2F%3E%20%3Cpath%20d%3D%22M8%203v4%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2011h16%22%20%2F%3E%20%3Cpath%20d%3D%22M15%2019l2%202l4%20-4%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--calendar-event { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207a2%202%200%200%201%202%20-2h12a2%202%200%200%201%202%202v12a2%202%200%200%201%20-2%202h-12a2%202%200%200%201%20-2%20-2l0%20-12%22%20%2F%3E%20%3Cpath%20d%3D%22M16%203l0%204%22%20%2F%3E%20%3Cpath%20d%3D%22M8%203l0%204%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2011l16%200%22%20%2F%3E%20%3Cpath%20d%3D%22M8%2015h2v2h-2l0%20-2%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--camera { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%207h1a2%202%200%200%200%202%20-2a1%201%200%200%201%201%20-1h6a1%201%200%200%201%201%201a2%202%200%200%200%202%202h1a2%202%200%200%201%202%202v9a2%202%200%200%201%20-2%202h-14a2%202%200%200%201%20-2%20-2v-9a2%202%200%200%201%202%20-2%22%20%2F%3E%20%3Cpath%20d%3D%22M9%2013a3%203%200%201%200%206%200a3%203%200%200%200%20-6%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--car { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2017a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20%2F%3E%20%3Cpath%20d%3D%22M15%2017a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20%2F%3E%20%3Cpath%20d%3D%22M5%2017h-2v-6l2%20-5h9l4%205h1a2%202%200%200%201%202%202v4h-2m-4%200h-6m-6%20-6h15m-6%200v-5%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--compass { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2016l2%20-6l6%20-2l-2%206l-6%202%22%20%2F%3E%20%3Cpath%20d%3D%22M3%2012a9%209%200%201%200%2018%200a9%209%200%201%200%20-18%200%22%20%2F%3E%20%3Cpath%20d%3D%22M12%203l0%202%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2019l0%202%22%20%2F%3E%20%3Cpath%20d%3D%22M3%2012l2%200%22%20%2F%3E%20%3Cpath%20d%3D%22M19%2012l2%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--device-laptop { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2019l18%200%22%20%2F%3E%20%3Cpath%20d%3D%22M5%207a1%201%200%200%201%201%20-1h12a1%201%200%200%201%201%201v8a1%201%200%200%201%20-1%201h-12a1%201%200%200%201%20-1%20-1l0%20-8%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--file-invoice { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203v4a1%201%200%200%200%201%201h4%22%20%2F%3E%20%3Cpath%20d%3D%22M17%2021h-10a2%202%200%200%201%20-2%20-2v-14a2%202%200%200%201%202%20-2h7l5%205v11a2%202%200%200%201%20-2%202%22%20%2F%3E%20%3Cpath%20d%3D%22M9%207l1%200%22%20%2F%3E%20%3Cpath%20d%3D%22M9%2013l6%200%22%20%2F%3E%20%3Cpath%20d%3D%22M13%2017l2%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--gift { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209a1%201%200%200%201%201%20-1h16a1%201%200%200%201%201%201v2a1%201%200%200%201%20-1%201h-16a1%201%200%200%201%20-1%20-1l0%20-2%22%20%2F%3E%20%3Cpath%20d%3D%22M12%208l0%2013%22%20%2F%3E%20%3Cpath%20d%3D%22M19%2012v7a2%202%200%200%201%20-2%202h-10a2%202%200%200%201%20-2%20-2v-7%22%20%2F%3E%20%3Cpath%20d%3D%22M7.5%208a2.5%202.5%200%200%201%200%20-5a4.8%208%200%200%201%204.5%205a4.8%208%200%200%201%204.5%20-5a2.5%202.5%200%200%201%200%205%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--list-check { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%205.5l1.5%201.5l2.5%20-2.5%22%20%2F%3E%20%3Cpath%20d%3D%22M3.5%2011.5l1.5%201.5l2.5%20-2.5%22%20%2F%3E%20%3Cpath%20d%3D%22M3.5%2017.5l1.5%201.5l2.5%20-2.5%22%20%2F%3E%20%3Cpath%20d%3D%22M11%206l9%200%22%20%2F%3E%20%3Cpath%20d%3D%22M11%2012l9%200%22%20%2F%3E%20%3Cpath%20d%3D%22M11%2018l9%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--lock { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2013a2%202%200%200%201%202%20-2h10a2%202%200%200%201%202%202v6a2%202%200%200%201%20-2%202h-10a2%202%200%200%201%20-2%20-2v-6%22%20%2F%3E%20%3Cpath%20d%3D%22M11%2016a1%201%200%201%200%202%200a1%201%200%200%200%20-2%200%22%20%2F%3E%20%3Cpath%20d%3D%22M8%2011v-4a4%204%200%201%201%208%200v4%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--mail { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207a2%202%200%200%201%202%20-2h14a2%202%200%200%201%202%202v10a2%202%200%200%201%20-2%202h-14a2%202%200%200%201%20-2%20-2v-10%22%20%2F%3E%20%3Cpath%20d%3D%22M3%207l9%206l9%20-6%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--map-pin { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2011a3%203%200%201%200%206%200a3%203%200%200%200%20-6%200%22%20%2F%3E%20%3Cpath%20d%3D%22M17.657%2016.657l-4.243%204.243a2%202%200%200%201%20-2.827%200l-4.244%20-4.243a8%208%200%201%201%2011.314%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--message { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%209h8%22%20%2F%3E%20%3Cpath%20d%3D%22M8%2013h6%22%20%2F%3E%20%3Cpath%20d%3D%22M18%204a3%203%200%200%201%203%203v8a3%203%200%200%201%20-3%203h-5l-5%203v-3h-2a3%203%200%200%201%20-3%20-3v-8a3%203%200%200%201%203%20-3h12%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--messages { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2014l-3%20-3h-7a1%201%200%200%201%20-1%20-1v-6a1%201%200%200%201%201%20-1h9a1%201%200%200%201%201%201v10%22%20%2F%3E%20%3Cpath%20d%3D%22M14%2015v2a1%201%200%200%201%20-1%201h-7l-3%203v-10a1%201%200%200%201%201%20-1h2%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--notes { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205a2%202%200%200%201%202%20-2h10a2%202%200%200%201%202%202v14a2%202%200%200%201%20-2%202h-10a2%202%200%200%201%20-2%20-2l0%20-14%22%20%2F%3E%20%3Cpath%20d%3D%22M9%207l6%200%22%20%2F%3E%20%3Cpath%20d%3D%22M9%2011l6%200%22%20%2F%3E%20%3Cpath%20d%3D%22M9%2015l4%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--package { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l8%204.5l0%209l-8%204.5l-8%20-4.5l0%20-9l8%20-4.5%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2012l8%20-4.5%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2012l0%209%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2012l-8%20-4.5%22%20%2F%3E%20%3Cpath%20d%3D%22M16%205.25l-8%204.5%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--palette { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021a9%209%200%200%201%200%20-18c4.97%200%209%203.582%209%208c0%201.06%20-.474%202.078%20-1.318%202.828c-.844%20.75%20-1.989%201.172%20-3.182%201.172h-2.5a2%202%200%200%200%20-1%203.75a1.3%201.3%200%200%201%20-1%202.25%22%20%2F%3E%20%3Cpath%20d%3D%22M7.5%2010.5a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200%22%20%2F%3E%20%3Cpath%20d%3D%22M11.5%207.5a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200%22%20%2F%3E%20%3Cpath%20d%3D%22M15.5%2010.5a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--photo { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M3%206a3%203%200%200%201%203%20-3h12a3%203%200%200%201%203%203v12a3%203%200%200%201%20-3%203h-12a3%203%200%200%201%20-3%20-3v-12%22%20%2F%3E%20%3Cpath%20d%3D%22M3%2016l5%20-5c.928%20-.893%202.072%20-.893%203%200l5%205%22%20%2F%3E%20%3Cpath%20d%3D%22M14%2014l1%20-1c.928%20-.893%202.072%20-.893%203%200l3%203%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--shield-check { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11.46%2020.846a12%2012%200%200%201%20-7.96%20-14.846a12%2012%200%200%200%208.5%20-3a12%2012%200%200%200%208.5%203a12%2012%200%200%201%20-.09%207.06%22%20%2F%3E%20%3Cpath%20d%3D%22M15%2019l2%202l4%20-4%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--shopping-cart { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2019a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20%2F%3E%20%3Cpath%20d%3D%22M15%2019a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20%2F%3E%20%3Cpath%20d%3D%22M17%2017h-11v-14h-2%22%20%2F%3E%20%3Cpath%20d%3D%22M6%205l14%201l-1%207h-13%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--speakerphone { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%208a3%203%200%200%201%200%206%22%20%2F%3E%20%3Cpath%20d%3D%22M10%208v11a1%201%200%200%201%20-1%201h-1a1%201%200%200%201%20-1%20-1v-5%22%20%2F%3E%20%3Cpath%20d%3D%22M12%208l4.524%20-3.77a.9%20.9%200%200%201%201.476%20.692v12.156a.9%20.9%200%200%201%20-1.476%20.692l-4.524%20-3.77h-8a1%201%200%200%201%20-1%20-1v-4a1%201%200%200%201%201%20-1h8%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--stack-2 { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204l-8%204l8%204l8%20-4l-8%20-4%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2012l8%204l8%20-4%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2016l8%204l8%20-4%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--star { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2017.75l-6.172%203.245l1.179%20-6.873l-5%20-4.867l6.9%20-1l3.086%20-6.253l3.086%206.253l6.9%201l-5%204.867l1.179%206.873l-6.158%20-3.245%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--tag { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6.5%207.5a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200%22%20%2F%3E%20%3Cpath%20d%3D%22M3%206v5.172a2%202%200%200%200%20.586%201.414l7.71%207.71a2.41%202.41%200%200%200%203.408%200l5.592%20-5.592a2.41%202.41%200%200%200%200%20-3.408l-7.71%20-7.71a2%202%200%200%200%20-1.414%20-.586h-5.172a3%203%200%200%200%20-3%203%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--tags { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%208v4.172a2%202%200%200%200%20.586%201.414l5.71%205.71a2.41%202.41%200%200%200%203.408%200l3.592%20-3.592a2.41%202.41%200%200%200%200%20-3.408l-5.71%20-5.71a2%202%200%200%200%20-1.414%20-.586h-4.172a2%202%200%200%200%20-2%202%22%20%2F%3E%20%3Cpath%20d%3D%22M18%2019l1.592%20-1.592a4.82%204.82%200%200%200%200%20-6.816l-4.592%20-4.592%22%20%2F%3E%20%3Cpath%20d%3D%22M7%2010h-.01%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--thumb-up { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2011v8a1%201%200%200%201%20-1%201h-2a1%201%200%200%201%20-1%20-1v-7a1%201%200%200%201%201%20-1h3a4%204%200%200%200%204%20-4v-1a2%202%200%200%201%204%200v5h3a2%202%200%200%201%202%202l-1%205a2%203%200%200%201%20-2%202h-7a3%203%200%200%201%20-3%20-3%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--tools-kitchen-2 { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%203v12h-5c-.023%20-3.681%20.184%20-7.406%205%20-12m0%2012v6h-1v-3m-10%20-14v17m-3%20-17v3a3%203%200%201%200%206%200v-3%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--truck-delivery { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2017a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20%2F%3E%20%3Cpath%20d%3D%22M15%2017a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200%22%20%2F%3E%20%3Cpath%20d%3D%22M5%2017h-2v-4m-1%20-8h11v12m-4%200h6m4%200h2v-6h-8m0%20-5h5l3%205%22%20%2F%3E%20%3Cpath%20d%3D%22M3%209l4%200%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--users { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%207a4%204%200%201%200%208%200a4%204%200%201%200%20-8%200%22%20%2F%3E%20%3Cpath%20d%3D%22M3%2021v-2a4%204%200%200%201%204%20-4h4a4%204%200%200%201%204%204v2%22%20%2F%3E%20%3Cpath%20d%3D%22M16%203.13a4%204%200%200%201%200%207.75%22%20%2F%3E%20%3Cpath%20d%3D%22M21%2021v-2a4%204%200%200%200%20-3%20-3.85%22%20%2F%3E%3C%2Fsvg%3E"); }
.ico--window-maximize { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2017a1%201%200%200%201%201%20-1h3a1%201%200%200%201%201%201v3a1%201%200%200%201%20-1%201h-3a1%201%200%200%201%20-1%20-1l0%20-3%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2012v-6a2%202%200%200%201%202%20-2h12a2%202%200%200%201%202%202v12a2%202%200%200%201%20-2%202h-6%22%20%2F%3E%20%3Cpath%20d%3D%22M12%208h4v4%22%20%2F%3E%20%3Cpath%20d%3D%22M16%208l-5%205%22%20%2F%3E%3C%2Fsvg%3E"); }

/* per-template palettes (from the recipe registry, sanitized) */
.tpl-retail-retail-bright{--p:#0f766e;--a:#ea580c;--ov:80%}
.tpl-retail-boutique-editorial{--p:#2b2624;--a:#9c4a33;--ov:82%}
.tpl-retail-market-bold{--p:#1f3a93;--a:#c4310f;--ov:84%}
.tpl-professional-professional{--p:#1e3a5f;--a:#0e7c66;--ov:82%}
.tpl-professional-firm-classic{--p:#1c2b4a;--a:#8e5a1f;--ov:84%}
.tpl-professional-studio-modern{--p:#111111;--a:#2b3fe8;--ov:86%}
.tpl-plumbing-trade{--p:#1d4ed8;--a:#dc2626;--ov:84%}
.tpl-plumbing-dispatch-urgent{--p:#0b1f3a;--a:#c6440a;--ov:86%}
.tpl-personal-care-editorial{--p:#7c3aed;--a:#db2777;--ov:76%}
.tpl-personal-care-salon-luxe{--p:#3b2a26;--a:#7a2e3b;--ov:76%}
.tpl-personal-care-barber-bold{--p:#d11a3f;--a:#141414;--ov:84%}
.tpl-home-services-fresh-cut{--p:#14532d;--a:#c2410c;--ov:82%}
.tpl-home-services-crew-pro{--p:#0c4a6e;--a:#b91c1c;--ov:84%}
.tpl-wellness-serene{--p:#2f6f73;--a:#a24e2a;--ov:74%}
.tpl-wellness-clinic-clean{--p:#0f4c5c;--a:#2563eb;--ov:70%}
.tpl-fitness-ironworks{--p:#111827;--a:#c8330e;--ov:86%}
.tpl-fitness-studio-flow{--p:#3b2e5a;--a:#0f766e;--ov:74%}
.tpl-pet-care-pawprint{--p:#9a3412;--a:#0e7490;--ov:76%}
.tpl-pet-care-vet-clinical{--p:#1e3a8a;--a:#15803d;--ov:78%}
.tpl-legal-counsel{--p:#1f2937;--a:#9a3412;--ov:86%}
.tpl-legal-chambers{--p:#2b1d14;--a:#7f1d1d;--ov:88%}
.tpl-real-estate-keystone{--p:#0f3d5e;--a:#8a5a12;--ov:80%}
.tpl-real-estate-listing-luxe{--p:#111111;--a:#7c5a1e;--ov:84%}
.tpl-auto-classic-authority{--p:#0b5fff;--a:#c2410c;--ov:82%}
.tpl-auto-concierge{--p:#1f4d3e;--a:#b07a2c;--ov:82%}
.tpl-auto-tracktech{--p:#26262d;--a:#b6f03c;--ov:88%}
.tpl-food-appetite{--p:#b91c1c;--a:#f59e0b;--ov:78%}
.tpl-food-bistro-noir{--p:#2a1b22;--a:#8a5a1e;--ov:84%}
.tpl-grocery-grocery{--p:#15803d;--a:#ca8a04;--ov:80%}
.tpl-nonprofit-mission{--p:#1e3a5f;--a:#b8432a;--ov:74%}
