/* Daisy: raccordo con lo stile della Plancia (stile.css, caricato prima). */
:root { --verde-t: #248a3d; --arancio-t: #b25000; --rosso-t: #d70015; }
@media (prefers-color-scheme: dark) { :root { --verde-t: #30d158; --arancio-t: #ff9f0a; --rosso-t: #ff453a; } }
#schede a { flex: 1; min-width: 0; color: var(--tenue); font-size: 11px; font-weight: 500; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; min-height: 48px; padding-top: 2px; }
#schede a.attiva { color: var(--blu); }
.menu-utente { position: relative; }
.menu-utente summary { list-style: none; cursor: pointer; min-height: 44px; }
.menu-utente summary::-webkit-details-marker { display: none; }
.menu-utente .tendina { position: absolute; right: 0; top: 48px; z-index: 9; min-width: 200px; background: var(--carta); border-radius: 14px; box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 10px 30px rgba(0,0,0,.18); padding: 6px; }
.menu-utente .tendina button { display: block; width: 100%; text-align: left; padding: 12px; min-height: 44px; border: 0; background: none; border-radius: 9px; color: var(--rosso-t); font-size: 16px; }
.sunto { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 4px 2px 6px; }
.telaio { font-size: 24px; font-weight: 800; margin: 6px 2px; overflow-wrap: anywhere; }
.testo-arancio { color: var(--arancio-t); } .testo-verde { color: var(--verde-t); }
.stato-d { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.stato-d i { width: 10px; height: 10px; border-radius: 50%; background: var(--grigio); flex: none; }
.stato-d.verde { color: var(--verde-t); } .stato-d.verde i { background: var(--verde); }
.stato-d.arancio { color: var(--arancio-t); } .stato-d.arancio i { background: var(--arancio); }
.stato-d.grigio { color: var(--tenue); }
a.riga { color: inherit; align-items: center; min-height: 44px; }
a.riga:hover { background: var(--carta2); }
.riga .t3 { font-size: 16px; }
.riga .t1 { flex-wrap: wrap; }
.riga .t1 .nome { white-space: normal; overflow-wrap: anywhere; }
.freccia { color: var(--tenue); font-size: 24px; }
.filtri a { background: var(--carta); box-shadow: var(--ombra); border-radius: 99px; padding: 9px 16px; font-size: 16px; font-weight: 500; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; color: var(--testo); }
.filtri a.attivo { background: var(--testo); color: var(--sfondo); }
.cerca { min-height: 44px; font-size: 16px; }
.spazio-su { margin-top: 12px; }
.vuoto { font-size: 16px; }
.testo-mail { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; }
.nascosta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.scheda-login input { margin: 10px 0 0; } .scheda-login .btn { margin-top: 14px; } .scheda-login .errore { margin: 12px 0 0; color: var(--rosso-t); font-size: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--blu); outline-offset: 2px; }
@media (min-width: 900px) {
  #schede::before { content: 'Daisy'; }
  #schede a { flex: none; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--testo); padding: 6px 10px; min-height: 34px; border-radius: 8px; width: 100%; }
  #schede a svg { width: 19px; height: 19px; color: var(--blu); flex: none; }
  #schede a:hover { background: rgba(0,0,0,.05); }
  #schede a.attiva { background: rgba(0,0,0,.09); font-weight: 600; }
  .sunto { font-size: 16px; }
}
@media (prefers-color-scheme: dark) and (min-width: 900px) { #schede a:hover { background: rgba(255,255,255,.06); } #schede a.attiva { background: rgba(255,255,255,.12); } }
main p > a, .riga .corpo > a, .vuoto a { display: inline-flex; align-items: center; min-height: 44px; }
/* Oggi */
.testo-rosso, .stato-d.rosso { color: var(--rosso-t); } .stato-d.rosso i { background: var(--rosso); }
.voce .azioni { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.voce .azioni form { margin-left: auto; }
.voce .t3 { -webkit-line-clamp: 4; }
.btn.piccola { min-height: 44px; padding: 9px 16px; font-size: 16px; border-radius: 9px; box-shadow: 0 0 0 1px var(--linea); }
.esito { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--carta); border-radius: 14px; box-shadow: var(--ombra); padding: 10px 14px; margin: 8px 0; font-size: 16px; }
.esito span { min-width: 0; overflow-wrap: anywhere; }
.esito .btn { min-height: 44px; padding: 9px 16px; font-size: 16px; flex: none; }
