/* Aggiunte del sito vero ai mockup: pagine di testo, pagine dei risultati, cassa come pagina, stato di caricamento. */
.infopage { max-width: 780px; margin: 40px auto 80px; }
.infopage h1 { font-size: clamp(34px, 4vw, 54px); margin: 14px 0 20px; }
.infopage p { color: var(--muted); }
.prose { font-size: 16px; line-height: 1.65; }
.prose h3, .prose h4 { margin: 28px 0 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover, .foot li button:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot li button { font: inherit; color: inherit; text-align: left; }
.pag { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 26px 0 8px; }
.pag button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.pag button[aria-current="true"] { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.cmd-all { justify-content: space-between; }
.co-def { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.co-page { overflow: hidden; }
body.co-page .drawer.xp > * { animation: none; }
#app.loading { opacity: .55; transition: opacity .2s .1s; }
button[disabled] { cursor: not-allowed; opacity: .5; }

/* Area cliente: comune a tutti i layout, prende colori, caratteri e angoli dal tema. */
.ac-pg { max-width: 1120px; margin: 34px auto 80px; display: grid; gap: 22px; }
.ac-pg h1.d { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; }
.ac-pg h2.d { margin: 0; font-size: 21px; }
.ac-pg h3.d { margin: 10px 0 0; font-size: 16px; }
.ac-pg a { color: inherit; }
.ac-head { display: grid; gap: 6px; }
.ac-head p, .ac-sub { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.ac-card { background: var(--surface); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: clamp(20px, 3vw, 32px); }
.ac-form { display: grid; gap: 14px; align-content: start; }
.ac-form .btn { justify-self: start; }
.ac-form textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.ac-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ac-3 { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; }
.ac-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ac-tabs { display: none; }
.ac-narrow { max-width: 520px; width: 100%; margin: 0 auto; display: grid; gap: 16px; }
.ac-lnk { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); background: none; padding: 0; justify-self: start; cursor: pointer; }
.ac-lnk.bad, .ac-note.bad { color: #B3261E; }
.ac-hint { font-size: 12.5px; color: var(--muted); }
.co-f small { font-weight: 400; }
.ac-chk { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.ac-chk input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); }
.ac-chk a { text-decoration: underline; text-underline-offset: 2px; }
.ac-chk em { grid-column: 2; color: #B3261E; font-style: normal; font-size: 12.5px; }
.ac-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 16px; border-radius: var(--r); background: var(--soft); font-size: 14px; line-height: 1.5; }
.ac-note svg.i { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ac-note a { text-decoration: underline; font-weight: 600; }
.ac-in { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.ac-side { position: sticky; top: 20px; display: grid; gap: 16px; }
.ac-me { display: flex; gap: 12px; align-items: center; min-width: 0; }
.ac-me > span:last-child { min-width: 0; display: grid; }
.ac-me b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-me small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 18px; }
.ac-side nav { display: grid; gap: 2px; }
.ac-side nav a, .ac-out button { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--ink); width: 100%; text-align: left; }
.ac-side nav a:hover, .ac-out button:hover { background: var(--soft); }
.ac-side nav a[aria-current="page"] { background: var(--soft); font-weight: 700; box-shadow: inset 3px 0 0 var(--primary); }
.ac-side svg.i { width: 18px; height: 18px; }
.ac-out { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.ac-out button { color: var(--muted); }
.ac-main { display: grid; gap: 22px; min-width: 0; align-content: start; }
.ac-sh { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ac-sec { display: grid; gap: 12px; }
.ac-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ac-tile { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ac-tile svg.i { width: 20px; height: 20px; color: var(--acc-t, var(--primary)); }
.ac-tile b { font-family: var(--f-d); font-size: 28px; line-height: 1.1; }
.ac-tile span { color: var(--muted); font-size: 13.5px; }
a.ac-tile:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ac-list { display: grid; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ac-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 18px; gap: 16px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.ac-row:first-child { border-top: 0; }
a.ac-row:hover { background: var(--soft); }
.ac-row > span:first-child { display: grid; gap: 2px; min-width: 0; }
.ac-row small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-row svg.i { width: 16px; height: 16px; color: var(--muted); }
.ac-st { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--pill); font-size: 12.5px; font-weight: 600; background: var(--soft); white-space: nowrap; }
.ac-st.ok { background: color-mix(in oklab, var(--ok, #2E7D32) 16%, transparent); color: color-mix(in oklab, var(--ok, #2E7D32) 80%, var(--ink)); }
.ac-st.bad { background: color-mix(in oklab, #B3261E 14%, transparent); color: #B3261E; }
.ac-empty { margin: 0; padding: 22px; border-radius: var(--r); background: var(--soft); color: var(--muted); font-size: 14.5px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ac-box { margin: 0; display: grid; gap: 3px; align-content: start; padding: 16px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.ac-box.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ac-box small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.ac-box span { color: var(--muted); }
.ac-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ac-acts { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.ac-inline { display: inline; }
.ac-track { grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; }
.ac-track span { display: grid; color: var(--ink); }
.ac-track small { text-transform: none; letter-spacing: 0; }
.ac-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); justify-self: start; }
.ac-back svg.i { width: 16px; height: 16px; }
.ac-pg .co-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 12.5px; color: var(--muted); }
.ac-pg .co-steps li { position: relative; padding-top: 16px; }
.ac-pg .co-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 6px; height: 4px; border-radius: 2px; background: var(--line); }
.ac-pg .co-steps li.co-on { color: var(--ink); font-weight: 600; }
.ac-pg .co-steps li.co-on::before { background: var(--primary); }
.ac-items { display: grid; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ac-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.ac-item:first-child { border-top: 0; }
.ac-item img, .ac-noimg { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); background: var(--soft); display: block; }
.ac-item > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.ac-item small { color: var(--muted); font-size: 13px; }
.ac-item small .avail { font-size: inherit; }
.ac-fav { grid-template-columns: 64px minmax(0, 1fr) auto auto; }
.ac-fav .ac-acts { margin: 0; }
.ac-fav .btn { height: 40px; padding: 0 16px; }
.ac-tot { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); font-size: 14px; }
.ac-tot > div { display: flex; justify-content: space-between; gap: 12px; }
.ac-tot .tt { font-size: 16px; padding-top: 4px; }
.ac-rq { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.ac-rq:first-child { border-top: 0; }
.ac-rq > span { display: grid; gap: 2px; }
.ac-rq small { color: var(--muted); font-size: 13px; }
.ac-rq select { height: 42px; min-width: 72px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); background: var(--surface); color: var(--ink); font: inherit; }
.ac-email { margin: 0; display: grid; gap: 2px; font-size: 14px; }
.ac-email small { color: var(--muted); }
.ac-stack { display: grid; gap: 20px; max-width: 720px; }
.co-accok { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r); background: var(--soft); font-size: 14px; line-height: 1.5; text-align: left; }
.co-accok svg.i { width: 18px; height: 18px; flex: none; }
.co-accok a { text-decoration: underline; font-weight: 600; }
@media (max-width: 860px) {
  .ac-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ac-side { position: static; }
  .ac-side nav { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .ac-side nav a, .ac-out button { flex: none; width: auto; height: 40px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); }
  .ac-side nav a[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .ac-out { margin: 0; border: 0; padding: 0; }
  .ac-duo { grid-template-columns: minmax(0, 1fr); }
  .ac-tabs { display: flex; gap: 6px; }
  .ac-tabs a { flex: 1; height: 44px; display: grid; place-items: center; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; }
  .ac-tabs a[aria-current="page"] { background: var(--primary); color: var(--on-primary); box-shadow: none; }
  .ac-duo > .ac-card:not(.on) { display: none; }
}
@media (max-width: 560px) {
  .ac-pg { margin-top: 20px; }
  .ac-2, .ac-3 { grid-template-columns: minmax(0, 1fr); }
  .ac-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ac-row > :nth-child(3) { grid-column: 2; }
  .ac-row > svg.i, .ac-row > :nth-child(4) { display: none; }
  .ac-fav { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .ac-fav .ac-acts { grid-column: 2 / -1; }
  .ac-pg .co-steps { font-size: 11px; }
}
.co-hd .co-me { font-size: 13px; color: var(--muted); }
.co-done .co-okc.co-wait { background: var(--soft); color: var(--ink); }
/* conferma dell'età in qualsiasi layout; il layout 10 la ridisegna nel suo CSS */
:where(.gate) { position: fixed; inset: 0; z-index: 54; display: grid; place-items: center; padding: 16px; background: rgb(10 8 12 / .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
:where(.gate) :where(.box) { width: min(440px, 100%); padding: 34px 30px; border-radius: var(--r-xl, 22px); background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .6); display: grid; gap: 16px; text-align: center; }
:where(.gate) :where(h2) { margin: 0; font-size: 26px; }
:where(.gate) :where(p) { margin: 0; color: var(--muted); font-size: 14px; }
:where(.gate) :where(.bt) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.gate .gate-logo { font-size: 28px; }
.gate .gate-note { font-size: 12.5px; }
.gate[hidden] { display: none; }
