/* Colori e caratteri di Centro Ufficio (centroufficiopadova.it): rosso #F42D4C, nero #0E1116, Lato */
:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --card-2: #f8f9fb;
  --text: #0e1116;
  --muted: #5f6b7c;
  --line: #e7eaf0;
  --brand: #f42d4c;
  --brand-2: #ff284b;
  --brand-ink: #ffffff;
  --ok: #138a4a;
  --warn: #b26a00;
  --err: #b42318;
  --info: #3d4a5c;
  --chip: #fdecef;
  --hero: linear-gradient(115deg, #0e1116 0%, #161b26 55%, #3a1320 100%);
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 6px 18px rgba(14, 17, 22, .05);
  --radius: 16px;
  --font: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e13;
    --card: #141922;
    --card-2: #1a202b;
    --text: #eef1f5;
    --muted: #9aa4b2;
    --line: #262d38;
    --brand: #f73550;
    --brand-2: #ff5a70;
    --brand-ink: #ffffff;
    --ok: #3ccf7f;
    --warn: #f0a832;
    --err: #ff6b6b;
    --info: #b8c1cf;
    --chip: #2a1820;
    --hero: linear-gradient(115deg, #0e1116 0%, #161b26 55%, #3a1320 100%);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--font);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
h2 { font-size: 1.1rem; font-weight: 900; margin: 0 0 .6rem; letter-spacing: -.01em; }
h3 { font-size: .95rem; margin: 1rem 0 .4rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
p { margin: .4rem 0; }
small, .muted { color: var(--muted); }
code, .mono { font-family: var(--mono); font-size: .92em; }

/* ---------- barra superiore ---------- */
/* come sul sito: striscia rossa in alto (sotto l'ora su iPhone) e barra bianca con il logo */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: .6rem;
  padding: calc(var(--safe-top) + 4px + .55rem) max(16px, env(safe-area-inset-right)) .55rem max(16px, env(safe-area-inset-left));
  background: linear-gradient(var(--brand), var(--brand)) top / 100% calc(var(--safe-top) + 4px) no-repeat, var(--card);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.topbar h1 { flex: 1; font-size: 1.12rem; font-weight: 900; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.topbar .brand { flex: 1; display: flex; align-items: center; gap: .55rem; min-width: 0; }
.topbar .brand img { height: 22px; width: auto; display: block; }
.topbar .brand span { font-weight: 900; font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border-left: 1px solid var(--line); padding-left: .55rem; }
@media (max-width: 380px) { .topbar .brand span { display: none; } }
.icon-btn { background: none; border: 0; color: var(--brand); padding: .25rem; margin-left: -.35rem; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.printer-pill {
  display: inline-flex; align-items: center; gap: .4rem; max-width: 46vw;
  background: var(--chip); color: var(--text); border: 0; border-radius: 999px;
  padding: .35rem .8rem; font-size: .82rem; font-weight: 700; cursor: pointer;
}
.printer-pill span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa6ba; flex: none; }
.dot.ok { background: #4ade80; } .dot.err { background: #ff6b6b; } .dot.sim { background: #fbbf24; }

/* ---------- layout ---------- */
main { padding: 16px max(16px, env(safe-area-inset-left)) calc(28px + var(--safe-bottom)); max-width: 980px; margin: 0 auto; outline: none; }
.card {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 18px 16px; margin-bottom: 14px;
}
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: .6rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  display: flex; flex-direction: column; gap: .4rem; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 14px 14px; min-height: 112px; cursor: pointer; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, transform .06s ease;
}
.tile:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.tile:active { transform: scale(.985); }
.tile .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--chip); color: var(--brand); margin-bottom: .2rem; }
.tile b { font-size: 1rem; font-weight: 900; letter-spacing: -.01em; }
.tile small { font-size: .8rem; line-height: 1.35; }

/* ---------- form ---------- */
label.field { display: block; }
label.field > span { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .25rem; }
input[type=text], input[type=number], input[type=password], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: .62rem .7rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card-2); font-size: 16px; /* evita lo zoom su iOS */
  min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
input.changed, select.changed { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 9%, var(--card-2)); }
textarea { min-height: 120px; font-family: var(--mono); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.check { display: flex; gap: .55rem; align-items: center; padding: .3rem 0; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; padding: .62rem 1.15rem; cursor: pointer;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: .95rem;
  min-height: 42px; text-decoration: none; transition: background-color .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.secondary { background: var(--chip); color: var(--brand); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.danger { background: var(--err); color: #fff; }
.btn.small { min-height: 34px; padding: .35rem .85rem; font-size: .85rem; }
.btn.block { width: 100%; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.sticky-actions {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; gap: .6rem; flex-wrap: wrap; padding: .7rem 0 calc(.7rem + var(--safe-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.sticky-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: .6rem; padding-right: .6rem; }

/* ---------- elenchi ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .title { font-weight: 900; }
.list .sub { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.kv { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: .35rem .8rem; margin: 0; }
.kv dt { color: var(--muted); font-size: .88rem; }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.badge { display: inline-block; font-size: .74rem; padding: .12rem .55rem; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); color: var(--info); font-weight: 700; }
.badge.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.badge.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.badge.err { color: var(--err); background: color-mix(in srgb, var(--err) 14%, transparent); }

.notice { border-radius: 12px; padding: .75rem .9rem; font-size: .9rem; margin: .6rem 0; background: var(--card-2); border: 1px solid var(--line); }
.notice.warn { background: color-mix(in srgb, var(--warn) 14%, var(--card)); }
.notice.err { background: color-mix(in srgb, var(--err) 12%, var(--card)); }
.notice.ok { background: color-mix(in srgb, var(--ok) 12%, var(--card)); }

/* tabella compatta */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th, table.t td { padding: .5rem .4rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.t th { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
table.t tr.clickable { cursor: pointer; }
table.t tr.clickable:active { background: var(--card-2); }
table.t td.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.dirty td:first-child { box-shadow: inset 3px 0 0 var(--warn); }

/* intestazione */
.hdr-line { display: grid; grid-template-columns: 24px 1fr; gap: .25rem .5rem; align-items: center; margin-bottom: .7rem; }
.hdr-line .n { color: var(--muted); font-size: .85rem; text-align: right; font-variant-numeric: tabular-nums; }
.hdr-line input { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0; padding: .55rem .5rem; }
.hdr-line .tools { grid-column: 2; display: flex; gap: .35rem; align-items: center; justify-content: flex-end; }
.hdr-line select { width: auto; padding: .35rem .4rem; font-size: 14px; }
.hdr-line .cnt { font-size: .72rem; color: var(--muted); min-width: 34px; text-align: right; margin-right: auto; }
@media (min-width: 720px) {
  .hdr-line { grid-template-columns: 28px 1fr 290px; margin-bottom: .5rem; }
  .hdr-line .tools { grid-column: auto; }
  .hdr-line input { font-size: 15px; }
}
.receipt {
  background: #fff; color: #111; font-family: var(--mono); font-size: 12px; line-height: 1.35;
  width: min(100%, 360px); margin: .6rem auto 0; padding: 14px 10px 18px; border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  white-space: pre; overflow: hidden;
}
.receipt .l { display: block; min-height: 1.35em; }
.receipt .f2 { font-weight: 700; }
.receipt .f3 { font-size: 20px; line-height: 1.25; transform: scaleX(.6); transform-origin: left; width: 166%; }
.receipt .f4 { font-size: 20px; line-height: 1.25; font-weight: 700; transform: scaleX(.6); transform-origin: left; width: 166%; }

/* flag */
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #b9c2d0; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 26px; height: 26px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:disabled + span { opacity: .4; }
li.changed { background: color-mix(in srgb, var(--warn) 8%, transparent); border-radius: 8px; padding-left: .4rem; padding-right: .4rem; }

/* segmenti */
.segment { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.segment button { border: 0; background: transparent; padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--muted); cursor: pointer; }
.segment button.on { background: var(--brand); color: var(--brand-ink); }

/* loghi */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.logo-item { background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 8px; cursor: pointer; text-align: center; color: #222; }
.logo-item.sel { border-color: var(--brand); }
.logo-item canvas { max-width: 100%; height: 70px; object-fit: contain; image-rendering: pixelated; }
.logo-item small { display: block; color: #555; }
.logo-preview { background: #fff; border-radius: 8px; padding: 10px; text-align: center; }
.logo-preview canvas { max-width: 100%; image-rendering: pixelated; }

/* registro */
.log-entry { border-bottom: 1px solid var(--line); padding: .6rem 0; }
.log-entry summary { cursor: pointer; display: flex; gap: .5rem; align-items: center; list-style: none; }
.log-entry summary::-webkit-details-marker { display: none; }
.log-entry pre { white-space: pre-wrap; word-break: break-all; background: var(--card-2); padding: .6rem; border-radius: 8px; font-size: 12px; max-height: 300px; overflow: auto; }

/* giornale elettronico */
pre.ej {
  background: #fff; color: #111; font-family: var(--mono); font-size: 12px; line-height: 1.35;
  padding: 12px; border-radius: 8px; margin: .7rem 0 0; max-height: 60vh; overflow: auto;
  white-space: pre; box-shadow: inset 0 0 0 1px var(--line);
}

/* overlay */
.busy { position: fixed; inset: 0; background: rgba(8, 14, 24, .45); display: grid; place-items: center; z-index: 50; backdrop-filter: blur(2px); }
.busy[hidden] { display: none; }
.busy-card { background: var(--card); color: var(--text); padding: 22px 24px; border-radius: 16px; min-width: 240px; max-width: 86vw; text-align: center; box-shadow: var(--shadow); display: grid; gap: .8rem; justify-items: center; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--chip); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { width: 100%; height: 6px; background: var(--chip); border-radius: 99px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--brand); transition: width .2s; }

.modal { position: fixed; inset: 0; background: rgba(8, 14, 24, .5); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.sheet {
  background: var(--card); width: 100%; max-width: 620px; max-height: 92vh; overflow: auto;
  border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + var(--safe-bottom));
  animation: up .2s ease-out;
}
@media (min-width: 700px) { .modal { align-items: center; } .sheet { border-radius: 18px; } }
@keyframes up { from { transform: translateY(30px); opacity: .5; } to { transform: none; opacity: 1; } }
.sheet h2 { font-size: 1.15rem; }

.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + var(--safe-bottom)); z-index: 70; display: grid; gap: 8px; width: min(92vw, 520px); pointer-events: none; }
.toast { background: #0e1116; color: #fff; padding: .7rem 1rem; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.25); font-size: .92rem; pointer-events: auto; }
.toast.ok { background: #0f6b3a; } .toast.error { background: #a32020; } .toast.warn { background: #8a5400; }

.empty { text-align: center; padding: 1.4rem .8rem; color: var(--muted); }
.hidden { display: none !important; }

/* Tastiera (programmazione tasti) */
.kbd-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 2px 8px; margin: 0 -2px; }
.kbd {
  --k-num: #e4e6ea; --k-num-ink: #1d2330; --k-num2: #c9ccd2; --k-sys: #b9cce3; --k-key: #d9cfe9; --k-void: #f0c9a8; --k-disc: #e3cdb5;
  --k-dept: #c6dfc4; --k-plu: #bfe0cf; --k-pay: #d3d6dc; --k-edge: rgba(0, 0, 0, .28);
  display: grid; gap: 7px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: minmax(62px, auto);
  background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; max-width: 560px; margin: 0 auto;
}
.kbd.k56 { grid-template-columns: repeat(12, minmax(60px, 1fr)); max-width: none; min-width: 830px; }
.kbd .k {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0;
  border: 1px solid var(--k-edge); border-radius: 8px; padding: 5px 3px 4px; cursor: pointer; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%), var(--k-num); color: var(--k-num-ink);
  box-shadow: 0 2px 0 var(--k-edge); transition: transform .06s ease;
}
.kbd .k:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--k-edge); }
.kbd .k.c-num2 { background-color: var(--k-num2); } .kbd .k.c-sys { background-color: var(--k-sys); } .kbd .k.c-key { background-color: var(--k-key); }
.kbd .k.c-void { background-color: var(--k-void); } .kbd .k.c-disc { background-color: var(--k-disc); } .kbd .k.c-dept { background-color: var(--k-dept); }
.kbd .k.c-plu { background-color: var(--k-plu); } .kbd .k.c-pay { background-color: var(--k-pay); }
.kbd.dark { background: #2b2f36; border-color: #1b1e23; }
.kbd.dark .k { background: linear-gradient(180deg, #3a3f47, #15171b 60%); color: #fff; border-color: #000; box-shadow: 0 2px 0 #000; }
.kbd .k .l { font-weight: 800; font-style: italic; font-size: .92rem; line-height: 1.05; }
.kbd.k56 .k .l { font-size: .72rem; }
.kbd .k .s { font-size: .58rem; font-weight: 700; letter-spacing: .1em; opacity: .7; line-height: 1; }
.kbd .k .f { font-size: .6rem; line-height: 1.15; margin-top: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .8; font-family: var(--mono); }
.kbd .k.unread .f { font-style: italic; opacity: .55; }
.kbd .k.changed .f { color: #c62828; opacity: 1; font-weight: 800; text-decoration: underline; }
.kbd.dark .k.changed .f { color: #ff8a80; }
.kbd .k.pending { outline: 2px dashed var(--warn); outline-offset: 2px; }
.kbd .k.off { opacity: .4; cursor: not-allowed; }
.kbd-legend { font-size: .8rem; display: flex; gap: .4rem 1rem; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: .6rem; }
.kbd-legend .sw { display: inline-block; width: 18px; height: 10px; border-radius: 3px; vertical-align: middle; margin-right: -.6rem; }
.kbd-legend .sw.changed { border-bottom: 3px solid #c62828; }
.kbd-legend .sw.pending { outline: 2px dashed var(--warn); }
.keys-grid tr[data-code] { cursor: pointer; }
.keys-grid tr.chg td { color: var(--err); font-weight: 600; }
.keys-grid tr.unread td:nth-child(2), .keys-grid tr.unread td:nth-child(3) { color: var(--muted); font-style: italic; }
@media (prefers-color-scheme: dark) {
  .kbd { --k-num: #c9ccd3; --k-num2: #aeb2ba; --k-sys: #9db4d1; --k-key: #c0b2d8; --k-void: #e3b089; --k-disc: #d2b796; --k-dept: #a9cda6; --k-plu: #a3cfb9; --k-pay: #b9bdc5; }
}
.kbd-hint { display: none; font-size: .8rem; margin: 0 0 .3rem; }
@media (max-width: 880px) { .kbd-hint { display: block; } }

/* Stampa dei moduli (A4): durante la stampa si vede solo il modulo */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body.printing { background: #fff; }
  body.printing > *:not(.print-sheet) { display: none !important; }
  body.printing .print-sheet { display: block; }
  .print-sheet pre { margin: 0; font: 9.5pt/1.3 "Courier New", Courier, monospace; color: #000; white-space: pre; }
}

/* Sincronizzazione completa */
.btn svg { flex: none; }
.sync-info { font-size: .82rem; margin: .5rem 0 0; }
.sync-list { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .45rem; }
.sync-list li { padding: .45rem .6rem; border-radius: 10px; background: var(--card-2); border-left: 3px solid var(--ok); font-size: .9rem; }
.sync-list li.err { border-left-color: var(--warn); }

/* ---------- stile Centro Ufficio ---------- */
.notice.warn { border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
.notice.err { border-color: color-mix(in srgb, var(--err) 35%, var(--line)); }
.notice.ok { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }

/* riquadro principale della home, come la testata del sito */
.hero { background: var(--hero); color: #fff; border: 0; padding: 22px 20px 20px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 45, 76, .35), transparent 70%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .muted, .hero small { color: rgba(255, 255, 255, .72); }
.hero-badge { display: inline-block; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); margin-bottom: .9rem; }
.hero h2 { font-size: 1.6rem; line-height: 1.12; margin: 0 0 .4rem; color: #fff; }
.hero h2 em { font-style: normal; color: var(--brand); }
.hero-name { font-weight: 900; font-size: 1.25rem; line-height: 1.2; }
.hero .btn.secondary { background: #fff; color: #0e1116; }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .notice { color: var(--text); }
.hero .sync-info { color: rgba(255, 255, 255, .72); }
.hero a { color: #fff; }

/* titolo di sezione con la lineetta rossa */
.section-title { font-size: 1.25rem; font-weight: 900; margin: 22px 2px 12px; letter-spacing: -.01em; }
.section-title::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--brand); margin-top: .45rem; }

/* piè di pagina */
.brand-footer { margin: 26px 0 6px; padding: 18px 4px 4px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .85rem; }
.brand-footer img { height: 24px; width: auto; display: block; margin: 0 auto .6rem; }
.brand-footer a { font-weight: 700; }
.brand-footer p { margin: .2rem 0; }
.hero .row.between { flex-wrap: nowrap; }
@media (max-width: 560px) {
  .hero .actions .btn { flex: 1 1 calc(50% - .3rem); }
  .hero .actions .btn:first-child { flex-basis: 100%; }
}
@media (max-width: 420px) { .hide-xs { display: none; } }
.hero input, .hero select { color: var(--text); }
