* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #f3f4f7; color: #1c2230; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header { display: flex; justify-content: space-between; align-items: center; background: #1c2230; color: #fff; padding: 14px 16px; }
header h1 { font-size: 1.2rem; }
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; display: grid; gap: 20px; }
.scheda { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.08); display: grid; gap: 14px; }
.stretta { max-width: 360px; width: 100%; margin: 24px auto; }
.due { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
input, textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c8cdd8; border-radius: 8px; width: 100%; }
button { font: inherit; font-weight: 600; padding: 12px 18px; border: 0; border-radius: 8px; background: #3552d6; color: #fff; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
button.leggero { background: #e7eaf2; color: #1c2230; padding: 8px 12px; font-size: .88rem; }
header button.leggero { background: #343c52; color: #fff; }
button.rosso { color: #a11d2b; }
strong.rosso { color: #a11d2b; }
a { color: #2743c4; }
.avviso { padding: 12px 16px; border-radius: 8px; }
.avviso.ok { background: #e1f4e5; }
.avviso.errore { background: #fbe3e5; }
article { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid #e6e8ee; padding-top: 12px; }
article > div { flex: 1 1 220px; overflow-wrap: anywhere; }
article form { display: flex; gap: 8px; align-items: center; }
label.riga { display: flex; align-items: center; gap: 4px; font-weight: 400; font-size: .8rem; }
label.riga input { width: auto; }
.attesa { font-size: .9rem; color: #3552d6; }
select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c8cdd8; border-radius: 8px; width: 100%; background: #fff; }
#vicine form { display: grid; gap: 14px; }
.manuale form { display: grid; gap: 14px; margin-top: 14px; }
dialog.creazione { margin: auto; width: min(90vw, 420px); border: 0; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,.25); }
dialog.creazione::backdrop { background: rgba(28,34,48,.6); }
dialog.creazione progress { display: block; width: 100%; height: 16px; margin: 12px 0 8px; accent-color: #3552d6; }
dialog.creazione strong { display: block; font-size: 1.4rem; }
dialog.creazione button { margin-top: 12px; }
.posizione, .stato { font-size: .9rem; overflow-wrap: anywhere; }
.posizione:empty, .stato:empty { display: none; }
.risultati { list-style: none; display: grid; gap: 12px; }
.risultati li { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid #e6e8ee; padding-top: 12px; }
.risultati li > div { flex: 1 1 240px; overflow-wrap: anywhere; }
.risultati p { font-size: .88rem; color: #4a5166; }
.link a { margin-right: 14px; }
.etichetta { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: #e7eaf2; font-size: .75rem; font-weight: 600; }
.etichetta.libera { background: #ffe7b0; color: #5a3d00; }
.fonte { font-size: .75rem; }
.attribuzione { font-family: Roboto, Arial, sans-serif; font-size: .8rem; color: #5e5e5e; text-align: right; }
.scelta { background: #eef2ff; border-radius: 8px; padding: 12px; display: grid; gap: 6px; font-size: .9rem; justify-items: start; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
header h1 a { color: inherit; text-decoration: none; }
.intro { text-align: center; padding: 8px 0; }
.attenzione { border: 2px solid #e0a100; }
.mappa { height: 340px; border-radius: 10px; background: #e7eaf2; }
.fumetto { display: grid; gap: 6px; color: #1c2230; max-width: 200px; }
.anteprima { width: 100%; height: 560px; border: 1px solid #c8cdd8; border-radius: 10px; background: #fff; }
details.scheda { display: block; }
details > summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.blocco { display: grid; gap: 14px; margin-top: 14px; }
h3 { font-size: 1rem; margin-top: 8px; }
label.riga.servizio, .blocco > label.riga { font-size: .92rem; align-items: flex-start; gap: 8px; }
label.riga input { margin-top: 3px; }
input[type=color] { height: 46px; padding: 4px; }
.galleria { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 10px; }
.galleria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.galleria div { display: flex; flex-wrap: wrap; gap: 6px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; background: #f3f4f7; padding: 10px; border-radius: 8px; margin-top: 10px; }
.pulsante { background: #3552d6; color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.prezzo { font-size: 1.1rem; }
footer { text-align: center; padding: 16px; font-size: .85rem; }
footer a { margin: 0 8px; color: #4a5166; }
.legale main { display: block; } .legale h2 { margin: 20px 0 6px; font-size: 1.1rem; } .legale p { margin-bottom: 8px; }
.condividi { display: flex; flex-wrap: wrap; gap: 8px; }
.condividi a { text-decoration: none; }
.qr { width: 180px; height: 180px; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
td, th { border-bottom: 1px solid #e6e8ee; padding: 6px; text-align: left; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legale main { max-width: 760px; } .legale ul { margin: 0 0 8px 20px; } .legale li { margin-bottom: 4px; } .legale h1 { margin-bottom: 4px; } .legale p, .legale li { overflow-wrap: anywhere; }
header nav.utente { display: flex; align-items: center; gap: 8px; }
header nav.utente .pulsante, header nav.utente small { background: #343c52; color: #fff; font-size: .88rem; padding: 8px 12px; }
header nav.utente small { background: none; }
.numeri { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.numeri p { background: #f3f4f7; border-radius: 8px; padding: 10px 12px; font-size: .85rem; color: #4a5166; }
.numeri strong { display: block; font-size: 1.3rem; color: #1c2230; }
.tabella { overflow-x: auto; }
.tabella table { min-width: 560px; }
#fai-pagare { border: 2px solid #3552d6; }
.passi { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #f3f4f7; padding: 8px 0; }
.passi .pulsante { display: grid; justify-items: center; text-align: center; padding: 10px 6px; font-size: .85rem; line-height: 1.2; }
.passi small { font-size: 1.2rem; font-weight: 700; }
.qr-grande { background: #fff; }
.qr-grande main { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 24px 16px; max-width: 520px; }
.qr-grande h1 { font-size: 1.5rem; }
.qr-grande img { width: min(80vw, 380px); height: auto; }
.qr-grande .piccolo { font-size: .7rem; color: #4a5166; overflow-wrap: anywhere; }
@media print { .qr-grande button { display: none; } }
progress { width: 100%; height: 14px; accent-color: #3552d6; }
.temi { border: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.temi legend { font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.temi label { display: flex; align-items: center; gap: 8px; border: 2px solid #e6e8ee; border-radius: 10px; padding: 6px; font-weight: 600; font-size: .85rem; cursor: pointer; }
.temi label:has(input:checked) { border-color: #3552d6; background: #eef1ff; }
.temi input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.temi input:focus-visible + .campione { outline: 3px solid #3552d6; outline-offset: 2px; }
.campione { flex: none; position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; font: 700 1rem/1 var(--f); }
.campione i { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid #fff; }
.nome-tema { display: grid; line-height: 1.2; }
.nome-tema small { font-weight: 400; font-size: .7rem; color: #4a5166; }
.modelli { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.schema { flex: none; display: grid; gap: 3px; width: 44px; height: 52px; padding: 4px; border-radius: 6px; background: #e7eaf2; }
.schema i { display: block; border-radius: 2px; background: #9aa3b8; }
.schema i:first-child { background: #3552d6; }
.schema-classico, .schema-vetrina, .schema-essenziale, .schema-menu { grid-template-rows: 2fr 1fr 1fr; }
.schema-vetrina i:first-child { width: 70%; }
.schema-essenziale i:first-child { background: #c8cfe0; border-bottom: 3px solid #3552d6; }
.schema-menu i:not(:first-child) { background: none; border-bottom: 2px dotted #3552d6; }
.schema-foto { grid-template-rows: 4fr 1fr 0; } .schema-foto i:first-child { background: linear-gradient(#5e7bdc, #23336f); }
.schema-diviso { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; } .schema-diviso i:nth-child(2) { background: #5e7bdc; } .schema-diviso i:nth-child(3) { grid-column: 1 / -1; }
.schema-biglietto { padding: 8px 10px; background: #dde2ee; grid-template-rows: 1fr 2fr 0; } .schema-biglietto i:nth-child(2) { background: #fff; }
.schema-schede { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; } .schema-schede i:first-child { grid-column: 1 / -1; }
.schema-rivista { grid-template-rows: 1fr 3fr 1fr; } .schema-rivista i:first-child { background: none; border-top: 2px solid #3552d6; border-bottom: 2px solid #3552d6; } .schema-rivista i:nth-child(2) { background: repeating-linear-gradient(90deg, #9aa3b8 0 45%, transparent 45% 55%); }
.schema-manifesto { grid-template-rows: 3fr 1fr 2fr; } .schema-manifesto i:first-child { background: #f2c94c; border: 2px solid #1c2230; } .schema-manifesto i:nth-child(2) { background: #1c2230; }
.schema-polaroid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; background: #f3f4f7 radial-gradient(#c8cfe0 1px, transparent 1px) 0 0 / 6px 6px; } .schema-polaroid i { background: #fff; border: 2px solid #9aa3b8; transform: rotate(-6deg); } .schema-polaroid i:nth-child(2) { transform: rotate(6deg); } .schema-polaroid i:first-child { grid-column: 1 / -1; background: #3552d6; transform: none; border: 0; border-radius: 2px 2px 40% 40%; }
.schema-laterale { grid-template-columns: 1fr 2fr; grid-template-rows: 1fr 1fr; } .schema-laterale i:first-child { grid-row: span 2; background: #1c2230; }
.schema-notturno { background: #111; grid-template-rows: 2fr 1fr 1fr; } .schema-notturno i { background: #444; } .schema-notturno i:first-child { background: radial-gradient(#3552d6, #111); } .schema-notturno i:nth-child(2) { background: #c9a24a; height: 2px; align-self: center; }
.stili { border: 0; display: grid; gap: 8px; }
.griglia-stili { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; padding-top: 8px; }
.stili legend { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.categoria-stili { border: 1px solid #e6e8ee; border-radius: 10px; padding: 8px 10px; }
.categoria-stili > summary { font-size: .9rem; font-weight: 700; cursor: pointer; }
.categoria-stili > summary small { font-weight: 400; color: #4a5166; }
.stili label { display: grid; gap: 6px; border: 2px solid #e6e8ee; border-radius: 12px; padding: 6px; cursor: pointer; font-weight: 400; }
.stili label:has(input:checked) { border-color: #3552d6; background: #eef1ff; }
.stili input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stili input:focus-visible + .anteprima-stile { outline: 3px solid #3552d6; outline-offset: 2px; }
.anteprima-stile { position: relative; display: grid; align-content: space-between; min-height: 76px; padding: 10px; border-radius: 8px; background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; overflow: hidden; }
.anteprima-stile::after { content: ""; position: absolute; right: 0; bottom: 0; width: 38%; height: 38%; background: var(--d); border-top-left-radius: 14px; box-shadow: inset 0 3px 0 var(--c); }
.anteprima-stile b { font: 400 1rem/1.1 var(--f); position: relative; z-index: 1; }
.anteprima-stile .schema { position: relative; z-index: 1; width: 30px; height: 34px; padding: 3px; gap: 2px; }
.stili small { font-size: .7rem; color: #4a5166; line-height: 1.3; }
details.avanzate { margin-top: 6px; } details.avanzate > summary { font-size: .92rem; font-weight: 600; margin-bottom: 8px; }
.schema-social { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; } .schema-social i:first-child { grid-column: 1 / -1; border-radius: 50% 0 0 50%; background: linear-gradient(90deg, #3552d6 30%, #c8cfe0 30%); } .schema-social i:nth-child(n+2) { background: #5e7bdc; }
.schema-percorso { grid-template-columns: 6px 1fr; grid-template-rows: 1fr 1fr 1fr; } .schema-percorso i:first-child { grid-row: span 3; background: #3552d6; }
.schema-retro { background: repeating-conic-gradient(#c8cfe0 0 10deg, #e7eaf2 10deg 20deg); grid-template-rows: 1fr 2fr 1fr; } .schema-retro i:nth-child(2) { background: #fff; border: 2px solid #3552d6; border-radius: 6px; } .schema-retro i:not(:nth-child(2)) { visibility: hidden; }
.schema-tecnico { background: #f7f9fb linear-gradient(#c8d6e5 1px, transparent 1px) 0 0 / 6px 6px; grid-template-rows: 1fr 1fr 1fr; } .schema-tecnico i { background: none; border: 1px solid #3552d6; border-radius: 0; }
.schema-natura { grid-template-rows: 2fr 1fr; grid-template-columns: 1fr 1fr; } .schema-natura i { border-radius: 60% 40% 55% 45%; } .schema-natura i:first-child { grid-column: 1 / -1; background: #5e9b6a; }
.schema-lusso { background: #fdfcf9; grid-template-rows: 1fr 2fr 1fr; padding: 6px 10px; } .schema-lusso i { background: none; border-top: 1px solid #c9a24a; border-radius: 0; } .schema-lusso i:nth-child(2) { border: 1px solid #c9a24a; }
.schema-neon { background: #07060f; grid-template-rows: 2fr 1fr 1fr; } .schema-neon i { background: #1b1630; box-shadow: 0 0 4px #ff4fd8; } .schema-neon i:first-child { background: linear-gradient(transparent 60%, #ff4fd8 60% 64%, transparent 64%), #07060f; }
.schema-app { padding: 4px 8px; grid-template-rows: 2fr 1fr 1fr; } .schema-app i { border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); } .schema-app i:first-child { background: #3552d6; }
.schema-cartolina { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; background: #5e7bdc; } .schema-cartolina i:first-child { background: #9ab0f0; } .schema-cartolina i:nth-child(2) { background: #fffdf8; } .schema-cartolina i:nth-child(3) { grid-column: 1 / -1; background: repeating-linear-gradient(#fffdf8 0 4px, #c8cfe0 4px 5px); }
.scegli-foto { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scegli-foto legend { font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.pulsante-foto { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 8px; background: #e7eaf2; font-weight: 600; cursor: pointer; }
.pulsante-foto:first-of-type { background: #3552d6; color: #fff; }
.pulsante-foto input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pulsante-foto:focus-within { outline: 3px solid #3552d6; outline-offset: 2px; }
.foto-scelte { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; }
.foto-scelte:empty { display: none; }
.foto-scelte img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.controlli { list-style: none; padding: 0; } .controlli li { padding: 4px 0; }
.piani { border: 1px solid #ddd; border-radius: 10px; padding: 10px 14px; margin: 12px 0; } .amico { margin-top: 18px; padding: 14px; border-radius: 10px; background: #f4f8f2; }
.registro caption { text-align: left; font-weight: 700; padding: 8px 0; } .registro th { width: 28%; vertical-align: top; text-align: left; } .guida blockquote { border-left: 4px solid #ccc; padding: 6px 12px; margin: 10px 0; font-style: italic; }
@media print { header, footer, .registro button, .registro .avviso { display: none; } .scheda { box-shadow: none; border: 0; } }
.messaggio { border-top: 1px solid #eee; padding: 10px 0; }
.riga-agenda { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid #f0f0f0; } .giorno-agenda { margin-top: 10px; }

/* ---------- aspetto «Vetrina Express»: intestazione, banco a due colonne, schede e anteprima ---------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("font/bricolage-grotesque-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("font/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("font/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("font/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --sfondo: #e9ecf0; --pannello: #fff; --inch: #14171c; --tenue: #5a6170; --riga: #d3d8e0; --blu: #2742f5; --blu-chiaro: #e4e8ff; }
body { background: var(--sfondo); color: var(--inch); font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, details > summary { font-family: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif; }
button, .pulsante { background: var(--blu); border-radius: 10px; }
button.leggero, .pulsante.leggero { background: #eef0f4; color: var(--inch); border: 1px solid var(--riga); }
a { color: var(--blu); }
.attesa { color: var(--blu); }
input, textarea, select { border-color: var(--riga); border-radius: 10px; background: #fff; }
header { background: var(--pannello); color: var(--inch); border-bottom: 1px solid var(--riga); padding: 10px 20px; gap: 12px; flex-wrap: wrap; }
.marca { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bollo { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 3px solid var(--inch); background: radial-gradient(circle, var(--inch) 0 5px, transparent 6px); }
.marca h1 { font-size: 1.25rem; line-height: 1.15; }
.marca small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tenue); }
header button.leggero, header nav.utente .pulsante { background: #eef0f4; color: var(--inch); border: 1px solid var(--riga); }
header nav.utente small { color: var(--tenue); }
.scheda { box-shadow: none; border: 1px solid var(--riga); }
.scheda.attenzione { border: 2px solid #e0a100; }
main.banco { max-width: none; padding: 0; gap: 0; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); align-items: start; }
.lato { display: grid; gap: 14px; align-content: start; padding: 16px; min-width: 0; }
.lato > * { min-width: 0; }
.lato .due { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.lato .intro { text-align: left; }
.lato .intro h2 { font-size: 1.35rem; }
.gruppo { display: grid; gap: 14px; }
.gruppo:empty { display: none; }
.testa-sito h2 { font-size: 1.3rem; overflow-wrap: anywhere; }
.schede-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--riga); position: sticky; top: 0; z-index: 6; background: var(--sfondo); }
.schede-nav button { background: none; color: var(--tenue); border-radius: 0; border-bottom: 3px solid transparent; padding: 10px 8px; font-size: .86rem; white-space: nowrap; }
.schede-nav button[aria-pressed="true"] { color: var(--inch); border-bottom-color: var(--blu); }
.modifica-sito #form-salva { margin-top: 0; }
.modifica-sito .blocco > .blocco { margin-top: 0; }
.quattro { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.salva-barra { position: sticky; bottom: 0; display: grid; gap: 4px; padding: 10px 0 2px; background: var(--pannello); }
.non-salvato { color: #9a5200; font-weight: 600; }
.palco { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 12px; padding: 14px 20px 20px; border-left: 1px solid var(--riga); min-width: 0; }
.attrezzi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nome-palco { font: 700 1rem "Bricolage Grotesque", system-ui, sans-serif; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pillola { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--blu-chiaro); color: #1b2a99; }
.pillola.esempio { background: #fff1de; color: #9a5200; }
.scambio { display: inline-flex; border: 1px solid var(--riga); border-radius: 10px; overflow: hidden; background: var(--pannello); }
.scambio button { background: none; color: var(--tenue); border-radius: 0; padding: 7px 12px; font-size: .82rem; }
.scambio button[aria-pressed="true"] { background: var(--inch); color: #fff; }
.cornice { flex: 1; display: flex; justify-content: center; background: #f5f6f8; border: 1px solid var(--riga); border-radius: 14px; padding: 12px; min-height: 0; }
.cornice iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
.palco.telefono .cornice iframe { width: 390px; max-width: 100%; }
@media (max-width: 900px) {
  main.banco { grid-template-columns: minmax(0, 1fr); }
  .palco { position: static; height: 80vh; height: 80dvh; border-left: 0; border-top: 1px solid var(--riga); padding: 12px; }
  .cornice { padding: 6px; }
}
@media print { .palco { display: none; } main.banco { display: block; } }

/* ---------- aiuti nel banco ---------- */
.errato input, .errato select { border-color: #b3261e; background: #fff6f5; }
label.riga.errato { background: #fff6f5; border-radius: 8px; padding: 4px 6px; }
.errore-campo { display: block; color: #b3261e; font-weight: 600; margin-top: 3px; }
.evidenza { outline: 3px solid #2742f5; outline-offset: 3px; }
.testa-sito { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; }
.testa-sito form { margin: 0; }
.testa-sito .scadenza { width: 100%; margin: 0; }
.cosa-manca summary progress { width: 90px; height: 8px; margin-left: 8px; vertical-align: middle; }
.cosa-manca ul { margin: 8px 0 0; padding-left: 18px; }
.cosa-manca li { padding: 3px 0; }
.schede-nav { flex-wrap: wrap; }
.azioni-sito { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
article.sito[hidden] { display: none; }
.scade { color: #9a5b00; font-weight: 600; }
.rispondi { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.galleria .comandi-foto { display: flex; flex-wrap: wrap; gap: 4px; }
.galleria .ritaglio summary { font-size: .85rem; }
.galleria .ritaglio select, .galleria .ritaglio button { margin-top: 4px; }
.righe-caselle, .orari-caselle { display: grid; gap: 6px; margin: 2px 0 10px; }
.righe-caselle > div { display: grid; gap: 8px; }
.riga-casella { display: grid; grid-template-columns: 1fr auto; gap: 4px; padding-bottom: 8px; border-bottom: 1px dashed #d5d9e2; }
.riga-casella input { grid-column: 1; margin: 0; }
.riga-casella .togli-riga { grid-column: 2; grid-row: 1; margin: 0; padding: 6px 10px; }
.orari-caselle .giorno { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px dashed #d5d9e2; }
.orari-caselle .giorno strong { flex: 1; order: 1; }
.orari-caselle .giorno label.riga { order: 2; margin: 0; }
.orari-caselle .giorno button { order: 3; margin: 0; width: auto; padding: 3px 8px; font-size: .78rem; }
.orari-caselle .giorno input[type=text] { order: 4; flex: 1 1 40%; width: auto; min-width: 0; margin: 0; }
.orari-caselle input:disabled { opacity: .45; }
.passo { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.passo > legend { font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: 6px; }
.passi-acquisto { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.passi-acquisto button { margin: 0; padding: 6px 10px; font-size: .85rem; background: #eef0f5; color: #333a4a; }
.passi-acquisto button[aria-current="step"] { background: #14171f; color: #fff; }
.passi-comandi { display: flex; gap: 8px; justify-content: space-between; }
.passi-comandi button:last-child { margin-left: auto; }
.vedi-modifica { display: none; }
@media (max-width: 900px) {
  body.una-vista { padding-bottom: 68px; }
  .vedi-modifica:not([hidden]) { display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 10px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.22); }
  .vedi-modifica button { flex: 1; padding: 12px; font-size: .95rem; }
  body.una-vista .palco { display: none; }
  body.una-vista.vedi .palco { display: flex; height: calc(100vh - 150px); height: calc(100dvh - 150px); }
  body.una-vista.vedi .lato, body.una-vista.vedi footer { display: none; }
  body.una-vista .attrezzi .dispositivo { display: none; }
  body.una-vista .salva-barra { bottom: 64px; }
  body.una-vista .salva-barra::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 66px; background: var(--pannello); }
  .schede-nav { gap: 0; }
  .schede-nav button { flex: 1 0 auto; padding-left: 3px; padding-right: 3px; font-size: .8rem; }
}
