/* Componenti dello stile ProdsLab: pagina, testate, kpi con l'anello, pillole, pulsanti, cerca e scelte, righe, fogli con gruppi e voci, riquadri.
   Si carica dopo theme.css e lab.css; le evidenze usano --accent, il colore dell'app. */
:root {
  --ok: var(--success); --ko: var(--danger); --warn: var(--warning);
}
.pagina { max-width: 1440px; margin: 0 auto; padding: 14px clamp(16px, 3vw, 32px) 40px; display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.pagina--piena { grid-template-columns: minmax(0, 1fr); }
.pagina > main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pagina > aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.sez-titolo { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 30px; letter-spacing: -.04em; }
.sez-titolo small { font-family: var(--font); font-size: 12.5px; font-weight: var(--fw-bold); letter-spacing: 0; padding: 4px 10px; border-radius: 999px;
  color: #4ade80; background: rgba(74,222,128,.12); }
.sez-titolo small.ko { color: var(--danger-text); background: color-mix(in srgb, var(--danger) 15%, transparent); }
.sez-titolo i { color: var(--accent); font-size: .8em; }
.sez-testa .sez-titolo { margin: 0; font-size: 30px; }
.sez-testa .sez-titolo small { margin-left: 0; }
.vetro { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.kpi { padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: center; min-width: 0; border-radius: 22px; }
.kpi > :not(.kpi-anello) { grid-column: 2; }
.kpi > .kpi-anello { grid-row: 1 / span 4; }
.kpi-anello .anello, .kpi-anello .anello svg { width: 56px; height: 56px; }
.kpi-anello .anello circle { stroke-width: 7; }
.kpi-anello .anello .fondo { stroke: #2a2c34; }
.kpi-anello .anello b { display: none; }
.kpi-lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #b4b5bd; }
.kpi-lbl i { color: var(--accent); width: 14px; text-align: center; font-size: 12px; }
.kpi-val { font-family: var(--display); font-size: 30px; font-weight: var(--fw-black); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-sub { color: #8e8f98; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kpi .btn { justify-self: start; margin-top: 6px; }
.kpi .barra { margin-top: 6px; }

.barra { position: relative; display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--surface-3); }
.barra > i { display: block; height: 100%; transition: width .5s; background: var(--c, var(--accent)); border-radius: 999px; }
.barra > i.prog { background: repeating-linear-gradient(45deg, var(--c, var(--accent)) 0 6px, transparent 6px 10px); opacity: .7; }
.barra.warn > i { background: var(--warn); } .barra.bad > i { background: var(--ko); }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px;
  font-weight: var(--fw-bold); white-space: nowrap; }
.pill i.p { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.on { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pill.on i.p { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); animation: battito 2s infinite; }
.pill.off { color: var(--danger-text); background: color-mix(in srgb, var(--ko) 16%, transparent); }
.pill.mid { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.pill.neutro { color: var(--muted); background: var(--chip); }
@keyframes battito { 50% { opacity: .4; } }

.barre { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.barre i { width: 6px; border-radius: 3px; background: var(--c); opacity: .85; }
.barre i.giu { height: 40px; background: var(--ko); opacity: 1; }
.spark { flex: 1; height: 44px; min-width: 0; }
.spark polyline { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .area { fill: color-mix(in srgb, var(--c) 22%, transparent); stroke: none; }
.spark .buco { fill: color-mix(in srgb, var(--ko) 40%, transparent); }
.ibtn { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; font-size: 14px;
  color: #b4b5bd; background: #1a1b21; border: 1px solid #2a2c34; }
.ibtn:hover { background: rgba(255,255,255,.14); }
.ibtn.rosso { color: var(--danger-text); background: color-mix(in srgb, var(--ko) 16%, transparent); }
.ibtn.verde { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.btn.is-confirm, .ibtn.is-confirm { background: var(--ko); color: #2a0608; }
.is-busy { opacity: .55; pointer-events: none; }

.anello { position: relative; width: 60px; height: 60px; flex: none; }
.anello svg { width: 60px; height: 60px; transform: rotate(-90deg); }
.anello circle { fill: none; stroke-width: 6; }
.anello .fondo { stroke: var(--surface-3); }
.anello .pieno { stroke: var(--c, var(--accent)); stroke-linecap: round; transition: stroke-dashoffset .6s; }
.anello b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }

.eventi { padding: 20px; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 110px); }
.eventi .sez-titolo { margin: 0 0 4px; font-size: 1.4rem; }
.eventi ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.eventi li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 9px 10px; border-radius: 14px; background: var(--surface-2); font-size: 13px; line-height: 1.4; }
.eventi li i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; color: var(--muted); background: var(--chip); }
.eventi li.ok i { color: #0e0f13; background: var(--ok); } .eventi li.errore i { color: #2a0608; background: var(--ko); } .eventi li.avviso i { color: #241a00; background: var(--warn); }
.eventi li small { display: block; color: var(--faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.eventi .vuoto { color: var(--muted); font-size: 13px; }

@media (max-width: 1200px) {
  .pagina { grid-template-columns: 1fr; }
  .pagina > aside { position: static; }
  .eventi { max-height: 420px; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; grid-template-columns: 1fr; border-radius: 18px; }
  .kpi > :not(.kpi-anello) { grid-column: 1; }
  .kpi > .kpi-anello { display: none; }
  .kpi-val { font-size: 1.4rem; }
}

@media (min-width: 641px) and (max-width: 1023px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-nav="tablet"][data-laterale] .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-telefono] .kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
[data-telefono] .kpi { padding: 14px; grid-template-columns: 1fr; border-radius: 18px; }
[data-telefono] .kpi > :not(.kpi-anello) { grid-column: 1; }
[data-telefono] .kpi > .kpi-anello { display: none; }
[data-telefono] .kpi-val { font-size: 1.4rem; }
[data-telefono] .sez-titolo { margin-top: 8px; }
[data-telefono] .sez-testa { row-gap: 16px; }
[data-telefono] .sez-testa .sez-titolo { margin-top: 0; }
.titolo-riga { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.titolo-riga .sez-titolo { margin: 0; }
.titolo-riga .sez-titolo small { color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); white-space: nowrap; }
.titolo-azioni { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-bianco { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: #f4f4f6; color: #0e0f13; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.btn-bianco:hover { background: #fff; }
.btn-tenue { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.08); color: #f4f4f6; font: inherit; font-size: 14px; font-weight: 600; }
.btn-rosso { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(248,113,113,.16); color: #fca5a5; font: inherit; font-size: 14px; font-weight: 600; }
.btn-bianco.is-busy, .btn-rosso.is-busy { opacity: .6; pointer-events: none; }
.tondo { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #23242b; color: #d4d5db; text-decoration: none; }
.tondo:hover { color: #f4f4f6; }
.strumenti { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cerca { flex: 1 1 280px; max-width: 420px; height: 42px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border-radius: 999px; background: #16171c; border: 1px solid #2a2c34; color: #8e8f98; }
.cerca:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.cerca input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #f4f4f6; font: inherit; font-size: 14.5px; padding: 0; }
.cerca input::placeholder { color: #8e8f98; }
.scelta { position: relative; height: 42px; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 16px;
  border-radius: 999px; background: #16171c; border: 1px solid #2a2c34; font-size: 14px; white-space: nowrap; cursor: pointer; }
.scelta > span { color: #8e8f98; }
.scelta select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: none; color: #f4f4f6; font: inherit; font-weight: 500;
  padding: 0 22px 0 0; cursor: pointer; }
.scelta select option { background: #16171c; }
.scelta svg { position: absolute; right: 14px; color: #8e8f98; pointer-events: none; }
.pillola .punto { width: 7px; height: 7px; border-radius: 50%; background: #f87171; display: inline-block; margin-right: 7px; }
.pillole--scorre { overflow-x: auto; }
.riga-reg { width: 100%; display: flex; gap: 14px; align-items: center; padding: 10px 14px; border: 0; border-radius: 16px; cursor: pointer;
  background: #1c1d23; color: inherit; font: inherit; text-align: left; }
.riga-reg:hover { background: #222329; }
.riga-reg.is-scelta { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.riga-reg .corpo { min-width: 0; flex: 1; }
.riga-reg .frase { display: block; font-size: 14.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.riga-reg small { display: block; color: #8e8f98; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.riga-reg .destra { display: flex; align-items: center; gap: 10px; flex: none; }
.riga-reg .freccia { color: #5c5e68; display: grid; }
@media (min-height: 600px) {
  body:has(.pagina--fissa) { height: 100dvh; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; }
  .pagina--fissa { flex: 1; min-height: 0; width: 100%; box-sizing: border-box; padding-bottom: 24px; align-items: stretch; grid-template-rows: minmax(0, 1fr); }
  .pagina--fissa > main { min-height: 0; }
  .pagina--fissa > main > :not(.scorre) { flex: none; }
  .pagina--fissa .scorre { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #2a2c34 transparent; }
  [data-nav^="capsula"] body:has(.pagina--fissa) { padding-bottom: 0; }
  [data-nav^="capsula"] .pagina--fissa { padding-bottom: 0; }
  [data-nav^="capsula"] .pagina--fissa .scorre { padding-bottom: 120px; }
}
.velo { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 48px 24px 24px;
  box-sizing: border-box; background: rgba(6,7,10,.62); overflow-y: auto; }
.velo[hidden] { display: none; }
.foglio { width: min(820px, 100%); border-radius: 28px; background: #16171c; border: 1px solid #2a2c34; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  display: flex; flex-direction: column; margin-bottom: 24px; }
.foglio--stretto { width: min(560px, 100%); }
.foglio--medio { width: min(760px, 100%); }
.foglio-barra { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; padding: 14px 14px 10px; }
.foglio-barra b { text-align: center; font-size: 16px; font-weight: 600; }
.foglio-barra .ic-indietro { display: none; }
.foglio-corpo { padding: 2px 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.dett { display: flex; flex-direction: column; gap: 16px; }
.dett .gruppi { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.dett .riquadri { order: 3; }
.gruppi-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.eroe { display: flex; gap: 14px; align-items: center; }
.eroe b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.eroe .quando { font-size: 13px; color: #8e8f98; }
.gruppo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gruppo > span { padding: 0 6px; font-size: 12.5px; font-weight: 600; color: #8e8f98; }
.gruppo-box { border-radius: 16px; background: #1c1d23; overflow: hidden; }
.voce-g { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: 14px; }
.voce-g + .voce-g { border-top: 1px solid #2a2c34; }
.voce-g > span:first-child { color: #8e8f98; flex: none; }
.voce-g > span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; color: #f4f4f6; }
.voce-g.a-capo { flex-direction: column; align-items: stretch; gap: 4px; }
.voce-g.a-capo > span:last-child { text-align: left; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: #d4d5db; }
.voce-g.cliccabile { cursor: pointer; width: 100%; border: 0; background: none; font-family: inherit; font-size: 14px; color: inherit; }
.gruppo-box > .voce-g + .voce-g { border-top: 1px solid #2a2c34; }
.voce-g.cliccabile:hover { background: rgba(255,255,255,.03); }
.voce-g .mono { font-family: var(--mono); font-size: 13px; }
.voce-g .acc { color: var(--accent); font-weight: 600; }
.voce-g .ambra { color: #f5c56b; font-weight: 600; }
.voce-g .pill-ok { padding: 2px 10px; border-radius: 999px; background: rgba(74,222,128,.12); color: #4ade80; font-size: 12.5px; font-weight: 600; }
.voce-g .pill-ko { padding: 2px 10px; border-radius: 999px; background: rgba(248,113,113,.14); color: #fca5a5; font-size: 12.5px; font-weight: 600; }
.voce-g .pill-ambra { padding: 2px 10px; border-radius: 999px; background: rgba(245,181,68,.14); color: #f5c56b; font-size: 12.5px; font-weight: 600; }
.voce-g .con-freccia { display: inline-flex; align-items: center; gap: 6px; color: #d4d5db; }
.voce-g .con-freccia svg { color: #5c5e68; }
.voce-g.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.voce-g.link > span:first-child { color: var(--accent); }
.att { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: 13.5px; line-height: 1.35; }
.att + .att, .att + .voce-g { border-top: 1px solid #2a2c34; }
.att small { display: block; color: #8e8f98; font-size: 12px; }
.riquadri { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; }
.riquadro { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 0; border-radius: 16px; cursor: pointer;
  background: #1c1d23; color: var(--accent); font: inherit; text-align: center; text-decoration: none; }
.riquadro span { color: #f4f4f6; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.riquadro:hover { background: #222329; }
.riquadro.pericolo { color: #f87171; }
.riquadro.pericolo span { color: #fca5a5; }
.riquadro.is-on { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }

.avatar { flex: none; border-radius: 50%; display: grid; place-items: center; color: #0e0f13; font-family: var(--display); font-weight: 800; }
.campo-r { display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 48px; box-sizing: border-box; }
.campo-r + .campo-r { border-top: 1px solid #2a2c34; }
.campo-r > label, .campo-r > span:first-child { width: 110px; flex: none; color: #8e8f98; font-size: 14px; }
.campo-r input, .campo-r select { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #f4f4f6; font: inherit; font-size: 15px; padding: 4px 0; }
.campo-r input.mono { font-family: var(--mono); }
.campo-r select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.campo-r select option { background: #16171c; }
.campo-r .giu { color: #8e8f98; display: grid; pointer-events: none; }
.seg { flex: 1; display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: #16171c; }
.seg button { flex: 1; padding: 7px 0; border: 0; border-radius: 999px; background: none; color: #b4b5bd; font: inherit; font-size: 14px; cursor: pointer; }
.seg button.is-on { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-weight: 600; }
.nota { margin: 0; padding: 0 6px; font-size: 13px; color: #8e8f98; line-height: 1.5; }
.avviso-box { padding: 14px 16px; border-radius: 16px; background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.25); color: #fca5a5; font-size: 14px; line-height: 1.5; }
.bottoni { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.foglio-barra .crea-tel { display: none; }
.btn-mini { flex: none; padding: 6px 12px; border: 0; border-radius: 999px; cursor: pointer; background: rgba(248,113,113,.14); color: #fca5a5;
  font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; }
.btn-mini.sicuro { background: #f87171; color: #2a0608; }
.btn-mini.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 900px) {
  .dett .gruppi { grid-template-columns: 1fr; }
}
[data-telefono] .titolo-riga { margin-top: 0; flex-wrap: nowrap; }
[data-telefono] .titolo-azioni { gap: 8px; }
[data-telefono] .titolo-azioni .btn-bianco { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; background: #23242b; color: #d4d5db; }
[data-telefono] .titolo-azioni .btn-bianco .testo, [data-telefono] .titolo-azioni .btn-bianco .giu { display: none; }
[data-telefono] .strumenti .cerca { flex: 1 1 100%; max-width: none; }
[data-telefono] .strumenti .scelta { display: none; }
[data-telefono] .pillole { margin: 0 -16px; padding: 0 16px; flex-wrap: nowrap; overflow-x: auto; }
[data-telefono] .riga-reg { align-items: flex-start; gap: 12px; padding: 10px 12px; }
[data-telefono] .riga-reg .frase { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; }
[data-telefono] .riga-reg small { font-size: 12px; margin-top: 2px; }
/* Al telefono il foglio è alto quanto il suo contenuto e almeno quanto lo schermo: stirato all'altezza dello schermo, il contenuto in più
   ne usciva e lo spazio in fondo (130px, per la capsula) restava fuori, con l'ultima riga sotto la capsula. */
[data-telefono] .velo { z-index: 35; padding: 0; background: #0e0f13; align-items: flex-start; }
[data-telefono] .foglio { width: 100%; min-height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #0e0f13;
  padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 130px max(16px, env(safe-area-inset-left)); box-sizing: border-box; }
[data-telefono] .foglio-barra { grid-template-columns: 40px 1fr 40px; padding: 16px 0 10px; }
[data-telefono] .foglio-barra .tondo { width: 40px; height: 40px; background: rgba(34,35,43,.72); -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,.1); color: #f4f4f6; }
[data-telefono] .foglio-barra b { font-size: 17px; }
[data-telefono] .foglio-barra .ic-x { display: none; }
[data-telefono] .foglio-barra .ic-indietro { display: block; }
[data-telefono] .foglio-barra .crea-tel { display: inline-flex; padding: 9px 14px; border: 0; border-radius: 999px; background: #f4f4f6; color: #0e0f13;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
[data-telefono] .foglio-barra:has(.crea-tel) { grid-template-columns: 40px 1fr auto; }
[data-telefono] .foglio-barra .ic-spazio { display: none; }
[data-telefono] .foglio-corpo { padding: 0; }
[data-telefono] .foglio-corpo .bottoni-grandi { display: none; }
[data-telefono] .dett .gruppi { display: flex; flex-direction: column; align-items: stretch; }
[data-telefono] .dett .gruppi-col { display: contents; }
[data-telefono] .dett .riquadri { order: 1; }
[data-telefono] .dett .gruppi { order: 2; }
[data-telefono] .eroe { flex-direction: column; text-align: center; gap: 10px; padding: 4px 8px 2px; }
[data-telefono] .eroe b { font-size: 20px; }
[data-telefono] .campo-r > label, [data-telefono] .campo-r > span:first-child { width: 96px; }
[data-nav="capsula-larga"] .dett { display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 12px 24px; align-items: start; }
[data-nav="capsula-larga"] .dett .eroe { grid-column: 1; grid-row: 1; flex-direction: row; text-align: left; padding: 0; }
[data-nav="capsula-larga"] .dett .eroe b { font-size: 16px; }
[data-nav="capsula-larga"] .dett .riquadri { grid-column: 1; grid-row: 2; }
[data-nav="capsula-larga"] .dett .riquadro { padding: 9px 4px; gap: 4px; border-radius: 14px; }
[data-nav="capsula-larga"] .dett .riquadro span { font-size: 11.5px; }
[data-nav="capsula-larga"] .dett .gruppi { grid-column: 2; grid-row: 1 / span 2; }
.voce-g .tenue { color: #8e8f98; }
.riquadro.is-busy { opacity: .6; pointer-events: none; }
.gira { animation: gira 1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.lista-gruppi { display: flex; flex-direction: column; gap: 16px; container-type: inline-size; }
.gruppo-lista { display: flex; flex-direction: column; gap: 6px; }
.titolo-gruppo { position: sticky; top: 0; z-index: 1; margin: 0; padding: 4px 6px; background: var(--bg); font-family: var(--display); font-size: 16.8px; font-weight: 700;
  letter-spacing: -.025em; color: #b4b5bd; }
