/* ============================================================================
   Eva Inbox -- Design System condiviso (dark-elegant, WEB / schermo)
   Derivato dalla palette sageo_dark canonica, adattato a UI interattiva.
   Usato da tutte e 4 le varianti-UI dell'inbox (triage, sessioni, chat, digest).

   Palette:  bg #0a0a12 / card #11111c / raised #1a1a2a / border #2a2a3a
   Testo:    body #d4d4dc / tenue #a8a8b8 / forte #f4f4f8
   Accenti:  oro #c9a961 (primario) / teal #00bcd4 (info) /
             rosso #d97a7a (urgente) / giallo #d9b15a (media) / verde #7ad9a8 (fatto)
   Font:     Inter (corpo) / Fraunces serif (display) / JetBrains Mono (dati/label)
   ==========================================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ============================== Tokens ================================== */
:root {
  /* superfici */
  --bg:            #0a0a12;
  --bg-veil:       #07070d;
  --surface:       #11111c;
  --surface-2:     #161622;
  --raised:        #1a1a2a;
  --raised-hover:  #20202f;
  --border:        #2a2a3a;
  --border-soft:   #1f1f2c;
  --border-strong: #38384a;

  /* testo */
  --text:          #d4d4dc;
  --text-dim:      #a8a8b8;
  --text-mute:     #6b6b7a;
  --text-strong:   #f4f4f8;

  /* accenti */
  --gold:          #c9a961;
  --gold-soft:     #e0c583;
  --teal:          #00bcd4;
  --teal-soft:     #4dd6e8;
  --red:           #d97a7a;
  --yellow:        #d9b15a;
  --green:         #7ad9a8;

  /* accenti su fondo (tinte scure per badge) */
  --red-bg:        #2e1616;
  --yellow-bg:     #2e2416;
  --teal-bg:       #12252e;
  --green-bg:      #14281f;
  --gold-bg:       #251f12;
  --violet:        #a892d9;
  --violet-bg:     #201a2e;

  /* raggi, ombre, ritmo */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 6px 22px rgba(0,0,0,.45);
  --shadow-3: 0 18px 48px rgba(0,0,0,.55);
  --glow-gold: 0 0 0 1px rgba(201,169,97,.35), 0 8px 30px rgba(201,169,97,.10);

  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: .18s;

  /* tipografia */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --space: 8px;
  --maxw: 1240px;
}

/* ============================== Reset =================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 82% -8%, rgba(201,169,97,.06), transparent 60%),
    radial-gradient(1000px 620px at -6% 4%, rgba(0,188,212,.05), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; color: var(--text-strong); }
p { margin: 0 0 .7em 0; }
a { color: var(--teal); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--teal-soft); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--r-sm); }
::selection { background: rgba(201,169,97,.28); color: var(--text-strong); }

/* Scrollbar sobria */
* { scrollbar-width: thin; scrollbar-color: #2f2f40 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: var(--r-pill); border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: #3a3a4e; background-clip: padding-box; }
*::-webkit-scrollbar-track { background: transparent; }

/* ============================== Tipografia ============================== */
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--text-strong); line-height: 1.08; }
.display-lg { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; color: var(--text-strong); }
.display-lg em { font-style: italic; font-weight: 400; color: var(--gold); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.mono { font-family: var(--font-mono); }
.dim  { color: var(--text-dim); }
.mute { color: var(--text-mute); }
.strong { color: var(--text-strong); font-weight: 600; }
.serif { font-family: var(--font-display); }

.timestamp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================== Layout ================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.stack   { display: flex; flex-direction: column; }
.row     { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap    { flex-wrap: wrap; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.grow  { flex: 1 1 auto; min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.divider-dashed { height: 0; border: 0; border-top: 1px dashed var(--border); margin: 0; }

/* App shell riusabile (topbar sticky + area contenuti) */
.appbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(10,10,18,.92), rgba(10,10,18,.72));
  border-bottom: 1px solid var(--border);
}
.appbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__dot {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: radial-gradient(120% 120% at 30% 20%, var(--gold-soft), var(--gold) 55%, #8a7030);
  box-shadow: 0 4px 14px rgba(201,169,97,.30), inset 0 1px 0 rgba(255,255,255,.35);
}
.brand__name { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-strong); }
.brand__sub  { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); }

/* ============================== Superfici / Card ======================= */
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card--pad { padding: 20px 22px; }
.card--hover:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
}
.card--active {
  border-color: rgba(201,169,97,.55);
  box-shadow: var(--glow-gold);
}
.surface { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.raised  { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-md); }

/* Accent-bar sinistra (usata nelle liste per priorita) */
.accent-l { position: relative; }
.accent-l::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 3px 0 0 3px; background: var(--border-strong);
  transition: background var(--dur) var(--ease);
}
.accent-l.is-urgente::before      { background: var(--red); }
.accent-l.is-poco_urgente::before { background: var(--yellow); }
.accent-l.is-dubbio::before       { background: var(--violet); }

/* ============================== Badge priorita ========================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-pill);
  border: 1px solid transparent; white-space: nowrap; line-height: 1.4;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.badge--urgente      { color: var(--red);    background: var(--red-bg);    border-color: rgba(217,122,122,.45); }
.badge--poco_urgente { color: var(--yellow); background: var(--yellow-bg); border-color: rgba(217,177,90,.40); }
.badge--dubbio       { color: var(--violet); background: var(--violet-bg); border-color: rgba(168,146,217,.42); }
.badge--fatto        { color: var(--green);  background: var(--green-bg);  border-color: rgba(122,217,168,.40); }

.badge--urgente .badge__dot { animation: pulse-dot 1.8s var(--ease) infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ============================== Badge categoria ======================== */
.cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em;
  padding: 3px 10px; border-radius: var(--r-sm);
  background: var(--raised); color: var(--text-dim);
  border: 1px solid var(--border);
}
.cat::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--text-mute); flex: none; }
.cat--consulenza_lavoro::before { background: var(--gold); }
.cat--fatture::before           { background: var(--teal); }
.cat--partita_iva::before       { background: var(--violet); }
.cat--scadenza_f24::before      { background: var(--red); }
.cat--presenze::before          { background: var(--green); }
.cat--altro::before             { background: var(--text-mute); }

/* ============================== Chip smistamento ======================= */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  padding: 4px 11px 4px 6px; border-radius: var(--r-pill);
  background: var(--raised); color: var(--text); border: 1px solid var(--border);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.chip:hover { border-color: var(--border-strong); background: var(--raised-hover); }
.chip__avatar {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--bg);
}
.chip--daniele .chip__avatar { background: linear-gradient(140deg, var(--gold-soft), var(--gold)); }
.chip--grazia  .chip__avatar { background: linear-gradient(140deg, var(--teal-soft), var(--teal)); }
.chip--alberto .chip__avatar { background: linear-gradient(140deg, #9fe6c4, var(--green)); }
.chip--daniele { border-color: rgba(201,169,97,.32); }
.chip--grazia  { border-color: rgba(0,188,212,.30); }
.chip--alberto { border-color: rgba(122,217,168,.30); }

/* Avatar generico mittente */
.avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--text-strong);
  background: linear-gradient(150deg, var(--raised), var(--surface));
  border: 1px solid var(--border);
}
.avatar--sm { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }

/* Icona canale */
.channel {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--text-mute); text-transform: uppercase;
}
.channel__ic { width: 7px; height: 7px; border-radius: 50%; background: var(--text-mute); flex: none; }
.channel--whatsapp .channel__ic { background: var(--green); }
.channel--telegram .channel__ic { background: var(--teal); }
.channel--email    .channel__ic { background: var(--gold); }

/* Marcatore tipo messaggio (vocale / documento / testo) */
.type-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em;
  color: var(--text-dim); padding: 2px 8px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border-soft);
}
.type-tag--vocale    { color: var(--teal); border-color: rgba(0,188,212,.28); }
.type-tag--documento { color: var(--gold); border-color: rgba(201,169,97,.28); }

/* ============================== Bottoni ================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: 0.005em;
  padding: 10px 18px; border-radius: var(--r-md); cursor: pointer;
  border: 1px solid transparent; user-select: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a1408; border-color: rgba(201,169,97,.6);
  box-shadow: 0 6px 18px rgba(201,169,97,.20), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(201,169,97,.30), inset 0 1px 0 rgba(255,255,255,.4); filter: brightness(1.04); }

.btn--secondary {
  background: var(--raised); color: var(--text-strong); border-color: var(--border-strong);
}
.btn--secondary:hover { background: var(--raised-hover); border-color: #46465c; }

.btn--ghost { background: transparent; color: var(--text-dim); border-color: transparent; padding-inline: 12px; }
.btn--ghost:hover { color: var(--text-strong); background: var(--raised); }

.btn--teal {
  background: linear-gradient(180deg, var(--teal-soft), var(--teal));
  color: #04222a; border-color: rgba(0,188,212,.55);
  box-shadow: 0 6px 18px rgba(0,188,212,.18), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--teal:hover { filter: brightness(1.05); }

.btn--danger { background: transparent; color: var(--red); border-color: rgba(217,122,122,.45); }
.btn--danger:hover { background: var(--red-bg); }

.btn--sm { padding: 6px 12px; font-size: 12.5px; border-radius: var(--r-sm); }
.btn--lg { padding: 13px 24px; font-size: 15px; }
.btn--block { width: 100%; }

/* Icon button tondo */
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: var(--r-md); background: transparent; color: var(--text-dim);
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--raised); color: var(--text-strong); border-color: var(--border); }

/* ============================== Form ================================== */
.input, .textarea, .select {
  width: 100%; font-family: var(--font-body); font-size: 14px; color: var(--text-strong);
  background: var(--bg-veil); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 11px 14px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-mute); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: rgba(201,169,97,.55);
  box-shadow: 0 0 0 3px rgba(201,169,97,.12); background: var(--surface);
}
.textarea { resize: vertical; min-height: 96px; line-height: 1.55; }

.search {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-veil); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 8px 16px; color: var(--text-dim);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search:focus-within { border-color: rgba(201,169,97,.5); box-shadow: 0 0 0 3px rgba(201,169,97,.10); }
.search input { flex: 1; background: transparent; border: 0; outline: none; color: var(--text-strong); font-size: 14px; font-family: var(--font-body); }
.search input::placeholder { color: var(--text-mute); }

/* Segmented control / tabs */
.segmented { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); }
.segmented__item {
  font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--text-dim);
  padding: 6px 15px; border-radius: var(--r-pill); cursor: pointer; border: 0; background: transparent;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.segmented__item:hover { color: var(--text-strong); }
.segmented__item.is-active { color: #1a1408; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); font-weight: 600; }

/* ============================== Statistiche / KPI ====================== */
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 16px 18px; transition: border-color var(--dur) var(--ease);
}
.stat:hover { border-color: var(--border-strong); }
.stat__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }
.stat__value { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat__sub   { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; }
.stat--red   .stat__value { color: var(--red); }
.stat--teal  .stat__value { color: var(--teal); }
.stat--green .stat__value { color: var(--green); }

/* Meter / barra proporzione */
.meter { height: 6px; border-radius: var(--r-pill); background: var(--raised); overflow: hidden; }
.meter__fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width .4s var(--ease); }

/* ============================== Blocchi contenuto ====================== */
/* Callout: sintesi, dati mancanti, note del sistema */
.callout {
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  background: var(--surface); border-radius: var(--r-md); padding: 12px 15px;
}
.callout--info    { border-left-color: var(--teal); }
.callout--warn    { border-left-color: var(--yellow); }
.callout--danger  { border-left-color: var(--red); }
.callout--ok      { border-left-color: var(--green); }
.callout__title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.callout--info   .callout__title { color: var(--teal); }
.callout--warn   .callout__title { color: var(--yellow); }
.callout--danger .callout__title { color: var(--red); }
.callout--ok     .callout__title { color: var(--green); }

/* Bozza di risposta: superficie citazione nel tono di Daniele */
.draft {
  background: linear-gradient(180deg, rgba(201,169,97,.06), transparent), var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px 16px; position: relative;
}
.draft::before {
  content: "BOZZA"; position: absolute; top: -9px; left: 14px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em;
  color: var(--gold); background: var(--bg); padding: 1px 8px; border: 1px solid var(--border); border-radius: var(--r-pill);
}
.draft__body { color: var(--text); font-size: 14px; line-height: 1.6; }
.draft--empty { border-style: dashed; color: var(--text-mute); font-style: italic; text-align: center; padding: 22px; }

/* Blocco trascrizione vocale */
.transcript {
  font-family: var(--font-body); font-size: 13.5px; line-height: 1.65; color: var(--text-dim);
  background: var(--bg-veil); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  padding: 13px 15px; max-height: 220px; overflow-y: auto;
}

/* Waveform decorativa per i vocali */
.wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; }
.wave i { width: 2px; border-radius: 2px; background: var(--teal); opacity: .8; }
.wave i:nth-child(3n) { height: 16px; } .wave i:nth-child(3n+1) { height: 8px; } .wave i:nth-child(3n+2) { height: 12px; }

/* Lista chiavi/valori (dati mancanti, meta item) */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; }
.kv dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-mute); text-transform: uppercase; padding-top: 1px; }
.kv dd { margin: 0; color: var(--text); }

/* Pill contatore */
.count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; border-radius: var(--r-pill);
  background: var(--raised); color: var(--text-dim); border: 1px solid var(--border);
}
.count--red { color: var(--red); background: var(--red-bg); border-color: rgba(217,122,122,.4); }

/* ============================== Utility ================================ */
.text-red { color: var(--red); } .text-gold { color: var(--gold); } .text-teal { color: var(--teal); } .text-green { color: var(--green); } .text-yellow { color: var(--yellow); }
.hidden { display: none !important; }
.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}
.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}
.p-3{padding:12px}.p-4{padding:16px}.p-5{padding:20px}
.fs-sm{font-size:13px}.fs-xs{font-size:12px}.fw-6{font-weight:600}
.rounded{border-radius:var(--r-md)}.rounded-lg{border-radius:var(--r-lg)}

/* Entrata sobria per liste renderizzate via JS */
.reveal { animation: reveal .32s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Rispetto delle preferenze di movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Responsive: la larghezza si comprime, mai scroll orizzontale della pagina */
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .card--pad { padding: 16px; }
  .display-lg { font-size: 28px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { padding-top: 8px; }
}
