/* Booking page — linguaggio visivo di gianlucatadonio.it: nero e bianco, marmo nero, Montserrat + Inter,
   angoli netti, maiuscoletto spaziato. Nessun colore di accento: il lusso è nel contrasto e nella sobrietà. */
@font-face { font-family: "Montserrat"; src: url("/prenota/assets/montserrat-var.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/prenota/assets/inter-var.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --ink: #0b0b0b;
  --white: #fff;
  --muted: #666;
  --line: #e3e3e3;
  --line-strong: #111;
  --soft: #f5f5f5;
  --danger: #a4161a;
  --marble: url("/prenota/assets/marmo-nero.jpg");
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--white); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.1; margin: 0; }
p { margin: 0 0 .75rem; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.hero :focus-visible, .summary :focus-visible, .featured :focus-visible, .footer :focus-visible { outline-color: var(--white); }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.note { display: block; color: var(--muted); font-size: .82rem; margin-top: 6px; font-weight: 300; }
.marble { background: var(--black) var(--marble) center / cover no-repeat; color: var(--white); }

/* Barra superiore con monogramma */
.topbar { position: sticky; top: 0; z-index: 8; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-crop { display: block; width: 84px; height: 64px; overflow: hidden; }
.logo-crop img { display: block; width: 130px; height: 130px; margin: -29px 0 0 -23px; }
.topbar-name { font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; }

/* Hero in marmo nero */
.hero { background: var(--black) var(--marble) center 30% / cover no-repeat; color: var(--white); }
.hero-inner { padding: 64px 0 56px; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero-photo { margin: 0; max-width: 440px; border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 470px; gap: 64px; padding: 72px 0; }
  .hero-photo { max-width: none; }
}
/* Foto del salone come sfondo a tutta larghezza, con velo scuro solo dietro al testo */
.hero--bg { position: relative; isolation: isolate; }
.hero--bg .hero-photo { position: absolute; inset: 0; z-index: -2; max-width: none; border: 0; box-shadow: none; }
.hero--bg .hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 32%; }
.hero--bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .78) 30%, rgba(0, 0, 0, .15) 68%, rgba(0, 0, 0, 0) 100%), linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 30%); }
.hero--bg .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 600px; align-content: center; padding: 72px 0; }
.hero--bg .hero-text { max-width: 520px; }
@media (max-width: 899px) { .hero--bg::before { background: linear-gradient(180deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .62) 55%, rgba(0, 0, 0, .35) 100%); } .hero--bg .hero-text { text-shadow: 0 1px 14px rgba(0, 0, 0, .6); } .hero--bg .hero-inner { min-height: 0; padding: 56px 0 48px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .32em; font-size: .72rem; font-weight: 500; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 8vw, 4rem); letter-spacing: -.04em; }
.lead { max-width: 52ch; font-size: 1.05rem; font-weight: 300; color: rgba(255, 255, 255, .82); margin-top: 18px; }
.facts { list-style: none; padding: 20px 0 0; margin: 28px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .9rem; font-weight: 300; border-top: 1px solid rgba(255, 255, 255, .22); }
.facts li { display: flex; align-items: center; gap: 10px; }
.fact-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .4); font-size: .72rem; }
.facts a { text-decoration-color: rgba(255, 255, 255, .4); }
.facts strong { font-weight: 600; }
.open-yes, .open-no { font-weight: 600; }
.open-yes::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 8px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.open-no { opacity: .7; }

/* Pulsanti: uppercase, spaziatura larga, angoli netti */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border: 1px solid transparent; font-family: var(--sans); font-weight: 600; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover:not(:disabled) { background: var(--white); color: var(--black); }
.btn-primary:disabled { background: #bdbdbd; border-color: #bdbdbd; cursor: not-allowed; }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.link-btn { background: none; border: 0; padding: 6px 0; font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; cursor: pointer; }

/* Percorso */
.booking { padding: 40px 0 56px; outline: none; }
.wa { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--line-strong); }
.wa p { margin: 0; font-weight: 300; }
.wa strong { font-weight: 600; }
.btn-whatsapp { background: transparent; color: var(--black); border-color: var(--black); padding: 13px 24px; }
.btn-whatsapp:hover { background: var(--black); color: var(--white); }
.steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 14px 22px 14px 0; margin-right: 26px; color: #8a8a8a; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid #bdbdbd; font-size: .7rem; letter-spacing: 0; }
.steps li[aria-current="step"] { color: var(--black); border-bottom-color: var(--black); }
.steps li[aria-current="step"] span { background: var(--black); border-color: var(--black); color: #fff; }
.steps li.done { color: var(--black); }
.steps li.done span { background: var(--white); border-color: var(--black); color: var(--black); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.panel, .summary { min-width: 0; }
@media (min-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } .summary { position: sticky; top: 88px; } }
.layout.is-done { grid-template-columns: minmax(0, 640px); justify-content: center; }
.summary.done-state { display: none; }
.panel { padding: 0; min-height: 320px; }
.step { animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); letter-spacing: -.02em; margin-bottom: 8px; outline: none; }
.hint { color: var(--muted); font-weight: 300; margin-bottom: 22px; }

/* Trattamenti */
.featured { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 4px 0 28px; padding: 28px 28px; background: var(--black) var(--marble) center / cover no-repeat; color: var(--white); }
.featured h3 { font-size: clamp(1.3rem, 4vw, 1.7rem); letter-spacing: -.01em; margin-bottom: 6px; }
.featured p { margin: 0; color: rgba(255, 255, 255, .78); font-weight: 300; font-size: .95rem; }
.featured .btn { min-width: 190px; background: var(--white); color: var(--black); border-color: var(--white); }
.featured .btn:hover { background: transparent; color: var(--white); }
.badge { display: inline-block; margin-left: 12px; padding: 3px 10px; border: 1px solid var(--black); font-family: var(--sans); font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; vertical-align: middle; }
.badge-on-dark { margin: 0 0 14px; border-color: rgba(255, 255, 255, .6); color: var(--white); }
.chips { display: flex; gap: 0; overflow-x: auto; padding: 0; margin: 0 0 8px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; border-bottom: 2px solid transparent; background: none; padding: 12px 18px 12px 0; margin-right: 18px; margin-bottom: -1px; cursor: pointer; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #8a8a8a; }
.chip:hover { color: var(--black); }
.chip[aria-selected="true"] { color: var(--black); border-bottom-color: var(--black); }
.services { display: grid; }
.service { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-name { font-family: var(--display); font-weight: 600; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.service-meta { color: var(--muted); font-size: .85rem; font-weight: 300; margin-top: 2px; }
.service-desc { color: var(--muted); font-size: .85rem; font-weight: 300; grid-column: 1; }
.service-note { color: var(--muted); font-size: .78rem; font-weight: 400; font-style: italic; grid-column: 1; }
.service-side { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 14px; }
.select-btn { min-width: 128px; border: 1px solid var(--black); background: var(--white); color: var(--black); padding: 12px 16px; font-weight: 600; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.select-btn:hover { background: var(--black); color: var(--white); }
.select-btn[aria-pressed="true"] { background: var(--black); color: var(--white); }
@media (max-width: 520px) {
  .service { grid-template-columns: 1fr; }
  .service-side { grid-column: 1; grid-row: auto; margin-top: 10px; justify-content: space-between; }
  .select-btn { flex: 1; max-width: 200px; }
  .featured { padding: 24px 20px; }
  .featured .btn { width: 100%; }
}

/* Date e orari */
.dates-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0 12px; }
.dates-range { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--black); background: var(--white); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.icon-btn:hover:not(:disabled) { background: var(--black); color: var(--white); }
.icon-btn:disabled { opacity: .3; cursor: not-allowed; }
.dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.date { display: grid; justify-items: center; gap: 3px; padding: 12px 2px; border: 1px solid var(--line); background: var(--white); cursor: pointer; min-height: 70px; transition: border-color .2s; }
.date:hover:not(:disabled):not([aria-checked="true"]) { border-color: var(--black); }
.date .dow { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.date .dom { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.date[aria-checked="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.date[aria-checked="true"] .dow { color: rgba(255, 255, 255, .7); }
.date:disabled { background: transparent; border-color: transparent; color: #b5b5b5; cursor: not-allowed; }
.date:disabled .dow { color: #c8c8c8; }
.date.loading { opacity: .5; }
.slots { margin-top: 30px; }
.slot-group { margin-bottom: 22px; }
.slot-group h3 { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .28em; color: var(--muted); margin-bottom: 12px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { padding: 13px 0; border: 1px solid var(--black); background: var(--white); font-family: var(--display); font-weight: 600; font-size: .88rem; letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s; }
.slot:hover { background: var(--soft); }
.slot[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* Modulo */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 8px; }
input:not([type="checkbox"]), select, textarea { width: 100%; padding: 14px 16px; border: 1px solid #cfcfcf; background: var(--white); font-weight: 400; transition: border-color .2s; }
input:not([type="checkbox"]):focus, select:focus, textarea:focus { border-color: var(--black); outline: none; box-shadow: inset 0 -2px 0 var(--black); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 0 -2px 0 var(--danger); }
::placeholder { color: #a5a5a5; font-weight: 300; }
.grid2 { display: grid; gap: 0 20px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; font-size: .9rem; font-weight: 300; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--black); }
.check a { font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy { margin-top: 6px; font-size: .86rem; color: var(--muted); font-weight: 300; }
.privacy summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.error { color: var(--danger); font-weight: 600; margin: 14px 0 0; font-size: .9rem; }
.empty { padding: 18px 20px; background: var(--soft); border-left: 3px solid var(--black); font-weight: 500; }

/* Riepilogo in marmo nero */
.summary { padding: 28px 26px; background: var(--black) var(--marble) center / cover no-repeat; color: var(--white); }
.summary h3 { font-size: 1.05rem; letter-spacing: .12em; }
.salon { color: rgba(255, 255, 255, .65); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 20px; }
.summary-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; font-weight: 300; }
.summary-items .muted { display: block; color: rgba(255, 255, 255, .65); }
.summary-when { margin: 18px 0 0; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .35); font-weight: 500; font-size: .88rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; }
.summary-total strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: 0; text-transform: none; }
.summary-duration { margin: 8px 0 0; font-size: .78rem; font-weight: 300; letter-spacing: .06em; color: rgba(255, 255, 255, .7); }
.price { font-family: var(--display); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.summary .error { color: #ff9a9a; }
.summary-actions { display: flex; gap: 10px; margin-top: 20px; }
.summary-actions .btn { flex: 1; padding-inline: 12px; }
.summary .btn-primary { background: var(--white); color: var(--black); border-color: var(--white); }
.summary .btn-primary:hover:not(:disabled) { background: transparent; color: var(--white); }
.summary .btn-primary:disabled { background: rgba(255, 255, 255, .25); border-color: transparent; color: rgba(255, 255, 255, .5); }
.summary .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.summary .btn-ghost:hover { background: var(--white); color: var(--black); }
@media (max-width: 899px) {
  .summary { position: fixed; inset: auto 0 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); z-index: 7; border-top: 1px solid rgba(255, 255, 255, .25); }
  .summary h3, .salon, .summary-items, .summary-duration { display: none; }
  .summary-when { margin: 0 0 10px; padding: 8px 12px; }
  .summary-total { margin: 0 0 10px; padding: 0; border: 0; }
  .summary-actions { margin-top: 0; }
  .summary.empty-cart { display: none; }
  .summary.done-state { display: none; }
}

/* Conferma */
.done { text-align: center; }
.done-badge { width: 68px; height: 68px; margin: 8px auto 20px; display: grid; place-items: center; background: var(--black); color: #fff; font-size: 1.8rem; }
.lead-sm { color: var(--muted); font-weight: 300; }
.recap { text-align: left; max-width: 460px; margin: 28px auto; display: grid; gap: 0; }
.recap div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.recap dt { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; padding-top: 3px; }
.recap dd { margin: 0; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 14px; }

.footer { padding: 40px 0 120px; background: var(--black) var(--marble) center / cover no-repeat; color: var(--white); font-size: .88rem; font-weight: 300; }
.footer strong { font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer p { margin: 0 0 6px; }
.footer .muted { color: rgba(255, 255, 255, .6); }
@media (min-width: 900px) { .footer { padding-bottom: 44px; } }
/* ===== Pagina su marmo nero: tutto il percorso di prenotazione è chiaro su scuro ===== */
body { color: #fff; background-color: #000; background-image: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, .38)), var(--marble); background-size: cover; background-position: center top; background-repeat: no-repeat; }
@media (min-width: 900px) { body { background-attachment: fixed; } }
:focus-visible { outline-color: #fff; }
.topbar, .topbar :focus-visible { color: #0b0b0b; outline-color: #000; }
.muted, .note, .hint, .lead-sm, .privacy, .privacy summary { color: rgba(255, 255, 255, .78); }
.privacy summary { color: #fff; }
a { color: #fff; }
/* superficie scura semitrasparente: garantisce il contrasto anche sulle venature chiare del marmo */
.panel { padding: 32px; background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 520px) { .panel { padding: 22px 18px; } }
.wa { background: rgba(0, 0, 0, .72); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-whatsapp { background: #fff; color: #000; border-color: #fff; }
.btn-whatsapp:hover { background: transparent; color: #fff; }
.steps { background: rgba(0, 0, 0, .72); padding: 0 20px; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.steps li { margin-bottom: 0; }
.steps li { color: rgba(255, 255, 255, .62); }
.steps li span { border-color: rgba(255, 255, 255, .5); }
.steps li[aria-current="step"] { color: #fff; border-bottom-color: #fff; }
.steps li[aria-current="step"] span { background: #fff; border-color: #fff; color: #000; }
.steps li.done { color: #fff; }
.steps li.done span { background: transparent; border-color: #fff; color: #fff; }
.chips { border-bottom-color: rgba(255, 255, 255, .22); }
.chip { color: rgba(255, 255, 255, .66); }
.chip:hover, .chip[aria-selected="true"] { color: #fff; }
.chip[aria-selected="true"] { border-bottom-color: #fff; }
.service { border-bottom-color: rgba(255, 255, 255, .18); }
.service-meta, .service-desc { color: rgba(255, 255, 255, .74); }
.service-note { color: rgba(255, 255, 255, .62); }
.badge { border-color: rgba(255, 255, 255, .7); color: #fff; }
.select-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.select-btn:hover, .select-btn[aria-pressed="true"] { background: #fff; color: #000; }
.featured { border: 1px solid rgba(255, 255, 255, .22); }
.icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.icon-btn:hover:not(:disabled) { background: #fff; color: #000; }
.icon-btn:disabled { opacity: .35; }
.date { background: transparent; border-color: rgba(255, 255, 255, .26); color: #fff; }
.date:hover:not(:disabled):not([aria-checked="true"]) { border-color: #fff; }
.date .dow { color: rgba(255, 255, 255, .72); }
.date[aria-checked="true"] { background: #fff; border-color: #fff; color: #000; }
.date[aria-checked="true"] .dow { color: rgba(0, 0, 0, .7); }
.date:disabled { background: transparent; border-color: transparent; color: rgba(255, 255, 255, .62); }
.date:disabled .dow { color: rgba(255, 255, 255, .62); }
.date:disabled .dom { text-decoration: line-through; text-decoration-thickness: 1px; }
.slot-group h3 { color: rgba(255, 255, 255, .72); }
.slot { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.slot:hover { background: rgba(255, 255, 255, .14); }
.slot[aria-pressed="true"] { background: #fff; color: #000; }
.field label { color: #fff; }
input:not([type="checkbox"]), select, textarea { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .38); }
input:not([type="checkbox"]):focus, select:focus, textarea:focus { border-color: #fff; box-shadow: inset 0 -2px 0 #fff; background: rgba(255, 255, 255, .1); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff8a8a; box-shadow: inset 0 -2px 0 #ff8a8a; }
::placeholder { color: rgba(255, 255, 255, .5); }
.check input { accent-color: #fff; }
.error { color: #ff9a9a; }
.empty { background: rgba(255, 255, 255, .09); border-left-color: #fff; color: #fff; }
.btn-primary { background: #fff; color: #000; border-color: #fff; }
.btn-primary:hover:not(:disabled) { background: transparent; color: #fff; }
.btn-primary:disabled { background: rgba(255, 255, 255, .22); border-color: transparent; color: rgba(255, 255, 255, .55); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: #fff; color: #000; }
.link-btn { color: #fff; }
.done-badge { background: #fff; color: #000; }
.recap div { border-bottom-color: rgba(255, 255, 255, .2); }
.recap dt { color: rgba(255, 255, 255, .72); }
/* riepilogo: scheda bianca, massimo contrasto sul fondo scuro */
.summary { background: #fff; color: #000; border: 0; }
.summary h3 { color: #000; }
.salon { color: #555; }
.summary-items li { color: #111; }
.summary-items .muted { color: #555; }
.summary-when { border-color: #000; color: #000; }
.summary-total { border-top-color: #ddd; color: #333; }
.summary-duration { color: #555; }
.summary .error { color: #a4161a; }
.summary .btn-primary { background: #000; color: #fff; border-color: #000; }
.summary .btn-primary:hover:not(:disabled) { background: #fff; color: #000; }
.summary .btn-primary:disabled { background: #cfcfcf; border-color: #cfcfcf; color: #777; }
.summary .btn-ghost { color: #000; border-color: #000; }
.summary .btn-ghost:hover { background: #000; color: #fff; }
.summary .error:focus-visible, .summary :focus-visible { outline-color: #000; }
.footer { border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .55); }
@media (max-width: 899px) { .summary { border-top: 1px solid #ddd; box-shadow: 0 -10px 30px rgba(0, 0, 0, .5); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
