.report-sheet .wide{display:block;width:100%;margin-top:12px;min-height:50px;font-size:16px}.report-sheet .form-section{border-top:1px solid #e2e8ec;margin-top:20px;padding-top:16px}.report-sheet .form-section h3{font-size:18px}.report-sheet .field{font-size:16px;min-height:48px}.report-sheet .caption{font-size:14px}.report-sheet textarea{min-height:120px}.report-sheet button{min-height:46px}.report-sheet p{line-height:1.5}.report-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.report-archive-group{border-top:1px solid #e2e8ec;margin-top:18px;padding-top:8px}.report-archive-group h3{display:flex;align-items:center;justify-content:space-between;gap:10px}.report-archive-card{text-align:left!important;display:block!important;margin-top:8px;white-space:normal}.report-totals{margin:12px 0}
.report-review-top{font-size:16px;margin:12px 0}.report-review-top small{font-size:14px;line-height:1.45}.report-review-top .wide{margin-top:12px}
/* Completamento grafica (25/10/2026): stesso aspetto dei rapporti per il Presidente (index.html) e per «I miei rapporti»
   del volontario e del Capoturno (portal.html). Colori e misure dalla base comune (giv-theme.css); testo mai sotto 14 px. */
.report-list-head{display:flex;align-items:center;gap:14px;margin:0 0 10px}
.report-list-head h2{margin:0}
html #dialog .report-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:2px;margin:6px 0 12px;padding:3px;border-radius:12px;background:var(--giv-card-2,#EEF0F3)}
html #dialog .report-tabs button{min-height:44px;margin:0;border:0;border-radius:9px;background:transparent;box-shadow:none;color:var(--giv-ink,#111114);font-size:var(--giv-text-min,14px);font-weight:600}
html #dialog .report-tabs button.active{background:var(--giv-card,#fff);box-shadow:0 1px 3px rgba(16,24,40,.14)}
html[data-theme="dark"] #dialog .report-tabs button.active{background:#3A3A3C}
.report-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0 12px;margin-bottom:6px}
.report-list .report-archive-card{display:flex!important;width:100%;min-height:64px;margin:0;border-radius:0;box-shadow:none;text-align:left!important;white-space:normal;font-weight:400}
.report-list .report-archive-card b{font-size:var(--giv-text-base,17px);font-weight:600;color:var(--giv-ink,#111114)}
.report-list .report-archive-card small{display:block;font-size:var(--giv-text-min,14px);line-height:1.35;color:var(--giv-ink-2,#5E5E66)}
.report-list .report-list-state{font-weight:600}
.report-st-ok{color:var(--giv-success,#1F7A3A)!important}
.report-st-warn{color:var(--giv-warning,#A35200)!important}
.report-st-muted{color:var(--giv-ink-2,#5E5E66)!important}
.report-totals{margin:6px 0 4px}
.report-totals .giv-row-value{font-weight:700;font-variant-numeric:tabular-nums}
html #dialog .report-archive-group{border-top:0;margin-top:20px;padding-top:0}
html #dialog .report-archive-group h3.giv-section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding-left:4px}
html #dialog .report-archive-group h3 .pill{text-transform:none;letter-spacing:0}
.report-empty{color:var(--giv-ink-2,#5E5E66)}
.report-banner{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px}
.report-banner b{flex:1 1 180px}
.report-banner button{min-height:44px}
/* Il rapporto aperto: titolo grande, stato in un'etichetta, sezioni numerate in schede bianche (come nell'area volontario). */
html #dialog .report-sheet h2{font-size:26px;line-height:1.2;font-weight:800;letter-spacing:-.01em}
html #dialog .report-sheet #report-state{display:inline-flex;font-size:var(--giv-text-min,14px);font-weight:600;padding:5px 12px;border-radius:999px;background:var(--giv-accent-soft,#E8F0FB);color:var(--giv-accent-ink,#1F56A5);margin:2px 0 12px}
html #dialog .report-sheet .form-section{margin-top:14px;padding:14px;background:var(--giv-card,#fff);border:1px solid var(--giv-border,#E2E5EA);border-radius:var(--giv-radius,14px)}
html #dialog .report-sheet .form-section h3{margin:0 0 10px;font-size:var(--giv-text-base,17px);font-weight:700}
html #dialog .report-sheet .check{min-height:44px}
html #dialog .report-sheet [data-report-photo-delete]{min-height:44px}
/* Notifiche (public/notifications.js, condiviso): passi numerati in un elenco. */
.gp-notify-head{display:flex;align-items:center;gap:14px;margin:0 0 8px}
.gp-notify-head h2{margin:0}
ol.gp-steps{list-style:none;margin:12px 0;padding:0;counter-reset:gp-step}
ol.gp-steps > li{counter-increment:gp-step;gap:12px;min-height:52px}
ol.gp-steps > li::before{content:counter(gp-step);display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--giv-accent-soft,#E8F0FB);color:var(--giv-accent-ink,#1F56A5);font-weight:700;font-size:var(--giv-text-min,14px)}
/* Passi numerati (Jacopo, 12/11/2026): dal secondo passo la riga separatrice comune (.giv-row + .giv-row::before di
   giv-theme.css) copriva il numero. Il numero resta nel ::before; la stessa riga si disegna come sfondo della riga. */
ol.gp-steps > .giv-row + .giv-row{background:linear-gradient(var(--giv-separator),var(--giv-separator)) 60px 0/calc(100% - 60px) 1px no-repeat}
ol.gp-steps > .giv-row + .giv-row::before{content:counter(gp-step);position:static;top:auto;left:auto;right:auto;height:30px;background:var(--giv-accent-soft,#E8F0FB)}
.report-sheet .visually-hidden,.report-list-page .visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Grafica fase 5 (26/10), telefono: titolo a misura (al massimo due righe, mai spezzato dentro le parole), «Anno» e
   «Raggruppa per» uno sotto l'altro a tutta larghezza (il valore scelto non viene più tagliato), testo vuoto normale. */
@media(max-width:600px){
 html #dialog .report-list-head h2{font-size:26px;line-height:1.15;overflow-wrap:break-word;word-break:normal;hyphens:manual}
 html #dialog .report-filters{grid-template-columns:1fr}
 html #dialog .report-empty .giv-row-text span{font-size:var(--giv-text-base);line-height:1.35}
}
/* Più rapporti per servizio e rapporto ordinato (punti 21 e 25, disegni approvati da Jacopo il 16/11/2026). Solo le
   variabili della base comune; ogni cosa da toccare almeno 44 px; nessuno scorrimento di lato da 320 px. */
html #dialog .report-sheet .report-sub{margin:4px 0 6px;color:var(--giv-ink-2);font-size:var(--giv-text-base);display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;overflow-wrap:anywhere}
.report-chip{display:inline-flex;align-items:center;align-self:flex-start;font-size:var(--giv-text-min);font-weight:600;line-height:1.2;padding:4px 10px;border-radius:var(--giv-radius-pill,999px);margin:4px 0 2px}
.report-chip--ok{background:var(--giv-success-soft);color:var(--giv-success)}
.report-chip--warn{background:var(--giv-warning-soft);color:var(--giv-warning)}
.report-chip--info{background:var(--giv-accent-soft);color:var(--giv-accent-ink)}
.report-chip--muted{background:var(--giv-card-2);color:var(--giv-ink-2)}
html #dialog .report-sheet .giv-section-label{padding-left:4px}
html #dialog .report-sheet .giv-list{margin-top:0}
html #dialog .report-sheet .giv-row .giv-row-text b{overflow-wrap:anywhere}
html #dialog .report-number-row{min-height:64px;cursor:pointer;font-weight:400;border-radius:0;box-shadow:none;margin:0}
html #dialog .report-number-row .giv-row-text small{font-size:var(--giv-text-min);color:var(--giv-ink-2)}
html #dialog .report-open-word{color:var(--giv-accent);font-weight:600;font-size:var(--giv-text-base);padding-left:8px;flex:none}
html #dialog .report-help{margin:10px 4px 4px;font-size:var(--giv-text-min)}
html #dialog .report-sheet .wide{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px}
html #dialog .report-sheet .wide .giv-svg{flex:none}
html #dialog .report-error:not([hidden]),html #dialog .report-problem{color:var(--giv-danger);font-weight:600;font-size:var(--giv-text-min);margin:10px 0 0}
html #dialog .report-back{display:inline-flex;align-items:center;gap:2px;min-height:44px;min-width:44px;padding:0 8px 0 0;margin:0 0 4px;border:0;background:transparent;box-shadow:none;color:var(--giv-accent);font-size:var(--giv-text-base);font-weight:600;cursor:pointer}
html #dialog .report-ordered #report-state{margin:0 0 10px}
.report-progress{margin:6px 0 12px}
.report-progress-text{display:flex;justify-content:space-between;gap:10px;font-size:var(--giv-text-min);color:var(--giv-ink-2);font-weight:600;margin-bottom:6px}
.report-progress-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.report-step{height:6px;border-radius:3px;background:var(--giv-separator)}
.report-step.is-done{background:var(--giv-success)}
.report-step.is-current{background:var(--giv-accent)}
.report-card{background:var(--giv-card);border:1px solid var(--giv-border);border-radius:var(--giv-radius);box-shadow:var(--giv-shadow);margin:10px 0;overflow:hidden}
.report-card.is-open{border:2px solid var(--giv-accent)}
.report-card-head{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:64px}
.report-card.is-open .report-card-head{border-bottom:1px solid var(--giv-separator)}
.report-card-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.report-card-title b{font-size:var(--giv-text-base);font-weight:700;color:var(--giv-ink)}
.report-card-title small{font-size:var(--giv-text-min);color:var(--giv-ink-2);overflow-wrap:anywhere}
.report-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--giv-border);color:var(--giv-ink-2);font-weight:700;font-size:var(--giv-text-min)}
.report-mark.is-done{background:var(--giv-success);border-color:var(--giv-success);color:var(--giv-on-accent)}
.report-mark.is-current{background:var(--giv-accent);border-color:var(--giv-accent);color:var(--giv-on-accent)}
html #dialog .report-edit{flex:none;min-height:44px;min-width:44px;padding:0 4px;border:0;background:transparent;box-shadow:none;color:var(--giv-accent);font-weight:600;font-size:var(--giv-text-base);cursor:pointer}
.report-card-body{padding:12px 14px 14px}
html #dialog .report-card-body .field{width:100%;max-width:100%;min-width:0;font-size:16px;min-height:48px}
.report-times{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 12px}
.report-group-label{margin:12px 0 2px;font-size:var(--giv-text-min);font-weight:600;color:var(--giv-ink-2)}
.report-check{display:flex;align-items:center;gap:14px;min-height:56px;border-bottom:1px solid var(--giv-separator);font-size:var(--giv-text-base);cursor:pointer}
.report-check input{flex:none;width:26px;height:26px;margin:0;accent-color:var(--giv-accent)}
.report-check span{min-width:0;overflow-wrap:anywhere}
.report-photo-list{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0}
.report-photo-card{display:inline-flex;flex-direction:column;gap:4px;max-width:150px}
.report-thumb{width:120px;height:96px;object-fit:cover;border-radius:10px;display:block}
.report-signature-box{border:1px dashed var(--giv-border);border-radius:var(--giv-radius-sm,10px);min-height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--giv-card)}
.report-signature-pad{touch-action:none;display:block;max-width:100%;cursor:crosshair}
.report-signature-img{max-width:100%;max-height:150px;display:block}
html[data-theme="dark"] .report-signature-pad,html[data-theme="dark"] .report-signature-img{filter:invert(1)}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .report-signature-pad,html:not([data-theme="light"]) .report-signature-img{filter:invert(1)}}
.report-material{padding:8px 0;border-bottom:1px solid var(--giv-separator)}
.report-material-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:6px;margin-top:6px}
.report-material-fields label{font-size:var(--giv-text-min);color:var(--giv-ink-2)}
html #dialog .report-send{margin-top:16px}
html #dialog .report-send.is-waiting{opacity:.55}
html #dialog .report-send-help{text-align:center;font-size:var(--giv-text-min);margin:8px 4px}
.report-ro{display:flex;flex-direction:column;gap:2px;margin:0 0 10px}
.report-ro b{font-size:var(--giv-text-min);font-weight:600;color:var(--giv-ink-2)}
.report-ro span,.report-ro-text{font-size:var(--giv-text-base);color:var(--giv-ink);overflow-wrap:anywhere;white-space:pre-wrap}
/* Vuoto che dice qualcosa («Non indicato», «Nessuna descrizione»): parole semplici nel colore secondario (19/11/2026). */
.report-ro span.report-ro-missing{color:var(--giv-ink-2)}
.report-materials{margin:6px 0 10px}
.report-materials>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;margin:0}
/* Invio verificato (16/11/2026): «Conferma che sei tu», righe del registro e «Controlla un codice». */
html #dialog .report-confirm{margin:16px 0 0;padding:14px;border:1px solid var(--giv-accent);border-radius:var(--giv-radius,14px);background:var(--giv-accent-soft);display:grid;gap:8px}
html #dialog .report-confirm h3{margin:0;font-size:1.1rem}
html #dialog .report-confirm .field{min-height:44px;font-size:1.2rem;letter-spacing:.2em;max-width:100%}
html #dialog .report-confirm button,html #dialog .report-verify button{min-height:44px}
html #dialog .report-confirm a{color:var(--giv-accent-ink,var(--giv-accent));font-weight:600}
html #dialog .report-attest{margin:16px 0 0;padding:12px 14px;border:1px solid var(--giv-border);border-radius:var(--giv-radius-sm,10px);background:var(--giv-card)}
html #dialog .report-attest-line{margin:6px 0;overflow-wrap:anywhere;font-size:var(--giv-text-min,.95rem)}
html #dialog .report-attest-line.is-bad{color:var(--giv-danger)}
html #dialog .report-verify{margin-top:10px}
html #dialog .report-verify-row{display:flex;gap:8px;flex-wrap:wrap}
html #dialog .report-verify-row .field{flex:1 1 140px;min-width:0;min-height:44px;text-transform:uppercase}
html #dialog .report-verify-ok{color:var(--giv-success);font-weight:600}
html #dialog .report-verify-bad{color:var(--giv-danger);font-weight:600}
html #dialog .report-code{margin:10px 0 4px;font-size:1.05rem}
html #dialog .report-code b{font-size:1.25rem;letter-spacing:.06em;font-variant-numeric:tabular-nums}
/* Riesame rap5: «Apri Sicurezza dell’account» come pulsante intero; pulsanti dei messaggi finali alti almeno 44 px. */
html #dialog .report-confirm a.report-security-link{color:var(--giv-on-accent);display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;padding:10px 16px;font-weight:700;text-decoration:none;text-align:center}
html #dialog .report-done-btn{min-height:48px}
/* Materiali del turno (17/11/2026, bozzetti A→B→C approvati da Jacopo): lista del turno nel rapporto e finestra «Materiali
   rientrati» con −/+ da 44 px; un solo pulsante blu; colori solo dal tema. */
.report-shift{margin:18px 0 6px}
.report-shift .giv-row small{display:block;color:var(--giv-ink-2);font-size:var(--giv-text-min);margin-top:2px}
.report-shift-note{margin:8px 4px 0}
.report-shift-done{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:12px 14px;border-radius:var(--giv-radius);background:var(--giv-card);border:1px solid var(--giv-border);font-size:var(--giv-text-min);line-height:1.4;color:var(--giv-ink)}
.report-shift-done svg{flex:none;color:var(--giv-success,var(--giv-accent-ink))}
.report-shift-open{margin-top:12px}
.report-shift-item{background:var(--giv-card);border:1px solid var(--giv-border);border-radius:var(--giv-radius-lg,14px);padding:12px 14px 4px;margin:0 0 12px}
.report-shift-item-head{display:flex;align-items:center;gap:12px;margin-bottom:4px;min-width:0}
.report-shift-item-head b{display:block;font-size:var(--giv-text-base);overflow-wrap:anywhere}.report-shift-item-head small{display:block;color:var(--giv-ink-2);font-size:var(--giv-text-min)}
.report-step-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;border-top:1px solid var(--giv-separator);font-size:var(--giv-text-base)}
.report-step-row>span:first-child{min-width:0;overflow-wrap:anywhere}
.report-stepper{display:flex;align-items:center;gap:6px;flex:none}
html .report-stepper button{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:12px;border:1px solid var(--giv-border);background:var(--giv-card);color:var(--giv-accent-ink);font-size:24px;line-height:1;font-weight:600;box-shadow:none}
html .report-stepper button:disabled{opacity:.4}
.report-stepper output{min-width:36px;text-align:center;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums}
.report-shift-sum{margin:0;padding:8px 0 8px;border-top:1px solid var(--giv-separator);font-size:var(--giv-text-min);display:flex;align-items:center;gap:6px}
.report-shift-sum.is-ok{color:var(--giv-success,var(--giv-accent-ink))}.report-shift-sum.is-missing{color:var(--giv-warning,var(--giv-danger))}
.report-shift-foot{position:sticky;bottom:0;background:var(--giv-card);padding:12px 0 calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--giv-separator);margin-top:8px}
.report-shift-foot .meta{text-align:center;margin:8px 0 0}
html .report-shift-foot .primary[aria-disabled="true"]{opacity:.55}
/* «Si è rotto o perso qualcosa?» nel passo 2 del rapporto (decisione di Jacopo del 18/11/2026, bozzetto A approvato):
   blocco richiudibile con righe Materiale · Quanti · Danneggiato/Smarrito · Nota; colori solo dal tema. */
.report-broken{margin:14px 0 4px;border-top:1px solid var(--giv-separator)}
.report-broken>summary{list-style:none;cursor:pointer}
.report-broken>summary::-webkit-details-marker{display:none}
.report-broken-head{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 0;margin-bottom:4px}
.report-broken .giv-tile{flex:none}
.report-broken-head .report-card-title{flex:1;min-width:0}
html #dialog details.report-broken>summary.report-broken-head .report-card-title b{color:var(--giv-ink);font-weight:700}
html #dialog details.report-broken>summary.report-broken-head .report-card-title small{font-weight:400}
html #dialog details.report-broken>summary.report-broken-head .report-card-title small.is-wrong{color:var(--giv-danger);font-weight:600}
.report-broken-intro{margin:0 0 12px;font-size:var(--giv-text-min);color:var(--giv-ink-2);line-height:1.45}
.report-broken-row{padding:6px 14px 12px}
.report-broken-row.is-wrong{border:2px solid var(--giv-danger)}
.report-broken-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
.report-broken-row-head b{font-size:var(--giv-text-base)}
html #dialog .report-broken-remove{min-height:44px;min-width:44px;padding:0 4px;border:0;background:transparent;box-shadow:none;color:var(--giv-danger);font-weight:600;font-size:var(--giv-text-base);cursor:pointer}
html #dialog .report-broken select.field{width:100%;max-width:100%;min-height:48px;font-size:16px}
.report-broken-hint{margin:6px 0 0;font-size:var(--giv-text-min);color:var(--giv-ink-2)}
.report-broken-kind{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:10px 0 4px;padding:3px;border-radius:12px;background:var(--giv-card-2,var(--giv-bg))}
html #dialog .report-broken-kind button{min-height:44px;margin:0;border:0;border-radius:9px;background:transparent;box-shadow:none;color:var(--giv-ink);font-size:var(--giv-text-base);font-weight:600}
html #dialog .report-broken-kind button[aria-pressed="true"]{background:var(--giv-card);box-shadow:0 1px 3px rgba(16,24,40,.14);color:var(--giv-accent-ink)}
html[data-theme="dark"] #dialog .report-broken-kind button[aria-pressed="true"]{background:var(--giv-card-2);outline:1px solid var(--giv-border)}
html[data-theme="dark"] .report-broken-kind{background:var(--giv-bg)}
.report-broken .report-step-row{border-top:0}
.report-broken-row .caption{display:block;margin-top:8px}
html #dialog .report-broken .report-problem{margin:8px 0 0}
html #dialog .report-broken-add{margin-top:4px}
.report-ro-list{margin:4px 0 0;padding-left:20px;font-size:var(--giv-text-base)}
/* Rientro di fine turno: numeri presi dai rapporti e domanda «quale numero è giusto?». */
.report-from{display:block;font-size:var(--giv-text-min);color:var(--giv-ink-2);margin-top:2px}
.report-step-row>span:first-child{padding:6px 0}
.report-prefill-note{margin:0 0 12px}
.report-shift-differs{margin:4px 0 12px;padding:12px 14px;border-radius:var(--giv-radius);border:2px solid var(--giv-warning,var(--giv-danger));background:var(--giv-card);font-size:var(--giv-text-base);line-height:1.45}
.report-shift-differs ul{margin:6px 0 10px;padding-left:20px}
.report-shift-differs .secondary{margin-top:8px}
/* Passo 3 «Altri enti presenti»: la squadra la prende GIV dal turno (solo lettura). */
.report-team-auto{margin:0 0 12px;padding:10px 14px;border-radius:var(--giv-radius);background:var(--giv-card-2,var(--giv-bg));font-size:var(--giv-text-base);line-height:1.45}
.report-team-auto small{display:block;color:var(--giv-ink-2);font-size:var(--giv-text-min);margin-top:2px}
