/* VABE Data Intelligence — bozza referto. Font di sistema, nessuna risorsa remota. */

:root {
  --night-900: #060e1c;
  --night-800: #0a1628;
  --night-700: #0f1e34;
  --night-600: #162943;
  --line: #21375a;
  --line-soft: #1a2c49;
  --ink: #e8eef7;
  --ink-2: #a9bdd8;
  --ink-3: #7690b4;
  --teal: #2fd4b5;
  --teal-dim: #1c8a76;
  --indigo: #7d8cf8;
  --amber: #e8a33d;
  --radius: 10px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--night-900);
  background-image: radial-gradient(1200px 600px at 70% -10%, #12294a 0%, transparent 60%);
}

h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 0.93em; }

button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:where(button, input, a):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Accesso ---------- */
.gate {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px 20px;
}
.gate-badge, .badge-synth, .foot-synth {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #06231d;
  background: var(--teal);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 700;
  white-space: nowrap;
}
.gate-card {
  width: 100%;
  max-width: 420px;
  background: var(--night-800);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.gate-brand { display: flex; gap: 14px; align-items: center; }
.logo { width: 34px; height: 34px; color: var(--teal); flex: none; }
.gate-brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.gate-brand-name span { color: var(--teal); font-weight: 600; }
.gate-brand-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.02em; }
.field input {
  font: inherit;
  color: var(--ink);
  background: var(--night-700);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.field input:focus { border-color: var(--teal-dim); }

.btn-primary {
  background: var(--teal);
  color: #04231d;
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: #46e3c6; }
.login-error { color: #ff9d9d; font-size: 13px; }
.gate-note { font-size: 11.5px; line-height: 1.5; color: var(--ink-3); border-top: 1px solid var(--line-soft); padding-top: 12px; }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--teal-dim); }

/* ---------- Testata ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 14, 28, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 12px clamp(14px, 3vw, 34px) 12px;
  backdrop-filter: blur(6px);
}
.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.topbar-titles h1 { font-size: clamp(15px, 2vw, 19px); }
.topbar-titles p { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.notice {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(125, 140, 248, 0.14), rgba(125, 140, 248, 0.04));
  border: 1px solid #384a8f;
  border-left: 3px solid var(--indigo);
  border-radius: 8px;
  padding: 10px 14px;
  flex-wrap: wrap;
}
.notice p { font-size: 13.5px; color: #dfe6ff; max-width: 105ch; }
.notice-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 2px;
}

/* ---------- Controlli ---------- */
.controls {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 14px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(15, 30, 52, 0.55);
}
.ctrl { display: flex; flex-direction: column; gap: 7px; }
.ctrl > label { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.ctrl > label strong { color: var(--teal); }
.segmented { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.segmented button {
  background: transparent;
  color: var(--ink-2);
  border: 0;
  border-right: 1px solid var(--line-soft);
  padding: 7px 13px;
  font-size: 13px;
}
.segmented button:last-child { border-right: 0; }
.segmented button:hover { background: var(--night-600); color: var(--ink); }
.segmented button.on { background: var(--teal); color: #04231d; font-weight: 700; }

.ctrl-k { min-width: 210px; }
.ctrl-k input[type="range"] { width: 100%; accent-color: var(--teal); margin: 2px 0 0; }
.k-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ctrl-note { font-size: 12px; color: var(--ink-3); max-width: 46ch; line-height: 1.45; align-self: center; }

/* ---------- Impaginazione ---------- */
.page {
  padding: 20px clamp(14px, 3vw, 34px) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 1520px;
}
.card {
  min-width: 0;
  background: var(--night-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.card > h2, .card-head h2 { font-size: 15.5px; }
.card-head { margin-bottom: 14px; }
.card-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.card-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin-top: 12px; }

/* ---------- KPI k ---------- */
.card-k .kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.kpi { background: var(--night-700); border: 1px solid var(--line-soft); border-radius: 8px; padding: 12px 14px; }
.kpi-num { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--teal); line-height: 1.1; }
.kpi-sup .kpi-num { color: var(--amber); }
.kpi-non .kpi-num { color: var(--ink-3); }
.kpi-lab { font-size: 11.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.35; }
#k-story { color: var(--ink-2); }

/* ---------- Legenda ---------- */
.legend-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.legend-list li { display: flex; gap: 12px; align-items: flex-start; }
.legend-list strong { font-size: 13.5px; }
.legend-list p { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }
.chip {
  flex: none;
  min-width: 62px;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}
.chip-read { background: rgba(47, 212, 181, 0.14); color: var(--teal); border: 1px solid var(--teal-dim); }
.chip-sup {
  background: repeating-linear-gradient(135deg, rgba(232, 163, 61, 0.22) 0 5px, rgba(232, 163, 61, 0.07) 5px 10px);
  color: var(--amber);
  border: 1px solid #8a6120;
}
.chip-non { background: rgba(255, 255, 255, 0.03); color: var(--ink-3); border: 1px solid var(--line); }

/* ---------- Imbuto ---------- */
.funnel { display: block; }
.step-block { display: block; margin-bottom: 8px; }
.step { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: center; }
.step-label { display: flex; flex-direction: column; gap: 1px; }
.step-code { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--teal); }
.step-name { font-size: 11.5px; color: var(--ink-3); line-height: 1.3; }
.bar-wrap { position: relative; background: var(--night-700); border-radius: 6px; height: 40px; overflow: hidden; border: 1px solid var(--line-soft); }
.bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(47, 212, 181, 0.55), rgba(47, 212, 181, 0.2));
  border-right: 2px solid var(--teal);
  min-width: 3px;
}
.bar-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}
.bar-count { font-weight: 700; }
.bar-share { color: var(--ink-2); font-size: 12px; }
.step-band .bar { background: linear-gradient(90deg, rgba(125, 140, 248, 0.6), rgba(125, 140, 248, 0.2)); border-right-color: var(--indigo); }
.step-band .step-code { color: var(--indigo); }
.step-band .bar-wrap { border-color: #3b4c93; }
.step-conv .bar { background: linear-gradient(90deg, rgba(47, 212, 181, 0.9), rgba(47, 212, 181, 0.4)); }
.drop {
  margin-left: 162px;
  font-size: 11.5px;
  color: var(--ink-3);
  font-family: var(--mono);
  padding: 3px 0 1px 12px;
}
.drop strong { color: var(--amber); font-weight: 700; }
.band-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--indigo);
  border: 1px solid #3b4c93;
  border-radius: 999px;
  padding: 1px 7px;
  margin-top: 3px;
  width: fit-content;
}

/* ---------- Riquadro regola ---------- */
.card-rule { border-color: #3b4c93; background: linear-gradient(180deg, rgba(125, 140, 248, 0.08), rgba(10, 22, 40, 0.6)); }
.rule-body { display: grid; gap: 9px; margin-top: 10px; }
.rule-body p { font-size: 13px; color: #dbe3ff; max-width: 100ch; line-height: 1.55; }
.rule-eq { border-left: 2px solid var(--indigo); padding-left: 12px; }
.rule-eq .mono { color: var(--teal); font-weight: 700; }

/* ---------- Griglia ---------- */
.grid-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-soft); border-radius: 8px; }
.grid { border-collapse: collapse; width: 100%; min-width: 880px; font-size: 13px; }
.grid th, .grid td { border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); padding: 8px 10px; text-align: right; }
.grid thead th {
  background: var(--night-600);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  font-weight: 700;
  text-align: right;
  vertical-align: bottom;
  white-space: nowrap;
}
.grid thead th.col-unknown { color: var(--amber); }
.grid th.rh, .grid tbody th, .grid tfoot th {
  text-align: left;
  background: var(--night-700);
  white-space: nowrap;
  font-weight: 600;
}
.grid th .rh-code { font-family: var(--mono); color: var(--teal); font-size: 12.5px; }
.grid th .rh-sub { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.grid tbody tr.row-band th .rh-code { color: var(--indigo); }
.grid td { font-family: var(--mono); }
.grid td.c-read { color: var(--ink); }
.grid td.c-sup {
  color: var(--amber);
  font-weight: 700;
  font-size: 15px;
  background: repeating-linear-gradient(135deg, rgba(232, 163, 61, 0.2) 0 5px, rgba(232, 163, 61, 0.06) 5px 10px);
}
.grid td.c-non { color: var(--ink-3); background: rgba(255, 255, 255, 0.012); }
.grid td.c-unknown { background: rgba(232, 163, 61, 0.07); }
.grid td.c-total, .grid th.col-total { border-left: 2px solid var(--line); }
.grid td.c-total { font-weight: 700; }
.grid tbody tr:hover td { background-color: rgba(47, 212, 181, 0.05); }
.grid-caption { font-size: 11.5px; color: var(--ink-3); margin: -6px 0 8px; }

.unknown-box {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #8a6120;
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(232, 163, 61, 0.06);
  flex-wrap: wrap;
}
.unknown-box .notice-tag { color: var(--amber); }
.unknown-box p { font-size: 13px; color: #f4e6d0; max-width: 100ch; line-height: 1.55; }

/* ---------- Prezzo ---------- */
.price-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 12px; }
.price-rule { margin-top: 14px; display: grid; gap: 8px; }
.price-rule p { font-size: 13px; color: var(--ink-2); max-width: 100ch; line-height: 1.55; }
.price-flag {
  border: 1px solid var(--teal-dim);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(47, 212, 181, 0.07);
  color: #d9fff6 !important;
}

/* ---------- Piede ---------- */
.foot { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 4px; }
.foot p { font-size: 12px; color: var(--ink-3); max-width: 90ch; line-height: 1.5; }
.foot-synth { color: #06231d !important; }

/* ---------- Schermo stretto ---------- */
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 4px; }
  .drop { margin-left: 0; padding-left: 0; white-space: normal; line-height: 1.4; }
  .bar-wrap { height: 36px; }
  .topbar-titles h1 { font-size: 15px; }
  .notice, .unknown-box { gap: 6px; }
  .ctrl-note { max-width: none; }
  .card { padding: 14px; }
  .topbar { position: static; }
  .card-k .kpis, .price-kpis { grid-template-columns: 1fr 1fr; }
  .legend-list { grid-template-columns: 1fr; }
  .kpi-num { font-size: 21px; }
  .bar-text { font-size: 12px; gap: 8px; }
}

/* ==================================================================
   Aggiunte del collegamento al motore dati (RPC referto_coorte):
   provenienza del dato, stato di caricamento, errore dichiarato,
   celle non pubblicate dal motore. Nessuna modifica al layout esistente.
   ================================================================== */

/* riga di provenienza del referto */
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  font-size: 12px;
  color: var(--ink-2);
  background: var(--night-800);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--teal-dim);
  border-radius: 8px;
  padding: 9px 14px;
  line-height: 1.45;
}
.meta-strip .meta-lab {
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.meta-strip strong { color: var(--ink); font-weight: 650; }
.meta-strip .meta-src { color: var(--ink-3); font-size: 11.5px; flex-basis: 100%; }
.meta-strip .meta-off { color: var(--amber); font-size: 12px; }

/* pillola di stato del caricamento (non sposta il layout) */
.badge-load {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: var(--night-700);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.page.is-loading { opacity: 0.6; transition: opacity 120ms linear; }

/* etichetta dati reali (quando meta.sintetico === false) */
.badge-real { background: var(--amber) !important; color: #2b1703 !important; }

/* errore di rete dichiarato in chiaro */
.data-error {
  background: #2a1410;
  border: 1px solid #7d2f22;
  border-left: 4px solid #e2634a;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.data-error .err-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2a0d07;
  background: #e2634a;
  border-radius: 999px;
  padding: 4px 10px;
}
.data-error p { font-size: 13px; color: #f6d9d2; line-height: 1.5; }
.data-error .err-tech { font-size: 11.5px; color: #d0a49b; word-break: break-word; }

/* segnaposto quando non ci sono numeri: mai uno zero, mai un numero finto */
.ph {
  font-size: 13px;
  color: var(--ink-3);
  background: var(--night-700);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}
.ph-cell {
  font-size: 13px;
  color: var(--ink-3);
  padding: 14px 16px;
  border: 1px dashed var(--line);
}

/* cella / totale non pubblicato dal motore: quarto caso di provenienza,
   tenuto graficamente distinto dai tre stati della cella */
.c-na {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(118,144,180,0.09) 5px 10px);
  white-space: nowrap;
}

/* gradini dell'imbuto non leggibili */
.bar-void { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(232,163,61,0.22) 6px 12px) !important; }
.c-sup-txt { color: var(--amber); }
.c-non-txt { color: var(--ink-3); }
.drop-src { color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.k-wait { color: var(--ink-3); font-style: italic; }

/* controllo disattivato (il volume non è più un parametro del referto) */
.ctrl-off > label { color: var(--ink-3); }
.tag-off {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--amber);
  border: 1px solid rgba(232,163,61,0.45);
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 6px;
  white-space: nowrap;
}
.segmented-off button { opacity: 0.4; cursor: not-allowed; }
.ctrl-hint { font-size: 11px; color: var(--ink-3); max-width: 34ch; line-height: 1.4; }
.th-txt { display: inline-block; }


/* ================= ADDENDUM v1.1 — «in attesa di dati reali» =================
   Il tratteggio è riservato al quarto stato: il soppresso resta rigato (⊘,
   ambra), il non osservato resta a fondo pieno (—). La differenza non è affidata
   al solo colore: cambia il glifo, cambia il contorno, ed è presente la parola. */

/* --- fascia di stato della fonte (in testa alla pagina) --- */
.source-band {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px dashed #4b5b86;
  background: rgba(94, 124, 199, 0.08);
}
.source-band .sb-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px dashed #6d80b5;
  color: #b9c6e8;
  margin-bottom: 7px;
}
.source-band p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.source-band.sb-mixed { border-style: solid; border-color: var(--teal-dim); background: rgba(47, 212, 181, 0.07); }
.source-band.sb-mixed .sb-tag { border-style: solid; border-color: var(--teal-dim); color: var(--teal); }

/* --- pillola di attesa per riquadro --- */
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card-head h2 { flex: 0 1 auto; }
.card-head .card-sub { flex: 1 1 100%; }
.wait-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px dashed #6d80b5;
  color: #b9c6e8;
  background: rgba(94, 124, 199, 0.08);
  max-width: 100%;
}
.wait-chip .wait-ico { font-size: 12px; line-height: 1; }
.wait-chip.chip-synthetic { border-style: dashed; border-color: #7b6aa8; color: #c2b6e4; background: rgba(123, 106, 168, 0.1); }
.wait-chip.chip-mixed { border-style: solid; border-color: var(--teal-dim); color: var(--teal); background: rgba(47, 212, 181, 0.08); }

/* --- cella in attesa (griglia) --- */
.grid td.c-wait {
  color: #b9c6e8;
  background: rgba(94, 124, 199, 0.06);
  outline: 1px dashed #55689b;
  outline-offset: -3px;
  line-height: 1.15;
  white-space: normal;
}
.grid td.c-wait .w-ico { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; }
.grid td.c-wait .w-txt { display: block; font-size: 9.5px; letter-spacing: .02em; text-transform: uppercase; opacity: .95; }
.grid td.c-wait .w-txt-long { display: none; }

/* --- KPI in attesa --- */
.kpi-wait { border-style: dashed; border-color: #55689b; background: rgba(94, 124, 199, 0.06); }
.kpi-wait .kpi-num, .kpi-num-wait {
  font-size: 12.5px;
  font-weight: 600;
  color: #b9c6e8;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.3;
}
.kpi-num-wait .w-ico { font-family: var(--mono); font-size: 14px; }

/* --- valore sintetico marcato dentro una vista non del tutto sintetica --- */
.grid td.c-synth { text-decoration: underline dotted rgba(194, 182, 228, .8); text-underline-offset: 3px; }
.kpi.kpi-synth { border-color: #6d5f95; }
.kpi.kpi-synth .kpi-lab::after { content: " · valore sintetico"; color: #c2b6e4; }

/* --- legenda: chip del quarto stato --- */
.chip-wait {
  background: rgba(94, 124, 199, 0.08);
  border: 1px dashed #6d80b5;
  color: #b9c6e8;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.1;
}
.chip-wait .w-ico { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; }
.chip-wait .w-txt { font-size: 9.5px; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }

/* --- caduta dell'imbuto in attesa --- */
.drop-wait {
  font-family: var(--mono);
  font-size: 11px;
  color: #b9c6e8;
  border: 1px dashed #55689b;
  border-radius: 5px;
  padding: 1px 7px;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .grid td.c-wait .w-txt-long { display: inline; }
}
