/* Ink & Citron. Light is the default; dark is a full pair. "auto" follows the system. */
:root {
  --bg: #f4f5f0;
  --surface: #ffffff;
  --surface-2: #eceee6;
  --line: #e1e4da;
  --text: #14160c;
  --muted: #5f6656;
  --accent: #c9e63a;
  --accent-ink: #5f6b00;
  --on-accent: #14160c;
  --link: #5f6b00;
  --alert: #b4430e;
  --ok: #0e7c5a;
  --danger: #b42318;
  --shadow: 0 14px 32px rgba(20, 22, 12, 0.10);
  --shadow-sm: 0 1px 2px rgba(20, 22, 12, 0.06), 0 4px 14px rgba(20, 22, 12, 0.05);
  --r-sm: 12px;
  --r-md: 16px;
  --r-full: 999px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --tap: 44px;
  --nav: 240px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b0c0e;
  --surface: #15171a;
  --surface-2: #1d2024;
  --line: #2a2e34;
  --text: #f4f6f8;
  --muted: #9aa3ae;
  --accent: #d8f24b;
  --accent-ink: #d8f24b;
  --on-accent: #14160c;
  --link: #d8f24b;
  --alert: #ff8a5b;
  --ok: #5be3a7;
  --danger: #ff6b6b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0b0c0e;
    --surface: #15171a;
    --surface-2: #1d2024;
    --line: #2a2e34;
    --text: #f4f6f8;
    --muted: #9aa3ae;
    --accent: #d8f24b;
    --accent-ink: #d8f24b;
    --on-accent: #14160c;
    --link: #d8f24b;
    --alert: #ff8a5b;
    --ok: #5be3a7;
    --danger: #ff6b6b;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--link); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.screen {
  max-width: 560px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px calc(88px + env(safe-area-inset-bottom));
  min-height: 100vh;
}
.screen--auth {
  display: flex;
  align-items: center;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

/* Header */
.topbar { display: flex; align-items: center; gap: 12px; padding: 6px 4px 18px; }
.topbar__text { flex-grow: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar__title { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.topbar__sub {
  font-size: 12px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mark {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 11px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}

/* Auth */
.auth { width: 100%; display: flex; flex-direction: column; gap: 18px; }
.auth__head { display: flex; flex-direction: column; gap: 8px; }
.auth__title { margin: 8px 0 0; font-size: 28px; font-weight: 780; letter-spacing: -0.03em; }
.auth__sub { margin: 0; color: var(--muted); }
.auth__foot { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field__hint { font-size: 12px; color: var(--muted); }
.field__input {
  min-height: var(--tap);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(216 242 75 / 18%); outline: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 12px 18px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-weight: 650; cursor: pointer;
  transition: transform 140ms var(--ease), filter 140ms var(--ease), background 140ms var(--ease);
}
.button:active { transform: scale(0.98); }
.button--primary { background: var(--accent); color: var(--on-accent); }
.button--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.button--quiet { background: transparent; border: none; color: var(--muted); padding: 10px 12px; min-height: var(--tap); }
.button--danger { background: transparent; border-color: var(--line); color: var(--danger); }

.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex-grow: 1; height: 1px; background: var(--line); }

.alert {
  margin: 0; padding: 12px 14px;
  border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); color: var(--alert);
  font-size: 14px; font-weight: 600;
}

/* Sections, lists, cards */
.section { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.section__title {
  margin: 0; font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.card {
  padding: 15px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.row {
  display: flex; align-items: center; gap: 12px;
  min-height: var(--tap); padding: 14px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  color: var(--text);
  transition: transform 150ms var(--ease), border-color 150ms var(--ease);
}
.row:active { transform: scale(0.99); border-color: var(--accent); }
.row__body { flex-grow: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row__title { font-size: 15px; font-weight: 650; }
.row__meta { font-size: 12.5px; color: var(--muted); }
.badge {
  padding: 3px 8px; border-radius: var(--r-full);
  background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 700;
}
.badge--quiet { background: var(--surface-2); color: var(--muted); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  padding: 9px 14px; min-height: 36px; white-space: nowrap;
  border-radius: var(--r-full); border: 1px solid var(--line);
  background: var(--surface); color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.empty { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 22px 18px;
  border-radius: var(--r-md); border: 1px dashed var(--line); background: var(--surface); }
.empty__title { margin: 0; font-weight: 700; }
.empty__body { margin: 0; color: var(--muted); font-size: 14px; }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* Toggle: a real checkbox, drawn as an iOS switch */
.toggle { display: flex; align-items: center; gap: 14px; min-height: var(--tap); cursor: pointer; }
.toggle__text { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.toggle__label { font-size: 15px; font-weight: 600; }
.toggle__hint { font-size: 12.5px; color: var(--muted); }
.toggle__input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__track {
  position: relative; flex-shrink: 0;
  width: 51px; height: 31px; border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--line);
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}
.toggle__track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--text); box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.toggle__input:checked + .toggle__track { background: var(--accent); border-color: var(--accent); }
.toggle__input:checked + .toggle__track::after { transform: translateX(20px); background: var(--on-accent); }
.toggle__input:focus-visible + .toggle__track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.tab {
  flex-grow: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-height: var(--tap); padding: 6px 0; color: var(--muted); font-size: 11px; font-weight: 500;
}
.tab[aria-current="page"] { color: var(--accent-ink); font-weight: 650; }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: var(--bg);
}
.splash__name { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.splash[hidden] { display: none; }

/* Skeletons and motion */
.skeleton { background: var(--surface-2); border-radius: var(--r-md); min-height: 64px; }

@media (prefers-reduced-motion: no-preference) {
  .splash { animation: fade-out 260ms var(--ease) 500ms forwards; }
  .list > li { animation: rise 240ms var(--ease) both; }
  .list > li:nth-child(2) { animation-delay: 20ms; }
  .list > li:nth-child(3) { animation-delay: 40ms; }
  .list > li:nth-child(4) { animation-delay: 60ms; }
  .list > li:nth-child(n + 5) { animation-delay: 80ms; }
  .skeleton { animation: pulse 1.4s ease-in-out infinite; }
}

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }
@keyframes pulse { 50% { opacity: 0.55; } }

.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.steps__item { line-height: 1.5; }
.steps__item strong { color: var(--text); }
.field__input--code {
  font-size: 22px; font-weight: 700; letter-spacing: 0.32em; text-align: center; text-transform: uppercase;
}

.times { display: flex; gap: 12px; }
.times .field { flex-grow: 1; }
.notice {
  margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--ok); font-size: 14px; font-weight: 650;
}
.card .toggle + .toggle { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

.section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.button--small { padding: 8px 12px; font-size: 13px; min-height: 36px; }
.avatar {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px;
  background: var(--surface-2); color: var(--text);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}
.row__chevron { color: var(--muted); flex-shrink: 0; }

.memory {
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.memory__head { display: flex; flex-wrap: wrap; gap: 6px; }
.memory__title { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.35; }
.memory__body { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.memory__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.memory__author { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.memory--new { border-color: var(--accent); }

.tag {
  padding: 3px 9px; border-radius: var(--r-full);
  background: var(--surface-2); color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: capitalize;
}
.tag--decision { background: var(--accent); color: var(--on-accent); }
.tag--action_item { background: color-mix(in srgb, var(--ok) 22%, transparent); color: var(--ok); }
.tag--due { background: color-mix(in srgb, var(--alert) 18%, transparent); color: var(--alert); }
.tag--quiet { background: var(--surface-2); color: var(--muted); }

.alert-card { display: flex; flex-direction: column; gap: 6px; border-left: none; }
.tabbar .tab--form { display: flex; }
.tab__button {
  flex-grow: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: none; color: var(--muted); font: inherit; font-size: 11px;
  min-height: var(--tap); cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .memory--new { animation: rise 260ms var(--ease) both; }
}

.select {
  min-height: var(--tap); padding: 10px 12px;
  border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
}

.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.turn { padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); }
.turn--user { background: var(--surface-2); margin-left: 28px; }
.turn--assistant { background: var(--surface); }
.turn__text { margin: 0; white-space: pre-line; line-height: 1.5; }
.turn__sources { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }

.composer {
  position: fixed; left: 0; right: 0; bottom: calc(68px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; padding: 10px 16px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}
.composer__input {
  flex-grow: 1; min-height: var(--tap); padding: 12px 14px;
  border-radius: var(--r-full); border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit;
}
.composer__send { border-radius: var(--r-full); }
.thinking {
  position: fixed; left: 16px; bottom: calc(126px + env(safe-area-inset-bottom));
  margin: 0; font-size: 12.5px; color: var(--muted); opacity: 0;
  transition: opacity 150ms var(--ease);
}
.htmx-request .thinking, .thinking.htmx-request { opacity: 1; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px 18px; text-align: center;
  border: 1.5px dashed var(--line); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  color: var(--muted);
}
.dropzone__title { margin: 4px 0 0; color: var(--text); font-weight: 650; }
.dropzone__hint { margin: 0 0 6px; font-size: 12.5px; }
.form--inline { flex-direction: row; gap: 8px; margin-top: 10px; }
.form--inline .field__input { flex-grow: 1; }
.avatar--doc { font-size: 11px; letter-spacing: 0.04em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; }
.stat__value { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__value--bad { color: var(--danger); }
.stat__label { font-size: 12px; color: var(--muted); font-weight: 600; }
.usage, .person { display: flex; flex-direction: column; gap: 6px; }
.usage__head, .person__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.usage__meta { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.person__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.person--waiting { border-color: var(--alert); }
.turn--writing .turn__text::after {
  content: ""; display: inline-block; width: 6px; height: 14px; margin-left: 4px;
  background: var(--accent); vertical-align: -2px; animation: blink 900ms steps(2) infinite;
}
@keyframes blink { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .turn--writing .turn__text::after { animation: none; } }
.bridge { display: flex; flex-direction: column; gap: 6px; }
.bridge__qr { border-radius: var(--r-md); background: #fff; padding: 8px; align-self: flex-start; margin: 6px 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }


/* Icon buttons and the header row */
.iconbtn {
  width: var(--tap); height: var(--tap); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-full); border: none; background: transparent; color: var(--text);
  cursor: pointer; transition: background 150ms var(--ease), transform 150ms var(--ease);
}
.iconbtn:hover { background: var(--surface-2); }
.iconbtn:active { transform: scale(0.94); }
.iconbtn--primary { background: var(--accent); color: var(--on-accent); }
.iconbtn--primary:hover { background: var(--accent); filter: brightness(0.97); }
.topbar__actions { display: flex; gap: 2px; margin-left: auto; }
.topbar { padding: 4px 0 16px; }
.topbar__title { font-size: 20px; }
.button { display: inline-flex; align-items: center; gap: 8px; }
.button svg { flex-shrink: 0; }

/* Cards read as surfaces, not boxes */
.card, .row, .turn, .empty { box-shadow: var(--shadow-sm); }
.row { transition: transform 150ms var(--ease), border-color 150ms var(--ease); }

/* Profile */
.segmented { display: flex; padding: 3px; border-radius: var(--r-full); background: var(--surface-2); }
.segmented__item { flex: 1; position: relative; }
.segmented__item input { position: absolute; opacity: 0; pointer-events: none; }
.segmented__item span {
  display: flex; align-items: center; justify-content: center; min-height: 38px;
  border-radius: var(--r-full); font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.segmented__item input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.profile__head { display: flex; align-items: center; gap: 14px; padding: 6px 0 12px; }
.profile__avatar {
  width: 56px; height: 56px; border-radius: var(--r-full); background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
}
.profile__name { margin: 0; font-size: 18px; font-weight: 750; }
.profile__email { margin: 0; color: var(--muted); font-size: 13.5px; }

/* Empty state that guides */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 40px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm);
}
.hero__icon {
  width: 64px; height: 64px; border-radius: 20px; background: var(--surface-2); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.hero__title { margin: 6px 0 0; font-size: 18px; font-weight: 750; }
.hero__body { margin: 0; color: var(--muted); font-size: 14px; max-width: 34ch; }

/* Rendered answers */
.turn__text ul { margin: 6px 0; padding-left: 20px; }
.turn__text li { margin: 2px 0; }
.turn__text code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--surface-2); padding: 1px 5px; border-radius: 6px; }
.turn__text a { text-decoration: underline; }

/* Desktop: sidebar navigation and wider content */
@media (min-width: 900px) {
  .tabbar {
    top: 0; right: auto; width: var(--nav); flex-direction: column; align-items: stretch; gap: 4px;
    padding: 20px 14px; border-top: none; border-right: 1px solid var(--line);
    background: var(--surface); backdrop-filter: none;
  }
  .tab, .tab__button {
    flex-grow: 0; flex-direction: row; justify-content: flex-start; gap: 12px;
    padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px;
  }
  .tab[aria-current="page"] { background: var(--surface-2); }
  .tab:hover, .tab__button:hover { background: var(--surface-2); }
  .tabbar__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-weight: 800; letter-spacing: -0.02em; }
  .screen { margin-left: var(--nav); max-width: none; padding: 28px 40px 60px; }
  .screen > * { max-width: 760px; }
  .screen--auth { margin-left: 0; max-width: 480px; margin-inline: auto; }
  .composer { left: var(--nav); bottom: 0; max-width: none; padding: 14px 40px 22px; }
  .composer > * { max-width: 760px; }
  .composer__input { flex-grow: 1; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) { .tabbar__brand { display: none; } }
@media (min-width: 1100px) {
  .screen > * { max-width: 1040px; }
  .composer > * { max-width: 1040px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
  .split > .section { margin-bottom: 0; }
}
.row--failed { border-color: var(--alert); }

.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 12px; }
.calendar__head { font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; text-transform: uppercase; letter-spacing: 0.04em; }
.calendar__day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 40px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.calendar__day--pad { visibility: hidden; }
.calendar__day--today { background: var(--accent); color: var(--on-accent); }
.calendar__day--busy:not(.calendar__day--today) { background: var(--surface-2); }
.calendar__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.section__head--center .section__title { flex-grow: 1; text-align: center; }

/* Horizontal strips (coming up on home) */
.strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip__item { flex: 0 0 240px; scroll-snap-align: start; }
.strip__more { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--accent-ink); font-weight: 650; flex-basis: 120px; }
.strip .memory__body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Link page: the platform decides the accent */
[data-platform-pick] { --platform: #26A5E4; }
[data-platform-pick].is-whatsapp { --platform: #25D366; }
.platform-card { border-left: 4px solid var(--platform); }
[data-platform-pick] .segmented__item input:checked + span { color: var(--platform); }

.review { margin-top: 6px; }
.review summary { cursor: pointer; list-style: none; display: inline-block; }
.review__body { margin-top: 8px; font-size: 13.5px; color: var(--text); }
.review__body ul { margin: 0; padding-left: 18px; }
