/* TLC View — stile della console, della pagina di collegamento e della pagina di installazione.
   Stessi colori e forme delle altre app TLC-Service (ADM, Sentinel). Tema chiaro e scuro.
   Autore: TLC-Service (tlc-service.it) */
:root {
  --sfondo: #f3f5f8; --pannello: #ffffff; --superficie: #ffffff; --bordo: #dfe4ea; --bordo-forte: #c6ced8; --riga: #eef1f5;
  --testo: #1d2733; --tenue: #5f6f82; --tenue-chiaro: #8a98a8;
  --blu: #1f6fd1; --blu-scuro: #185bb0; --blu-chiaro: #e7f0fc; --blu-medio: #cfe0f8;
  --verde: #18703a; --verde-chiaro: #e3f4e9; --ambra: #a35f00; --ambra-chiaro: #fff3dc;
  --rosso: #c42b1c; --rosso-chiaro: #fde8e6; --viola: #6a3fb5; --viola-chiaro: #efe8fb;
  --ombra: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
  --ombra-forte: 0 12px 32px rgba(16, 24, 40, .18), 0 2px 6px rgba(16, 24, 40, .08);
  --blu-pieno: #1f6fd1; --blu-pieno-sopra: #185bb0; --verde-pieno: #1b7d3d; --rosso-pieno: #c42b1c;
  --campo: #ffffff; --bottone: #ffffff; --bottone-sopra: #f4f7fa; --testa-tabella: #f8f9fb; --riga-sopra: #f6f9fe;
  --sel: #e3edfb; --t-etichetta: #4a5866; --t-bottone: #2d3946; --velo: rgba(15, 23, 32, .42); --toast: #23303d;
  --barra: #ffffff; --palco: #1b2129;
  color-scheme: light;
}
@media screen {
  :root[data-tema="scuro"] {
    --sfondo: #11161c; --pannello: #181e25; --superficie: #1d242c; --bordo: #2a323b; --bordo-forte: #3a4450; --riga: #222931;
    --testo: #e4e9ef; --tenue: #9ba8b6; --tenue-chiaro: #6f7d8b;
    --blu: #6aa6f8; --blu-scuro: #8bbafa; --blu-chiaro: #172a42; --blu-medio: #24456d;
    --verde: #57c785; --verde-chiaro: #13281c; --ambra: #e8ac4e; --ambra-chiaro: #2b2213;
    --rosso: #f2867b; --rosso-chiaro: #321a1a; --viola: #b89af5; --viola-chiaro: #251e3a;
    --ombra: 0 1px 2px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .25);
    --ombra-forte: 0 12px 32px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .35);
    --campo: #12171d; --bottone: #222a33; --bottone-sopra: #2a333d; --testa-tabella: #1c232a; --riga-sopra: #1d2631;
    --sel: #1b3352; --t-etichetta: #a7b2be; --t-bottone: #dfe6ed; --velo: rgba(0, 0, 0, .6); --toast: #2b3642;
    --barra: #181e25; --palco: #0b0f14;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.45 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--testo);
  background: var(--sfondo); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blu); }
[hidden] { display: none !important; }
.tenue { color: var(--tenue); }
.piccolo { font-size: 12.5px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; }
.cifre { font-variant-numeric: tabular-nums; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px;
  border-radius: 8px; border: 1px solid var(--bordo-forte); background: var(--bottone); cursor: pointer; font-weight: 600;
  white-space: nowrap; color: var(--t-bottone); text-decoration: none; }
.btn:hover { background: var(--bottone-sopra); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primario { background: var(--blu-pieno); border-color: var(--blu-pieno); color: #fff; }
.btn.primario:hover { background: var(--blu-pieno-sopra); }
.btn.verde { background: var(--verde-pieno); border-color: var(--verde-pieno); color: #fff; }
.btn.pericolo { color: var(--rosso); border-color: var(--rosso); }
.btn.pericolo:hover { background: var(--rosso-chiaro); }
.btn.piccolo { height: 28px; padding: 0 10px; font-size: 13px; border-radius: 7px; }
.btn.icona { width: 34px; padding: 0; }
.btn.piatto { border-color: transparent; background: transparent; }
.btn.piatto:hover { background: var(--bottone-sopra); }

/* campi */
input[type=text], input[type=password], input[type=search], input[type=number], input[type=email], select, textarea {
  height: 34px; padding: 0 10px; border: 1px solid var(--bordo-forte); border-radius: 8px; background: var(--campo);
  min-width: 0; }
textarea { height: auto; padding: 8px 10px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blu-medio); outline-offset: 0; border-color: var(--blu); }
label.campo { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--t-etichetta); font-weight: 600; }
label.campo input, label.campo select, label.campo textarea { font-weight: 400; font-size: 14px; color: var(--testo); }
label.spunta { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.righe { display: flex; flex-direction: column; gap: 12px; }
.fila { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fila > .cresce { flex: 1 1 auto; }
.griglia2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }

/* pillole di stato */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 999px; font-size: 12px;
  font-weight: 600; background: var(--riga); color: var(--tenue); white-space: nowrap; }
.pill.verde { background: var(--verde-chiaro); color: var(--verde); }
.pill.ambra { background: var(--ambra-chiaro); color: var(--ambra); }
.pill.rosso { background: var(--rosso-chiaro); color: var(--rosso); }
.pill.blu { background: var(--blu-chiaro); color: var(--blu); }
.punto { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--tenue-chiaro); flex: none; }
.punto.on { background: #22a55a; box-shadow: 0 0 0 3px rgba(34, 165, 90, .18); }

/* tabelle */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 600; color: var(--t-etichetta); font-size: 12.5px; padding: 9px 12px;
  border-bottom: 1px solid var(--bordo); background: var(--testa-tabella); white-space: nowrap; position: sticky; top: 0;
  z-index: 1; user-select: none; }
td { padding: 8px 12px; border-bottom: 1px solid var(--riga); vertical-align: middle; }
tbody tr:hover { background: var(--riga-sopra); }
tbody tr.scelta { background: var(--sel); }
td.azioni { white-space: nowrap; text-align: right; }
td.vuoto { text-align: center; color: var(--tenue); padding: 40px 12px; }

/* dialoghi */
.velo { position: fixed; inset: 0; background: var(--velo); display: flex; align-items: flex-start; justify-content: center;
  z-index: 50; overflow: auto; padding: 56px 16px; }
.dialogo { background: var(--superficie); border-radius: 12px; box-shadow: var(--ombra-forte); width: min(640px, 100%);
  display: flex; flex-direction: column; max-height: calc(100vh - 112px); }
.dialogo.largo { width: min(1100px, 100%); }
.dialogo > header { padding: 16px 20px 8px; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.dialogo > .corpo { padding: 8px 20px 16px; overflow: auto; }
.dialogo > footer { padding: 12px 20px 16px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
  border-top: 1px solid var(--riga); }
.dialogo > footer .sinistra { margin-right: auto; }
.avviso { padding: 10px 12px; border-radius: 8px; background: var(--blu-chiaro); color: var(--testo); }
.avviso.ambra { background: var(--ambra-chiaro); }
.avviso.rosso { background: var(--rosso-chiaro); }
.avviso.verde { background: var(--verde-chiaro); }
.errore-testo { color: var(--rosso); font-weight: 600; }

/* messaggi in basso */
#toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 100;
  max-width: min(520px, calc(100vw - 36px)); }
.toast { background: var(--toast); color: #fff; padding: 11px 16px; border-radius: 10px; box-shadow: var(--ombra-forte);
  white-space: pre-line; animation: entra .2s ease-out; }
.toast.errore { background: #8f1f15; }
@keyframes entra { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* menu a comparsa */
.menu { position: fixed; z-index: 80; background: var(--superficie); border: 1px solid var(--bordo); border-radius: 10px;
  box-shadow: var(--ombra-forte); padding: 6px; min-width: 200px; }
.menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 8px 10px; border: 0; background: none;
  border-radius: 7px; cursor: pointer; text-align: left; }
.menu button:hover { background: var(--bottone-sopra); }
.menu button.pericolo { color: var(--rosso); }
.menu hr { border: 0; border-top: 1px solid var(--riga); margin: 5px 2px; }

/* ---------------------------------------------------------------- console */
.app { display: grid; grid-template-rows: 54px 1fr; height: 100vh; }
.testata { display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--barra);
  border-bottom: 1px solid var(--bordo); min-width: 0; }
.marchio { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.marchio img { width: 30px; height: 30px; }
.marchio .azienda { font-weight: 500; color: var(--tenue); font-size: 13px; }
nav.sezioni { display: flex; gap: 2px; min-width: 0; overflow-x: auto; }
nav.sezioni button { border: 0; background: none; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-weight: 600;
  color: var(--tenue); white-space: nowrap; }
nav.sezioni button:hover { background: var(--bottone-sopra); color: var(--testo); }
nav.sezioni button.attiva { background: var(--blu-chiaro); color: var(--blu); }
.testata .spazio { flex: 1; }
.testata input[type=search] { width: clamp(180px, 26vw, 460px); }
.corpo-app { display: grid; grid-template-columns: minmax(250px, 19vw) 1fr; min-height: 0; }
.corpo-app.senza-albero { grid-template-columns: 1fr; }
.albero { border-right: 1px solid var(--bordo); background: var(--pannello); overflow: auto; padding: 10px 8px; }
.albero .titolo { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 8px;
  font-size: 12px; font-weight: 700; color: var(--tenue); text-transform: uppercase; letter-spacing: .04em; }
.cartella { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  user-select: none; min-width: 0; }
.cartella:hover { background: var(--bottone-sopra); }
.cartella.attiva { background: var(--blu-chiaro); color: var(--blu); font-weight: 600; }
.cartella.bersaglio { outline: 2px dashed var(--blu); outline-offset: -2px; background: var(--blu-chiaro); }
.cartella .nome { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cartella .conto { font-size: 12px; color: var(--tenue); font-variant-numeric: tabular-nums; }
.cartella .piu { visibility: hidden; border: 0; background: none; cursor: pointer; padding: 0 4px; border-radius: 6px;
  color: var(--tenue); font-size: 16px; line-height: 1; }
.cartella:hover .piu { visibility: visible; }
.cartella .freccia { width: 14px; text-align: center; color: var(--tenue); flex: none; font-size: 11px; }
.principale { overflow: auto; min-width: 0; display: flex; flex-direction: column; }
.barra-strumenti { display: flex; align-items: center; gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
.barra-strumenti h1 { font-size: 18px; margin: 0; margin-right: auto; display: flex; align-items: center; gap: 10px; }
.tabella-contenitore { flex: 1; overflow: auto; background: var(--pannello); border-top: 1px solid var(--bordo); }
.nome-disp { font-weight: 600; }
.sotto { font-size: 12.5px; color: var(--tenue); }
.sezione { padding: 0 16px 24px; }
.scheda-bianca { background: var(--pannello); border: 1px solid var(--bordo); border-radius: 12px; padding: 16px;
  box-shadow: var(--ombra); }
dl.info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.info dt { color: var(--tenue); }
dl.info dd { margin: 0; overflow-wrap: anywhere; }

/* accesso */
.accesso { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(160deg, #e9eef5, #f3f5f8); }
:root[data-tema="scuro"] .accesso { background: linear-gradient(160deg, #0f141a, #151b22); }
.accesso .carta { width: min(420px, 100%); background: var(--superficie); border-radius: 16px; box-shadow: var(--ombra-forte);
  padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.accesso .carta .marchio { justify-content: center; font-size: 20px; flex-direction: column; gap: 6px; }
.accesso .carta .marchio img { width: 64px; height: 64px; }
.qr { display: flex; justify-content: center; padding: 8px; background: #fff; border-radius: 10px; }
.qr svg { width: 220px; height: 220px; }
.codice-grande { font-size: 22px; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- pagina di collegamento */
body.vista { background: var(--palco); color: #e4e9ef; overflow: hidden; }
.vista .strumenti { position: fixed; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; gap: 6px;
  padding: 0 10px; background: #1d242c; border-bottom: 1px solid #2a323b; z-index: 10; color: #e4e9ef; }
.vista .strumenti .btn { height: 30px; padding: 0 10px; font-size: 13px; background: #262f39; border-color: #36414d;
  color: #e4e9ef; }
.vista .strumenti .btn:hover { background: #2f3945; }
.vista .strumenti .btn.attivo { background: #1f6fd1; border-color: #1f6fd1; }
.vista .strumenti .btn.rosso { background: #8f1f15; border-color: #8f1f15; }
.vista .strumenti select { height: 30px; background: #12171d; border-color: #36414d; color: #e4e9ef; font-size: 13px; }
.vista .strumenti .titolo { font-weight: 700; margin-right: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 28vw; }
.vista .strumenti .stato { color: #9ba8b6; font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vista .strumenti .spazio { flex: 1; }
.vista .strumenti .separa { width: 1px; height: 22px; background: #36414d; margin: 0 4px; }
.vista.piena .strumenti { transform: translateY(-40px); transition: transform .15s; }
.vista.piena .strumenti:hover, .vista.piena .strumenti.mostra { transform: none; }
.palco { position: fixed; left: 0; right: 0; top: 44px; bottom: 0; overflow: auto; display: flex; }
.vista.piena .palco { top: 0; }
.palco.adatta { overflow: hidden; align-items: center; justify-content: center; }
/* lo schermo del PC che non arriva: il perché, sopra la tela nera (i clic passano sotto) */
.senza-immagine { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 5; padding: 24px; }
.senza-immagine[hidden] { display: none; }
.senza-immagine .carta-nota { width: min(760px, 92%); background: var(--superficie); color: var(--testo); border-radius: 14px; box-shadow: var(--ombra-forte);
  padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.senza-immagine .carta-nota b { font-size: 16px; }
.palco canvas { display: block; margin: auto; outline: none; background: #000; image-rendering: auto; touch-action: none; }
.palco.adatta canvas { max-width: 100%; max-height: 100%; object-fit: contain; }
.copertura { position: fixed; inset: 44px 0 0 0; display: flex; align-items: center; justify-content: center; z-index: 20;
  background: rgba(11, 15, 20, .72); padding: 24px; }
.copertura .carta { background: var(--superficie); color: var(--testo); border-radius: 14px; box-shadow: var(--ombra-forte);
  padding: 22px; width: min(560px, 100%); display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 100px);
  overflow: auto; }
.copertura .carta.larga { width: min(1000px, 100%); }
.copertura h2 { margin: 0; font-size: 18px; }
.girandola { width: 34px; height: 34px; border: 3px solid var(--bordo); border-top-color: var(--blu); border-radius: 50%;
  animation: gira 0.9s linear infinite; margin: 0 auto; }
@keyframes gira { to { transform: rotate(360deg); } }
.cursore-remoto { position: fixed; pointer-events: none; z-index: 5; width: 16px; height: 16px; margin: -1px 0 0 -1px; }
/* pannello laterale della pagina di collegamento: File e Chat (lo schermo del PC si stringe, non viene coperto) */
.vista { --lato: clamp(340px, 30vw, 620px); }
.vista.con-lato .palco { right: var(--lato); }
.vista .lato { position: fixed; top: 44px; right: 0; bottom: 0; width: var(--lato); display: flex; flex-direction: column;
  background: var(--pannello); color: var(--testo); border-left: 1px solid var(--bordo); z-index: 15; }
.vista.piena .lato { top: 0; }
.lato-schede { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--bordo); flex: none; }
.lato-schede .spazio, .file-barra .spazio, .trasf-testa .spazio { flex: 1; }
.scheda { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-weight: 600;
  color: var(--tenue); display: inline-flex; align-items: center; gap: 6px; }
.scheda:hover { background: var(--bottone-sopra); color: var(--testo); }
.scheda.attiva { background: var(--blu-chiaro); color: var(--blu); }
.lato-corpo { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.file-barra { display: flex; align-items: center; gap: 6px; padding: 8px 10px 0; flex: none; }
.file-barra + .file-barra { padding-bottom: 8px; }
.file-percorso { flex: 1; min-width: 0; height: 28px !important; }
.file-elenco { flex: 1; overflow: auto; min-height: 0; border-top: 1px solid var(--bordo); outline: none; }
.file-elenco table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.file-elenco th { padding: 6px 10px; font-size: 12px; }
.file-elenco th:nth-child(2) { width: 92px; }
.file-elenco th:nth-child(3) { width: 132px; }
.file-elenco td { padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-elenco td.destra, .file-elenco th.destra { text-align: right; }
.file-elenco tr { user-select: none; cursor: default; }
.file-elenco tbody tr.scelta { background: var(--sel); }
.file-elenco.sopra { outline: 2px dashed var(--blu); outline-offset: -3px; background: var(--blu-chiaro); }
.file-elenco .ico { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 7px; }
.file-aiuto { padding: 8px 10px; border-top: 1px solid var(--riga); flex: none; }
.chat-messaggi { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.chat-vuota { text-align: center; margin: auto 10px; }
.msg { max-width: 88%; padding: 7px 11px; border-radius: 12px; background: var(--riga); white-space: pre-wrap; word-break: break-word;
  align-self: flex-start; }
.msg.mio { align-self: flex-end; background: var(--blu-chiaro); }
.msg .chi { display: block; font-size: 11.5px; color: var(--tenue); font-weight: 600; margin-bottom: 2px; }
.chat-scrivi { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--bordo); flex: none; align-items: flex-end; }
.chat-scrivi textarea { flex: 1; resize: none; height: 58px; padding: 8px 10px; line-height: 1.35; }
.contatore { background: #c42b1c; color: #fff; border-radius: 999px; padding: 0 6px; font-size: 11px; line-height: 17px; min-width: 17px;
  text-align: center; margin-left: 6px; }
/* in basso a sinistra: quello che è stato copiato sul PC e i trasferimenti */
.angolo { position: fixed; left: 12px; bottom: 12px; width: clamp(340px, 30vw, 620px); max-width: calc(100vw - 24px); z-index: 30;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.angolo > * { pointer-events: auto; }
.riquadro { background: var(--superficie); color: var(--testo); border-radius: 12px; box-shadow: var(--ombra-forte); overflow: auto; }
.trasferimenti { max-height: 45vh; }
.copiati { max-height: 40vh; }
#cp-corpo { padding: 6px 12px 10px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.cp-voce { display: flex; align-items: center; gap: 8px; }
.cp-nome { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cp-nome .ico { flex: none; width: 18px; height: 18px; }
.cp-immagine { display: flex; align-items: center; gap: 10px; }
.cp-immagine img { max-height: 96px; max-width: 60%; border-radius: 6px; border: 1px solid var(--riga); background: #fff; }
.cp-nota { margin-top: 2px; }
.trasf-testa { display: flex; align-items: center; padding: 6px 8px 6px 12px; border-bottom: 1px solid var(--riga); position: sticky; top: 0;
  background: var(--superficie); }
.trasf { padding: 8px 12px; border-bottom: 1px solid var(--riga); font-size: 13px; }
.trasf .riga { display: flex; align-items: center; gap: 8px; }
.trasf .riga b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.trasf .dove { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trasf .barra { height: 4px; background: var(--riga); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.trasf .barra span { display: block; height: 100%; width: 0; background: var(--blu); transition: width .2s; }
.trasf.fatto .barra span { background: var(--verde-pieno); }
.trasf.errore .barra span { background: var(--rosso-pieno); }
.trasf.errore .stato { color: var(--rosso); }
.rilascia { position: fixed; inset: 44px 0 0 0; pointer-events: none; z-index: 12; display: flex; align-items: flex-end;
  justify-content: center; border: 3px dashed #6aa6f8; background: rgba(31, 111, 209, .10); }
.vista.con-lato .rilascia { right: var(--lato); }
.rilascia > div { margin-bottom: 28px; padding: 10px 18px; border-radius: 10px; background: var(--superficie); color: var(--testo);
  box-shadow: var(--ombra-forte); font-weight: 700; text-align: center; }

/* ---------------------------------------------------------------- pagina di installazione */
.installa { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(160deg, #e9eef5, #f3f5f8); }
.installa .carta { width: min(640px, 100%); background: var(--superficie); border-radius: 18px; box-shadow: var(--ombra-forte);
  padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.installa h1 { margin: 0; font-size: 24px; }
.installa ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.installa .grande { height: 48px; font-size: 16px; padding: 0 22px; }
.installa ol.passi li > .fila { margin: 8px 0 4px; }
details > summary { cursor: pointer; font-weight: 600; }
.contenuto-sezione { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.installa .mono { overflow-wrap: anywhere; }
/* chat nello storico della console */
.msg-registro { padding: 8px 12px; border-radius: 10px; background: var(--riga); }
.msg-registro.tecnico { background: var(--blu-chiaro); }
.testo-chat { white-space: pre-wrap; word-break: break-word; }
.vista.con-lato #toasts { right: calc(var(--lato) + 18px); }
.sessione-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; height: auto; padding: 10px 16px; text-align: left; font-size: 15px; }
.sessione-btn .piccolo { font-weight: 400; opacity: .85; }
