/* Token di design di Hexbook (v6.5 System, strato dei ruoli) — l'UNICO file dove stanno colori, misure e durate
 * letterali. Importato per primo (src/main.tsx). Documentazione: docs/brand.md e docs/design-system.md ·
 * galleria viva: #design-system.
 *
 * Tre strati. Un componente legge SEMPRE il secondo (o il terzo se esiste); mai il primo.
 *
 *   1. RAMPE      i gradini grezzi (--hb-gray-500, --hb-blue-600…): privati di questo file. Eccezioni: nessuna;
 *                 ciò che deve restare fisso col tema (stampa, anteprime del tema, maschere) ha un nome nel
 *                 terzo strato (--hb-paper, --hb-print-*, --hb-preview-*, --hb-mask, --hb-shade).
 *   2. RUOLI      cosa fa un colore, non com'è fatto. Testo (--hb-text-default/-secondary/-muted/-accent/
 *                 -on-accent), superfici (--hb-surface-page/-raised/-sunken/-strong/-overlay/-canvas), bordi
 *                 (--hb-border/-strong/-control), accento (--hb-accent/-hover/-active) e, per ogni stato
 *                 (success, warning, danger, info), una terzina vera: -fg (testo e icone su fondo tinto),
 *                 -bg (il fondo tinto), -border; più il colore pieno (--hb-danger…) e il suo testo (--hb-on-danger).
 *                 Qui sotto sono definiti col valore chiaro; il tema scuro ripunta GLI STESSI nomi (sezione 4).
 *   3. COMPONENTE token di un componente o di una famiglia (altezze dei controlli, taglio, gel, logo, stampa…).
 *   +  DATI       colori che portano un significato in una figura (CPK, tag, corsie del gel): non passano
 *                 dalle rampe dell'interfaccia.
 *
 * ALIAS dei nomi vecchi. Restano definiti dal ruolo nuovo perché sono in uso ovunque (più di 3 000 punti in
 * CSS e TS) e, soprattutto, perché alcuni finiscono dentro i documenti salvati (colori di penna e di
 * evidenziatore: "var(--hb-ink)", "var(--hb-hl-amber)"): rinominarli romperebbe i documenti già scritti.
 *   --hb-bg → --hb-surface-page · --hb-surface → -raised · --hb-surface-2 → -sunken · --hb-surface-3 → -strong
 *   --hb-elev → --hb-surface-overlay · --hb-canvas → --hb-surface-canvas (JS la legge come esadecimale)
 *   --hb-line → --hb-border · --hb-line-strong → --hb-border-strong · --hb-line-control → --hb-border-control
 *   --hb-ink → --hb-text-default · --hb-ink-2 → -secondary · --hb-muted → -muted
 *   --hb-accent-ink → --hb-text-accent · --hb-on-primary → --hb-text-on-accent
 *   --hb-primary → --hb-accent · -hover → --hb-accent-hover · -active → --hb-accent-active
 *   --hb-flame → --hb-warning · --hb-flame-fill → --hb-warning-fill
 *   --hb-text-sm → --hb-text-xs (stesso valore, 12 px: due nomi per una misura sola)
 * ponytail: togliere ogni alias quando `grep -rn "<nome vecchio>" web api` non trova più nulla fuori da
 * questo file, da web/src/site/captures/app.css (generato) e dai documenti salvati: per i colori di
 * penna/evidenziatore serve prima una migrazione dei documenti (--hb-ink, --hb-accent-ink, --hb-hl-*).
 * Già migrati del tutto, senza alias: --hb-{success,warning,danger}-ink → -fg e --hb-{success,warning,
 * danger,info}-subtle → -bg.
 *
 * JS legge alcuni token come esadecimale (--hb-canvas, --hb-primary, --el-*): devono risolversi in un
 * colore esadecimale (un var() di un gradino va bene, color-mix() no).
 *
 * I breakpoint non possono essere custom property. Il layout ne ha esattamente tre, di src/app/layout.ts,
 * applicati come classi su .hb-app (lay-mobile / lay-narrow / lay-medium / lay-wide):
 *     760px   mobile ≤ 760            (l'unico scritto anche come @media (max-width: 760px))
 *     1100px  la barra laterale diventa una colonna stretta (.lay-narrow)
 *     1360px  il pannello Analysis si aggancia (.lay-wide)
 * Le correzioni dentro un componente usano UNA soglia sola, 560px (@media o @container), nessun'altra. */

/* ───────────────────────────── 1. RAMPE (private) ───────────────────────────── */
:root {
  /* grafite, inclinata verso il cobalto (superfici chiare → superfici scure) */
  --hb-white: #ffffff;
  --hb-black: #000000;
  --hb-gray-25: #fbfcfe;
  --hb-gray-50: #f4f6f9;
  --hb-gray-75: #f2f4f8;
  --hb-gray-100: #e8ecf2;
  --hb-gray-150: #e3e7ee;
  --hb-gray-200: #cbd2de;
  --hb-gray-300: #b9c4d8;
  --hb-gray-400: #8b95a8;
  --hb-gray-500: #5c6677;
  --hb-gray-600: #3a4252;
  --hb-gray-700: #2d3547;
  --hb-gray-750: #1e2432;
  --hb-gray-800: #1a2030;
  --hb-gray-850: #161b27;
  --hb-gray-900: #10141c;
  --hb-gray-925: #0f131b;
  --hb-gray-950: #0d1119;
  --hb-gray-975: #0c1017;
  --hb-gray-1000: #0a0d13;
  /* Cobalto — l'unica tinta del marchio */
  --hb-blue-300: #8eabff;
  --hb-blue-350: #779bff;
  --hb-blue-400: #5f88ff;
  --hb-blue-500: #4c74ee;
  --hb-blue-600: #2f5bea;
  --hb-blue-700: #244bd0;
  --hb-blue-800: #1c3dad;
  --hb-blue-900: #2c3954;
  --hb-blue-950: #08101f;
  /* Fiamma (ambra del Bunsen), verde, rosso: solo segnali */
  --hb-amber-400: #ffb23e;
  --hb-amber-700: #b35f00;
  --hb-amber-950: #1a1205;
  --hb-green-400: #34d399;
  --hb-green-700: #0c7f57;
  --hb-red-400: #ff5d73;
  --hb-red-600: #d12e4a;
}

/* ───────────────────────────── 2. SCALE (non sono colori) ───────────────────────────── */
:root {
  /* scala dei corpi — interfaccia: sei misure, niente sotto i 12px */
  --hb-text-xs: 12px; /* didascalia, suggerimenti, meta, controlli fitti: eyebrow, badge, kbd, intestazioni di tabella */
  --hb-text-sm: var(--hb-text-xs); /* alias: vedi l'elenco in cima */
  --hb-text-md: 13px; /* testo di controlli ed elenchi */
  --hb-text-lg: 14px; /* corpo dell'app, voci di menu, testo dei dialoghi */
  --hb-text-xl: 16px; /* valori in evidenza, titoli di sezione, campi sul telefono */
  --hb-text-2xl: 20px; /* titoli di pannelli e dialoghi */
  /* display: titoli di pagina e numeri grandi */
  --hb-text-3xl: 24px;
  --hb-text-4xl: 30px;
  --hb-text-display: 42px;
  /* la scala tipografica del documento (ciò che scrive l'utente; si stampa e si esporta com'è) */
  --hb-doc-title: var(--hb-text-display);
  --hb-doc-title-compact: 32px;
  --hb-doc-h1: 32px;
  --hb-doc-h2: 24px;
  --hb-doc-h3: 18px;
  --hb-doc-text: 16px;
  --hb-doc-text-lg: 17px; /* citazioni, corpo con grazie */
  --hb-doc-text-sm: 15px; /* didascalie, celle di tabella, testi degli esercizi */
  --hb-present-cover: 44px;
  --hb-present-lead: 40px;
  --hb-present-heading: 34px;
  --hb-weight-regular: 400;
  --hb-weight-medium: 500;
  --hb-weight-semibold: 600;
  --hb-weight-bold: 700;
  --hb-leading-tight: 1.2;
  --hb-leading-normal: 1.45;
  --hb-leading-doc: 1.7;

  /* scala dello spazio, a base 4px */
  --hb-space-1: 4px;
  --hb-space-2: 8px;
  --hb-space-3: 12px;
  --hb-space-4: 16px;
  --hb-space-5: 20px;
  --hb-space-6: 24px;
  --hb-space-7: 32px;
  --hb-space-8: 40px;

  /* scala dei raggi */
  --hb-radius-sm: 4px; /* segni dentro un controllo: caselle, kbd, campioni, badge */
  --hb-radius-md: 8px; /* controlli e righe: pulsanti, campi, voci di menu, chip */
  --hb-radius-lg: 12px; /* contenitori: schede, popover, menu, dialoghi, pannelli */
  --hb-radius-pill: 999px;

  /* scala della sovrapposizione — una scala sola per tutta la pagina (anche i livelli sospesi, vedi ui-overlays.css).
     Dentro un componente si usano 1–3 (--hb-z-raised…) nel suo contesto di sovrapposizione, mai un numero da pagina. */
  --hb-z-below: -1;
  --hb-z-raised: 1;
  --hb-z-raised-2: 2;
  --hb-z-raised-3: 3;
  --hb-z-float: 4; /* su una figura: sovrapposizioni passive (gruppo dello zoom, suggerimenti) */
  --hb-z-float-2: 5; /* su una figura: fumetti e badge ancorati a un blocco */
  --hb-z-float-3: 6; /* su una figura: editor e strumenti che prendono input, la maniglia del blocco */
  --hb-z-sticky: 10; /* barre fisse, il foglio attivo con la sua barra, la barra di selezione */
  --hb-z-drawer: 20; /* barra laterale sovrapposta e pannelli Analysis/Comments, i loro veli */
  --hb-z-dropdown: 30; /* tendine nella pagina: menu slash, elenco delle menzioni, barra di selezione */
  --hb-z-overlay: 40; /* livelli a tutta finestra: zona di rilascio, cronologia, presentazione */
  --hb-z-modal: 50; /* livelli sospesi: dialoghi, popover, menu, tooltip */
  /* colonna del documento: margine laterale, e quanto può allargarsi una figura (la colonna di testo da 760px + 40px per lato) */
  --hb-doc-pad: clamp(16px, 6vw, 80px);
  --hb-figure-max: 840px;
  --hb-z-toast: 60; /* notifiche: sopra i dialoghi, mai sotto un pannello */
  --hb-z-max: 100; /* schermata di errore grave */

  /* movimento */
  --hb-dur-fast: 120ms; /* hover, pressione, piccoli cambi di stato */
  --hb-dur-base: 180ms; /* popover, pannelli, toast */
  --hb-dur-slow: 350ms; /* superfici grandi, enfasi */
  --hb-ease: ease;
  --hb-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  --hb-font:
    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  --hb-mono:
    "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ───────────────────────────── 3. RUOLI (valori chiari) ───────────────────────────── */
:root {
  /* testo */
  --hb-text-default: var(--hb-gray-900);
  --hb-text-secondary: var(--hb-gray-600);
  --hb-text-muted: var(--hb-gray-500);
  --hb-text-accent: var(--hb-blue-700); /* collegamenti e voce attiva: 5,4:1 anche sulla tinta della riga attiva */
  --hb-text-on-accent: var(--hb-white); /* testo sul colore d'azione pieno */
  /* testo su un colore di dato saturo (avatar, punti dei tag, badge pieni): bianco in entrambi i temi */
  --hb-on-color: var(--hb-white);

  /* superfici */
  --hb-surface-page: var(--hb-gray-50); /* il fondo della pagina */
  --hb-surface-raised: var(--hb-white); /* schede, pannelli, campi: ciò che sta sul fondo */
  --hb-surface-sunken: var(--hb-gray-75); /* incavato: sotto una superficie sollevata (righe a zebra, fondo dei campi) */
  --hb-surface-strong: var(--hb-gray-100); /* riempimento più marcato: segmenti, barre, chip */
  --hb-surface-overlay: var(--hb-white); /* menu, popover, dialoghi: nel tema scuro è più chiara della scheda */
  --hb-surface-canvas: var(--hb-gray-25); /* il foglio molecolare */
  --hb-grid: var(--hb-gray-300); /* reticolo del foglio molecolare */

  /* bordi */
  --hb-border: var(--hb-gray-150);
  --hb-border-strong: var(--hb-gray-200);
  /* bordo di campi, select, caselle e interruttori: 3:1 sulla superficie (WCAG 1.4.11) */
  --hb-border-control: var(--hb-gray-400);

  /* accento: il colore d'azione */
  --hb-accent: var(--hb-blue-600);
  --hb-accent-hover: var(--hb-blue-700);
  --hb-accent-active: var(--hb-blue-800);

  /* stato — per ognuno: colore pieno · testo sul colore pieno · terzina fg / bg / border.
     fg = il colore di stato scurito verso l'inchiostro, 4,5:1 sul proprio fondo tinto in entrambi i temi (testo e icone sul -bg);
     bg = il fondo tinto; border = il bordo di una scheda di quello stato (45 % sul bordo normale, come già in uso in collab.css e scheme-card.css). */
  --hb-success: var(--hb-green-700);
  --hb-warning: var(--hb-amber-700);
  --hb-danger: var(--hb-red-600);
  --hb-info: var(--hb-accent);
  --hb-on-success: var(--hb-white);
  --hb-on-warning: var(
    --hb-amber-950
  ); /* sul RIEMPIMENTO ambra (--hb-warning-fill), non su --hb-warning */
  --hb-on-danger: var(--hb-white);
  --hb-on-info: var(--hb-text-on-accent);
  /* l'ambra di riempimento è la stessa in entrambi i temi (chiara e viva) */
  --hb-warning-fill: var(--hb-amber-400);
  --hb-success-fg: color-mix(
    in srgb,
    var(--hb-success) 80%,
    var(--hb-text-default)
  );
  --hb-warning-fg: color-mix(
    in srgb,
    var(--hb-warning) 80%,
    var(--hb-text-default)
  );
  --hb-danger-fg: color-mix(
    in srgb,
    var(--hb-danger) 80%,
    var(--hb-text-default)
  );
  --hb-info-fg: var(--hb-text-accent);
  --hb-success-bg: color-mix(
    in srgb,
    var(--hb-success) 12%,
    var(--hb-surface-raised)
  );
  --hb-warning-bg: color-mix(
    in srgb,
    var(--hb-warning-fill) 18%,
    var(--hb-surface-raised)
  );
  --hb-danger-bg: color-mix(
    in srgb,
    var(--hb-danger) 10%,
    var(--hb-surface-raised)
  );
  --hb-info-bg: color-mix(
    in srgb,
    var(--hb-accent) 10%,
    var(--hb-surface-raised)
  );
  --hb-success-border: color-mix(
    in srgb,
    var(--hb-success) 45%,
    var(--hb-border)
  );
  --hb-warning-border: color-mix(
    in srgb,
    var(--hb-warning) 45%,
    var(--hb-border)
  );
  --hb-danger-border: color-mix(
    in srgb,
    var(--hb-danger) 45%,
    var(--hb-border)
  );
  --hb-info-border: color-mix(in srgb, var(--hb-accent) 45%, var(--hb-border));

  /* selezione ed evidenziatori */
  --hb-sel: rgba(47, 91, 234, 0.14);
  --hb-hl-amber: rgba(255, 178, 62, 0.42);
  --hb-hl-cobalt: rgba(79, 124, 255, 0.24);
  --hb-hl-mint: rgba(32, 201, 140, 0.28);
  --hb-hl-rose: rgba(255, 93, 115, 0.24);
  --hb-scrim: color-mix(
    in srgb,
    var(--hb-surface-page) 55%,
    rgba(0, 0, 0, 0.35)
  );

  /* elevazione: sm = controllo sollevato o segmento scelto · md = popover, scheda sospesa · lg = dialogo, pannello */
  --hb-shadow-color: 16, 20, 28;
  --hb-shadow-sm: 0 1px 2px rgba(var(--hb-shadow-color), 0.08);
  --hb-shadow-md:
    0 1px 2px rgba(var(--hb-shadow-color), 0.06),
    0 8px 24px rgba(var(--hb-shadow-color), 0.08);
  --hb-shadow-lg:
    0 2px 6px rgba(var(--hb-shadow-color), 0.08),
    0 20px 48px rgba(var(--hb-shadow-color), 0.16);
  --hb-shadow: var(--hb-shadow-md); /* nome rimasto da prima della v6.5 */
  /* il filo + l'ombra di ogni superficie sospesa */
  --hb-float: 0 0 0 1px var(--hb-border-strong), var(--hb-shadow-lg);
  --hb-focus-ring: 0 0 0 3px
    color-mix(in srgb, var(--hb-accent) 22%, transparent);

  /* ── alias dei nomi vecchi (elenco e condizione di rimozione in cima al file) ── */
  --hb-bg: var(--hb-surface-page);
  --hb-surface: var(--hb-surface-raised);
  --hb-surface-2: var(--hb-surface-sunken);
  --hb-surface-3: var(--hb-surface-strong);
  --hb-elev: var(--hb-surface-overlay);
  --hb-canvas: var(--hb-surface-canvas);
  --hb-line: var(--hb-border);
  --hb-line-strong: var(--hb-border-strong);
  --hb-line-control: var(--hb-border-control);
  --hb-ink: var(--hb-text-default);
  --hb-ink-2: var(--hb-text-secondary);
  --hb-muted: var(--hb-text-muted);
  --hb-accent-ink: var(--hb-text-accent);
  --hb-on-primary: var(--hb-text-on-accent);
  --hb-primary: var(--hb-accent);
  --hb-primary-hover: var(--hb-accent-hover);
  --hb-primary-active: var(--hb-accent-active);
  --hb-flame: var(--hb-warning);
  --hb-flame-fill: var(--hb-warning-fill);
}

/* ───────────────────────────── 4. TEMA SCURO ─────────────────────────────
   Un'unica lista: i ruoli ripuntano agli stessi nomi (gli alias e le terzine di stato si ricalcolano da soli).
   Compare due volte, una per la preferenza del sistema e una per <html data-theme="dark">, perché il CSS non sa
   dividere un blocco tra una @media e un selettore d'attributo (light-dark() lo farebbe, ma JS legge
   --hb-canvas & co. come esadecimale e con light-dark() troverebbe il testo della funzione). Il blocco è
   scritto identico nei due punti e tests/tokens.test.ts fallisce se le due liste divergono. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hb-surface-page: var(--hb-gray-1000);
    --hb-surface-raised: var(--hb-gray-925);
    --hb-surface-sunken: var(--hb-gray-975);
    --hb-surface-strong: var(--hb-gray-800);
    --hb-surface-overlay: var(--hb-gray-850);
    --hb-surface-canvas: var(--hb-gray-950);
    --hb-grid: var(--hb-blue-900);
    --hb-border: var(--hb-gray-750);
    --hb-border-strong: var(--hb-gray-700);
    --hb-border-control: var(--hb-gray-500);
    --hb-text-default: var(--hb-gray-100);
    --hb-text-secondary: var(--hb-gray-300);
    --hb-text-muted: var(--hb-gray-400);
    --hb-text-accent: var(--hb-blue-300);
    --hb-text-on-accent: var(--hb-gray-1000); /* 6,0:1 sul pieno, 7,3:1 al passaggio, 4,7:1 da premuto (era 5,8 / 7,2 / 4,6) */
    --hb-accent: var(--hb-blue-400);
    --hb-accent-hover: var(--hb-blue-350);
    --hb-accent-active: var(--hb-blue-500);
    --hb-success: var(--hb-green-400);
    --hb-warning: var(--hb-amber-400);
    --hb-danger: var(--hb-red-400);
    --hb-on-success: var(--hb-blue-950);
    --hb-on-danger: var(--hb-blue-950);
    --hb-sel: rgba(95, 136, 255, 0.2);
    --hb-hl-amber: rgba(255, 178, 62, 0.3);
    --hb-hl-cobalt: rgba(95, 136, 255, 0.3);
    --hb-hl-mint: rgba(52, 211, 153, 0.26);
    --hb-hl-rose: rgba(255, 93, 115, 0.28);
    --hb-shadow-color: 0, 0, 0;
    --hb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --hb-shadow-md:
      0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --hb-shadow-lg:
      0 2px 6px rgba(0, 0, 0, 0.5), 0 24px 56px rgba(0, 0, 0, 0.55);
    --el-c: #e8ecf3;
    --el-n: #86a8ff;
    --el-o: #ff7486;
    --el-s: #f5c84c;
    --el-p: #ffa557;
    --el-x: #4fd6a0;
    --el-br: #e8956a;
    --el-i: #bb98ff;
    --el-b: #ff9ec7;
    --el-si: #b9c3d3;
    --el-se: #f0a060;
    --el-m1: #b79cff;
    --el-m2: #a9b6cc;
    --el-cu: #f2a072;
    --hb-tag-blue: #6c9cff;
    --hb-tag-teal: #35c7c2;
    --hb-tag-green: #52c47a;
    --hb-tag-amber: #e8b53a;
    --hb-tag-orange: #f2914a;
    --hb-tag-red: #f2696c;
    --hb-tag-pink: #ec6fb3;
    --hb-tag-violet: #a985f0;
    --hb-tag-gray: #a0a7b4;
    --hb-logo-ring: var(--hb-blue-400);
    --hb-logo-core: var(--hb-white);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --hb-surface-page: var(--hb-gray-1000);
  --hb-surface-raised: var(--hb-gray-925);
  --hb-surface-sunken: var(--hb-gray-975);
  --hb-surface-strong: var(--hb-gray-800);
  --hb-surface-overlay: var(--hb-gray-850);
  --hb-surface-canvas: var(--hb-gray-950);
  --hb-grid: var(--hb-blue-900);
  --hb-border: var(--hb-gray-750);
  --hb-border-strong: var(--hb-gray-700);
  --hb-border-control: var(--hb-gray-500);
  --hb-text-default: var(--hb-gray-100);
  --hb-text-secondary: var(--hb-gray-300);
  --hb-text-muted: var(--hb-gray-400);
  --hb-text-accent: var(--hb-blue-300);
  --hb-text-on-accent: var(--hb-gray-1000); /* 6,0:1 sul pieno, 7,3:1 al passaggio, 4,7:1 da premuto (era 5,8 / 7,2 / 4,6) */
  --hb-accent: var(--hb-blue-400);
  --hb-accent-hover: var(--hb-blue-350);
  --hb-accent-active: var(--hb-blue-500);
  --hb-success: var(--hb-green-400);
  --hb-warning: var(--hb-amber-400);
  --hb-danger: var(--hb-red-400);
  --hb-on-success: var(--hb-blue-950);
  --hb-on-danger: var(--hb-blue-950);
  --hb-sel: rgba(95, 136, 255, 0.2);
  --hb-hl-amber: rgba(255, 178, 62, 0.3);
  --hb-hl-cobalt: rgba(95, 136, 255, 0.3);
  --hb-hl-mint: rgba(52, 211, 153, 0.26);
  --hb-hl-rose: rgba(255, 93, 115, 0.28);
  --hb-shadow-color: 0, 0, 0;
  --hb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --hb-shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --hb-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 24px 56px rgba(0, 0, 0, 0.55);
  --el-c: #e8ecf3;
  --el-n: #86a8ff;
  --el-o: #ff7486;
  --el-s: #f5c84c;
  --el-p: #ffa557;
  --el-x: #4fd6a0;
  --el-br: #e8956a;
  --el-i: #bb98ff;
  --el-b: #ff9ec7;
  --el-si: #b9c3d3;
  --el-se: #f0a060;
  --el-m1: #b79cff;
  --el-m2: #a9b6cc;
  --el-cu: #f2a072;
  --hb-tag-blue: #6c9cff;
  --hb-tag-teal: #35c7c2;
  --hb-tag-green: #52c47a;
  --hb-tag-amber: #e8b53a;
  --hb-tag-orange: #f2914a;
  --hb-tag-red: #f2696c;
  --hb-tag-pink: #ec6fb3;
  --hb-tag-violet: #a985f0;
  --hb-tag-gray: #a0a7b4;
  --hb-logo-ring: var(--hb-blue-400);
  --hb-logo-core: var(--hb-white);
  color-scheme: dark;
}

/* ───────────────────────────── 5. COMPONENTE e DATI ─────────────────────────────
   Token di famiglie di componenti, e colori che codificano qualcosa. Non seguono i temi, salvo dove detto. */
:root {
  /* altezze dei controlli (il telefono le alza in ui.css) e forma: il taglio a 30° (due angoli opposti) e il raggio
     di campi e menu. --hx-radius è 9px e NON 8 (--hb-radius-md): allinearlo sposterebbe di un pixel ogni
     campo e menu. I campi di testo NON si tagliano: tengono il raggio (il taglio costa il bordo, vedi sotto). */
  /* UNA regola di taglio in tre misure (il taglio a 30°, due angoli opposti, `--cut` di ogni componente la legge da
     qui): 6 per ciò che si preme (pulsanti, segmenti, tag, chip, scorciatoie), 9 per ciò che avvisa (toast, callout,
     barre), 14 per ciò che contiene (card, dialoghi). Non esistono altre misure: niente 4, 5, 7, 8, 10.
     Attenzione: clip-path nasconde ombre e bordi. Dove serve un bordo, usare l'anello disegnato da ::before (vedi
     ui.css "Chamfer everywhere") o un anello `inset` interno; l'anello di focus va sempre dentro la forma. */
  --hb-cut-sm: 6px;
  --hb-cut-md: 9px;
  --hb-cut-lg: 14px;
  --hx-cut: var(--hb-cut-sm);
  --hx-radius: 9px;
  --hx-h-sm: 28px;
  --hx-h-md: 34px;
  --hx-h-lg: 42px;

  /* fissi, uguali in entrambi i temi: la stampa è sempre su carta chiara */
  --hb-paper: var(--hb-white);
  --hb-print-ink: var(--hb-gray-900);
  --hb-print-muted: var(--hb-gray-500);
  --hb-print-line: var(--hb-gray-200);
  /* maschere e ombreggiature: nero vero, che nei gradienti di maschera conta solo per l'opacità */
  --hb-mask: var(--hb-black);
  --hb-shade: var(--hb-black);
  /* anteprime del tema nelle impostazioni: mostrano il tema, non lo seguono */
  --hb-preview-light-page: var(--hb-gray-50);
  --hb-preview-light-bar: var(--hb-gray-100);
  --hb-preview-light-accent: var(--hb-blue-600);
  --hb-preview-light-card: var(--hb-white);
  --hb-preview-light-ring: var(--hb-gray-150);
  --hb-preview-dark-page: var(--hb-gray-1000);
  --hb-preview-dark-bar: var(--hb-gray-850);
  --hb-preview-dark-accent: var(--hb-blue-400);
  --hb-preview-dark-card: var(--hb-gray-925);
  --hb-preview-dark-ring: var(--hb-gray-700);

  /* colori degli elementi, tipo CPK, tarati per il contrasto su --hb-surface-canvas (i valori scuri sono nella sezione 4) */
  --el-c: #10141c;
  --el-n: #2346d6;
  --el-o: #d0213b;
  --el-s: #8c6a00;
  --el-p: #c2570c;
  --el-x: #0e8458;
  --el-br: #a4471c;
  --el-i: #7a3fe0;
  --el-b: #c02679;
  --el-si: #4b5563;
  --el-se: #a1561a;
  --el-m1: #6d3fc4;
  --el-m2: #4f5f7a;
  --el-cu: #a4521f;
  /* tag dei documenti (l'utente ne sceglie uno di nove) */
  --hb-tag-blue: #3b74e8;
  --hb-tag-teal: #10a2a0;
  --hb-tag-green: #2f9e55;
  --hb-tag-amber: #c9930a;
  --hb-tag-orange: #e0701b;
  --hb-tag-red: #dc4549;
  --hb-tag-pink: #d1438f;
  --hb-tag-violet: #8455d6;
  --hb-tag-gray: #7d8492;
  /* gel di agarosio: una fotografia scura in entrambi i temi */
  --hb-gel-bg: #1b2130;
  --hb-gel-well: var(--hb-gray-950);
  --hb-gel-band: #ff9fd0;
  --hb-gel-ladder: var(--hb-gray-300);
  --hb-gel-picked: #ffe066;
  /* logo */
  --hb-logo-ring: var(--hb-blue-600);
  --hb-logo-core: var(--hb-gray-900);
}

/* Font dell'app serviti dal nostro dominio (public/fonts, licenza OFL): nessuna richiesta a terzi all'apertura
 * della pagina. File e intervalli unicode vengono dai pacchetti @fontsource-variable; il nome della famiglia è
 * quello che usano i token (tokens.css). */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-greek-wght-italic.woff2") format("woff2");
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Generato da scripts/capture-site.mjs: le sole regole del foglio di stile dell'app che servono alle catture. */
:root { --hb-white: #ffffff; --hb-black: #000000; --hb-gray-25: #fbfcfe; --hb-gray-50: #f4f6f9; --hb-gray-75: #f2f4f8; --hb-gray-100: #e8ecf2; --hb-gray-150: #e3e7ee; --hb-gray-200: #cbd2de; --hb-gray-300: #b9c4d8; --hb-gray-400: #8b95a8; --hb-gray-500: #5c6677; --hb-gray-600: #3a4252; --hb-gray-700: #2d3547; --hb-gray-750: #1e2432; --hb-gray-800: #1a2030; --hb-gray-850: #161b27; --hb-gray-900: #10141c; --hb-gray-925: #0f131b; --hb-gray-950: #0d1119; --hb-gray-975: #0c1017; --hb-gray-1000: #0a0d13; --hb-blue-300: #8eabff; --hb-blue-350: #779bff; --hb-blue-400: #5f88ff; --hb-blue-500: #4c74ee; --hb-blue-600: #2f5bea; --hb-blue-700: #244bd0; --hb-blue-800: #1c3dad; --hb-blue-900: #2c3954; --hb-blue-950: #08101f; --hb-amber-400: #ffb23e; --hb-amber-700: #b35f00; --hb-amber-950: #1a1205; --hb-green-400: #34d399; --hb-green-700: #0c7f57; --hb-red-400: #ff5d73; --hb-red-600: #d12e4a; }
:root { --hb-text-xs: 12px; --hb-text-sm: var(--hb-text-xs); --hb-text-md: 13px; --hb-text-lg: 14px; --hb-text-xl: 16px; --hb-text-2xl: 20px; --hb-text-3xl: 24px; --hb-text-4xl: 30px; --hb-text-display: 42px; --hb-doc-title: var(--hb-text-display); --hb-doc-title-compact: 32px; --hb-doc-h1: 32px; --hb-doc-h2: 24px; --hb-doc-h3: 18px; --hb-doc-text: 16px; --hb-doc-text-lg: 17px; --hb-doc-text-sm: 15px; --hb-present-cover: 44px; --hb-present-lead: 40px; --hb-present-heading: 34px; --hb-weight-regular: 400; --hb-weight-medium: 500; --hb-weight-semibold: 600; --hb-weight-bold: 700; --hb-leading-tight: 1.2; --hb-leading-normal: 1.45; --hb-leading-doc: 1.7; --hb-space-1: 4px; --hb-space-2: 8px; --hb-space-3: 12px; --hb-space-4: 16px; --hb-space-5: 20px; --hb-space-6: 24px; --hb-space-7: 32px; --hb-space-8: 40px; --hb-radius-sm: 4px; --hb-radius-md: 8px; --hb-radius-lg: 12px; --hb-radius-pill: 999px; --hb-z-below: -1; --hb-z-raised: 1; --hb-z-raised-2: 2; --hb-z-raised-3: 3; --hb-z-float: 4; --hb-z-float-2: 5; --hb-z-float-3: 6; --hb-z-sticky: 10; --hb-z-drawer: 20; --hb-z-dropdown: 30; --hb-z-overlay: 40; --hb-z-modal: 50; --hb-doc-pad: clamp(16px, 6vw, 80px); --hb-figure-max: 840px; --hb-z-toast: 60; --hb-z-max: 100; --hb-dur-fast: .12s; --hb-dur-base: .18s; --hb-dur-slow: .35s; --hb-ease: ease; --hb-ease-out: cubic-bezier(.2, .7, .2, 1); --hb-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --hb-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
:root { --hb-text-default: var(--hb-gray-900); --hb-text-secondary: var(--hb-gray-600); --hb-text-muted: var(--hb-gray-500); --hb-text-accent: var(--hb-blue-700); --hb-text-on-accent: var(--hb-white); --hb-on-color: var(--hb-white); --hb-surface-page: var(--hb-gray-50); --hb-surface-raised: var(--hb-white); --hb-surface-sunken: var(--hb-gray-75); --hb-surface-strong: var(--hb-gray-100); --hb-surface-overlay: var(--hb-white); --hb-surface-canvas: var(--hb-gray-25); --hb-grid: var(--hb-gray-300); --hb-border: var(--hb-gray-150); --hb-border-strong: var(--hb-gray-200); --hb-border-control: var(--hb-gray-400); --hb-accent: var(--hb-blue-600); --hb-accent-hover: var(--hb-blue-700); --hb-accent-active: var(--hb-blue-800); --hb-success: var(--hb-green-700); --hb-warning: var(--hb-amber-700); --hb-danger: var(--hb-red-600); --hb-info: var(--hb-accent); --hb-on-success: var(--hb-white); --hb-on-warning: var( --hb-amber-950 ); --hb-on-danger: var(--hb-white); --hb-on-info: var(--hb-text-on-accent); --hb-warning-fill: var(--hb-amber-400); --hb-success-fg: color-mix( in srgb, var(--hb-success) 80%, var(--hb-text-default) ); --hb-warning-fg: color-mix( in srgb, var(--hb-warning) 80%, var(--hb-text-default) ); --hb-danger-fg: color-mix( in srgb, var(--hb-danger) 80%, var(--hb-text-default) ); --hb-info-fg: var(--hb-text-accent); --hb-success-bg: color-mix( in srgb, var(--hb-success) 12%, var(--hb-surface-raised) ); --hb-warning-bg: color-mix( in srgb, var(--hb-warning-fill) 18%, var(--hb-surface-raised) ); --hb-danger-bg: color-mix( in srgb, var(--hb-danger) 10%, var(--hb-surface-raised) ); --hb-info-bg: color-mix( in srgb, var(--hb-accent) 10%, var(--hb-surface-raised) ); --hb-success-border: color-mix( in srgb, var(--hb-success) 45%, var(--hb-border) ); --hb-warning-border: color-mix( in srgb, var(--hb-warning) 45%, var(--hb-border) ); --hb-danger-border: color-mix( in srgb, var(--hb-danger) 45%, var(--hb-border) ); --hb-info-border: color-mix(in srgb, var(--hb-accent) 45%, var(--hb-border)); --hb-sel: rgba(47, 91, 234, .14); --hb-hl-amber: rgba(255, 178, 62, .42); --hb-hl-cobalt: rgba(79, 124, 255, .24); --hb-hl-mint: rgba(32, 201, 140, .28); --hb-hl-rose: rgba(255, 93, 115, .24); --hb-scrim: color-mix( in srgb, var(--hb-surface-page) 55%, rgba(0, 0, 0, .35) ); --hb-shadow-color: 16, 20, 28; --hb-shadow-sm: 0 1px 2px rgba(var(--hb-shadow-color), .08); --hb-shadow-md: 0 1px 2px rgba(var(--hb-shadow-color), .06), 0 8px 24px rgba(var(--hb-shadow-color), .08); --hb-shadow-lg: 0 2px 6px rgba(var(--hb-shadow-color), .08), 0 20px 48px rgba(var(--hb-shadow-color), .16); --hb-shadow: var(--hb-shadow-md); --hb-float: 0 0 0 1px var(--hb-border-strong), var(--hb-shadow-lg); --hb-focus-ring: 0 0 0 3px color-mix(in srgb, var(--hb-accent) 22%, transparent); --hb-bg: var(--hb-surface-page); --hb-surface: var(--hb-surface-raised); --hb-surface-2: var(--hb-surface-sunken); --hb-surface-3: var(--hb-surface-strong); --hb-elev: var(--hb-surface-overlay); --hb-canvas: var(--hb-surface-canvas); --hb-line: var(--hb-border); --hb-line-strong: var(--hb-border-strong); --hb-line-control: var(--hb-border-control); --hb-ink: var(--hb-text-default); --hb-ink-2: var(--hb-text-secondary); --hb-muted: var(--hb-text-muted); --hb-accent-ink: var(--hb-text-accent); --hb-on-primary: var(--hb-text-on-accent); --hb-primary: var(--hb-accent); --hb-primary-hover: var(--hb-accent-hover); --hb-primary-active: var(--hb-accent-active); --hb-flame: var(--hb-warning); --hb-flame-fill: var(--hb-warning-fill); }
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) { --hb-surface-page: var(--hb-gray-1000); --hb-surface-raised: var(--hb-gray-925); --hb-surface-sunken: var(--hb-gray-975); --hb-surface-strong: var(--hb-gray-800); --hb-surface-overlay: var(--hb-gray-850); --hb-surface-canvas: var(--hb-gray-950); --hb-grid: var(--hb-blue-900); --hb-border: var(--hb-gray-750); --hb-border-strong: var(--hb-gray-700); --hb-border-control: var(--hb-gray-500); --hb-text-default: var(--hb-gray-100); --hb-text-secondary: var(--hb-gray-300); --hb-text-muted: var(--hb-gray-400); --hb-text-accent: var(--hb-blue-300); --hb-text-on-accent: var(--hb-gray-1000); --hb-accent: var(--hb-blue-400); --hb-accent-hover: var(--hb-blue-350); --hb-accent-active: var(--hb-blue-500); --hb-success: var(--hb-green-400); --hb-warning: var(--hb-amber-400); --hb-danger: var(--hb-red-400); --hb-on-success: var(--hb-blue-950); --hb-on-danger: var(--hb-blue-950); --hb-sel: rgba(95, 136, 255, .2); --hb-hl-amber: rgba(255, 178, 62, .3); --hb-hl-cobalt: rgba(95, 136, 255, .3); --hb-hl-mint: rgba(52, 211, 153, .26); --hb-hl-rose: rgba(255, 93, 115, .28); --hb-shadow-color: 0, 0, 0; --hb-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --hb-shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35); --hb-shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 56px rgba(0, 0, 0, .55); --el-c: #e8ecf3; --el-n: #86a8ff; --el-o: #ff7486; --el-s: #f5c84c; --el-p: #ffa557; --el-x: #4fd6a0; --el-br: #e8956a; --el-i: #bb98ff; --el-b: #ff9ec7; --el-si: #b9c3d3; --el-se: #f0a060; --el-m1: #b79cff; --el-m2: #a9b6cc; --el-cu: #f2a072; --hb-tag-blue: #6c9cff; --hb-tag-teal: #35c7c2; --hb-tag-green: #52c47a; --hb-tag-amber: #e8b53a; --hb-tag-orange: #f2914a; --hb-tag-red: #f2696c; --hb-tag-pink: #ec6fb3; --hb-tag-violet: #a985f0; --hb-tag-gray: #a0a7b4; --hb-logo-ring: var(--hb-blue-400); --hb-logo-core: var(--hb-white); color-scheme: dark; }
}
:root[data-theme="dark"] { --hb-surface-page: var(--hb-gray-1000); --hb-surface-raised: var(--hb-gray-925); --hb-surface-sunken: var(--hb-gray-975); --hb-surface-strong: var(--hb-gray-800); --hb-surface-overlay: var(--hb-gray-850); --hb-surface-canvas: var(--hb-gray-950); --hb-grid: var(--hb-blue-900); --hb-border: var(--hb-gray-750); --hb-border-strong: var(--hb-gray-700); --hb-border-control: var(--hb-gray-500); --hb-text-default: var(--hb-gray-100); --hb-text-secondary: var(--hb-gray-300); --hb-text-muted: var(--hb-gray-400); --hb-text-accent: var(--hb-blue-300); --hb-text-on-accent: var(--hb-gray-1000); --hb-accent: var(--hb-blue-400); --hb-accent-hover: var(--hb-blue-350); --hb-accent-active: var(--hb-blue-500); --hb-success: var(--hb-green-400); --hb-warning: var(--hb-amber-400); --hb-danger: var(--hb-red-400); --hb-on-success: var(--hb-blue-950); --hb-on-danger: var(--hb-blue-950); --hb-sel: rgba(95, 136, 255, .2); --hb-hl-amber: rgba(255, 178, 62, .3); --hb-hl-cobalt: rgba(95, 136, 255, .3); --hb-hl-mint: rgba(52, 211, 153, .26); --hb-hl-rose: rgba(255, 93, 115, .28); --hb-shadow-color: 0, 0, 0; --hb-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --hb-shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35); --hb-shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 56px rgba(0, 0, 0, .55); --el-c: #e8ecf3; --el-n: #86a8ff; --el-o: #ff7486; --el-s: #f5c84c; --el-p: #ffa557; --el-x: #4fd6a0; --el-br: #e8956a; --el-i: #bb98ff; --el-b: #ff9ec7; --el-si: #b9c3d3; --el-se: #f0a060; --el-m1: #b79cff; --el-m2: #a9b6cc; --el-cu: #f2a072; --hb-tag-blue: #6c9cff; --hb-tag-teal: #35c7c2; --hb-tag-green: #52c47a; --hb-tag-amber: #e8b53a; --hb-tag-orange: #f2914a; --hb-tag-red: #f2696c; --hb-tag-pink: #ec6fb3; --hb-tag-violet: #a985f0; --hb-tag-gray: #a0a7b4; --hb-logo-ring: var(--hb-blue-400); --hb-logo-core: var(--hb-white); color-scheme: dark; }
:root { --hb-cut-sm: 6px; --hb-cut-md: 9px; --hb-cut-lg: 14px; --hx-cut: var(--hb-cut-sm); --hx-radius: 9px; --hx-h-sm: 28px; --hx-h-md: 34px; --hx-h-lg: 42px; --hb-paper: var(--hb-white); --hb-print-ink: var(--hb-gray-900); --hb-print-muted: var(--hb-gray-500); --hb-print-line: var(--hb-gray-200); --hb-mask: var(--hb-black); --hb-shade: var(--hb-black); --hb-preview-light-page: var(--hb-gray-50); --hb-preview-light-bar: var(--hb-gray-100); --hb-preview-light-accent: var(--hb-blue-600); --hb-preview-light-card: var(--hb-white); --hb-preview-light-ring: var(--hb-gray-150); --hb-preview-dark-page: var(--hb-gray-1000); --hb-preview-dark-bar: var(--hb-gray-850); --hb-preview-dark-accent: var(--hb-blue-400); --hb-preview-dark-card: var(--hb-gray-925); --hb-preview-dark-ring: var(--hb-gray-700); --el-c: #10141c; --el-n: #2346d6; --el-o: #d0213b; --el-s: #8c6a00; --el-p: #c2570c; --el-x: #0e8458; --el-br: #a4471c; --el-i: #7a3fe0; --el-b: #c02679; --el-si: #4b5563; --el-se: #a1561a; --el-m1: #6d3fc4; --el-m2: #4f5f7a; --el-cu: #a4521f; --hb-tag-blue: #3b74e8; --hb-tag-teal: #10a2a0; --hb-tag-green: #2f9e55; --hb-tag-amber: #c9930a; --hb-tag-orange: #e0701b; --hb-tag-red: #dc4549; --hb-tag-pink: #d1438f; --hb-tag-violet: #8455d6; --hb-tag-gray: #7d8492; --hb-gel-bg: #1b2130; --hb-gel-well: var(--hb-gray-950); --hb-gel-band: #ff9fd0; --hb-gel-ladder: var(--hb-gray-300); --hb-gel-picked: #ffe066; --hb-logo-ring: var(--hb-blue-600); --hb-logo-core: var(--hb-gray-900); }
html { box-sizing: border-box; }
*, ::before, ::after { box-sizing: inherit; }
p { margin-top: 0px; margin-bottom: 8px; }
small { font-size: var(--hb-text-sm); }
a { color: var(--hb-accent-ink); text-decoration: none; }
a:hover { cursor: pointer; text-decoration: underline; }
form { display: block; }
.hx-pop-target { display: inline-block; }
.hx-dd-wrap.hx-pop-target { display: flex; width: 100%; min-width: 0px; }
.hx-dialog { --cut: var(--hb-cut-lg); --bd: var(--hb-line-strong); position: relative; isolation: isolate; display: flex; flex-direction: column; width: 500px; max-width: calc(-32px + 100vw); margin: 32px 0px; background: var(--hb-surface); color: var(--hb-ink); border-radius: 0px; outline: 0px; clip-path: polygon(calc(var(--cut) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--cut) + 1px)); transition: opacity var(--hb-dur-base) var(--hb-ease-out),transform var(--hb-dur-base) var(--hb-ease-out); }
.hx-dialog::before { content: ""; position: absolute; inset: 0px; z-index: var(--hb-z-below); pointer-events: none; box-sizing: border-box; border: 1px solid var(--bd); background: linear-gradient(135deg,var(--bd) calc(var(--cut) * .7071 + .65px),transparent calc(var(--cut) * .7071 + 1.35px)) 0 0 / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat border-box,linear-gradient(315deg,var(--bd) calc(var(--cut) * .7071 + .65px),transparent calc(var(--cut) * .7071 + 1.35px)) 100% 100% / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat border-box; }
.hx-dialog-header { flex: 0 0 auto; display: flex; align-items: flex-start; min-height: 52px; padding: 14px 10px 12px 20px; background: var(--hb-surface); border-bottom: 1px dashed var(--hb-line-strong); }
.hx-dialog-title { margin: 0px; font-size: var(--hb-text-2xl); font-weight: var(--hb-weight-semibold); line-height: 26px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-dialog-close { --cut: var(--hb-cut-sm); flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -4px; padding: 0px; border: 0px; background: none; color: var(--hb-ink-2); cursor: pointer; clip-path: polygon(calc(var(--cut) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--cut) + 1px)); }
@media (pointer: coarse) {
.hx-dialog-close { width: 44px; height: 44px; }
}
.hx-dialog-close:hover { background: color-mix(in srgb,var(--hb-ink) 7%,transparent); color: var(--hb-ink); }
.hx-dialog-close:focus-visible { outline: 0px; box-shadow: inset 0 0 0 2px var(--hb-primary); background: color-mix(in srgb,var(--hb-primary) 16%,transparent); color: var(--hb-accent-ink); }
.hx-dialog-body { flex: 1 1 auto; margin: 0px; padding: 16px 20px; }
.hx-dialog-footer { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0px; padding: 12px 16px; background: var(--hb-surface); border-top: 1px solid var(--hb-line); }
.hx-dialog-footer-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); gap: 8px; margin-left: auto; }
.hx-dialog-footer-actions > .hx-btn { width: 100%; }
@media (max-width: 560px) {
.hx-dialog-footer-actions { display: flex; flex-direction: column-reverse; }
.hx-dialog-footer { flex-wrap: wrap; gap: 10px; }
.hx-dialog-footer-actions { width: 100%; margin-left: 0px; grid-auto-columns: minmax(0px, 1fr); }
}
.hb-dialog.hx-dialog { box-sizing: border-box; padding-bottom: 0px; width: min(720px, -32px + 100vw); max-width: none; height: min(560px, 100dvh - 48px); max-height: none; margin: 24px auto; }
.hb-dialog.hx-dialog > .hx-dialog-header, .hb-dialog.hx-dialog > .hx-dialog-footer { flex: 0 0 auto; }
.hb-dialog.hx-dialog > .hx-dialog-body { flex: 1 1 0px; min-height: 0px; overflow: auto; margin: 0px; }
@media (max-width: 560px) {
.hb-dialog.hx-dialog:not(.hb-palette), .hx-dialog:not(.hb-palette):not(.hb-dialog) { width: 100vw; max-width: none; margin: 0px; max-height: 94dvh; }
}
.hb-share .hx-dialog-body { display: flex; flex-direction: column; gap: 18px; }
.hb-share .hx-dialog-body > * { min-width: 0px; }
.hx-editable { position: relative; display: inline-grid; max-width: 100%; min-width: 0px; cursor: text; vertical-align: top; }
.hx-editable::before { content: ""; position: absolute; inset: -2px -4px; border-radius: var(--hb-radius-sm); pointer-events: none; transition: box-shadow var(--hb-dur-fast); }
.hx-editable:hover::before { box-shadow: inset 0 0 0 1px var(--hb-line-strong); }
.hx-editable:focus-within::before { background: var(--hb-surface); box-shadow: inset 0 0 0 1px var(--hb-primary),0 0 0 1px var(--hb-primary); }
.hx-editable::after { content: attr(data-value) " "; grid-area: 1 / 1; visibility: hidden; white-space: pre; overflow: hidden; }
.hx-editable > input { grid-area: 1 / 1; position: relative; width: 100%; min-width: 0px; margin: 0px; padding: 0px; border: 0px; background: none; outline: 0px; color: inherit; font: inherit; letter-spacing: inherit; text-overflow: ellipsis; }
.hx-editable > input::placeholder { color: var(--hb-muted); opacity: 1; }
html, body, #root { height: 100%; }
.hb-app { display: grid; grid-template-columns: auto minmax(0px, 1fr); height: 100%; background: var(--hb-bg); }
.hb-main { display: flex; flex-direction: column; min-width: 0px; min-height: 0px; }
.hb-top { height: 52px; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0px 12px 0px 16px; border-bottom: 1px solid var(--hb-line); background: var(--hb-surface); min-width: 0px; }
.hb-crumbs { display: flex; align-items: center; gap: 6px; min-width: 0px; font-size: var(--hb-text-lg); color: var(--hb-muted); }
.hb-crumb-root { white-space: nowrap; }
.hb-crumb-doc { font-weight: 600; color: var(--hb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.hb-spacer { flex: 1 1 0%; }
.hb-body { flex: 1 1 0%; display: grid; grid-template-columns: minmax(0,1fr) var(--hb-insp-w, 360px); min-height: 0px; position: relative; }
.insp-closed .hb-body { grid-template-columns: minmax(0px, 1fr) 0px; }
.insp-closed .hb-inspector { display: none; }
.hb-scroll { grid-area: 1 / 1 / 2 / 2; overflow: auto; background: var(--hb-surface); min-width: 0px; }
.hb-inspector { grid-area: 1 / 2 / 2 / 3; border-left: 1px solid var(--hb-line); background: var(--hb-surface); overflow: auto; min-width: 0px; position: relative; }
.hb-side, .hb-inspector { scrollbar-width: thin; }
.hb-doc { padding: 56px var(--hb-doc-pad) 180px; min-height: 100%; box-sizing: border-box; }
.hb-doc-head, .hb-block:not(.is-wide) { max-width: 760px; margin-left: auto; margin-right: auto; }
.hb-block.is-wide { max-width: none; margin: 34px max(calc(20px - var(--hb-doc-pad)),calc((100% - var(--hb-figure-max)) / 2)) 24px; }
.hb-title { display: block; width: 100%; box-sizing: border-box; border: 0px; background: transparent; resize: none; outline: none; padding: 0px; overflow: hidden; font: 700 var(--hb-doc-title)/1.12 var(--hb-font); letter-spacing: -0.03em; color: var(--hb-ink); text-wrap: balance; }
.hb-title::placeholder { color: var(--hb-muted); }
.hb-doc-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--hb-muted); font-size: var(--hb-text-md); margin: 12px 0px 30px; }
.hb-meta-link { display: inline-flex; align-items: center; gap: 5px; margin: 0px; padding: 0px; border: 0px; border-radius: var(--hb-radius-sm); background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline transparent; text-underline-offset: 3px; transition: color 0.12s, text-decoration-color 0.12s; }
.hb-meta-link .hx-licon { display: none; }
.hb-meta-link:hover, .hb-meta-link:focus-visible { color: var(--hb-ink); text-decoration-color: currentcolor; }
.hb-meta-link:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 3px; }
@media (hover: none) {
.hb-meta-link .hx-licon { display: inline-block; }
}
.hb-block { position: relative; }
.hb-block-body { position: relative; }
.hb-text { display: block; width: 100%; box-sizing: border-box; min-height: 1.7em; margin: 0px; padding: 3px 0px; border: 0px; background: transparent; resize: none; outline: none; overflow: hidden; font: 400 var(--hb-doc-text)/1.7 var(--hb-font); color: var(--hb-ink); white-space: pre-wrap; overflow-wrap: anywhere; cursor: text; }
.hb-text::placeholder, .hb-ph { color: color-mix(in srgb,var(--hb-muted) 75%,transparent); }
.hb-text.t-h2 { font-size: var(--hb-doc-h2); font-weight: 650; line-height: 1.32; letter-spacing: -0.016em; margin-top: 24px; }
.hb-chem sub, .hb-formula-tag sub, td sub { font-size: 0.72em; }
.hb-doc-tail { height: 120px; cursor: text; }
.hb-muted { color: var(--hb-muted); }
.hb-small { font-size: var(--hb-text-sm); line-height: 1.5; }
.hb-mono { font-family: var(--hb-mono); }
.hb-figure { margin: 0px; border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); overflow: hidden; background: var(--hb-canvas); box-shadow: var(--hb-shadow); transition: border-color var(--hb-dur-fast),box-shadow var(--hb-dur-fast); }
.hb-figure-head { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 12px; border-bottom: 1px solid var(--hb-line); background: var(--hb-surface); min-width: 0px; }
.hb-fig-no { font: 600 var(--hb-text-sm) var(--hb-mono); color: var(--hb-accent-ink); background: color-mix(in srgb,var(--hb-primary) 11%,transparent); padding: 3px 8px; border-radius: var(--hb-radius-sm); white-space: nowrap; }
.hb-fig-title { flex: 1 1 0%; min-width: 0px; font-weight: 600; font-size: var(--hb-text-lg); }
.hb-fig-summary { flex: 0 0 auto; display: flex; gap: 6px; flex-wrap: nowrap; justify-content: flex-end; }
.hb-formula-tag { font-family: var(--hb-mono); }
.hb-resize { height: 12px; cursor: ns-resize; display: flex; justify-content: center; align-items: center; background: var(--hb-surface); border-top: 1px solid var(--hb-line); touch-action: none; }
.hb-resize span { width: 44px; height: 3px; border-radius: var(--hb-radius-sm); background: var(--hb-line-strong); }
.hb-resize:hover span { background: var(--hb-primary); }
.hb-props-title { font-weight: 600; font-size: var(--hb-text-md); display: flex; gap: 8px; align-items: center; }
.hb-props-title .hx-licon { color: var(--hb-accent-ink); }
.hb-table-wrap { overflow-x: auto; }
.hb-canvas { position: relative; width: 100%; background: var(--hb-canvas); overflow: hidden; user-select: none; touch-action: none; }
.hb-svg { display: block; }
.hb-grid-line { fill: none; stroke: var(--hb-grid); }
.hb-bond { stroke: var(--hb-ink); stroke-width: 0.058; stroke-linecap: round; fill: none; }
.hb-label { font-family: var(--hb-font); font-size: 0.44px; font-weight: 600; dominant-baseline: central; paint-order: stroke; stroke: var(--hb-canvas); stroke-width: 0.17px; stroke-linejoin: round; }
.hb-charge { font-family: var(--hb-font); font-size: 0.27px; font-weight: 700; fill: var(--hb-flame); paint-order: stroke; stroke: var(--hb-canvas); stroke-width: 0.1px; }
.hb-stereo { font: 700 .34px var(--hb-mono); fill: var(--hb-flame); }
.hb-hl, .hb-pen { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hb-arrow path { fill: none; stroke-width: 0.055; stroke-linecap: round; stroke-linejoin: round; }
.hb-arrow path.hb-arrow-head { stroke: none; }
.hb-note { font-family: var(--hb-font); font-weight: 500; }
.hb-zoom { position: absolute; right: 10px; bottom: 10px; background: var(--hb-elev); border-radius: var(--hb-radius-lg); box-shadow: 0 0 0 1px var(--hb-line-strong),var(--hb-shadow); padding: 2px; z-index: var(--hb-z-float); }
.hx-btn.hb-zoom-pct { min-width: 54px; font: 500 var(--hb-text-sm) var(--hb-mono); }
.hb-insp { display: flex; flex-direction: column; }
.hb-insp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 4px; }
.hb-insp-name { font-weight: 600; font-size: var(--hb-text-lg); display: flex; gap: 8px; align-items: center; min-width: 0px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-insp-name .hb-svg-icon { color: var(--hb-accent-ink); flex: 0 0 auto; }
.hb-insp-stack { display: flex; flex-direction: column; gap: 20px; padding-bottom: 28px; }
.hb-formula { font: 600 var(--hb-text-4xl)/1.1 var(--hb-mono); letter-spacing: -0.03em; margin: 2px 0px 16px; color: var(--hb-ink); overflow-wrap: anywhere; }
.hb-formula sub { font-size: 0.56em; color: var(--hb-accent-ink); letter-spacing: 0px; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hb-rules { list-style: none; margin: 0px; padding: 0px; display: flex; flex-direction: column; gap: 12px; }
.hb-rules li { display: grid; grid-template-columns: 18px minmax(0px, 1fr); gap: 10px; }
.hb-rules li .hx-licon { margin-top: 2px; }
.hb-rules b { display: block; font-size: var(--hb-text-md); font-weight: 600; }
.hb-rules span { display: block; font-size: var(--hb-text-md); color: var(--hb-muted); line-height: 1.5; }
@supports not selector(::-webkit-scrollbar) {
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb,var(--hb-ink) 22%,transparent) transparent; }
}
@media (prefers-reduced-motion: reduce) {
*, ::before, ::after { transition: none !important; animation: auto ease 0s 1 normal none running none !important; }
}
.hb-mobile-menu { display: none; }
.hb-insp-close { margin-left: 2px; }
.hb-insp-head { padding-right: 10px; }
.hb-mini { display: block; width: 100%; }
.hb-mini-bond line { stroke: var(--hb-ink); stroke-width: 0.075; stroke-linecap: round; }
.hb-mini-label { font: 600 .5px var(--hb-font); dominant-baseline: central; paint-order: stroke; stroke: var(--hb-canvas); stroke-width: 0.22px; }
@media (max-width: 760px) {
.hb-app, .hb-app.is-rail { grid-template-columns: minmax(0px, 1fr); }
.hb-mobile-menu { display: inline-flex; }
.hb-title { font-size: var(--hb-doc-title-compact); }
.hb-doc { padding-top: 32px; }
}
:root { --hx-chamfer: polygon( calc(var(--hx-cut) + 1px) -1px, calc(100% + 1px) -1px, calc(100% + 1px) calc(100% - var(--hx-cut) - 1px), calc(100% - var(--hx-cut) - 1px) calc(100% + 1px) , -1px calc(100% + 1px) , -1px calc(var(--hx-cut) + 1px) ); --hx-hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); --hx-hex-pt: polygon( 50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25% ); --hx-ease: cubic-bezier(.2, .7, .2, 1); }
.hx-icon { display: inline-flex; flex: 0 0 auto; line-height: 0; }
.hx-icon svg { display: block; }
.hx-btn { --c: var(--hb-ink); --bg: transparent; --bd: transparent; --bgh: color-mix(in srgb, var(--hb-ink) 7%, transparent); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: var(--hx-h-md); min-width: var(--hx-h-md); padding: 0px 12px; box-sizing: border-box; border: 0px; border-radius: var(--hx-radius); background: var(--bg); color: var(--c); box-shadow: inset 0 0 0 1px var(--bd); font: 500 var(--hb-text-lg)/1 var(--hb-font); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; user-select: none; transition: background var(--hb-dur-fast) var(--hx-ease),box-shadow var(--hb-dur-fast) var(--hx-ease),color var(--hb-dur-fast),transform var(--hb-dur-fast); }
.hx-btn:hover:not(:disabled) { background: var(--bgh); }
.hx-btn:active:not(:disabled) { transform: translateY(0.5px); }
.hx-btn:disabled { opacity: 0.45; cursor: default; }
.hx-btn.is-icon { padding: 0px; width: var(--hx-h-md); }
.hx-btn.is-fill { display: flex; width: 100%; }
.hx-btn-text { overflow: hidden; text-overflow: ellipsis; }
.hx-btn--small { height: var(--hx-h-sm); min-width: var(--hx-h-sm); padding: 0px 9px; font-size: var(--hb-text-md); gap: 6px; border-radius: var(--hb-radius-md); }
.hx-btn--small.is-icon { width: var(--hx-h-sm); }
.hx-btn--large { height: var(--hx-h-lg); min-width: var(--hx-h-lg); padding: 0px 18px; font-size: var(--hb-text-lg); }
.hx-btn--outlined { --bg: var(--hb-surface-raised); --bd: var(--hb-border-strong); --bgh: var(--hb-surface-sunken); }
.hx-btn--minimal { --c: var(--hb-ink-2); }
.hx-btn--minimal:hover:not(:disabled) { color: var(--hb-ink); }
.hx-btn--solid.hx-btn--primary { --bg: var(--hb-primary); --c: var(--hb-on-primary); --bgh: var(--hb-primary-hover); }
.hx-group { display: inline-flex; align-items: center; gap: 2px; }
.hx-tag { --c: var(--hb-ink-2); --bg: var(--hb-surface-3); --dot: var(--hb-muted); --cut: var(--hb-cut-sm); display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0px 9px 0px 8px; box-sizing: border-box; background: var(--bg); color: var(--c); font: 500 var(--hb-text-sm)/1 var(--hb-font); white-space: nowrap; border: 0px; clip-path: polygon(calc(var(--cut) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--cut) + 1px)); }
.hx-tag-dot { flex: 0 0 auto; width: 8px; height: 8px; background: var(--dot); clip-path: var(--hx-hex-pt); }
.hx-tag sub { font-size: 0.72em; }
.hx-tag--primary { --c: var(--hb-text-accent); --dot: var(--hb-accent); --bg: color-mix(in srgb, var(--hb-primary) 15%, transparent); }
.hx-tag--success { --c: var(--hb-success-fg); --dot: var(--hb-success); --bg: color-mix(in srgb, var(--hb-success) 15%, transparent); }
.hx-tag.is-interactive { cursor: pointer; transition: filter var(--hb-dur-fast); }
.hx-tag.is-interactive:hover { filter: brightness(1.08) saturate(1.1); }
.hx-tag.is-interactive:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--hb-primary); }
.hx-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--hb-radius-lg); background: var(--hb-surface-3); }
.hx-seg.is-fill { display: flex; width: 100%; box-sizing: border-box; }
.hx-seg.is-fill .hx-seg-opt { flex: 1 1 0%; }
.hx-seg-opt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0px 11px; border: 0px; border-radius: var(--hb-radius-md); background: transparent; color: var(--hb-ink-2); font: 500 var(--hb-text-md) var(--hb-font); cursor: pointer; white-space: nowrap; transition: background var(--hb-dur-fast),color var(--hb-dur-fast),box-shadow var(--hb-dur-fast); }
.hx-seg--small .hx-seg-opt { height: 24px; padding: 0px 9px; font-size: var(--hb-text-sm); }
.hx-seg-opt:hover { color: var(--hb-ink); }
.hx-seg-opt.is-on { background: var(--hb-elev); color: var(--hb-ink); box-shadow: 0 0 0 1px var(--hb-line-strong),var(--hb-shadow-sm); }
.hx-seg-opt:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 1px; }
@keyframes hx-spin { 
  100% { stroke-dashoffset: -58; }
}
.hx-callout { --tone: var(--hb-info); --c: var(--hb-info-fg); --bg: var(--hb-info-bg); --bd: var(--hb-info-border); --cut: var(--hb-cut-md); display: flex; gap: 12px; padding: 12px 14px 12px 15px; background: var(--bg); box-shadow: inset 3px 0 0 var(--tone),inset 0 0 0 1px var(--bd); color: var(--hb-text-default); }
.hx-callout--none { --tone: var(--hb-text-secondary); --c: var(--hb-text-secondary); --bg: var(--hb-surface-sunken); --bd: var(--hb-border); }
.hx-callout-badge { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb,var(--tone) 16%,transparent); clip-path: var(--hx-hex-pt); margin-top: -1px; }
.hx-callout-body { min-width: 0px; flex: 1 1 0%; }
.hx-callout-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; font-size: var(--hb-text-lg); color: var(--hb-text-default); margin-bottom: 2px; }
.hx-callout-text { font-size: var(--hb-text-md); line-height: 1.5; color: var(--hb-text-secondary); }
.hx-callout-action { margin-top: 10px; }
.hx-avatar { flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; background: var(--hb-primary); color: var(--hb-on-primary); font-family: var(--hb-font); font-weight: 700; clip-path: var(--hx-hex-pt); }
.hx-avatar, .hx-avatar > .hx-avatar-ch { place-items: center; line-height: 1; display: inline-grid !important; }
.hx-avatar > .hx-avatar-ch { width: 100%; height: 100%; color: inherit; font-size: inherit !important; }
.hx-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; font: 600 var(--hb-text-xs) var(--hb-font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hb-muted); }
.hx-eyebrow > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.hx-eyebrow > span:first-child::before { content: ""; width: 6px; height: 6px; background: var(--hb-primary); clip-path: var(--hx-hex-pt); }
.hx-input, .hx-select { position: relative; display: flex; align-items: center; height: var(--hx-h-md); border-radius: var(--hb-radius-md); background: var(--hb-surface); box-shadow: inset 0 0 0 1px var(--hb-line-control); transition: box-shadow var(--hb-dur-fast); }
.hx-input:focus-within, .hx-select:focus-within { box-shadow: inset 0 0 0 1px var(--hb-primary),0 0 0 3px color-mix(in srgb,var(--hb-primary) 22%,transparent); }
.hx-input.is-disabled, .hx-select.is-disabled, .hx-input:has(input:disabled), .hx-select:has(select:disabled) { background: var(--hb-surface-2); color: var(--hb-muted); opacity: 0.6; cursor: not-allowed; }
.hx-input input:disabled, .hx-select select:disabled { color: var(--hb-muted); cursor: not-allowed; }
.hx-input input, .hx-select select { flex: 1 1 0%; min-width: 0px; height: 100%; border: 0px; background: transparent; color: var(--hb-ink); font: 400 var(--hb-text-lg) var(--hb-font); padding: 0px 11px; outline: none; }
.hx-input input::placeholder { color: var(--hb-muted); }
.hx-input.is-mono input { font-family: var(--hb-mono); font-size: var(--hb-text-md); }
.hx-input.is-dense, .hx-select.is-dense { height: var(--hx-h-sm); }
.hx-input.is-dense input, .hx-select.is-dense select { font-size: var(--hb-text-md); }
@media (hover: none) {
.hx-btn:hover:not(:disabled) { background: var(--bg); }
}
.hx-licon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 0; vertical-align: text-bottom; }
.hb-svg-icon { display: inline-block; flex: 0 0 auto; vertical-align: text-bottom; }
.hx-licon svg { display: block; }
.hx-btn, .hx-seg, .hx-seg-opt, .hb-home-scopes, .hb-home-layout, .hb-home-scopes button, .hb-home-layout button, .hb-outline-filter, .hb-outline-filter button, .hb-ds-target button { --cut: var(--hb-cut-sm); clip-path: polygon(calc(var(--cut) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--cut) + 1px)); border-radius: 0px !important; }
.hx-btn--small, .hx-seg--small .hx-seg-opt, .hx-seg-opt, .hb-home-scopes button, .hb-home-layout button, .hb-outline-filter button, .hb-ds-target button, .hx-btn--large, .hx-btn.is-icon.hx-btn--small { --cut: var(--hb-cut-sm); }
.hx-btn, .hx-seg-opt, .hb-home-scopes button, .hb-home-layout button, .hb-outline-filter button, .hb-ds-target button { box-shadow: none !important; isolation: isolate; }
.hx-btn::before, .hx-seg-opt::before, .hb-home-scopes button::before, .hb-home-layout button::before, .hb-outline-filter button::before, .hb-ds-target button::before { content: ""; position: absolute; inset: 0px; z-index: var(--hb-z-below); pointer-events: none; transition: border-color var(--hb-dur-fast) var(--hx-ease); box-sizing: border-box; border: var(--bw, 1px) solid var(--bd, transparent); background: linear-gradient(135deg,var(--bd, transparent) calc(var(--cut) * .7071 + var(--bw, 1px) - .35px),transparent calc(var(--cut) * .7071 + var(--bw, 1px) + .35px)) 0 0 / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat border-box,linear-gradient(315deg,var(--bd, transparent) calc(var(--cut) * .7071 + var(--bw, 1px) - .35px),transparent calc(var(--cut) * .7071 + var(--bw, 1px) + .35px)) 100% 100% / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat border-box; }
.hx-seg-opt, .hb-home-scopes button, .hb-home-layout button, .hb-outline-filter button { position: relative; --bd: transparent; }
.hx-seg-opt.is-on, .hb-home-scopes button.is-on, .hb-home-layout button[aria-pressed="true"], .hb-outline-filter button.is-on { --bd: var(--hb-line-strong); }
.hx-seg { --cut: var(--hb-cut-sm); }
.hx-btn:focus-visible, .hx-seg-opt:focus-visible { --bd: var(--hb-primary); --bw: 2px; outline: none !important; }
.hx-btn--solid:focus-visible { --bd: color-mix(in srgb, var(--hb-bg) 70%, transparent); }
.hx-btn--solid.hx-btn--primary:focus-visible { --bd: var(--hb-flame); }
.hx-dd-wrap { display: flex; min-width: 0px; }
.hx-dd { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 120px; height: var(--hx-h-md); padding: 0px 10px 0px 11px; box-sizing: border-box; border: 0px; border-radius: var(--hb-radius-md); background: var(--hb-surface); color: var(--hb-ink); box-shadow: inset 0 0 0 1px var(--hb-line-control); font: 400 var(--hb-text-lg) var(--hb-font); text-align: left; cursor: pointer; transition: box-shadow var(--hb-dur-fast) var(--hx-ease); clip-path: none; }
.hx-dd:hover:not(:disabled) { box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--hb-ink) 35%,var(--hb-line-control)); }
.hx-dd:focus-visible, .hx-dd.is-open { outline: none; box-shadow: inset 0 0 0 1px var(--hb-primary),0 0 0 3px color-mix(in srgb,var(--hb-primary) 22%,transparent); }
.hx-dd:disabled { opacity: 0.5; cursor: not-allowed; }
.hx-dd.is-dense { height: var(--hx-h-sm); font-size: var(--hb-text-md); padding: 0px 8px 0px 9px; gap: 6px; min-width: 96px; }
.hx-dd-value { flex: 1 1 0%; min-width: 0px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-dd-caret { color: var(--hb-muted); transition: transform var(--hb-dur-fast) var(--hx-ease); }
.hx-dd-ic { display: inline-flex; color: var(--hb-muted); }
@media (pointer: coarse) {
:root { --hx-h-sm: 36px; --hx-h-md: 42px; --hx-h-lg: 46px; }
}
.hb-zoom-sep { width: 1px; height: 18px; background: var(--hb-line); margin: 0px 2px; }
.hb-zoom .hx-group { gap: 0px; }
.hb-rules li { align-items: start; }
.hb-crumb-root { display: inline-flex; align-items: center; gap: 5px; }
.hb-caption { flex: 1 1 0%; min-width: 0px; border: 0px; background: transparent; outline: none; color: var(--hb-ink-2); font: 500 var(--hb-text-md) var(--hb-font); padding: 4px 0px; }
.hb-caption:focus { color: var(--hb-ink); }
.hb-spectrum { border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); background: var(--hb-surface); box-shadow: var(--hb-shadow); overflow: hidden; }
.hb-spectrum-head { display: flex; align-items: center; gap: var(--hb-space-2); padding: var(--hb-space-2) var(--hb-space-3); border-bottom: 1px solid var(--hb-line); flex-wrap: wrap; }
.hb-spectrum-svg { display: block; width: 100%; height: auto; background: var(--hb-canvas); }
.hb-sp-grid { stroke: var(--hb-line); stroke-width: 1; }
.hb-sp-axis { stroke: var(--hb-line-strong); stroke-width: 1.2; }
.hb-sp-tick { font: var(--hb-text-xs) var(--hb-mono); fill: var(--hb-muted); }
.hb-sp-label { font: 600 var(--hb-text-md) var(--hb-font); fill: var(--hb-ink-2); }
.hb-sp-line { fill: none; stroke: var(--hb-primary); stroke-width: 1.5; stroke-linejoin: round; }
.hb-sp-peak { cursor: pointer; outline: none; }
.hb-sp-peak circle:not(.hb-sp-hit) { fill: var(--hb-muted); }
.hb-sp-peak text { font: 500 var(--hb-text-xs) var(--hb-mono); fill: var(--hb-ink-2); paint-order: stroke; stroke: var(--hb-canvas); stroke-width: 3px; }
.hb-sp-peak .hb-sp-hit { fill: transparent; stroke: none; }
.hb-sp-peak:hover .hb-sp-hit, .hb-sp-peak:focus-visible .hb-sp-hit, .hb-sp-peak.is-note.is-lit .hb-sp-hit { stroke: var(--hb-primary); stroke-width: 1.5; }
.hb-sp-peak.is-note circle:not(.hb-sp-hit) { fill: var(--hb-primary); }
.hb-sp-peak.is-note text { font: 600 var(--hb-text-xs) var(--hb-font); fill: var(--hb-accent-ink); }
.hb-sp-plot { min-width: 0px; }
.hb-spectrum-svg { user-select: none; }
.hb-sp-frame { fill: none; }
.hb-sp-sup { font-size: 0.8em; }
.hb-sp-lead { stroke: var(--hb-muted); stroke-width: 1; pointer-events: none; }
.hb-sp-probe { pointer-events: none; }
.hb-sp-probe-focus { fill: none; outline: none; }
.hb-sp-probe-focus:focus-visible { stroke: var(--hb-primary); stroke-width: 1.5; stroke-dasharray: 4, 3; }
.hb-sp-hint { margin: 0px; font-size: var(--hb-text-sm); line-height: 1.5; color: var(--hb-muted); }
.hb-spectrum-foot { padding: var(--hb-space-2) var(--hb-space-3); }
.hb-sp-sec { display: grid; gap: var(--hb-space-2); min-width: 0px; padding: var(--hb-space-2) var(--hb-space-3) var(--hb-space-3); border-top: 1px solid var(--hb-line); }
.hb-sp-ref:not(.is-open) { padding-bottom: var(--hb-space-2); }
.hb-sp-sec-head { display: flex; align-items: center; flex-wrap: wrap; gap: var(--hb-space-2); min-height: 28px; }
.hb-sp-sec-title, .hb-sp-sec-head > .hb-sp-sec-toggle { display: inline-flex; align-items: center; gap: var(--hb-space-2); font: 600 var(--hb-text-md) var(--hb-font); color: var(--hb-ink-2); }
.hb-sp-sec-ic { flex: 0 0 auto; display: inline-flex; justify-content: center; width: 16px; color: var(--hb-muted); }
.hb-sp-sec-head > .hb-sp-sec-toggle { height: 28px; margin: 0px; padding: 0 var(--hb-space-1) 0 0; border: 0px; border-radius: var(--hb-radius-md); background: none; cursor: pointer; text-align: left; }
.hb-sp-sec-head > .hb-sp-sec-toggle:hover, .hb-sp-ref.is-open .hb-sp-sec-toggle { color: var(--hb-ink); }
.hb-sp-sec-head > .hb-sp-sec-toggle:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 2px; }
.hb-sp-sec-chev { transition: transform var(--hb-dur-fast) ease; }
.hb-sp-sec-head > .hb-sp-sec-aside { margin-left: auto; }
.hb-sp-sec-body { min-width: 0px; }
.hb-sp-notelist { list-style: none; margin: 0 calc(-1 * var(--hb-space-1)); padding: 0px; display: grid; gap: 2px; }
.hb-sp-note { position: relative; display: grid; grid-template-columns: 88px auto minmax(0px, 1fr) auto auto; align-items: center; gap: var(--hb-space-1) var(--hb-space-2); padding: var(--hb-space-1); border-radius: var(--hb-radius-md); }
.hb-sp-note-unit { font-size: var(--hb-text-sm); color: var(--hb-muted); white-space: nowrap; }
.hb-sp-note-atoms { grid-column: 4; max-width: 12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 var(--hb-text-sm) var(--hb-mono); color: var(--hb-accent-ink); }
.hb-sp-note > .hb-sp-note-del { grid-column: 5; }
.hb-sp-mol-body { display: grid; grid-template-columns: minmax(0px, 260px) minmax(0px, 1fr); align-items: start; gap: var(--hb-space-3); }
.hb-sp-mol-body .hb-mini { display: block; width: 100%; box-sizing: border-box; background: var(--hb-canvas); border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); }
.hb-sp-mol-side { display: grid; align-content: start; gap: var(--hb-space-2); min-width: 0px; }
.hb-sp-mol .hb-sp-mol-lost, .hb-sp-mol .hb-sp-mol-step { margin: 0px; }
.hb-mini-hl { fill: color-mix(in srgb,var(--hb-primary) 38%,transparent); pointer-events: none; }
.hb-mini-hl.is-soft { fill: color-mix(in srgb,var(--hb-primary) 12%,transparent); }
.hb-mini-hit { fill: transparent; cursor: pointer; outline: none; }
.hb-mini-hit:hover { stroke: var(--hb-primary); stroke-width: 0.06; }
.hb-mini-hit:focus-visible { fill: color-mix(in srgb,var(--hb-primary) 12%,transparent); stroke: var(--hb-primary); stroke-width: 0.1; }
@media (max-width: 560px) {
.hb-sp-note { grid-template-columns: 72px auto minmax(0px, 1fr) auto auto; }
.hb-sp-mol-body { grid-template-columns: minmax(0px, 1fr); }
}
.hb-top { overflow: hidden; }
.hb-block.is-wide { margin-top: 26px; }
@media (max-width: 760px) {
.hb-top { gap: 2px; padding: 0px 6px; }
.hb-top .hb-spacer { flex: 1 1 0%; }
}
.hb-mini-knock { fill: var(--hb-canvas); }
.hb-mini-label { stroke-width: 0.12px; }
:root { --hb-font-doc: var(--hb-font); --hb-font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif; }
.hb-title, .hb-text { font-family: var(--hb-font-doc); font-optical-sizing: auto; }
.hb-hl.is-ink, .hb-pen.is-ink { stroke: none; }
.hb-3d, .hb-lab { border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); background: var(--hb-surface); overflow: hidden; box-shadow: var(--hb-shadow); }
.hb-3d-head, .hb-lab-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--hb-line); }
.hb-3d-head .hb-spacer, .hb-lab-head .hb-spacer, .hb-3d-bar .hb-spacer { flex: 1 1 0%; }
.hb-3d-stage { position: relative; height: 380px; background: var(--hb-canvas); }
.hb-3d-view { position: absolute; inset: 0px; }
.hb-lab-amount { display: inline-flex; align-items: center; gap: 6px; font-size: var(--hb-text-md); color: var(--hb-muted); }
.hb-lab-amount .hb-lab-in.is-num { width: 72px; }
.hb-lab-in { width: 100%; box-sizing: border-box; height: 28px; padding: 0px 8px; border: 1px solid transparent; border-radius: var(--hb-radius-md); background: transparent; color: var(--hb-ink); font: var(--hb-text-md) var(--hb-font); }
.hb-lab-in:hover { border-color: var(--hb-line); }
.hb-lab-in:focus { outline: none; border-color: var(--hb-primary); box-shadow: 0 0 0 3px color-mix(in srgb,var(--hb-primary) 18%,transparent); background: var(--hb-surface); }
.hb-lab-in.is-num { text-align: right; font-family: var(--hb-mono); min-width: 56px; }
.hb-lab-in.is-mono { font-family: var(--hb-mono); font-size: var(--hb-text-sm); min-width: 120px; }
.hb-lab-in:disabled { color: var(--hb-muted); background: transparent; }
.hb-lab-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--hb-line); }
.hb-lab-in.is-name { font-weight: 600; }
.hb-lab-in.is-sm { height: 22px; font-size: var(--hb-text-sm); color: var(--hb-muted); min-width: 0px; }
.hb-lab-unit { display: block; font-weight: var(--hb-weight-regular); font-size: var(--hb-text-xs); text-transform: none; letter-spacing: 0px; }
.hb-head-select { width: 260px; max-width: 50%; }
.hx-dd-wrap.hb-head-select { width: 260px; max-width: 50%; flex: 0 0 auto; }
.hb-logo { flex: 0 0 auto; display: block; }
.hb-wordmark-svg { display: block; flex: 0 0 auto; }
.hb-dialog.hb-share { width: min(640px, -32px + 100vw); height: min(680px, 100dvh - 48px); }
.hb-share-title b { font-weight: 600; }
.hb-share-row { display: flex; gap: 8px; align-items: flex-start; }
.hb-chipfield { flex: 1 1 0%; min-width: 0px; min-height: var(--hx-h-md); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 8px 4px 30px; box-sizing: border-box; position: relative; border-radius: var(--hb-radius-md); background: var(--hb-surface); box-shadow: inset 0 0 0 1px var(--hb-line-strong); cursor: text; }
.hb-chipfield:focus-within { box-shadow: inset 0 0 0 1px var(--hb-primary),0 0 0 3px color-mix(in srgb,var(--hb-primary) 22%,transparent); }
.hb-chipfield-ic { position: absolute; left: 10px; top: 10px; color: var(--hb-muted); }
.hb-chipfield input { flex: 1 1 0%; min-width: 160px; height: 24px; border: 0px; outline: none; background: transparent; color: var(--hb-ink); font: 400 var(--hb-text-lg) var(--hb-font); }
.hb-share-role.hx-dd-wrap { flex: 0 0 140px; }
.hb-share-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.hb-share-head b { font-size: var(--hb-text-lg); }
.hb-share-head .hb-muted { font-size: var(--hb-text-sm); }
.hb-share-list { list-style: none; margin: 0px; padding: 0px; display: grid; gap: 2px; }
.hb-share-person { border-radius: var(--hb-radius-md); display: grid; grid-template-columns: 34px minmax(0px, 1fr) auto; gap: 12px; align-items: center; padding: 6px 6px 6px 4px; }
.hb-share-person:hover { background: color-mix(in srgb,var(--hb-ink) 4%,transparent); }
.hb-share-who { display: grid; gap: 1px; min-width: 0px; }
.hb-share-who b { display: flex; align-items: center; gap: 8px; font-size: var(--hb-text-lg); font-weight: 600; min-width: 0px; }
.hb-share-who span { font-size: var(--hb-text-md); color: var(--hb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-share-owner { font-size: var(--hb-text-md); color: var(--hb-muted); padding-right: 10px; }
.hb-share-people .hb-share-list { min-width: 0px; max-width: none; gap: 2px; }
.hb-share-acts { display: flex; align-items: center; gap: 2px; }
.hb-share-acts .hb-share-prole { margin-right: 4px; }
.hb-share-person.is-pending .hx-avatar { opacity: 0.55; }
.hb-share-who .hb-share-state { display: flex; align-items: center; gap: 4px; }
@media (max-width: 520px) {
.hb-share-person { grid-template-columns: 34px minmax(0px, 1fr); }
.hb-share-acts { grid-column: 2; }
}
.hb-share-prole.hx-dd-wrap { width: 118px; flex: 0 0 auto; }
.hb-share-general { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hb-line); }
.hb-share-general .hb-share-head { margin: 0px; }
.hb-share-access { display: grid; grid-template-columns: 40px minmax(0px, 1fr) auto; gap: 12px; align-items: start; }
.hb-share-access-ic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--hb-muted); background: var(--hb-surface-3); clip-path: var(--hx-hex-pt); }
.hb-share-access-main { display: grid; gap: 4px; min-width: 0px; }
.hb-share-access-sel.hx-dd-wrap { width: 250px; max-width: 100%; }
@media (max-width: 560px) {
.hb-share-row { flex-direction: column; align-items: stretch; }
.hb-share-role.hx-dd-wrap { flex: 0 0 auto; width: 100%; }
.hb-share-access { grid-template-columns: 40px minmax(0px, 1fr); }
}
.hb-share-btn { margin: 0px 2px 0px 4px; }
.hb-share-list { display: grid; gap: 4px; min-width: 180px; max-width: 280px; text-align: left; }
.hb-share-general > * { min-width: 0px; }
.hb-share-access { grid-template-columns: 40px minmax(0px, 1fr) 118px; }
@media (max-width: 560px) {
.hb-share-access { grid-template-columns: 40px minmax(0px, 1fr); }
}
.hb-top > .hx-btn, .hb-share-stack { flex: 0 0 auto; }
.hb-share-btn .hx-btn-text { overflow: visible; }
.hb-crumbs { min-width: 0px; flex: 1 1 auto; }
.hb-plan { --cut: var(--hb-cut-lg); --bd: var(--hb-line-strong); position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; background: var(--hb-surface); clip-path: polygon(calc(var(--cut) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--cut) + 1px)); }
.hb-plan::before { content: ""; position: absolute; inset: 0px; z-index: var(--hb-z-below); pointer-events: none; box-sizing: border-box; border: var(--bw, 1px) solid var(--bd, transparent); background: linear-gradient(135deg,var(--bd, transparent) calc(var(--cut) * .7071 + var(--bw, 1px) - .35px),transparent calc(var(--cut) * .7071 + var(--bw, 1px) + .35px)) 0 0 / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat border-box,linear-gradient(315deg,var(--bd, transparent) calc(var(--cut) * .7071 + var(--bw, 1px) - .35px),transparent calc(var(--cut) * .7071 + var(--bw, 1px) + .35px)) 100% 100% / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat border-box; }
.hb-plan.is-pick { --bd: var(--hb-primary); background: color-mix(in srgb,var(--hb-primary) 4%,var(--hb-surface)); }
.hb-plan-tag { font-size: var(--hb-text-sm); color: var(--hb-muted); min-height: 32px; }
.hb-plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.hb-plan-price span { font: 700 var(--hb-text-3xl)/1 var(--hb-font); letter-spacing: -0.02em; }
.hb-plan-price small, .hb-plan-bill { font-size: var(--hb-text-sm); color: var(--hb-muted); }
.hb-plan ul { list-style: none; margin: 10px 0px 12px; padding: 0px; display: grid; gap: 6px; font-size: var(--hb-text-md); flex: 1 1 0%; }
.hb-plan li { display: flex; gap: 6px; align-items: flex-start; line-height: 1.35; }
.hb-plan li .hx-licon { color: var(--hb-success); margin-top: 1px; }
.hb-plan-price span, .hb-plan-price small { white-space: nowrap; }
.hb-plan-tag { min-height: 0px; }
.hb-plan ul { margin: 8px 0px 12px; }
.hb-lab-in.is-sm { height: 24px; font-size: var(--hb-text-sm); color: var(--hb-ink-2); }
.hb-bio-product > button, .hb-lab-actions > button { justify-self: start; width: auto; }
.hb-plan { gap: var(--hb-space-2); padding: var(--hb-space-5) var(--hb-space-5) var(--hb-space-4); }
.hb-plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--hb-space-2); min-height: 24px; }
.hb-plan-name { font-size: var(--hb-text-xl); }
.hb-plan-price { align-items: baseline; gap: var(--hb-space-2); margin-top: var(--hb-space-3); }
.hb-plan-price s { font-size: var(--hb-text-lg); color: var(--hb-muted); text-decoration-thickness: 1px; }
.hb-plan-bill { margin-bottom: var(--hb-space-3); }
.hb-plan ul { margin-top: var(--hb-space-3); padding-top: var(--hb-space-3); border-top: 1px solid var(--hb-line); }
.hb-sp-hex { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: var(--hb-accent-ink); background: color-mix(in srgb,var(--hb-primary) 14%,var(--hb-surface)); clip-path: var(--hx-hex-pt); }
.hb-sp-link { border: 0px; background: none; padding: 0px; font: 500 var(--hb-text-md) var(--hb-font); color: var(--hb-accent-ink); cursor: pointer; }
.hb-sp-link:hover { text-decoration: underline; }
.hb-sp-link:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 2px; border-radius: var(--hb-radius-sm); }
.hb-sr-only { width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; border: 0px; position: absolute !important; }
.hb-svg:focus { outline: none; }
.hb-svg:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: -2px; }
.hb-canvas:not(.is-active):not(.is-focus) { touch-action: pan-x pan-y pinch-zoom; }
@keyframes hb-kb-pulse { 
  50% { stroke-width: 0.085; }
}
.hb-fz-hint { position: absolute; right: 10px; top: 10px; z-index: var(--hb-z-float); pointer-events: none; padding: 3px 9px; border-radius: var(--hb-radius-pill); font: 500 var(--hb-text-sm)/1.5 var(--hb-font); background: color-mix(in srgb,var(--hb-elev) 92%,transparent); color: var(--hb-ink-2); box-shadow: 0 0 0 1px var(--hb-line),var(--hb-shadow); opacity: 0; transform: translateY(-2px); transition: opacity var(--hb-dur-base) ease,transform var(--hb-dur-base) ease; }
.hb-fz:hover .hb-fz-hint:not(.is-armed) { opacity: 1; transform: none; transition-delay: 0.35s; }
@keyframes hb-fz-out { 
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}
@media (hover: none) {
.hb-fz-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.hb-fz-hint { transition: none; transform: none; }
}
.hb-3d-stage { height: var(--hb-block-h, 380px); }
.hb-canvas > .hb-fz-hint { inset: auto auto 12px 12px; }
@keyframes hb-mfocus-in { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.hb-figure { position: relative; }
@keyframes hb-tools-in { 
  0% { opacity: 0; }
}
.hb-zoom { opacity: 0; pointer-events: none; transition: opacity var(--hb-dur-fast) ease; }
.hb-canvas:hover > .hb-zoom, .hb-canvas:focus-within > .hb-zoom, .hb-canvas.is-active > .hb-zoom, .hb-canvas.is-focus > .hb-zoom { opacity: 1; pointer-events: auto; }
@media (hover: none) {
.hb-canvas:not(.is-active):not(.is-focus) > .hb-zoom { opacity: 0; pointer-events: none; }
}
.hb-arrow.is-note > path:first-child { stroke-width: 0.035; }
@media (max-width: 560px) {
.hb-fig-summary > .hb-formula-tag ~ .hb-formula-tag { display: none; }
}
@keyframes hb-gs-burst { 
  0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.4); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-30px) scale(1) rotate(90deg); }
}
@media print {
html, body, #root { height: auto; overflow: visible; background: var(--hb-paper) !important; }
.hb-side, .hb-top, .hb-inspector, .hb-focus, .hb-dropzone, .hb-mobile-menu, .hb-toaster-host, .hx-layer, .hx-dialog-backdrop, .hx-dialog-viewport, .hb-gutter, .hb-resize-out, .hb-resize, .hb-doc-tail, .hb-selrect, .hx-callout--bar, .hb-banners, .hb-slash, .hb-toolbar, .hb-zoom, .hb-grid-act, .hb-math-editbtn, .hb-math-edit, .hb-math-bar, .hb-3d-bar, .hb-3d-view, .hb-3d-busy, .hb-fz-hint, .hb-dtable-bar, .hb-spectrum-paste, .hb-sp-notes, .hb-sp-mol, .hb-sp-pick, .hb-sp-cursor, .hb-sp-probe, .hb-sp-tip, .hb-sp-ref:not(.is-open), .hb-sp-ref-bar, .hb-sp-ref-tools, .hb-spectrum-head .hx-seg, .hb-spectrum-head .hx-btn, .hb-sp-band, .hb-canvas-empty, .hb-image .hx-btn, input[type="file"] { display: none !important; }
:root .hb-app, :root .hb-app.is-rail { display: block; height: auto; background: var(--hb-paper) !important; }
:root .hb-main, :root .hb-body { display: block; height: auto; min-height: 0px; }
:root .hb-scroll { overflow: visible; height: auto; background: var(--hb-paper); }
:root .hb-doc { padding: 0px; min-height: 0px; }
:root .hb-doc-head, :root .hb-block:not(.is-wide), :root .hb-block.is-wide { max-width: none; margin-left: 0px; margin-right: 0px; }
:root .hb-block.is-active .hb-figure, :root .hb-figure, :root .hb-props, :root .hb-3d, :root .hb-spectrum, :root .hb-exercise { box-shadow: none; }
.hb-title::placeholder { color: transparent; }
.hb-block.is-h1, .hb-block.is-h2, .hb-block.is-h3 { break-after: avoid; }
.hb-figure, .hb-block.is-canvas, .hb-block.is-table, .hb-block.is-props, .hb-block.is-image, .hb-block.is-mol3d, .hb-block.is-spectrum, .hb-block.is-math, .hb-block.is-stoich, .hb-block.is-exercise, .hb-block.is-callout, .hb-block.is-code, table, tr, img, svg { break-inside: avoid; }
thead { display: table-header-group; }
.hb-canvas { border: 0px; background: var(--hb-paper) !important; }
.hb-canvas .hb-grid, .hb-canvas .hb-grid-line, .hb-canvas .hb-ghost, .hb-canvas .hb-ghost-edge, .hb-canvas .hb-ghost-ring, .hb-canvas .hb-ghost-dot, .hb-canvas .hb-marquee, .hb-canvas .hb-draft, .hb-canvas .hb-mfocus, .hb-canvas .hb-free-dot, .hb-canvas .hb-ctx { display: none !important; }
.hb-figure { border-color: var(--hb-print-line) !important; }
.hb-3d-stage { height: auto !important; }
:root .hb-doc input, :root .hb-doc textarea, :root .hb-doc select { border-color: transparent; background: transparent; box-shadow: none; }
a { color: inherit; }
.hb-skip, .hb-lab-actions button, .hb-lab-table.is-stoich td:last-child button { display: none !important; }
}
.hb-cap, .hb-when-abs { display: none; }
@media print {
.hb-when-rel, .hb-meta-link svg { display: none !important; }
.hb-when-abs { display: inline; }
:root .hb-title, .hb-pdf-title { font: 700 20pt/1.2 var(--hb-font); letter-spacing: -0.02em; margin: 0px 0px 8pt; padding: 0px; }
:root .hb-doc-meta { margin: 0px 0px 16pt; border-top: 1.2pt solid var(--hb-print-ink); border-bottom: .5pt solid var(--hb-print-line); }
:root .hb-doc-meta .hb-cell { padding: 5pt 18pt 5pt 0px; margin-right: 18pt; border-right: 0px; }
:root .hb-doc-meta .hb-cell-k { font-size: 7pt; }
:root .hb-doc-meta .hb-cell-v { font-size: 9.5pt; font-weight: 500; }
:root .hb-figure, :root .hb-spectrum { border-radius: 0px; background: none; box-shadow: none; border: 0px !important; }
:root .hb-figure { padding-top: 6pt; border-top: .5pt solid var(--hb-print-line) !important; }
.hb-figure-head, .hb-spectrum-head, .hb-image-head, .hb-plate-head, .hb-plate-act, .hb-grid-menu, .hb-grid-act, .hb-dtable-add, .hb-image-data { display: none !important; }
:root .hb-block.is-canvas, :root .hb-figure, :root .hb-block.is-table { break-inside: auto; }
.hb-figure .hb-canvas, .hb-figure .hb-present-sheet { break-after: avoid; }
:root .hb-canvas, :root .hb-present-sheet { background: none !important; }
:root .hb-doc ::placeholder { color: transparent; }
:root .hb-doc textarea { resize: none; }
.hb-doc-meta .is-tags:not(:has(.hx-tag)), .hb-doc-tags button { display: none; }
:root .hb-stx, :root .hb-lab-head { background: none; box-shadow: none; border-radius: 0px; border: 0px !important; }
:root .hb-block.is-stoich { break-inside: auto; }
:root .hb-stx-main, :root .hb-lab-head { break-inside: avoid; }
:root .hb-lab-head { break-after: avoid; }
:root .hb-stx-body { display: block; }
:root .hb-stx-table { min-width: 0px; width: 100%; font-size: 8pt; zoom: 1; }
:root .hb-stx-result { display: grid; grid-template-columns: 1fr 1fr; gap: 4pt 18pt; margin-top: 8pt; padding: 8pt 0px 0px; border-left: 0px; border-top: .5pt solid var(--hb-print-line); background: none; break-inside: avoid; }
:root .hb-stx-result > * { min-width: 0px; }
:root .hb-doc .hx-seg { padding: 0px; gap: 0px; background: none; border-radius: 0px; }
:root .hb-doc .hx-seg-opt:not(.is-on) { display: none; }
:root .hb-doc .hx-seg-opt.is-on { height: auto; padding: 0px; background: none; box-shadow: none; border-radius: 0px; }
:root .hb-doc .hx-dd { width: auto; min-width: 0px; padding-inline: 0px; border-color: transparent; background: none; box-shadow: none; }
:root .hb-doc .hx-seg::before, :root .hb-doc .hx-seg::after, :root .hb-doc .hx-seg-opt::before, :root .hb-doc .hx-seg-opt::after { display: none; }
.hb-fmt-line .hx-btn, .hb-fmt-more, .hb-fmt-act, .hb-doc .hx-dd-caret, .hb-form-kind.is-menu > .hx-licon:last-child, .hb-seq-draw, .hb-canvas [data-export="skip"], .hb-canvas .hb-sel { display: none !important; }
:root .hb-3d-body > .hb-3d-stage { min-height: 0px; }
.hb-present-sheet text, .hb-canvas text { stroke: none !important; paint-order: normal !important; }
:root .hb-stx-wrap:has(.hb-stx-table), :root .hb-table-wrap:has(> .hb-lab-table.is-stoich) { background: none; }
}
.hb-resize { position: relative; outline: none; }
.hb-resize:focus-visible span, .hb-resize.is-dragging span { background: var(--hb-primary); }
.hb-resize:focus-visible { box-shadow: inset 0 0 0 2px color-mix(in srgb,var(--hb-primary) 45%,transparent); }
.hb-resize-out { margin-top: -2px; opacity: 0; transition: opacity var(--hb-dur-fast); }
.hb-block:hover .hb-resize-out, .hb-block.is-active .hb-resize-out, .hb-resize-out:focus-within { opacity: 1; }
.hb-resize-out .hb-resize { background: transparent; border-top: 0px; height: 14px; border-radius: 0 0 var(--hb-radius-lg) var(--hb-radius-lg); }
@media (hover: none) {
.hb-resize-out { opacity: 1; }
}
@keyframes hb-flash { 
  0%, 35% { opacity: 1; }
  100% { opacity: 0; }
}
.hb-pm { outline: none; white-space: pre-wrap; overflow-wrap: anywhere; caret-color: var(--hb-primary); }
.hb-pm:focus, .hb-pm:focus-visible { outline: none; box-shadow: none; }
.hb-pm .hb-text { overflow: visible; }
.hb-pm ::selection { background: color-mix(in srgb,var(--hb-primary) 24%,transparent); }
@keyframes hb-rt-in { 
  0% { opacity: 0; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}
@keyframes hb-rt-in-below { 
  0% { opacity: 0; transform: translateY(-3px); }
  100% { opacity: 1; transform: none; }
}
@keyframes hb-cm-flash { 
  0%, 30% { box-shadow: 0 0 0 3px color-mix(in srgb,var(--hb-warning) 55%,transparent); background: color-mix(in srgb,var(--hb-warning) 8%,transparent); }
  100% { box-shadow: transparent 0px 0px 0px 3px; background: transparent; }
}
@keyframes hb-cm-pop { 
  0% { opacity: 0; transform: translateY(3px); }
}
@keyframes hb-toast-in { 
  0% { opacity: 0; transform: translateY(8px); }
}
.hb-app .hx-btn.hb-mobile-menu { display: none; }
@media (max-width: 760px) {
.hb-app .hx-btn.hb-mobile-menu { display: inline-flex; }
}
@keyframes hb-rail-in { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hb-selbar-in { 
  0% { opacity: 0; transform: translateY(-3px); }
}
.hb-doc-tag-add { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0px 8px 0px 6px; border: 1px dashed var(--hb-line-strong); background: transparent; cursor: pointer; font: 500 var(--hb-text-sm) / 1 var(--hb-font); color: var(--hb-ink-2); }
.hb-doc-tag-add:hover, .hb-doc-tag-add[aria-expanded="true"] { color: var(--hb-ink); border-color: var(--hb-ink-2); background: var(--hb-surface-2); }
.hb-doc-tag-add:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 1px; }
@media (min-width: 761px) {
.hb-doc-tag-x, .hb-doc-tag-add, .hb-meta-link, .hb-side-label-link { position: relative; }
.hb-doc-tag-x::after, .hb-doc-tag-add::after, .hb-meta-link::after, .hb-side-label-link::after { content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, 24px); height: max(100%, 24px); transform: translate(-50%, -50%); }
}
.hb-main.has-hist > :not(.hb-hist, .hb-hist-boot) { visibility: hidden; }
@keyframes hb-hist-in { 
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: none; }
}
.hb-top:not(.hb-top-home) .hb-crumbs { flex: 0 1 auto; }
.hb-top .hb-crumb-doc { max-width: min(300px, 32vw); }
.hb-status { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; height: 26px; padding: 0px 7px; border-radius: var(--hb-radius-md); font: 400 var(--hb-text-sm) var(--hb-font); color: var(--hb-muted); white-space: nowrap; cursor: default; }
.hb-status:hover { background: color-mix(in srgb,var(--hb-ink) 5%,transparent); color: var(--hb-ink-2); }
.hb-status:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 1px; }
.hb-top-desk { display: contents; }
.hb-top .hb-share-btn { margin: 0px 2px 0px 6px; }
.lay-mobile .hb-top:not(.hb-top-home) .hb-crumbs { flex: 1 1 0px; }
.lay-mobile .hb-top:not(.hb-top-home) .hb-crumb-root, .lay-mobile .hb-top:not(.hb-top-home) .hb-crumbs > .hx-licon, .lay-mobile .hb-top:not(.hb-top-home) .hb-crumb-doc ~ .hb-crumb-doc { display: none; }
.lay-mobile .hb-top:not(.hb-top-home) .hb-crumb-doc { max-width: none; font-size: var(--hb-text-xl); }
.lay-mobile .hb-top:not(.hb-top-home) .hb-spacer, .lay-mobile .hb-top:not(.hb-top-home) .hb-here, .lay-mobile .hb-top:not(.hb-top-home) .hb-trialbadge, .lay-mobile .hb-top:not(.hb-top-home) .hb-share-stack, .lay-mobile .hb-side-toggle { display: none; }
.hb-side-toggle, .hb-panel-btn { color: var(--hb-ink-2); }
.lay-mobile .hb-top:not(.hb-top-home) .hb-crumb-doc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lay-mobile .hb-top:not(.hb-top-home) { gap: 2px; padding: 0px 6px; }
@media (pointer: coarse) {
.hb-top .hx-btn { min-height: 36px; min-width: 36px; }
}
.hb-app.panel-overlay .hb-body, .hb-app.panel-overlay.insp-closed .hb-body, .hb-app.panel-overlay.has-comments .hb-body { grid-template-columns: minmax(0px, 1fr); }
.hb-app.panel-overlay .hb-inspector, .hb-app.panel-overlay .hb-cm-drawer { position: fixed; right: 0px; top: 52px; bottom: 0px; width: min(var(--hb-insp-w, 360px),92vw); z-index: calc(var(--hb-z-drawer) + 1); grid-area: auto; border-left: 1px solid var(--hb-line-strong); box-shadow: var(--hb-shadow-lg); animation: 0.18s ease-out 0s 1 normal none running hb-drawer-in; }
@keyframes hb-drawer-in { 
  0% { transform: translate(14px); opacity: 0; }
}
@keyframes hb-scrim-in { 
  0% { opacity: 0; }
}
.hb-inspector > .hb-insp { height: 100%; min-height: 0px; }
.hb-insp-group { font: 500 var(--hb-text-sm)/1 var(--hb-font); padding: 5px 10px; border: 0px; cursor: pointer; color: var(--hb-ink-2); background: var(--hb-surface-2); clip-path: polygon(calc(var(--hb-cut-sm) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--hb-cut-sm) - 1px),calc(100% - var(--hb-cut-sm) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--hb-cut-sm) + 1px)); }
.hb-insp-group:hover, .hb-insp-group.is-focus { background: color-mix(in srgb,var(--hb-primary) 14%,var(--hb-surface)); color: var(--hb-accent-ink); }
.hb-insp-group:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 1px; }
.hb-rules li.is-link { cursor: pointer; border-radius: var(--hb-radius-md); position: relative; grid-template-columns: 18px minmax(0px, 1fr) 14px; margin: 0px -6px; padding: 4px 6px; }
.hb-rules li.is-link:hover, .hb-rules li.is-focus { background: color-mix(in srgb,var(--hb-primary) 8%,transparent); }
.hb-rules li.is-link:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 1px; }
.hb-rule-go { margin-left: auto; align-self: center; color: var(--hb-muted); opacity: 0; transition: opacity var(--hb-dur-fast); flex: 0 0 auto; }
.hb-rules li.is-link:hover .hb-rule-go, .hb-rules li.is-focus .hb-rule-go { opacity: 1; }
.hb-fc-k { font-size: var(--hb-text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hb-muted); font-weight: 600; }
.hb-chk-mark { --c: var(--hb-muted); flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; clip-path: var(--hx-hex-pt); color: var(--c); background: color-mix(in srgb,var(--c) 16%,transparent); }
.hb-rules.hb-chk .hb-chk-mark, .hb-rules.hb-chk .hb-chk-mark span { display: grid; color: var(--c); margin: 0px; }
.hb-chk li.is-info .hb-chk-mark { --c: var(--hb-accent-ink); }
.hb-rules.hb-chk { gap: var(--hb-space-2); }
.hb-rules.hb-chk li, .hb-rules.hb-chk li.is-link { grid-template-columns: 24px minmax(0px, 1fr); gap: var(--hb-space-3); align-items: start; margin: 0px; padding: var(--hb-space-2) var(--hb-space-3); border-radius: var(--hb-radius-lg); }
.hb-rules.hb-chk li.is-link { grid-template-columns: 24px minmax(0px, 1fr) 14px; }
.hb-rules.hb-chk li.is-link:hover, .hb-rules.hb-chk li.is-focus { background: color-mix(in srgb,var(--hb-primary) 6%,var(--hb-surface)); }
.hb-chk-tx { display: grid; gap: 2px; min-width: 0px; }
.hb-chk-head { display: flex; align-items: center; justify-content: space-between; gap: var(--hb-space-2); min-height: 24px; }
.hb-rules.hb-chk .hb-chk-head b { min-width: 0px; color: var(--hb-ink); }
.hb-rules.hb-chk .hb-chk-head .hx-tag { flex: 0 0 auto; }
.hb-rules.hb-chk .hx-tag { display: inline-flex; color: var(--c); font: var(--hb-weight-medium) var(--hb-text-sm) / 1 var(--hb-font); }
.hb-rules.hb-chk .hx-tag span, .hb-rules.hb-chk .hx-btn span { display: inline-flex; color: inherit; font-size: inherit; line-height: inherit; }
.hb-rules.hb-chk .hb-chk-detail { color: var(--hb-ink-2); }
.hb-rx-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--hb-space-2); container-type: inline-size; }
.hb-rx-layout > .hb-fc-k { grid-column: 1 / -1; }
.hb-rx-layout .hx-btn { justify-content: center; min-width: 0px; }
@container (max-width: 250px) {
.hb-rx-layout { grid-template-columns: 1fr; }
}
.hb-rx-layout.is-icons { display: flex; flex-wrap: wrap; gap: var(--hb-space-2); }
.hb-rx-layout.is-icons > .hb-fc-k { flex-basis: 100%; }
.hb-insp-head { gap: 8px; }
.hb-insp-head .hb-insp-name { flex: 0 1 auto; border: 0px; background: none; padding: 3px 6px; margin-left: -6px; border-radius: var(--hb-radius-md); cursor: pointer; color: var(--hb-ink); font: 600 var(--hb-text-lg) var(--hb-font); }
.hb-insp-head .hb-insp-name:hover { background: color-mix(in srgb,var(--hb-ink) 6%,transparent); }
.hb-insp-head .hb-insp-name:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 1px; }
.hb-insp-fig { flex: 0 0 auto; font: 600 var(--hb-text-sm) var(--hb-mono); color: var(--hb-accent-ink); background: color-mix(in srgb,var(--hb-primary) 11%,transparent); padding: 3px 8px; border-radius: var(--hb-radius-sm); white-space: nowrap; }
.hb-insp-title { min-width: 0px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; text-align: left; line-height: 1.25; }
.hb-insp .hb-spec th { white-space: normal; padding-right: 10px; }
.hb-insp-follow { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0px 7px; border-radius: var(--hb-radius-pill); font: 500 var(--hb-text-xs) var(--hb-font); color: var(--hb-accent-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--hb-primary) 40%,transparent); white-space: nowrap; cursor: help; }
.hb-insp-head .hb-insp-close { margin-left: auto; }
.hb-insp-stack { gap: 14px; }
.hb-isecs { display: flex; flex-direction: column; margin-top: 2px; }
.hb-isecs-bar { display: flex; align-items: center; gap: 2px; padding: 0px 0px 6px; }
.hb-isecs-bar > span { flex: 1 1 0%; font: 600 var(--hb-text-xs) var(--hb-font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hb-muted); }
.hb-isec-chev { flex: 0 0 auto; color: var(--hb-muted); transition: transform var(--hb-dur-fast) ease; }
.hb-spec-head { display: grid; gap: 8px; }
.hb-spec-tools { flex: 0 0 auto; display: flex; gap: 4px; }
.hb-spec-3dwrap { position: relative; display: inline-flex; }
.hb-spec-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.hb-spec-tags .hx-tag.is-interactive { cursor: pointer; }
.hb-spec-link { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 2px 0px; border: 0px; background: none; cursor: pointer; font: var(--hb-weight-medium) var(--hb-text-sm) var(--hb-font); color: var(--hb-accent-ink); }
.hb-spec-link:hover:not(:disabled) { text-decoration: underline; }
.hb-spec-link:disabled { color: var(--hb-muted); cursor: default; }
.hb-spec-link:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 2px; border-radius: var(--hb-radius-sm); }
.hb-spec { border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); overflow: hidden; background: var(--hb-surface-2); }
.hb-spec table { width: 100%; border-collapse: collapse; font-size: var(--hb-text-md); }
.hb-spec th, .hb-spec td { padding: 6px 0px; border-bottom: 1px solid var(--hb-line); text-align: left; font-weight: var(--hb-weight-regular); color: var(--hb-ink-2); }
.hb-spec tr:last-child > * { border-bottom: 0px; }
.hb-spec th { padding-left: 12px; width: 38%; color: var(--hb-muted); white-space: nowrap; }
.hb-spec td.v { font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; color: var(--hb-ink); text-align: right; padding-right: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hb-spec td.m { font-size: var(--hb-text-sm); color: var(--hb-muted); padding-right: 12px; }
.hb-spec tr.is-formula td { padding: 10px 12px 10px 0px; }
.hb-spec tr.is-formula .hb-formula { font-size: var(--hb-text-2xl); margin: 0px; text-align: right; }
.hb-spec tr.is-cut > * { border-bottom-color: var(--hb-line-strong); }
.hb-spec td.v.is-text { font: var(--hb-weight-regular) var(--hb-text-md) var(--hb-font); }
.hb-spec tr.is-head > * { border-bottom: 0px; padding-bottom: 2px; }
.hb-spec tr.is-sub td { padding: 0px 12px 8px; }
.hb-spec td.a { width: 1%; padding: 0px 6px 0px 0px; white-space: nowrap; text-align: right; }
.hx-hexstatus { --fill: var(--hb-border-strong); --on: var(--hb-text-secondary); flex: 0 0 auto; display: inline-grid; place-items: center; width: 18px; height: 18px; background: var(--fill); color: var(--on); clip-path: var(--hx-hex-pt); vertical-align: middle; }
.hx-hexstatus.is-ok { --fill: var(--hb-success); --on: var(--hb-on-success); }
.hb-scard, .hb-st-status, .hb-plan-strip, .hb-dangerrow, .hb-proof, .hb-state, .hx-callout, .hb-ledger { position: relative; clip-path: polygon(-1px -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px)); }
.hb-scard::after, .hb-st-status::after, .hb-plan-strip::after, .hb-dangerrow::after, .hb-proof::after, .hb-state::after, .hx-callout::after, .hb-ledger::after { content: ""; position: absolute; inset: 0px; pointer-events: none; box-sizing: border-box; background: linear-gradient(315deg,var(--bd) calc(var(--cut) * .7071 + .65px),transparent calc(var(--cut) * .7071 + 1.35px)) 100% 100% / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat; }
.hb-insp-body { flex: 1 1 auto; min-height: 0px; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 16px; }
.hb-bar { --cut: var(--hb-cut-sm); flex: 0 0 auto; display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1.6fr) minmax(0px, 1fr); border-top: 1px solid var(--hb-line); background: var(--hb-surface); padding-bottom: env(safe-area-inset-bottom); position: relative; }
.hb-bar-tab { position: relative; min-height: 56px; min-width: 0px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 4px; border: 0px; background: none; cursor: pointer; color: var(--hb-ink-2); font: var(--hb-weight-medium) var(--hb-text-xs) var(--hb-font); }
.hb-bar-tab:hover { background: color-mix(in srgb,var(--hb-ink) 5%,transparent); color: var(--hb-ink); }
.hb-bar-tab:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: -3px; }
.hb-bar-tab.is-on { background: color-mix(in srgb,var(--hb-primary) 10%,var(--hb-surface)); color: var(--hb-ink); }
.hb-bar-tab.is-on::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; translate: -50%; background: var(--hb-primary); clip-path: var(--hx-hex-pt); }
.hb-bar-tab > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-bar-tab.is-check { flex-direction: row; justify-content: center; gap: 8px; padding: 6px 8px; }
.hb-bar-tx { display: grid; min-width: 0px; text-align: left; line-height: 1.25; }
.hb-bar-tx b { font-weight: var(--hb-weight-semibold); color: var(--hb-ink); }
.hb-bar-tx small { font-size: var(--hb-text-xs); color: var(--hb-ink-2); white-space: normal; }
@container (max-width: 300px) {
.hb-bar-tab:not(.is-check) > span { display: none; }
}
.hb-stp { position: relative; display: grid; gap: 8px; }
.hb-stp-row1 { display: flex; align-items: center; gap: 8px; }
.hb-stp-nav { display: flex; gap: 4px; flex: 0 0 auto; }
.hb-stp-counter { flex: 1 1 0px; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hb-ink-2); font-variant-numeric: tabular-nums; }
.hb-stp-bar { --cut: var(--hb-cut-md); display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 0px 12px; border: 0px; cursor: pointer; text-align: left; color: var(--hb-ink); background: var(--hb-surface-3); font: var(--hb-weight-semibold) var(--hb-text-xl) var(--hb-font); clip-path: polygon(calc(var(--cut) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--cut) + 1px)); }
.hb-stp-bar:hover, .hb-stp-bar[aria-expanded="true"] { background: color-mix(in srgb,var(--hb-primary) 12%,var(--hb-surface-3)); }
.hb-stp-bar:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: -3px; }
.hb-stp-name { flex: 1 1 auto; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-isecs-bar { min-height: 32px; padding-bottom: 8px; }
.hb-ess { display: grid; gap: 12px; }
.hb-ess-rule { display: flex; align-items: center; gap: 8px; font-size: var(--hb-text-md); color: var(--hb-ink-2); }
.hb-ess-copy { display: grid; gap: 6px; }
.hb-copychip { --cut: var(--hb-cut-sm); display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0px 9px; border: 0px; cursor: pointer; background: var(--hb-surface-3); color: var(--hb-ink-2); font: var(--hb-weight-medium) var(--hb-text-xs) var(--hb-font); clip-path: polygon(calc(var(--cut) + 1px) -1px,calc(100% + 1px) -1px,calc(100% + 1px) calc(100% - var(--cut) - 1px),calc(100% - var(--cut) - 1px) calc(100% + 1px),-1px calc(100% + 1px),-1px calc(var(--cut) + 1px)); }
.hb-copychip:hover { background: color-mix(in srgb,var(--hb-primary) 12%,var(--hb-surface-3)); color: var(--hb-ink); }
.hb-copychip:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: -2px; }
.hb-chk-banner { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--hb-radius-lg); background: var(--hb-success-bg); }
.hb-chk-banner > div { display: grid; gap: 1px; }
.hb-chk-banner b { font: var(--hb-weight-semibold) var(--hb-text-lg) var(--hb-font); color: var(--hb-ink); }
.hb-chk-banner span { font-size: var(--hb-text-md); color: var(--hb-ink-2); }
.hb-chk-passed { border-top: 1px solid var(--hb-line); padding-top: 4px; display: grid; gap: 8px; }
.hb-chk-passed-btn { display: flex; width: 100%; min-width: 0px; align-items: center; gap: 8px; min-height: 36px; padding: 0px; border: 0px; background: none; cursor: pointer; text-align: left; font: var(--hb-text-md) var(--hb-font); color: var(--hb-ink-2); }
.hb-chk-passed-btn b { color: var(--hb-ink); font-weight: var(--hb-weight-semibold); white-space: nowrap; }
.hb-chk-passed-btn small { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--hb-text-xs); color: var(--hb-muted); }
.hb-chk-passed-btn:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 2px; }
@media (pointer: coarse) {
.hb-chk-passed-btn { min-height: 44px; }
}
.hb-rules.hb-chk .hb-chk-head .hx-tag { max-width: 55%; min-width: 0px; }
.hb-insp { container-type: inline-size; }
.hb-hexdot { --fill: var(--hb-text-muted); flex: 0 0 auto; display: inline-block; width: 14px; height: 14px; background: var(--fill); clip-path: var(--hx-hex-pt); }
.hb-hexdot.is-limitante { --fill: var(--hb-accent); }
.hb-hexdot.is-prodotto, .hb-hexdot.is-on { --fill: var(--hb-success); }
.hb-hexdot.is-solvente, .hb-hexdot.is-off { --fill: var(--hb-border-strong); }
.hb-stx { container-type: inline-size; }
.hb-stx-body { display: grid; grid-template-columns: minmax(0px, 1fr); }
.hb-stx-main { min-width: 0px; }
@container (min-width: 620px) {
.hb-stx-body { grid-template-columns: minmax(0px, 1fr) 270px; }
}
.hb-stx-wrap { position: relative; }
.hb-stx-table { width: 100%; min-width: 440px; border-collapse: separate; border-spacing: 0px; font-size: var(--hb-text-md); overflow-wrap: normal; white-space: normal; }
.hb-stx-table th { padding: 10px 6px 6px; text-align: left; font-size: var(--hb-text-xs); font-weight: var(--hb-weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hb-muted); white-space: nowrap; vertical-align: bottom; line-height: 1.25; border-bottom: 1px solid var(--hb-line); }
.hb-stx-table th.is-sym { text-transform: none; letter-spacing: 0px; font-size: var(--hb-text-md); }
.hb-stx-table th.num, .hb-stx-table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hb-stx-table .hb-lab-unit { display: block; font-weight: var(--hb-weight-regular); font-size: var(--hb-text-xs); text-transform: none; letter-spacing: 0px; }
.hb-stx-table td { padding: 6px; vertical-align: middle; border-bottom: 1px solid var(--hb-line); }
.hb-stx-table tbody tr:last-child td { border-bottom: 0px; }
.hb-stx-table th:first-child, .hb-stx-table td:first-child { padding-left: 14px; min-width: 190px; }
.hb-stx-table th:last-child, .hb-stx-table td:last-child { width: 34px; padding: 0px 4px; }
.hb-stx-table .hb-lab-in.is-num { width: 60px; padding: 0px 6px; min-width: 0px; }
.hb-stx-sub { display: flex; align-items: flex-start; gap: 10px; }
.hb-stx-sub > .hb-hexdot { margin-top: 8px; }
.hb-stx-names { flex: 1 1 0%; min-width: 0px; display: grid; gap: 0px; }
.hb-stx-names .hb-lab-in.is-name { padding: 0px 6px; margin-left: -7px; width: calc(100% + 7px); text-overflow: clip; }
.hb-stx-line { display: flex; align-items: center; flex-wrap: wrap; gap: 0px 4px; margin-left: -7px; color: var(--hb-muted); }
.hb-stx-line .hb-lab-in.is-sm { field-sizing: content; width: 9ch; min-width: 5ch; max-width: 16ch; flex: 0 1 auto; padding: 0px 6px; }
.hb-stx-role { display: inline-flex; align-items: center; gap: 2px; height: 22px; padding: 0px 6px; border: 0px; border-radius: var(--hb-radius-sm); background: transparent; cursor: pointer; font: var(--hb-weight-medium) var(--hb-text-xs) var(--hb-font); color: var(--hb-ink-2); }
.hb-stx-role:hover { background: var(--hb-surface-2); color: var(--hb-ink); }
.hb-stx-role:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 1px; }
.hb-stx-table tr.is-limitante td:first-child { box-shadow: inset 3px 0 0 var(--hb-primary); }
.hb-stx-table tr.is-prodotto td:first-child { box-shadow: inset 3px 0 0 var(--hb-success); }
.hb-stx-table th:first-child, .hb-stx-table td:first-child { position: sticky; left: 0px; z-index: var(--hb-z-raised); background: var(--hb-surface); }
.hb-stx-wrap:has(.hb-stx-table) { background: linear-gradient(to left,var(--hb-surface) 40%,transparent) right / 32px 100% no-repeat local,radial-gradient(farthest-side at 100% 50%,color-mix(in srgb,var(--hb-ink) 16%,transparent),transparent) right / 12px 100% no-repeat scroll; }
.hb-stx .hb-lab-actions { align-items: center; }
.hb-stx-result { display: grid; align-content: start; gap: 10px; padding: 14px; background: var(--hb-surface-2); border-top: 1px solid var(--hb-line); }
@container (min-width: 620px) {
.hb-stx-result { border-top: 0px; border-left: 1px solid var(--hb-line); }
}
.hb-stx-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0px; font: var(--hb-weight-semibold) var(--hb-text-xs) var(--hb-font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hb-ink-2); }
.hb-stx-yield { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0px; }
.hb-stx-yield b { font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; font-variant-numeric: tabular-nums; color: var(--hb-ink); }
.hb-stx-yield span { font-size: var(--hb-text-md); color: var(--hb-muted); }
.hb-stx-got { display: flex; align-items: center; gap: 8px; font-size: var(--hb-text-md); color: var(--hb-ink-2); }
.hb-stx-got > span:first-child { flex: 1 1 0%; }
.hb-stx-got .hb-lab-in.is-num { width: 84px; border-color: var(--hb-line-strong); background: var(--hb-surface); }
.hb-stx-unit { font: var(--hb-text-xs) var(--hb-mono); color: var(--hb-muted); }
.hb-stx-spec th { width: auto; }
.hb-stx-spec tr.is-sub td { padding: 0px 12px 8px; font-size: var(--hb-text-xs); line-height: 1.4; color: var(--hb-muted); }
.hb-stx-foot { margin: 0px; font-size: var(--hb-text-xs); line-height: 1.45; color: var(--hb-muted); }
@media print {
:root .hb-stx-wrap { overflow: visible; background: none; }
:root .hb-stx-table { min-width: 0px; }
:root .hb-stx-body { grid-template-columns: minmax(0px, 1fr) 240px; }
.hb-stx-table td:last-child, .hb-stx-table th:last-child, .hb-stx-role svg, .hb-stx-got { display: none !important; }
:root .hb-stx-result, :root .hb-stx-table th:first-child, :root .hb-stx-table td:first-child { background: none; }
}
.hb-spectrum { container-type: inline-size; }
.hb-sp-two { display: grid; grid-template-columns: minmax(0px, 1fr); }
@container (min-width: 640px) {
.hb-sp-two { grid-template-columns: minmax(0px, 1fr) minmax(240px, 300px); }
.hb-sp-two > .hb-sp-mol { border-left: 1px solid var(--hb-line); }
}
.hb-sp-two > .hb-sp-sec { align-content: start; }
.hb-sp-count { font-weight: var(--hb-weight-regular); color: var(--hb-muted); }
.hb-sp-sec-title .hb-hexdot { width: 12px; height: 12px; }
.hb-sp-notelist { margin: 0px; gap: 0px; border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); background: var(--hb-surface-2); overflow: hidden; }
.hb-sp-note { grid-template-columns: 4.5em auto minmax(0px, 1fr) auto auto; min-height: 40px; padding: 4px 8px; border-radius: 0px; border-bottom: 1px solid var(--hb-line); }
.hb-sp-note:last-child { border-bottom: 0px; }
.hb-sp-note .hx-input, .hb-sp-note input { border-color: transparent; background: transparent; box-shadow: none; }
.hb-sp-note .hx-input:hover, .hb-sp-note input:hover { border-color: var(--hb-line); }
.hb-sp-note .hx-input:focus-within, .hb-sp-note input:focus { border-color: var(--hb-primary); background: var(--hb-surface); }
.hb-sp-note-x { font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; font-variant-numeric: tabular-nums; padding-left: 9px; }
.hb-sp-note-none { grid-column: 3 / 5; color: var(--hb-muted); font-size: var(--hb-text-md); padding: 0px 8px; }
.hb-sp-note-assign { grid-column: 5; }
.hb-sp-note-atoms { color: var(--hb-ink-2); }
.hb-sp-mol-body { grid-template-columns: minmax(0px, 1fr); }
.hb-3d { container-type: inline-size; }
.hb-3d-body { display: grid; grid-template-columns: minmax(0px, 1fr); }
@container (min-width: 640px) {
.hb-3d-body { grid-template-columns: minmax(0px, 1fr) 280px; }
.hb-3d-rail { border-left: 1px solid var(--hb-line); border-top: 0px; }
}
.hb-3d-body > .hb-3d-stage { min-height: 380px; height: auto; }
.hb-3d-rail { display: grid; align-content: start; gap: 14px; padding: 14px; background: var(--hb-surface); border-top: 1px solid var(--hb-line); }
.hb-3d-card { display: grid; gap: 8px; }
.hb-3d-name { margin: 0px; font: var(--hb-weight-semibold) var(--hb-text-lg) var(--hb-font); color: var(--hb-ink); }
.hb-3d-spec th { width: auto; white-space: nowrap; }
.hb-3d-spec td.m { white-space: normal; max-width: 110px; line-height: 1.3; padding-left: 0px; }
.hb-3d-controls { display: grid; gap: 12px; }
.hb-3d-group { display: grid; gap: 2px; }
.hb-3d-group h4 { margin: 0px 0px 4px; font: var(--hb-weight-semibold) var(--hb-text-xs) var(--hb-font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hb-muted); }
.hb-3d-trow { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 4px 4px 4px 2px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: none; border-top: 1px solid var(--hb-line); background: transparent; cursor: pointer; text-align: left; font: var(--hb-text-md) var(--hb-font); color: var(--hb-ink); }
.hb-3d-trow:hover:not(:disabled) { background: var(--hb-surface-2); }
.hb-3d-trow:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: -2px; }
.hb-3d-trow:disabled { color: var(--hb-muted); cursor: default; }
.hb-3d-trow-text { flex: 1 1 0%; min-width: 0px; display: grid; }
.hb-3d-trow-text small { font-size: var(--hb-text-xs); color: var(--hb-muted); }
.hb-3d-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-3d-actions .hx-btn { flex: 1 1 auto; }
@media print {
.hb-3d-controls { display: none !important; }
}
.hb-3d-spec th { padding-right: 12px; }
.hb-3d-spec td.m { max-width: none; }
@media print {
.hb-3d-body > .hb-3d-stage { min-height: 0px; }
}
@media screen {
.hb-text.t-h2 { margin-top: 30px; margin-bottom: 5px; }
}
.hb-lp { flex: 1 1 0px; min-height: 0px; display: grid; grid-template-columns: minmax(280px, 5fr) minmax(320px, 6fr); }
@media (max-width: 760px) {
.hb-lp { display: block; overflow-y: auto; }
}
.hb-dialog.hb-share.hx-dialog { width: min(700px, -32px + 100vw); height: auto; max-height: calc(100dvh - 48px); }
.hb-dialog.hb-share.hx-dialog > .hx-dialog-body { flex: 0 1 auto; }
.hb-share-title b { font-weight: var(--hb-weight-semibold); }
@keyframes hb-skel { 
  100% { background-position: -200% 0px; }
}
.hb-crumb-link { border: 0px; background: none; cursor: pointer; font: inherit; color: inherit; padding: 2px 6px; margin-left: -6px; border-radius: var(--hb-radius-md); display: inline-flex; align-items: center; gap: 4px; }
.hb-crumb-link:hover { background: color-mix(in srgb,var(--hb-ink) 6%,transparent); color: var(--hb-ink); }
:root { --hx-rail: min(1680px, calc(100vw - 48px) ); --hx-pad: clamp(24px, 4.2vw, 76px); --hx-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4' height='96'%3E%3Cpath d='M27.7 0L55.4 16L55.4 48L27.7 64L0 48L0 16Z M27.7 64L27.7 96' fill='none' stroke='%237f8fb0' stroke-opacity='.28' stroke-width='1'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
:root { --hx-rail: calc(100vw - 24px); --hx-pad: 20px; }
}
.hx-plate { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin: 0px; padding: 6px 14px 6px 10px; font: var(--hb-weight-medium) 15px/1.3 var(--hb-font); color: var(--hb-ink); background: var(--hb-surface-3); clip-path: polygon(9px 0px, 100% 0px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0px 100%, 0px 9px); }
.hx-plate::before { content: ""; width: 10px; height: 11px; flex: 0 0 auto; background: var(--hb-warning-fill); clip-path: var(--hx-hex-pt); }
.hb-top .hb-status { height: 28px; padding: 0px 10px 0px 8px; background: var(--hb-surface-2); clip-path: polygon(0 0,100% 0,100% calc(100% - var(--hb-cut-sm)),calc(100% - var(--hb-cut-sm)) 100%,0 100%); min-width: 0px; }
.hb-status-hex { flex: 0 0 auto; width: 11px; height: 12px; background: var(--hb-primary); clip-path: var(--hx-hex-pt); }
.hb-status.is-idle .hb-status-hex, .hb-status.is-saved .hb-status-hex { background: var(--hb-success); }
.hb-status-full { display: none; overflow: hidden; text-overflow: ellipsis; }
.lay-wide .hb-status-full, .lay-medium .hb-status-full { display: inline; }
.lay-wide .hb-status:not(.is-remote):not(.is-saving):not(.is-error) .hb-status-tx, .lay-medium .hb-status:not(.is-remote):not(.is-saving):not(.is-error) .hb-status-tx { display: none; }
.hb-doc-meta { display: flex; flex-wrap: wrap; gap: 0px; align-items: stretch; margin: 14px 0px 30px; border-block: 1px solid var(--hb-line); color: var(--hb-ink); }
.hb-cell, .hb-doc-meta .hb-docmeter { display: grid; gap: 3px; align-content: center; min-width: 0px; padding: 9px 20px 10px 0px; margin-right: 20px; border-right: 1px solid var(--hb-line); text-align: left; }
.hb-doc-meta > :last-child { border-right: 0px; margin-right: 0px; }
.hb-doc-meta .hb-cell.is-tags { flex: 1 0 100%; margin-right: 0px; border-top: 1px solid var(--hb-line); border-right: 0px; }
.hb-doc-meta .hb-cell:has(+ .is-tags) { border-right: 0px; margin-right: 0px; }
.hb-doc-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0px; }
.hb-cell-k { font: var(--hb-weight-semibold) var(--hb-text-xs) / 1.2 var(--hb-font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hb-muted); }
.hb-cell-v { display: inline-flex; align-items: center; gap: 8px; font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; font-variant-numeric: tabular-nums; color: var(--hb-ink); min-width: 0px; }
.hb-cell .hb-meta-link { font: inherit; color: var(--hb-ink); text-decoration-line: underline; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: var(--hb-border-strong); text-underline-offset: 4px; }
.hb-cell .hb-meta-link .hx-licon { display: none; }
.hb-cell .hb-meta-link:hover { text-decoration-color: currentcolor; }
@media (max-width: 560px) {
.hb-cell, .hb-doc-meta .hb-docmeter { padding-right: 14px; margin-right: 14px; }
}
.hb-cell-v { min-height: 24px; }
.hb-figure { --hb-sheet-bar-h: 46px; }
.hb-toolbar.is-visible:not(.is-focus), .hb-toolbar-idle { position: relative; left: auto; right: auto; transform: none; margin: 0px; width: auto; max-width: none; box-sizing: border-box; height: var(--hb-sheet-bar-h); padding: 0px 12px; border-radius: 0px; box-shadow: none; background: var(--hb-surface-2); border-bottom: 1px solid var(--hb-line); animation: auto ease 0s 1 normal none running none; }
.hb-toolbar-idle { display: flex; align-items: center; color: var(--hb-muted); font: var(--hb-text-sm) var(--hb-font); }
@media print {
.hb-toolbar-idle { display: none; }
}
.hb-toolbar, .hb-toolbar-idle { --tb-target: 36px; --tb-pad: 6px; --tb-row-gap: 2px; --tb-rows: 2; --tb-min-h: calc( var(--tb-rows) * var(--tb-target) + (var(--tb-rows) - 1) * var(--tb-row-gap) + 2 * var(--tb-pad) ); }
.hb-toolbar.is-narrow, .hb-toolbar-idle.is-narrow { --tb-target: 40px; }
.hb-toolbar-idle.is-narrow { min-height: var(--tb-min-h); }
.hb-props-title { white-space: nowrap; }
@container (min-width: 640px) {
.hb-3d-body { grid-template-columns: minmax(0px, 1fr) minmax(280px, 340px); }
}
.hb-3d-rail { min-width: 0px; overflow-wrap: anywhere; }
.hb-3d-rail .hx-seg { flex-wrap: wrap; }
.hb-3d-rail .hx-seg-opt { min-width: 0px; padding-inline: 6px; overflow-wrap: normal; }
.hb-3d-actions .hx-btn { min-width: 0px; max-width: 100%; }
.hb-3d-spec td.v { text-align: right; white-space: nowrap; }
.hb-3d-spec tr.is-sub td { padding: 0px 0px 6px 12px; font-size: var(--hb-text-sm); color: var(--hb-muted); }
.hb-3d-state { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font: var(--hb-weight-medium) var(--hb-text-xs) / 1 var(--hb-font); color: var(--hb-muted); }
.hb-3d-trow.is-on .hb-3d-state { color: var(--hb-ink); }
.hb-3d-mol { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--hb-text-md) var(--hb-font); color: var(--hb-ink-2); }
.hb-3d-rail[hidden] { display: none; }
@container (min-width: 640px) {
.hb-3d-body.is-rail-off { grid-template-columns: minmax(0px, 1fr); }
@media screen {
.hb-3d-body.is-rail-off > .hb-3d-stage { min-height: var(--hb-3d-hold, 380px); }
}
}
@media print {
.hb-plate-act, .hb-dtable-add, .hb-grid-menu, .hb-dgrid-fade, .hb-math-edit, .hb-image-grip, .hb-image-wbadge, .hb-image-align { display: none !important; }
}
.hx-hexnum { display: inline-grid; flex: 0 0 auto; place-items: center; width: 24px; height: 27px; clip-path: var(--hx-hex-pt); font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; font-variant-numeric: tabular-nums; }
.hx-hexnum.is-on { background: var(--hb-primary); color: var(--hb-on-primary); }
.hx-hexnum.is-idle { background: var(--hb-surface-3); color: var(--hb-ink-2); }
.hb-spectrum-head .hb-caption { flex: 1 1 160px; min-width: 160px; }
.hb-sp-peak .hb-sp-hex { fill: var(--hb-surface-3); stroke: var(--hb-canvas); stroke-width: 1.5; }
.hb-sp-peak.is-note .hb-sp-hex { fill: var(--hb-primary); }
.hb-sp-peak .hb-sp-hexn { font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; font-variant-numeric: tabular-nums; fill: var(--hb-ink-2); stroke: none; paint-order: normal; pointer-events: none; }
.hb-sp-peak.is-note .hb-sp-hexn { fill: var(--hb-on-primary); }
.hb-sp-peak:hover .hb-sp-hex, .hb-sp-peak:focus-visible .hb-sp-hex, .hb-sp-peak.is-lit .hb-sp-hex { stroke: var(--hb-ink); stroke-width: 2; }
.hb-sp-note { grid-template-columns: 24px 4.5em auto minmax(0px, 1fr) auto auto; }
.hb-sp-note-none { grid-column: 4 / 6; }
.hb-sp-note-assign { grid-column: 6; }
.hb-sp-note-atoms { grid-column: 5; }
.hb-sp-note > .hb-sp-note-del { grid-column: 6; }
.hb-sp-note-xtext { display: block; box-sizing: border-box; padding: 0px 0px 0px 21px; font-style: ; font-variant-ligatures: ; font-variant-caps: ; font-variant-east-asian: ; font-variant-alternates: ; font-variant-position: ; font-variant-emoji: ; font-weight: ; font-stretch: ; font-size: ; line-height: ; font-family: ; font-optical-sizing: ; font-size-adjust: ; font-kerning: ; font-feature-settings: ; font-variation-settings: ; font-language-override: ; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
.hb-sp-note { grid-template-columns: 24px 4.6em minmax(0px, 1fr) auto auto; }
.hb-sp-note-unit { display: none; }
.hb-sp-note-none { grid-column: 3 / 5; }
.hb-sp-note-assign, .hb-sp-note > .hb-sp-note-del { grid-column: 5; }
.hb-sp-note-atoms { grid-column: 4; }
.hb-sp-note-x { padding-left: 0px; }
.hb-sp-note-x input { padding-left: 6px; padding-right: 2px; }
.hb-sp-note-xtext { padding-left: 7px; }
}
.hb-sp-links { display: flex; flex-wrap: wrap; gap: var(--hb-space-2); margin: 0px; padding: 0px; list-style: none; }
.hb-sp-link { display: inline-flex; align-items: center; gap: var(--hb-space-2); padding: 2px var(--hb-space-3) 2px 2px; border-radius: var(--hb-radius-md); background: var(--hb-surface-2); box-shadow: inset 0 0 0 1px var(--hb-line); font: var(--hb-weight-semibold) var(--hb-text-md) var(--hb-mono); color: var(--hb-ink); }
.hb-sp-mol .hx-dd-wrap.hb-head-select { flex: 1 1 180px; width: auto; min-width: 0px; max-width: 100%; }
@media (pointer: coarse) {
.hb-sp-note { min-height: 44px; }
}
.hb-guide-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: var(--hb-text-sm); color: var(--hb-accent-ink); text-decoration: none; }
.hb-guide-link:hover span { text-decoration: underline; }
.hb-guide-link:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 2px; border-radius: var(--hb-radius-sm); }
@media print {
.hb-guide-link { display: none; }
}
@keyframes hb-consent-in { 
  0% { opacity: 0; transform: translateY(8px); }
}
.hb-consent-link { padding: 0px; border: 0px; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hb-consent-link:hover { color: var(--hb-ink); }
.hb-consent-link:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 2px; border-radius: var(--hb-radius-sm); }
@keyframes hx-sheet-fade { 
  0% { opacity: 0; }
}
.hb-top-tools { display: contents; }
.hb-tool-undo, .hb-tool-redo { display: none; }
.lay-mobile .hb-top:not(.hb-top-home) { height: auto; flex-wrap: wrap; row-gap: 0px; overflow: visible; }
.lay-mobile .hb-top:not(.hb-top-home) > :not(.hb-top-tools) { order: 1; }
.lay-mobile .hb-top:not(.hb-top-home) .hb-mobile-menu, .lay-mobile .hb-top:not(.hb-top-home) .hb-more-btn { min-width: 44px; min-height: 44px; }
.lay-mobile .hb-top:not(.hb-top-home) > .hb-crumbs, .lay-mobile .hb-top:not(.hb-top-home) > .hb-mobile-menu, .lay-mobile .hb-top:not(.hb-top-home) > .hb-status, .lay-mobile .hb-top:not(.hb-top-home) > .hb-more-btn { height: 52px; }
.lay-mobile .hb-top:not(.hb-top-home) > .hb-status { height: 28px; margin-inline: 2px; }
.lay-mobile .hb-top:not(.hb-top-home) .hb-top-tools { --hx-h-sm: 44px; --hx-h-md: 44px; order: 2; flex: 0 0 calc(100% + 12px); display: flex; align-items: center; gap: 2px; height: 52px; margin: 0px -6px; padding: 0px 4px; border-top: 1px solid var(--hb-line); background: var(--hb-surface-2); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; mask-image: linear-gradient(to right, rgb(0, 0, 0) calc(100% - 28px), transparent); }
.lay-mobile .hb-top:not(.hb-top-home) .hb-top-tools::-webkit-scrollbar { display: none; }
.lay-mobile .hb-top-tools > * { flex: 0 0 auto; }
.lay-mobile .hb-top-tools .hx-btn { height: 44px; min-width: 44px; padding: 0px 8px; font-size: var(--hb-text-md); color: var(--hb-ink); }
.lay-mobile .hb-top-tools .hx-btn[disabled] { opacity: 0.35; }
.lay-mobile .hb-top-tools .hb-insert-btn { --bg: var(--hb-primary); --c: var(--hb-on-primary); --bgh: var(--hb-primary-hover); padding: 0px 10px; }
.lay-mobile .hb-top-tools .hb-insert-btn .hx-icon:last-child:not(:first-child) { display: none; }
.lay-mobile .hb-top-tools .hb-share-btn { --bg: transparent; --c: var(--hb-ink); --bgh: color-mix(in srgb, var(--hb-ink) 7%, transparent); margin: 0px; }
.lay-mobile .hb-top-tools .hb-insert-btn { order: 1; }
.lay-mobile .hb-top-tools .hb-tool-undo { order: 2; }
.lay-mobile .hb-top-tools .hb-tool-redo { order: 3; }
.lay-mobile .hb-top-tools .hb-share-btn { order: 4; }
.lay-mobile .hb-top-tools .hb-panel-btn { order: 5; }
.lay-mobile .hb-top-tools .hb-top-desk { display: contents; }
.lay-mobile .hb-top-tools .hb-cm-toggle { order: 7; }
.lay-mobile .hb-top-tools .hb-tool-undo, .lay-mobile .hb-top-tools .hb-tool-redo { display: inline-flex; }
@media (max-height: 500px) and (orientation: landscape) {
.lay-mobile .hb-top:not(.hb-top-home) { flex-wrap: nowrap; }
.lay-mobile .hb-top:not(.hb-top-home) .hb-top-tools { order: 1; flex: 0 1 auto; min-width: 0px; height: 52px; margin: 0px; padding: 0px; border: 0px; background: none; }
.lay-mobile .hb-top:not(.hb-top-home) > :not(.hb-top-tools) { order: 0; }
.lay-mobile .hb-top:not(.hb-top-home) > .hb-more-btn { order: 3; }
.lay-mobile .hb-top-tools .hx-btn .hx-btn-text { display: none; }
.lay-mobile .hb-top:not(.hb-top-home) .hb-crumbs { flex: 1 1 60px; min-width: 60px; }
}
.hb-cell-u { display: none; }
.lay-mobile .hb-doc { padding-top: 20px; }
.lay-mobile .hb-title { font-size: 30px; line-height: 1.15; }
.lay-mobile .hb-doc-meta { gap: 2px 14px; margin: 8px 0px 22px; border: 0px; color: var(--hb-ink-2); }
.lay-mobile .hb-doc-meta .hb-cell, .lay-mobile .hb-doc-meta .hb-docmeter { display: inline-flex; align-items: center; gap: 6px; padding: 0px; margin: 0px; border: 0px; min-height: 32px; }
.lay-mobile .hb-doc-meta .hb-cell-k { display: none; }
.lay-mobile .hb-doc-meta .hb-cell-v { gap: 6px; min-height: 0px; font: var(--hb-text-md) / 1.3 var(--hb-font); color: var(--hb-ink-2); }
.lay-mobile .hb-doc-meta .hb-cell-u { display: inline; color: var(--hb-muted); }
.lay-mobile .hb-doc-meta .hb-cell.is-tags { flex: 1 0 100%; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--hb-line); }
@media (max-width: 760px) {
.hb-figure-head .hb-props-btn { min-width: 44px; width: 44px; height: 44px; padding: 0px; }
.hb-figure-head .hb-props-btn .hx-btn-text, .hb-figure-head .hb-fig-summary { display: none; }
}
@media (pointer: coarse) and ((max-width: 760px) or (max-height: 500px)) {
.hb-figure > .hb-resize { display: none; }
}
@media (pointer: coarse) and (max-width: 760px) {
:root { --hx-h-sm: 44px; --hx-h-md: 44px; --hx-h-lg: 48px; }
.hx-seg-opt { min-height: 44px; }
.hb-title { min-height: 44px; }
.hb-meta-link, .hb-doc-tag-add { position: relative; }
.hb-meta-link::after, .hb-doc-tag-add::after { content: ""; position: absolute; inset: -14px -6px; }
}
@media (max-width: 760px) {
.hb-stx-wrap:has(.hb-stx-table) { background: linear-gradient(to left,var(--hb-surface) 40%,transparent) right / 40px 100% no-repeat local,radial-gradient(farthest-side at 100% 50%,color-mix(in srgb,var(--hb-ink) 32%,transparent),transparent) right / 16px 100% no-repeat scroll; }
}
@media (pointer: coarse) and (max-width: 760px) {
.hx-input > input { min-height: 44px; }
}
@media (pointer: coarse) and (max-width: 760px) {
.hb-fig-title.hx-editable, .hb-fig-title.hx-editable > input { min-height: 44px; }
.hx-avatar[style*="font-size: 8px"], .hx-avatar[style*="font-size: 9px"], .hx-avatar[style*="font-size: 10px"], .hx-avatar[style*="font-size: 11px"] { font-size: 12px !important; }
}
@media (pointer: coarse) and (max-width: 760px) {
.hb-stp-row1 { flex-wrap: wrap; row-gap: 4px; }
.hb-insp-name, .hb-stp-bar, button.hx-tag, .hb-coach-off { min-height: 44px; }
.hx-seg-opt, .hx-btn.is-icon { min-width: 44px; }
}
@media (pointer: coarse) and (max-width: 760px) {
.hb-lab-in, .hb-stx-role, .hb-math-snip, .hb-form-title { min-height: 44px; }
}
@media (pointer: coarse) {
.hb-top .hx-btn { min-width: 44px; min-height: 44px; }
}
@media (pointer: coarse) and (max-height: 500px) and (min-width: 761px) {
.hb-doc { padding-top: 16px; }
.hb-title { font-size: 30px; line-height: 1.15; }
.hb-doc-meta { gap: 2px 14px; margin: 6px 0px 16px; border: 0px; color: var(--hb-ink-2); }
.hb-doc-meta .hb-cell, .hb-doc-meta .hb-docmeter { display: inline-flex; align-items: center; gap: 6px; padding: 0px; margin: 0px; border: 0px; min-height: 32px; }
.hb-doc-meta .hb-cell-k { display: none; }
.hb-doc-meta .hb-cell-v { gap: 6px; min-height: 0px; font: var(--hb-text-md) / 1.3 var(--hb-font); color: var(--hb-ink-2); }
.hb-doc-meta .hb-cell-u { display: inline; color: var(--hb-muted); }
.hb-doc-meta .hb-cell.is-tags { flex: 1 0 100%; margin-top: 2px; padding-top: 6px; border-top: 1px solid var(--hb-line); }
}
@media (pointer: coarse) and (max-width: 760px) {
a[href="/licenses.txt"] { display: inline-block; padding: 15px 4px; margin: -15px -4px; }
}
@media (pointer: coarse) and (max-width: 760px) {
.hb-spec-link { position: relative; min-height: 44px; }
}
@media (pointer: coarse) and (max-width: 760px) {
.hb-stp-counter { flex: 0 0 auto; }
}

/* La cornice "da quaderno tecnico": i pezzi che il sito pubblico (src/site) e la pagina di accesso dell'app
 * (Login.tsx) mostrano uguali, scritti una volta sola. Il sito non carica i fogli dell'app: build-site.mjs mette
 * questo file tra i token e site.css; l'app lo importa da order.ts. Solo token, nessuna classe dell'uno o dell'altra.
 * Che cosa condividono: il reticolo esagonale, la targhetta sopra il titolo, l'esagono ai crocevia, la scheda ad
 * angoli tagliati, la misura dei binari. Che cosa no: l'intestazione e il resto, che restano di chi li usa. */
:root {
  /* i binari: la cornice sta a questa larghezza e il testo rientra del padding */
  --hx-rail: min(1680px, calc(100vw - 48px));
  --hx-pad: clamp(24px, 4.2vw, 76px);
  /* il reticolo a 120° dell'app (lo stesso di theme.css › la tela del foglio) */
  --hx-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4' height='96'%3E%3Cpath d='M27.7 0L55.4 16L55.4 48L27.7 64L0 48L0 16Z M27.7 64L27.7 96' fill='none' stroke='%237f8fb0' stroke-opacity='.28' stroke-width='1'/%3E%3C/svg%3E");
}
@media (max-width: 760px) {
  :root {
    --hx-rail: calc(100vw - 24px);
    --hx-pad: 20px;
  }
}

/* la targhetta: testo pieno su fondo tinto, due angoli tagliati e l'esagono ambra */
.hx-plate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0;
  padding: 6px 14px 6px 10px;
  font: var(--hb-weight-medium) 15px/1.3 var(--hb-font);
  color: var(--hb-ink);
  background: var(--hb-surface-3);
  clip-path: polygon(
    9px 0,
    100% 0,
    100% calc(100% - 9px),
    calc(100% - 9px) 100%,
    0 100%,
    0 9px
  );
}
.hx-plate::before {
  content: "";
  width: 10px;
  height: 11px;
  flex: none;
  background: var(--hb-warning-fill);
  clip-path: var(--hx-hex-pt);
}

/* l'esagono a un crocevia dei binari (nel sito sta sulle sezioni, in pseudo-elementi con le stesse righe) */
.hx-node {
  position: absolute;
  z-index: 6;
  width: 13px;
  height: 14px;
  background: var(--hb-surface);
  clip-path: var(--hx-hex-pt);
  box-shadow: inset 0 0 0 20px var(--hb-ink-2);
}

/* la scheda: bordo di un pixel (è il fondo) e superficie un pixel dentro, entrambi con l'angolo tagliato */
.hx-cutcard {
  --hx-card-cut: 14px;
  position: relative;
  background: var(--hb-line-strong);
  clip-path: polygon(
    var(--hx-card-cut) 0,
    100% 0,
    100% calc(100% - var(--hx-card-cut)),
    calc(100% - var(--hx-card-cut)) 100%,
    0 100%,
    0 var(--hx-card-cut)
  );
}
.hx-cutcard::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  background: var(--hb-surface);
  clip-path: polygon(
    calc(var(--hx-card-cut) - 0.4px) 0,
    100% 0,
    100% calc(100% - var(--hx-card-cut) + 0.4px),
    calc(100% - var(--hx-card-cut) + 0.4px) 100%,
    0 100%,
    0 calc(var(--hx-card-cut) - 0.4px)
  );
}
.hx-cutcard > * {
  position: relative;
  z-index: 1;
}

/* La scheda d'angolo del consenso sul conteggio d'uso (src/consent). Un solo foglio per due mondi: l'app la disegna
 * con React (ConsentCard.tsx), il sito con uno script suo (src/site/consent.js), stesse classi. Per questo qui ci
 * sono solo token e nessun componente dell'app: build-site.mjs lo mette nel foglio del sito.
 * Non blocca né sposta la pagina: sta sopra, in un angolo (fixed), e il resto resta com'è. */
.hb-consent {
  position: fixed;
  left: var(--hb-space-4);
  bottom: var(--hb-space-4);
  z-index: var(--hb-z-overlay);
  width: min(420px, calc(100vw - 2 * var(--hb-space-4)));
  /* il clip-path della scheda taglierebbe un'ombra sua: l'ombra sta sul contenitore */
  filter: drop-shadow(0 8px 24px rgba(var(--hb-shadow-color), 0.18))
    drop-shadow(0 1px 2px rgba(var(--hb-shadow-color), 0.12));
  animation: hb-consent-in var(--hb-dur-base, 180ms) ease-out;
}
/* nell'app l'angolo a sinistra è della barra laterale: la scheda sta a destra */
.hb-consent.is-workspace {
  left: auto;
  right: var(--hb-space-4);
}
.hb-consent[hidden] {
  display: none;
}
@keyframes hb-consent-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hb-consent {
    animation: none;
  }
}
.hb-consent-card {
  --cut: var(--hb-cut-lg);
  --bd: var(--hb-border-strong);
  position: relative;
  display: grid;
  gap: var(--hb-space-3);
  padding: var(--hb-space-4) var(--hb-space-5) var(--hb-space-4);
  background: var(--hb-surface-raised);
  color: var(--hb-ink);
  font: 400 var(--hb-text-lg) / 1.45 var(--hb-font);
  box-shadow: inset 0 0 0 1px var(--bd);
  /* telefono basso o pannello lungo: la scheda scorre dentro di sé invece di uscire dallo schermo */
  max-height: calc(100dvh - 2 * var(--hb-space-4));
  overflow-y: auto;
  overscroll-behavior: contain;
  /* lo smusso in basso a destra, come le altre schede (spec-system.css): i lati dritti sbordano di 1px e la
     diagonale la dipinge il ::after */
  clip-path: polygon(
    -1px -1px,
    calc(100% + 1px) -1px,
    calc(100% + 1px) calc(100% - var(--cut) - 1px),
    calc(100% - var(--cut) - 1px) calc(100% + 1px),
    -1px calc(100% + 1px)
  );
}
.hb-consent-card::after,
.hb-consent-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      315deg,
      var(--bd) calc(var(--cut) * 0.7071 + 0.65px),
      transparent calc(var(--cut) * 0.7071 + 1.35px)
    )
    100% 100% / calc(var(--cut) + 4px) calc(var(--cut) + 4px) no-repeat;
}
.hb-consent-card:focus {
  outline: none;
}
.hb-consent-head {
  display: flex;
  align-items: center;
  gap: var(--hb-space-2);
}
.hb-consent-hex {
  flex: none;
  color: var(--hb-accent-ink);
}
.hb-consent-eyebrow {
  flex: 1;
  margin: 0;
  font: var(--hb-weight-semibold) var(--hb-text-lg) / 1.2 var(--hb-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-ink-2);
}
.hb-consent-x {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin: -4px -8px -4px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hb-ink);
  cursor: pointer;
}
.hb-consent-x:hover {
  background: var(--hb-surface-3);
}
.hb-consent-title {
  margin: 0;
  font: var(--hb-weight-semibold) 20px / 1.25 var(--hb-font);
  letter-spacing: -0.01em;
  color: var(--hb-ink);
}
.hb-consent-title:focus {
  outline: none;
}
.hb-consent-text {
  margin: 0;
  color: var(--hb-ink-2);
}
.hb-consent-rows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hb-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hb-space-3);
  padding: var(--hb-space-3) 0;
  border-top: 1px solid var(--hb-line);
}
.hb-consent-row:first-child {
  border-top: 0;
}
.hb-consent-row > div {
  min-width: 0;
}
.hb-consent-row b {
  display: block;
  font-weight: var(--hb-weight-semibold);
  color: var(--hb-ink);
}
.hb-consent-row span.hb-consent-desc {
  display: block;
  margin-top: 2px;
  color: var(--hb-ink-2);
  font-size: var(--hb-text-lg);
}
.hb-consent-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--hb-surface-3);
  color: var(--hb-ink-2);
  font-size: var(--hb-text-lg);
  white-space: nowrap;
}
.hb-consent-switch {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: var(--hb-radius-lg);
  background: var(--hb-surface-3);
  box-shadow: inset 0 0 0 1px var(--hb-line-control);
  cursor: pointer;
  transition: background var(--hb-dur-fast);
}
.hb-consent-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--hb-muted);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  transition:
    transform var(--hb-dur-base) ease,
    background var(--hb-dur-fast);
}
.hb-consent-switch[aria-checked="true"] {
  background: var(--hb-primary);
  box-shadow: none;
}
.hb-consent-switch[aria-checked="true"]::before {
  transform: translateX(16px) rotate(30deg);
  background: var(--hb-on-primary);
}
.hb-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hb-space-2);
  padding-top: var(--hb-space-1);
}
.hb-consent-rows + .hb-consent-actions {
  border-top: 1px dashed var(--hb-line-strong);
  padding-top: var(--hb-space-3);
}
/* i tre bottoni pesano uguale: stesso contorno, stesso sfondo, nessuno è "quello giusto" */
.hb-consent-btn {
  --cut: var(--hb-cut-sm);
  --bd: var(--hb-line-control);
  position: relative;
  min-height: 40px;
  padding: 0 var(--hb-space-2);
  border: 0;
  background: var(--hb-surface-raised);
  color: var(--hb-ink);
  font: 400 var(--hb-text-lg) / 1.2 var(--hb-font);
  box-shadow: inset 0 0 0 1px var(--bd);
  cursor: pointer;
  clip-path: polygon(
    -1px -1px,
    calc(100% + 1px) -1px,
    calc(100% + 1px) calc(100% - var(--cut) - 1px),
    calc(100% - var(--cut) - 1px) calc(100% + 1px),
    -1px calc(100% + 1px)
  );
}
.hb-consent-btn:hover {
  background: var(--hb-surface-3);
}
.hb-consent-note {
  margin: 0;
  color: var(--hb-ink-2);
  font-size: var(--hb-text-lg);
}
.hb-consent-note a {
  color: var(--hb-ink);
  text-decoration: underline;
}
.hb-consent a:focus-visible,
.hb-consent button:focus-visible {
  outline: 2px solid var(--hb-primary);
  outline-offset: 2px;
}
/* telefono: foglio a tutta larghezza in basso, i bottoni uno sotto l'altro, bersagli da 44 px */
@media (max-width: 760px), (pointer: coarse) {
  .hb-consent,
  .hb-consent.is-workspace {
    left: var(--hb-space-3);
    right: var(--hb-space-3);
    bottom: var(--hb-space-3);
    width: auto;
  }
  .hb-consent-actions {
    grid-template-columns: 1fr;
  }
  .hb-consent-btn {
    min-height: 44px;
  }
  .hb-consent-x {
    width: 44px;
    height: 44px;
    margin: -8px -12px -8px 0;
  }
  .hb-consent-switch {
    width: 46px;
    height: 28px;
  }
  .hb-consent-switch::before {
    top: 5px;
    left: 5px;
  }
  .hb-consent-switch[aria-checked="true"]::before {
    transform: translateX(18px) rotate(30deg);
  }
}
/* un collegamento che apre le preferenze: è un pulsante, ma si legge e si comporta come gli altri collegamenti */
.hb-consent-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hb-consent-link:hover {
  color: var(--hb-ink);
}
.hb-consent-link:focus-visible {
  outline: 2px solid var(--hb-primary);
  outline-offset: 2px;
  border-radius: var(--hb-radius-sm);
}
/* l'annuncio per i lettori di schermo: il sito non ha le regole dell'app, quindi si ripete qui */
.hb-consent .hb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* "Privacy notice" nell'intestazione di una scheda delle Impostazioni: testo piccolo, quindi non blu */
.hb-consent-plain {
  color: var(--hb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Il sito pubblico (src/site). Usa solo i token dell'app (tokens.css, che la build mette davanti a questo file):
 * stessi colori, font e tema scuro. Le classi sono `st-*` per non incrociare quelle dell'app. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Tra una pagina e l'altra il browser mostra per un istante la sua "tela": deve essere già del colore del tema,
   non bianca. color-scheme glielo dice prima ancora che arrivi il CSS (c'è anche il meta nell'<head>), e lo sfondo
   sta su html, non solo su body. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light dark;
  background: var(--hb-surface);
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
}
/* Il passaggio tra le pagine del sito: la pagina vecchia resta finché la nuova è pronta, poi una dissolvenza breve
   (browser che la supportano: Chrome, Edge, Safari recenti; negli altri resta il cambio pagina normale). */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.16s;
}
body {
  margin: 0;
  background: var(--hb-surface);
  color: var(--hb-ink);
  font: var(--hb-weight-regular) 16px/1.6 var(--hb-font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--hb-primary);
  outline-offset: 3px;
  border-radius: var(--hb-radius-sm);
}

.st-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.st-narrow {
  max-width: 760px;
}
.st-skip {
  position: absolute;
  left: -9999px;
}
.st-skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--hb-surface);
}

/* ── intestazione ── */
.st-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--hb-surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hb-line);
}
/* più larga del testo della pagina e più alta: il marchio a sinistra e le azioni a destra stanno ai bordi dello
   schermo largo, come nelle intestazioni dei siti di prodotto */
.st-head-row {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  max-width: 1360px;
  padding-inline: 32px;
  flex-wrap: wrap;
}
.st-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.st-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.st-nav {
  align-items: center;
}
/* Le tre voci di navigazione (Product, Pricing, Your data) sono un solo controllo: stessa altezza, stesso testo,
   stesso passaggio del mouse, stesso anello del fuoco. Fondo = "ci sei sopra" (mouse, fuoco o menu aperto);
   filetto sotto il testo = "sei in questa pagina". Il filetto non cambia la misura: c'è sempre, solo trasparente. */
.st-navlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--hb-radius-md);
  background: none;
  color: var(--hb-ink);
  font: var(--hb-weight-medium) 16px/1 var(--hb-font);
  text-decoration: none;
  cursor: pointer;
}
.st-navlink::after {
  content: "";
  position: absolute;
  inset: auto 12px 5px;
  height: 2px;
  background: transparent;
}
.st-navlink[aria-current="page"]::after {
  background: var(--hb-primary);
}
.st-navlink:hover,
.st-dd:focus-within > .st-navlink {
  background: var(--hb-surface-3);
  text-decoration: none;
}
.st-navlink:focus-visible {
  outline: 2px solid var(--hb-primary);
  outline-offset: 2px;
}
.st-navlink svg {
  transition: transform 0.16s ease;
}
.st-dd:hover > .st-navlink svg,
.st-dd:focus-within > .st-navlink svg {
  transform: rotate(180deg);
}
.st-head-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── pulsanti ──
   Sono quelli dell'app (classi hx-btn, regole in captures/app.css): qui solo ciò che serve a un link e la misura
   grande per gli inviti principali della pagina. */
a.hx-btn {
  text-decoration: none;
}
.hx-btn.st-big {
  --hx-cut: 9px;
  height: 50px;
  padding: 0 24px;
  font-size: 16px;
  gap: 9px;
}
.hx-btn svg {
  transition: transform 0.2s var(--hb-ease-out);
}
.hx-btn:hover svg {
  transform: translateX(3px);
}
.st-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hb-accent-ink);
  font-weight: var(--hb-weight-semibold);
  font-size: 15px;
  text-decoration: none;
}
.st-link:hover {
  text-decoration: underline;
}
.st-head-cta .st-link {
  color: var(--hb-ink-2);
}
/* il pulsante del tema: mostra il sole quando la pagina è scura (premendo si torna al chiaro), la luna quando è chiara */
.st-theme {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--hb-radius-md);
  background: none;
  color: var(--hb-ink-2);
  cursor: pointer;
}
.st-theme[hidden] {
  display: none;
}
.st-theme:hover {
  background: var(--hb-surface-3);
  color: var(--hb-ink);
}
.st-theme span {
  display: grid;
}
.st-theme-sun {
  display: none !important;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .st-theme-sun {
    display: grid !important;
  }
  :root:not([data-theme="light"]) .st-theme-moon {
    display: none;
  }
}
:root[data-theme="dark"] .st-theme-sun {
  display: grid !important;
}
:root[data-theme="dark"] .st-theme-moon {
  display: none;
}

/* ── testo ── */
/* la targhetta sopra il titolo è .hx-plate (styles/frame.css); qui solo lo spazio sotto */
.st-eyebrow {
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: var(--hb-weight-bold);
  text-wrap: balance;
}
h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: var(--hb-weight-bold);
  text-wrap: balance;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: var(--hb-weight-semibold);
}
.st-lead {
  margin-top: 20px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--hb-ink-2);
  max-width: 34em;
}
.st-sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--hb-ink-2);
  max-width: 36em;
}
.st-fine {
  margin-top: 14px;
  font-size: 14px;
  color: var(--hb-ink-2);
}
.st-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.st-more {
  margin-top: 28px;
}
.st-center {
  text-align: center;
  margin-inline: auto;
}

/* ── sezioni ── */
.st-hero {
  position: relative;
  overflow: hidden;
  background: var(--hb-canvas);
  border-bottom: 1px solid var(--hb-line);
  padding: 72px 0 0;
}
.st-hero > .st-wrap {
  position: relative;
}
/* il reticolo esagonale dell'app, sfumato verso i bordi */
.st-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hx-lattice);
  background-size: 55.4px 96px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.st-pagehead {
  background: var(--hb-canvas);
  border-bottom: 1px solid var(--hb-line);
  padding: 64px 0 56px;
}
.st-notfound {
  min-height: 60vh;
  border-bottom: 0;
}
.st-sec {
  padding: 80px 0;
}
.st-sec.is-tint {
  background: var(--hb-canvas);
  border-block: 1px solid var(--hb-line);
}
.st-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.st-card-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--hb-accent-ink);
  background: color-mix(in srgb, var(--hb-primary) 11%, transparent);
  /* esagono a punta in su, come i segni dell'app */
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.st-checks {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.st-split > .st-checks {
  margin-top: 0;
}
.st-checks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 16px;
}
.st-checks svg {
  margin-top: 4px;
  color: var(--hb-success);
}



/* ── domande ── */
.st-faq {
  margin-top: 28px;
  border-top: 1px solid var(--hb-line);
}
.st-faq details {
  border-bottom: 1px solid var(--hb-line);
}
.st-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: var(--hb-weight-semibold);
  list-style: none;
}
.st-faq summary::-webkit-details-marker {
  display: none;
}
.st-faq summary::after {
  content: "+";
  font: var(--hb-weight-regular) 22px/1 var(--hb-mono);
  color: var(--hb-ink-2);
}
.st-faq details[open] summary::after {
  content: "−";
}
.st-faq p {
  padding: 0 0 20px;
  color: var(--hb-ink-2);
  max-width: 40em;
}
.st-faq p a {
  color: var(--hb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── invito finale e piè di pagina ── */
.st-cta {
  padding: 80px 0;
  text-align: center;
}
.st-cta p {
  margin: 12px 0 28px;
  color: var(--hb-ink-2);
  font-size: 18px;
}
.st-foot {
  background: var(--hb-canvas);
  border-top: 1px solid var(--hb-line);
  padding: 48px 0 28px;
  font-size: 15px;
}
.st-foot-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.st-foot-brand p {
  margin-top: 12px;
  color: var(--hb-ink-2);
  max-width: 22em;
}
.st-foot nav {
  display: grid;
  gap: 8px;
  align-content: start;
}
.st-foot nav b {
  font: var(--hb-weight-semibold) 14px var(--hb-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hb-ink-2);
  margin-bottom: 4px;
}
.st-foot nav a {
  color: var(--hb-ink);
  text-decoration: none;
}
.st-foot nav .hb-consent-link {
  justify-self: start;
  color: var(--hb-ink);
  text-align: left;
  text-decoration: none;
}
.st-foot nav .hb-consent-link:hover {
  text-decoration: underline;
}
.st-foot nav a:hover {
  text-decoration: underline;
}
.st-foot-end {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hb-line);
  color: var(--hb-ink-2);
  font-size: 14px;
}

/* ── catture dell'app vera (Shot.tsx) ──
   Il pezzo è catturato a --w × --h pixel e qui viene scalato di --k per stare nella pagina. Dentro valgono gli
   stili dell'app (il suo foglio di stile è caricato prima di questo); intorno, una cornice del sito. */
.st-shot {
  --k: 1;
  /* --fit: una cattura più larga dei 688 px su cui sono tarate le scale si riporta a quella larghezza */
  --fit: 1;
  position: relative;
  width: calc(var(--w) * var(--k) * var(--fit) * 1px);
  height: calc(var(--h) * var(--k) * var(--fit) * 1px);
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  background: var(--hb-surface);
  border: 1px solid var(--hb-line-strong);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-lg);
}
.st-shot-in {
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  transform: scale(calc(var(--k) * var(--fit)));
  transform-origin: 0 0;
  pointer-events: none;
  user-select: none;
  /* le regole di testo del sito non entrano nella cattura: dentro si riparte dai valori dell'app */
  font-size: var(--hb-text-lg);
  line-height: 1.28581;
  text-align: left;
}
.st-shot-in > * {
  height: 100%;
}
/* la tabella di stechiometria è catturata a 828 px perché il pannello del risultato non copra le colonne: 688 / 828 */
.st-shot.is-stoich {
  --fit: 0.831;
}
.st-shot .hb-insp-resize {
  display: none;
}
/* nelle pagine: i blocchi del documento (688 px) stanno in mezza colonna, i pannelli (359 px) a grandezza vera */
.st-figstack > .st-shot {
  --k: 0.76;
}
.st-figstack > .st-shot.is-analysis,
.st-figstack > .st-shot.is-check {
  --k: 1;
}
/* Il foglio del meccanismo: le specie sono piccole rispetto al foglio, e qui contano le frecce. Il disegno si
   ingrandisce intorno a loro (reticolo compreso), dentro la cornice del foglio che resta com'è. */
.st-shot.is-mechanism .hb-canvas {
  overflow: hidden;
}
.st-shot.is-mechanism .hb-svg {
  transform: scale(1.7);
  transform-origin: 47% 48%;
}
/* Il dialog di condivisione: nell'app sta al centro dello schermo sopra un velo; qui è una figura nella pagina */
.st-shot-in > .hx-dialog {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  box-shadow: none !important;
}
@media (min-width: 761px) {
  .st-figstack > .st-shot.is-share {
    --k: 0.8;
  }
}
/* le catture con un'immagine dentro esistono nei due temi: si mostra quella del tema della pagina */
.st-on-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .st-on-light {
    display: none;
  }
  :root:not([data-theme="light"]) .st-on-dark {
    display: block;
  }
}
:root[data-theme="dark"] .st-on-light {
  display: none;
}
:root[data-theme="dark"] .st-on-dark {
  display: block;
}
/* dentro una cattura il blocco occupa tutto lo spazio: i margini che ha nel documento qui non servono */
.st-shot-in > .hb-block {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* ── figure delle funzioni ── */
.st-split.is-flip > :first-child {
  order: 2;
}
.st-figstack {
  grid-template-columns: minmax(0, 1fr);
  display: grid;
  gap: 20px;
}
.st-split .st-checks {
  margin-top: 24px;
}
/* ── movimento ──
   Niente ingressi animati né animazioni legate allo scorrimento: titoli e figure sono al loro posto appena la
   pagina si apre, anche in stampa e nelle catture a pagina intera. Resta la dissolvenza tra una pagina e l'altra. */
.st-link svg {
  transition: transform 0.2s var(--hb-ease-out);
}
.st-link:hover svg {
  transform: translateX(3px);
}

/* ── schermi stretti ── */
@media (max-width: 900px) {
  .st-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .st-hero {
    padding: 48px 0 0;
  }
  .st-split.is-flip > :first-child {
    order: 0;
  }
  .st-sec,
  .st-cta {
    padding: 56px 0;
  }
}
@media (max-width: 640px) {
  .st-wrap {
    padding: 0 16px;
  }
  .st-foot-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
  .hx-btn svg {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════
   La pagina "da quaderno tecnico" (novembre 2026). Sta in fondo e ha l'ultima parola sulle regole sopra.
   Cornice larga con un esagono a ogni incrocio, il reticolo a 120° come trama, angoli tagliati, Cobalto e ambra.
   Regole di lettura: niente testo sotto i 14 px, niente blu su testo piccolo, una sola voce per i titoli.
   Le figure in cui si può scorrere (la finestra dell'app, il pannello di analisi) le muove src/site/scroll.js.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
:root {
  /* la misura dei binari è di styles/frame.css, condivisa con la pagina di accesso */
  --st-rail: var(--hx-rail);
  --st-pad: var(--hx-pad);
  --st-edge: calc(50% - var(--st-rail) / 2);
}
body { position: relative; font-size: 17px; }

/* ── la cornice: due binari e un esagono a ogni incrocio ── */
body::before, body::after { content: ""; position: fixed; top: 0; bottom: 0; width: 1px; z-index: 4; pointer-events: none; background: var(--hb-line-strong); opacity: 0.7; }
body::before { left: var(--st-edge); } body::after { right: var(--st-edge); }
.st-wrap { max-width: var(--st-rail); padding-inline: var(--st-pad); }
.st-head { background: color-mix(in srgb, var(--hb-surface) 94%, transparent); border-bottom-color: var(--hb-line-strong); }
.st-head-row { max-width: var(--st-rail); padding-inline: var(--st-pad); min-height: 76px; position: relative; }
.st-head-row::before, .st-head-row::after, .st-sec::before, .st-sec::after, .st-facts::before, .st-facts::after {
  content: ""; position: absolute; width: 13px; height: 14px; z-index: 6;
  background: var(--hb-surface); clip-path: var(--hx-hex-pt); box-shadow: inset 0 0 0 20px var(--hb-ink-2);
}
.st-head-row::before, .st-head-row::after { bottom: -8px; }
.st-head-row::before { left: -6px; } .st-head-row::after { right: -6px; }
.st-sec, .st-facts { position: relative; }
.st-sec { border-top: 1px solid var(--hb-line-strong); padding: clamp(72px, 9vw, 128px) 0; }
.st-sec.is-tint { border-bottom: 0; }
.st-sec::before, .st-sec::after, .st-facts::before, .st-facts::after { top: -7px; }
.st-sec::before, .st-facts::before { left: calc(var(--st-edge) - 6px); }
.st-sec::after, .st-facts::after { right: calc(var(--st-edge) - 6px); }
@media (max-width: 720px) { body::before, body::after, .st-sec::before, .st-sec::after, .st-head-row::before, .st-head-row::after, .st-facts::before, .st-facts::after { display: none; } }

/* ── menu "Product" ── */
.st-dd { position: relative; }
.st-dd-panel { position: absolute; top: calc(100% + 14px); left: -16px; z-index: 20; width: 880px;
  filter: drop-shadow(0 0 0.7px var(--hb-line-strong)) drop-shadow(0 0 0.7px var(--hb-line-strong)) drop-shadow(0 22px 34px color-mix(in srgb, var(--hb-ink) 22%, transparent));
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s 0.16s; }
.st-dd-in { display: grid; grid-template-columns: 1fr 1fr 264px; gap: 6px 10px; padding: 16px; background: var(--hb-surface);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.st-dd::after { content: ""; position: absolute; top: 100%; left: -16px; width: 880px; height: 16px; }
.st-dd:hover .st-dd-panel, .st-dd:focus-within .st-dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.st-dd-col { display: grid; align-content: start; gap: 2px; }
.st-dd-head { margin: 2px 0 8px; padding: 0 12px 10px; border-bottom: 1px solid var(--hb-line); font: var(--hb-weight-semibold) 14px/1.3 var(--hb-font); color: var(--hb-ink-2); }
.st-dd-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; padding: 9px 12px; text-decoration: none; color: var(--hb-ink); border-radius: var(--hb-radius-md); }
.st-dd-item:hover, .st-dd-item:focus-visible { background: var(--hb-surface-3); outline: none; }
.st-dd-item i { display: grid; place-items: center; width: 36px; height: 40px; color: var(--hb-accent-ink); background: color-mix(in srgb, var(--hb-primary) 10%, transparent); clip-path: var(--hx-hex-pt); transition: background 0.16s ease, color 0.16s ease; }
.st-dd-item:hover i, .st-dd-item:focus-visible i { background: var(--hb-primary); color: #fff; }
.st-dd-item b { display: block; font: var(--hb-weight-semibold) 16px/1.3 var(--hb-font); }
.st-dd-item small { display: block; margin-top: 2px; font-size: 14px; color: var(--hb-ink-2); line-height: 1.35; }
/* a destra: la via più corta per provare, sul reticolo */
.st-dd-aside { grid-row: 1; grid-column: 3; display: grid; align-content: end; gap: 8px; padding: 20px; text-decoration: none; color: var(--hb-on-primary);
  background: var(--hb-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4' height='96'%3E%3Cpath d='M27.7 0 55.4 16v32L27.7 64 0 48V16zM27.7 64v32' fill='none' stroke='%23fff' stroke-opacity='.16'/%3E%3C/svg%3E") 0 0 / 55.4px 96px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.st-dd-tag { width: fit-content; padding: 3px 9px; font: var(--hb-weight-medium) 14px/1.3 var(--hb-font); color: #10141c; background: #ffb23e; }
.st-dd-aside b { font: var(--hb-weight-bold) 20px/1.2 var(--hb-font); letter-spacing: -0.02em; }
.st-dd-aside small { font-size: 14px; line-height: 1.4; opacity: 0.85; }
.st-dd-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: var(--hb-weight-semibold) 15px var(--hb-font); }
.st-dd-aside:hover .st-dd-go svg, .st-dd-aside:focus-visible .st-dd-go svg { transform: translateX(4px); }
.st-dd-go svg { transition: transform 0.16s ease; }
.st-dd-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 14px 12px 2px; border-top: 1px solid var(--hb-line); font-size: 14px; color: var(--hb-ink-2); }
.st-dd-foot a { color: var(--hb-accent-ink); font-weight: var(--hb-weight-semibold); text-decoration: none; }
@media (max-width: 1040px) { .st-dd-panel, .st-dd::after { width: min(92vw, 440px); } .st-dd-in { grid-template-columns: 1fr; } .st-dd-aside { grid-row: auto; grid-column: auto; } }

/* ── testi ── */
/* la targhetta sopra un titolo: una scritta leggibile (inchiostro pieno su fondo chiaro), non blu piccola; la forma è .hx-plate */
.st-eyebrow { margin-bottom: 22px; }
.st-eyebrow.st-center { display: flex; margin-inline: auto; }
h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 0.99; letter-spacing: -0.045em; text-wrap: balance; }
h1 .st-hi { color: var(--hb-primary); }
h2 { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
.st-lead { margin-top: 28px; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; color: var(--hb-ink-2); max-width: 30em; }
.st-sub { margin-top: 18px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; max-width: 34em; }
.st-fine { margin-top: 18px; font-size: 15px; }
.st-card-icon { width: 46px; height: 50px; margin-bottom: 22px; }
.st-checks li { font-size: 17.5px; }
.st-split { gap: clamp(40px, 6vw, 110px); }

/* ── hero ── */
.st-hero { padding-top: clamp(64px, 8vw, 120px); border-bottom: 0; overflow: visible; }
/* il reticolo dell'app (quello di site.css) resta: qui solo più ampio, e pieno fino ai binari */
.st-hero::before { left: var(--st-edge); right: var(--st-edge); background-size: 69.3px 120px;
  mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 62%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 62%); opacity: 0.75; }
/* dietro il testo il reticolo si spegne: le righe non passano attraverso le lettere */
.st-hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -40px -8%; background: radial-gradient(ellipse 58% 62% at 50% 46%, var(--hb-canvas) 55%, transparent 100%); }
.st-hero-copy { position: relative; z-index: 1; }
/* lo stesso reticolo in cima alle altre pagine (prezzi, dati, funzioni, legali…): tra i binari, spento dietro il testo */
.st-pagehead { position: relative; }
.st-pagehead::before { content: ""; position: absolute; inset: 0 var(--st-edge); background-image: var(--hx-lattice); background-size: 69.3px 120px;
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); opacity: 0.75; }
.st-pagehead > .st-wrap { position: relative; z-index: 1; }
.st-pagehead > .st-wrap::before { content: ""; position: absolute; z-index: -1; inset: -40px -8%; background: radial-gradient(ellipse 58% 62% at 50% 46%, var(--hb-canvas) 55%, transparent 100%); }
.st-actions { margin-top: 38px; }

/* il timer accanto al puntatore: un anello che si riempie mentre si resta fermi sulla figura */
.st-cur { position: fixed; z-index: 60; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; pointer-events: none;
  padding: 4px 12px 4px 4px; color: #fff; background: #10141c; border-radius: 999px;
  font: var(--hb-weight-medium) 14px/1 var(--hb-font); white-space: nowrap;
  opacity: 0; transition: opacity 0.15s ease; will-change: transform; }
.st-cur.is-on { opacity: 1; }
.st-cur b { font-weight: inherit; }
.st-cur svg { display: block; overflow: visible; }
.st-cur path, .st-cur circle { fill: none; }
.st-cur-track { stroke: rgba(255, 255, 255, 0.2); stroke-width: 2; stroke-linejoin: round; }
/* il lato che si sta disegnando: parte dal vertice in alto e gira, come una catena tracciata sul reticolo */
.st-cur-fill { stroke: #ffb23e; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.st-cur.is-on:not(.is-armed) .st-cur-fill { animation: st-ring var(--st-dwell, 700ms) linear forwards; }
.st-cur.is-armed .st-cur-fill { stroke-dashoffset: 0; stroke: #fff; }
/* gli atomi ai vertici compaiono uno alla volta mentre il tratto li raggiunge */
.st-cur-atoms circle { fill: #ffb23e; opacity: 0; }
.st-cur.is-on:not(.is-armed) .st-cur-atoms circle { animation: st-atom 0.01s linear forwards; animation-delay: calc(var(--st-dwell, 700ms) * var(--i) / 6); }
.st-cur-atoms circle:nth-child(1) { --i: 0; } .st-cur-atoms circle:nth-child(2) { --i: 1; } .st-cur-atoms circle:nth-child(3) { --i: 2; }
.st-cur-atoms circle:nth-child(4) { --i: 3; } .st-cur-atoms circle:nth-child(5) { --i: 4; } .st-cur-atoms circle:nth-child(6) { --i: 5; }
/* dove c'è sibling-index() (Baseline da agosto 2026) l'indice viene da lì; le regole :nth-child sopra restano per gli altri */
@supports (top: calc(sibling-index() * 1px)) {
  .st-cur-atoms circle { --i: calc(sibling-index() - 1); }
}
.st-cur.is-armed .st-cur-atoms circle { opacity: 0; }
/* completo: i tre doppi legami, ed è un benzene */
.st-cur-ring { stroke: #fff; stroke-width: 1.8; stroke-linecap: round; opacity: 0; transition: opacity 0.18s ease; }
.st-cur.is-armed .st-cur-ring { opacity: 1; }
.st-cur.is-armed { background: var(--hb-primary); }
@keyframes st-atom { to { opacity: 1; } }
@keyframes st-ring { to { stroke-dashoffset: 0; } }
.st-scrollable { transition: box-shadow 0.25s ease; }
.st-shot.st-scrollable.is-armed { box-shadow: 0 0 0 2px var(--hb-primary), 0 24px 60px -30px color-mix(in srgb, var(--hb-primary) 50%, transparent); }
.st-bar { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.st-bar i { display: block; height: 100%; width: 0; background: var(--hb-primary); }

/* ── i fatti, al posto dei loghi dei clienti (non ne inventiamo) ── */
.st-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0 auto; padding: 0; list-style: none; max-width: var(--st-rail);
  border-top: 1px solid var(--hb-line-strong); background: var(--hb-surface); }
.st-facts li { display: flex; align-items: center; gap: 12px; padding: 22px var(--st-pad) 22px 28px; font: var(--hb-weight-medium) 16px/1.3 var(--hb-font); color: var(--hb-ink); border-left: 1px solid var(--hb-line); }
.st-facts li:first-child { border-left: 0; }
.st-facts li::before { content: ""; flex: none; width: 10px; height: 11px; background: var(--hb-primary); clip-path: var(--hx-hex-pt); }
.st-facts li:nth-child(even)::before { background: #ffb23e; }

/* il numero d'ordine della sezione, dentro la sua targhetta: orienta come l'indice di un quaderno */
.st-eyebrow .st-no { font: var(--hb-weight-semibold) 14px var(--hb-mono); color: var(--hb-accent-ink); }
.st-eyebrow .st-no + * , .st-eyebrow .st-no { margin-right: 2px; }

/* ── le barre di scorrimento dentro le figure: quelle dell'app (theme.css), sottili e color inchiostro ── */
.st-shot ::-webkit-scrollbar { width: 10px; height: 10px; }
.st-shot ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--hb-ink) 16%, transparent); border-radius: var(--hb-radius-lg); border: 3px solid transparent; background-clip: padding-box; }
.st-shot ::-webkit-scrollbar-track, .st-shot ::-webkit-scrollbar-corner { background: transparent; }
.st-shot.is-armed ::-webkit-scrollbar-thumb { background-color: color-mix(in srgb, var(--hb-primary) 70%, transparent); }
@supports not selector(::-webkit-scrollbar) { .st-shot * { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--hb-ink) 22%, transparent) transparent; } }

/* le figure nelle sezioni: alla scala del resto della pagina */
@media (min-width: 1041px) {
  .st-figstack > .st-shot.is-analysis, .st-figstack > .st-shot.is-check { --k: 1.28; }
  .st-figstack > .st-shot { --k: 0.95; }
}
/* l'immagine della vista 3D dentro la finestra esiste nei due temi (capture-site.mjs): qui niente display in linea */
.st-shot img.st-on-light, .st-shot img.st-on-dark { vertical-align: top; }
.st-dd-aside, .st-dd-aside b, .st-dd-aside small, .st-dd-go { color: var(--hb-on-primary); }

/* la trama dietro il testo dell'hero usciva dai lati sugli schermi stretti: niente scorrimento orizzontale */
.st-hero { overflow-x: clip; }



/* il segno accanto al puntatore compare e sparisce di colpo: uscendo dalla figura non deve restare */
.st-cur { transition: none; }


/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════
   Terzo giro di revisione (novembre 2026): home a indice, Features a gruppi, prezzi "cosa cambia", Your data a
   scheda tecnica, menu del telefono, piè di pagina a mappa, 404 con le pagine. Le tabelle seguono lo schema
   etichetta/valore/nota del pannello di analisi dell'app. Niente testo sotto i 14 px.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
html { scroll-padding-top: 96px; }
/* una tabella nello stile dell'app: intestazione tinta, bordo pieno, righe a filo */
.st-data { width: 100%; border-collapse: collapse; margin-top: 40px; border: 1px solid var(--hb-line-strong); background: var(--hb-surface); font-size: 16px; line-height: 1.5; }
.st-data th, .st-data td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hb-line); }
.st-data tbody tr:last-child > * { border-bottom: 0; }
.st-data thead th { padding-block: 12px; background: var(--hb-surface-3); font: var(--hb-weight-semibold) 14px/1.3 var(--hb-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hb-ink-2); }
.st-data tbody th { font-weight: var(--hb-weight-semibold); }
.st-data-where { font: var(--hb-weight-regular) 15px/1.5 var(--hb-mono); white-space: nowrap; }

/* Features: gruppi di schede */
.st-jump { display: flex; flex-wrap: wrap; margin-top: 32px; }
.st-jump a { margin-left: -1px; padding: 10px 20px; border: 1px solid var(--hb-line-strong); background: var(--hb-surface); color: var(--hb-ink); font: var(--hb-weight-medium) 16px/1.4 var(--hb-font); text-decoration: none; }
.st-jump a:first-child { margin-left: 0; }
.st-jump a:hover { background: var(--hb-surface-3); }
.st-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.st-fcard { position: relative; background: var(--hb-line-strong); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.st-fcard::before { content: ""; position: absolute; inset: 1px; background: var(--hb-surface); clip-path: polygon(13.6px 0, 100% 0, 100% calc(100% - 13.6px), calc(100% - 13.6px) 100%, 0 100%, 0 13.6px); }
.st-fcard > * { position: relative; z-index: 1; }
.st-fcard-fig { height: 280px; margin: 1px 1px 0; padding: 24px 24px 0; overflow: hidden; background: var(--hb-canvas); border-bottom: 1px solid var(--hb-line); }
.st-fcard-fig .st-shot { --k: 0.8; margin: 0 auto; border-bottom: 0; border-radius: var(--hb-radius-lg) var(--hb-radius-lg) 0 0; box-shadow: var(--hb-shadow-md); }
.st-fcard-fig .st-shot.is-analysis { --k: 1; }
/* la vista 3D si mostra intera: scalata sull’altezza della card, così il modello non viene tagliato in basso */
.st-fcard-fig .st-shot.is-mol3d { --k: calc(250 / var(--h)); }
.st-fcard-body { padding: 26px 30px 32px; }
.st-fcard-body h3 { font-size: 22px; line-height: 1.25; }
.st-fcard-body > p { margin-top: 10px; font-size: 16.5px; color: var(--hb-ink-2); }
.st-fcard-body .st-checks { gap: 10px; margin-top: 18px; }
.st-fcard-body .st-checks li { font-size: 16px; }
.st-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--hb-line-strong); background: var(--hb-surface); }
.st-quick li { border-left: 1px solid var(--hb-line); }
.st-quick li:first-child { border-left: 0; }
.st-quick a { display: grid; gap: 4px; align-content: start; height: 100%; padding: 20px 24px 22px; color: var(--hb-ink); text-decoration: none; }
.st-quick a:hover { background: var(--hb-surface-3); }
.st-quick i { display: grid; place-items: center; width: 40px; height: 44px; margin-bottom: 10px; color: var(--hb-accent-ink); background: color-mix(in srgb, var(--hb-primary) 10%, transparent); clip-path: var(--hx-hex-pt); }
.st-quick b { font-size: 17px; }
.st-quick span { font-size: 15px; color: var(--hb-ink-2); }

/* Your data */
.st-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hb-line-strong); background: var(--hb-surface); }
.st-promises li { padding: 28px 28px 30px; border-left: 1px solid var(--hb-line); }
.st-promises li:first-child { border-left: 0; }
.st-promises .st-card-icon { margin-bottom: 16px; }
.st-promises p { margin-top: 6px; font-size: 16px; color: var(--hb-ink-2); }
.st-data { margin-top: 32px; }
.st-data tbody th { width: 20%; }
.st-data td:nth-child(2) { color: var(--hb-ink-2); }
.st-data-where { width: 26%; color: var(--hb-ink); }
.st-data tbody tr:nth-child(even) { background: var(--hb-canvas); }
.st-data tbody tr:target { outline: 2px solid var(--hb-primary); outline-offset: -2px; }

/* 404 */
.st-notfound { min-height: 0; padding-bottom: clamp(56px, 8vw, 112px); }
.st-404 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.st-404-mark { width: 200px; height: auto; color: var(--hb-ink); }
.st-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 900px; margin-top: 36px; border: 1px solid var(--hb-line-strong); background: var(--hb-surface); }
.st-tiles li { border-left: 1px solid var(--hb-line); }
.st-tiles li:first-child { border-left: 0; }
.st-tiles a { display: grid; gap: 4px; align-content: start; height: 100%; padding: 20px 22px; color: var(--hb-ink); text-decoration: none; }
.st-tiles a:hover { background: var(--hb-surface-3); }
.st-tiles b { font-size: 17px; }
.st-tiles span { font-size: 15px; color: var(--hb-ink-2); }


/* menu del telefono: un <details>, nascosto sul computer */
.st-menu { display: none; }
.st-menu summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; color: var(--hb-ink); border-radius: var(--hb-radius-md); }
.st-menu summary::-webkit-details-marker { display: none; }
.st-menu summary:hover { background: var(--hb-surface-3); }
.st-menu-shut { display: none; }
.st-menu[open] .st-menu-open { display: none; }
.st-menu[open] .st-menu-shut { display: grid; }
.st-menu-panel { position: absolute; z-index: 30; top: 100%; left: -12px; width: 100vw; height: calc(100svh - 65px); overflow-y: auto; display: grid; align-content: start; gap: 22px; padding: 20px 20px 40px; background: var(--hb-surface); border-top: 1px solid var(--hb-line); }
.st-menu-panel .st-dd-aside { grid-row: auto; grid-column: auto; }
.st-menu-more { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--hb-line); }
.st-menu-more a { padding: 12px; font: var(--hb-weight-medium) 17px var(--hb-font); color: var(--hb-ink); text-decoration: none; border-radius: var(--hb-radius-md); }
.st-menu-more a:hover { background: var(--hb-surface-3); }
/* la pagina corrente: lo stesso filetto sotto il testo delle voci della barra */
.st-menu-more a[aria-current="page"] { text-decoration: underline 2px var(--hb-primary); text-underline-offset: 7px; }
.st-dd-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--hb-ink); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

/* piè di pagina: la mappa del sito */
.st-foot-row { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }

@media (max-width: 1200px) {
  .st-fcard-fig .st-shot { --k: 0.6; }
}
@media (max-width: 1040px) {
  .st-fcard-fig .st-shot { --k: 0.7; }
}
@media (max-width: 900px) {
  .st-fgrid { grid-template-columns: minmax(0, 1fr); }
  .st-promises { grid-template-columns: minmax(0, 1fr); }
  .st-promises li { border-left: 0; border-top: 1px solid var(--hb-line); }
  .st-promises li:first-child { border-top: 0; }
  .st-quick, .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-quick li:nth-child(odd), .st-tiles li:nth-child(odd) { border-left: 0; }
  .st-quick li:nth-child(n + 3), .st-tiles li:nth-child(n + 3) { border-top: 1px solid var(--hb-line); }
  .st-foot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-foot-brand { grid-column: 1 / -1; }
  .st-404 { grid-template-columns: minmax(0, 1fr); }
  .st-404-mark { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(34px, 10.4vw, 44px); line-height: 1.03; }
  h2 { font-size: clamp(27px, 7.6vw, 34px); }
  .st-lead { font-size: 18px; margin-top: 20px; }
  .st-hero { padding-top: 44px; }
  .st-hero h1 { font-size: clamp(34px, 10.4vw, 44px); }
  .st-eyebrow { font-size: 14px; margin-bottom: 16px; }
  .st-sec { padding: 64px 0; }
  .st-facts { grid-template-columns: 1fr 1fr; }
  .st-facts li { padding: 14px 16px; font-size: 15px; border-left: 0; border-top: 1px solid var(--hb-line); }
  .st-facts li:nth-child(odd) { border-right: 1px solid var(--hb-line); }
  .st-facts li:nth-child(-n + 2) { border-top: 0; }
  /* barra a una riga: marchio, tema, Start free e il pulsante del menu */
  .st-head-row { flex-wrap: nowrap; height: 64px; min-height: 64px; padding-block: 0; gap: 10px; }
  .st-brand { margin-right: auto; }
  .st-nav, .st-head-cta .st-link { display: none; }
  .st-head-cta { margin-left: auto; gap: 8px; }
  .st-menu { display: block; }
  body:has(.st-menu[open]) { overflow: hidden; }
  .st-fcard-fig { height: 260px; padding: 20px 16px 0; }
  .st-fcard-fig .st-shot { --k: 0.7; }
  .st-fcard-fig .st-shot.is-analysis { --k: 0.85; }
  .st-fcard-fig .st-shot.is-mol3d { --k: calc(234 / var(--h)); }
  .st-fcard-body { padding: 22px 20px 26px; }
  /* la tabella dei dati diventa un elenco */
  .st-data thead { display: none; }
  .st-data, .st-data tbody { display: block; }
  .st-data tr { display: grid; gap: 4px; padding: 16px; border-bottom: 1px solid var(--hb-line); }
  .st-data tr:last-child { border-bottom: 0; }
  .st-data th, .st-data td { display: block; width: auto !important; padding: 0; border: 0; }
  .st-data-where { white-space: normal; }
  .st-data-where::before { content: "Where: "; color: var(--hb-ink-2); }
  .st-notfound { padding-top: 40px; }
}
@media (max-width: 520px) {
  .st-quick, .st-tiles { grid-template-columns: minmax(0, 1fr); }
  .st-quick li, .st-tiles li { border-left: 0; border-top: 1px solid var(--hb-line); }
  .st-quick li:first-child, .st-tiles li:first-child { border-top: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════
   La home com'era prima del terzo giro: titolo al centro con l'app intera sotto, le sei schede, i tre passi, le
   schede dei piani (le stesse della pagina dei prezzi). Nessun ingresso animato: tutto è già al suo posto.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.st-hero > .st-wrap { padding-inline: 0; max-width: var(--st-rail); }
.st-hero-copy { max-width: 1180px; margin: 0 auto; text-align: center; padding-inline: var(--st-pad); }
.st-hero-copy .st-lead { margin-inline: auto; }
.st-hero-copy .st-actions { justify-content: center; }
.st-touch-hint { display: none; }

/* le sei schede: angoli tagliati, il bordo è il fondo e la superficie sta un pixel dentro */
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.st-card { position: relative; padding: 30px; background: var(--hb-line-strong);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.st-card::before { content: ""; position: absolute; inset: 1px; z-index: 0; background: var(--hb-surface);
  clip-path: polygon(13.6px 0, 100% 0, 100% calc(100% - 13.6px), calc(100% - 13.6px) 100%, 0 100%, 0 13.6px); }
.st-card > * { position: relative; z-index: 1; }
.st-card p { margin-top: 10px; color: var(--hb-ink-2); font-size: 16.5px; line-height: 1.55; }

/* i tre passi */
.st-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 44px 0 0; padding: 0; list-style: none; }
.st-steps li { text-align: center; }
.st-steps p { margin: 8px auto 0; max-width: 26em; color: var(--hb-ink-2); font-size: 17px; }
.st-step-no { display: inline-grid; place-items: center; width: 44px; height: 48px; margin-bottom: 16px; background: var(--hb-primary); color: var(--hb-on-primary);
  font: var(--hb-weight-bold) 17px var(--hb-mono); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* la finestra in prima pagina: l'app intera, da binario a binario, appoggiata al bordo inferiore della sezione */
.st-win { --k: 1; margin-top: clamp(56px, 6vw, 96px); border-bottom: 0; border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 60px -20px rgba(var(--hb-shadow-color), 0.25), 0 0 0 6px color-mix(in srgb, var(--hb-primary) 6%, transparent); }
/* sotto i 760 px l'app cambia impaginazione (le sue regole guardano la larghezza dello schermo): lì si mostra
   la cattura "phone", l'app com'è su un telefono */
.st-win-small { display: none; --k: 0.46; margin-top: 40px; }
@media (min-width: 761px) {
  .st-win { --k: tan(atan2(var(--st-rail), var(--w) * 1px)); width: var(--st-rail); max-width: none; height: calc(var(--h) * var(--k) * 1px);
    border-radius: 0; border: 0; border-top: 1px solid var(--hb-line-strong);
    box-shadow: 0 -30px 80px -40px color-mix(in srgb, var(--hb-primary) 26%, transparent); transition: box-shadow 0.25s ease; }
}
/* nella finestra scorre solo il documento: pannello di analisi e indice restano fermi, senza barra */
.st-win .hb-inspector, .st-win .hx-tabpanel, .st-win .hb-outline-list, .st-win .hb-side { overflow: hidden !important; scrollbar-gutter: auto !important; }
.st-win .hb-inspector ::-webkit-scrollbar, .st-win .hb-side ::-webkit-scrollbar, .st-win .hb-inspector::-webkit-scrollbar { display: none; }
/* Firefox: tolta la barra laterale, la griglia dell'app lasciava il documento nella colonna stretta della barra.
   Nella finestra l'app è un blocco solo, largo tutto. */
.st-win .hb-app { display: block !important; }
.st-win .hb-main { width: 100%; height: 100%; }
/* le catture non si animano: niente ingressi, nemmeno quelli dell'app */
.st-win, .st-win *, .st-win-small, .st-win-small *, .st-shot, .st-shot * { animation: none !important; }

/* le schede dei piani sono quelle dell'app (hb-plan), al centro e affiancate: con due restano raccolte, altre
   si aggiungono di fianco. Lo scambio mensile/annuale è fatto di due radio: il CSS mostra i prezzi del periodo. */
.st-pricing { margin-top: 36px; }
.st-period { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-bottom: 24px; }
.st-period-note { font-size: 14px; color: var(--hb-ink-2); }
.st-period input { position: absolute; opacity: 0; pointer-events: none; }
.st-period .hx-seg-opt { cursor: pointer; }
/* l'opzione scelta: lo stesso aspetto di .hx-seg-opt.is-on nell'app */
.st-period .hx-seg-opt:has(input:checked) { background: var(--hb-elev); color: var(--hb-ink); box-shadow: 0 0 0 1px var(--hb-line-strong), var(--hb-shadow-sm); }
.st-period .hx-seg-opt:has(input:focus-visible) { outline: 2px solid var(--hb-primary); outline-offset: 2px; }
.st-pricing .is-yearly { display: none; }
.st-pricing:has(input[value="yearly"]:checked) .is-yearly { display: revert; }
.st-pricing:has(input[value="yearly"]:checked) .hb-plan-price.is-yearly { display: flex; }
.st-pricing:has(input[value="yearly"]:checked) .is-monthly { display: none; }
.st-plans { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; text-align: left; }
.st-plans .hb-plan { flex: 0 1 340px; padding: 24px 22px 22px; gap: 6px; font-size: 15px; transition: transform 0.2s var(--hb-ease-out); }
/* da tre piani in su le schede si stringono per restare in una riga */
.st-pricing:not([data-count="1"], [data-count="2"]) .hb-plan { flex: 1 1 236px; max-width: 340px; }
.st-plans .hb-plan:hover { transform: translateY(-3px); }
.st-plans .hb-plan-name { font-size: 18px; }
.st-plans .hb-plan-price span { font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-plans .hb-plan-price .st-plan-billed { font-size: 22px; line-height: 1.25; }
.st-plans .hx-btn { margin-top: 14px; }
.st-plans .hb-plan ul { margin-top: 18px; font-size: 14.5px; }
.st-plan-note { margin-top: 8px; font-size: 14px; color: var(--hb-muted); }
/* alla scala del resto della pagina */
.st-pricing .st-plans, .st-pricing .st-period { zoom: 1.22; }

/* il confronto a gruppi: una colonna per piano, l'intestazione resta ferma sotto la barra mentre si scorre */
.st-compare { margin-top: 32px; background: var(--hb-surface); border: 1px solid var(--hb-line-strong); }
.st-compare table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.45; }
.st-compare th, .st-compare td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hb-line); background: var(--hb-surface); }
.st-compare thead th { position: sticky; top: 76px; z-index: 2; padding-block: 12px; background: var(--hb-surface-3); border-bottom: 1px solid var(--hb-line-strong);
  font: var(--hb-weight-semibold) 14px/1.3 var(--hb-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hb-ink-2); }
.st-compare thead th.is-pick { color: var(--hb-accent-ink); }
.st-compare tbody th[scope="colgroup"] { padding-block: 10px; background: var(--hb-surface-3); font: var(--hb-weight-semibold) 14px/1.3 var(--hb-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hb-ink-2); }
.st-compare tbody th[scope="row"] { width: 38%; font-weight: var(--hb-weight-medium); }
.st-compare tbody th[scope="row"] small { display: block; margin-top: 2px; font-size: 14px; font-weight: var(--hb-weight-regular); color: var(--hb-ink-2); }
.st-compare td { position: relative; color: var(--hb-ink-2); font-variant-numeric: tabular-nums; }
.st-compare td svg { color: var(--hb-success); }
.st-compare tbody tr:last-child > * { border-bottom: 0; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* con tanti piani la prima colonna cede spazio: tutto resta leggibile a 14 px */
.st-compare[data-count="3"] tbody th[scope="row"] { width: 32%; }
.st-compare[data-count="4"] tbody th[scope="row"], .st-compare[data-count="5"] tbody th[scope="row"] { width: 28%; }

@media (max-width: 900px) {
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-steps { grid-template-columns: minmax(0, 1fr); }
  /* il confronto scorre di lato dentro il suo riquadro, con la colonna delle funzioni ferma a sinistra */
  .st-compare { overflow-x: auto; overscroll-behavior-x: contain; }
  /* con due piani le colonne stanno tutte nello schermo; da tre in su il riquadro scorre di lato */
  .st-compare:not([data-count="1"], [data-count="2"]) table { min-width: calc(170px + var(--plans, 3) * 112px); }
  .st-compare th, .st-compare td { padding: 12px 14px; }
  .st-compare thead th { position: static; top: auto; }
  .st-compare thead th:first-child, .st-compare tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--hb-line); }
  .st-compare tbody th[scope="row"] { width: 46%; }
  .st-compare:not([data-count="1"], [data-count="2"]) tbody th[scope="row"] { width: auto; }
  /* il titolo del gruppo resta a vista mentre la tabella scorre */
  .st-compare-group { position: sticky; left: 14px; }
}
@media (max-width: 760px) {
  /* sul telefono la scala scende a 1,17: il testo più piccolo delle schede (12 px) resta a 14 px */
  .st-pricing .st-plans, .st-pricing .st-period { zoom: 1.17; }
  .st-win { display: none; }
  .st-win-small { display: block; --k: tan(atan2(100vw - 32px, 390px)); width: calc(100vw - 32px); max-width: none; height: min(68svh, 560px); margin: 36px auto 0;
    overflow: hidden auto; overscroll-behavior: auto; -webkit-overflow-scrolling: touch; border-radius: 18px;
    box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--hb-primary) 45%, transparent), 0 0 0 1px var(--hb-line-strong); }
  .st-win-small .st-shot-in { width: 390px; height: auto; transform: none; zoom: var(--k); }
  .st-win-small .st-shot-in > * { height: auto; }
  .st-win-small .hb-app, .st-win-small .hb-main, .st-win-small .hb-scroll, .st-win-small .hb-doc { display: block !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; }
  .st-win-small .hb-top { position: sticky; top: 0; z-index: 3; }
  .st-touch-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 28px; font-size: 14px; color: var(--hb-ink-2); }
  .st-touch-hint::before { content: ""; width: 9px; height: 10px; background: #ffb23e; clip-path: var(--hx-hex-pt); }
}
@media (max-width: 640px) {
  .st-grid { grid-template-columns: minmax(0, 1fr); }
  .st-card { padding: 22px; }
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════
   Testi legali (/privacy, /terms): una colonna di lettura (al massimo ~70 caratteri per riga), titoli numerati,
   riquadro "In short" (il Callout dell'app), tabelle che sul telefono diventano schede. Niente sotto i 14 px.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.st-legal > .st-wrap.st-narrow { max-width: 860px; }
.st-legal { font-size: 17px; line-height: 1.65; }
.st-legal p, .st-legal li { max-width: 70ch; }
.st-legal p { margin-top: 14px; }
.st-legal ul, .st-legal ol { padding-left: 1.3em; }
.st-legal ul { list-style: disc; }
.st-legal li { margin-top: 8px; padding-left: 4px; }
.st-legal li::marker { color: var(--hb-ink-2); }
.st-legal a { color: var(--hb-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.st-legal a:hover { text-decoration-thickness: 2px; }
/* il Callout dell'app, ripetuto qui per intero: le sue regole nel foglio delle figure vanno e vengono con le catture */
.st-legal .hx-callout { --cut: var(--hb-cut-md); display: flex; gap: 14px; padding: 18px 20px 18px 22px; background: var(--hb-info-bg); box-shadow: inset 3px 0 0 var(--hb-info), inset 0 0 0 1px var(--hb-info-border); color: var(--hb-ink); clip-path: polygon(-1px -1px, calc(100% + 1px) -1px, calc(100% + 1px) calc(100% - var(--cut) - 1px), calc(100% - var(--cut) - 1px) calc(100% + 1px), -1px calc(100% + 1px)); }
.st-legal .hx-callout-badge { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; color: var(--hb-info-fg); background: color-mix(in srgb, var(--hb-info) 16%, transparent); clip-path: var(--hx-hex-pt); }
.st-legal .hx-callout-body { min-width: 0; flex: 1 1 0%; }
.st-legal .hx-callout-title { font: var(--hb-weight-semibold) 18px/1.3 var(--hb-font); }
.st-legal .hx-callout-text { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--hb-ink); }
.st-legal .hx-callout-text li { margin-top: 6px; }
.st-legal-toc { margin-top: 32px; }
.st-legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 32px; list-style: none; padding: 0; counter-reset: toc; }
.st-legal-toc li { counter-increment: toc; margin-top: 0; max-width: none; padding: 0; }
.st-legal-toc a { display: block; padding: 6px 0; font-size: 16px; color: var(--hb-ink-2); text-decoration: none; }
.st-legal-toc a::before { content: counter(toc, decimal-leading-zero); margin-right: 10px; font: var(--hb-weight-semibold) 14px/1 var(--hb-mono); color: var(--hb-ink-2); }
.st-legal-toc a:hover { color: var(--hb-ink); text-decoration: underline; }
.st-legal-sec { margin-top: 56px; scroll-margin-top: 96px; }
.st-legal-sec h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.st-legal-no { flex: 0 0 auto; min-width: 1.6em; font: var(--hb-weight-semibold) 14px/1 var(--hb-mono); letter-spacing: 0.04em; color: var(--hb-ink-2); }
.st-todo { padding: 1px 6px; background: var(--hb-warning-bg); color: var(--hb-warning-fg); box-shadow: inset 0 0 0 1px var(--hb-warning-border); font-size: 0.92em; }
/* tabelle: lo stesso telaio di .st-data, con le intestazioni di colonna ripetute sulle schede del telefono */
.st-ltable { width: 100%; margin-top: 20px; border-collapse: collapse; border: 1px solid var(--hb-line-strong); background: var(--hb-surface); font-size: 16px; line-height: 1.5; }
.st-ltable th, .st-ltable td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hb-line); overflow-wrap: anywhere; }
.st-ltable thead th { padding-block: 10px; background: var(--hb-surface-3); font: var(--hb-weight-semibold) 14px/1.3 var(--hb-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hb-ink-2); }
.st-ltable tbody th { width: 38%; font-weight: var(--hb-weight-medium); }
.st-ltable tbody tr:last-child > * { border-bottom: 0; }
.st-ltable tbody tr:nth-child(even) { background: var(--hb-canvas); }
.st-ltable td { color: var(--hb-ink-2); }
@media (max-width: 720px) {
  .st-legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .st-ltable, .st-ltable tbody, .st-ltable tr, .st-ltable th, .st-ltable td { display: block; }
  .st-ltable thead { position: absolute; left: -9999px; }
  .st-ltable tbody th { width: auto; padding: 14px 16px 4px; border-bottom: 0; }
  .st-ltable td { padding: 4px 16px; border-bottom: 0; }
  .st-ltable td::before { content: attr(data-label); display: block; font: var(--hb-weight-semibold) 14px/1.3 var(--hb-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hb-ink-2); }
  .st-ltable tbody tr { padding-bottom: 12px; border-bottom: 1px solid var(--hb-line-strong); }
  .st-ltable tbody tr:last-child { border-bottom: 0; }
}

/* il badge di Product Hunt nel piè di pagina: sotto la frase del marchio, alla sua misura */
.st-foot-ph { display: inline-block; margin-top: 20px; line-height: 0; }
.st-foot-ph img { width: 200px; height: auto; }
/* ── guide (/guides): stessa colonna di lettura dei testi legali, più le figure dell'app e l'indice a schede ── */
.st-guide-fig { margin: 28px 0 8px; }
.st-guide-fig .st-shot { --k: 0.9; margin-inline: 0; box-shadow: var(--hb-shadow-md); }
.st-guide-fig .st-shot.is-analysis { --k: 1; }
.st-legal .st-guide-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.st-legal .st-guide-list li { max-width: none; margin: 0; padding: 0; }
.st-legal .st-guide-list a { display: block; padding: 20px 22px; border: 1px solid var(--hb-line-strong); border-radius: var(--hb-radius-lg); background: var(--hb-surface); text-decoration: none; }
.st-legal .st-guide-list a:hover { border-color: var(--hb-primary); }
.st-legal .st-guide-list b { display: block; font: var(--hb-weight-semibold) 20px/1.3 var(--hb-font); color: var(--hb-ink); }
.st-legal .st-guide-list span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--hb-ink-2); }
@media (max-width: 720px) { .st-guide-fig .st-shot { --k: 0.5; } .st-guide-fig .st-shot.is-analysis { --k: 0.9; } }
