/* TrilùTable · sito pubblico · design system «Scuro premium» (6.0)
   Stessi token della console (docs/sviluppo/DESIGN-V6.md): superfici grafite, filetti sottili,
   scala di grigi disciplinata, arancio solo come accento.
   Carattere: Geist © Vercel, SIL Open Font License 1.1 — licenza in /fonts/GEIST-OFL.txt */

/* ───────────── Carattere ───────────── */
@font-face { font-family: "Geist"; src: url("/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Ripiego con metriche vicine a Geist: niente salti di impaginazione mentre il carattere arriva. */
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"); ascent-override: 95%; descent-override: 26%; line-gap-override: 0%; size-adjust: 104%; }

/* ───────────── Token ───────────── */
:root {
  color-scheme: dark;
  --font: "Geist", "Geist Fallback", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --bg-0: #0B0C0E; --bg-1: #111316; --bg-2: #16191D; --bg-3: #1C1F24; --bg-4: #23272D;
  --line: rgba(255, 255, 255, .07); --line-soft: rgba(255, 255, 255, .05); --line-strong: rgba(255, 255, 255, .11);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .035);
  --text-1: #EDEEF0; --text-2: #A4A9B1; --text-3: #878C94; --text-4: #5F646B;
  --accent: #FF833F; --accent-hover: #FF9A5E; --accent-ink: #1A0E06; --accent-soft: rgba(255, 131, 63, .12); --accent-line: rgba(255, 131, 63, .32);
  --green: #6CD49E; --green-soft: rgba(108, 212, 158, .10); --green-line: rgba(108, 212, 158, .24);
  --amber: #E8B65A; --amber-soft: rgba(232, 182, 90, .10); --amber-line: rgba(232, 182, 90, .26);
  --red: #F0918A; --red-soft: rgba(240, 145, 138, .10); --red-line: rgba(240, 145, 138, .26);
  --blue: #7FB0F2; --blue-soft: rgba(127, 176, 242, .10); --blue-line: rgba(127, 176, 242, .24);
  --violet: #B3A3F7; --violet-soft: rgba(179, 163, 247, .10); --violet-line: rgba(179, 163, 247, .24);
  --grey: #8A9099; --grey-soft: rgba(138, 144, 153, .12); --grey-line: rgba(138, 144, 153, .24);
  --paper: #F6F3EE; --paper-2: #FFFFFF; --ink: #1B1C1F; --ink-2: #5A5E66; --paper-line: rgba(27, 28, 31, .10);
  --r-sm: 6px; --r-md: 8px; --r-lg: 10px; --r-xl: 14px; --r-2xl: 20px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-pop: 0 18px 60px rgba(0, 0, 0, .55), 0 0 0 1px var(--line-strong);
  --shadow-shot: 0 40px 120px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  --ease: cubic-bezier(.2, .7, .2, 1); --t-fast: 140ms; --t-med: 220ms;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 8vw, 120px);
  --header-h: 64px;
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg-0); scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; min-width: 320px; background: var(--bg-0); color: var(--text-2);
  font-family: var(--font); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { color: var(--text-1); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { color: var(--text-1); font-weight: 600; }
::selection { background: rgba(255, 131, 63, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.ico { flex: none; display: block; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; border-radius: 10px; font-weight: 600; color: var(--accent-ink); background: var(--accent);
  transform: translateY(-160%); transition: transform var(--t-med) var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: calc(1320px + 2 * var(--gutter)); }
.container-narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ───────────── Tipografia ───────────── */
.display {
  font-size: clamp(42px, 4.6vw + 10px, 80px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600;
}
.title { font-size: clamp(38px, 3.4vw + 12px, 64px); line-height: 1.04; letter-spacing: -.04em; }
.h2 { font-size: clamp(31px, 2.3vw + 14px, 48px); line-height: 1.08; letter-spacing: -.035em; }
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.018em; }
.dim { color: var(--text-3); }
.lead { font-size: clamp(17px, .3vw + 15.8px, 19.5px); line-height: 1.6; color: var(--text-2); letter-spacing: -.005em; }
.muted { color: var(--text-3); }
.small { font-size: 14px; line-height: 1.55; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); letter-spacing: -.005em;
}
.eyebrow-n { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent); }
.eyebrow-n::after { content: ""; display: inline-block; width: 18px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--line-strong); }
.eyebrow .ico { color: var(--accent); }

/* ───────────── Pulsanti e link ───────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
  font-size: 15px; line-height: 1; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn .ico { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: var(--accent-ink); background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 131, 63, .55), 0 8px 28px -8px rgba(255, 131, 63, .45);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--text-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .3); }
.btn-secondary:hover { background: var(--bg-4); }
.btn-ghost { color: var(--text-2); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { color: var(--text-1); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 16px; border-radius: 11px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; opacity: .8; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--text-1); letter-spacing: -.01em;
}
.link-arrow .ico { width: 16px; height: 16px; color: var(--accent); transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }
.text-link { color: var(--text-1); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: var(--accent); }

/* ───────────── Header e navigazione ───────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 12, 14, 0); border-bottom: 1px solid transparent;
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.site-header.is-scrolled, body.nav-open .site-header, .site-header:has(.is-open) {
  background: rgba(11, 12, 14, .82); border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
}
.header-bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; height: 44px; flex: none; border-radius: 8px; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 1px 2px rgba(0, 0, 0, .6); }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--text-1); }
.main-nav { flex: 1; display: flex; align-items: center; gap: 16px; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border: 0; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2); background: none; white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--text-1); background: rgba(255, 255, 255, .045); }
.nav-link[aria-current="page"], .nav-link.is-current { color: var(--text-1); }
.nav-chev { width: 14px; height: 14px; color: var(--text-3); transition: transform var(--t-med) var(--ease); }
.nav-item.is-open .nav-chev { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.nav-login:hover { color: var(--text-1); background: rgba(255, 255, 255, .045); }
.nav-login .ico { width: 15px; height: 15px; color: var(--text-3); }

.mega {
  position: absolute; top: calc(100% + 10px); left: -12px; z-index: 60; display: none; width: max-content;
  padding: 8px; border-radius: 14px; background: #121418;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6), 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open > .mega { display: block; animation: mega-in var(--t-med) var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: 300px; gap: 2px; }
.mega-grid.cols-2 { grid-template-columns: repeat(2, 300px); }
.mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; transition: background-color var(--t-fast) var(--ease); }
.mega-link:hover { background: rgba(255, 255, 255, .045); }
.mega-link[aria-current="page"] { background: rgba(255, 255, 255, .055); }
.mega-ico {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--text-2);
  background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line), var(--highlight);
}
.mega-ico .ico { width: 17px; height: 17px; }
.mega-link:hover .mega-ico { color: var(--accent); }
.mega-text { display: flex; flex-direction: column; min-width: 0; }
.mega-text b { font-size: 14.5px; line-height: 20px; font-weight: 500; color: var(--text-1); }
.mega-text small { font-size: 13px; line-height: 18px; color: var(--text-3); }
.mega-foot { display: flex; gap: 4px; margin-top: 6px; padding: 8px 6px 2px; border-top: 1px solid var(--line-soft); }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.mega-foot a:hover { color: var(--text-1); background: rgba(255, 255, 255, .045); }
.mega-foot .ico { width: 14px; height: 14px; color: var(--accent); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  color: var(--text-1); background: transparent; box-shadow: inset 0 0 0 1px var(--line);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.nav-toggle-bars { position: relative; margin: auto; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ───────────── Hero (home) ───────────── */
.hero { position: relative; padding-top: clamp(56px, 7vw, 104px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.3px); background-size: 22px 22px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 58% at 50% 18%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 70% 58% at 50% 18%, #000 20%, transparent 72%);
}
.hero-bg::after {
  content: ""; position: absolute; left: 50%; top: -240px; width: 1300px; height: 760px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 131, 63, .14), rgba(255, 131, 63, .05) 45%, rgba(255, 131, 63, 0) 100%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; margin-bottom: 28px; padding: 4px 12px 4px 4px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 8px 30px -10px rgba(0, 0, 0, .6);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.hero-badge:hover { color: var(--text-1); background: rgba(255, 255, 255, .055); }
.hero-badge-tag { padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.hero-badge .ico { width: 15px; height: 15px; color: var(--text-3); }
.hero .display { max-width: 980px; }
.hero-lead { max-width: 700px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; color: var(--text-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 16px; height: 16px; color: var(--green); }
.hero-points b { font-weight: 600; }

.hero-visual { position: relative; margin-top: clamp(56px, 6vw, 84px); }
.hero-shot { position: relative; margin-inline: auto; max-width: 1280px; }
.hero-shot::before {
  content: ""; position: absolute; left: -4%; right: -4%; top: -6%; height: 84%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 131, 63, .15), rgba(255, 131, 63, .05) 55%, rgba(255, 131, 63, 0));
}
.hero-console {
  border-radius: 16px; background: var(--bg-0); box-shadow: var(--shadow-shot);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 99%); mask-image: linear-gradient(180deg, #000 72%, transparent 99%);
}
.hero-phone { position: absolute; left: -2.5%; bottom: 3%; width: clamp(220px, 21%, 272px); }
.hero-ticket { position: absolute; right: -1.5%; bottom: 9%; width: clamp(200px, 18%, 236px); transform: rotate(2.2deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.shot-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text-3); }
.hero-mobile { display: none; }

/* Scala dei mockup a dimensione fissa: lo script calcola --k; senza script valgono i gradini qui sotto. */
.fit { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); overflow: hidden; }
.fit-stage { position: absolute; top: 0; left: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform-origin: 0 0; transform: scale(var(--k, .86)); }

/* ───────────── Pagine interne: testata ───────────── */
.page-hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .065) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 0%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 30% 0%, #000 15%, transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; left: 28%; top: -300px; width: 1000px; height: 640px; z-index: -1; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 131, 63, .11), rgba(255, 131, 63, 0));
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.page-hero-copy { max-width: 640px; }
.page-hero .lead { margin-top: 22px; max-width: 620px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14.5px; color: var(--text-2); }
.page-hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.page-hero-note .ico { width: 16px; height: 16px; color: var(--green); }
.page-hero.is-center { text-align: center; }
.page-hero.is-center .page-hero-copy { margin-inline: auto; max-width: 820px; }
.page-hero.is-center .lead { margin-inline: auto; }
.page-hero.is-center .page-hero-actions, .page-hero.is-center .page-hero-note { justify-content: center; }
.page-hero.is-center::before { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 15%, transparent 70%); }
.page-hero.is-center::after { left: 50%; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 26px; font-size: 14px; color: var(--text-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--text-4); border-bottom: 1.5px solid var(--text-4); transform: rotate(-45deg); margin-right: 4px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 28px; color: var(--text-2); }
.crumbs a:hover { color: var(--text-1); }
.crumbs [aria-current] { color: var(--text-2); }
.page-hero.is-center .crumbs { justify-content: center; }

/* ───────────── Sezioni ───────────── */
.section { position: relative; padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * .6); }
.section + .section { padding-top: calc(var(--section-y) * .5); }
.section.is-ruled::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1200px, calc(100% - 2 * var(--gutter))); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .lead { margin-inline: auto; max-width: 680px; }
.section-head.is-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; }
.section-head.is-split .lead { margin-top: 0; }

/* Pensato per */
.strip { padding: clamp(40px, 5vw, 64px) 0 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; }
.strip-label { font-size: 14px; color: var(--text-3); }
.strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.strip-list li { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 500; color: var(--text-2); letter-spacing: -.01em; }
.strip-list .ico { width: 18px; height: 18px; color: var(--text-3); }

/* Panoramica a tessere */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; min-height: 228px; padding: 22px 22px 18px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008)), var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--line), var(--highlight);
  transition: box-shadow var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.tile:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--highlight); }
.tile-ico {
  width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 11px; color: var(--text-1);
  background: linear-gradient(180deg, #23272D, #1A1D22); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 14px -6px rgba(0, 0, 0, .7);
}
.tile-ico .ico { width: 19px; height: 19px; }
.tile.is-ai .tile-ico { color: var(--violet); }
.tile h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.015em; }
.tile p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.tile-link { align-self: flex-start; margin-top: auto; padding-top: 10px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-3); }
.tile-link .ico { width: 15px; height: 15px; transition: transform var(--t-fast) var(--ease), color var(--t-fast); }
.tile:hover .tile-link { color: var(--text-1); }
.tile:hover .tile-link .ico { transform: translateX(3px); color: var(--accent); }
.tile-cover { position: absolute; inset: 0; border-radius: inherit; }

/* Capitoli: testo + illustrazione */
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.chapter.is-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter.is-reverse .chapter-text { order: 2; }
.chapter.is-stack { grid-template-columns: minmax(0, 1fr); }
.chapter-text { max-width: 540px; }
.chapter-text .lead { margin-top: 20px; }
.chapter-text .link-arrow { margin-top: 18px; }
.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF833F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.checks li b { color: var(--text-1); font-weight: 500; }
.checks.is-compact { gap: 9px; margin-top: 18px; }
.checks.is-compact li { font-size: 14.5px; }
.xlist { display: grid; gap: 12px; }
.xlist li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.xlist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--grey-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4A9B1' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px var(--grey-line);
}

/* Palco delle illustrazioni */
.stage {
  position: relative; border-radius: 20px; padding: clamp(18px, 3vw, 36px);
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 60%), var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--line), var(--highlight);
  overflow: hidden; isolation: isolate;
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000, transparent 85%); mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000, transparent 85%);
}
.stage.is-warm::after { content: ""; position: absolute; left: 50%; bottom: -40%; width: 90%; height: 80%; z-index: -1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 131, 63, .14), transparent); }
.stage.is-violet::after { content: ""; position: absolute; left: 50%; top: -30%; width: 90%; height: 80%; z-index: -1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(179, 163, 247, .12), transparent); }
.stage.is-flush { padding: 0; }
.stage-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.sample-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }

/* Quattro riquadri del servizio */
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.subcard {
  position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight);
}
.subcard-text { padding: 28px 28px 0; }
.subcard-text h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -.018em; }
.subcard-text h3 .ico { width: 18px; height: 18px; color: var(--accent); }
.subcard-text p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 470px; }
.subcard-visual { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; min-height: 300px; margin-top: 24px; padding: 0 24px; overflow: hidden; }
.subcard-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%);
}

/* Come funziona */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: 18px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 19px; letter-spacing: -.018em; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.step .checks { margin-top: 16px; }
.steps-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; margin-top: 28px; font-size: 15px; color: var(--text-2); }
.steps-note li { display: inline-flex; align-items: center; gap: 8px; }
.steps-note .ico { width: 16px; height: 16px; color: var(--green); }
.steps.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Per chi */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aud-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 22px; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight);
  transition: box-shadow var(--t-med) var(--ease);
}
.aud-card:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--highlight); }
.aud-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; z-index: -1; background: radial-gradient(closest-side, rgba(255, 131, 63, .08), transparent); }
.aud-ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 12px; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.aud-ico .ico { width: 21px; height: 21px; }
.aud-card h3 { font-size: 22px; letter-spacing: -.022em; }
.aud-card > p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.aud-card .checks { margin-bottom: 18px; }
.aud-card .link-arrow { margin-top: auto; }

/* Spot video */
.spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin-inline: auto; }
.spot { display: flex; flex-direction: column; gap: 16px; }
.spot-frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line-strong), 0 30px 70px -20px rgba(0, 0, 0, .8);
}
.spot-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.spot-meta h3 { font-size: 17px; letter-spacing: -.015em; }
.spot-meta p { margin-top: 4px; font-size: 14.5px; color: var(--text-3); }
.spot.is-playing .spot-frame { box-shadow: 0 0 0 1px var(--accent-line), 0 30px 70px -20px rgba(0, 0, 0, .8); }

/* Domande frequenti */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0;
  list-style: none; cursor: pointer; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--text-1); letter-spacing: -.012em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4A9B1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform var(--t-med) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #fff; }
.faq-body { padding: 0 48px 22px 0; font-size: 15.5px; line-height: 1.65; }
.faq-body p + p { margin-top: 10px; }
.faq-body a { color: var(--text-1); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

/* Invito finale */
.cta-band { position: relative; padding-block: clamp(72px, 9vw, 128px); overflow: hidden; isolation: isolate; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000, transparent 75%);
}
.cta-band::after { content: ""; position: absolute; left: 50%; bottom: -380px; width: 1100px; height: 640px; z-index: -1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 131, 63, .17), rgba(255, 131, 63, 0)); }
.cta-band .mark-lg { width: 64px; height: 64px; margin: 0 auto 30px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px -10px rgba(255, 131, 63, .35); }
.cta-band .h2 { max-width: 780px; margin-inline: auto; }
.cta-band .lead { max-width: 620px; margin: 18px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.cta-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 24px; font-size: 14.5px; color: var(--text-2); }
.cta-note li { display: inline-flex; align-items: center; gap: 8px; }
.cta-note .ico { width: 16px; height: 16px; color: var(--green); }

/* Avvisi e riquadri onesti */
.note {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 12px; font-size: 14.5px; line-height: 1.6; color: var(--text-2);
  background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line);
}
.note .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--text-3); }
.note b { font-weight: 500; }
.limits-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.limits-card .lead { margin-top: 16px; }

/* Griglie di schede semplici */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: 26px; border-radius: 18px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.card h3 { font-size: 18px; letter-spacing: -.015em; }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.card-ico { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 10px; color: var(--text-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-strong), var(--highlight); }
.card-ico .ico { width: 18px; height: 18px; }
.card .link-arrow { margin-top: 10px; }

/* Sottomenu della pagina prodotto */
.subnav { position: sticky; top: var(--header-h); z-index: 40; padding: 10px 0; background: rgba(11, 12, 14, .86); border-block: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.subnav-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.subnav-list::-webkit-scrollbar { display: none; }
.subnav-list a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.subnav-list a:hover { color: var(--text-1); background: rgba(255, 255, 255, .045); }
.subnav-list a.is-active { color: var(--text-1); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }

/* Moduli del prodotto */
.module + .module { margin-top: clamp(96px, 10vw, 152px); }

/* Ruoli */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role { padding: 26px; border-radius: 18px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.role h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.role p { margin-top: 10px; font-size: 15px; line-height: 1.6; }

/* ───────────── Piani ───────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 20px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.plan.is-featured { background: linear-gradient(180deg, rgba(255, 131, 63, .07), rgba(255, 131, 63, 0) 40%), var(--bg-1); box-shadow: inset 0 0 0 1px var(--accent-line), var(--highlight), 0 30px 80px -30px rgba(255, 131, 63, .25); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-kicker { font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.plan-badge { height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.plan h3 { margin-top: 14px; font-size: 26px; letter-spacing: -.03em; }
.plan-desc { margin-top: 8px; font-size: 15px; line-height: 1.6; min-height: 72px; }
.plan-price { margin-top: 22px; padding: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 10px; }
.plan-price div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-price dt { font-size: 14.5px; color: var(--text-2); }
.plan-price dd { font-size: 17px; font-weight: 600; color: var(--text-1); letter-spacing: -.01em; white-space: nowrap; }
.plan-price dd.is-zero { font-size: 22px; letter-spacing: -.02em; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan-list-head { margin-top: 26px; font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.plan .checks { margin-top: 14px; gap: 10px; }
.plan .checks li { font-size: 14.5px; }
.plan-for { margin-top: auto; padding-top: 22px; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.included { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.included .zero { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.included .zero strong { font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--text-1); }
.included .zero span { font-size: 15px; color: var(--text-3); }
.included-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.included-item { display: flex; gap: 14px; }
.included-item .card-ico { margin: 0; flex: none; }
.included-item h3 { font-size: 16px; letter-spacing: -.012em; }
.included-item p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; }

.table-scroll { margin-top: 8px; overflow-x: auto; border-radius: 18px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.table-scroll:focus-visible { outline-offset: 4px; }
table.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
table.compare caption { padding: 18px 22px 0; text-align: left; font-size: 13.5px; color: var(--text-3); }
table.compare th, table.compare td { padding: 14px 22px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.compare thead th { position: sticky; top: 0; padding-block: 18px; font-size: 15px; font-weight: 600; color: var(--text-1); background: var(--bg-1); }
table.compare thead th:not(:first-child), table.compare td { text-align: center; width: 19%; }
table.compare tbody th { font-weight: 500; color: var(--text-1); }
table.compare tbody th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--text-3); }
table.compare tr.group th { padding-top: 26px; font-size: 13.5px; font-weight: 500; color: var(--text-3); border-bottom-color: var(--line); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .yes, table.compare .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; }
table.compare .yes { color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); }
table.compare .no { color: var(--text-3); }
table.compare .yes .ico, table.compare .no .ico { width: 14px; height: 14px; }
table.compare .val { font-weight: 500; color: var(--text-1); white-space: nowrap; }
table.compare .req { font-size: 13.5px; color: var(--text-2); }

/* ───────────── Modulo contatti ───────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-card { padding: clamp(24px, 3.5vw, 40px); border-radius: 22px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight), 0 30px 80px -40px rgba(0, 0, 0, .8); }
.form-card h2 { font-size: 24px; letter-spacing: -.025em; }
.form-intro { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.lead-form { margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full, .contact-note, .consent { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-1); }
.field .opt { font-weight: 400; color: var(--text-3); }
.field .req { color: var(--accent); }
.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 0; border-radius: 10px; outline: 0;
  font-size: 16px; line-height: 1.4; color: var(--text-1); background: var(--bg-0);
  box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 2px rgba(0, 0, 0, .3);
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.input::placeholder { color: var(--text-3); opacity: 1; }
.input:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 2px rgba(0, 0, 0, .3); }
.input:focus { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px rgba(255, 131, 63, .2); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--red), 0 0 0 3px rgba(240, 145, 138, .14); }
textarea.input { min-height: 132px; resize: vertical; }
.field-hint { font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.field-error { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--red); }
.contact-note { margin-top: -4px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.contact-note.is-error { color: var(--red); }
.consent { margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--text-1); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.form-actions .muted { font-size: 14px; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.form-status.is-error, .form-status.is-info { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.55; }
.form-status.is-error { color: #F6C1BC; background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red-line); }
.form-status.is-info { color: var(--text-1); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-line); }
.form-status strong { color: inherit; }
.form-status span { color: var(--text-2); }
.form-success { margin-top: 26px; padding: 30px; border-radius: 16px; text-align: center; background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-success .tick { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 14px; color: var(--green); background: rgba(108, 212, 158, .14); box-shadow: inset 0 0 0 1px var(--green-line); }
.form-success .tick .ico { width: 22px; height: 22px; }
.form-success h3 { font-size: 21px; }
.form-success p { margin-top: 6px; margin-bottom: 18px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(26, 14, 6, .3); border-top-color: var(--accent-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.next-steps { display: grid; gap: 0; margin-top: 26px; counter-reset: next; }
.next-steps li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; }
.next-steps li::before {
  counter-increment: next; content: counter(next); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line);
}
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 1px; background: var(--line-strong); }
.next-steps b { display: block; font-size: 16px; font-weight: 600; color: var(--text-1); }
.next-steps span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; }
.aside-card { margin-top: 14px; padding: 22px; border-radius: 16px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.aside-card h3 { font-size: 16px; }
.aside-card p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
.aside-card .link-arrow { margin-top: 4px; }

/* ───────────── Testi legali ───────────── */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 2px; font-size: 14px; }
.legal-toc p { margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--text-3); }
.legal-toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text-2); line-height: 1.4; }
.legal-toc a:hover { color: var(--text-1); background: rgba(255, 255, 255, .04); }
.prose { max-width: 760px; font-size: 16px; line-height: 1.75; }
.prose h2 { margin: 48px 0 14px; font-size: 22px; letter-spacing: -.02em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 17px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--text-4); }
.prose a { color: var(--text-1); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose .ph { padding: 1px 6px; border-radius: 6px; font-weight: 500; color: var(--amber); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); white-space: nowrap; }
.prose table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text-1); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 16px; }
.prose .table-wrap table { margin: 0; min-width: 560px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* ───────────── 404 ───────────── */
.notfound { padding-block: clamp(56px, 8vw, 120px); }
.notfound-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.notfound-code { font-size: 15px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ───────────── Footer ───────────── */
.site-footer { position: relative; margin-top: 0; padding: 72px 0 36px; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 240px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-payoff { font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; color: var(--text-1); }
.footer-payoff .dim { font-weight: 600; }
.footer-brand p:not(.footer-payoff) { margin-top: 12px; max-width: 340px; font-size: 14.5px; line-height: 1.6; }
.footer-brand .btn { margin-top: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-cols h2 { margin-bottom: 14px; font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.footer-cols ul { display: grid; gap: 2px; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14.5px; color: var(--text-2); }
.footer-cols a:hover { color: var(--text-1); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 56px; padding-top: 24px; font-size: 13.5px; color: var(--text-3); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-soft); }
.footer-bottom p { line-height: 1.6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ───────────── Comparsa al passaggio ───────────── */
.reveal-armed { opacity: 0; transform: translateY(14px); }
.reveal-armed.is-visible { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-armed.is-visible[data-delay="1"] { transition-delay: .08s; }
.reveal-armed.is-visible[data-delay="2"] { transition-delay: .16s; }
.reveal-armed.is-visible[data-delay="3"] { transition-delay: .24s; }

/* ═════════════ Kit dei mockup (interfaccia della console, scala 1:1) ═════════════ */
.u { font-family: var(--font); font-size: 14px; line-height: 20px; color: var(--text-1); text-align: left; letter-spacing: normal; font-weight: 400; }
.u * { box-sizing: border-box; }
:where(.u) :where(h2, h3, h4, p) { margin: 0; color: inherit; font: inherit; text-wrap: initial; }
.u-ico { flex: none; display: block; width: 16px; height: 16px; }
.u-ico.s12 { width: 12px; height: 12px; } .u-ico.s13 { width: 13px; height: 13px; } .u-ico.s14 { width: 14px; height: 14px; } .u-ico.s15 { width: 15px; height: 15px; } .u-ico.s18 { width: 18px; height: 18px; } .u-ico.s20 { width: 20px; height: 20px; }

/* App: barra laterale */
.u-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); width: 100%; height: 100%; background: var(--bg-0); }
.u-sb { display: flex; flex-direction: column; padding: 14px 12px 12px; min-height: 0; }
.u-brand { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px; }
.u-brand svg { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 1px 2px rgba(0, 0, 0, .6); }
.u-brand span { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; }
.u-venue { margin-top: 14px; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 8px; border-radius: 10px; background: #131518; box-shadow: inset 0 0 0 1px var(--line), var(--highlight), 0 1px 2px rgba(0, 0, 0, .3); }
.u-mono { width: 28px; height: 28px; flex: none; border-radius: 7px; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #E9DCCF; background: linear-gradient(180deg, #2B2520, #221E1A); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.u-venue-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-caret { color: var(--text-3); }
.u-nav { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.u-nav-group { display: flex; flex-direction: column; gap: 1px; }
.u-nav-label { height: 26px; display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 500; color: var(--text-3); }
.u-nav-item { position: relative; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 10px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.u-nav-item .u-ico { color: var(--text-3); }
.u-nav-text { flex: 1; min-width: 0; white-space: nowrap; }
.u-nav-item.is-active { color: var(--text-1); background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035); }
.u-nav-item.is-active .u-ico { color: var(--text-1); }
.u-nav-item.is-active::before { content: ""; position: absolute; left: -12px; top: 8px; width: 3px; height: 16px; border-radius: 0 3px 3px 0; background: var(--accent); }
.u-count { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 20px; text-align: center; color: var(--text-2); background: rgba(255, 255, 255, .055); font-variant-numeric: tabular-nums; }
.u-alert { width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 182, 90, .14); }
.u-sb-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.u-agent { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: #121417; box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.u-agent-ico { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; color: var(--green); background: rgba(108, 212, 158, .09); box-shadow: inset 0 0 0 1px rgba(108, 212, 158, .14); }
.u-agent-text { display: flex; flex-direction: column; min-width: 0; }
.u-agent-text strong { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; line-height: 18px; }
.u-agent-text small { font-size: 12px; line-height: 16px; color: var(--text-3); }
.u-live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(108, 212, 158, .16); }
.u-user { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 10px 0 8px; border-top: 1px solid var(--line-soft); }
.u-avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--text-1); background: linear-gradient(180deg, #30343B, #23262C); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.u-user-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.u-user-text strong { font-size: 13.5px; font-weight: 500; line-height: 18px; }
.u-user-text small { font-size: 12px; line-height: 16px; color: var(--text-3); }

/* App: area principale */
.u-main { position: relative; margin: 8px 8px 8px 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-1); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .065), 0 8px 32px rgba(0, 0, 0, .35); }
.u-glow { position: absolute; inset: 0 0 auto 0; height: 360px; pointer-events: none; background: radial-gradient(640px 240px at 16% -70px, rgba(255, 131, 63, .075), rgba(255, 131, 63, 0) 72%); }
.u-tb { position: relative; height: 56px; flex: none; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-bottom: 1px solid var(--line-soft); }
.u-crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.u-crumb { color: var(--text-3); font-weight: 500; }
.u-crumb.is-current { color: var(--text-1); }
.u-crumb-sep { color: var(--text-4); }
.u-tb-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.u-search { width: 304px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; border-radius: 8px; color: var(--text-3); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.u-search-ph { flex: 1; font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.u-kbd { height: 20px; display: inline-flex; align-items: center; gap: 1px; padding: 0 5px; border-radius: 5px; font-size: 12px; font-weight: 500; line-height: 20px; color: var(--text-3); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.u-chip-status { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.u-chip-status .u-ico { color: var(--text-3); }
.u-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--text-3); }
.u-dot.is-green { background: var(--green); box-shadow: 0 0 0 3px rgba(108, 212, 158, .15); }
.u-dot.is-amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 182, 90, .15); }
.u-dot.is-red { background: var(--red); box-shadow: 0 0 0 3px rgba(240, 145, 138, .15); }
.u-dot.is-blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(127, 176, 242, .15); }
.u-dot.is-violet { background: var(--violet); box-shadow: 0 0 0 3px rgba(179, 163, 247, .15); }
.u-iconbtn { position: relative; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.u-bell-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg-1); }
.u-btn { height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 8px; white-space: nowrap; font-size: 13.5px; font-weight: 500; line-height: 1; }
.u-btn-primary { padding: 0 13px 0 11px; color: var(--accent-ink); background: var(--accent); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 131, 63, .5); }
.u-btn-secondary { color: var(--text-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .3); }
.u-btn-ghost { color: var(--text-2); }
.u-btn-sm { height: 28px; padding: 0 10px; font-size: 13px; border-radius: 7px; }
.u-btn .ok { color: var(--green); }
.u-content { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 24px; }
.u-title { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.025em; }
.u-sub { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.u-sep { margin: 0 6px; color: var(--text-4); }

/* Card, pillole, etichette */
.u-card { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-2); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line), var(--highlight), 0 1px 2px rgba(0, 0, 0, .25); }
.u-card.is-pop { box-shadow: inset 0 0 0 1px var(--line-strong), var(--highlight), 0 24px 60px -12px rgba(0, 0, 0, .7); }
.u-card-head { height: 48px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); }
.u-card-title { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.u-card-count { height: 20px; min-width: 22px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 20px; text-align: center; color: var(--text-2); background: rgba(255, 255, 255, .055); }
.u-card-sub { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.u-card-link { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.u-card-link .u-ico { color: var(--text-3); }
.u-pill { height: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.u-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.u-pill.no-dot::before { display: none; }
.u-pill .u-ico { margin: 0 -1px 0 -2px; width: 12px; height: 12px; }
.u-pill.is-green { color: var(--green); background: rgba(108, 212, 158, .09); box-shadow: inset 0 0 0 1px rgba(108, 212, 158, .16); }
.u-pill.is-amber { color: var(--amber); background: rgba(232, 182, 90, .09); box-shadow: inset 0 0 0 1px rgba(232, 182, 90, .18); }
.u-pill.is-red { color: var(--red); background: rgba(240, 145, 138, .09); box-shadow: inset 0 0 0 1px rgba(240, 145, 138, .18); }
.u-pill.is-blue { color: var(--blue); background: rgba(127, 176, 242, .09); box-shadow: inset 0 0 0 1px rgba(127, 176, 242, .17); }
.u-pill.is-violet { color: var(--violet); background: rgba(179, 163, 247, .09); box-shadow: inset 0 0 0 1px rgba(179, 163, 247, .18); }
.u-pill.is-accent { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 131, 63, .22); }
.u-pill.is-grey, .u-pill.is-neutral { color: var(--text-2); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.u-pill.is-grey::before, .u-pill.is-neutral::before { background: var(--text-3); }
.u-tchip { height: 24px; min-width: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 7px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-1); white-space: nowrap; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.u-tchip.is-empty { font-weight: 500; color: var(--text-3); background: none; box-shadow: none; outline: 1px dashed rgba(255, 255, 255, .16); outline-offset: -1px; }
.u-tag { height: 22px; display: inline-flex; align-items: center; gap: 5px; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); white-space: nowrap; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.u-tag .u-ico { color: var(--text-3); width: 12px; height: 12px; }
.u-ordn, .ordn { font-size: .68em; line-height: 0; vertical-align: .5em; margin-left: .5px; font-weight: 500; }

/* Indicatori */
.u-kpis { margin-top: 20px; flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--bg-2); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line), var(--highlight), 0 1px 2px rgba(0, 0, 0, .25); }
.u-kpi { position: relative; padding: 16px 20px; min-width: 0; }
.u-kpi + .u-kpi::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.u-kpi-label { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-2); }
.u-kpi-label .u-ico { color: var(--text-3); width: 15px; height: 15px; }
.u-kpi-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.u-kpi-value { margin-top: 8px; display: flex; align-items: baseline; gap: 5px; font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-kpi-unit { font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--text-3); }
.u-kpi-value .cur { font-size: 20px; font-weight: 500; color: var(--text-2); margin-right: 1px; }
.u-kpi-value .dec { font-size: 20px; font-weight: 500; color: var(--text-2); letter-spacing: -.02em; margin-left: -5px; }
.u-kpi-foot { margin-top: 10px; height: 18px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.u-meter { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.u-meter > span { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #C9CCD1, #EDEEF0); }
.u-kpi-pct { font-size: 13px; font-weight: 500; color: var(--text-2); }
.u-delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 500; }
.u-delta.good { color: var(--green); }
.u-attn { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--amber); }

/* Panoramica (copia fedele del concept) */
.u-dash { margin-top: 16px; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 330px minmax(0, 1fr); gap: 16px; }
.u-c-arrivals { grid-column: 1 / span 8; } .u-c-floor { grid-column: 9 / span 4; } .u-c-orders { grid-column: 1 / span 5; } .u-c-ai { grid-column: 6 / span 3; } .u-c-revenue { grid-column: 9 / span 4; }
.u-list { display: flex; flex-direction: column; padding: 4px 0; }
.u-arr { height: 54px; display: grid; grid-template-columns: 52px minmax(0, 1fr) 100px 300px; align-items: center; column-gap: 16px; padding: 0 16px; position: relative; }
.u-arr + .u-arr::before, .u-ord + .u-ord::before, .u-row + .u-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.u-arr-time { font-size: 14px; font-weight: 500; color: var(--text-1); font-variant-numeric: tabular-nums; }
.u-guest { display: flex; flex-direction: column; min-width: 0; }
.u-guest strong { font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.u-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--text-2); white-space: nowrap; }
.u-meta .u-tag { height: 18px; padding: 0 5px 0 4px; font-size: 12px; gap: 4px; border-radius: 5px; }
.u-arr-status { display: flex; align-items: center; gap: 8px; }
.u-arr-actions { margin-left: auto; display: flex; gap: 6px; }
.u-arr.is-pending { background: linear-gradient(90deg, rgba(232, 182, 90, .045), rgba(232, 182, 90, 0) 70%); }
.u-arr.is-pending::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--amber); }
.u-floor-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px 16px 0; }
.u-floor { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); border-radius: 8px; background-color: #121417; background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.2px); background-size: 12px 12px; background-position: 6px 6px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.u-cell { display: grid; place-items: center; min-width: 0; }
.u-t { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 8px; }
.u-t.t-rect { width: 60px; height: 44px; } .u-t.t-long { width: 76px; height: 44px; } .u-t.t-round { width: 50px; height: 50px; border-radius: 50%; }
.u-t-id { font-size: 12.5px; line-height: 14px; font-weight: 600; letter-spacing: -.01em; }
.u-t-sub { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; line-height: 14px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-chair { position: absolute; border-radius: 2px; background: rgba(255, 255, 255, .09); }
.u-chair.h { width: 14px; height: 4px; } .u-chair.v { width: 4px; height: 14px; }
.u-chair.h.top { top: -8px; } .u-chair.h.bottom { bottom: -8px; } .u-chair.v.left { left: -9px; top: 50%; margin-top: -7px; } .u-chair.v.right { right: -9px; top: 50%; margin-top: -7px; }
.u-chair.h.c1 { left: 25%; margin-left: -7px; } .u-chair.h.c2 { left: 75%; margin-left: -7px; }
.u-chair.h.d1 { left: 16.6667%; margin-left: -7px; } .u-chair.h.d2 { left: 50%; margin-left: -7px; } .u-chair.h.d3 { left: 83.3333%; margin-left: -7px; }
.u-t.is-free { background: rgba(108, 212, 158, .03); box-shadow: inset 0 0 0 1px rgba(108, 212, 158, .34); }
.u-t.is-free .u-t-id { color: var(--text-2); }
.u-t.is-free .u-chair { background: rgba(108, 212, 158, .16); }
.u-t.is-booked { background: rgba(232, 182, 90, .11); box-shadow: inset 0 0 0 1px rgba(232, 182, 90, .44); }
.u-t.is-booked .u-t-id { color: #F5DDAE; } .u-t.is-booked .u-t-sub { color: var(--amber); } .u-t.is-booked .u-chair { background: rgba(232, 182, 90, .3); }
.u-t.is-busy { background: rgba(240, 145, 138, .12); box-shadow: inset 0 0 0 1px rgba(240, 145, 138, .44), 0 2px 6px rgba(0, 0, 0, .35); }
.u-t.is-busy .u-t-id { color: #F8D3CF; } .u-t.is-busy .u-t-sub { color: var(--text-2); } .u-t.is-busy .u-chair { background: rgba(240, 145, 138, .22); } .u-t.is-busy .u-chair.lit { background: rgba(240, 145, 138, .72); }
.u-t.is-bill { background: rgba(240, 145, 138, .12); box-shadow: inset 0 0 0 1px rgba(240, 145, 138, .44), 0 2px 6px rgba(0, 0, 0, .35); }
.u-t.is-bill .u-t-id { color: #F8D3CF; } .u-t.is-bill .u-t-sub { color: var(--amber); } .u-t.is-bill .u-chair { background: rgba(240, 145, 138, .22); }
.u-legend { height: 42px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.u-lg { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.u-lg b { font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.u-sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.u-sw.is-free { background: rgba(108, 212, 158, .12); box-shadow: inset 0 0 0 1px var(--green); }
.u-sw.is-booked { background: rgba(232, 182, 90, .35); box-shadow: inset 0 0 0 1px var(--amber); }
.u-sw.is-busy { background: rgba(240, 145, 138, .35); box-shadow: inset 0 0 0 1px var(--red); }
.u-sw.is-off { background: repeating-linear-gradient(135deg, rgba(138, 144, 153, .5) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px rgba(138, 144, 153, .7); }
.u-ord { height: 42px; display: grid; grid-template-columns: 44px 40px minmax(0, 1fr) 164px 44px; align-items: center; column-gap: 12px; padding: 0 16px; position: relative; }
.u-ord-num { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.u-ord-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.u-ord-meta .u-ico { color: var(--text-3); width: 14px; height: 14px; }
.u-ord .u-pill { justify-self: start; }
.u-ord-time { font-size: 13px; color: var(--text-3); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-ai-mark { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--violet); background: rgba(179, 163, 247, .1); box-shadow: inset 0 0 0 1px rgba(179, 163, 247, .18); }
.u-ai-stats { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 4px 0; }
.u-ai-stat { height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 16px; position: relative; }
.u-ai-stat + .u-ai-stat::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.u-ai-num { width: 30px; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.u-ai-label { flex: 1; font-size: 13.5px; color: var(--text-2); }
.u-ai-stat .u-ico { color: var(--text-3); width: 15px; height: 15px; }
.u-bars { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; padding: 12px 12px 14px; position: relative; }
.u-bars::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 37px; height: 1px; background: var(--line); }
.u-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.u-bar-val { font-size: 12px; font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; }
.u-bar { width: 26px; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #30343B, #272B31); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.u-bar-day { margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--text-3); }
.u-bar-col.is-today .u-bar { background: linear-gradient(180deg, #FF9455, #F2732E); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.u-bar-col.is-today .u-bar-val, .u-bar-col.is-today .u-bar-day { color: var(--text-1); font-weight: 600; }

/* Righe generiche per elenchi nei mockup */
.u-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; }
.u-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.u-row-main strong { font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-row-main small { font-size: 12.5px; line-height: 18px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-row-end { display: flex; align-items: center; gap: 8px; flex: none; }
.u-row .u-price { font-size: 13.5px; font-weight: 500; color: var(--text-1); font-variant-numeric: tabular-nums; }

/* Notifica nel mockup */
.u-toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 18px; background: #191C20; box-shadow: inset 0 0 0 1px var(--green-line), 0 18px 50px rgba(0, 0, 0, .6); }
.u-toast .u-tick { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 6px; color: var(--green); background: var(--green-soft); }
.u-toast strong { display: block; font-weight: 500; }
.u-toast small { display: block; color: var(--text-3); font-size: 12px; }

/* Telefono: cornice in proporzione; lo schermo è un palco fisso 390×844 scalato come uno screenshot */
.phone { position: relative; width: 100%; padding: 3%; border-radius: 15% / 7%; background: linear-gradient(160deg, #3A3E45, #1A1C20 40%, #24272C); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 3px #0E0F11, 0 0 0 1px rgba(0, 0, 0, .9), 0 36px 70px -18px rgba(0, 0, 0, .75); }
.phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 12% / 5.6%; overflow: hidden; background: var(--bg-0); }
.phone .fit { aspect-ratio: 390 / 844; }
.phone .fit-stage { transform: scale(var(--k, .62)); }
.ps { position: relative; display: flex; flex-direction: column; width: 390px; height: 844px; background: var(--bg-0); color: var(--text-1); font-size: 15px; line-height: 21px; }
.phone.is-light .ps { background: var(--paper); color: var(--ink); }
.ps-island { position: absolute; z-index: 5; top: 11px; left: 50%; width: 124px; height: 36px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.ps-status { position: relative; z-index: 4; flex: none; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 4px 34px 0 42px; font-size: 16px; font-weight: 600; }
.ps-status .bars { display: flex; align-items: center; gap: 6px; }
.ps-status .bars b { display: block; width: 18px; height: 11px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 5px, currentColor 5px 8px, transparent 8px 10px, currentColor 10px 13px, transparent 13px 15px, currentColor 15px 18px); -webkit-mask: linear-gradient(0deg, #000 40%, transparent 40%) 0 0 / 3px 100% no-repeat, linear-gradient(0deg, #000 60%, transparent 60%) 5px 0 / 3px 100% no-repeat, linear-gradient(0deg, #000 80%, transparent 80%) 10px 0 / 3px 100% no-repeat, linear-gradient(#000, #000) 15px 0 / 3px 100% no-repeat; mask: linear-gradient(0deg, #000 40%, transparent 40%) 0 0 / 3px 100% no-repeat, linear-gradient(0deg, #000 60%, transparent 60%) 5px 0 / 3px 100% no-repeat, linear-gradient(0deg, #000 80%, transparent 80%) 10px 0 / 3px 100% no-repeat, linear-gradient(#000, #000) 15px 0 / 3px 100% no-repeat; }
.ps-status .bars i { position: relative; display: block; width: 25px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9; }
.ps-status .bars i::after { content: ""; position: absolute; inset: 2.5px 6px 2.5px 2.5px; border-radius: 1.5px; background: currentColor; }
.ps-home { position: absolute; z-index: 5; bottom: 8px; left: 50%; width: 134px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .6); transform: translateX(-50%); }
.phone.is-light .ps-home { background: rgba(0, 0, 0, .4); }

/* App camerieri (telefono, scuro) */
.cam { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cam-head { display: flex; align-items: center; gap: 12px; padding: 6px 18px 14px; }
.cam-back { width: 32px; height: 32px; display: grid; place-items: center; color: var(--text-2); }
.cam-back .u-ico { width: 22px; height: 22px; }
.cam-title { flex: 1; min-width: 0; }
.cam-title strong { display: block; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-title small { display: block; font-size: 13.5px; color: var(--text-3); }
.cam-online { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.cam-uscite { display: flex; align-items: center; gap: 8px; padding: 2px 18px 14px; }
.cam-uscite > span:first-child { margin-right: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: var(--text-3); }
.cam-u { position: relative; flex: 1; height: 46px; display: grid; place-items: center; border-radius: 12px; font-size: 17px; font-weight: 600; color: var(--text-2); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cam-u.is-on { color: var(--accent-ink); background: var(--accent); box-shadow: none; }
.cam-u.has-dot::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.cam-search { display: flex; align-items: center; gap: 10px; height: 46px; margin: 0 18px 12px; padding: 0 14px; border-radius: 12px; font-size: 15px; color: var(--text-3); background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cam-search .u-ico { width: 18px; height: 18px; }
.cam-chips { display: flex; gap: 8px; padding: 0 18px 14px; overflow: hidden; }
.cam-chip { flex: none; height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong); white-space: nowrap; }
.cam-chip.is-on { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.cam-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 0 18px; overflow: hidden; }
.cam-sec { margin-top: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--text-3); }
.cam-dish { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.cam-dish.is-picked { background: rgba(255, 131, 63, .07); box-shadow: inset 0 0 0 1px rgba(255, 131, 63, .38); }
.cam-dish-main { flex: 1; min-width: 0; }
.cam-dish-main strong { display: block; font-size: 16px; line-height: 22px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-dish-main small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 19px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-dish-price { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cam-qty { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 700; color: var(--accent-ink); background: var(--accent); }
.cam-add { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cam-add .u-ico { width: 16px; height: 16px; }
.cam-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 16px 18px 34px; border-top: 1px solid var(--line-soft); background: rgba(11, 12, 14, .94); }
.cam-foot-text strong { display: block; font-size: 17px; line-height: 22px; font-weight: 600; }
.cam-foot-text small { display: block; font-size: 13.5px; color: var(--text-3); }
.cam-send { margin-left: auto; height: 52px; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; border-radius: 14px; font-size: 16px; font-weight: 600; color: var(--accent-ink); background: var(--accent); }
.cam-send .u-ico { width: 18px; height: 18px; }
.cam-step { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.cam-step b { font-size: 16px; font-weight: 600; color: var(--accent); }
.cam-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cam-seg span { height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text-3); }
.cam-seg span.is-on { color: var(--accent-ink); background: var(--accent); }
.cam-seg .u-ico { width: 15px; height: 15px; }
.cam-line { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.cam-line .q { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; font-size: 15px; font-weight: 700; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cam-line > div { flex: 1; min-width: 0; padding-top: 4px; }
.cam-line strong { display: block; font-size: 15.5px; line-height: 21px; font-weight: 600; }
.cam-line small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 19px; color: var(--text-3); }
.cam-line .nt { display: block; margin-top: 2px; font-size: 13.5px; line-height: 19px; color: var(--amber); }
.cam-line .p { padding-top: 4px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cam-note { padding: 12px 14px; border-radius: 14px; font-size: 15px; color: var(--text-1); background: var(--bg-1); box-shadow: inset 0 0 0 1.5px var(--accent); }
.cam-note small { display: block; margin-bottom: 4px; font-size: 13px; color: var(--text-3); }

/* Pagine per gli ospiti (chiare, calde) */
.g { color: var(--ink); }
.g strong, .g b, .bill strong, .bill b, .ticket strong, .ticket b { color: inherit; }
.g-head { display: flex; align-items: center; gap: 12px; padding: 6px 18px 14px; }
.g-logo { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(160deg, #E4572E, #B83A1C); font-size: 15px; font-weight: 700; letter-spacing: -.02em; box-shadow: 0 2px 6px rgba(184, 58, 28, .35); }
.g-head strong { display: block; font-size: 17px; line-height: 22px; font-weight: 600; color: var(--ink); }
.g-head small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #1E7A4A; }
.g-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #23A35F; }
.g-table { margin-left: auto; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); white-space: nowrap; }
.g-intro { padding: 4px 18px 0; }
.g-intro strong { display: block; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.025em; }
.g-intro p { margin-top: 6px; font-size: 14.5px; line-height: 21px; color: var(--ink-2); }
.g-dim { position: absolute; inset: 0; z-index: 2; background: rgba(20, 16, 12, .4); }
.g-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 150px; z-index: 3; display: flex; flex-direction: column; border-radius: 26px 26px 0 0; background: #FFFDF9; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
.g-sheet-head { padding: 22px 22px 12px; }
.g-sheet-head strong { display: block; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.g-sheet-head small { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.g-sheet-body { flex: 1; min-height: 0; overflow: hidden; padding: 0 22px; display: flex; flex-direction: column; gap: 8px; }
.g-group { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.g-opt-badge { height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: #F1ECE4; }
.g-opt-badge.is-req { color: #9A3412; background: #FFE8DA; }
.g-opt { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border-radius: 12px; font-size: 15px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-opt.is-on { background: #FFF1E8; box-shadow: inset 0 0 0 1.5px #FF833F; }
.g-opt.is-off { background: #FFF1F0; box-shadow: inset 0 0 0 1.5px #E2574C; }
.g-radio { width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B7B1A8; }
.g-opt.is-on .g-radio { background: #E8662A; box-shadow: inset 0 0 0 1.5px #E8662A, inset 0 0 0 5px #fff; }
.g-box { width: 20px; height: 20px; flex: none; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #B7B1A8; }
.g-opt.is-off .g-box { background: #D9473B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.g-opt-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-opt-name small { display: block; font-size: 13px; line-height: 17px; color: var(--ink-2); }
.g-opt.is-off .g-opt-name { color: #B4261B; font-weight: 600; }
.g-opt-price { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-free { color: #1E7A4A !important; }
.g-stepper { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 3px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-stepper span { width: 30px; display: grid; place-items: center; font-size: 19px; line-height: 1; color: var(--ink-2); }
.g-stepper b { min-width: 18px; text-align: center; font-size: 15px; color: var(--ink); }
.g-note { padding: 12px 14px; border-radius: 12px; font-size: 15px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px #FF833F; }
.g-note small { display: block; margin-bottom: 2px; font-size: 13px; color: var(--ink-2); }
.g-sheet-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px 34px; border-top: 1px solid var(--paper-line); background: #FFFDF9; }
.g-cta { flex: 1; height: 52px; display: grid; place-items: center; border-radius: 14px; font-size: 16px; font-weight: 700; color: #1A0E06; background: #FF833F; box-shadow: 0 8px 18px -8px rgba(255, 131, 63, .9); }
.g-hero-card { margin: 4px 14px 0; padding: 22px 20px; border-radius: 22px; color: #F6F1EA; background: radial-gradient(120% 120% at 90% 0%, #3A2A1F, #17120E 60%); }
.g-hero-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .09em; color: #FF9A5E; }
.g-hero-card strong { display: block; margin-top: 6px; font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -.03em; color: #FFF8F1; }
.g-hero-card em { display: block; margin-top: 4px; font-size: 17px; color: #FFB27F; font-style: italic; font-family: Georgia, "Times New Roman", serif; }
.g-hero-card p { margin-top: 10px; font-size: 14px; line-height: 20px; color: #D8CFC5; }
.g-card { margin: 12px 14px 0; padding: 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-card h4 { font-size: 17px; line-height: 22px; font-weight: 700; color: var(--ink); }
.g-card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.g-big-step { display: flex; align-items: center; gap: 14px; }
.g-big-step span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 22px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-big-step b { font-size: 28px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.g-days { display: flex; gap: 8px; margin-top: 14px; }
.g-day { flex: 1; padding: 8px 0; border-radius: 12px; text-align: center; font-size: 12.5px; line-height: 16px; color: var(--ink-2); background: #FFFDF9; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-day b { display: block; font-size: 20px; line-height: 26px; color: var(--ink); }
.g-day.is-on { color: #F6F1EA; background: #1B1C1F; box-shadow: none; }
.g-day.is-on b { color: #fff; }
.g-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.g-time { height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); background: #FFFDF9; box-shadow: inset 0 0 0 1px var(--paper-line); font-variant-numeric: tabular-nums; }
.g-time.is-on { color: #1A0E06; background: #FF833F; box-shadow: none; }
.g-time.is-off { color: #B4AEA5; text-decoration: line-through; }
.g-send { margin: 14px 14px 0; }
.g-field { margin-top: 10px; padding: 12px 14px; border-radius: 12px; font-size: 15px; color: var(--ink); background: #FFFDF9; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-send .g-cta { width: 100%; }

/* Scontrino della comanda (carta termica) */
.ticket {
  position: relative; padding: 18px 16px 26px; color: #1C1C1C; font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: -.01em;
  background: linear-gradient(180deg, #FBFAF6, #F1EEE6);
  -webkit-mask: radial-gradient(7px 6px at 7px 100%, transparent 98%, #000) -7px 0 / 14px 100% repeat-x; mask: radial-gradient(7px 6px at 7px 100%, transparent 98%, #000) -7px 0 / 14px 100% repeat-x;
}
.ticket::after { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(180deg, rgba(0, 0, 0, .08), transparent); }
.tk-dept { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.tk-dept span:last-child { font-weight: 500; letter-spacing: 0; }
.tk-rule { margin: 8px 0; border-top: 1.5px dashed rgba(0, 0, 0, .35); }
.tk-table { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.tk-sub { font-size: 11px; color: #3B3B3B; }
.tk-line { display: grid; grid-template-columns: 26px minmax(0, 1fr); margin-top: 6px; }
.tk-line b { font-weight: 800; color: #111; }
.tk-mod { grid-column: 2; font-size: 11.5px; }
.tk-mod.rm { justify-self: start; margin-top: 2px; padding: 0 4px; font-weight: 800; color: #F7F5EF; background: #1C1C1C; }
.tk-mod.nt { font-style: italic; }
.tk-foot { margin-top: 8px; font-size: 11px; }

/* Schermo cucina */
.kds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; height: 100%; background: var(--bg-0); }
.kds-col h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; }
.kds-col h4 .u-card-count { font-size: 11px; height: 18px; line-height: 18px; min-width: 18px; padding: 0 5px; }
.kds-col.is-todo h4 { color: var(--accent); } .kds-col.is-ready h4 { color: var(--green); } .kds-col.is-next h4 { color: var(--text-2); }
.kds-t { position: relative; padding: 12px; border-radius: 12px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-strong); overflow: hidden; }
.kds-t + .kds-t { margin-top: 10px; }
.kds-t::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }
.kds-col.is-ready .kds-t::before { background: var(--green); }
.kds-col.is-next .kds-t::before { background: var(--grey); }
.kds-t-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kds-t-head strong { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.kds-min { height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 7px; font-size: 12px; font-weight: 700; background: var(--bg-3); font-variant-numeric: tabular-nums; }
.kds-min.is-warn { color: #1A1206; background: var(--amber); }
.kds-t small { display: block; margin-top: 2px; font-size: 11px; color: var(--text-3); }
.kds-item { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 12.5px; line-height: 17px; font-weight: 600; }
.kds-item i { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 6px; font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--bg-3); }
.kds-item span small { display: block; margin: 1px 0 0; font-size: 11px; font-weight: 500; color: var(--amber); }
.kds-item span small.rm { color: #F6B3AD; }
.kds-done { margin-top: 10px; height: 32px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: #0D2A1B; background: #5FCF92; }
.kds-segue { height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; color: var(--text-2); background: var(--bg-3); }

/* Pianta della sala (SVG) */
.plan-svg { width: 100%; height: auto; }
.plan-svg .p-floor { fill: #121417; }
.plan-svg .p-grid { fill: url(#dots); }
.plan-svg .p-wall { fill: none; stroke: #4A5059; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.plan-svg .p-wall-in { fill: none; stroke: #3A3F47; stroke-width: 4; stroke-linecap: round; }
.plan-svg .p-door { fill: none; stroke: #6B717A; stroke-width: 1.5; stroke-dasharray: 3 3; }
.plan-svg .p-window { stroke: #7FB0F2; stroke-opacity: .55; stroke-width: 3; }
.plan-svg .p-fixture { fill: #1A1D21; stroke: rgba(255, 255, 255, .14); stroke-width: 1.2; }
.plan-svg .p-label { fill: #878C94; font-size: 12px; font-weight: 500; font-family: var(--font); letter-spacing: .01em; }
.plan-svg .p-area { fill: rgba(127, 176, 242, .04); stroke: rgba(127, 176, 242, .3); stroke-width: 1.2; stroke-dasharray: 5 4; }
.plan-svg .p-check { fill: rgba(232, 182, 90, .06); stroke: #E8B65A; stroke-width: 1.5; stroke-dasharray: 5 4; }
.plan-svg .tb .top { stroke-width: 1.6; }
.plan-svg .tb .ch { stroke-width: 1.2; }
.plan-svg .tb text { font-family: var(--font); text-anchor: middle; }
.plan-svg .tb .id { font-size: 13px; font-weight: 600; fill: #EDEEF0; }
.plan-svg .tb .sub { font-size: 11px; font-weight: 500; }
.plan-svg .tb.free .top { fill: rgba(108, 212, 158, .07); stroke: rgba(108, 212, 158, .62); }
.plan-svg .tb.free .ch { fill: transparent; stroke: rgba(108, 212, 158, .3); }
.plan-svg .tb.free .sub { fill: #6CD49E; }
.plan-svg .tb.res .top { fill: rgba(232, 182, 90, .14); stroke: rgba(232, 182, 90, .78); }
.plan-svg .tb.res .ch { fill: rgba(232, 182, 90, .09); stroke: rgba(232, 182, 90, .38); }
.plan-svg .tb.res .sub { fill: #E8B65A; }
.plan-svg .tb.res.unc .top { stroke-dasharray: 5 4; fill: rgba(232, 182, 90, .08); }
.plan-svg .tb.occ .top { fill: rgba(240, 145, 138, .2); stroke: rgba(240, 145, 138, .82); }
.plan-svg .tb.occ .ch { fill: rgba(240, 145, 138, .16); stroke: rgba(240, 145, 138, .42); }
.plan-svg .tb.occ .sub { fill: #F6B3AD; }
.plan-svg .tb.off .top { fill: rgba(138, 144, 153, .1); stroke: rgba(138, 144, 153, .5); stroke-dasharray: 2 3; }
.plan-svg .tb.off .ch { fill: transparent; stroke: rgba(138, 144, 153, .26); }
.plan-svg .tb.off .id, .plan-svg .tb.off .sub { fill: #878C94; }
.plan-svg .tb.sel .top { stroke: #FF833F; stroke-width: 2.2; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.plan-legend li { display: inline-flex; align-items: center; gap: 7px; }

/* Schizzo a mano della piantina (foto) */
.sketch { position: relative; padding: 14px 14px 10px; border-radius: 6px; background: #EFEAE0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .3); transform: rotate(-3deg); }
.sketch svg { width: 100%; height: auto; }
.sketch .sk { fill: none; stroke: #3B3E44; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sketch .sk-thin { fill: none; stroke: #4B4F57; stroke-width: 1.4; stroke-linecap: round; }
.sketch text { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 13px; fill: #3B3E44; }
.sketch-cap { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font); font-size: 11px; color: #5D6168; }
.sketch-cap .u-ico { width: 13px; height: 13px; }

/* Grafico a barre semplice */
.chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: stretch; gap: 10px; height: 150px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.chart-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-height: 0; }
.chart-bar { width: 100%; max-width: 30px; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #30343B, #272B31); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.chart-col.is-today .chart-bar { background: linear-gradient(180deg, #FF9455, #F2732E); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.chart-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 8px; padding: 0 4px; font-size: 12px; font-weight: 500; color: var(--text-3); text-align: center; }
.chart-days .is-today { color: var(--text-1); font-weight: 600; }

/* Anello di avanzamento */
.ring { --p: 50; position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg-2); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.ring.is-done { background: conic-gradient(var(--green) 100%, transparent 0); }

/* Finestra di TrilùTable per Windows */
.win { border-radius: 12px; overflow: hidden; background: var(--bg-0); box-shadow: 0 0 0 1px var(--line-strong), 0 30px 80px -20px rgba(0, 0, 0, .8); }
.win-bar { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 12px; color: var(--text-3); background: #0E0F12; border-bottom: 1px solid var(--line-soft); }
.win-bar b { font-weight: 500; color: var(--text-2); }
.win-bar span:last-child { margin-left: auto; letter-spacing: 6px; }

/* ───────────── Composizioni delle illustrazioni ───────────── */
/* Righe di prenotazione compatte */
.u-res { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 8px; min-height: 58px; padding: 9px 14px; }
.u-res + .u-res::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: var(--line-soft); }
.u-res.is-pending { background: linear-gradient(90deg, rgba(232, 182, 90, .055), rgba(232, 182, 90, 0) 75%); }
.u-res.is-pending::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--amber); }
.u-res .u-arr-time { display: flex; align-items: center; color: var(--text-1); }
.u-res .u-arr-time .u-ico { color: var(--amber); }
.u-res .u-meta { flex-wrap: wrap; white-space: normal; row-gap: 4px; }
.u-res .u-guest strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-res-side { display: flex; justify-content: flex-end; }
.u-res-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.u-res-hint { margin-right: auto; font-size: 12px; color: var(--text-3); }

/* 01 · Prenotazioni */
.book-grid { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 24px; align-items: center; }
.book-phone { position: relative; z-index: 2; }
.book-console { display: grid; gap: 14px; min-width: 0; }
.book-toast { justify-self: end; max-width: 100%; }

/* 02 · Agente AI */
.ai-grid { display: grid; gap: 14px; }
.ai-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--violet); font-variant-numeric: tabular-nums; }
.ai-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 46px; margin: 14px 16px 0; padding: 0 12px; border-radius: 10px; background: rgba(179, 163, 247, .05); box-shadow: inset 0 0 0 1px rgba(179, 163, 247, .12); }
.ai-wave i { width: 4px; height: var(--h); max-height: 30px; border-radius: 3px; background: linear-gradient(180deg, #CFC6FB, #9686F0); transform-origin: center; animation: ai-wave 1.4s ease-in-out infinite alternate; }
.ai-wave i:nth-child(2n) { animation-delay: -.5s; } .ai-wave i:nth-child(3n) { animation-delay: -.9s; } .ai-wave i:nth-child(5n) { animation-delay: -.25s; }
@keyframes ai-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.ai-chat { display: grid; gap: 8px; padding: 14px 16px 36px; }
.ai-msg { max-width: 84%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; line-height: 19px; color: var(--text-1); }
.ai-msg small { display: block; margin-bottom: 2px; font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--text-3); }
.ai-msg.is-guest { justify-self: start; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 4px; }
.ai-msg.is-agent { justify-self: end; background: rgba(179, 163, 247, .1); box-shadow: inset 0 0 0 1px rgba(179, 163, 247, .22); border-bottom-right-radius: 4px; }
.ai-msg.is-agent small { color: var(--violet); }
.ai-result { position: relative; z-index: 2; margin: -30px 0 0 9%; }

/* 03 · Sala: dalla foto alla mappa */
.sala-stage { padding: clamp(18px, 3vw, 40px); }
.sala-grid { display: grid; grid-template-columns: minmax(0, 4fr) auto minmax(0, 8fr); align-items: center; gap: 24px; }
.sala-photo { padding: 8px; }
.sala-arrow { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sala-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-strong), 0 10px 30px rgba(0, 0, 0, .45); white-space: nowrap; }
.sala-chip .u-ico { color: var(--accent); }
.sala-line { width: 64px; height: 12px; background: linear-gradient(90deg, transparent, var(--accent-line)) center / 100% 1.5px no-repeat; position: relative; }
.sala-line::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.sala-svg { padding: 14px 14px 0; }
.sala-plan .plan-legend { padding: 0 16px 16px; }
.sala-points { margin-top: 16px; }
.sala-points .card { padding: 22px; }
.sala-points .card h3 { font-size: 16.5px; }
.sala-points .card p { font-size: 14.5px; }

/* 04 · Servizio */
.peek-phone { width: min(292px, 82%); }
.subcard-visual { height: 420px; min-height: 0; align-items: flex-start; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.subcard-visual.is-wide { justify-content: flex-start; padding: 0 0 0 28px; }
.kds-card { width: 640px; flex: none; }
.kds-card .kds { height: auto; background: transparent; }
.tickets { position: relative; display: flex; justify-content: center; gap: 22px; padding-top: 60px; width: 100%; }
.tickets .ticket { width: 214px; flex: none; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55)); }
.tickets .tk-a { transform: rotate(-2.2deg); }
.tickets .tk-b { margin-top: 34px; transform: rotate(2.6deg); }
.print-chip { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text-1); background: rgba(22, 25, 29, .92); box-shadow: inset 0 0 0 1px var(--line-strong), 0 14px 40px rgba(0, 0, 0, .6); white-space: nowrap; }
.print-chip .u-ico { color: var(--text-2); }

/* 05 · Menù digitale */
.menu-editor .u-card-head { gap: 12px; }
.me-tabs { display: flex; gap: 2px; margin-left: 4px; }
.me-tabs span { height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--text-3); }
.me-tabs span.is-on { color: var(--text-1); background: rgba(255, 255, 255, .06); }
.me-actions { margin-left: auto; display: flex; gap: 6px; }
.me-banner { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 12.5px; font-weight: 500; color: var(--amber); background: rgba(232, 182, 90, .07); border-bottom: 1px solid rgba(232, 182, 90, .16); }
.me-body { display: grid; grid-template-columns: 164px minmax(0, 1fr); }
.me-cats { display: flex; flex-direction: column; gap: 1px; padding: 10px 8px; border-right: 1px solid var(--line-soft); background: rgba(0, 0, 0, .14); }
.me-cat { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.me-cat b { font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.me-cat.is-on { color: var(--text-1); background: rgba(255, 255, 255, .055); }
.me-sub { position: relative; height: 26px; display: flex; align-items: center; padding: 0 10px 0 24px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.me-sub::before { content: ""; position: absolute; left: 13px; top: 50%; width: 6px; height: 1px; background: var(--text-4); }
.me-sub.is-on { color: var(--text-1); }
.me-items { min-width: 0; padding: 6px 0; }
.me-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 16px; }
.me-item + .me-item::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.me-thumb { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; font-size: 13px; font-weight: 600; color: #F2D9C4; background: linear-gradient(160deg, #4A2E1D, #2A1C14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.me-main { min-width: 0; }
.me-main strong { display: block; font-size: 13.5px; font-weight: 500; }
.me-main small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.me-tags .u-tag, .me-tags .u-pill { height: 20px; font-size: 11.5px; }
.me-price { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.me-toggle { position: relative; width: 32px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.me-toggle i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #C9CCD1; }
.me-toggle.is-on { background: var(--accent); }
.me-toggle.is-on i { left: 16px; background: #fff; }
.me-item.is-out .me-main strong, .me-item.is-out .me-price { color: var(--text-3); }
.me-item.is-out .me-thumb { filter: grayscale(1); opacity: .6; }
.me-addon { margin: 8px 16px 14px; padding: 12px; border-radius: 10px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.me-addon-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.me-addon-head .u-ico { color: var(--accent); width: 14px; height: 14px; }
.me-addon-head strong { font-weight: 600; }
.me-addon-head small { margin-left: auto; font-size: 12px; color: var(--text-3); }
.me-addon-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.me-addon-list span { height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 7px; font-size: 12px; color: var(--text-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.me-addon-list b { font-weight: 600; color: var(--text-1); }
.me-addon-list b.free { color: var(--green); }

/* 06 · Numeri */
.num-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.num-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px 16px; }
.num-kpis div { padding: 10px 0; }
.num-kpis small { display: block; font-size: 12.5px; color: var(--text-3); }
.num-kpis b { display: block; margin-top: 2px; font-size: 21px; line-height: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.num-chart { padding: 8px 16px 16px; }
.num-chart .chart { height: 112px; gap: 8px; }
.num-chart .chart-days { gap: 8px; }
.num-side { display: grid; gap: 14px; min-width: 0; }
.num-cash { display: grid; gap: 2px; padding: 8px 16px 14px; }
.num-cash div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; font-size: 13px; color: var(--text-2); }
.num-cash div span { display: inline-flex; align-items: center; gap: 8px; }
.num-cash .u-ico { color: var(--text-3); width: 15px; height: 15px; }
.num-cash b { font-size: 13.5px; font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.num-cash .is-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line-soft); color: var(--text-1); }
.num-cash p { margin-top: 4px; font-size: 12px; color: var(--text-3); }

/* 07 · Più locali */
.master .u-list { padding: 4px 0 6px; }
.m-row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto 38px; align-items: center; gap: 12px; min-height: 66px; padding: 10px 16px; }
.m-row + .m-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.m-main { min-width: 0; }
.m-main strong { display: block; font-size: 14px; font-weight: 500; }
.m-main small { display: block; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mods { display: flex; gap: 3px; }
.m-mods i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: var(--text-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.m-mods i .u-ico { width: 13px; height: 13px; }
.m-mods i.is-ai { color: var(--violet); background: var(--violet-soft); box-shadow: inset 0 0 0 1px var(--violet-line); }
.ring .u-ico { width: 13px; height: 13px; color: var(--green); }
.ring.is-done span { color: var(--green); }

/* ───── Pagina prodotto ───── */
.u-tag.is-ai { color: var(--violet); background: var(--violet-soft); box-shadow: inset 0 0 0 1px var(--violet-line); }
.u-tchip.is-sug { font-weight: 500; color: var(--amber); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); }
.sw { position: relative; display: inline-block; flex: none; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #C9CCD1; transition: none; }
.sw.is-on { background: var(--accent); }
.sw.is-on::after { left: 17px; background: #fff; }

/* Agenda */
.agenda .u-card-head { gap: 10px; }
.ag-seg { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.ag-seg span { height: 26px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--text-3); white-space: nowrap; }
.ag-seg span.is-on { color: var(--text-1); background: rgba(255, 255, 255, .07); }
.ag-seg b { font-size: 11.5px; font-weight: 600; color: var(--amber); }
.ag-kpis { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 16px; font-size: 13px; color: var(--text-3); border-bottom: 1px solid var(--line-soft); }
.ag-kpis b { font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.ag-kpis .is-amber b { color: var(--amber); }
.ag-table { padding: 2px 0 6px; }
.ag-row { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1.6fr) 40px minmax(0, 1fr) minmax(0, .95fr) 112px; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px; font-size: 13px; color: var(--text-2); }
.ag-row + .ag-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.ag-row.ag-th { min-height: 36px; font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.ag-row .t { font-weight: 500; color: var(--text-1); font-variant-numeric: tabular-nums; }
.ag-row .g { min-width: 0; }
.ag-row .g strong { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-row .g small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-row.is-pending { background: linear-gradient(90deg, rgba(232, 182, 90, .05), rgba(232, 182, 90, 0) 70%); }
.ag-row.is-pending::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--amber); }
.ag-row .u-tag, .ag-row .u-tchip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Agente (prodotto) */
.ag-ai { display: grid; gap: 14px; }
.ai-msgcard { margin-left: 10%; }
.ai-msgcard .u-row-main small { white-space: normal; }

/* Studio della sala */
.fe .u-card-head { gap: 10px; }
.fe-tools { margin-left: auto; display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.fe-tools i { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: var(--text-3); }
.fe-tools i.is-on { color: var(--text-1); background: rgba(255, 255, 255, .08); }
.fe-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; }
.fe-canvas { padding: 14px; border-right: 1px solid var(--line-soft); }
.fe-panel { display: grid; align-content: start; gap: 10px; padding: 14px; }
.fe-h { font-size: 14px; font-weight: 600; }
.fe-field small { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.fe-val { display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; color: var(--text-1); background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fe-seg { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fe-seg i { flex: 1; height: 26px; display: grid; place-items: center; border-radius: 6px; font-size: 11px; font-style: normal; color: var(--text-3); }
.fe-seg i.is-on { color: var(--text-1); background: rgba(255, 255, 255, .08); }
.fe-warn { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 8px 10px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--amber); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); }

/* Due telefoni affiancati */
.duo-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 560px; margin: 0 auto; }
.dp-b { margin-top: 44px; }
.cam-logo { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(160deg, #FF9455, #F2732E); }
.cam-head .u-avatar { width: 36px; height: 36px; font-size: 13px; }
.cam-stats { display: flex; gap: 18px; padding: 0 18px 12px; font-size: 14px; color: var(--text-3); }
.cam-stats b { font-weight: 600; color: var(--text-1); }
.cam-pad { padding: 4px 18px 10px; }
.cam-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 18px; }
.ct { min-height: 110px; padding: 14px; border-radius: 16px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ct b { display: block; font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; }
.ct span { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.ct em { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.ct em .u-ico, .ct span .u-ico { width: 13px; height: 13px; }
.ct.is-busy { background: rgba(255, 131, 63, .08); box-shadow: inset 0 0 0 1px rgba(255, 131, 63, .34); }
.ct.is-busy em { color: var(--blue); }
.ct.is-booked { background: rgba(127, 176, 242, .08); box-shadow: inset 0 0 0 1px rgba(127, 176, 242, .32), inset 3px 0 0 var(--blue); }
.ct.is-booked span { color: var(--blue); }
.ct em.e-bill { color: var(--amber); } .ct em.e-ready { color: var(--green); } .ct em.e-segue { color: var(--text-2); }
.cam-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: auto; padding: 10px 8px 30px; border-top: 1px solid var(--line-soft); background: rgba(11, 12, 14, .94); }
.cam-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; border-radius: 12px; font-size: 12px; font-weight: 500; color: var(--text-3); }
.cam-tabbar span.is-on { color: var(--accent); background: rgba(255, 131, 63, .08); }
.bill { margin: 4px 18px 0; padding: 18px 18px 14px; border-radius: 18px; color: #1C1C1C; background: #F7F4EE; }
.bill-head { padding-bottom: 12px; margin-bottom: 8px; text-align: center; border-bottom: 1.5px dashed rgba(0, 0, 0, .2); }
.bill-head small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: #6B6458; }
.bill-head strong { display: block; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.02em; }
.bill-head span { font-size: 12.5px; color: #6B6458; }
.bill-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; }
.bill-row b { color: #E8662A; font-weight: 700; }
.bill-row small { font-size: 11.5px; color: #6B6458; }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 10px; border-top: 1.5px solid rgba(0, 0, 0, .12); font-size: 16px; font-weight: 600; }
.bill-total b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: #1C1C1C; }
.bill-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 18px 0; padding: 10px 14px; border-radius: 14px; font-size: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.bill-opt > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.g-stepper.is-dark { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.g-stepper.is-dark span { color: var(--text-2); }
.g-stepper.is-dark b { color: var(--text-1); }
.bill-pay { display: flex; gap: 8px; margin: 10px 18px 0; }
.bill-pay span { flex: 1; height: 38px; display: grid; place-items: center; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.bill-pay span.is-on { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.cam-send.is-full { width: 100%; justify-content: center; }

/* Ordini dal QR (prodotto) */
.qr-grid { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: center; }
.g-cart { margin: 0 14px; padding: 16px; border-radius: 20px; background: #FFFDF9; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.g-cart-head strong { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.g-cart-head span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 700; background: #F1ECE4; }
.g-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; line-height: 20px; }
.g-line > div > b { color: var(--ink-2); font-weight: 600; }
.g-line strong { font-weight: 700; }
.g-line span { display: block; font-size: 13px; line-height: 19px; color: var(--ink-2); }
.g-line .add { color: #1E7A4A; }
.g-line .rm { color: #C0392B; font-weight: 600; }
.g-line .nt { font-style: italic; }
.g-line > b { font-size: 14px; white-space: nowrap; }
.g-pin { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.g-pin .pin { display: flex; gap: 5px; }
.g-pin .pin i { width: 26px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-style: normal; font-size: 16px; font-weight: 700; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 12px; font-size: 15px; font-weight: 600; }
.g-cart-total b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.g-cart .g-cta { width: 100%; }
.g-small { margin-top: 10px; font-size: 12px; line-height: 17px; color: var(--ink-2); }
.qr-order .u-card-head { gap: 10px; }
.qr-meta { display: flex; align-items: center; gap: 7px; padding: 10px 16px 0; font-size: 12.5px; color: var(--text-3); }
.qr-meta .u-ico { width: 14px; height: 14px; }
.qr-lines { padding: 4px 16px; }
.ol { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.ol:last-child { border-bottom: 0; }
.ol > b { color: var(--text-2); font-weight: 600; }
.ol strong { display: block; font-weight: 500; color: var(--text-1); }
.ol span { display: block; font-size: 12.5px; line-height: 18px; color: var(--text-2); }
.ol .add { color: var(--green); } .ol .rm { color: var(--red); font-weight: 500; } .ol .nt { font-style: italic; color: var(--text-3); }
.ol em { font-style: normal; font-weight: 500; color: var(--text-1); font-variant-numeric: tabular-nums; }
.qr-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line-soft); }

/* Schermo cucina a tutto schermo */
.kds-full .kds { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 16px; }
.kds-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.kds-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-3); }
.kds-brand .u-ico { color: var(--accent); }
.kds-brand b { font-size: 15px; font-weight: 600; color: var(--text-1); }
.kds-on { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #FFB27F; background: rgba(255, 131, 63, .1); box-shadow: inset 0 0 0 1px rgba(255, 131, 63, .3); }
.kds-top .cam-online { margin-left: auto; font-size: 12.5px; }
.kds-ghost { visibility: hidden; }
.kds-item span small + small { margin-top: 0; }

/* Stampa: finestra di Windows */
.print-comp { position: relative; padding-bottom: 8px; }
.win-bar svg { width: 16px; height: 16px; border-radius: 4px; }
.pr-body { padding: 16px; display: grid; gap: 14px; }
.pr-on { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.pr-on > span:nth-child(2) { flex: 1; min-width: 0; }
.pr-on strong { display: block; font-size: 13.5px; font-weight: 600; }
.pr-on small { display: block; font-size: 12px; color: var(--text-3); }
.pr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pr-head strong { font-size: 14px; font-weight: 600; }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pr-dep { display: grid; gap: 4px; padding: 12px; border-radius: 10px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pr-ico { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 8px; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.pr-dep strong { font-size: 13.5px; font-weight: 600; }
.pr-dep small { font-size: 12px; color: var(--text-3); }
.pr-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.pr-tags i { height: 20px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 600; color: #FFB27F; background: rgba(255, 131, 63, .1); }
.pr-cat { color: var(--text-2) !important; }
.pr-cancel { position: absolute; right: -26px; bottom: -40px; width: 190px; transform: rotate(3deg); filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .6)); }
.tk-void { margin: 6px 0 8px; padding: 6px 0; text-align: center; font-size: 13px; line-height: 1.25; font-weight: 800; color: #F7F5EF; background: #1C1C1C; letter-spacing: .04em; }

/* Menù pubblico + aggiunte */
.mn-grid { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 22px; align-items: center; }
.g-menu-top { display: flex; align-items: center; gap: 12px; padding: 6px 18px 14px; }
.g-menu-top strong { display: block; font-size: 17px; font-weight: 700; }
.g-menu-top small.nolive { display: block; font-size: 13px; color: var(--ink-2); }
.g-lang { margin-left: auto; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-lang b, .g-lang { line-height: 26px; }
.g-lang b { padding: 0 9px; border-radius: 999px; color: #fff; background: #1B1C1F; }
.g-lang { padding-right: 10px; }
.g-tabs { display: flex; gap: 8px; padding: 0 18px 14px; overflow: hidden; }
.g-tabs span { flex: none; height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-tabs span.is-on { color: #fff; background: #1B1C1F; box-shadow: none; }
.g-cat { padding: 4px 18px 10px; }
.g-cat strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.g-cat small { font-size: 13.5px; color: var(--ink-2); }
.g-dish { margin: 0 14px 10px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--paper-line); }
.g-dish.is-feat { background: #FFF6EF; box-shadow: inset 0 0 0 1.5px #FFB27F; }
.g-dish strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.g-dish p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.g-dish small { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.g-badge { display: inline-flex; margin-bottom: 8px; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: #E8662A; }
.g-alg { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.g-dish.is-out strong, .g-dish.is-out p { color: #9A948B; }
.g-out { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #B4261B; background: #FDE7E5; }
.mn-side { display: grid; gap: 12px; min-width: 0; }
.ad-group { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.ad-group:last-child { border-bottom: 0; }
.ad-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ad-h strong { font-size: 13.5px; font-weight: 600; }
.ad-group > small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-3); }
.ad-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ad-list span { height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 7px; font-size: 12px; color: var(--text-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.ad-list b { font-weight: 600; color: var(--text-1); }
.ad-list b.free { color: var(--green); }
.mn-preview { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
.mn-preview > span:nth-child(2) { flex: 1; min-width: 0; }
.mn-preview strong { display: block; font-size: 13.5px; font-weight: 600; }
.mn-preview small { display: block; font-size: 12px; color: var(--amber); }
.mn-eye { color: var(--amber); }

/* Messaggi */
.inbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: 360px; }
.inbox-list { padding: 6px 0; border-right: 1px solid var(--line-soft); }
.ib { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.ib.is-on { background: rgba(255, 255, 255, .045); box-shadow: inset 2px 0 0 var(--accent); }
.ib-main { flex: 1; min-width: 0; }
.ib-main strong { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; }
.ib-main small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib .u-avatar { width: 28px; height: 28px; font-size: 10.5px; }
.ib .u-tag { height: 20px; font-size: 11px; }
.inbox-chat { display: flex; flex-direction: column; min-width: 0; }
.ic-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.ic-head strong { font-weight: 600; }
.ic-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.ic-msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 18px; }
.ic-msg time { display: block; margin-top: 3px; font-size: 11px; color: var(--text-3); }
.ic-msg.is-in { align-self: flex-start; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 4px; }
.ic-msg.is-out { align-self: flex-end; background: rgba(255, 131, 63, .1); box-shadow: inset 0 0 0 1px rgba(255, 131, 63, .25); border-bottom-right-radius: 4px; }
.ic-sys { align-self: center; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; color: var(--green); background: var(--green-soft); }
.ic-send { padding: 10px 14px 14px; }
.ic-send span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #0D2A1B; background: #5FCF92; }

/* Ricetta */
.rc-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 70px; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--text-2); }
.rc-row span:first-child { color: var(--text-1); }
.rc-row small { display: block; font-size: 11.5px; color: var(--text-3); }
.rc-row span:last-child { text-align: right; font-weight: 500; color: var(--text-1); font-variant-numeric: tabular-nums; }
.rc-th { font-size: 11.5px; font-weight: 500; }
.rc-th span, .rc-th span:first-child, .rc-th span:last-child { color: var(--text-3); font-weight: 500; }
.rc-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 14px 16px 6px; }
.rc-sum small { display: block; font-size: 11.5px; color: var(--text-3); }
.rc-sum b { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rc-bar { height: 6px; margin: 8px 16px 16px; border-radius: 3px; background: rgba(108, 212, 158, .25); overflow: hidden; }
.rc-bar span { display: block; height: 100%; background: linear-gradient(90deg, #FF9455, #F2732E); }

/* Preparazione del locale (Master) */
.setup .u-card-head { gap: 10px; }
.st-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.st-steps { display: grid; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line-soft); }
.st-steps li { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px; border-radius: 7px; font-size: 13px; color: var(--text-3); }
.st-steps i { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.st-steps li.is-done { color: var(--text-2); }
.st-steps li.is-done i { color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); }
.st-steps li.is-done i .u-ico { width: 12px; height: 12px; }
.st-steps li.is-current { color: var(--text-1); background: rgba(255, 255, 255, .055); }
.st-steps li.is-current i { color: var(--accent-ink); background: var(--accent); box-shadow: none; }
.st-panel { display: grid; align-content: start; gap: 2px; padding: 14px 16px; }
.st-h { margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.st-mod { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; font-size: 13px; color: var(--text-1); }
.st-mod > span { display: inline-flex; align-items: center; gap: 9px; }
.st-mod .u-ico { color: var(--text-3); }
.st-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 8px; font-size: 12px; line-height: 17px; color: var(--text-3); }
.st-note .u-ico { margin-top: 2px; }

/* ───── Agente AI (pagina) ───── */
.ai-note { margin-top: 26px; max-width: 560px; }
.ai-note .ico { color: var(--violet); }
.ai-incoming { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong), 0 16px 40px rgba(0, 0, 0, .45); }
.ai-incoming > span:nth-child(2) { flex: 1; min-width: 0; }
.ai-incoming strong { display: block; font-size: 13.5px; font-weight: 600; }
.ai-incoming small { display: block; font-size: 12px; color: var(--text-3); }
.ai-ring { position: relative; width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); }
.ai-ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(108, 212, 158, .25); animation: ai-ring 1.8s ease-out infinite; }
@keyframes ai-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.page-hero-visual .ai-result { margin: -30px 0 0 9%; }
.u-row-main small.wrap { white-space: normal; overflow: visible; }
.spot-solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1000px; }
.spot-solo-text .lead { margin-top: 18px; }
.spot-solo-text .link-arrow { margin-top: 14px; }

/* ───── Numeri del locale (pagina) ───── */
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 6px; }
.dash-kpis small { display: block; font-size: 12px; color: var(--text-3); }
.dash-kpis b { display: block; margin-top: 2px; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-kpis b.is-green { color: var(--green); }
.dash-kpis span { display: block; font-size: 11.5px; color: var(--text-3); }
.dash-chart { padding: 10px 16px 16px; }
.pairs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 14px; height: 150px; padding: 0 6px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--line-soft), var(--line-soft)) 0 33% / 100% 1px no-repeat, linear-gradient(var(--line-soft), var(--line-soft)) 0 66% / 100% 1px no-repeat; }
.pair { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.pair i { width: 40%; max-width: 22px; height: var(--h); border-radius: 4px 4px 1px 1px; }
.pair i.in, .pairs-legend i.in { background: linear-gradient(180deg, #FF9455, #F2732E); }
.pair i.out, .pairs-legend i.out { background: linear-gradient(180deg, #4A505A, #383D45); }
.pairs-x { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 8px; padding: 0 6px; font-size: 11.5px; color: var(--text-3); text-align: center; }
.pairs-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--text-2); }
.pairs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pairs-legend i { width: 10px; height: 10px; border-radius: 3px; }
.inv { padding: 2px 0 6px; }
.inv-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 90px 120px; align-items: center; gap: 12px; min-height: 52px; padding: 7px 16px; font-size: 13px; color: var(--text-1); font-variant-numeric: tabular-nums; }
.inv-row + .inv-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.inv-row strong { display: block; font-size: 13.5px; font-weight: 500; }
.inv-row small { display: block; font-size: 12px; color: var(--text-3); }
.inv-row.inv-th { min-height: 36px; font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.fc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.fc-cap { display: flex; align-items: center; gap: 7px; padding: 12px 16px 4px; font-size: 12.5px; color: var(--green); }
.fc-out .u-row { min-height: 40px; padding: 6px 16px; }
.u-price.is-neg { color: var(--red); }
.pn-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pn { padding: 2px 0; }
.pn-row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 52px; padding: 7px 16px; font-size: 13px; }
.pn-row + .pn-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.pn-row .d { font-size: 12.5px; color: var(--text-3); }
.pn-row strong { display: block; font-size: 13.5px; font-weight: 500; }
.pn-row small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-row b, .pn-sum b { font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pn-row b.is-in, .pn-sum b.is-in { color: var(--green); }
.pn-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--text-3); }
.and-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.cat-bars { display: grid; gap: 12px; padding: 14px 16px 16px; }
.cat-bars div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; font-size: 12.5px; color: var(--text-2); }
.cat-bars i { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #30343B, #272B31); position: relative; }
.cat-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #C9CCD1, #EDEEF0); opacity: .85; }
.cat-bars b { font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.rank { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 6px; font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); }
.cmp { padding: 2px 0 6px; }
.cmp-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); align-items: center; gap: 10px; min-height: 58px; padding: 7px 16px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cmp-row + .cmp-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }
.cmp-row > span:not(.v) { text-align: right; white-space: nowrap; }
.cmp-row.cmp-th { min-height: 36px; font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.cmp-row.cmp-th span:first-child { text-align: left; }
.cmp-row .v { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cmp-row .v strong { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-1); white-space: nowrap; }
.cmp-row .v small { display: block; font-size: 12px; color: var(--text-3); }
.cmp-row b { font-weight: 600; color: var(--green); }
.cmp-total { background: rgba(255, 255, 255, .025); }
.cmp-total > span:not(.v) { color: var(--text-1); font-weight: 500; }

@media (max-width: 1080px) {
  .spot-solo { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .spot-solo .spot { width: min(340px, 100%); }
}
@media (max-width: 640px) {
  .fc-grid, .pn-grid, .and-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-row { grid-template-columns: minmax(0, 1fr) 64px auto; }
  .cmp-row { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .cmp-row > :nth-child(3), .cmp-row > :nth-child(4) { display: none; }
  .page-hero-visual .ai-result { margin: -24px 0 0 4%; }
}
@media (max-width: 960px) {
  .kds-full .kds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kds-full .kds-c2 { display: none; }
}
@media (max-width: 640px) {
  .ag-seg, .fe-tools { display: none; }
  .ag-row { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .ag-row > :nth-child(3), .ag-row > :nth-child(4), .ag-row > :nth-child(5) { display: none; }
  .fe-body { grid-template-columns: minmax(0, 1fr); }
  .fe-canvas { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .fe-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-panel .fe-h, .fe-panel .fe-warn { grid-column: 1 / -1; }
  .duo-phones { gap: 12px; }
  .dp-b { margin-top: 28px; }
  .qr-grid, .mn-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .qr-phone, .mn-phone { width: min(236px, 74%); }
  .qr-order, .mn-side { width: 100%; }
  .kds-full .kds { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 10px; }
  .kds-full .is-next { display: none; }
  .kds-top .kds-on { display: none; }
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-grid .pr-dep:nth-child(n+3) { display: none; }
  .pr-cancel { width: 150px; right: -4px; bottom: -34px; font-size: 10.5px; }
  .inbox { grid-template-columns: minmax(0, 1fr); }
  .inbox-list { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .inbox-list .ib:nth-child(n+3) { display: none; }
  .st-body { grid-template-columns: minmax(0, 1fr); }
  .st-steps { display: none; }
  .rc-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-msgcard { margin-left: 0; }
}

/* Mockup: varianti a larghezza ridotta */
@media (max-width: 1180px) and (min-width: 1081px) {
  .m-mods { display: none; }
  .book-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 1080px) {
  .sala-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; }
  .sala-photo { width: min(380px, 92%); }
  .sala-line { transform: rotate(90deg); margin: 6px 0; }
  .sala-plan { width: 100%; }
}
@media (max-width: 640px) {
  .book-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .book-phone { width: min(236px, 74%); }
  .book-console { width: 100%; }
  .num-grid { grid-template-columns: minmax(0, 1fr); }
  .m-mods { display: none; }
  .m-row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .m-row .ring { display: none; }
  .me-body { grid-template-columns: minmax(0, 1fr); }
  .me-cats { flex-direction: row; flex-wrap: nowrap; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .me-sub, .me-tabs { display: none; }
  .me-item { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .me-item .me-toggle { display: none; }
  .ai-msg { max-width: 92%; }
  .ai-result { margin: -24px 0 0 4%; }
  .tickets { gap: 12px; }
  .tickets .ticket { width: 158px; padding: 14px 12px 22px; font-size: 10.5px; }
  .tickets .tk-table { font-size: 19px; }
  .u-res-hint { display: none; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 1320px) { .hero-console { --k: .78; } }
@media (max-width: 1200px) { .hero-console { --k: .7; } }
@media (max-width: 1080px) { .hero-console { --k: .61; } }
@media (max-width: 960px) { .hero-console { --k: .54; } }
@media (max-width: 860px) { .hero-console { --k: .47; } }
@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-phone { left: 0; }
  .hero-ticket { right: 0; }
}
@media (max-width: 1080px) {
  .header-bar { gap: 18px; }
  .nav-link { padding: 0 9px; }
  .chapter, .chapter.is-reverse { grid-template-columns: minmax(0, 1fr); }
  .chapter.is-reverse .chapter-text { order: 0; }
  .chapter-text { max-width: 680px; }
  .quad { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .section-head { position: static; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .plan-desc { min-height: 0; }
  .included { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .limits-card { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
  .legal-toc p { grid-column: 1 / -1; }
  .notfound-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head.is-split { grid-template-columns: minmax(0, 1fr); }
  .cards.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 45; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; overflow-y: auto; background: var(--bg-0); border-top: 1px solid var(--line-soft);
  }
  .main-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav-link { width: 100%; height: 56px; padding: 0 4px; justify-content: space-between; font-size: 17px; color: var(--text-1); border-radius: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: none; }
  .mega { position: static; width: auto; padding: 0 0 14px; background: none; box-shadow: none; animation: none !important; }
  .mega::before { display: none; }
  .mega-grid, .mega-grid.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .mega-link { padding: 10px 4px; }
  .mega-foot { border-top: 0; padding: 4px 0 0; flex-wrap: wrap; }
  .nav-actions { margin: 24px 0 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-actions .btn, .nav-login { width: 100%; min-height: 48px; justify-content: center; font-size: 16px; }
  .nav-login { box-shadow: inset 0 0 0 1px var(--line-strong); border-radius: 10px; color: var(--text-1); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .spots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tile { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 56px 18px 18px; }
  .tile-ico { width: 38px; height: 38px; flex: none; margin: 0; }
  .tile h3 { font-size: 16.5px; }
  .tile p { margin-top: 4px; font-size: 14px; }
  .tile-link { position: absolute; top: 50%; right: 8px; width: 44px; min-height: 44px; margin: 0; padding: 0; justify-content: center; transform: translateY(-50%); }
  .tile-link .tl-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tile-link .ico { width: 18px; height: 18px; color: var(--text-3); }
  .spots { display: flex; gap: 14px; max-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .spots::-webkit-scrollbar { display: none; }
  .spot { flex: 0 0 74%; scroll-snap-align: start; }
  .footer-cols a { min-height: 44px; }
  .u-res { grid-template-columns: 44px minmax(0, 1fr); }
  .u-res-side { grid-column: 2; justify-content: flex-start; }
  .sala-plan .u-card-link { display: none; }
  .sala-svg { overflow: hidden; }
  .sala-svg .plan-svg { width: 150%; max-width: none; }
  .me-cat { flex: none; gap: 6px; }
  .hero-visual .hero-shot { display: none; }
  .hero-mobile { display: block; position: relative; max-width: 420px; margin: 0 auto; padding-bottom: 8px; }
  .hero-mobile .hm-phone { width: 78%; margin-left: 4%; }
  .hero-mobile .ticket-wrap { position: absolute; right: 0; bottom: 14%; width: 52%; transform: rotate(3deg); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; }
  .spots { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; gap: 36px; }
  .included-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .cards, .cards.is-two, .cards.is-four { grid-template-columns: minmax(0, 1fr); }
  .steps.is-four { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { grid-template-columns: minmax(0, 1fr); }
  .subcard-text { padding: 24px 22px 0; }
  .subcard-visual { padding: 0 14px; min-height: 260px; }
  .faq-body { padding-right: 0; }
}
@media (max-width: 560px) {
  .hero-actions, .page-hero-actions, .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn, .page-hero-actions .btn, .cta-actions .btn { width: 100%; }
  .footer-cols { gap: 28px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stage { border-radius: 16px; }
  .strip-list { gap: 10px 20px; }
  .kds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kds .kds-col.is-ready { display: none; }
}
@media (hover: none) {
  .tile:hover, .aud-card:hover { box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal-armed { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .hero-visual, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ───── Aggiunte finali di pagina ───── */
.plans-note { max-width: 860px; margin: 22px auto 0; }
.plans-note .ico { color: var(--accent); }
.table-foot { margin-top: 14px; font-size: 14px; color: var(--text-3); }

/* ───── Soluzioni, pagine per tipo di locale, contatti, testi legali, 404 ───── */
.types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.type {
  position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 184px; padding: 22px 20px 20px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008)), var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--line), var(--highlight); transition: box-shadow var(--t-med) var(--ease);
}
.type:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--highlight); }
.type .aud-ico { margin-bottom: auto; }
.type b { margin-top: 18px; font-size: 17px; line-height: 1.35; letter-spacing: -.015em; }
.type small { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.type > .ico:last-child { position: absolute; top: 24px; right: 20px; width: 16px; height: 16px; color: var(--text-4); transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.type:hover > .ico:last-child { color: var(--accent); transform: translateX(3px); }
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.preset { display: flex; flex-direction: column; padding: 26px; border-radius: 18px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.preset h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.015em; }
.preset h3 .ico { width: 18px; height: 18px; color: var(--accent); }
.preset dl { display: grid; gap: 12px; margin-top: 18px; }
.preset dl div { padding-top: 12px; border-top: 1px solid var(--line-soft); }
.preset dt { font-size: 13px; font-weight: 500; color: var(--text-3); }
.preset dd { margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.preset.is-note { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1.2px); background-size: 16px 16px; }
.preset.is-note p { margin-top: 12px; font-size: 15px; line-height: 1.6; }
.preset.is-note .link-arrow { margin-top: auto; padding-top: 12px; }
.mn-solo { width: min(292px, 82%); margin-inline: auto; }
.g-logo.is-pub { background: linear-gradient(160deg, #C9922F, #8A5A14); box-shadow: 0 2px 6px rgba(138, 90, 20, .35); }
.tickets.is-static { padding-block: 8px 20px; }
.stage.is-peek { height: 560px; padding-bottom: 0; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.stage.is-peek .peek-phone { margin-inline: auto; }
.page-hero-visual { min-width: 0; }
.page-hero.is-compact { padding-bottom: clamp(32px, 4vw, 56px); }
.section.section-flush { padding-top: 0; }
.contact-aside { padding-top: 8px; }
.contact-aside .aside-card + .aside-card { margin-top: 12px; }
.contact-aside .aside-card .link-arrow .ico:first-child { color: var(--text-3); }
.legal-meta li { display: inline-flex; align-items: center; gap: 8px; }
.legal-meta .ico { width: 15px; height: 15px; color: var(--text-3); }
.prose section { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose section + section { margin-top: 48px; }
.prose section > h2 { margin-top: 0; }
.prose em { font-style: italic; color: var(--text-1); }
.prose code { padding: 1px 6px; border-radius: 6px; font-family: var(--mono); font-size: .88em; color: var(--text-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.prose .legal-status { margin-bottom: 40px; padding: 20px 22px; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight); }
.prose .legal-status strong { display: block; margin-bottom: 4px; font-size: 15px; }
.prose .legal-status p { font-size: 15px; line-height: 1.65; }
.prose .legal-facts { display: grid; margin: 4px 0 18px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.prose .legal-facts div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 18px; }
.prose .legal-facts div + div { border-top: 1px solid var(--line-soft); }
.prose .legal-facts dt { font-size: 14.5px; color: var(--text-3); }
.prose .legal-facts dd { font-size: 15px; color: var(--text-1); }
.prose .table-wrap:focus-visible { outline-offset: 3px; }
.notfound { padding-block: clamp(56px, 8vw, 112px) clamp(72px, 9vw, 128px); }
.notfound-links { display: grid; gap: 4px; padding: 10px; border-radius: 18px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line), var(--highlight), 0 30px 80px -40px rgba(0, 0, 0, .8); }
.notfound-links .mega-link { padding: 12px; }
@media (max-width: 1080px) {
  .types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-visual { max-width: 720px; }
}
@media (max-width: 760px) {
  .types { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .type { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: center; min-height: 0; padding: 14px 48px 14px 14px; }
  .type .aud-ico { grid-row: span 2; margin: 0; }
  .type b { margin-top: 0; }
  .type > .ico:last-child { top: 50%; right: 18px; transform: translateY(-50%); }
  .type:hover > .ico:last-child { transform: translate(3px, -50%); }
  .presets { grid-template-columns: minmax(0, 1fr); }
  .stage.is-peek { height: 470px; }
  .prose .legal-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.subcard.is-span { grid-column: 1 / -1; }
.subcard.is-span .subcard-text p { max-width: 640px; }
.subcard.is-span .subcard-visual { height: 360px; }
.subcard.is-span .subcard-visual.is-wide { justify-content: center; padding: 0 28px; }
@media (max-width: 1080px) { .subcard.is-span .subcard-visual.is-wide { justify-content: flex-start; } }
/* Aree tattili ≥ 44 px sui telefoni */
@media (max-width: 760px) {
  .btn-sm { min-height: 44px; }
  .hero-badge { min-height: 44px; }
  .crumbs { margin-bottom: 14px; }
  .crumbs a { min-height: 44px; min-width: 44px; }
  .subnav-list a { min-height: 44px; }
  .footer-cols a { min-width: 44px; }
  .mega-foot a { min-height: 44px; }
  .legal-toc a { display: flex; align-items: center; min-height: 44px; }
}
.table-scroll, .prose .table-wrap { position: relative; } /* contiene gli .sr-only assoluti delle celle: niente scorrimento orizzontale della pagina */
/* Tessere della panoramica sui telefoni: icona a sinistra, titolo e testo nella stessa colonna */
@media (max-width: 760px) {
  .tile { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .tile-ico { grid-row: 1 / span 2; }
  .tile h3, .tile p { grid-column: 2; }
  .tile h3 { padding-top: 2px; }
}
.page-hero.is-center .page-hero-copy.is-wide { max-width: calc(980px + 2 * var(--gutter)); }
.prose h2, .prose h3 { line-height: 1.3; }
