/* Page Lemon app kit (docs/templates/app-quality-bar.md). The shared, mobile-first look of every App template's member
   pages: app shell (top bar, tab bar that becomes a side rail at 1024 px), cards, list rows, stat tiles, progress, badges,
   buttons, forms, sheets, empty states and toasts, plus styles for the blocks Page Lemon renders (sign-in, account,
   add-form status, scan code, wallet buttons). Source: site/templates/_app/kit.css; each template ships a byte-identical
   copy as kit.css (node scripts/sync-app-kit.mjs). A template sets its brand only through the --k-brand* tokens in its
   own styles.css. System fonts, no external url(), light and dark. */

:root {
  /* Brand (a template overrides these five in styles.css) */
  --k-brand: #c8332b;
  --k-brand-ink: #ffffff;
  --k-brand-soft: #fbe9e7;
  --k-hero: #1b1a1f;
  --k-hero-ink: #f7f1e6;
  --k-gold: #c9a14a;
  /* Neutrals */
  --k-bg: #f6f3ee;
  --k-surface: #ffffff;
  --k-surface-2: #f1ede6;
  --k-line: rgba(28, 25, 22, .1);
  --k-line-strong: rgba(28, 25, 22, .18);
  --k-text: #1c1916;
  --k-muted: #6b645c;
  --k-faint: #736b63;
  --k-ok: #176b46;
  --k-ok-soft: #e3f4ea;
  --k-warn: #855000;
  --k-warn-soft: #fdf0d9;
  /* Status "new" and default callouts follow the app's brand (kit v3), toned towards the text colour so they stay readable */
  --k-info: color-mix(in srgb, var(--k-brand) 72%, var(--k-text));
  --k-info-soft: color-mix(in srgb, var(--k-brand) 12%, var(--k-surface));
  --k-danger: #c0362c;
  /* Type scale (iOS-like: 34 / 28 / 22 / 17 / 15 / 13 / 12) */
  --k-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --k-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --k-t-hero: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  --k-t-1: 2.125rem;
  --k-t-2: 1.75rem;
  --k-t-3: 1.375rem;
  --k-t-body: 1.0625rem;
  --k-t-sub: .9375rem;
  --k-t-foot: .8125rem;
  --k-t-cap: .75rem;
  /* 8 pt spacing */
  --k-1: 4px; --k-2: 8px; --k-3: 12px; --k-4: 16px; --k-5: 24px; --k-6: 32px; --k-7: 48px; --k-8: 64px;
  /* Radius and depth */
  --k-r-s: 10px; --k-r-m: 16px; --k-r-l: 22px; --k-r-xl: 28px; --k-r-pill: 999px;
  --k-shadow-1: 0 1px 2px rgba(28, 22, 16, .06), 0 2px 8px rgba(28, 22, 16, .05);
  --k-shadow-2: 0 2px 6px rgba(28, 22, 16, .08), 0 12px 32px rgba(28, 22, 16, .1);
  --k-shadow-3: 0 18px 48px rgba(20, 14, 8, .22);
  --k-tabbar: 64px;
  --k-rail: 248px;
  --k-max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --k-brand-soft: rgba(229, 72, 61, .16);
    --k-bg: #111113;
    --k-surface: #1b1b1f;
    --k-surface-2: #242429;
    --k-line: rgba(255, 255, 255, .09);
    --k-line-strong: rgba(255, 255, 255, .16);
    --k-text: #f3efe8;
    --k-muted: #a8a19a;
    --k-faint: #7c766f;
    --k-ok: #4cc38a; --k-ok-soft: rgba(76, 195, 138, .14);
    --k-warn: #f0a63a; --k-warn-soft: rgba(240, 166, 58, .14);
    --k-info: color-mix(in srgb, var(--k-brand) 60%, var(--k-text)); --k-info-soft: color-mix(in srgb, var(--k-brand) 18%, var(--k-surface));
    --k-danger: #ff6b5e;
    --k-shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --k-shadow-2: 0 8px 28px rgba(0, 0, 0, .45);
    --k-shadow-3: 0 18px 48px rgba(0, 0, 0, .6);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.k-app { margin: 0; background: var(--k-bg); color: var(--k-text); font: 400 var(--k-t-body)/1.47 var(--k-font); -webkit-font-smoothing: antialiased; min-height: 100vh; }
.k-app img, .k-app svg { max-width: 100%; }
.k-app img { height: auto; display: block; }
:where(.k-app) a { color: inherit; }
:where(.k-app) :is(h1, h2, h3) { font-family: var(--k-font-display); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
:where(.k-app) p { margin: 0; }
.k-app :focus-visible { outline: 3px solid var(--k-brand); outline-offset: 2px; border-radius: 6px; }
.k-app .skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--k-surface); padding: 8px 14px; border-radius: 8px; }
.k-app .skip:focus { left: 8px; }
.k-i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.k-i-s { width: 18px; height: 18px; }
.k-num { font-variant-numeric: tabular-nums; }
.k-muted { color: var(--k-muted); }
.k-sr { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- shell: top bar, tab bar / side rail ---------- */
.k-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--k-3); min-height: 56px; padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); background: color-mix(in srgb, var(--k-bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; }
.k-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--k-t-sub); letter-spacing: -.01em; min-width: 0; }
.k-brand img { width: 30px; height: 30px; border-radius: 9px; }
.k-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-top-end { margin-left: auto; display: flex; align-items: center; gap: var(--k-2); }
.k-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--k-r-pill); background: var(--k-surface); color: var(--k-text); box-shadow: var(--k-shadow-1); text-decoration: none; position: relative; }
.k-avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--k-hero); color: var(--k-hero-ink); font-weight: 700; font-size: .9375rem; text-decoration: none; letter-spacing: .02em; }
.k-avatar-l { width: 64px; height: 64px; font-size: 1.375rem; }
/* The sign-in block: signed out a pill button; signed in Page Lemon writes "Signed in as …" with Sign out, which lives on
   the Account screen in the app, so the top bar keeps only the avatar. */
.k-top a.k-signin { display: inline-flex; align-items: center; white-space: nowrap; min-height: 44px; padding: 0 16px; border-radius: var(--k-r-pill); background: var(--k-brand); color: var(--k-brand-ink); font-weight: 600; font-size: var(--k-t-sub); text-decoration: none; }
.k-top span.k-signin { display: none; }
.k-app [data-pl-demo-in] { cursor: pointer; }

.k-tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); background: color-mix(in srgb, var(--k-surface) 90%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--k-line); }
.k-tabs a { flex: 1; max-width: 96px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 4px; min-height: 52px; color: var(--k-muted); text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .01em; border-radius: 12px; }
.k-tabs a[aria-current="page"] { color: var(--k-brand); }
.k-tabs a[aria-current="page"] .k-i { stroke-width: 2.2; }
.k-tabs .k-tabs-brand { display: none; }
.k-main { width: 100%; max-width: var(--k-max); margin: 0 auto; padding: var(--k-2) 16px calc(var(--k-tabbar) + 40px + env(safe-area-inset-bottom)); }
.k-foot { margin-top: var(--k-7); padding-top: var(--k-4); border-top: 1px solid var(--k-line); color: var(--k-faint); font-size: var(--k-t-foot); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.k-foot a { color: var(--k-muted); }

@media (min-width: 1024px) {
  body.k-app { display: grid; grid-template-columns: var(--k-rail) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "nav top" "nav main"; }
  .k-top { grid-area: top; padding: 16px 40px; min-height: 72px; }
  .k-top .k-brand { display: none; }
  .k-tabs { grid-area: nav; position: sticky; top: 0; height: 100vh; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 24px 16px; border-top: 0; border-right: 1px solid var(--k-line); background: var(--k-surface); backdrop-filter: none; }
  .k-tabs .k-tabs-brand { display: flex; margin: 0 8px 24px; font-size: 1rem; }
  .k-tabs .k-tabs-brand img { width: 36px; height: 36px; border-radius: 10px; }
  .k-tabs a { flex: none; max-width: none; flex-direction: row; gap: 14px; padding: 12px 14px; min-height: 48px; font-size: var(--k-t-sub); color: var(--k-muted); }
  .k-tabs a:hover { background: var(--k-surface-2); color: var(--k-text); }
  .k-tabs a[aria-current="page"] { background: var(--k-brand-soft); color: var(--k-brand); }
  .k-tabs a.k-tabs-brand, .k-tabs a.k-tabs-brand:hover { background: none; color: var(--k-text); padding: 0; min-height: 0; }
  .k-main { grid-area: main; padding: 8px 40px 64px; }
}

/* ---------- page heading ---------- */
.k-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--k-4); margin: var(--k-3) 0 var(--k-5); }
.k-head h1 { font-size: var(--k-t-1); font-weight: 800; }
.k-head p { color: var(--k-muted); font-size: var(--k-t-sub); margin-top: 6px; }
.k-kicker { color: var(--k-muted); font-size: var(--k-t-sub); font-weight: 500; margin-bottom: 2px; }
.k-back { display: inline-flex; align-items: center; gap: 2px; margin-left: -6px; color: var(--k-brand); font-weight: 600; font-size: var(--k-t-sub); text-decoration: none; min-height: 44px; }

/* ---------- layout helpers ---------- */
.k-stack > * + * { margin-top: var(--k-5); }
.k-stack-s > * + * { margin-top: var(--k-3); }
.k-grid { display: grid; gap: var(--k-4); }
@media (min-width: 720px) { .k-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .k-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Phones: the split's columns stack with the kit's gap. */
.k-split > * + * { margin-top: var(--k-5); }
@media (min-width: 1024px) {
  .k-split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
  .k-split > .k-aside { position: sticky; top: 96px; }
  .k-split > * + * { margin-top: 0; }
}
.k-section { margin-top: var(--k-6); }
.k-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px var(--k-3); margin-bottom: var(--k-3); }
.k-section-head h2 { font-size: var(--k-t-3); font-weight: 700; }
.k-section-head a { color: var(--k-brand); font-weight: 600; font-size: var(--k-t-sub); text-decoration: none; }
.k-section-head p { color: var(--k-muted); font-size: var(--k-t-sub); }

/* ---------- cards ---------- */
.k-card { background: var(--k-surface); border-radius: var(--k-r-l); box-shadow: var(--k-shadow-1); padding: var(--k-5); }
.k-card-flush { padding: 0; overflow: hidden; }
.k-card h2 { font-size: var(--k-t-3); }
.k-card h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.k-card > p, .k-card .k-body { color: var(--k-muted); font-size: var(--k-t-sub); }
.k-card > * + * { margin-top: var(--k-3); }
.k-card-tint { background: var(--k-brand-soft); box-shadow: none; }
.k-card-link { display: block; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.k-card-link:hover { box-shadow: var(--k-shadow-2); }
.k-card-link:active { transform: scale(.99); }

/* The hero card (loyalty card, membership card): the brand's dark surface. */
.k-hero-card { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--k-brand) 38%, transparent) 0%, transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--k-hero) 88%, #fff 12%) 0%, var(--k-hero) 70%); color: var(--k-hero-ink); border-radius: var(--k-r-xl); padding: var(--k-5); box-shadow: var(--k-shadow-2); }
.k-hero-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; }
.k-hero-card .k-hero-top { display: flex; align-items: center; justify-content: space-between; gap: var(--k-3); font-size: var(--k-t-foot); letter-spacing: .06em; text-transform: uppercase; opacity: .78; font-weight: 600; }
.k-hero-card .k-big { font-family: var(--k-font-display); font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: var(--k-4); }
.k-hero-card .k-big small { font-size: 1.125rem; font-weight: 600; opacity: .7; letter-spacing: 0; margin-left: 6px; }
.k-hero-card .k-note { margin-top: var(--k-2); font-size: var(--k-t-sub); opacity: .82; }
.k-hero-card .k-btn { margin-top: var(--k-5); }
.k-hero-card .k-btn-on-hero { background: var(--k-hero-ink); color: var(--k-hero); }

/* ---------- stamp dots and progress ---------- */
.k-dots { display: grid; grid-template-columns: repeat(var(--k-dots, 10), minmax(0, 1fr)); gap: 8px; margin: var(--k-5) 0 0; padding: 0; list-style: none; }
.k-dots li { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .28); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s; }
.k-dots li.on { border: 0; background: var(--k-gold); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.k-dots li.on::before { content: ""; width: 52%; height: 52%; background: rgba(40, 26, 6, .62); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.k-dots li.k-free { border: 2px solid var(--k-brand); background: color-mix(in srgb, var(--k-brand) 28%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--k-brand) 18%, transparent); }
.k-dots li.k-free::before { content: "Free"; font-size: .625rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; border: 0; width: auto; height: auto; transform: none; }
.k-dots li.k-free.on { background: var(--k-brand); }
.k-dots-light li { border-color: var(--k-line-strong); }
.k-dots-light li.k-free::before { color: var(--k-brand); }
.k-dots-light li.k-free.on::before { color: #fff; }
.k-bar { height: 8px; border-radius: var(--k-r-pill); background: var(--k-surface-2); overflow: hidden; }
.k-bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--k-brand); transition: width .5s ease; }
.k-hero-card .k-bar { background: rgba(255, 255, 255, .14); }
.k-hero-card .k-bar > i { background: var(--k-gold); }
/* Width steps for 0..12 of a goal, set by kit.js as data-k-pct (CSP: no inline style). */
.k-bar > i[data-k-pct="0"] { width: 0; } .k-bar > i[data-k-pct="5"] { width: 5%; } .k-bar > i[data-k-pct="10"] { width: 10%; } .k-bar > i[data-k-pct="15"] { width: 15%; } .k-bar > i[data-k-pct="20"] { width: 20%; } .k-bar > i[data-k-pct="25"] { width: 25%; } .k-bar > i[data-k-pct="30"] { width: 30%; } .k-bar > i[data-k-pct="35"] { width: 35%; } .k-bar > i[data-k-pct="40"] { width: 40%; } .k-bar > i[data-k-pct="45"] { width: 45%; } .k-bar > i[data-k-pct="50"] { width: 50%; } .k-bar > i[data-k-pct="55"] { width: 55%; } .k-bar > i[data-k-pct="60"] { width: 60%; } .k-bar > i[data-k-pct="65"] { width: 65%; } .k-bar > i[data-k-pct="70"] { width: 70%; } .k-bar > i[data-k-pct="75"] { width: 75%; } .k-bar > i[data-k-pct="80"] { width: 80%; } .k-bar > i[data-k-pct="85"] { width: 85%; } .k-bar > i[data-k-pct="90"] { width: 90%; } .k-bar > i[data-k-pct="95"] { width: 95%; } .k-bar > i[data-k-pct="100"] { width: 100%; }

/* ---------- stat tiles ---------- */
.k-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--k-3); }
.k-stat { background: var(--k-surface); border-radius: var(--k-r-m); padding: var(--k-4); box-shadow: var(--k-shadow-1); min-width: 0; }
.k-stat b { display: block; font-family: var(--k-font-display); font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.k-stat span { display: block; color: var(--k-muted); font-size: var(--k-t-foot); margin-top: 4px; line-height: 1.3; }

/* ---------- quick actions ---------- */
.k-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--k-3); }
.k-action { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: var(--k-r-m); background: var(--k-surface); box-shadow: var(--k-shadow-1); text-decoration: none; font-size: var(--k-t-foot); font-weight: 600; text-align: center; line-height: 1.2; }
.k-action .k-tile { width: 44px; height: 44px; }
@media (min-width: 1024px) { .k-action { flex-direction: row; justify-content: flex-start; padding: 14px 16px; font-size: var(--k-t-sub); text-align: left; } }

/* ---------- list rows (grouped, inset) ---------- */
.k-list { background: var(--k-surface); border-radius: var(--k-r-l); box-shadow: var(--k-shadow-1); overflow: hidden; }
.k-list:empty { display: none; }
.k-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px; text-decoration: none; position: relative; }
.k-row + .k-row::before { content: ""; position: absolute; top: 0; left: 70px; right: 0; border-top: 1px solid var(--k-line); }
.k-row-main { flex: 1; min-width: 0; }
.k-row-title { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.k-row-sub { display: block; color: var(--k-muted); font-size: var(--k-t-foot); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-row-sub:empty { display: none; }
.k-row-end { text-align: right; color: var(--k-muted); font-size: var(--k-t-foot); flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.k-row-end b { color: var(--k-text); font-size: var(--k-t-sub); font-variant-numeric: tabular-nums; }
.k-row .k-chev { color: var(--k-faint); width: 18px; height: 18px; }
a.k-row:hover { background: var(--k-surface-2); }
.k-tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--k-brand-soft); color: var(--k-brand); }
.k-tile-ok { background: var(--k-ok-soft); color: var(--k-ok); }
.k-tile-gold { background: color-mix(in srgb, var(--k-gold) 20%, transparent); color: color-mix(in srgb, var(--k-gold) 70%, var(--k-text)); }
.k-tile-dark { background: var(--k-hero); color: var(--k-hero-ink); }
.k-tile-img { background: var(--k-surface-2); overflow: hidden; padding: 0; }
.k-tile-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- badges and status ---------- */
.k-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; max-width: 100%; padding: 3px 10px; border-radius: var(--k-r-pill); font-size: .75rem; font-weight: 700; line-height: 1.25; letter-spacing: .01em; background: var(--k-surface-2); color: var(--k-muted); }
.k-badge:empty { display: none; }
.k-badge-brand { background: var(--k-brand-soft); color: var(--k-brand); }
.k-badge-ok, [data-k-state="ok"] .k-badge-state { background: var(--k-ok-soft); color: var(--k-ok); }
[data-k-state="active"] .k-badge-state { background: var(--k-warn-soft); color: var(--k-warn); }
[data-k-state="new"] .k-badge-state { background: var(--k-info-soft); color: var(--k-info); }
[data-k-state="done"] .k-badge-state { background: var(--k-surface-2); color: var(--k-muted); }
[data-k-state="off"] .k-badge-state { background: var(--k-surface-2); color: var(--k-danger); }
.k-badge-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
[data-k-state="active"] .k-badge-state::before { animation: k-pulse 1.4s ease-in-out infinite; }
@keyframes k-pulse { 50% { opacity: .25; } }

/* ---------- status timeline ---------- */
.k-steps { list-style: none; margin: var(--k-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--k-steps, 4), minmax(0, 1fr)); gap: 6px; }
.k-steps li { overflow-wrap: anywhere; hyphens: auto; font-size: .75rem; font-weight: 600; color: var(--k-faint); padding-top: 12px; position: relative; letter-spacing: .01em; }
.k-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--k-surface-2); }
.k-steps li.k-done { color: var(--k-muted); }
.k-steps li.k-done::before { background: var(--k-brand); }
.k-steps li.k-now { color: var(--k-text); }
.k-steps li.k-now::before { background: var(--k-brand); animation: k-now 1.6s ease-in-out infinite; }
@keyframes k-now { 50% { opacity: .6; } }
@keyframes k-run { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .k-steps li.k-now::before, [data-k-state="active"] .k-badge-state::before, .k-skel { animation: none !important; } }

/* ---------- buttons ---------- */
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: var(--k-r-pill); background: var(--k-brand); color: var(--k-brand-ink); font: 600 1rem/1 var(--k-font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .12s ease, filter .12s ease; -webkit-tap-highlight-color: transparent; }
.k-btn:hover { filter: brightness(1.06); }
.k-btn:active { transform: scale(.98); }
.k-btn-block { display: flex; width: 100%; }
.k-btn-lg { min-height: 56px; font-size: 1.0625rem; }
.k-btn-s { min-height: 44px; padding: 0 16px; font-size: var(--k-t-sub); }
.k-btn-2 { background: var(--k-surface-2); color: var(--k-text); }
.k-btn-ghost { background: transparent; color: var(--k-brand); padding: 0 8px; }
.k-btn-line { background: transparent; color: var(--k-text); box-shadow: inset 0 0 0 1.5px var(--k-line-strong); }
.k-btn[disabled], .k-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.k-btn-row { display: flex; flex-wrap: wrap; gap: var(--k-3); }
/* A join block Page Lemon renders for a plan the member already holds ("You have Coffee pass."). */
span[data-pl-payment="plans"] { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: var(--k-r-pill); background: var(--k-ok-soft); color: var(--k-ok); font-weight: 700; }
form.pl-demo-inline { display: inline; margin: 0; }

/* ---------- forms ---------- */
.k-form { display: grid; gap: var(--k-4); }
.k-field { display: grid; gap: 6px; }
.k-field > label, .k-label { font-size: var(--k-t-foot); font-weight: 600; color: var(--k-muted); letter-spacing: .01em; }
.k-app input[type="text"], .k-app input[type="email"], .k-app input[type="date"], .k-app input[type="number"], .k-app input[type="tel"], .k-app select, .k-app textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--k-r-s); border: 1.5px solid var(--k-line-strong); background: var(--k-surface); color: var(--k-text); font: 400 1.0625rem/1.3 var(--k-font); appearance: none; -webkit-appearance: none; }
.k-app select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23948b81' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.k-app input:focus, .k-app select:focus, .k-app textarea:focus { outline: none; border-color: var(--k-brand); box-shadow: 0 0 0 4px var(--k-brand-soft); }
.k-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--k-3); }
.k-help { font-size: var(--k-t-foot); color: var(--k-muted); line-height: 1.4; }
.k-app input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--k-brand); vertical-align: middle; }

/* The add form's status line Page Lemon writes after a save, and any [role=status] note: a toast. */
.k-app [data-pl-status]:empty { display: none; }
.k-app [data-pl-status]:not(:empty), .k-toast, .k-app .pl-demo-note { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--k-r-m); background: var(--k-hero); color: var(--k-hero-ink); font-weight: 600; font-size: var(--k-t-sub); box-shadow: var(--k-shadow-3); animation: k-in .35s cubic-bezier(.2, .9, .3, 1.2); }
.k-app [data-pl-status]:not(:empty)::before, .k-toast::before, .k-app .pl-demo-note::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--k-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.k-app .pl-demo-note { margin: 0 0 var(--k-4); }
@keyframes k-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---------- sheet (bottom sheet on phones, side panel on desktop) ---------- */
.k-sheet { background: var(--k-surface); border-radius: var(--k-r-xl); box-shadow: var(--k-shadow-2); padding: var(--k-5); }
.k-sheet-grab { display: none; }
@media (min-width: 1024px) { .k-sheet-grab { display: none; } }
.k-sheet h2 { font-size: var(--k-t-3); margin-bottom: var(--k-1); }
.k-sum { display: flex; align-items: center; gap: var(--k-3); padding: var(--k-3); border-radius: var(--k-r-m); background: var(--k-surface-2); }
.k-sum img { width: 56px; height: 56px; border-radius: 14px; }
.k-sum b { display: block; font-size: 1.0625rem; }
.k-sum span { color: var(--k-muted); font-size: var(--k-t-foot); }
.k-sum .k-price { flex: none; margin-left: auto; font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }

/* ---------- empty, loading ---------- */
.k-empty { text-align: center; padding: var(--k-6) var(--k-5); color: var(--k-muted); }
.k-empty .k-empty-art { width: 72px; height: 72px; margin: 0 auto var(--k-4); border-radius: 50%; display: grid; place-items: center; background: var(--k-brand-soft); color: var(--k-brand); }
.k-empty .k-empty-art .k-i { width: 32px; height: 32px; }
.k-empty h3 { color: var(--k-text); font-size: 1.125rem; margin-bottom: 6px; }
.k-empty p { font-size: var(--k-t-sub); max-width: 34ch; margin: 0 auto; }
.k-empty .k-btn { margin-top: var(--k-4); }
.k-skel { background: linear-gradient(90deg, var(--k-surface-2) 0, color-mix(in srgb, var(--k-surface-2) 40%, var(--k-surface)) 50%, var(--k-surface-2) 100%); background-size: 200% 100%; animation: k-shimmer 1.2s linear infinite; border-radius: var(--k-r-s); }
@keyframes k-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- chips ---------- */
.k-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
.k-chips::-webkit-scrollbar { display: none; }
.k-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: var(--k-r-pill); background: var(--k-surface); box-shadow: inset 0 0 0 1px var(--k-line-strong); font-family: var(--k-font); font-weight: 600; font-size: var(--k-t-sub); text-decoration: none; white-space: nowrap; }
.k-chip[aria-current="true"] { background: var(--k-text); color: var(--k-bg); box-shadow: none; }

/* ---------- product cards (menu) ---------- */
.k-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--k-3); }
@media (min-width: 720px) { .k-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--k-4); } }
@media (min-width: 1024px) { .k-split .k-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.k-item { position: relative; display: flex; flex-direction: column; background: var(--k-surface); border-radius: var(--k-r-l); box-shadow: var(--k-shadow-1); overflow: hidden; border: 0; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.k-item:hover { box-shadow: var(--k-shadow-2); }
.k-item:active { transform: scale(.985); }
.k-item[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--k-brand), var(--k-shadow-2); }
.k-item-art { aspect-ratio: 1 / 1; background: var(--k-surface-2); display: block; }
.k-item-art img { width: 100%; height: 100%; object-fit: cover; }
.k-item-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.k-item-name { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.k-item-desc { color: var(--k-muted); font-size: var(--k-t-foot); line-height: 1.35; }
.k-item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.k-item-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.k-item-add { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--k-brand); color: var(--k-brand-ink); }
.k-item-add .k-i { width: 18px; height: 18px; stroke-width: 2.4; }
.k-item[aria-pressed="true"] .k-item-add { background: var(--k-text); color: var(--k-bg); }
.k-item-tag { position: absolute; top: 10px; left: 10px; }

/* ---------- welcome (signed out) ---------- */
.k-welcome { display: grid; gap: var(--k-5); }
.k-welcome-art { margin: 0; position: relative; border-radius: var(--k-r-xl); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--k-shadow-2); background: var(--k-hero); }
.k-welcome-art img { width: 100%; height: 100%; object-fit: cover; }
.k-welcome-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 8, 6, .72)); }
.k-welcome-art figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-weight: 600; font-size: var(--k-t-sub); display: flex; align-items: center; gap: 8px; }
.k-welcome h1 { font-size: var(--k-t-hero); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.k-welcome .k-lead { color: var(--k-muted); font-size: 1.0625rem; margin-top: var(--k-3); max-width: 40ch; }
.k-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--k-3); }
.k-perks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; font-size: var(--k-t-sub); font-weight: 500; }
.k-perks .k-tile { width: 36px; height: 36px; border-radius: 10px; }
@media (min-width: 1024px) { .k-welcome { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; min-height: calc(100vh - 140px); } .k-welcome-art { aspect-ratio: 4 / 4.6; } }

/* ---------- Page Lemon's member blocks ---------- */
/* Scan: counts, the Show my code button, the QR code, status, wallet buttons (docs/contract/member-app.md "Scan a member"). */
.k-scan [data-pl-scan-counts] { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.k-scan [data-pl-scan-counts] li { font-size: var(--k-t-cap); font-weight: 600; padding: 4px 10px; border-radius: var(--k-r-pill); background: rgba(255, 255, 255, .1); }
.k-scan-quiet [data-pl-scan-counts] { display: none; }
.k-scan [data-pl-scan-show], .k-scan [data-pl-scan-demo] { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: var(--k-4); border: 0; border-radius: var(--k-r-pill); background: var(--k-hero-ink); color: var(--k-hero); font: 700 1.0625rem/1 var(--k-font); cursor: pointer; }
.k-scan [data-pl-scan-show]::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='6.5' height='6.5' rx='1.2'/%3E%3Crect x='14' y='3.5' width='6.5' height='6.5' rx='1.2'/%3E%3Crect x='3.5' y='14' width='6.5' height='6.5' rx='1.2'/%3E%3Cpath d='M14 14h2.5v2.5H14zM18 18h2.5v2.5H18z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='6.5' height='6.5' rx='1.2'/%3E%3Crect x='14' y='3.5' width='6.5' height='6.5' rx='1.2'/%3E%3Crect x='3.5' y='14' width='6.5' height='6.5' rx='1.2'/%3E%3Cpath d='M14 14h2.5v2.5H14zM18 18h2.5v2.5H18z'/%3E%3C/svg%3E") center/contain no-repeat; }
.k-scan-light [data-pl-scan-show] { background: var(--k-brand); color: var(--k-brand-ink); }
.k-scan [data-pl-scan-demo] { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; min-height: 48px; margin-top: var(--k-3); font-size: var(--k-t-sub); }
.k-scan [data-pl-scan-code]:not([hidden]) { display: grid; justify-items: center; gap: var(--k-3); margin-top: var(--k-4); padding: var(--k-5); border-radius: var(--k-r-l); background: #fff; color: #1c1916; text-align: center; font-size: var(--k-t-foot); animation: k-in .3s ease; }
.k-scan [data-pl-scan-code]:not([hidden]):empty { min-height: 260px; background: linear-gradient(90deg, #f1ede6 0, #fff 50%, #f1ede6 100%); background-size: 200% 100%; animation: k-shimmer 1.2s linear infinite; }
.k-scan [data-pl-scan-code] svg, .k-scan [data-pl-scan-code] img { width: min(240px, 70vw); height: auto; }
.k-scan [data-pl-scan-code] p { color: #5c554e; max-width: 30ch; }
.k-scan [data-pl-scan-code] button { min-height: 44px; padding: 0 18px; border-radius: var(--k-r-pill); border: 0; background: #1c1916; color: #fff; font: 600 var(--k-t-sub)/1 var(--k-font); cursor: pointer; }
.k-scan [data-pl-scan-status]:empty { display: none; }
.k-scan [data-pl-scan-status] { margin-top: var(--k-3); font-size: var(--k-t-sub); font-weight: 600; text-align: center; }
.k-scan [data-pl-wallet] { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 8px; margin-top: var(--k-3); }
.k-scan [data-pl-wallet] form { margin: 0; }
.k-scan [data-pl-wallet] button { width: 100%; min-height: 48px; padding: 0 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: #000; color: #fff; font: 600 .75rem/1.15 var(--k-font); text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.k-scan [data-pl-wallet] button { justify-content: center; text-align: center; white-space: nowrap; }
.k-scan-light [data-pl-wallet] button { border-color: transparent; }

/* Account: Page Lemon's block (email, plan, devices, billing, leave) as grouped cards. */
.k-account { display: grid; gap: var(--k-3); }
.k-account > p:first-child { background: var(--k-surface); border-radius: var(--k-r-l); padding: var(--k-4) var(--k-5); box-shadow: var(--k-shadow-1); font-size: var(--k-t-sub); color: var(--k-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.k-account > p:first-child b { color: var(--k-text); }
.k-account h3 { font-size: var(--k-t-sub); color: var(--k-text); margin: var(--k-4) 0 0 var(--k-1); font-weight: 700; letter-spacing: -.005em; }
.k-account > h3:first-child { margin-top: 0; }
.k-account ul { list-style: none; margin: 0; padding: 0; background: var(--k-surface); border-radius: var(--k-r-l); box-shadow: var(--k-shadow-1); overflow: hidden; }
.k-account li { padding: 14px 18px; font-size: var(--k-t-sub); }
.k-account li + li { border-top: 1px solid var(--k-line); }
.k-account form { margin: 0; }
.k-account button { min-height: 44px; padding: 0 18px; border-radius: var(--k-r-pill); border: 0; background: var(--k-surface-2); color: var(--k-text); font: 600 var(--k-t-sub)/1 var(--k-font); cursor: pointer; }
.k-account form + form, .k-account ul + form { margin-top: var(--k-2); }
.k-account form:last-of-type:has(input[type="checkbox"]) { margin-top: 0; padding: var(--k-4) var(--k-5); border-radius: var(--k-r-l); background: var(--k-surface); box-shadow: var(--k-shadow-1); font-size: var(--k-t-foot); color: var(--k-muted); display: grid; gap: var(--k-3); }
.k-account form:has(input[type="checkbox"]) button { background: transparent; color: var(--k-danger); box-shadow: inset 0 0 0 1.5px currentColor; justify-self: start; }
.k-account label { display: flex; gap: 10px; align-items: center; }
.k-account small, .k-account > p:last-child { font-size: var(--k-t-foot); color: var(--k-muted); }
.k-account [data-pl-demo-say] { font-size: var(--k-t-foot); color: var(--k-ok); font-weight: 600; margin-top: 6px; }

/* ---------- plans ---------- */
.k-plans { display: grid; gap: var(--k-4); }
@media (min-width: 720px) { .k-plans { grid-template-columns: 1fr 1fr; } }
.k-plan { position: relative; display: flex; flex-direction: column; gap: var(--k-3); background: var(--k-surface); border-radius: var(--k-r-l); padding: var(--k-5); box-shadow: var(--k-shadow-1); }
.k-plan-feature { box-shadow: 0 0 0 2px var(--k-brand), var(--k-shadow-2); }
.k-plan h3 { font-size: 1.125rem; }
.k-plan .k-price { font-family: var(--k-font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.k-plan .k-price small { font-size: var(--k-t-sub); font-weight: 500; color: var(--k-muted); letter-spacing: 0; }
.k-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--k-t-sub); }
.k-plan li { display: flex; gap: 10px; align-items: flex-start; }
.k-plan li .k-i { width: 20px; height: 20px; color: var(--k-ok); stroke-width: 2.4; margin-top: 1px; }
.k-plan .k-btn, .k-plan form, .k-plan span[data-pl-payment="plans"] { margin-top: auto; width: 100%; justify-content: center; }
.k-plan form .k-btn { width: 100%; }

/* ---------- staff screens (the App Gallery's staff side, site/tp/app-demo.js; on a live site these are the
   Dashboard's own scan page and Apps tab) ---------- */
.k-staff { position: fixed; inset: 0; z-index: 90; background: var(--k-bg); overflow-y: auto; display: flex; flex-direction: column; }
.k-staff-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #101012; color: #f3efe8; font-weight: 600; font-size: var(--k-t-sub); }
.k-staff-bar .k-badge { background: rgba(255, 255, 255, .12); color: #fff; }
.k-staff-bar button { margin-left: auto; min-height: 36px; padding: 0 14px; border-radius: var(--k-r-pill); border: 0; background: rgba(255, 255, 255, .14); color: #fff; font: 600 var(--k-t-foot)/1 var(--k-font); cursor: pointer; }
.k-staff-body { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 20px 16px 110px; }
.k-staff-tabs { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--k-surface); border-top: 1px solid var(--k-line); }
.k-staff-tabs button { flex: 1; max-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; border: 0; background: none; color: var(--k-muted); font: 600 .75rem/1.2 var(--k-font); cursor: pointer; }
.k-staff-tabs button[aria-current="page"] { color: var(--k-brand); }
.k-viewfinder { position: relative; aspect-ratio: 1; max-width: 360px; margin: 8px auto 0; border-radius: var(--k-r-xl); background: radial-gradient(circle at 50% 40%, #3a3631, #121110 75%); overflow: hidden; display: grid; place-items: center; }
.k-viewfinder::before { content: ""; position: absolute; inset: 18%; border-radius: 20px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); border: 3px solid rgba(255, 255, 255, .9); }
.k-viewfinder::after { content: ""; position: absolute; left: 20%; right: 20%; top: 50%; height: 2px; background: var(--k-brand); box-shadow: 0 0 16px var(--k-brand); animation: k-scanline 2s ease-in-out infinite alternate; }
@keyframes k-scanline { from { transform: translateY(-80px); } to { transform: translateY(80px); } }
.k-viewfinder .k-phone-code { width: 46%; aspect-ratio: 1; border-radius: 10px; background: #fff; display: grid; place-items: center; color: #111; }
.k-viewfinder .k-phone-code .k-i { width: 70%; height: 70%; stroke-width: 1.4; }
.k-confirm { text-align: center; }
.k-confirm .k-avatar { width: 72px; height: 72px; font-size: 1.5rem; margin: 0 auto var(--k-3); }
.k-confirm h2 { font-size: var(--k-t-2); }
.k-confirm .k-op { font-family: var(--k-font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--k-brand); margin-top: var(--k-4); }
.k-confirm .k-op-sub { color: var(--k-muted); font-weight: 600; }
.k-big-btns { display: grid; gap: var(--k-3); margin-top: var(--k-5); }
.k-big-btns .k-btn { min-height: 64px; font-size: 1.25rem; border-radius: var(--k-r-l); }
.k-btn-ok { background: #1f7a52; color: #fff; }
.k-pick { display: grid; gap: var(--k-3); margin-top: var(--k-4); }
.k-pick button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: var(--k-r-l); border: 0; background: var(--k-surface); box-shadow: var(--k-shadow-1); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.k-pick button[disabled] { opacity: .5; cursor: default; }
.k-pick b { display: block; font-size: 1.0625rem; }
.k-pick span span { color: var(--k-muted); font-size: var(--k-t-foot); }
.k-switch { width: 46px; height: 28px; border-radius: 14px; background: var(--k-ok); position: relative; flex: none; }
.k-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }

/* Column counts for dots and timelines (CSP: no inline style): <ul class="k-dots" data-k-cols="10">. */
[data-k-cols="4"] { --k-dots: 4; --k-steps: 4; } [data-k-cols="5"] { --k-dots: 5; --k-steps: 5; } [data-k-cols="6"] { --k-dots: 6; --k-steps: 6; }
[data-k-cols="7"] { --k-dots: 7; } [data-k-cols="8"] { --k-dots: 8; } [data-k-cols="9"] { --k-dots: 9; } [data-k-cols="10"] { --k-dots: 10; }
[data-k-cols="11"] { --k-dots: 11; } [data-k-cols="12"] { --k-dots: 12; } [data-k-cols="3"] { --k-dots: 3; --k-steps: 3; }

/* ---------- public pages (the landing page and privacy notice: the kit's look without the tab bar) ---------- */
body.k-app.k-public { display: block; }
.k-public .k-top { border-bottom-color: var(--k-line); }
.k-public .k-top .k-brand { display: flex; }
.k-public .k-main { padding-bottom: var(--k-8); }
@media (min-width: 1024px) { .k-public .k-top { padding: 14px max(40px, calc((100vw - var(--k-max)) / 2 + 16px)); min-height: 68px; } .k-public .k-main { padding: 8px 40px 80px; } }
.k-top-links { display: none; gap: 4px; }
.k-top-links a { padding: 8px 12px; border-radius: var(--k-r-pill); text-decoration: none; font-weight: 600; font-size: var(--k-t-sub); color: var(--k-muted); }
.k-top-links a:hover { background: var(--k-surface-2); color: var(--k-text); }
@media (min-width: 900px) { .k-top-links { display: flex; } }
.k-prose { max-width: 68ch; }
.k-prose h1 { font-size: var(--k-t-1); font-weight: 800; margin: var(--k-4) 0 var(--k-4); }
.k-prose h2 { font-size: var(--k-t-3); margin: var(--k-6) 0 var(--k-2); }
.k-prose p, .k-prose li { color: var(--k-text); font-size: var(--k-t-body); line-height: 1.6; }
.k-prose p + p { margin-top: var(--k-3); }
.k-prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.k-prose a { color: var(--k-brand); }
.k-pubfoot { max-width: var(--k-max); margin: 0 auto; padding: var(--k-6) 16px var(--k-7); color: var(--k-muted); font-size: var(--k-t-foot); border-top: 1px solid var(--k-line); display: grid; gap: 6px; }
@media (min-width: 1024px) { .k-pubfoot { padding: var(--k-6) 40px var(--k-7); } }
.k-pubfoot a { color: var(--k-muted); }

/* ---------- small helpers (added with the Cortado pilot) ---------- */
.k-lead { color: var(--k-muted); font-size: 1.0625rem; line-height: 1.5; }
.k-center { text-align: center; }
.k-h3 { font-size: 1.0625rem !important; font-weight: 700; letter-spacing: -.01em; }
.k-row-plain { padding: 10px 0; min-height: 0; }
.k-row-plain .k-row-title, .k-row-plain .k-row-sub { white-space: normal; }
.k-row-plain + .k-row-plain::before { left: 54px; }
.k-card > .k-row-plain { margin-top: 0; }
/* A one-line strip linking to a live item (today's order, next booking). */
.k-strip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: var(--k-4); }
.k-strip .k-row-title { font-size: var(--k-t-sub); }
/* "Again" (repeat) pill link in a row. */
.k-again { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border-radius: var(--k-r-pill); background: var(--k-brand-soft); color: var(--k-brand); font-weight: 700; font-size: .75rem; text-decoration: none; }
/* Profile header: avatar and name. */
.k-profile { display: flex; align-items: center; gap: var(--k-4); }
.k-profile > * + * { margin-top: 0; }
.k-profile b { display: block; font-size: var(--k-t-3); letter-spacing: -.02em; }
.k-profile .k-muted { display: block; font-size: var(--k-t-sub); margin-top: 2px; }
.k-plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--k-2); }
/* An empty-state heading that is the page's h1 (signed-out screens). */
.k-empty h1 { color: var(--k-text); font-size: var(--k-t-2); font-weight: 800; margin-bottom: 8px; }
.k-empty .k-help { margin-top: var(--k-3); }
.k-card.k-empty { padding: var(--k-7) var(--k-5); }
@media (min-width: 1024px) { .k-card.k-empty { max-width: 560px; margin: var(--k-7) auto 0; } }
/* An item list row card for a live item with a timeline (orders, bookings, requests). */
.k-live-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--k-2); }
.k-live-time { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; font-size: var(--k-t-sub); }
.k-live h3 { font-size: var(--k-t-3) !important; margin-top: var(--k-3); }
/* After a save, the add form's status line floats as a toast above the tab bar. */
.k-app form [data-pl-status]:not(:empty) { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(var(--k-tabbar) + 20px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .k-app form [data-pl-status]:not(:empty) { left: auto; right: 32px; bottom: 32px; width: 360px; } }
.k-staff-h { font-size: var(--k-t-1); font-weight: 800; }
.k-staff .k-row .k-avatar { width: 40px; height: 40px; font-size: .875rem; flex: none; }
.k-confirm .k-done-tick { background: var(--k-ok); color: #fff; }
.k-confirm .k-done-tick .k-i { width: 38px; height: 38px; stroke-width: 2.6; }
.k-done-reward { margin-top: var(--k-3); }
.k-confirm .k-op-sub { margin-top: 6px; }
.k-staff .k-row-sub, .k-staff .k-row-title { white-space: normal; }
.k-staff-body > .k-confirm:first-child { padding-top: var(--k-5); }
.k-op-next { display: inline-flex; margin-top: var(--k-3); }
/* A list whose rows wrap instead of truncating (steps, rules, settings). */
.k-list-wrap .k-row-title, .k-list-wrap .k-row-sub { white-space: normal; }
.k-scan-nowallet [data-pl-wallet] { display: none; }
@media (min-width: 1024px) { .k-aside .k-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .k-tabs .k-tabs-brand span { white-space: normal; line-height: 1.25; } }
/* Text links in heads, footers and rows keep a 32 px tap target. */
.k-section-head a, .k-foot a, a.k-row-title, a.k-row-sub { display: inline-flex; align-items: center; min-height: 44px; }
/* Round 2 (pilot review): brand mark ring, top-bar action, hidden scan helper, day chips, account rows, staff queue. */
.k-brand img { box-shadow: 0 0 0 1px var(--k-line-strong); }
.k-top-cta { display: none; }
@media (min-width: 1024px) { .k-top-cta { display: inline-flex; } }
.k-scan-hidden { display: none; }
.k-day-chips { margin: 0; padding: 2px 0 4px; }
.k-day-chips .k-chip { min-height: 44px; cursor: pointer; font: 600 var(--k-t-sub)/1 var(--k-font); color: var(--k-text); border: 0; }
.k-day-chips .k-chip[aria-current="true"] { color: var(--k-bg); }
.k-account > form:not(:has(input:not([type="hidden"]), select, textarea)) > button { display: flex; align-items: center; justify-content: space-between; gap: var(--k-3); width: 100%; min-height: 52px; padding: 0 20px; border-radius: var(--k-r-l); background: var(--k-surface); box-shadow: var(--k-shadow-1); color: var(--k-text); text-align: left; }
.k-account > form:not(:has(input:not([type="hidden"]), select, textarea)) > button::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-top: 2px solid var(--k-muted); border-right: 2px solid var(--k-muted); transform: rotate(45deg); }
.k-account > form:not(:has(input:not([type="hidden"]), select, textarea)) > button:hover { background: var(--k-surface-2); }
.k-account form:has(input:not([type="hidden"]), select, textarea) > button { width: auto; justify-self: start; }
.k-account > h3 + p:not(:last-child) { margin: 0 var(--k-1); max-width: 62ch; color: var(--k-muted); font-size: var(--k-t-sub); line-height: 1.45; }
.k-account > p:first-child form button { min-height: 36px; padding: 0 14px; background: var(--k-surface-2); box-shadow: none; }
.k-app [data-pl-status] a { color: inherit; margin-left: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.k-queue h3 { margin-top: var(--k-2); }
.k-queue-mine { box-shadow: 0 0 0 2px var(--k-brand), var(--k-shadow-1); }
@media (min-width: 1024px) { .k-staff-tabs { left: 50%; right: auto; width: 760px; transform: translateX(-50%); border: 1px solid var(--k-line); border-bottom: 0; border-radius: 20px 20px 0 0; } }
.k-app [data-pl-status] a { white-space: nowrap; }
/* Round 3: a sticky "continue" bar on phones (product pages), saved-toast landing, staff rail on desktop, wrapping strips. */
.k-sticky-cta { position: fixed; z-index: 35; left: 16px; right: 16px; bottom: calc(var(--k-tabbar) + 14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px 0 20px; border-radius: var(--k-r-pill); background: var(--k-text); color: var(--k-bg); text-decoration: none; font-weight: 700; box-shadow: var(--k-shadow-3); transition: opacity .2s, transform .2s; }
.k-sticky-cta span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-sticky-cta b { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--k-r-pill); background: var(--k-brand); color: var(--k-brand-ink); }
.k-sticky-cta.k-off { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (min-width: 1024px) { .k-sticky-cta { display: none; } }
.k-strip .k-row-sub, .k-strip .k-row-title { white-space: normal; }
.k-toast[hidden] { display: none; }
.k-toast { margin-bottom: var(--k-4); }
@media (min-width: 1024px) {
  .k-staff-tabs { top: 52px; bottom: 0; left: 0; right: auto; width: 220px; transform: none; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 16px 12px; border: 0; border-right: 1px solid var(--k-line); border-radius: 0; }
  .k-staff-tabs button { flex: none; max-width: none; flex-direction: row; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: var(--k-t-sub); }
  .k-staff-tabs button[aria-current="page"] { background: var(--k-brand-soft); }
  .k-staff-body { padding: 32px 40px 64px 260px; max-width: 1020px; margin: 0; }
}
@media (min-width: 1024px) { .k-staff .k-stack-s:has(> .k-queue) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .k-staff .k-stack-s:has(> .k-queue) > * + * { margin-top: 0; } }
/* Round 4 (Codex review): draft blanks, read-only settings values, welcome copy before the photo on phones, status
   errors, updated-at line. */
.k-prose .blank, .blank { background: color-mix(in srgb, var(--k-gold) 30%, transparent); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; }
.k-prose .tip { padding: 12px 16px; border-radius: var(--k-r-m); background: var(--k-warn-soft); color: var(--k-text); font-size: var(--k-t-sub); }
.k-value { font-size: var(--k-t-foot); font-weight: 700; color: var(--k-ok); padding: 4px 10px; border-radius: var(--k-r-pill); background: var(--k-ok-soft); }
@media (max-width: 1023px) { .k-welcome .k-welcome-art { order: 2; aspect-ratio: 16 / 10; } .k-welcome > div { order: 1; } }
.k-updated { display: flex; align-items: center; gap: 10px; color: var(--k-muted); font-size: var(--k-t-foot); }
.k-updated a { color: var(--k-brand); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.k-queue-day { font-size: var(--k-t-foot); text-transform: uppercase; letter-spacing: .06em; color: var(--k-muted); font-weight: 700; margin: var(--k-4) 0 var(--k-2); }
/* Round 4 (builders' gaps): file input, reply bubble. */
.k-app input[type="file"] { width: 100%; min-height: 56px; padding: 10px; border-radius: var(--k-r-m); border: 1.5px dashed var(--k-line-strong); background: var(--k-surface); color: var(--k-muted); font: 500 var(--k-t-sub)/1.3 var(--k-font); }
.k-app input[type="file"]::file-selector-button { margin-right: 12px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--k-r-pill); background: var(--k-brand-soft); color: var(--k-brand); font: 700 var(--k-t-sub)/1 var(--k-font); cursor: pointer; }
/* The owner's reply on a member's row: <q class="k-reply" data-pl-field="reply"></q> (empty hides). */
.k-reply { display: block; quotes: none; margin-top: var(--k-3); padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: var(--k-surface-2); color: var(--k-text); font-size: var(--k-t-sub); line-height: 1.45; }
.k-reply::before { content: "Reply"; display: block; font-size: var(--k-t-cap); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--k-muted); margin-bottom: 4px; }
.k-reply::after { content: none; }
.k-reply:empty { display: none; }
/* Round 5 (group gaps): grid children can shrink, form-first splits on phones, staff entries editor. */
.k-grid > *, .k-split > *, .k-items > * { min-width: 0; }
@media (max-width: 1023px) { .k-split.k-form-first { display: flex; flex-direction: column; gap: var(--k-5); } .k-split.k-form-first > * + * { margin-top: 0; } .k-split.k-form-first > .k-aside { order: -1; } }
.k-entry textarea { width: 100%; min-height: 88px; padding: 12px 14px; border-radius: var(--k-r-s); border: 1.5px solid var(--k-line-strong); background: var(--k-surface); color: var(--k-text); font: 400 1rem/1.4 var(--k-font); }
.k-entry .k-pair { margin-top: var(--k-3); }
.k-entry .k-btn { margin-top: var(--k-3); }
/* Round 6 (fitness group): signed-out gate, grid tracks that can shrink at 320 px, aside first, reward-dot label. */
:where(.k-grid) { grid-template-columns: minmax(0, 1fr); }
.k-gate { background: var(--k-surface); border-radius: var(--k-r-l); box-shadow: var(--k-shadow-1); text-align: center; padding: var(--k-7) var(--k-5); color: var(--k-muted); }
.k-gate h1, .k-gate h2 { color: var(--k-text); font-size: var(--k-t-2); font-weight: 800; margin-bottom: 8px; }
.k-gate p { max-width: 36ch; margin: 0 auto; font-size: var(--k-t-sub); }
.k-gate .k-btn { margin-top: var(--k-5); }
@media (min-width: 1024px) { .k-gate { max-width: 560px; margin: var(--k-7) auto 0; } }
@media (max-width: 1023px) { .k-split.k-aside-first { display: flex; flex-direction: column; gap: var(--k-5); } .k-split.k-aside-first > * + * { margin-top: 0; } .k-split.k-aside-first > .k-aside { order: -1; } }
.k-dots li.k-free[data-k-label]::before { content: attr(data-k-label); }
/* Round 7: onboarding hides the tab bar; account block forms as cards. */
body:has(.k-welcome) .k-tabs > a:not(.k-tabs-brand) { display: none; }
@media (max-width: 1023px) { body:has(.k-welcome) .k-tabs { display: none; } body:has(.k-welcome) .k-main { padding-bottom: 40px; } }
.k-account form:has(input[type="text"], select, textarea) { display: grid; gap: 8px; padding: var(--k-4) var(--k-5); border-radius: var(--k-r-l); background: var(--k-surface); box-shadow: var(--k-shadow-1); }
.k-account form:has(input[type="text"], select, textarea) label { font-size: var(--k-t-foot); font-weight: 600; color: var(--k-muted); margin-top: 4px; }
.k-account form:has(input[type="text"], select, textarea) button { justify-self: start; background: var(--k-brand); color: var(--k-brand-ink); margin-top: 6px; }
.k-account > p:last-child small a, .k-account small a { color: var(--k-muted); }
.k-account form:has(input[type="checkbox"]) label { font-size: var(--k-t-sub); color: var(--k-text); }
.k-staff .k-queue-day { grid-column: 1 / -1; }
/* A failed save (Page Lemon's status line with data-state="error"): red, with a cross, and it stays in the form. */
.k-app [data-pl-status][data-state="error"]:not(:empty) { position: static; background: color-mix(in srgb, var(--k-danger) 12%, var(--k-surface)); color: var(--k-text); box-shadow: inset 0 0 0 1.5px var(--k-danger); }
.k-app [data-pl-status][data-state="error"]:not(:empty)::before { background: var(--k-danger) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/12px no-repeat; }
/* Two columns from 720 px for paired cards (.k-grid-2 already); grid tracks never overflow. */
@media (min-width: 1024px) { .k-split .k-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.k-back, .k-icon-btn { min-height: 44px; min-width: 44px; }
.k-app [data-pl-status][data-state="error"]:not(:empty)::after { content: "Try sending again."; margin-left: auto; font-weight: 700; color: var(--k-danger); white-space: nowrap; }
.k-staff-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-staff-bar .k-i { flex: none; }
.k-staff-bar .k-badge, .k-staff-bar button { flex: none; white-space: nowrap; }
/* Round 8 (client-services and operations groups). */
.k-bar[data-k-over] > i { background: var(--k-danger); }
/* Segmented choice: <div class="k-seg" role="radiogroup"><input type="radio" id=… name=…><label for=…>…</label>…</div> */
.k-seg { display: flex; gap: 4px; padding: 4px; border-radius: var(--k-r-pill); background: var(--k-surface-2); }
.k-seg input { position: absolute; opacity: 0; pointer-events: none; }
.k-seg label { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: var(--k-r-pill); font-weight: 600; font-size: var(--k-t-sub); color: var(--k-muted); cursor: pointer; text-align: center; }
.k-seg input:checked + label { background: var(--k-surface); color: var(--k-text); box-shadow: var(--k-shadow-1); }
.k-seg input:focus-visible + label { outline: 3px solid var(--k-brand); }
/* File drop zone: <label class="k-drop"><svg …/><b>Add a photo</b><span>JPEG, PNG or PDF</span><input type="file" …></label> */
.k-drop { display: grid; justify-items: center; gap: 6px; padding: var(--k-5); border-radius: var(--k-r-l); border: 2px dashed var(--k-line-strong); background: var(--k-surface); text-align: center; color: var(--k-muted); font-size: var(--k-t-foot); cursor: pointer; }
.k-drop .k-i { color: var(--k-brand); width: 32px; height: 32px; }
.k-drop b { color: var(--k-text); font-size: var(--k-t-sub); }
.k-drop:focus-within { border-color: var(--k-brand); }
.k-drop input[type="file"] { border: 0; min-height: 0; padding: 0; background: none; }
/* Already answered or booked: <p class="k-already">…</p>; hide a row's action with [data-k-state="done"] .k-hide-done. */
.k-already { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--k-r-m); background: var(--k-ok-soft); color: var(--k-ok); font-weight: 600; font-size: var(--k-t-sub); }
.k-already::before { content: ""; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
[data-k-state="done"] .k-hide-done, [data-k-state="off"] .k-hide-done { display: none; }
/* Signed out (the sign-in block is a link): no app tabs; the rail keeps only the brand. */
body:has(.k-top a.k-signin) .k-tabs > a:not(.k-tabs-brand) { display: none; }
@media (max-width: 1023px) { body:has(.k-top a.k-signin) .k-tabs { display: none; } body:has(.k-top a.k-signin) .k-main { padding-bottom: 40px; } }
@media (min-width: 1024px) { body:has(.k-top a.k-signin) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "main"; } body:has(.k-top a.k-signin) .k-tabs { display: none; } body:has(.k-top a.k-signin) .k-top .k-brand { display: flex; } }
/* Form pairs stack on small phones; two-line row titles; a tab shown only in the desktop rail. */
@media (max-width: 479px) { .k-pair-stack { grid-template-columns: minmax(0, 1fr); } }
.k-row-title-2 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.k-tabs .k-rail-only { display: none; }
@media (min-width: 1024px) { .k-tabs .k-rail-only { display: flex; } }
/* Round 9 (learning group): drop preview, status-coloured replies, upgrade card, standalone plan, global draft marks. */
.k-drop-preview { max-width: 100%; max-height: 220px; border-radius: var(--k-r-m); object-fit: cover; }
span.k-drop-preview { color: var(--k-text); font-weight: 600; }
[data-k-state="ok"] .k-reply { background: var(--k-ok-soft); }
[data-k-state="active"] .k-reply { background: var(--k-warn-soft); }
[data-k-state="new"] .k-reply { background: var(--k-info-soft); }
[data-k-state="off"] .k-reply { background: color-mix(in srgb, var(--k-danger) 10%, var(--k-surface)); }
/* A locked page's upgrade card: <div class="k-upgrade"><span class="k-tile">lock icon</span><h2>…</h2><p>…</p>join button</div> */
.k-upgrade { display: grid; justify-items: start; gap: var(--k-3); padding: var(--k-5); border-radius: var(--k-r-l); background: var(--k-hero); color: var(--k-hero-ink); box-shadow: var(--k-shadow-2); }
.k-upgrade h2 { font-size: var(--k-t-3); }
.k-upgrade p { opacity: .82; font-size: var(--k-t-sub); }
.k-upgrade .k-tile { background: rgba(255, 255, 255, .12); color: var(--k-gold); }
.k-plan-solo { max-width: 440px; }
.tip { padding: 12px 16px; border-radius: var(--k-r-m); background: var(--k-warn-soft); color: var(--k-text); font-size: var(--k-t-sub); }
.k-entry-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--k-r-m); margin-top: var(--k-3); }

/* ==========================================================================================================
   v2 (app redesign 2026-10-22, docs/templates/app-redesign-2026-10-22.md): theming axes so each app has its own
   character, desktop layouts that are not a stretched phone, and calmer primitives. Everything is opt-in except
   two-line row titles; every v1 class keeps working.
   Axes, set on <body class="k-app">: data-k-type, data-k-shape, data-k-surface, data-k-hero, data-k-density,
   data-k-nav (desktop), data-k-tabs (phones), data-k-wide.
   ========================================================================================================== */

/* Row titles wrap to two lines instead of cutting off after 20 characters on phones. */
.k-row-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- type: system stacks only (member pages load no web fonts) ---------- */
:root {
  --k-font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, ui-serif, serif;
  --k-font-rounded: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Varela Round", system-ui, sans-serif;
  --k-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --k-font-grotesk: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --k-font-condensed: "Avenir Next Condensed", "DIN Condensed", Bahnschrift, "Roboto Condensed", "Arial Narrow", sans-serif;
  --k-font-slab: Rockwell, "Roboto Slab", "Courier New", Georgia, serif;
}
.k-app[data-k-type="serif"] { --k-font-display: var(--k-font-serif); --k-head-w: 600; --k-head-ls: -.005em; }
.k-app[data-k-type="rounded"] { --k-font-display: var(--k-font-rounded); --k-head-w: 800; --k-head-ls: -.015em; }
.k-app[data-k-type="mono"] { --k-font-display: var(--k-font-mono); --k-head-w: 700; --k-head-ls: -.03em; }
.k-app[data-k-type="grotesk"] { --k-font-display: var(--k-font-grotesk); --k-head-w: 700; --k-head-ls: -.015em; }
.k-app[data-k-type="condensed"] { --k-font-display: var(--k-font-condensed); --k-head-w: 700; --k-head-ls: 0; --k-head-stretch: condensed; }
.k-app[data-k-type="slab"] { --k-font-display: var(--k-font-slab); --k-head-w: 700; --k-head-ls: -.01em; }
.k-app[data-k-type] :is(h1, h2, h3, .k-big, .k-stat b, .k-price, .k-op, .k-metrics b) { font-family: var(--k-font-display); font-weight: var(--k-head-w); letter-spacing: var(--k-head-ls); font-stretch: var(--k-head-stretch, normal); }
.k-app[data-k-type="condensed"] :is(h1, .k-hero-card h2, .k-big) { text-transform: uppercase; letter-spacing: .01em; }
.k-app[data-k-type] :is(h3) { font-weight: min(var(--k-head-w), 700); }

/* ---------- shape ---------- */
.k-app[data-k-shape="soft"] { --k-r-s: 8px; --k-r-m: 12px; --k-r-l: 14px; --k-r-xl: 18px; --k-r-pill: 12px; }
.k-app[data-k-shape="square"] { --k-r-s: 3px; --k-r-m: 4px; --k-r-l: 6px; --k-r-xl: 8px; --k-r-pill: 4px; }
.k-app[data-k-shape] :is(.k-tile, .k-brand img, .k-tabs a, .k-sum img, .k-viewfinder .k-phone-code) { border-radius: var(--k-r-s); }
.k-app[data-k-shape="square"] .k-avatar { border-radius: var(--k-r-m); }

/* ---------- surface ---------- */
.k-app[data-k-surface="line"] { --k-shadow-1: 0 0 0 1px var(--k-line-strong); --k-shadow-2: 0 0 0 1px var(--k-line-strong), 0 10px 28px rgba(20, 16, 12, .07); }
.k-app[data-k-surface="flat"] { --k-shadow-1: none; --k-shadow-2: none; }
.k-app[data-k-surface="flat"] :is(.k-card, .k-list, .k-table, .k-panel, .k-stat, .k-action, .k-plan) { background: var(--k-surface); }

/* ---------- density ---------- */
.k-app[data-k-density="compact"] { --k-t-body: 1rem; --k-t-1: 1.875rem; --k-t-3: 1.25rem; --k-5: 20px; --k-6: 28px; }
.k-app[data-k-density="compact"] .k-row { min-height: 56px; padding: 11px 14px; }

/* ---------- hero: dark (default), brand (solid brand colour) or paper (light, ruled) ---------- */
/* The hero's own tokens are redefined inside it, so buttons, scan blocks and toasts on it follow. */
.k-app[data-k-hero="brand"] .k-hero-card, .k-hero-card.k-hero-brand { --k-hero: var(--k-brand); --k-hero-ink: var(--k-brand-ink); --k-gold: var(--k-brand-ink); background: radial-gradient(130% 120% at 100% 0%, color-mix(in srgb, #fff 16%, transparent) 0%, transparent 58%), var(--k-brand); }
.k-app[data-k-hero="paper"] .k-hero-card, .k-hero-card.k-hero-paper { --k-hero: var(--k-surface); --k-hero-ink: var(--k-text); background: var(--k-surface); box-shadow: var(--k-shadow-1), inset 0 4px 0 var(--k-brand); }
:is(.k-app[data-k-hero="paper"] .k-hero-card, .k-hero-card.k-hero-paper)::after { border-color: transparent; }
:is(.k-app[data-k-hero="paper"] .k-hero-card, .k-hero-card.k-hero-paper) .k-dots li { border-color: var(--k-line-strong); }
:is(.k-app[data-k-hero="paper"] .k-hero-card, .k-hero-card.k-hero-paper) .k-dots li.k-free::before { color: var(--k-brand); }
:is(.k-app[data-k-hero="paper"] .k-hero-card, .k-hero-card.k-hero-paper) .k-bar { background: var(--k-surface-2); }
:is(.k-app[data-k-hero="paper"] .k-hero-card, .k-hero-card.k-hero-paper) .k-bar > i { background: var(--k-brand); }
:is(.k-app[data-k-hero="paper"] .k-hero-card, .k-hero-card.k-hero-paper) .k-hero-top { color: var(--k-muted); opacity: 1; }
:is(.k-app[data-k-hero="brand"] .k-hero-card, .k-hero-card.k-hero-brand) .k-dots li { border-color: color-mix(in srgb, var(--k-brand-ink) 40%, transparent); }

/* ---------- navigation ---------- */
/* Phones: data-k-tabs="float" (a floating dock, still within the 76 px the demo bar leaves) and/or "ink" (dark). */
@media (max-width: 1023px) {
  .k-app[data-k-tabs~="float"] .k-tabs { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 5px; border-radius: 22px; border: 1px solid var(--k-line); box-shadow: 0 10px 30px rgba(20, 14, 8, .16); }
  .k-app[data-k-tabs~="float"] .k-tabs a { min-height: 50px; border-radius: 17px; }
  .k-app[data-k-tabs~="float"] .k-tabs a[aria-current="page"] { background: var(--k-brand-soft); }
  .k-app[data-k-tabs~="ink"] .k-tabs { background: var(--k-hero); border-color: transparent; }
  .k-app[data-k-tabs~="ink"] .k-tabs a { color: color-mix(in srgb, var(--k-hero-ink) 62%, transparent); }
  .k-app[data-k-tabs~="ink"] .k-tabs a[aria-current="page"] { color: var(--k-hero-ink); background: color-mix(in srgb, var(--k-hero-ink) 14%, transparent); }
}
/* Desktop: data-k-nav="rail-ink" (the rail in the hero colour) or "top" (brand bar plus a tab strip, full-width content). */
@media (min-width: 1024px) {
  .k-app[data-k-nav="rail-ink"] .k-tabs { background: var(--k-hero); border-right: 0; }
  .k-app[data-k-nav="rail-ink"] .k-tabs a { color: color-mix(in srgb, var(--k-hero-ink) 68%, transparent); }
  .k-app[data-k-nav="rail-ink"] .k-tabs a:hover { background: color-mix(in srgb, var(--k-hero-ink) 9%, transparent); color: var(--k-hero-ink); }
  .k-app[data-k-nav="rail-ink"] .k-tabs a[aria-current="page"] { background: color-mix(in srgb, var(--k-hero-ink) 14%, transparent); color: var(--k-hero-ink); box-shadow: inset 3px 0 0 var(--k-gold); }
  .k-app[data-k-nav="rail-ink"] .k-tabs a.k-tabs-brand, .k-app[data-k-nav="rail-ink"] .k-tabs a.k-tabs-brand:hover { color: var(--k-hero-ink); box-shadow: none; }
  .k-app[data-k-nav="rail-ink"] .k-tabs .k-tabs-foot { background: color-mix(in srgb, var(--k-hero-ink) 9%, transparent); color: color-mix(in srgb, var(--k-hero-ink) 78%, transparent); }

  body.k-app[data-k-nav="top"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "top" "nav" "main"; }
  .k-app[data-k-nav="top"] { --k-gutter: max(40px, calc((100% - var(--k-max)) / 2 + 40px)); }
  .k-app[data-k-nav="top"] .k-top { position: static; padding: 14px var(--k-gutter); min-height: 68px; }
  .k-app[data-k-nav="top"] .k-top .k-brand { display: flex; font-size: 1.0625rem; }
  .k-app[data-k-nav="top"] .k-tabs { grid-area: nav; position: sticky; top: 0; height: auto; flex-direction: row; align-items: stretch; gap: 2px; padding: 0 var(--k-gutter); border-right: 0; border-bottom: 1px solid var(--k-line); background: color-mix(in srgb, var(--k-surface) 92%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
  .k-app[data-k-nav="top"] .k-tabs .k-tabs-brand, .k-app[data-k-nav="top"] .k-tabs .k-tabs-foot { display: none; }
  .k-app[data-k-nav="top"] .k-tabs a { gap: 10px; min-height: 54px; padding: 0 16px; border-radius: 0; color: var(--k-muted); }
  .k-app[data-k-nav="top"] .k-tabs a .k-i { width: 20px; height: 20px; }
  .k-app[data-k-nav="top"] .k-tabs a:hover { background: none; color: var(--k-text); }
  .k-app[data-k-nav="top"] .k-tabs a[aria-current="page"] { background: none; color: var(--k-text); box-shadow: inset 0 -3px 0 var(--k-brand); }
  .k-app[data-k-nav="top"] .k-tabs .k-rail-only { margin-left: auto; }
  .k-app[data-k-nav="top"] .k-main { padding: 8px var(--k-gutter) 64px; max-width: none; }
}
/* Wider content for boards and tables. */
.k-app[data-k-wide] { --k-max: 1320px; }
/* A note at the foot of the desktop rail (help line, opening hours); hidden on phones and with top navigation. */
.k-tabs .k-tabs-foot { display: none; }
@media (min-width: 1024px) { .k-tabs .k-tabs-foot { display: block; margin-top: auto; padding: 14px; border-radius: var(--k-r-m); background: var(--k-surface-2); color: var(--k-muted); font-size: var(--k-t-foot); line-height: 1.4; } .k-tabs .k-tabs-foot b { display: block; color: inherit; font-size: var(--k-t-sub); } .k-tabs .k-tabs-foot a { display: inline; min-height: 0; padding: 0; color: inherit; font-weight: 700; } }

/* ---------- page header with actions ---------- */
.k-pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--k-3) var(--k-5); margin: var(--k-3) 0 var(--k-5); }
.k-pagehead > div:first-child { min-width: 0; }
.k-pagehead h1 { font-size: var(--k-t-1); font-weight: 800; line-height: 1.08; }
.k-pagehead p { color: var(--k-muted); font-size: var(--k-t-sub); margin-top: 6px; max-width: 60ch; }
.k-pagehead .k-kicker { margin: 0 0 4px; }
.k-pagehead-actions { display: flex; flex-wrap: wrap; gap: var(--k-2); }
@media (min-width: 1024px) { .k-pagehead { margin: var(--k-5) 0 var(--k-6); } .k-pagehead h1 { font-size: var(--k-t-hero); } }

/* ---------- board: 12 columns from 1024 px; stacks on phones ---------- */
.k-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--k-5); align-items: start; }
.k-board > * { min-width: 0; }
.k-col { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.k-col > * + * { margin-top: var(--k-5); }
@media (min-width: 1024px) {
  .k-board { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
  .k-board > * { grid-column: span 12; }
  .k-board > .k-span-3 { grid-column: span 3; } .k-board > .k-span-4 { grid-column: span 4; } .k-board > .k-span-5 { grid-column: span 5; }
  .k-board > .k-span-6 { grid-column: span 6; } .k-board > .k-span-7 { grid-column: span 7; } .k-board > .k-span-8 { grid-column: span 8; } .k-board > .k-span-9 { grid-column: span 9; }
  .k-board > .k-span-12 { grid-column: 1 / -1; }
  .k-board > .k-sticky { position: sticky; top: 96px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .k-board > .k-span-3 { grid-column: span 6; } .k-board > .k-span-4 { grid-column: span 5; } .k-board > .k-span-8 { grid-column: span 7; } .k-board > .k-span-9 { grid-column: span 12; }
}

/* ---------- panel: a card with a ruled header ---------- */
.k-panel { background: var(--k-surface); border-radius: var(--k-r-l); box-shadow: var(--k-shadow-1); overflow: hidden; }
.k-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--k-3); min-height: 56px; padding: 8px var(--k-5); border-bottom: 1px solid var(--k-line); }
.k-panel-head h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.k-panel-head a { display: inline-flex; align-items: center; min-height: 44px; color: var(--k-brand); font-weight: 600; font-size: var(--k-t-sub); text-decoration: none; }
.k-panel-body { padding: var(--k-4) var(--k-5) var(--k-5); }
.k-panel-body > * + * { margin-top: var(--k-3); }
.k-panel > :is(.k-list, .k-table) { box-shadow: none; border-radius: 0; }

/* ---------- table: rows of records; a real table from 1024 px, a compact two-line row on phones ---------- */
/* <div class="k-table" (columns: --k-cols in styles.css)><div class="k-thead"><span>…</span>…</div>
   <a class="k-tr" href=…><span class="k-td k-td-main">…</span><span class="k-td" data-label="Room">…</span>…<span class="k-td k-td-end">…</span></a></div> */
.k-table { --k-cols: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); background: var(--k-surface); border-radius: var(--k-r-l); box-shadow: var(--k-shadow-1); overflow: hidden; }
.k-table:empty { display: none; }
.k-thead { display: none; }
.k-tr { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 16px; color: inherit; text-decoration: none; }
.k-tr::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
.k-tr + .k-tr, .k-thead + .k-tr { border-top: 1px solid var(--k-line); }
.k-thead + .k-tr { border-top: 0; }
a.k-tr:hover { background: var(--k-surface-2); }
.k-td { min-width: 0; order: 2; color: var(--k-muted); font-size: var(--k-t-foot); }
.k-td[data-label]::before { content: attr(data-label) " "; color: var(--k-faint); font-weight: 600; }
.k-td:empty { display: none; }
.k-td-main { order: 0; flex: 1 1 55%; color: var(--k-text); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.k-td-main small { display: block; margin-top: 2px; color: var(--k-muted); font-size: var(--k-t-foot); font-weight: 400; letter-spacing: 0; }
.k-td-end { order: 0; flex: none; margin-left: auto; text-align: right; }
.k-td-num { font-variant-numeric: tabular-nums; }
.k-tr .k-empty, .k-table > .k-empty { flex-basis: 100%; }
@media (min-width: 1024px) {
  .k-thead { display: grid; grid-template-columns: var(--k-cols); gap: 16px; align-items: center; min-height: 42px; padding: 0 20px; background: var(--k-surface-2); color: var(--k-muted); font-size: var(--k-t-cap); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .k-thead > :last-child:not(:first-child) { text-align: right; }
  .k-tr { display: grid; grid-template-columns: var(--k-cols); gap: 16px; align-items: center; min-height: 60px; padding: 12px 20px; }
  .k-tr::after { content: none; }
  .k-tr > * { order: 0; }
  .k-td { font-size: var(--k-t-sub); }
  .k-td[data-label]::before { content: none; }
  .k-td:empty { display: block; }
  .k-td-main { font-size: 1rem; }
  .k-td-end { margin-left: 0; justify-self: end; }
}

/* ---------- vertical timeline: <ol class="k-steps k-steps-v"> (kit.js marks the steps as for .k-steps) ---------- */
.k-steps.k-steps-v { grid-template-columns: minmax(0, 1fr); gap: 0; }
.k-steps-v li { padding: 0 0 18px 30px; font-size: var(--k-t-sub); color: var(--k-muted); }
.k-steps-v li:last-child { padding-bottom: 0; }
.k-steps-v li::before { top: 3px; left: 0; right: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--k-surface); box-shadow: inset 0 0 0 2px var(--k-line-strong); }
.k-steps-v li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--k-line-strong); }
.k-steps-v li:last-child::after { content: none; }
.k-steps-v li.k-done::before { background: var(--k-brand); box-shadow: none; }
.k-steps-v li.k-done::after { background: var(--k-brand); }
.k-steps-v li.k-now { color: var(--k-text); }
.k-steps-v li.k-now::before { background: var(--k-surface); box-shadow: inset 0 0 0 5px var(--k-brand); animation: none; }
.k-steps-v li small { display: block; margin-top: 2px; color: var(--k-muted); font-size: var(--k-t-foot); font-weight: 400; letter-spacing: 0; }
.k-steps-v li:not(.k-done):not(.k-now) small { color: var(--k-faint); }

/* ---------- callout: info, warn, danger, ok (emergency lines, deadlines, rules that matter) ---------- */
.k-callout { --k-c: var(--k-info); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 14px 16px; border-radius: var(--k-r-l); background: color-mix(in srgb, var(--k-c) 11%, var(--k-surface)); color: var(--k-text); text-decoration: none; font-size: var(--k-t-sub); }
.k-callout > .k-tile { grid-row: span 3; background: var(--k-c); color: #fff; }
.k-callout b { display: block; font-size: 1rem; }
.k-callout span { display: block; color: var(--k-muted); font-size: var(--k-t-foot); }
.k-callout .k-callout-num { color: var(--k-c); font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-callout-danger { --k-c: var(--k-danger); } .k-callout-warn { --k-c: var(--k-warn); } .k-callout-ok { --k-c: var(--k-ok); }

/* ---------- key and value pairs; inline metrics ---------- */
.k-kv { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: var(--k-t-sub); }
.k-kv dt { color: var(--k-muted); }
.k-kv dd { margin: 0; color: var(--k-text); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.k-metrics { display: flex; flex-wrap: wrap; gap: var(--k-4) 0; }
.k-metrics > * { flex: 1 1 0; min-width: 6.5rem; padding: 0 var(--k-4); border-left: 1px solid var(--k-line-strong); }
.k-metrics > :first-child { padding-left: 0; border-left: 0; }
.k-metrics b { display: block; font-family: var(--k-font-display); font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.k-metrics span { display: block; margin-top: 4px; color: var(--k-muted); font-size: var(--k-t-foot); line-height: 1.3; }
.k-metrics b span { display: inline; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.k-hero-card .k-metrics > * { border-color: color-mix(in srgb, var(--k-hero-ink) 22%, transparent); }
.k-hero-card .k-metrics span { color: inherit; opacity: .75; }

/* ---------- ticket: an order or entry as a torn ticket (<div class="k-ticket"><div>top</div><div>stub</div></div>) ---------- */
.k-ticket { display: flex; flex-direction: column; filter: drop-shadow(0 1px 1px rgba(20, 14, 8, .07)) drop-shadow(0 8px 16px rgba(20, 14, 8, .08)); }
.k-ticket > * { background: var(--k-surface); padding: var(--k-5); }
.k-ticket > :first-child { border-radius: var(--k-r-l) var(--k-r-l) 0 0; -webkit-mask: radial-gradient(circle 12px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 12px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat; }
.k-ticket > :last-child { border-radius: 0 0 var(--k-r-l) var(--k-r-l); border-top: 2px dashed var(--k-line-strong); -webkit-mask: radial-gradient(circle 12px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 12px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat; }
.k-ticket > :only-child { border-radius: var(--k-r-l); border-top: 0; -webkit-mask: none; mask: none; }
.k-app[data-k-surface="line"] .k-ticket { filter: drop-shadow(0 0 .5px var(--k-text)) drop-shadow(0 0 .5px var(--k-text)); }

/* ---------- media card: the photo or artwork is the hero (galleries, letters, lessons, episodes) ---------- */
.k-media { position: relative; display: block; min-height: 260px; overflow: hidden; border-radius: var(--k-r-xl); background: var(--k-hero); color: #fff; text-decoration: none; box-shadow: var(--k-shadow-2); }
.k-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .74)); }
.k-media-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: inherit; padding: var(--k-5); }
.k-media-body h2 { font-size: var(--k-t-2); line-height: 1.1; }
.k-media-body p { opacity: .86; font-size: var(--k-t-sub); }
@media (min-width: 1024px) { .k-media { min-height: 380px; } }

/* ---------- compact heading (a greeting that doesn't take the first screen) ---------- */
.k-head-s { margin: var(--k-2) 0 var(--k-4); }
.k-head-s h1 { font-size: var(--k-t-2); }

/* Review round 1: footers sit on one line; empty timeline tracks visible in dark; callout tint readable in dark. */
.k-foot { align-items: center; }
.k-steps:not(.k-steps-v) li::before { background: var(--k-line-strong); }
.k-steps:not(.k-steps-v) li.k-done::before, .k-steps:not(.k-steps-v) li.k-now::before { background: var(--k-brand); }
@media (prefers-color-scheme: dark) { .k-callout { background: color-mix(in srgb, var(--k-c) 22%, var(--k-surface)); } }

/* ---------- kit v3 (2026-10-23) ---------- */
/* A timeline with no steps takes no room. */
.k-steps:not(:has(li)) { display: none; }
/* Dark mode: the primary button a step quieter than the brand (a template's own .k-btn rule still wins). */
@media (prefers-color-scheme: dark) {
  .k-btn:where(:not(.k-btn-2, .k-btn-line, .k-btn-ghost, .k-btn-ok, .k-hero-card .k-btn)) { background: color-mix(in srgb, var(--k-brand) 84%, var(--k-bg)); }
}
/* Account parts (data-pl-sign-in="account" data-pl-part="signin|profile|billing|leave", one per .k-board cell): a part
   with nothing to show (no profile fields, no paid plan, signed out) renders empty and is hidden. */
.k-account:empty { display: none; }
.k-board > .k-account { align-content: start; }
