/* © 2026 GeluStudio (gelustudio.com). A demo with made-up data.
   Ideas are welcome; the code, text and drawings are not licensed for reuse. */
/* The car diagram, shared by every screen.
   Uses the tokens --sotto, --testo-2/3, --blu, --blu-premuto, --blu-3, --blu-tenue,
   --rosso, --rosso-tenue, --rad-s: each page defines them. */
.pillola{border-radius:999px;padding:2px 9px;font-size:11.5px;font-weight:600}

.zona-scocca{background:var(--sotto);border-radius:var(--rad-s);padding:16px 16px 14px;margin-bottom:20px}
.zona-scocca .titolo{font-size:13px;font-weight:600;color:var(--testo-2);text-align:center;margin-bottom:12px}
.scocca{width:100%;max-width:188px;margin:0 auto;display:block}
.scocca .parte{fill:#EAECF0;stroke:#DADDE3;stroke-width:1.5;stroke-linejoin:round;transition:fill .12s,stroke .12s}
.scocca.viva .pannello{cursor:pointer}
.scocca.viva .pannello:hover .parte{fill:var(--parte-hover);stroke:var(--blu-3)}
.scocca .parte.sel{fill:var(--blu);stroke:var(--blu)}
.scocca.viva .pannello:hover .parte.sel{fill:var(--blu-premuto);stroke:var(--blu-premuto)}
/* The target: the same shape thickened by a transparent stroke, so a gloved
   finger still catches the thin parts. Invisible. */
.scocca .bersaglio{fill:transparent;stroke:transparent;stroke-linejoin:round;pointer-events:all}
.scocca.mostra-bersagli .bersaglio{fill:rgba(220,46,46,.08);stroke:rgba(220,46,46,.28)}
.scocca .parte.rif{fill:#DC2E2E;stroke:#DC2E2E}
.scocca .ruota{fill:#C9CDD4}
.scocca .verso{fill:#A8AEB8;font-size:10.5px;text-anchor:middle;letter-spacing:.06em}
.etichetta-parte{text-align:center;font-size:13px;font-weight:600;color:var(--testo-2);margin-top:10px;min-height:19px}
.etichetta-parte.attesa{font-weight:400;color:var(--testo-3)}
.parti-scelte{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;justify-content:center}
.parti-scelte .pillola{background:var(--blu-tenue);color:var(--blu)}
.parti-scelte .pillola.rif{background:var(--rosso-tenue);color:var(--rosso)}
.parti-scelte .nessuna{font-size:12.5px;color:var(--testo-3)}
