/* Identita': portale studenti, colorato ma ordinato. Blu come colore guida, un colore per ogni sezione
   (panieri blu, riassunti viola, scorrimento arancio, tesi verde). Tratto pieno = disponibile, tratteggiato = da preparare. */

:root {
  --bg: #f2f5fb;
  --surf: #ffffff;
  --ink: #0f172a;
  --muted: #51607a;
  --line: #dde4f0;
  --acc: #2563eb;
  --acc-ink: #ffffff;
  --acc-soft: #e6eefc;
  --ok: #0b7a55;
  --ok-bg: #d9f3e7;
  --warn: #7a4f00;
  --warn-bg: #fdf0cf;
  --bad: #a8261e;
  --bad-bg: #fbe0dd;
  --blu: linear-gradient(135deg, #2f6df0, #1d4ed8);
  --viola: linear-gradient(135deg, #8b5cf6, #6d28d9);
  --arancio: linear-gradient(135deg, #ee6a1a, #c2410c);
  --verde: linear-gradient(135deg, #0ea371, #047857);
  --ombra: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .05);
  --r: 14px;
  --r-s: 10px;
  --font-d: 'Onest', system-ui, sans-serif;
  --font-b: 'Onest', system-ui, sans-serif;
  --alt-tabs: 60px;
  color-scheme: light;
}

:root[data-tema="dark"] {
  --bg: #0b1020;
  --surf: #131a2e;
  --ink: #e8ecf8;
  --muted: #9aa6c3;
  --line: #232c47;
  --acc: #5b92ff;
  --acc-ink: #07101f;
  --acc-soft: #182444;
  --ok: #52d6a4;
  --ok-bg: #123a2d;
  --warn: #ffcf70;
  --warn-bg: #3b2c08;
  --bad: #ff8d85;
  --bad-bg: #44191a;
  --ombra: none;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 var(--font-b); -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* main ha anche la classe .wrap (padding: 0 16px): senza main.wrap il padding sotto veniva azzerato e il fondo finiva sotto il menu */
main.wrap { padding-top: 12px; padding-bottom: calc(var(--alt-tabs) + 110px + env(safe-area-inset-bottom)); }
.nota { color: var(--muted); font-size: 14px; margin: 4px 2px 12px; }
h2.titolo { font: 700 22px/1.2 var(--font-d); letter-spacing: -0.01em; margin: 14px 2px 10px; }
h2.sez { font: 700 19px/1.2 var(--font-d); letter-spacing: -0.01em; margin: 26px 2px 12px; }

/* ------------------------------------------------------------------ home: testata */
.hero {
  position: relative; overflow: hidden; margin: 0 0 14px; padding: 20px 18px 20px; border-radius: 20px; color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .22) 0 70px, transparent 71px),
    radial-gradient(circle at 78% 112%, rgba(14, 165, 233, .55) 0 120px, transparent 121px),
    linear-gradient(135deg, #1e3a8a, #2563eb 62%, #0ea5e9);
}
.marca { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 16px; }
.logo { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: #fff; color: #1d4ed8; font: 800 18px var(--font-d); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin: 0 0 6px; font: 800 27px/1.15 var(--font-d); letter-spacing: -0.02em; }
.hero p { margin: 0 0 16px; opacity: .92; font-size: 15px; }
.cerca-hero { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 14px; border-radius: 13px; background: #fff; color: #0f172a; }
.cerca-hero svg { width: 19px; height: 19px; flex: none; stroke: #51607a; stroke-width: 2; fill: none; stroke-linecap: round; }
.cerca-hero input { flex: 1; min-width: 0; height: 40px; border: 0; background: none; outline: none; color: #0f172a; }
.cerca-hero input::placeholder { color: #6b7894; }
.cerca-hero button { flex: none; border: 0; border-radius: 9px; padding: 10px 16px; background: #ea580c; color: #fff; font-weight: 700; }

.stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat > div { padding: 12px 8px; text-align: center; border-radius: var(--r); background: var(--surf); border: 1px solid var(--line); box-shadow: var(--ombra); }
.stat b { display: block; font: 800 24px/1.1 var(--font-d); color: var(--acc); }
.stat span { font-size: 12.5px; color: var(--muted); }

/* le quattro sezioni, un colore ciascuna */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  display: grid; align-content: start; gap: 4px; padding: 14px; min-height: 124px; text-align: left; border: 0;
  border-radius: var(--r); color: #fff; box-shadow: var(--ombra);
}
.tile b { font: 700 18px/1.2 var(--font-d); }
.tile span:not(.ic) { font-size: 13.5px; opacity: .92; line-height: 1.3; }
.tile.blu, .testata.blu, .guida.blu .ic { background: var(--blu); }
.tile.viola, .testata.viola, .guida.viola .ic { background: var(--viola); }
.tile.arancio, .testata.arancio, .guida.arancio .ic { background: var(--arancio); }
.tile.verde, .testata.verde, .guida.verde .ic { background: var(--verde); }
.ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .22); margin-bottom: 6px; }
.ic svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* testata di una pagina interna */
.testata { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 18px; border-radius: 18px; color: #fff; }
.testata .ic { margin: 0; flex: none; width: 46px; height: 46px; }
.testata h1 { margin: 0 0 2px; font: 800 24px/1.15 var(--font-d); letter-spacing: -0.01em; }
.testata p { margin: 0; font-size: 14.5px; opacity: .93; }

/* come funziona: tre passi in fila */
.passi { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.passi li { display: grid; justify-items: center; gap: 1px; padding: 12px 6px; text-align: center; border-radius: var(--r); background: var(--surf); border: 1px solid var(--line); }
.passi .n { width: 26px; height: 26px; margin-bottom: 4px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); font-weight: 800; font-size: 14px; }
.passi b { font-weight: 700; font-size: 14.5px; }
.passi span:not(.n) { color: var(--muted); font-size: 12.5px; line-height: 1.25; }

.banner {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 14px 0 0; padding: 14px; text-align: left; border: 0; border-radius: var(--r);
  color: #fff; background: var(--verde); box-shadow: var(--ombra);
}
.banner.arancio { background: var(--arancio); margin: 0 0 14px; }
.banner .ic { margin: 0; flex: none; }
.banner div { flex: 1; }
.banner b { display: block; font: 700 17px var(--font-d); }
.banner span { font-size: 13.5px; opacity: .93; }
.banner svg.freccia { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.guide.lista { grid-template-columns: 1fr; }
.guida { display: grid; align-content: start; gap: 3px; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: var(--surf); box-shadow: var(--ombra); }
.guida b { font: 700 16px/1.25 var(--font-d); }
.guida span:not(.ic) { color: var(--muted); font-size: 13.5px; line-height: 1.35; }

.aiuto { display: grid; justify-items: start; gap: 4px; margin: 22px 0 6px; padding: 16px; border-radius: var(--r); background: var(--acc-soft); border: 1px solid var(--line); }
.aiuto b { font: 700 17px var(--font-d); }
.aiuto span { color: var(--muted); font-size: 14px; }
.aiuto .btn { margin-top: 8px; }
.legale { margin: 18px 2px 0; font-size: 12.5px; color: var(--muted); }

/* articoli delle guide */
.articolo { margin-bottom: 18px; }
.articolo p { margin: 0 0 12px; }
.articolo h3 { margin: 18px 0 8px; font: 700 17px var(--font-d); }
.articolo ul, .articolo ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.domanda { margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surf); }
.domanda summary { padding: 13px 14px; font-weight: 650; cursor: pointer; }
.domanda p { margin: 0; padding: 0 14px 14px; color: var(--muted); }

/* ------------------------------------------------------------------ filtri e liste */
.filtri-box { margin-bottom: 14px; padding: 14px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--line); box-shadow: var(--ombra); }
.cerca-pagina { position: relative; display: block; }
.cerca-pagina svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.cerca-pagina input, .filtri-box select {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--bg);
}
.cerca-pagina input { padding-left: 40px; }
.cerca-pagina input:focus, .filtri-box select:focus { border-color: var(--acc); outline: none; }
.gruppo { margin-top: 12px; }
.gruppo > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 650; color: var(--muted); }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; }
.fchip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.risultati .btn { margin-top: 8px; }

/* ------------------------------------------------------------------ righe */
.passo {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  margin: 0 0 8px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); box-shadow: var(--ombra);
}
.passo:active { border-color: var(--acc); }
.passo .testo { flex: 1; min-width: 0; }
.passo .t { display: block; font: 600 17px/1.25 var(--font-d); }
.passo .s { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.passo .codice { min-width: 44px; font: 800 22px/1 var(--font-d); letter-spacing: -0.02em; color: var(--acc); }
.passo .codice.lungo { font-size: 18px; min-width: 40px; padding: 10px 0; text-align: center; border-radius: 10px; background: var(--acc-soft); }
.passo svg.freccia { width: 18px; height: 18px; stroke: var(--muted); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ------------------------------------------------------------------ materie a quadratini */
.griglia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cmat { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); box-shadow: var(--ombra); overflow: hidden; }
.cmat.sel { border-color: var(--acc); box-shadow: 0 0 0 1.5px var(--acc); }
.cmat-corpo { display: grid; align-content: start; gap: 8px; width: 100%; height: 100%; padding: 0 0 12px; text-align: left; border: 0; background: none; }
.cover { display: grid; align-content: end; gap: 2px; min-height: 84px; padding: 10px 12px; color: #fff; }
.cover.blu { background: var(--blu); }
.cover.viola { background: var(--viola); }
.cover .cod { font: 800 22px/1 var(--font-d); letter-spacing: -0.02em; }
.cover .uni { font-size: 12px; opacity: .92; }
.cmat .nome { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding: 0 12px; font-weight: 650; font-size: 15px; line-height: 1.3; }
.cmat .pill { justify-self: start; margin: 0 12px; }
.cmat-sel { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .9); background: rgba(15, 23, 42, .28); }
.cmat-sel svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.cmat-sel[aria-pressed="true"] { background: var(--acc); border-color: #fff; }
.cmat-sel[aria-pressed="true"] svg { opacity: 1; }

.pill { font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.si { background: var(--ok-bg); color: var(--ok); }
.pill.no { border: 1px dashed var(--muted); color: var(--muted); padding: 2px 8px; }

.richiedi { display: grid; justify-items: start; gap: 3px; margin: 18px 0 6px; padding: 14px 16px; border-radius: var(--r); border: 1px dashed var(--muted); }
.richiedi b { font: 600 16px var(--font-d); }
.richiedi span { color: var(--muted); font-size: 14px; }
.richiedi .btn { margin-top: 8px; }

.campo { display: block; margin: 14px 0; }
.campo > span { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.campo input, .campo select { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--surf); }
.campo input:focus, .campo select:focus { border-color: var(--acc); outline: none; }

.vuoto { margin: 28px 4px; color: var(--muted); }
.vuoto b { display: block; color: var(--ink); font: 600 18px var(--font-d); margin-bottom: 4px; }

/* ------------------------------------------------------------------ barre fisse */
.barra { position: fixed; left: 50%; transform: translateX(-50%); width: min(100%, 560px); z-index: 7; }
.tabs {
  bottom: 0; display: flex; height: calc(var(--alt-tabs) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--surf); border-top: 1px solid var(--line);
}
.tabs button { flex: 1; position: relative; border: 0; background: none; display: grid; place-items: center; align-content: center; gap: 1px; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.tabs button svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tabs button[aria-current="page"] { color: var(--acc); }
.tabs button[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: var(--acc); }

.carrello {
  bottom: calc(var(--alt-tabs) + 10px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 536px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px;
  border-radius: var(--r); background: var(--surf); border: 1px solid var(--acc); box-shadow: 0 6px 20px rgba(15, 23, 42, .18);
}
.carrello .quanti { font-weight: 600; line-height: 1.25; }
.carrello .quanti small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------------ pulsanti */
.btn {
  display: block; width: 100%; padding: 13px 18px; border-radius: var(--r-s); border: 1px solid var(--line);
  background: var(--surf); font: 650 16px var(--font-d); text-align: center; text-decoration: none; color: var(--ink);
}
.btn.evid { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn.evid:active { opacity: .88; }
.btn.piccolo { display: inline-block; width: auto; padding: 9px 16px; font-size: 15px; }
.btn.tenue { color: var(--ink); }
.btn.pericolo { border-color: var(--bad); color: var(--bad); }
.btn[disabled] { opacity: .45; }
.riga-btn { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.riga-btn .btn { flex: 1; }

/* ------------------------------------------------------------------ foglio dell'ordine */
.sheet { position: fixed; inset: 0; z-index: 20; overflow-y: auto; background: var(--bg); animation: sale .2s ease-out; }
@keyframes sale { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .wrap { padding-top: 16px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.sheet .testa { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sheet .testa h1 { flex: 1; margin: 0; font: 700 24px/1.15 var(--font-d); letter-spacing: -0.01em; }
.icona-btn { width: 40px; height: 40px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--surf); display: grid; place-items: center; }
.icona-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.2; fill: none; stroke-linecap: round; }

.voce { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); }
.voce .testo { flex: 1; min-width: 0; font-weight: 600; }
.voce .testo small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }

.paga { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
.paga > div { padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); }
.paga b { display: block; font: 600 17px var(--font-d); }
.paga small { color: var(--muted); font-size: 13.5px; line-height: 1.35; display: block; margin-top: 2px; }
.paga .scelto { border: 1.5px solid var(--acc); background: var(--acc-soft); }
.paga .presto { border-style: dashed; opacity: .75; }

.errore { margin: 12px 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--bad-bg); color: var(--bad); font-weight: 600; }
.anteprima { margin: 10px 0 16px; padding: 12px 14px; border-radius: var(--r-s); border: 1px dashed var(--muted); color: var(--muted); font-size: 14px; white-space: pre-wrap; }
.fatto h1 { font: 800 28px/1.15 var(--font-d); letter-spacing: -0.01em; margin: 18px 0 6px; }
.fatto h1 span { color: var(--acc); }

/* ------------------------------------------------------------------ ordini */
.ordine { margin-bottom: 12px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); box-shadow: var(--ombra); }
.ordine .capo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ordine .capo b { font: 700 18px var(--font-d); }
.ordine ul { margin: 10px 0 2px; padding: 0 0 0 18px; }
.ordine li { margin: 3px 0; }
.ordine .meta { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.stato { font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
.stato.in_lavorazione { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.stato.consegnato { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.stato.annullato { background: var(--bad-bg); color: var(--bad); border-color: transparent; text-decoration: line-through; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--alt-tabs) + 84px + env(safe-area-inset-bottom)); z-index: 40; max-width: min(92vw, 520px);
  transform: translate(-50%, 8px); opacity: 0; pointer-events: none; padding: 11px 16px; border-radius: var(--r-s);
  background: var(--ink); color: var(--bg); font-weight: 500; transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.prova { display: inline-block; margin: 0 0 6px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surf); color: var(--muted); font-size: 12px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ freccia indietro */
.indietro { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px -6px; padding: 8px 12px 8px 6px; border: 0; background: none; font: 650 15px var(--font-b); color: var(--acc); cursor: pointer; }
.indietro svg { width: 18px; height: 18px; transform: rotate(180deg); stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ pagina del paniere */
.copertina { display: grid; gap: 6px; padding: 22px 20px; border-radius: 18px; background: var(--blu); color: #fff; }
.copertina .cod { justify-self: start; font: 800 40px/1 var(--font-d); letter-spacing: -0.02em; padding-bottom: 8px; border-bottom: 2px solid currentColor; }
.copertina .uni { margin-top: 6px; font-size: 14.5px; opacity: .92; }
.scheda .titolo { margin: 16px 0 8px; font-size: 24px; }
.scheda .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.scheda .gratis { font-size: 13px; font-weight: 650; color: var(--muted); }
.scheda .intro { margin: 0 0 14px; }
.scheda .btn.evid { margin-bottom: 8px; }
.sezione { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.sezione h3 { margin: 0 0 8px; font: 700 17px var(--font-d); }
.sezione ul, .sezione ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sezione .esempi li { color: var(--muted); }
.scheda .legale { margin: 22px 0 0; font-size: 13px; color: var(--muted); }

/* colori per classe di laurea, scheda piu' ricca, sconto kit */
.cover .tp { justify-self: start; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 11.5px; font-weight: 700; }
.briciole { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.briciole button { padding: 4px 2px; border: 0; background: none; font: 600 13px var(--font-b); color: var(--acc); cursor: pointer; }
.dati { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; margin: 12px 0; }
.dati div { display: grid; gap: 2px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf); text-align: center; }
.dati b { font: 800 19px/1.1 var(--font-d); color: var(--acc); }
.dati span { font-size: 12px; color: var(--muted); }
.kit { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--acc-soft); font-size: 14px; }
.kit svg { flex: none; width: 18px; height: 18px; stroke: var(--acc); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { padding: 12px 0; font-weight: 650; cursor: pointer; }
.faq p { margin: 0 0 12px; color: var(--muted); }
.sconto { display: grid; gap: 6px; margin: 14px 0; padding: 12px 14px; border-radius: var(--r); border: 1px dashed var(--acc); background: var(--acc-soft); }
.sconto.on { border-style: solid; }
.sconto .prog { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.sconto .prog i { display: block; height: 100%; border-radius: 99px; background: var(--acc); }
.sconto small { color: var(--muted); }
.omaggi { display: grid; gap: 8px; justify-items: start; margin: 14px 0; padding: 14px; border-radius: var(--r); border: 1px solid var(--acc); background: var(--acc-soft); }
.omaggi b { font: 800 18px/1.2 var(--font-d); }
.omaggi span { color: var(--muted); font-size: 14px; }
.solo-tg { display: grid; gap: 14px; justify-items: start; margin: 64px 4px; }
.solo-tg h1 { margin: 0; font: 800 28px/1.15 var(--font-d); letter-spacing: -0.02em; }
.solo-tg p { margin: 0; color: var(--muted); }
.solo-tg .btn { text-decoration: none; display: inline-flex; align-items: center; padding: 0 20px; }

/* task attive del PC: chiuse (solo il nome) o aperte; colori bianco, giallo, blu, verde */
.taskatt > summary { list-style: none; cursor: pointer; }
.taskatt > summary::-webkit-details-marker { display: none; }
.ordine .capo b { min-width: 0; overflow-wrap: anywhere; }
.stato { white-space: nowrap; flex: none; }
.stato.t-fare { background: #f2f5fb; color: #1b2434; border-color: transparent; }
.stato.t-avv { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.stato.t-run { background: var(--acc-soft); color: var(--acc); border-color: var(--acc); }
.stato.t-fine { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
