/* HubCommesse - sito pubblico. Nessuna risorsa esterna (font di sistema): niente trasferimenti di dati a terzi. */
:root {
  --navy: #2f4466;
  --navy-2: #22324d;
  --accent: #4f63d2;
  --accent-2: #3e51b8;
  --accent-soft: #eef0fc;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --text: #1c2330;
  --muted: #5d6779;
  --line: #dfe3ea;
  --ok: #1d7a4c; --ok-bg: #e7f5ee;
  --warn: #8a5a00; --warn-bg: #fff4dc;
  --err: #b42318; --err-bg: #fdecea;
  --info: #2c4f9e; --info-bg: #eaf0fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #a9b8d6; --navy-2: #c9d3e8;
    --accent: #8aa0ff; --accent-2: #a7b7ff; --accent-soft: #1f2640;
    --bg: #0e1013; --surface: #171a1f; --surface-2: #1f242b;
    --text: #e7eaf0; --muted: #9aa3b2; --line: #2e343c;
    --ok: #6fd3a0; --ok-bg: #12291f; --warn: #f2c46b; --warn-bg: #2b2412;
    --err: #ff9b91; --err-bg: #2e1614; --info: #9fb7ff; --info-bg: #182036;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
  .brand img, .footer-logo { background: #fff; border-radius: 8px; padding: 4px 8px; }   /* il logo ha lo sfondo bianco */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; color: var(--text); }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font: .95em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.narrow-sm { max-width: 480px; }
.section { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------------------------------------------------------------- pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary, .btn-primary:hover { color: #0e1013; } }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-lg { padding: 13px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: gira .7s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.danger, .btn.danger { color: var(--err) !important; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------------- testata */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 180px; height: auto; display: block; }
.brand-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; position: relative; content: ""; }
.menu-ico::before { position: absolute; top: -6px; } .menu-ico::after { position: absolute; top: 6px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .brand img { width: 150px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav .btn { margin-top: 6px; }
}

/* ---------------------------------------------------------------- hero */
.hero { background: linear-gradient(160deg, var(--surface) 0%, var(--accent-soft) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 64px 16px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-points li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.hero-points strong { display: block; } .hero-points span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; padding: 40px 16px; gap: 28px; } }

/* ---------------------------------------------------------------- piani (card parallele) */
.piani { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto 20px; align-items: stretch; }
.piano { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.piano-top { border: 2px solid var(--accent); }
.piano .btn { margin-top: auto; }
.ribbon { position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .ribbon { color: #0e1013; } }
.prezzo { margin: 4px 0 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.prezzo .cifra { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.prezzo .per, .prezzo .da { color: var(--muted); font-size: .95rem; }
ul.check { list-style: none; padding: 0; margin: 12px 0 18px; }
ul.check li { padding: 5px 0 5px 28px; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.fasce { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .92rem; }
.fasce th, .fasce td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.fasce th { color: var(--muted); font-weight: 600; }
.piani-compatte .piano { padding: 20px 18px; }
.piani-compatte ul.check { margin: 6px 0 12px; font-size: .93rem; }
@media (max-width: 680px) { .piani { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- come funziona, store */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps strong { display: block; } .steps span { color: var(--muted); font-size: .93rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.store { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; border-radius: 10px; padding: 8px 16px; text-decoration: none; min-width: 170px; border: 1px solid #333; }
.store-btn:hover { color: #fff; background: #000; }
.store-btn small { display: block; font-size: .7rem; opacity: .8; line-height: 1; }
.store-btn span:last-child { font-weight: 600; font-size: 1.05rem; line-height: 1.2; text-align: left; }
.store-ico { width: 24px; height: 24px; background: #fff; flex: none; }
.store-play { clip-path: polygon(10% 0, 95% 50%, 10% 100%); }
.store-apple { border-radius: 45% 45% 50% 50%; }
.store-web { border-radius: 50%; }

/* ---------------------------------------------------------------- card, moduli */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
fieldset.card { min-width: 0; }
fieldset.card legend { font-weight: 700; font-size: 1.1rem; padding: 0 6px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 400 1rem var(--font); color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check-line input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.field-err { display: block; color: var(--err); font-weight: 500; font-size: .85rem; margin-top: 4px; }
.grid2, .grid3, .grid4 { display: grid; gap: 0 16px; }
.grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1fr 2fr 1fr; } .grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; }
.inline-form input { width: auto !important; display: inline-block !important; margin: 0 !important; padding: 6px 8px !important; font-size: .85rem !important; }
.filtri { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.filtri label { margin: 0; } .filtri input, .filtri select { min-width: 150px; }

/* ---------------------------------------------------------------- messaggi, badge */
.flash-box { padding-top: 20px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.alert-errore { background: var(--err-bg); color: var(--err); border-color: color-mix(in srgb, var(--err) 25%, transparent); }
.alert-info { background: var(--info-bg); color: var(--info); border-color: color-mix(in srgb, var(--info) 25%, transparent); }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); } .badge-errore { background: var(--err-bg); color: var(--err); }
.badge-info { background: var(--info-bg); color: var(--info); } .badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-muted { background: var(--surface-2); color: var(--muted); }
mark.todo { background: var(--warn-bg); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* ---------------------------------------------------------------- registrazione */
.stepper { list-style: none; display: flex; padding: 0; margin: 0 0 20px; gap: 8px; counter-reset: st; }
.stepper li { flex: 1; counter-increment: st; font-size: .85rem; color: var(--muted); border-top: 3px solid var(--line); padding-top: 6px; }
.stepper li::before { content: counter(st) ". "; }
.stepper li.is-on { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.ok-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); font-size: 2rem; margin: 0 auto 12px; }

/* ---------------------------------------------------------------- area personale */
.grid-area { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid-area { grid-template-columns: 1fr; } }
.versione { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.versione-nome { font-size: 1.6rem; font-weight: 800; }
.versione-nome.is-premium { color: var(--accent); }
.list { padding-left: 18px; } .list li { margin-bottom: 6px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.head-row h1 { margin: 0; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 12px; }
.dl dt { color: var(--muted); font-size: .9rem; } .dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 8px; } }
.bonifico { border-left: 4px solid var(--accent); }
.copy-btn { margin-left: 8px; font-size: .75rem; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------- scelta della fascia */
.fasce-scelta { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.fascia { position: relative; border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; margin: 0; font-weight: 400; display: flex; flex-direction: column; gap: 2px; }
.fascia input { position: absolute; opacity: 0; }
.fascia:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.fascia:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.fascia.is-disabled { opacity: .45; cursor: not-allowed; }
.fascia-utenti { font-weight: 700; } .fascia-prezzo { font-size: 1.3rem; font-weight: 800; }
.fascia-prezzo small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.totale-box { display: flex; justify-content: space-between; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 16px 18px; margin: 20px 0 16px; }
.totale-box strong { font-size: 1.5rem; }

/* ---------------------------------------------------------------- tabelle e area riservata */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; white-space: nowrap; }
.table tr:hover td { background: var(--surface-2); }
.table .num { text-align: right; white-space: nowrap; }
.table-compact th, .table-compact td { padding: 6px 8px; }
.table tr.is-old td { color: var(--muted); }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpi span { display: block; color: var(--muted); font-size: .85rem; } .kpi strong { font-size: 1.5rem; }
.pager { display: flex; justify-content: space-between; margin-top: 12px; }

/* ---------------------------------------------------------------- documenti legali */
.doc h2 { margin-top: 1.8em; font-size: 1.2rem; }
.doc li { margin-bottom: .4em; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
summary { cursor: pointer; font-weight: 600; }

/* ---------------------------------------------------------------- piè di pagina */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0 20px; margin-top: 24px; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { width: 140px; margin-bottom: 8px; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; align-items: flex-start; }
.footer-copy { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------------------------------------------------------------- cookie */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; justify-content: center; }
.cookie-in { position: relative; max-width: 980px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  padding: 20px 48px 20px 22px; display: flex; gap: 20px; align-items: center; }
.cookie-in h2 { font-size: 1.05rem; margin-bottom: 4px; } .cookie-in p { font-size: .9rem; margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
@media (max-width: 760px) { .cookie-in { flex-direction: column; align-items: stretch; } .cookie-actions { flex-direction: column; } }
.modal { position: fixed; inset: 0; background: rgba(10, 14, 22, .55); z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-box { background: var(--surface); border-radius: 16px; padding: 24px; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.switch { position: relative; width: 46px; height: 26px; margin: 0; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span:first-of-type { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .2s; cursor: pointer; }
.switch span:first-of-type::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }

/* ---------------------------------------------------------------- stampa */
@media print {
  .topbar, .footer, .cookie-banner, .modal, .no-print, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border-color: #ccc; }
}

/* Pagina di registrazione: modulo subito visibile, riepilogo Base a lato */
.reg-pagina { padding-top: 32px; }
.reg-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1000px; }
.reg-titolo { font-size: 1.6rem; margin: 0 0 16px; }
.reg-info { padding-top: 8px; }
.reg-info h2 { font-size: 1.15rem; margin-top: 0; }
@media (max-width: 760px) { .reg-grid { grid-template-columns: 1fr; gap: 24px; } .reg-pagina { padding-top: 20px; } }

/* Piani e prezzi: il titolo non finisce sotto la barra in alto e card più compatte (pulsanti visibili senza scorrere) */
section[id] { scroll-margin-top: 68px; }
#piani { padding-top: 28px; }
#piani .section-head { margin-bottom: 20px; }
#piani .section-head h2 { margin-bottom: 6px; }
.piano { padding: 20px 22px 20px; }
.piano h3 { margin: 0 0 2px; }
.prezzo { margin: 2px 0 4px; }
.prezzo .cifra { font-size: 1.75rem; }
.piano header p.small { margin: 0; }
.piano ul.check { margin: 10px 0 12px; font-size: .95rem; }
.piano ul.check li { padding: 3px 0 3px 26px; }
.piano ul.check li::before { top: 8px; }
.piano .fasce { margin-bottom: 14px; font-size: .9rem; }
.piano .fasce th, .piano .fasce td { padding: 4px 8px; }
.piano-nota { margin: auto 0 0; }
/* Menu dell'area riservata: più voci, più compatto su schermi medi */
.brand-tag { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1300px) {
  .nav-admin { gap: 2px; }
  .nav-admin a:not(.btn) { padding: 8px 7px; font-size: .88rem; }
  .topbar:has(.nav-admin) .brand img { width: 140px; }
}
@media (min-width: 861px) and (max-width: 1000px) { .topbar:has(.nav-admin) .brand-tag { display: none; } }
/* campo trappola per i bot nel modulo di assistenza */
.trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
