:root{--verde:#005c24;--verde-scuro:#00451b;--arancio:#f09400;--rosso:#b3261e;--testo:#1c1f1d;--testo-tenue:#5b625e;--fondo:#f4f6f4;--superficie:#fff;--bordo:#d9dfda;color:var(--testo);background:var(--fondo);-webkit-font-smoothing:antialiased;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:18px;line-height:1.45}*{box-sizing:border-box}body{background:var(--fondo);margin:0}.app{flex-direction:column;min-height:100dvh;display:flex}.testata{background:var(--superficie);border-bottom:4px solid var(--verde);align-items:center;gap:20px;padding:12px 24px;display:flex}.testata-logo{width:auto;height:48px}.testata-titolo{color:var(--verde);margin:0;font-size:1.4rem;font-weight:650}.contenuto{flex:1;width:100%;max-width:1100px;margin:0 auto;padding:24px}.nota{color:var(--testo-tenue);margin:0 0 20px}.griglia{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;display:grid}.riquadro{background:var(--superficie);border:1px solid var(--bordo);border-radius:14px;padding:20px 24px}.riquadro h2{color:var(--testo-tenue);margin:0 0 12px;font-size:1.1rem;font-weight:600}.stato{margin:0 0 12px;font-size:1.5rem;font-weight:700}.stato-ok{color:var(--verde)}.stato-errore{color:var(--rosso)}.stato-attesa{color:var(--testo-tenue)}.dati{grid-template-columns:auto 1fr;gap:6px 16px;margin:0 0 16px;display:grid}.dati dt{color:var(--testo-tenue)}.dati dd{overflow-wrap:anywhere;margin:0;font-weight:550}.pulsante{background:var(--verde);color:#fff;min-height:52px;font:inherit;cursor:pointer;border:none;border-radius:10px;padding:0 28px;font-weight:650}.pulsante:active{background:var(--verde-scuro)}.pulsante:disabled{opacity:.5}.pulsante-chiaro{color:var(--verde);background:#fff}.avviso-aggiornamento{background:var(--verde);color:#fff;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;font-weight:600;display:flex;position:sticky;bottom:0}.contenuto-stretto{max-width:640px}.testata-titolo{flex:1}.riga-titolo{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.titolo-pagina{margin:0;font-size:1.3rem}.riga-pulsanti{flex-wrap:wrap;gap:12px;display:flex}.pulsante-secondario{background:var(--superficie);color:var(--verde);border:2px solid var(--verde)}.pulsante-secondario:active{background:var(--fondo)}.dati-riga{display:contents}.messaggio-errore,.messaggio-avviso{border-radius:8px;padding:10px 14px;font-weight:550}.messaggio-errore{color:var(--rosso);background:#fbe9e7}.messaggio-avviso{color:#7a4a00;background:#fff3df}.campo{flex-direction:column;gap:6px;margin:0 0 16px;display:flex}.campo span{color:var(--testo-tenue);font-weight:600}.campo input{border:2px solid var(--bordo);min-height:52px;font:inherit;border-radius:10px;padding:0 14px;font-family:ui-monospace,SF Mono,Menlo,monospace}.campo input:focus{border-color:var(--verde);outline:none}.stato-coda{border:1px solid var(--bordo);background:var(--superficie);min-height:44px;color:var(--testo);font:inherit;cursor:pointer;border-radius:22px;align-items:center;gap:10px;padding:0 16px;font-size:.9rem;font-weight:600;display:flex}.stato-coda-punto{background:var(--testo-tenue);border-radius:50%;width:12px;height:12px}.stato-coda-ok .stato-coda-punto{background:var(--verde)}.stato-coda-avviso{border-color:var(--arancio);background:#fff3df}.stato-coda-avviso .stato-coda-punto{background:var(--arancio)}.stato-coda-errore{border-color:var(--rosso);color:var(--rosso);background:#fbe9e7}.stato-coda-errore .stato-coda-punto{background:var(--rosso)}.turno{background:var(--superficie);border:1px solid var(--bordo);border-left:8px solid var(--verde);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:16px 24px;display:flex}.turno-vuoto{border-left-color:var(--arancio)}.turno-scaduto{border-left-color:var(--rosso);background:#fbe9e7}.turno-testo{flex-direction:column;gap:2px;display:flex}.turno-nome{font-size:1.4rem}.turno-avviso{color:var(--rosso);font-weight:650}.turno-pulsanti{gap:12px;display:flex}.velo{z-index:10;background:#00000073;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.tastierino{background:var(--superficie);text-align:center;border-radius:18px;width:100%;max-width:380px;padding:24px}.tastierino-titolo{margin:0 0 16px;font-size:1.25rem}.tastierino-punti{justify-content:center;gap:18px;display:flex}.punto{border:2px solid var(--verde);border-radius:50%;width:20px;height:20px}.punto.pieno{background:var(--verde)}.tastierino-errore{min-height:1.5em;color:var(--rosso);margin:12px 0;font-weight:600}.tastierino-tasti{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.tasto{border:1px solid var(--bordo);background:var(--fondo);min-height:72px;color:var(--testo);font:inherit;cursor:pointer;border-radius:12px;font-size:1.8rem;font-weight:600}.tasto:active{background:var(--bordo)}.tasto-testo{color:var(--testo-tenue);font-size:1rem}.riquadro .macchina-sigla{color:var(--verde);margin:0;font-size:2rem}.macchina-nome{color:var(--testo-tenue);margin:0 0 12px}.macchina .nota{margin:0;font-size:.9rem}
