/* ==========================================================================
   GaranzieAppalti.it — foglio di stile condiviso
   Palette: inchiostro petrolio + carta di sicurezza + timbro magenta (Albonet)
   ========================================================================== */

/* ---------- Font (self-hosted, nessuna chiamata a terzi) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-var.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: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 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: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/sourceserif4-latin-italic-var.woff2") format("woff2-variations"),
       url("../fonts/sourceserif4-latin-italic-var.woff2") format("woff2");
}

/* ---------- Token ---------- */
:root {
  --ink: #0F3B45;          /* inchiostro petrolio */
  --ink-2: #1A4F5A;
  --ink-soft: #E3ECEA;     /* velatura di inchiostro su carta */
  --paper: #F2F6F4;        /* carta di sicurezza */
  --sheet: #FFFFFF;
  --line: #D3E0DC;
  --line-strong: #B9CCC7;
  --filigree: #8DB3AC;
  --stamp: #9A1D55;        /* magenta Studio Albonet: azioni e timbro */
  --stamp-dark: #7E1645;
  --stamp-soft: #F6E8EF;
  --verify: #1C7650;
  --text: #22363B;
  --muted: #56696D;
  --danger: #B3261E;

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: 0.8125rem;   /* 13 */
  --step-0: 0.9375rem;    /* 15 */
  --step-1: 1.0625rem;    /* 17 — corpo */
  --step-2: 1.25rem;      /* 20 */
  --step-3: 1.5rem;       /* 24 */
  --step-4: clamp(1.625rem, 1.2rem + 1.2vw, 1.9rem);   /* h2 */
  --step-5: clamp(2rem, 1.35rem + 2.1vw, 3rem);         /* h1 */

  --header-h: 68px;
  --rail-w: 372px;
  --radius: 6px;
  --gutter: clamp(16px, 3vw, 40px);
  --shadow-panel: 0 1px 0 rgba(15, 59, 69, .04), 0 12px 32px -18px rgba(15, 59, 69, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-1);
  line-height: 1.6;
  font-stretch: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--stamp); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-stretch: 118%;
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-stretch: 122%; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-stretch: 110%; font-weight: 620; line-height: 1.25; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: var(--step-0); font-weight: 600; font-stretch: 104%;
  line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-stamp { background: var(--stamp); color: #fff; }
.btn-stamp:hover { background: var(--stamp-dark); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(242, 246, 244, .94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand img { height: 44px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: var(--radius);
  font-size: var(--step-0); font-weight: 520; color: var(--ink); text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--ink-soft); color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.lang a {
  padding: 5px 9px; font-size: var(--step--1); font-weight: 600; letter-spacing: .02em;
  text-decoration: none; color: var(--muted);
}
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 620; font-size: var(--step-0); text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--stamp); }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--sheet); color: var(--ink); font: inherit; font-size: var(--step-0); font-weight: 600; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------- Layout pagina con colonna modulo ---------- */
.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail-w);
  column-gap: clamp(32px, 4vw, 64px);
  align-items: start;
  padding-top: 40px;
}
.page > .section, .page > .hero, .page > .page-col { grid-column: 1; }
.rail {
  grid-column: 2;
  grid-row: 1 / span 12;  /* colonna destra riservata al modulo per tutta la pagina */
  align-self: stretch;
}
/* Il modulo resta fermo sullo schermo: scorre solo la colonna di sinistra (e il footer). */
.rail-panel {
  position: fixed;
  top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px));
  right: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter)));
  width: var(--rail-w);
  z-index: 40;
  max-height: calc(100vh - var(--header-h) - 28px);   /* paracadute per schermi bassissimi */
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-panel);
}

/* ---------- Sezioni ---------- */
.section { padding: 72px 0 0; }
.section > h2 { max-width: 30ch; }
.section-lead { max-width: 62ch; margin: 14px 0 28px; color: var(--muted); font-size: var(--step-1); }
.prose { max-width: 66ch; }

/* ---------- Hero ---------- */
.hero { padding-top: 8px; }
.hero h1 { max-width: 17ch; }
.hero-lead { max-width: 58ch; margin: 18px 0 26px; font-size: 1.1875rem; line-height: 1.55; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

/* ---------- Fac-simile di polizza (elemento distintivo) ---------- */
.specimen {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  box-shadow: var(--shadow-panel);
}
.specimen::before {           /* doppia cornice da certificato */
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--line);
  border-radius: 2px; pointer-events: none;
}
.specimen-band {
  position: relative;
  display: flex; justify-content: flex-start; align-items: center; gap: 8px;
  height: 58px; margin: 6px 6px 0; padding: 0 16px;
  background: url("../img/guilloche-band.svg") repeat-x center / auto 58px;
  border-bottom: 1px solid var(--line);
}
.specimen-band p {
  margin: 0; padding: 3px 10px;
  background: var(--sheet); border: 1px solid var(--line);
  font-size: var(--step--1); line-height: 1.4; color: var(--ink); font-weight: 560;
}
.specimen-serial { font-variant-numeric: tabular-nums; color: var(--muted) !important; font-weight: 500 !important; }
.specimen-body {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0; margin: 0 6px;
}
.specimen-input { padding: 22px 26px 20px 20px; border-right: 1px dashed var(--line-strong); }
.specimen-output { position: relative; padding: 22px 22px 20px 26px; display: flex; flex-direction: column; }

.field-label { display: block; margin: 0 0 6px; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.seg { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.seg legend { padding: 0; margin: 0 0 6px; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.seg-options { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg label + label { border-left: 1px solid var(--line-strong); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; flex-direction: column; padding: 8px 12px;
  font-weight: 620; font-size: var(--step-0); color: var(--ink); line-height: 1.25;
}
.seg span small { font-weight: 450; font-size: var(--step--1); color: var(--muted); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:checked + span small { color: rgba(255,255,255,.75); }
.seg input:focus-visible + span { outline: 3px solid var(--stamp); outline-offset: -3px; }

.money {
  display: flex; align-items: center;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--sheet);
}
.money:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
.money span { padding: 0 2px 0 14px; font-size: 1.375rem; font-weight: 600; color: var(--muted); }
.money input {
  flex: 1 1 0; width: 0; min-width: 0; height: 52px; padding: 0 14px 0 8px;
  border: 0; background: transparent; outline: none;
  font: inherit; font-size: 1.5rem; font-weight: 620; font-stretch: 108%; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.money input::placeholder { color: #9AAEAB; font-weight: 500; }
.hint { margin: 8px 0 0; font-size: var(--step--1); color: var(--muted); line-height: 1.45; }

.out-label { margin: 0 0 2px; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.out-live { position: relative; z-index: 2; }
.out-value {
  margin: 0; color: var(--ink);
  font-size: clamp(2.5rem, 1.9rem + 2vw, 3.375rem); font-weight: 680; font-stretch: 116%;
  line-height: 1.02; letter-spacing: -0.02em;
}
.out-value.is-text { font-size: 2rem; letter-spacing: -0.01em; }
.out-note { margin: 8px 0 18px; font-size: var(--step--1); line-height: 1.45; color: var(--muted); max-width: 34ch; }
.specimen-output .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 2; }

.specimen-checks {
  list-style: none; margin: 0 6px 6px; padding: 14px 20px 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px;
  border-top: 1px solid var(--line);
  font-size: var(--step-0); line-height: 1.4;
}
.specimen-checks li { display: flex; gap: 9px; align-items: flex-start; }
.specimen-checks svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--verify); }

.stamp {
  position: absolute; right: 8px; top: -86px; z-index: 1;   /* sopra la fascia, mai sul premio */
  width: 112px; height: 112px; color: var(--stamp);
  transform: rotate(-14deg);
  mix-blend-mode: multiply; opacity: .92; pointer-events: none;
}
.stamp svg { width: 100%; height: 100%; }
.stamp text { font-family: var(--font-sans); }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: stamp-press .55s cubic-bezier(.2, .9, .3, 1.25) .5s both; }
  @keyframes stamp-press {
    from { opacity: 0; transform: rotate(-6deg) scale(1.35); }
    to   { opacity: .92; transform: rotate(-14deg) scale(1); }
  }
}

/* ---------- Giurisprudenza ---------- */
.rulings { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; max-width: 70ch; }
.ruling { padding-left: 22px; border-left: 3px solid var(--stamp); }
.ruling blockquote { margin: 0; }
.ruling blockquote p {
  margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.1875rem;
  line-height: 1.5; color: var(--ink);
}
.ruling-src { margin: 8px 0 10px; font-size: var(--step--1); font-weight: 600; letter-spacing: .01em; }
.ruling-src a { color: var(--muted); }
.ruling-src a:hover { color: var(--stamp); }
.ruling-fix { display: flex; gap: 10px; margin: 0; font-weight: 560; color: var(--ink); }
.ruling-fix svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--verify); }

/* ---------- Tariffario ---------- */
.tariff-wrap { display: grid; gap: 16px; max-width: 860px; }
.tariff {
  width: 100%; border-collapse: collapse; background: var(--sheet);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-variant-numeric: tabular-nums;
}
.tariff th, .tariff td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tariff thead th { font-size: var(--step--1); font-weight: 600; color: var(--muted); padding-top: 12px; padding-bottom: 10px; }
.tariff tbody tr:last-child th, .tariff tbody tr:last-child td { border-bottom: 0; }
.tariff tbody th { font-weight: 620; color: var(--ink); }
.tariff tbody th span { display: block; font-weight: 450; font-size: var(--step--1); color: var(--muted); }
.tariff .num { text-align: right; white-space: nowrap; }
.tariff td.num { font-size: 1.5rem; font-weight: 680; font-stretch: 112%; color: var(--ink); }
.tariff td.num small { display: block; font-size: var(--step--1); font-weight: 450; font-stretch: 100%; color: var(--muted); }

.package {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 34px; align-items: center;
  padding: 50px 26px 24px; border-radius: var(--radius);
  background: var(--ink) url("../img/guilloche-band-dark.svg") repeat-x 0 -4px / auto 50px;
  color: #E7F0EE;
}
.package h3 { color: #fff; font-size: var(--step-1); font-stretch: 108%; }
.package .package-price { margin: 6px 0 0; font-size: 3rem; line-height: 1; font-weight: 680; font-stretch: 116%; color: #fff; letter-spacing: -0.02em; white-space: nowrap; }
.package .package-price small { display: block; margin-top: 6px; font-size: var(--step--1); font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: #CFE0DC; }
.package-body p { font-size: var(--step-0); margin: 0 0 8px; }
.package ul { margin: 0; padding: 0; list-style: none; font-size: var(--step-0); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.package li { display: flex; gap: 7px; }
.package li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #8FD1B1; }
.fineprint { max-width: 74ch; margin: 18px 0 0; font-size: var(--step--1); line-height: 1.55; color: var(--muted); }

/* ---------- Riduzioni in cascata (grafico a barre, serie unica) ---------- */
.cascade { margin: 0; padding: 24px 24px 20px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); max-width: 760px; }
.cascade ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cascade li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label val" "bar bar"; gap: 6px 16px; align-items: baseline; }
.c-label { grid-area: label; font-size: var(--step-0); color: var(--text); }
.c-val { grid-area: val; font-weight: 680; font-stretch: 112%; color: var(--ink); font-variant-numeric: tabular-nums; }
.c-bar { grid-area: bar; position: relative; height: 18px; background: var(--ink-soft); border-radius: 0 4px 4px 0; }
.c-bar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 100%);
  background: var(--ink); border-radius: 0 4px 4px 0;
}
.cascade figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--step-0); color: var(--muted); }
.cascade figcaption strong { color: var(--ink); font-size: 1.25rem; font-stretch: 112%; }
.cascade + .btn { margin-top: 20px; }

/* ---------- Come funziona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { position: relative; padding: 18px 18px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; margin: -36px 0 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); color: var(--ink);
  font-weight: 700; font-stretch: 112%; font-size: var(--step-0);
}
.steps h3 { font-size: var(--step-1); margin-bottom: 6px; }
.steps p { font-size: var(--step-0); color: var(--muted); margin: 0; }

/* ---------- Stazioni appaltanti ---------- */
.sa-panel {
  position: relative; overflow: hidden;
  padding: 34px 34px 32px; border-radius: 10px;
  background: var(--ink); color: #DCE8E5;
}
.sa-panel::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: url("../img/mark-outline.svg") no-repeat center / contain; opacity: .14; pointer-events: none;
}
.sa-panel h2 { color: #fff; max-width: 24ch; }
.sa-panel > p { max-width: 60ch; margin: 14px 0 20px; }
.sa-list { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 70ch; }
.sa-list li { padding-left: 18px; position: relative; font-size: var(--step-0); }
.sa-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #F0A9C8; }
.sa-list strong { color: #fff; font-weight: 620; }
.sa-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sa-panel .btn-stamp { background: #fff; color: var(--ink); }
.sa-panel .btn-stamp:hover { background: var(--stamp-soft); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 74ch; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 17px 2px; cursor: pointer; list-style: none;
  font-weight: 620; font-stretch: 104%; color: var(--ink); font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--stamp); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 2px 18px; }
.faq .faq-a p, .faq .faq-a ul { font-size: var(--step-0); margin: 0 0 .8em; }
.faq .faq-a ul { padding-left: 1.2em; }

/* ---------- Brochure ---------- */
.brochure {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 26px; align-items: center;
  padding: 26px; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px;
}
.brochure-cover {
  position: relative; aspect-ratio: 210 / 297; border-radius: 2px; overflow: hidden;
  background: var(--ink); box-shadow: 0 10px 22px -12px rgba(15, 59, 69, .6);
}
.brochure-cover::before {
  content: ""; position: absolute; left: 0; right: 0; top: 42%; height: 26px;
  background: url("../img/guilloche-band-dark.svg") repeat-x center / auto 26px; opacity: 1;
}
.brochure-cover img { position: absolute; left: 12px; top: 12px; width: 44px; height: 44px; }
.brochure-cover span {
  position: absolute; left: 12px; right: 10px; bottom: 12px;
  font-size: 11px; line-height: 1.2; font-weight: 640; font-stretch: 115%; color: #fff;
}
.brochure h2 { font-size: var(--step-3); }
.brochure p { margin: 8px 0 16px; color: var(--muted); font-size: var(--step-0); max-width: 56ch; }
.brochure-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.brochure-links a:not(.btn) { font-size: var(--step-0); font-weight: 560; }

/* ---------- Modulo (colonna destra), versione compatta ---------- */
.form-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 8px 16px; background: var(--ink); color: #D7E6E2;
}
.form-head h2 { color: #fff; font-size: 1.125rem; font-stretch: 112%; line-height: 1.2; }
.form-phone {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  color: #fff; font-size: 13.5px; font-weight: 620; text-decoration: none; white-space: nowrap;
}
.form-phone svg { width: 15px; height: 15px; color: #F0A9C8; }
.form-phone:hover { color: #F6E8EF; }
.lead-form { padding: 12px 16px 12px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f { position: relative; }
.f-full { grid-column: 1 / -1; }
.f input, .f select, .f textarea {
  width: 100%; display: block;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: var(--sheet); color: var(--ink);
  font: inherit; font-size: var(--step-0); line-height: 1.3;
}
.f input, .f select { height: 42px; padding: 16px 10px 3px; }
.f select { appearance: none; -webkit-appearance: none; padding-right: 32px;
  background: var(--sheet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%230F3B45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 9px center / 16px; }
.f textarea { height: 56px; padding: 17px 10px 4px; resize: none; }
.f label {
  position: absolute; left: 11px; top: 11px; right: 8px;
  font-size: 14.5px; color: var(--muted); pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: top .12s ease, font-size .12s ease, color .12s ease;
}
.f input:focus + label, .f input:not(:placeholder-shown) + label,
.f textarea:focus + label, .f textarea:not(:placeholder-shown) + label,
.f select + label {
  top: 3px; font-size: 11px; font-weight: 600; color: var(--muted);
}
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
.f input::placeholder, .f textarea::placeholder { color: transparent; }
.f [aria-invalid="true"] { border-color: var(--danger); }
.f [aria-invalid="true"] + label { color: var(--danger); }
.req { color: var(--stamp); }
.consent { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: 12px; line-height: 1.38; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--stamp); }
.consent.is-invalid { color: var(--danger); }
.lead-form .btn-block { min-height: 44px; }
.form-status { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--danger); }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--verify); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: 26px 22px 24px; }
.form-done svg { width: 40px; height: 40px; color: var(--verify); margin-bottom: 12px; }
.form-done h3 { font-size: var(--step-2); margin-bottom: 8px; }
.form-done p { font-size: var(--step-0); color: var(--muted); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; background: var(--sheet); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.footer-brand p.by { margin: 0 0 10px; font-size: var(--step--1); color: var(--muted); }
.footer-brand img { width: 230px; height: auto; margin-bottom: 16px; }
.footer-brand p { font-size: var(--step-0); max-width: 42ch; }
.site-footer h2 { font-size: var(--step-0); font-stretch: 108%; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: var(--step-0); line-height: 1.5; }
.site-footer li { margin-bottom: 7px; }
.site-footer address { font-style: normal; font-size: var(--step-0); line-height: 1.6; }
.footer-legal { border-top: 1px solid var(--line); padding: 16px 0 22px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.footer-legal p { margin: 0 0 4px; }
.footer-legal a { color: var(--muted); }
.todo { background: #FFF4CC; color: #6B4E00; padding: 0 4px; border-radius: 3px; }

/* ---------- Barra mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  :root { --rail-w: 344px; }
  .main-nav a { padding: 8px 9px; }
  .header-phone span { display: none; }
}
@media (max-width: 1180px) and (min-width: 1061px), (max-width: 860px) {
  .package { grid-template-columns: auto minmax(0, 1fr); }
  .package-cta { grid-column: 1 / -1; }
}
@media (max-width: 1060px) {
  :root { --header-h: 62px; }
  .page { display: block; padding-top: 28px; }
  .rail { margin-top: 48px; }
  .rail-panel { position: static; width: auto; max-width: 640px; max-height: none; overflow: visible; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 8px; font-size: var(--step-1); }
  .nav-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr auto; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    transition: transform .2s ease;
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar .btn { min-height: 44px; }
  body { padding-bottom: 72px; }
}
@media (max-width: 760px) {
  .specimen-body { grid-template-columns: minmax(0, 1fr); }
  .specimen-input { border-right: 0; border-bottom: 1px dashed var(--line-strong); padding: 18px 16px; }
  .specimen-output { padding: 18px 16px 20px; }
  .specimen-checks { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; }
  .stamp { width: 92px; height: 92px; right: 10px; top: 8px; }
  .specimen-band { padding: 0 10px; }
  .specimen-serial { display: none; }
  .package { grid-template-columns: minmax(0, 1fr); padding-top: 46px; }
  .package-cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; border-top: 0; }
  .steps li { border-top: 2px solid var(--ink); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .brochure { grid-template-columns: 96px minmax(0, 1fr); padding: 20px; gap: 18px; }
  .sa-panel { padding: 26px 20px; }
}
@media (max-width: 520px) {
  .header-phone { display: none; }
  .brand img { height: 38px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .tariff th, .tariff td { padding: 12px 12px; }
  .tariff td.num { font-size: 1.25rem; }
  .tariff thead th:nth-child(2) { display: none; }
  .tariff tbody td:not(.num) { display: none; }
  .tariff tbody th .range { display: block; font-weight: 500; font-size: var(--step--1); color: var(--text); }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .brochure { grid-template-columns: 1fr; }
  .brochure-cover { width: 110px; }
}
@media (min-width: 521px) { .tariff .range { display: none; } }

/* Footer delle pagine con modulo fisso: il contenuto resta nella colonna di sinistra */
@media (min-width: 1061px) {
  .has-rail .site-footer .wrap { padding-right: calc(var(--rail-w) + clamp(32px, 4vw, 64px) + var(--gutter)); }
  .has-rail .footer-top { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
}
/* Schermi bassi (portatili con zoom, finestre ridotte): modulo ancora più compatto,
   così resta interamente visibile senza barra di scorrimento */
@media (min-width: 1061px) and (max-height: 560px) {
  :root { --header-h: 56px; }
  .brand img { height: 36px; }
  .rail-panel { top: calc(var(--header-h) + 10px + env(safe-area-inset-top, 0px)); }
  .form-head { min-height: 40px; padding: 6px 14px; }
  .lead-form { padding: 10px 14px; }
  .f-grid { gap: 6px; }
  .f input, .f select { height: 38px; padding-top: 14px; }
  .f label { top: 9px; font-size: 14px; }
  .f textarea { height: 40px; padding-top: 15px; }
  .consent { margin: 8px 0; }
  .lead-form .btn-block { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .rail, .mobile-bar, .hero-ctas, .stamp { display: none !important; }
  .page { display: block; }
  body { background: #fff; }
}

/* Varianti pulsante aggiunte */
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-on-dark { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }

/* Evidenzia il modulo quando viene precompilato */
@media (prefers-reduced-motion: no-preference) {
  .rail-panel.is-pinged { animation: ga-ping 1.1s ease-out; }
  @keyframes ga-ping {
    0%   { box-shadow: 0 0 0 0 rgba(154, 29, 85, .45), var(--shadow-panel); }
    100% { box-shadow: 0 0 0 16px rgba(154, 29, 85, 0), var(--shadow-panel); }
  }
}

/* ---------- Pagine semplici (grazie, privacy) ---------- */
.simple-page { padding-top: 56px; max-width: 860px; }
.simple-page h1 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); max-width: 20ch; margin-bottom: 18px; }
.simple-page h2 { font-size: var(--step-3); margin: 34px 0 10px; }
.simple-page p, .simple-page li { max-width: 68ch; }
.simple-page .lead { font-size: 1.1875rem; color: var(--text); }
.simple-page .meta { font-size: var(--step--1); color: var(--muted); }
.simple-page .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.done-mark { width: 56px; height: 56px; color: var(--verify); margin-bottom: 18px; }

/* Aree sicure degli smartphone (notch): intestazione fissa e fascia superiore */
.site-header { top: env(safe-area-inset-top, 0px); }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 51;
  height: env(safe-area-inset-top, 0px); background: var(--paper);
}

/* ==========================================================================
   Pagine interne (simulatore, guida)
   ========================================================================== */
.page-head { padding-top: 8px; }
.page-head h1 { max-width: 22ch; font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.65rem); }
.page-head .hero-lead { margin-bottom: 22px; }
.crumbs { margin: 0 0 14px; font-size: var(--step--1); color: var(--muted); }
.crumbs a { color: var(--muted); }
.updated { margin: -8px 0 26px; font-size: var(--step--1); color: var(--muted); }

/* ---------- Simulatore ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  background: var(--sheet); border: 1px solid var(--line-strong); border-radius: 6px;
  box-shadow: var(--shadow-panel);
}
.calc-inputs { padding: 22px 22px 24px; border-right: 1px dashed var(--line-strong); display: grid; gap: 18px; align-content: start; }
.calc-result { padding: 22px 22px 24px; }
.calc-result-inner { position: sticky; top: calc(var(--header-h) + 16px); }
.calc-example { margin: 0; padding: 7px 10px; border-radius: var(--radius); background: var(--ink-soft); font-size: var(--step--1); color: var(--ink); }
.calc .seg { margin: 0; }
.calc .hint { margin-top: 6px; }
.pct {
  display: flex; align-items: center; max-width: 150px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--sheet);
}
.pct:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
.pct input {
  flex: 1 1 0; width: 0; min-width: 0; height: 44px; padding: 0 4px 0 12px; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 1.125rem; font-weight: 620; color: var(--ink); font-variant-numeric: tabular-nums;
}
.pct span { padding: 0 12px 0 2px; font-weight: 600; color: var(--muted); }
.is-fixed .pct { background: var(--paper); border-style: dashed; }
.is-fixed .pct input { color: var(--muted); }
.calc .money input { font-size: 1.375rem; height: 50px; }
.calc-more { margin-top: 10px; font-size: var(--step-0); }
.calc-more summary { cursor: pointer; color: var(--ink); font-weight: 560; }
.calc-more[open] summary { margin-bottom: 10px; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.field-row > div { min-width: 0; }

.red-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.red-set legend { padding: 0; margin: 0 0 8px; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.red-set[disabled] .red-opt { opacity: .45; }
.red-off { margin: 0 0 10px; padding: 8px 10px; border-left: 3px solid var(--stamp); background: var(--stamp-soft); font-size: var(--step--1); color: var(--ink); }
.red-opt {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 10px; align-items: start;
  padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer;
}
.red-opt:last-of-type { border-bottom: 1px solid var(--line); }
.red-opt input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); grid-row: 1 / span 2; }
.red-opt b { font-weight: 600; color: var(--ink); font-size: var(--step-0); line-height: 1.35; }
.red-opt small { grid-column: 2; font-size: var(--step--1); color: var(--muted); line-height: 1.4; }
.red-opt .rate { grid-column: 3; grid-row: 1; font-weight: 700; font-stretch: 110%; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.red-opt .pct { width: 86px; max-width: 86px; grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.red-opt .pct input { height: 36px; font-size: var(--step-0); }

.calc-total-label { margin: 0 0 2px; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.calc-total { margin: 0; color: var(--ink); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 680; font-stretch: 114%; line-height: 1.05; letter-spacing: -0.015em; }
.calc-sub { margin: 6px 0 14px; font-size: var(--step--1); color: var(--muted); }
.calc-steps { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.calc-steps th, .calc-steps td { padding: 7px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; font-weight: 450; color: var(--text); }
.calc-steps td.num { text-align: right; white-space: nowrap; padding-left: 12px; font-weight: 600; color: var(--ink); }
.calc-steps tr:first-child th, .calc-steps tr:first-child td { color: var(--muted); }
.calc-steps .step-inc th { color: var(--stamp-dark); }
.calc-buy { margin-top: 18px; padding: 14px 16px 16px; border-radius: 6px; background: var(--paper); border-top: 3px solid var(--stamp); }
.calc-buy .out-label { margin: 0; }
.calc-premium { margin: 0; font-size: 2rem; font-weight: 680; font-stretch: 114%; color: var(--ink); line-height: 1.1; }
.calc-buy .out-note { margin: 4px 0 12px; max-width: none; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calc-actions .btn { min-height: 42px; padding: 0 16px; }
.copy-status { margin: 6px 0 0; min-height: 1em; font-size: 12.5px; color: var(--verify); }
.calc-notes { margin: 14px 0 0; padding: 0 0 0 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.calc-notes li { margin-bottom: 5px; }

/* Testo lungo (guida e sezioni esplicative) */
.prose-block { max-width: 70ch; }
.prose-block p, .prose-block li { font-size: var(--step-1); }
.prose-block h3 { margin: 26px 0 8px; }
.formula {
  margin: 14px 0 18px; padding: 12px 16px; border-left: 3px solid var(--ink); background: var(--sheet);
  font-size: var(--step-0); font-variant-numeric: tabular-nums; color: var(--ink); overflow-x: auto;
}
.data-table-wrap { overflow-x: auto; margin: 14px 0 18px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--line); font-size: var(--step-0); font-variant-numeric: tabular-nums; }
.data-table caption { caption-side: top; text-align: left; padding: 0 0 6px; font-size: var(--step--1); color: var(--muted); }
.data-table th, .data-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { font-size: var(--step--1); font-weight: 600; color: var(--muted); background: var(--paper); }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; }
.data-table tbody th.num { font-weight: 600; color: var(--ink); }
.src-list { list-style: none; margin: 0; padding: 0; max-width: 72ch; }
.src-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: var(--step-0); }
.src-list li:last-child { border-bottom: 1px solid var(--line); }
.src-list a { font-weight: 600; }
.src-list span { display: block; margin-top: 3px; color: var(--muted); }

@media (max-width: 760px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-inputs { border-right: 0; border-bottom: 1px dashed var(--line-strong); padding: 18px 16px; }
  .calc-result { padding: 18px 16px 20px; }
  .calc-result-inner { position: static; }
}

/* Passaggi in verticale (metodo di calcolo) */
.steps.steps-v { grid-template-columns: minmax(0, 1fr); border-top: 0; gap: 18px; margin: 6px 0 8px; }
.steps.steps-v li { padding: 0 0 0 50px; min-height: 34px; }
.steps.steps-v li::before { position: absolute; left: 0; top: 0; margin: 0; }
.steps.steps-v h3 { margin: 4px 0 4px; }

/* ---------- Guida: testo lungo in serif ---------- */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/sourceserif4-latin-var.woff2") format("woff2-variations"),
       url("../fonts/sourceserif4-latin-var.woff2") format("woff2");
}
.toc {
  margin: 0 0 8px; padding: 18px 20px; max-width: 70ch;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 6px;
}
.toc h2 { font-size: var(--step-0); font-stretch: 108%; margin: 0 0 8px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 28px; font-size: var(--step-0); }
.toc li { margin-bottom: 5px; break-inside: avoid; }
.guide-body { max-width: 70ch; }
.guide-body > section { padding-top: 56px; }
.guide-body h2 { font-size: var(--step-4); margin-bottom: 14px; }
.guide-body h3 { font-size: var(--step-2); margin: 28px 0 8px; }
.guide-body p, .guide-body li { font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.66; color: var(--text); }
.guide-body p { margin: 0 0 .9em; }
.guide-body ul, .guide-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.guide-body li { margin-bottom: .4em; }
.guide-body q, .guide-body .quote { font-style: italic; }
.guide-body .data-table, .guide-body .formula { font-family: var(--font-sans); }
.guide-body .data-table td, .guide-body .data-table th { font-size: var(--step-0); }
.guide-body .src-list li { font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.5; }
.guide-body .steps.steps-v p { font-size: 1.0625rem; }
.guide-body details.all13 { margin: 10px 0 18px; padding: 12px 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
.guide-body details.all13 summary { cursor: pointer; font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
.guide-body details.all13 ul { columns: 2; column-gap: 24px; margin-top: 10px; }
.guide-body details.all13 li { font-family: var(--font-sans); font-size: var(--step--1); line-height: 1.45; break-inside: avoid; }
.cta-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 22px; align-items: center;
  margin: 26px 0 8px; padding: 18px 20px; border-radius: 8px; background: var(--ink); color: #DCE8E5;
}
.cta-box p { margin: 0; font-family: var(--font-sans) !important; font-size: var(--step-0) !important; color: #DCE8E5 !important; }
.cta-box strong { display: block; color: #fff; font-size: var(--step-1); font-stretch: 108%; margin-bottom: 2px; }
.disclaimer { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--step--1) !important; color: var(--muted) !important; font-family: var(--font-sans) !important; }
@media (max-width: 760px) {
  .toc ol { columns: 1; }
  .guide-body details.all13 ul { columns: 1; }
  .cta-box { grid-template-columns: minmax(0, 1fr); }
  .guide-body p, .guide-body li { font-size: 1.0625rem; }
}

/* Liste della guida senza rientro; colonna "Norma" su una riga */
.guide-body .src-list, .guide-body .steps { padding-left: 0; }
.data-table td.norm { white-space: nowrap; }

/* Pagine interne su smartphone e tablet: prima il contenuto, poi il modulo
   (sempre raggiungibile dalla barra "Richiedi un preventivo") */
@media (max-width: 1060px) {
  .guide .page, .sim .page { display: flex; flex-direction: column; align-items: stretch; }
  .guide .page > *, .sim .page > * { min-width: 0; }
  .guide .rail, .sim .rail { order: 1; }
  .sim .page > .section { order: 2; }
}

/* Tabelle "a schede" sugli schermi stretti */
@media (max-width: 640px) {
  .data-table-wrap:has(> .stack) { overflow: visible; }
  .data-table.stack { min-width: 0; border: 0; background: none; }
  .data-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .data-table.stack tbody, .data-table.stack tr, .data-table.stack th, .data-table.stack td { display: block; }
  .data-table.stack tr { margin: 0 0 10px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
  .data-table.stack tbody th { padding: 10px 14px 4px; border: 0; font-size: var(--step-1); color: var(--ink); text-align: left; }
  .data-table.stack td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; padding: 6px 14px; border: 0; }
  .data-table.stack td:last-child { padding-bottom: 12px; }
  .data-table.stack td::before { content: attr(data-label); font-size: var(--step--1); font-weight: 600; color: var(--muted); line-height: 1.6; }
  .data-table.stack td.norm { white-space: normal; }
}
