/* =====================================================================
   Fogli Intervento - stili (derivati da FR Cloud)
   I colori di base arrivano da /tema.css (Impostazioni → Aspetto): --accent, --bg, --panel.
   ===================================================================== */
:root {
  --bg: #0b0f14;
  --panel: #141a22;
  --accent: #2563eb;
  --text: #e8eef5;
  --shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, .35);

  --panel2: color-mix(in srgb, var(--panel) 94%, var(--text));
  --panel3: color-mix(in srgb, var(--panel) 86%, var(--text));
  --line: color-mix(in srgb, var(--text) 9%, transparent);
  --line2: color-mix(in srgb, var(--text) 16%, transparent);
  --muted: color-mix(in srgb, var(--text) 60%, var(--bg));
  --dim: color-mix(in srgb, var(--text) 38%, var(--bg));
  --accent2: color-mix(in srgb, var(--accent) 78%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 15%, transparent);
  --on-accent: #fff;
  --second: #0f172a;          /* colore secondario del tema bicolore: menu e intestazioni */
  --on-second: #fff;
  --second-muted: color-mix(in srgb, var(--on-second) 68%, var(--second));
  --second-line: color-mix(in srgb, var(--on-second) 12%, transparent);

  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --blue: #3b82f6;

  --r: 1rem;
  --r-sm: 0.7rem;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Inter", Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #eef1f5;
  --panel: #ffffff;
  --text: #0f172a;
  --shadow: 0 0.375rem 1.25rem rgba(15, 23, 42, .08);
  --accent2: color-mix(in srgb, var(--accent) 85%, #000);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
body {
  font-family: var(--font); color: var(--text); font-size: 15px; line-height: 1.45; background: var(--bg);
  min-height: 100vh; min-height: 100dvh; overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent2); text-decoration: none; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.nota { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.avvio { min-height: 100vh; display: grid; place-items: center; }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--accent); animation: gira .8s linear infinite; display: inline-block; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ============================== ICONE ============================== */
.ico { width: 20px; height: 20px; flex: none; display: inline-grid; place-items: center; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ============================== PULSANTI ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-sm); background: var(--panel2); border: 1px solid var(--line2); font-weight: 600; font-size: 14px;
  white-space: nowrap; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: var(--panel3); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-danger { background: color-mix(in srgb, var(--red) 14%, transparent); border-color: color-mix(in srgb, var(--red) 40%, transparent); color: var(--red); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--panel2); }
.btn-sm { min-height: 32px; padding: 0 11px; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 22px; font-size: 16px; border-radius: var(--r); }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-sm); display: inline-grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: var(--panel2); color: var(--text); }

/* ============================== CAMPI ============================== */
.campo { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.campo > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.campo small { color: var(--dim); font-size: 12px; }
.input, .campo input:not([type=checkbox]):not([type=color]), .campo select, .campo textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--bg);
  border: 1px solid var(--line2); outline: none; font-size: 16px; /* 16px: iPhone non ingrandisce la pagina */
}
.campo textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.griglia2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; margin: 4px 0 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
@media (max-width: 600px) { .griglia2 { grid-template-columns: 1fr; } }

/* ============================== CARTE ============================== */
.carta { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.carta + .carta { margin-top: 16px; }
.carta h2 { font-size: 17px; margin-bottom: 4px; }
.carta-testa { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.azioni { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }

/* ============================== ETICHETTE DI STATO ============================== */
.stato { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: color-mix(in srgb, var(--c, var(--muted)) 15%, transparent); color: var(--c, var(--muted)); }
.stato::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-bozza { --c: var(--muted); }
.st-firmato_tecnico { --c: var(--blue); }
.st-attesa_cliente { --c: var(--amber); }
.st-completato { --c: var(--green); }
.st-inviato { --c: #a78bfa; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ============================== TABELLE ============================== */
.tab-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table.tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.tab th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--on-second); font-weight: 600;
  padding: 11px 12px; border-bottom: 2px solid var(--accent); background: var(--second); white-space: nowrap; position: sticky; top: 0; }
.tab td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tab tr:last-child td { border-bottom: 0; }
.tab tbody tr { cursor: pointer; }
.tab tbody tr:hover { background: var(--panel2); }
.tab .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tab .spento td { opacity: .5; }
.tab small { color: var(--muted); display: block; }
.vuoto { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ============================== FINESTRE ============================== */
.modal-ov { position: fixed; inset: 0; background: rgba(2, 6, 12, .6); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { width: min(560px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--line2); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow); animation: entra .18s ease-out; }
.modal-lg { width: min(900px, 100%); }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 17px; flex: 1; }
.modal-body { padding: 16px 18px 18px; overflow-y: auto; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
@keyframes entra { from { opacity: 0; transform: translateY(8px) scale(.98); } }
html.modale-aperta, html.modale-aperta body { overflow: hidden; }
@media (max-width: 600px) {
  .modal-ov { padding: 0; align-items: end; }
  .modal { width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; padding-bottom: var(--safe-b); }
}

#toasts { position: fixed; left: 50%; bottom: calc(20px + var(--safe-b)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 300; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast { background: var(--panel); border: 1px solid var(--line2); border-left: 4px solid var(--c); padding: 12px 14px; border-radius: var(--r-sm); box-shadow: var(--shadow); animation: entra .2s; font-weight: 500; }

/* ============================== ACCESSO ============================== */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px calc(24px + var(--safe-b)); }
.login-box { width: min(400px, 100%); }
.login-marchio { text-align: center; margin-bottom: 22px; }
.login-marchio img { max-height: 80px; max-width: min(260px, 100%); object-fit: contain; margin: 0 auto 12px; display: block; }
.login-marchio .logo-sost { width: 60px; height: 60px; border-radius: 18px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center;
  font-weight: 800; font-size: 22px; margin: 0 auto 12px; }
.login-marchio h1 { font-size: 22px; }
.login-marchio p { color: var(--muted); margin: 4px 0 0; }
.login .carta { padding: 22px; }
.login .btn-lg { width: 100%; margin-top: 6px; }
.sep { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; margin: 16px 0; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.codice-input { text-align: center; font-size: 26px !important; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.qr { background: #fff; border-radius: 12px; padding: 8px; width: 200px; margin: 10px auto; }
.qr svg { width: 100%; height: auto; display: block; }
.chiave { font-family: ui-monospace, Consolas, monospace; text-align: center; background: var(--bg); border-radius: 8px; padding: 8px; font-size: 14px; word-break: break-all; }
.codici { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-family: ui-monospace, Consolas, monospace; background: var(--bg); padding: 12px; border-radius: 10px; }
.dev-box { margin-top: 18px; padding: 14px; border: 1px dashed color-mix(in srgb, var(--amber) 60%, transparent); border-radius: var(--r); }
.dev-box b { color: var(--amber); font-size: 13px; }
.dev-box .azioni { margin-top: 8px; gap: 6px; }

/* ============================== AMMINISTRAZIONE (PC) ============================== */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--second); color: var(--on-second); border-right: 1px solid var(--second-line); }
.side-marchio { display: flex; align-items: center; gap: 10px; padding: 18px 16px; border-bottom: 3px solid var(--accent); min-height: 72px; }
.side-marchio img { max-height: 38px; max-width: 120px; }
/* con il logo: logo su tutta la larghezza, nome dell'app sotto */
.side-marchio.con-logo { flex-direction: column; align-items: flex-start; gap: 8px; }
.side-marchio.con-logo img { max-width: 100%; max-height: 52px; object-fit: contain; }
.side-marchio.con-logo b { font-size: 13px; }
.side-marchio .logo-sost { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; }
.side-marchio b { font-size: 15px; line-height: 1.2; }
.side-marchio small { display: block; color: var(--second-muted); font-size: 12px; font-weight: 500; }
.nav { padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--second-muted); font-weight: 500; }
.nav a:hover { background: var(--second-line); color: var(--on-second); }
.nav a.on { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.nav .nav-tit { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--second-muted); opacity: .75; padding: 14px 12px 4px; font-weight: 600; }
.side-piede { padding: 12px; border-top: 1px solid var(--second-line); display: flex; align-items: center; gap: 8px; }
.side-piede .chi { flex: 1; min-width: 0; font-size: 13px; }
.side-piede .chi b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-piede .chi small { color: var(--second-muted); }
.side .icon-btn { color: var(--second-muted); }
.side .icon-btn:hover { background: var(--second-line); color: var(--on-second); }
.main { padding: 26px 30px 40px; min-width: 0; }
.pagina-testa { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pagina-testa h1 { font-size: 24px; flex: 1; }
.barra-mobile { display: none; }

.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi .carta { padding: 16px 18px; }
.kpi .carta + .carta { margin-top: 0; }   /* nella griglia le carte stanno affiancate: niente spazio sopra */
.kpi small { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.kpi b { display: block; font-size: 28px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .carta.allarme { border-color: color-mix(in srgb, var(--amber) 50%, transparent); }

.filtri { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 14px; }
.filtri .campo { margin: 0; min-width: 150px; flex: 1; }
.filtri .campo.q { flex: 2; min-width: 200px; }
.totali { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin: 10px 2px 0; }
.totali b { color: var(--text); }

.avviso { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); margin-bottom: 16px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--amber) 12%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); }
.avviso.rosso { background: color-mix(in srgb, var(--red) 12%, transparent); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.avviso p { margin: 0; flex: 1; min-width: 220px; }

.colori { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.colori button { width: 42px; height: 42px; border-radius: 12px; background: var(--c); border: 3px solid transparent; }
.colori button.on { border-color: var(--text); }
.colori label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.colori input[type=color] { width: 42px; height: 42px; border: 0; background: none; padding: 0; }
.logo-anteprima { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px dashed var(--line2); border-radius: var(--r); background: #fff; margin-bottom: 10px; min-height: 80px; }
.logo-anteprima img { max-height: 60px; max-width: 220px; }
.logo-anteprima span { color: #64748b; }
.barra-spazio { height: 10px; border-radius: 99px; background: var(--panel3); overflow: hidden; margin: 10px 0 6px; }
.barra-spazio i { display: block; height: 100%; background: var(--accent); }
.barra-spazio.pieno i { background: var(--red); }

.dettaglio-giorni { display: flex; flex-direction: column; gap: 8px; }
.giorno-riga { display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; padding: 10px 12px; background: var(--bg); border-radius: var(--r-sm); font-size: 14px; }
.giorno-riga small { color: var(--muted); display: block; }
.info-griglia { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 18px; margin-bottom: 14px; }
.info-griglia small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; display: block; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 260px; transform: translateX(-100%); transition: transform .2s; z-index: 60; box-shadow: var(--shadow); }
  .shell.menu-aperto .side { transform: none; }
  .barra-mobile { display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--safe-t)) 14px 10px; background: var(--second); color: var(--on-second); border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 40; }
  .main { padding: 18px 14px 40px; }
  .giorno-riga { grid-template-columns: 1fr; }
}

/* ============================== TECNICO (TELEFONO / TABLET) ============================== */
.app-t { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
.t-testa { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: calc(10px + var(--safe-t)) 12px 10px;
  background: var(--second); color: var(--on-second); border-bottom: 3px solid var(--accent); margin-bottom: 8px; }
.t-testa .icon-btn { color: var(--on-second); }
.t-testa .icon-btn:hover { background: var(--second-line); }
.t-testa h1 { font-size: 18px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-testa img { max-height: 34px; max-width: 140px; object-fit: contain; }
.t-corpo { flex: 1; padding: 8px 16px calc(24px + var(--safe-b)); }
.t-saluto { margin: 6px 2px 16px; }
.t-saluto small { color: var(--muted); }
.t-saluto h2 { font-size: 24px; }
.t-nuovo { width: 100%; min-height: 76px; border-radius: 20px; background: var(--accent); color: var(--on-accent); font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 35%, transparent); }
.t-nuovo .ico { width: 28px; height: 28px; }
.t-riprendi { margin-top: 12px; }
.t-sez { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 26px 2px 10px; }
.t-lista { display: flex; flex-direction: column; gap: 10px; }
.t-foglio { width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px; }
.t-foglio:active { background: var(--panel2); }
.t-foglio .r1 { display: flex; align-items: center; gap: 8px; }
.t-foglio .r1 b { flex: 1; font-size: 16px; }
.t-foglio .r2 { color: var(--muted); font-size: 14px; }

/* ---------- wizard: una domanda per schermata ---------- */
.wz { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; max-width: 720px; margin: 0 auto; }
.wz-testa { position: sticky; top: 0; z-index: 30; background: var(--second); color: var(--on-second); padding: calc(8px + var(--safe-t)) 10px 0; }
.wz-testa .icon-btn { color: var(--on-second); }
.wz-testa .riga span { color: var(--second-muted) !important; }
.wz-testa .riga { display: flex; align-items: center; gap: 6px; }
.wz-testa .riga span { flex: 1; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-avanz { height: 4px; background: var(--second-line); border-radius: 99px; margin: 8px 6px 0; overflow: hidden; }
.wz-avanz i { display: block; height: 100%; background: var(--accent); transition: width .25s; }
.wz-corpo { flex: 1; padding: 22px 18px 20px; animation: scorri .2s ease-out; }
@keyframes scorri { from { opacity: 0; transform: translateX(14px); } }
.wz-corpo.indietro { animation-name: scorri-i; }
@keyframes scorri-i { from { opacity: 0; transform: translateX(-14px); } }
.wz-giorno { display: inline-flex; gap: 6px; align-items: center; padding: 4px 11px; border-radius: 99px; background: var(--accent-soft); color: var(--accent2); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.wz-domanda { font-size: 25px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.wz-aiuto { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.wz-piede { position: sticky; bottom: 0; padding: 12px 16px calc(12px + var(--safe-b)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: flex; gap: 10px; }
.wz-piede .btn { flex: 1; }
.wz-piede .btn-primary { flex: 2; }

.scelte { display: flex; flex-direction: column; gap: 10px; }
.scelta { width: 100%; min-height: 62px; padding: 12px 16px; border-radius: var(--r); background: var(--panel); border: 2px solid var(--line2);
  display: flex; align-items: center; gap: 14px; text-align: left; font-size: 17px; font-weight: 600; }
.scelta small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.scelta .ico { width: 28px; height: 28px; color: var(--accent2); }
.scelta.on { border-color: var(--accent); background: var(--accent-soft); }
.scelta:active { transform: scale(.99); }
.scelte.due { display: grid; grid-template-columns: 1fr 1fr; }
.scelte.due .scelta { justify-content: center; min-height: 86px; font-size: 20px; flex-direction: column; gap: 4px; text-align: center; }

.cerca-box { position: sticky; top: 60px; padding-top: 8px; z-index: 5; background: var(--bg); padding-bottom: 10px; }
.cerca-box input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r); border: 2px solid var(--line2); background: var(--panel); font-size: 17px; outline: none; }
.cerca-box input:focus { border-color: var(--accent); }
.wz-commessa { min-height: 70px; }
.wz-commessa b { font-size: 17px; }

.orario { width: 100%; min-height: 76px; border-radius: var(--r); border: 2px solid var(--line2); background: var(--panel); font-size: 34px; font-weight: 700;
  text-align: center; font-variant-numeric: tabular-nums; outline: none; padding: 0 12px; }
.orario:focus { border-color: var(--accent); }
input.orario::-webkit-date-and-time-value { text-align: center; }
.orari-rapidi { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.orari-rapidi button { padding: 9px 14px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line2); font-weight: 600; font-variant-numeric: tabular-nums; }
.wz-calcolo { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.wz-calcolo b { color: var(--text); }
.wz-salta { margin-top: 18px; width: 100%; }
.campo-grande { width: 100%; min-height: 64px; border-radius: var(--r); border: 2px solid var(--line2); background: var(--panel); font-size: 24px; font-weight: 600;
  padding: 0 16px; outline: none; }
.campo-grande:focus { border-color: var(--accent); }
.campo-grande.targa { text-transform: uppercase; letter-spacing: .12em; text-align: center; font-family: ui-monospace, Consolas, monospace; }
.wz-descr { width: 100%; min-height: 46vh; border-radius: var(--r); border: 2px solid var(--line2); background: var(--panel); padding: 14px; font-size: 17px; line-height: 1.5; outline: none; resize: none; }
.wz-descr:focus { border-color: var(--accent); }
.riep { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 12px; }
.riep h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.riep h3 .grow + button { font-size: 13px; color: var(--accent2); font-weight: 600; }
.riep dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 15px; }
.riep dt { color: var(--muted); }
.riep dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.riep .tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; font-weight: 700; }

/* ---------- foglio generato: anteprima e firme ---------- */
.anteprima { width: 100%; height: 62vh; border: 1px solid var(--line2); border-radius: var(--r); background: #fff; }
.passi-firma { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.firma-box { position: relative; background: #fff; border-radius: var(--r); border: 2px dashed #cbd5e1; height: 220px; touch-action: none; }
.firma-box canvas { width: 100%; height: 100%; display: block; touch-action: none; border-radius: var(--r); }
.firma-box .segno { position: absolute; left: 18px; bottom: 44px; right: 18px; border-bottom: 1.5px solid #cbd5e1; pointer-events: none; }
.firma-box .hint { position: absolute; inset: 0; display: grid; place-items: center; color: #94a3b8; pointer-events: none; font-size: 15px; }
.fatto { text-align: center; padding: 30px 10px; }
.fatto .cerchio { width: 76px; height: 76px; border-radius: 50%; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green);
  display: grid; place-items: center; margin: 0 auto 16px; }
.fatto .cerchio .ico { width: 40px; height: 40px; }
.fatto h2 { font-size: 22px; margin-bottom: 6px; }

/* firma a tutto schermo (dalla libreria firma.js) */
.fs-firma { position: fixed; inset: 0; z-index: 200; background: #fff; color: #0f172a; display: flex; flex-direction: column;
  width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; overscroll-behavior: none; touch-action: none;
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.fs-testa { flex: none; padding: calc(12px + var(--safe-t)) 16px 8px; display: flex; flex-direction: column; }
.fs-testa small { color: #64748b; }
.fs-pad { position: relative; flex: 1; min-height: 0; margin: 0 12px; border: 2px dashed #cbd5e1; border-radius: 14px; touch-action: none; overflow: hidden; }
.fs-pad canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.fs-segno { position: absolute; left: 16px; bottom: 30%; color: #94a3b8; font-size: 22px; pointer-events: none; }
.fs-hint { position: absolute; inset: 0; display: grid; place-items: center; color: #94a3b8; pointer-events: none; }
.fs-azioni { flex: none; display: flex; gap: 10px; padding: 12px 16px calc(12px + var(--safe-b)); }
.fs-azioni .btn { flex: 1; min-width: 0; min-height: 48px; background: #f1f5f9; border-color: #e2e8f0; color: #0f172a; }
.fs-azioni .btn-primary { flex: 1.4; background: var(--accent); color: var(--on-accent); }
/* telefono in orizzontale: titolo e pulsanti più bassi, tutto lo spazio alla firma */
@media (orientation: landscape) and (max-height: 520px) {
  .fs-testa { flex-direction: row; align-items: baseline; gap: 12px; padding: calc(6px + var(--safe-t)) 16px 6px; }
  .fs-azioni { padding: 8px 16px calc(8px + var(--safe-b)); }
  .fs-azioni .btn { min-height: 40px; }
}

@media (min-width: 700px) {
  .wz-corpo { padding: 34px 28px; }
  .t-corpo { padding: 12px 24px 30px; }
}
@media print { .side, .barra-mobile { display: none; } }

/* sezione passkey del profilo (web/js/passkey.js) */
.nt-stato { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.nt-stato .nt-pallino { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.nt-stato.on { color: var(--text); }
.nt-stato.on .nt-pallino { background: var(--green); }
.nt-azioni { justify-content: flex-start; margin-top: 10px; }
.nt-elenco { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.nt-elenco > small { color: var(--muted); }
.nt-disp { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--bg); border-radius: var(--r-sm); }
.nt-disp span { flex: 1; font-size: 14px; }
.nt-disp small { display: block; color: var(--muted); font-size: 12px; }
.conf-msg { margin-top: 0; }

/* scelta del tema bicolore (Impostazioni) */
.coppie { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 8px; }
.coppia { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); border: 2px solid var(--line2); background: var(--panel); font-size: 13px; font-weight: 600; text-align: left; }
.coppia i { width: 34px; height: 34px; border-radius: 9px; flex: none; background: linear-gradient(135deg, var(--s) 50%, var(--a) 50%); box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .3); }
.coppia.on { border-color: var(--accent); background: var(--accent-soft); }

/* pulsante tema chiaro / scuro */
.tema-btn .ico-sole { display: none; }
html[data-theme="dark"] .tema-btn .ico-sole { display: inline-grid; }
html[data-theme="dark"] .tema-btn .ico-luna { display: none; }
.login-tema { position: fixed; top: calc(12px + var(--safe-t)); right: 12px; z-index: 10; }

/* Novità e versioni (web/js/novita.js) */
.nuovo-pallino { position: relative; }
.nav a.nuovo-pallino::after, .icon-btn.nuovo-pallino::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.nav a.nuovo-pallino::after { margin-left: auto; }
.icon-btn.nuovo-pallino::after { position: absolute; top: 6px; right: 6px; }
.nv-testa { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.nv-testa > .ico { width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.nv-testa small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nv-testa b { font-size: 22px; }
.nv-lista { display: grid; gap: 14px; }
.nv-lista .carta + .carta { margin-top: 0; }
.nv-ver header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.nv-ver header > b { font-size: 18px; color: var(--accent2); }
.nv-ver header > span:not(.stato) { color: var(--muted); font-size: 14px; }
.nv-ver header h3 { flex-basis: 100%; margin: 2px 0 0; font-size: 16px; }
.nv-ver ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nv-ver li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; font-size: 15px; }
.nv-ver li .stato { justify-content: center; }
.nv-attuale { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
@media (max-width: 700px) { .nv-ver li { grid-template-columns: 1fr; gap: 4px; } .nv-ver li .stato { justify-self: start; } }

/* logo adatto allo sfondo (web/js/icone.js → logoHtml) */
.logo-per-chiaro { display: none !important; }
html[data-theme="light"] .logo-per-chiaro { display: block !important; }
html[data-theme="light"] .logo-per-scuro { display: none !important; }
.logo-su-fondo { background: var(--second); padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }
.loghi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loghi small { display: block; color: var(--muted); font-size: 12px; margin: 2px 0 8px; }
.logo-anteprima.scuro { background: var(--second); }
@media (max-width: 700px) { .loghi { grid-template-columns: 1fr; } }

/* menu a tendina grande (wizard del tecnico) */
.campo-grande.tendina { font-size: 18px; min-height: 64px; appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 22px; }
.campo-grande.tendina option, .campo-grande.tendina optgroup { background: var(--panel); color: var(--text); font-size: 16px; }

/* orario a 24 ore nel wizard del tecnico: due menu a tendina (ore, minuti) */
.ora24 { display: flex; align-items: stretch; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--r); background: var(--second);
  color: var(--on-second); border-bottom: 3px solid var(--accent); }
.ora24 > i { font-style: normal; font-size: 48px; font-weight: 800; opacity: .55; align-self: center; padding-bottom: 6px; }
.ora-tendina { flex: 1; max-width: 150px; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 8px 6px; border-radius: 14px;
  background: var(--second-line); border: 2px solid transparent; color: var(--on-second); transition: border-color .15s, background .15s; }
.ora-tendina small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.ora-tendina b { font-size: 48px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ora-tendina svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; opacity: .6; transition: transform .2s; }
.ora-tendina.aperta { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 22%, transparent); }
.ora-tendina.aperta svg { transform: rotate(180deg); opacity: 1; }
.ora24.completo .ora-tendina b { color: var(--on-second); }
.ora-lista { margin-top: 10px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.ora-lista.entra { animation: tendina .18s ease-out; }
@keyframes tendina { from { opacity: 0; transform: translateY(-8px) scaleY(.96); } }
.ora-lista-testa { padding: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); background: var(--panel2); }
.ora-voci { max-height: 264px; overflow-y: auto; padding: 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; overscroll-behavior: contain; }
.ora-voci.minuti { max-height: none; }
.ora-voci button { min-height: 52px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 21px; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--text); display: flex; align-items: baseline; justify-content: center; }
.ora-voci button small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 1px; }
.ora-voci button.notte { color: var(--muted); }
.ora-voci button.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.ora-voci button.on small { color: inherit; opacity: .8; }
.ora-voci button:active { transform: scale(.96); }
.orari-rapidi button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent2); }

/* campi orario a 24 ore nelle pagine dell'amministrazione (web/js/ora.js) */
.ora { position: relative; }
.ora .ora-in { padding-right: 40px; font-variant-numeric: tabular-nums; }
.ora-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.ora-btn:hover { color: var(--text); background: var(--panel2); }
.ora-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ora.ora-err > input { border-color: var(--red); }
.ora-menu { position: fixed; z-index: 200; width: 280px; max-width: calc(100vw - 16px); padding: 10px; display: grid; gap: 10px;
  background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow); }
.ora-sez { display: grid; gap: 5px; }
.ora-sez > small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.ora-ore { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.ora-min { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.ora-min.fitti { grid-template-columns: repeat(6, 1fr); }
.ora-menu button { padding: 6px 0; border-radius: 8px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.ora-menu button.lav { color: var(--text); }
.ora-menu button:hover { background: var(--accent-soft); color: var(--text); }
.ora-menu button.on { background: var(--accent); color: var(--on-accent); }

/* controllo dell'ordine degli orari (wizard) */
.wz-vincolo { margin: -10px 0 16px; color: var(--muted); font-size: 15px; }
.wz-vincolo b { color: var(--text); font-variant-numeric: tabular-nums; }
.wz-calcolo.errore { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); background: color-mix(in srgb, var(--red) 10%, var(--panel)); font-weight: 600; }
.ora-voci button:disabled { opacity: .25; pointer-events: none; text-decoration: line-through; }
.riep.riep-errore { border-color: color-mix(in srgb, var(--red) 55%, transparent); }
.wz-errore { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); font-weight: 600; font-size: 14px; }
.wz-errore button { margin-left: 6px; color: var(--accent2); font-weight: 700; text-decoration: underline; }

.wz-sotto { margin: 18px 2px 0; color: var(--muted); font-size: 14px; }
.riep dd button { font-size: 13px; color: var(--accent2); font-weight: 600; margin-left: 6px; }

/* località del viaggio (wizard) */
.campo-grande.luogo { font-size: 19px; min-height: 56px; }
.luoghi-rapidi { margin: -6px 0 6px; }
.luogo-freccia { text-align: center; color: var(--accent2); font-size: 22px; font-weight: 800; margin: -4px 0 4px; }

/* menu a tendina delle commesse (wizard) */
.cm-scelta { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: var(--r);
  background: var(--second); color: var(--on-second); border: 2px solid transparent; border-bottom: 3px solid var(--accent);
  box-shadow: var(--shadow); transition: border-color .15s; }
.cm-scelta.aperta { border-color: var(--accent); }
.cm-scelta .cm-cod { flex: none; padding: 8px 10px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 15px;
  letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cm-scelta .cm-testo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cm-scelta .cm-testo b { font-size: 18px; line-height: 1.25; }
.cm-scelta .cm-testo small { font-size: 14px; color: var(--second-muted); }
.cm-scelta .cm-luogo { font-size: 13px !important; }
.cm-scelta.vuota .cm-testo b { font-weight: 700; }
.cm-freccia svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; opacity: .7; transition: transform .2s; display: block; }
.cm-scelta.aperta .cm-freccia svg { transform: rotate(180deg); opacity: 1; }
.cm-pannello { margin-top: 10px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.cm-pannello.entra { animation: tendina .18s ease-out; }
.cm-cerca { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel2); color: var(--muted); }
.cm-cerca input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; min-height: 36px; color: var(--text); }
.cm-elenco { max-height: 52vh; overflow-y: auto; padding: 4px 8px 10px; overscroll-behavior: contain; }
.cm-gruppo { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 12px 6px 6px; background: var(--panel);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent2); }
.cm-gruppo span { font-size: 11px; color: var(--muted); background: var(--panel2); border-radius: 99px; padding: 1px 7px; letter-spacing: 0; }
.cm-voce { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 12px; text-align: left; min-height: 54px; }
.cm-voce + .cm-voce { margin-top: 2px; }
.cm-voce:active, .cm-voce:hover { background: var(--panel2); }
.cm-voce .cm-cod { flex: none; min-width: 84px; padding: 6px 8px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line2); font-weight: 800; font-size: 14px;
  text-align: center; font-variant-numeric: tabular-nums; }
.cm-voce .cm-testo { flex: 1; min-width: 0; font-size: 15px; }
.cm-voce.on { background: var(--accent-soft); }
.cm-voce.on .cm-cod { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cm-ok { color: var(--accent2); }

/* calendario della data (wizard) */
.cal-scelta { padding: 12px 16px; border-radius: var(--r); background: var(--second); color: var(--on-second); border-bottom: 3px solid var(--accent); margin-bottom: 10px; }
.cal-scelta small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--second-muted); }
.cal-scelta b { font-size: 22px; }
.cal { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px 10px 12px; }
.cal-testa { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 8px; }
.cal-testa b { font-size: 17px; }
.cal-avanti .ico { transform: rotate(180deg); }
.cal-sett, .cal-giorni { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-sett span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.cal-sett span:nth-child(n+6) { color: var(--accent2); }
.cal-giorni button { aspect-ratio: 1; min-height: 40px; border-radius: 12px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--text); background: var(--bg); border: 1px solid transparent; position: relative; }
.cal-giorni button.festivo { color: var(--accent2); }
.cal-giorni button.futuro { opacity: .55; }
.cal-giorni button.oggi { border-color: var(--accent); font-weight: 800; }
.cal-giorni button.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); opacity: 1;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.cal-giorni button.usato { opacity: .3; text-decoration: line-through; }
.cal-giorni button:active { transform: scale(.94); }

/* tecnici e rientro (wizard) */
.cm-voce .cm-cod.tec { min-width: 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
.luogo-tit { margin: 18px 2px 8px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent2); }
.luogo-tit:first-child { margin-top: 0; }

.straord { color: #ea580c; font-weight: 700; }
html[data-theme="dark"] .straord { color: #fb923c; }

/* senza rete (web/js/tecnico/coda.js) */
.t-rete { padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--amber) 25%, transparent); color: var(--on-second); font-size: 12px; font-weight: 700; white-space: nowrap; }
.t-foglio.coda { border-style: dashed; border-color: color-mix(in srgb, var(--amber) 55%, transparent); }
.t-foglio .errore { color: var(--red); }

/* quanti altri tecnici (wizard) */
.contatore { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px; border-radius: var(--r); background: var(--second);
  color: var(--on-second); border-bottom: 3px solid var(--accent); }
.contatore b { min-width: 2.2ch; text-align: center; font-size: 52px; font-weight: 800; font-variant-numeric: tabular-nums; }
.contatore button { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 34px; font-weight: 700; line-height: 1;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.contatore button:disabled { opacity: .3; box-shadow: none; }
.contatore button:active { transform: scale(.94); }

/* primi passi (Home dell'amministrazione) */
.primi-passi { margin-bottom: 18px; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.pp-barra { height: 8px; border-radius: 99px; background: var(--panel3); overflow: hidden; margin: -4px 0 14px; }
.pp-barra i { display: block; height: 100%; background: var(--accent); }
.pp-voci { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.pp-voce { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg); color: var(--text); border: 1px solid var(--line); }
.pp-voce:hover { border-color: var(--accent); }
.pp-voce small { display: block; color: var(--muted); font-size: 13px; }
.pp-spunta { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; margin-top: 1px; }
.pp-spunta .ico { width: 14px; height: 14px; }
.pp-voce.fatto { opacity: .6; }
.pp-voce.fatto .pp-spunta { background: var(--green); border-color: var(--green); color: #fff; }
.pp-voce.fatto b { text-decoration: line-through; }
