/* Vistobueno: one column for the phone, light and dark like the phone. Line icons from the sprite in index.html, cards
   with soft shadows, a deep blue for the brand and a teal for what is fine. Every text keeps a contrast of 4.5:1. */
:root {
  --bg: #f3f5f8;
  --superficie: #ffffff;
  --superficie-2: #f8fafc;
  --testo: #0f1d2b;
  --testo-2: #46566b;
  --tenue: #5b6a80;
  --bordo: #e2e7ee;
  --bordo-forte: #c9d3df;
  --marca: #12395b;
  --marca-2: #1d5a8a;
  --marca-tenue: #e8f0f8;
  --su-marca: #ffffff;
  --accento: #0f766e;
  --verde: #15803d;
  --giallo: #b45309;
  --rosso: #b91c1c;
  --rosso-testo: #b42318; /* «Quitar», «Borrar» */
  --rosso-tenue: #fdecea;
  --errore-testo: #8c1d13;
  --hero: linear-gradient(140deg, #12395b 0%, #1b5687 62%, #2068a0 100%);
  --ombra-1: 0 1px 2px rgba(15, 29, 43, 0.06), 0 1px 1px rgba(15, 29, 43, 0.04);
  --ombra-2: 0 10px 28px rgba(15, 29, 43, 0.1);
  --ombra-marca: 0 8px 20px rgba(18, 57, 91, 0.24);
  --raggio: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1520;
    --superficie: #152131;
    --superficie-2: #111c2a;
    --testo: #e8eef5;
    --testo-2: #b4c0ce;
    --tenue: #8d9bad;
    --bordo: #263649;
    --bordo-forte: #34475e;
    --marca: #8cbcea;
    --marca-2: #a9cdf0;
    --marca-tenue: #1b2b3e;
    --su-marca: #0b1622;
    --accento: #5fd4c3;
    /* The verdict colours stay as in light mode: white text on them keeps a contrast of at least 4.5:1. */
    --rosso-testo: #f4a097;
    --rosso-tenue: #3a1b17;
    --errore-testo: #f4b8b0;
    --hero: linear-gradient(140deg, #12304e 0%, #184a73 100%);
    --ombra-1: none;
    --ombra-2: 0 10px 28px rgba(0, 0, 0, 0.35);
    --ombra-marca: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--testo);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; color: inherit; }
button:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--marca);
  outline-offset: 2px;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icona {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- the bar ------------------------------------------------------------------------------------------------ */
.barra {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: var(--superficie);
  border-bottom: 1px solid var(--bordo);
  box-shadow: var(--ombra-1);
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--testo);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.marca span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marca img { flex: none; border-radius: 9px; box-shadow: var(--ombra-1); }
.barra-destra { display: flex; align-items: center; gap: 4px; flex: none; }
/* The language: «ES» on screen, the phone's own list with the full names under the finger (the select is invisible on
   top), so the brand and «Informes» keep their room on a narrow phone. */
.lingua {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--bordo);
  border-radius: 999px;
  background: var(--superficie);
  color: var(--testo-2);
  font-size: 0.85rem;
  font-weight: 650;
}
.lingua .icona { width: 16px; height: 16px; }
.lingua select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: pointer; }
.lingua:focus-within { outline: 3px solid var(--marca); outline-offset: 2px; }
.bottone-barra {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--marca);
  font-weight: 650;
  white-space: nowrap;
}
@media (max-width: 359px) {
  .bottone-barra .icona { display: none; }
}

/* --- page and text ------------------------------------------------------------------------------------------ */
main { max-width: 640px; margin: 0 auto; padding: 14px 16px max(36px, env(safe-area-inset-bottom)); }
h1 { font-size: 1.6rem; line-height: 1.22; letter-spacing: -0.02em; margin: 6px 0 10px; }
h2 { font-size: 1.05rem; margin: 22px 0 8px; }
.guida { color: var(--testo-2); margin: 0 0 16px; }
.piccolo { color: var(--tenue); font-size: 0.85rem; }
.centrato { text-align: center; display: block; margin-left: auto; margin-right: auto; }
.titolo-sezione {
  margin: 26px 2px 10px;
  color: var(--tenue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.legale { text-align: center; }
.legale a { color: var(--marca); text-underline-offset: 2px; }

/* --- buttons ------------------------------------------------------------------------------------------------ */
.bottone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--bordo-forte);
  background: var(--superficie);
  color: var(--testo);
  font-weight: 650;
  box-shadow: var(--ombra-1);
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}
.bottone:hover { border-color: var(--marca-2); }
.bottone:active { transform: scale(0.99); }
.bottone.principale { background: var(--marca); border-color: var(--marca); color: var(--su-marca); box-shadow: var(--ombra-marca); }
.bottone.principale:hover { background: var(--marca-2); border-color: var(--marca-2); }
.bottone.grande { min-height: 56px; font-size: 1.05rem; margin-top: 18px; }
.bottone:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.bottone-testo { background: none; border: 0; padding: 10px 6px; color: var(--marca); font-weight: 650; }
.indietro {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 4px -6px;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--marca);
  font-weight: 650;
}

/* --- notices and cards -------------------------------------------------------------------------------------- */
.avviso { margin: 12px 0; padding: 11px 14px; border-radius: 12px; background: var(--marca-tenue); color: var(--testo); font-size: 0.95rem; }
.avviso.errore { background: var(--rosso-tenue); color: var(--errore-testo); }
.scheda, .sezione {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  box-shadow: var(--ombra-1);
}
.scheda { padding: 14px 16px; margin: 12px 0; }
.etichetta-scheda { margin: 0 0 10px; color: var(--testo-2); font-size: 0.9rem; font-weight: 700; }

/* --- 1. home ------------------------------------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  padding: 22px 20px 20px;
  border-radius: 20px;
  background: var(--hero);
  color: #fff;
  box-shadow: var(--ombra-2);
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.hero h1 { position: relative; margin: 0 0 10px; color: #fff; font-size: 1.5rem; }
.hero-testo { position: relative; margin: 0 0 16px; color: #fff; opacity: 0.94; font-size: 0.95rem; line-height: 1.5; }
.fiducia { position: relative; display: grid; gap: 8px; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.18); list-style: none; }
.fiducia li { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 0.9rem; font-weight: 600; }
.fiducia .icona { width: 18px; height: 18px; color: #9ff0d5; }

.scelte { display: grid; gap: 12px; margin: 18px 0 8px; }
.scelta {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 14px 16px 16px;
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  background: var(--superficie);
  box-shadow: var(--ombra-1);
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.scelta:hover { border-color: var(--marca-2); box-shadow: var(--ombra-2); }
.scelta:active { transform: scale(0.99); }
.scelta-icona {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--marca-tenue);
  color: var(--marca);
}
.scelta-icona .icona { width: 27px; height: 27px; }
.scelta-testi { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.scelta-testi strong { color: var(--testo); font-size: 1.05rem; line-height: 1.3; }
.scelta-testi span { color: var(--testo-2); font-size: 0.88rem; line-height: 1.4; }
.freccia { color: var(--tenue); }

.passi { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.passi li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--bordo);
  border-radius: 14px;
  background: var(--superficie);
  font-size: 0.95rem;
}
.numero-passo {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--marca);
  color: var(--su-marca);
  font-size: 0.85rem;
  font-weight: 750;
}
.piede { margin-top: 26px; color: var(--tenue); font-size: 0.85rem; text-align: center; }
.piede p { margin: 6px 0; }

/* --- 2. the documents --------------------------------------------------------------------------------------- */
.cosa-serve { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.cosa-serve li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.cosa-serve .icona { width: 18px; height: 18px; margin-top: 3px; color: var(--accento); stroke-width: 2.2; }
.carica {
  margin: 14px 0 6px;
  padding: 14px;
  border: 1.5px dashed var(--bordo-forte);
  border-radius: 18px;
  background: var(--superficie-2);
}
.carica .piccolo { margin: 12px 0 0; }
.aggiungi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tessera {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100px;
  padding: 12px 8px;
  border: 1px solid var(--bordo);
  border-radius: 14px;
  background: var(--superficie);
  color: var(--marca);
  font-weight: 650;
  box-shadow: var(--ombra-1);
  transition: border-color 0.15s, transform 0.1s;
}
.tessera:hover { border-color: var(--marca-2); }
.tessera:active { transform: scale(0.98); }
.tessera .icona { width: 30px; height: 30px; stroke-width: 1.6; }
.tessera span { color: var(--testo); text-align: center; line-height: 1.25; }
/* minmax(0, 1fr): a long file name is cut with «…» instead of pushing «Quitar» off the screen. */
.elenco-documenti { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.documento {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px 8px 8px;
  border: 1px solid var(--bordo);
  border-radius: 14px;
  background: var(--superficie);
  box-shadow: var(--ombra-1);
}
.miniatura {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--marca-tenue);
  color: var(--marca);
}
.miniatura .icona { width: 22px; height: 22px; }
.documento .info { flex: 1; min-width: 0; }
.documento .nome { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 0.95rem; }
.documento .peso { display: block; color: var(--tenue); font-size: 0.8rem; }
.togli, .informe-salvato .cancella {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--rosso-testo);
}
.togli:hover, .informe-salvato .cancella:hover { background: var(--rosso-tenue); }
.conta { margin: 8px 4px; color: var(--tenue); font-size: 0.88rem; }

/* The questions: the hidden ones (an owner has no deed to sign) take no room. */
.domande-scheda { display: grid; gap: 18px; margin-top: 16px; }
.domande { display: grid; gap: 18px; }
.domanda { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.domanda > span, .domanda legend { font-weight: 600; font-size: 0.95rem; }
.domanda legend { margin-bottom: 8px; padding: 0; }
.opzionale { color: var(--tenue); font-size: 0.82rem; font-weight: 400; }
.domanda input[type=date], .domanda textarea, .riga-codice input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--bordo-forte);
  border-radius: 12px;
  background: var(--superficie);
  color: var(--testo);
  font: inherit;
}
.domanda input[type=date]:focus, .domanda textarea:focus, .riga-codice input:focus {
  border-color: var(--marca);
  outline: 3px solid var(--marca-tenue);
  outline-offset: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--bordo-forte);
  border-radius: 999px;
  background: var(--superficie);
  color: var(--testo);
  font-size: 0.92rem;
  transition: background-color 0.15s, border-color 0.15s;
}
.chip[aria-pressed="true"] { background: var(--marca); border-color: var(--marca); color: var(--su-marca); }

/* --- 3. the wait -------------------------------------------------------------------------------------------- */
.attesa { margin-top: 10px; padding: 30px 18px 22px; text-align: center; }
.spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border: 5px solid var(--marca-tenue);
  border-top-color: var(--marca);
  border-radius: 50%;
  animation: gira 1s linear infinite;
}
@keyframes gira { to { transform: rotate(360deg); } }
.stato-attesa { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; }
.barra-avanzamento { max-width: 320px; height: 6px; margin: 0 auto 20px; overflow: hidden; border-radius: 3px; background: var(--marca-tenue); }
.barra-avanzamento div { width: 0; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--marca), var(--marca-2)); transition: width 0.3s; }
.passi-attesa { display: grid; gap: 11px; max-width: 300px; margin: 0 auto 6px; padding: 0; list-style: none; text-align: left; }
.passi-attesa li { display: flex; align-items: center; gap: 11px; color: var(--tenue); font-size: 0.95rem; }
.segno {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--bordo-forte);
  border-radius: 50%;
}
.segno .icona { width: 13px; height: 13px; stroke-width: 3; }
.passi-attesa li.concluso { color: var(--testo-2); }
.passi-attesa li.concluso .segno { border-color: var(--accento); background: var(--accento); color: var(--superficie); }
.passi-attesa li.ora { color: var(--testo); font-weight: 650; }
.passi-attesa li.ora .segno { border-color: var(--marca); border-right-color: transparent; animation: gira 0.9s linear infinite; }
.passo-attesa { min-height: 1.5em; margin: 10px 0 0; color: var(--testo-2); }
.attesa .piccolo { margin: 8px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .spinner, .passi-attesa li.ora .segno { animation-duration: 3s; }
}

/* --- 4. the report ------------------------------------------------------------------------------------------ */
.fascia { margin: 2px 0 12px; padding: 18px; border-radius: 20px; color: #fff; box-shadow: var(--ombra-2); }
.fascia.green { background: linear-gradient(140deg, #166534 0%, var(--verde) 100%); }
.fascia.yellow { background: linear-gradient(140deg, #92400e 0%, var(--giallo) 100%); }
.fascia.red { background: linear-gradient(140deg, #991b1b 0%, var(--rosso) 100%); }
/* The free preview: the same blue for every report, no colour of the result. */
.fascia.anteprima { background: var(--hero); }
.fascia .etichetta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fascia .etichetta .icona { width: 18px; height: 18px; stroke-width: 2; }
.fascia .titolo { margin: 12px 0 8px; font-size: 1.3rem; font-weight: 750; line-height: 1.3; letter-spacing: -0.01em; }
.fascia .riassunto { margin: 0; }
.fascia .meta { margin: 12px 0 0; font-size: 0.82rem; opacity: 0.95; }
.fatti { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.fatto {
  padding: 5px 11px;
  border: 1px solid var(--bordo);
  border-radius: 999px;
  background: var(--superficie);
  color: var(--testo-2);
  font-size: 0.82rem;
  font-weight: 600;
}

.sezione { margin: 12px 0; padding: 4px 16px 14px; }
.sezione h2, .titolo-scheda { display: flex; align-items: center; gap: 11px; margin: 12px 0 6px; font-size: 1.05rem; line-height: 1.3; }
.icona-scheda {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--marca-tenue);
  color: var(--marca);
}
.icona-scheda .icona { width: 19px; height: 19px; }
.voce { padding: 12px 0; border-top: 1px solid var(--bordo); }
.voce:first-of-type { border-top: 0; }
.voce .principale-voce { font-weight: 650; }
.voce p { margin: 4px 0; }
.fonte { display: flex; align-items: flex-start; gap: 6px; color: var(--tenue); font-size: 0.8rem; line-height: 1.45; }
.fonte .icona { width: 14px; height: 14px; margin-top: 2px; }
.etichette { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.etichetta-voce { padding: 3px 9px; border-radius: 6px; background: var(--marca-tenue); color: var(--marca); font-size: 0.78rem; font-weight: 700; }
.etichetta-voce.forte { background: var(--rosso-tenue); color: var(--errore-testo); }
.cifre { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 8px 0; font-size: 0.95rem; }
.cifre dt { color: var(--tenue); }
.cifre dd { margin: 0; font-variant-numeric: tabular-nums; }
.sezione ul.semplice { margin: 4px 0; padding-left: 20px; }
.sezione ul.semplice li { margin: 7px 0; }
.sezione ul.semplice li::marker { color: var(--tenue); }
.sezione details summary { display: flex; align-items: center; gap: 11px; padding: 10px 0 2px; list-style: none; cursor: pointer; font-weight: 650; }
.sezione details summary::-webkit-details-marker { display: none; }
.sezione details summary .freccia { margin-left: auto; transition: transform 0.15s; }
.sezione details[open] summary .freccia { transform: rotate(90deg); }
.altri { margin-top: 4px; }

/* The free preview: what the full report holds, section by section, with how many points each. */
.contenuto { margin: 4px 0; padding: 0; list-style: none; }
.contenuto li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bordo); }
.contenuto li:first-child { border-top: 0; }
.contenuto li > .icona { width: 19px; height: 19px; color: var(--marca); }
.contenuto .nome-riga { flex: 1; min-width: 0; }
.contenuto .numero {
  flex: none;
  min-width: 2em;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--marca-tenue);
  color: var(--marca);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.contenuto li.vuoto { color: var(--tenue); }
.contenuto li.vuoto > .icona { color: var(--tenue); }
.contenuto li.vuoto .numero { background: transparent; color: var(--tenue); font-weight: 500; }

/* What opens the full report: the code kept on the phone, the payment, a code typed once. */
.sblocco { padding-bottom: 18px; border: 2px solid var(--marca); box-shadow: var(--ombra-2); }
.testa-sblocco { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.testa-sblocco h2 { margin: 14px 0 8px; font-size: 1.15rem; }
.prezzo { flex: none; margin: 12px 0 6px; color: var(--marca); font-size: 1.45rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.vantaggi { display: grid; gap: 9px; margin: 6px 0 4px; padding: 0; list-style: none; }
.vantaggi li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.vantaggi .icona { width: 18px; height: 18px; margin-top: 3px; color: var(--accento); stroke-width: 2.2; }
.sblocco .bottone.grande { margin-top: 14px; }
.sblocco .bottone-testo { display: block; margin: 10px auto 0; }
.sblocco .avviso { margin: 14px 0 0; }
.modulo-codice { display: grid; gap: 6px; margin-top: 8px; }
.modulo-codice label { font-weight: 600; font-size: 0.95rem; }
.riga-codice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.riga-codice input { min-width: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.riga-codice .bottone { width: auto; min-height: 48px; }
.nota-pagamento { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--tenue); font-size: 0.82rem; line-height: 1.45; }
.nota-pagamento .icona { width: 16px; height: 16px; margin-top: 1px; }
.link-privato p { margin: 4px 0 12px; color: var(--testo-2); }
/* Professionals near the home: two official lists, then the map with the postcode or the town. */
a.bottone { text-decoration: none; }
.professionisti > p:first-of-type { margin: 4px 0 0; color: var(--testo-2); }
.pro-ufficiali { display: grid; gap: 10px; margin: 14px 0 18px; }
/* The place on its own line, then the button: a town name stays readable on a narrow phone. */
.riga-zona { display: grid; gap: 8px; }
.riga-zona input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--bordo-forte);
  border-radius: 12px;
  background: var(--superficie);
  color: var(--testo);
  font: inherit;
}
.riga-zona input:focus { border-color: var(--marca); outline: 3px solid var(--marca-tenue); outline-offset: 0; }
.nota-pro { margin: 12px 0 0; }
.avvertenza { margin: 18px 2px; color: var(--tenue); font-size: 0.82rem; }
.azioni { display: grid; gap: 10px; margin: 8px 0; }

/* --- 5. the reports kept on this phone ---------------------------------------------------------------------- */
.lista-informi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.informe-salvato {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--bordo);
  border-radius: 14px;
  background: var(--superficie);
  box-shadow: var(--ombra-1);
}
.informe-salvato > button:first-child {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 10px 12px 14px;
  border: 0;
  border-radius: 14px;
  background: none;
  text-align: left;
}
.pallino { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 4px var(--marca-tenue); }
.pallino.green { background: var(--verde); } .pallino.yellow { background: var(--giallo); } .pallino.red { background: var(--rosso); }
.pallino.anteprima { background: var(--tenue); }
.informe-salvato .testo { flex: 1; min-width: 0; }
.informe-salvato .testo span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.informe-salvato .testo span:first-child { font-weight: 600; }
.informe-salvato .quando { color: var(--tenue); font-size: 0.8rem; }
.informe-salvato .freccia { width: 18px; height: 18px; }
.informe-salvato .cancella { margin-right: 4px; }
