/* Cg Tattoo Studio — Fluent (Windows 11): Mica + Acrylic, angoli 8 px, accento giada, tema scuro "inchiostro" e chiaro */
:root {
  color-scheme: dark;
  --bg: #0e0d10; --mica1: rgba(60, 200, 140, .10); --mica2: rgba(200, 53, 43, .08);
  --surf: rgba(255, 255, 255, .048); --surf2: rgba(255, 255, 255, .078); --surf3: rgba(255, 255, 255, .11); --solid: #1c1a1f; --solid2: #232127;
  --br: rgba(255, 255, 255, .085); --br2: rgba(255, 255, 255, .15);
  --tx: #f4f2f5; --tx2: #bdb7c2; --tx3: #a7a1ae;
  --acc: #4fd59a; --acc2: #6fe3af; --acc-tx: #04170e; --acc-soft: rgba(79, 213, 154, .14);
  --rosso: #ff7a6b; --giallo: #f0c25b; --blu: #7aa7ff;
  --carta: #ebe7e2; --carta2: #e2ddd6;
  --sh1: 0 2px 6px rgba(0, 0, 0, .28); --sh2: 0 10px 28px -8px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .25);
  --r: 8px; --r2: 12px;
  --f: 'Segoe UI Variable Text', 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, sans-serif;
  --fd: 'Segoe UI Variable Display', 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --nav: 280px;
}
:root[data-tema="chiaro"] {
  color-scheme: light;
  --bg: #f3f1f2; --mica1: rgba(31, 122, 82, .09); --mica2: rgba(200, 53, 43, .06);
  --surf: rgba(255, 255, 255, .72); --surf2: rgba(255, 255, 255, .92); --surf3: #fff; --solid: #fbfafb; --solid2: #fff;
  --br: rgba(20, 16, 24, .09); --br2: rgba(20, 16, 24, .16);
  --tx: #1b181d; --tx2: #4e4853; --tx3: #6f6875;
  --acc: #1d7a51; --acc2: #17633f; --acc-tx: #fff; --acc-soft: rgba(29, 122, 81, .12);
  --rosso: #b8352a; --giallo: #8a6410; --blu: #2b5ca8;
  --sh1: 0 2px 6px rgba(30, 20, 40, .08); --sh2: 0 12px 30px -10px rgba(30, 20, 40, .22), 0 2px 6px rgba(30, 20, 40, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--br2) transparent; }
body {
  margin: 0; min-height: 100vh; font-family: var(--f); font-size: 15px; line-height: 1.5; color: var(--tx);
  background: radial-gradient(1200px 700px at 8% -10%, var(--mica1), transparent 60%), radial-gradient(900px 600px at 110% 10%, var(--mica2), transparent 60%), var(--bg);
  background-attachment: fixed;
}
::selection { background: var(--acc); color: var(--acc-tx); }
a { color: var(--acc); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.vis-nascosto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- struttura: NavigationView ---------- */
.guscio { min-height: 100vh; }
.nav {
  position: fixed; inset: 0 auto 0 0; width: var(--nav); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; z-index: 20;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4); border-right: 1px solid var(--br);
}
.marchio { display: flex; align-items: center; gap: 12px; padding: 6px 10px 18px; text-decoration: none; color: var(--tx); }
.marchio .logo { width: 40px; height: 40px; border-radius: 10px; background: #0b0a0c; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.marchio .logo svg { width: 28px; height: 28px; }
.marchio b { display: block; font-family: var(--fd); font-size: 16px; line-height: 1.2; }
.marchio small { color: var(--tx3); font-size: 12px; }
.voce {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 6px; color: var(--tx2); text-decoration: none; font-size: 14px;
  transition: background .15s, color .15s;
}
.voce:hover { background: var(--surf2); color: var(--tx); }
.voce[aria-current="page"] { background: var(--surf2); color: var(--tx); font-weight: 600; }
.voce[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 16px; margin-top: -8px; border-radius: 2px; background: var(--acc); }
.voce .badge { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--acc); color: var(--acc-tx); font-size: 11px; font-weight: 700; text-align: center; }
.nav .sep { height: 1px; background: var(--br); margin: 8px 10px; }
.nav .piede { margin-top: auto; padding: 10px 12px 0; font-size: 12px; color: var(--tx3); }
.nav .piede a { color: var(--tx3); }
.barra { display: none; }
main#vista { margin-left: var(--nav); padding: 28px clamp(16px, 4vw, 48px) 60px; max-width: calc(1180px + var(--nav)); }
.banner-demo { margin: -28px calc(-1 * clamp(16px, 4vw, 48px)) 22px; padding: 8px 16px; background: var(--giallo); color: #1a1405; font-size: 13px; font-weight: 600; text-align: center; }
:root[data-tema="chiaro"] .banner-demo { background: #f0c25b; }

@media (max-width: 899px) {
  .nav { display: none; }
  main#vista { margin-left: 0; padding: 18px 16px calc(92px + env(safe-area-inset-bottom)); }
  .banner-demo { margin: -18px -16px 16px; }
  .barra {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--br);
    background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4);
  }
  .barra a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 8px; color: var(--tx3); text-decoration: none; font-size: 11px; font-weight: 500; }
  .barra a[aria-current="page"] { color: var(--acc); }
  .barra a[aria-current="page"] svg.i { stroke-width: 2.1; }
  .barra a.cta { color: var(--acc-tx); }
  .barra a.cta span.tondo { width: 48px; height: 34px; margin-top: -2px; border-radius: 17px; background: var(--acc); display: grid; place-items: center; box-shadow: var(--sh1); }
}

/* ---------- testata pagina ---------- */
.testata { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 22px; flex-wrap: wrap; }
.testata h1 { margin: 0; font-family: var(--fd); font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.testata p { margin: 6px 0 0; color: var(--tx2); max-width: 62ch; }
h2 { font-family: var(--fd); font-size: 19px; font-weight: 600; margin: 34px 0 12px; letter-spacing: -.005em; }
h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.nota { color: var(--tx2); font-size: 13.5px; }
.piccolo { font-size: 12.5px; color: var(--tx3); }

/* ---------- superfici ---------- */
.pannello { background: var(--surf); border: 1px solid var(--br); border-radius: var(--r); padding: 18px; box-shadow: var(--sh1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.pannello + .pannello { margin-top: 12px; }
.griglia2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.riga { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.riga.tra { justify-content: space-between; }
.vuoto { padding: 34px 18px; text-align: center; color: var(--tx2); border: 1px dashed var(--br2); border-radius: var(--r); }
.vuoto svg.i { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--tx3); }

/* ---------- controlli Fluent ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 6px 16px; border-radius: 6px; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: 500;
  background: var(--surf2); color: var(--tx); border: 1px solid var(--br); border-bottom-color: var(--br2); transition: background .12s, transform .08s;
}
.btn:hover { background: var(--surf3); }
.btn:active { transform: translateY(1px); }
.btn.accento { background: var(--acc); color: var(--acc-tx); border-color: transparent; font-weight: 600; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18); }
.btn.accento:hover { background: var(--acc2); }
.btn.grande { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn.piatto { background: transparent; border-color: transparent; }
.btn.piatto:hover { background: var(--surf2); }
.btn.pericolo { color: var(--rosso); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.tondo { width: 36px; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--br); background: var(--surf); color: var(--tx2); font-size: 13px; cursor: pointer; white-space: nowrap;
}
.chip:hover { background: var(--surf2); color: var(--tx); }
.chip[aria-pressed="true"] { background: var(--tx); color: var(--bg); border-color: transparent; font-weight: 600; }
.chip .pallino { width: 8px; height: 8px; border-radius: 50%; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo > span { font-size: 13px; font-weight: 600; color: var(--tx2); }
.campo small { color: var(--tx3); font-size: 12px; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=time], input[type=number], input[type=search], input[type=password], input:not([type]), select, textarea {
  width: 100%; min-height: 38px; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--br); border-bottom: 1px solid var(--br2); background: var(--surf2); color: var(--tx); outline: none;
}
input:focus, select:focus, textarea:focus { border-bottom: 2px solid var(--acc); padding-bottom: 7px; background: var(--solid2); }
textarea { min-height: 96px; resize: vertical; }
select option { background: var(--solid); color: var(--tx); }
.spunta { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--tx2); margin: 10px 0; cursor: pointer; }
.spunta input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acc); flex: none; }
input[type=range] { width: 100%; accent-color: var(--acc); }
input[type=color] { width: 100%; min-height: 38px; padding: 2px; border-radius: 6px; border: 1px solid var(--br); background: var(--surf2); }
.errore { color: var(--rosso); font-size: 13px; margin: 6px 0 0; min-height: 0; }
.errore:empty { display: none; }
.segmentato { display: inline-flex; padding: 3px; border-radius: 8px; background: var(--surf); border: 1px solid var(--br); gap: 2px; flex-wrap: wrap; }
.segmentato button { border: 0; background: transparent; padding: 6px 12px; border-radius: 6px; cursor: pointer; color: var(--tx2); font-size: 13.5px; }
.segmentato button[aria-pressed="true"] { background: var(--surf3); color: var(--tx); font-weight: 600; box-shadow: var(--sh1); }

/* ---------- home ---------- */
.eroe { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: 8px; }
.eroe h1 { font-family: var(--fd); font-size: clamp(32px, 5vw, 54px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 700; }
.eroe h1 em { font-style: normal; color: var(--acc); }
.eroe p { color: var(--tx2); font-size: 16.5px; max-width: 46ch; margin: 0 0 22px; }
.flash {
  position: relative; aspect-ratio: 1.15; max-width: 470px; justify-self: center; width: 100%;
}
.flash .foglio {
  position: absolute; width: 56%; aspect-ratio: .78; border-radius: 6px; background: var(--carta); box-shadow: var(--sh2); padding: 12px 12px 30px; transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  color: #1b181d; text-decoration: none;
}
.flash .foglio::after { content: attr(data-t); position: absolute; left: 12px; right: 12px; bottom: 9px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #4b4550; }
.flash .foglio:nth-child(1) { left: 0; top: 14%; transform: rotate(-9deg); }
.flash .foglio:nth-child(2) { left: 22%; top: 0; transform: rotate(2deg); z-index: 2; }
.flash .foglio:nth-child(3) { right: 0; top: 18%; transform: rotate(10deg); }
.flash:hover .foglio:nth-child(1) { transform: rotate(-13deg) translate(-10px, 4px); }
.flash:hover .foglio:nth-child(3) { transform: rotate(14deg) translate(10px, 4px); }
.flash .foglio svg { width: 100%; height: auto; }
@media (max-width: 899px) { .eroe { grid-template-columns: 1fr; } .flash { max-width: 340px; order: -1; } }
.azioni-eroe { display: flex; gap: 10px; flex-wrap: wrap; }
.scorciatoie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.scorciatoia { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); text-decoration: none; color: var(--tx); transition: background .15s, transform .15s; }
.scorciatoia:hover { background: var(--surf2); transform: translateY(-1px); }
.scorciatoia .ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); flex: none; }
.scorciatoia b { display: block; font-size: 14px; }
.scorciatoia span { font-size: 12.5px; color: var(--tx3); }
@media (max-width: 899px) { .scorciatoie { grid-template-columns: 1fr 1fr; } .scorciatoia { flex-direction: column; align-items: flex-start; gap: 10px; } }
.prossimo { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r); background: linear-gradient(120deg, var(--acc-soft), transparent 70%), var(--surf); border: 1px solid var(--br); margin-top: 22px; }
.prossimo .data { width: 62px; text-align: center; flex: none; padding: 6px 0; border-radius: 8px; background: var(--solid2); border: 1px solid var(--br); }
.prossimo .data b { display: block; font-size: 24px; font-family: var(--fd); line-height: 1.1; }
.prossimo .data span { font-size: 11px; text-transform: uppercase; color: var(--tx3); font-weight: 600; letter-spacing: .04em; }
.novita-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.novita-voce { padding: 16px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); }
.novita-voce .tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--acc-soft); color: var(--acc); margin-bottom: 8px; }
.novita-voce.promo .tag { background: rgba(240, 194, 91, .16); color: var(--giallo); }
.servizi-riga { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.servizio-mini { flex: none; width: 168px; padding: 14px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); text-decoration: none; color: var(--tx); }
.servizio-mini:hover { background: var(--surf2); }
.servizio-mini svg.i { width: 26px; height: 26px; color: var(--acc); margin-bottom: 10px; }
.servizio-mini b { display: block; font-size: 14px; }
.servizio-mini span { font-size: 12.5px; color: var(--tx3); }

/* ---------- archivio ---------- */
.filtri { position: sticky; top: 0; z-index: 10; margin: 0 -8px 14px; padding: 10px 8px 2px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.cerca { position: relative; margin-bottom: 10px; }
.cerca svg.i { position: absolute; left: 12px; top: 50%; margin-top: -10px; color: var(--tx3); pointer-events: none; }
.cerca input { padding-left: 40px; }
.filtri-sel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 8px; margin-bottom: 8px; }
@media (max-width: 899px) { .filtri-sel { grid-template-columns: 1fr 1fr; } .filtri-sel .riga { grid-column: 1 / -1; } }
.tavole { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .tavole { grid-template-columns: 1fr 1fr; gap: 10px; } }
.tavola { position: relative; border-radius: var(--r); overflow: hidden; background: var(--carta); color: #1b181d; cursor: pointer; border: 0; padding: 0; text-align: left; box-shadow: var(--sh1); transition: transform .2s, box-shadow .2s; }
.tavola:hover { transform: translateY(-2px); box-shadow: var(--sh2); }
.tavola .arte { aspect-ratio: 1; padding: 14px; display: grid; place-items: center; }
.tavola .arte img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.tavola .arte svg { width: 100%; height: 100%; }
.tavola .didascalia { padding: 8px 12px 10px; background: var(--carta2); }
.tavola .didascalia b { display: block; font-size: 13.5px; line-height: 1.25; }
.tavola .didascalia span { font-size: 12px; color: #5d5662; }
.tavola .segni { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; pointer-events: none; }
.tavola .flash-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 4px; background: #151315; color: #f0c25b; }
.tavola .cuore { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); color: #c8352b; margin-left: auto; }
.tavola .cuore svg.i { width: 16px; height: 16px; fill: #c8352b; stroke: #c8352b; }
.conteggio { font-size: 13px; color: var(--tx3); margin: 0 0 10px; }

/* ---------- dialog (ContentDialog / sheet) ---------- */
dialog { border: 0; padding: 0; background: transparent; color: var(--tx); max-width: min(720px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
dialog::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
.dlg { background: var(--solid); border: 1px solid var(--br2); border-radius: var(--r2); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); overflow: auto; max-height: calc(100dvh - 24px); animation: entra .28s cubic-bezier(.1, .9, .2, 1); }
@keyframes entra { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-testa { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 0; }
.dlg-testa h2 { margin: 0; }
.dlg-corpo { padding: 16px 18px 20px; }
.dlg-piede { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 18px; background: var(--solid2); border-top: 1px solid var(--br); flex-wrap: wrap; }
@media (max-width: 599px) {
  dialog { max-width: 100vw; margin: auto 0 0; }
  .dlg { border-radius: 14px 14px 0 0; max-height: 92dvh; animation-name: sale; }
  @keyframes sale { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.scheda > *, .griglia2 > *, .eroe > * { min-width: 0; }
.scheda { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.scheda .arte { background: var(--carta); border-radius: var(--r); padding: 16px; aspect-ratio: 1; display: grid; place-items: center; }
.scheda .arte img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
@media (max-width: 599px) { .scheda { grid-template-columns: 1fr; } .scheda .arte { max-width: 260px; margin: 0 auto; width: 100%; } }
.dati { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; margin: 12px 0; }
.dati dt { color: var(--tx3); }
.dati dd { margin: 0; }
.dolore { display: inline-flex; gap: 3px; vertical-align: middle; }
.dolore i { width: 14px; height: 6px; border-radius: 3px; background: var(--br2); }
.dolore i.on { background: var(--rosso); }

/* ---------- prova sulla pelle ---------- */
.prova > *, .strumenti > * { min-width: 0; }
.prova { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 899px) { .prova { grid-template-columns: 1fr; } }
.tela { position: relative; border-radius: var(--r); overflow: hidden; background: #0a090b; aspect-ratio: 3 / 4; max-height: 74vh; margin: 0 auto; width: 100%; touch-action: none; box-shadow: var(--sh2); }
.tela canvas, .tela video { position: absolute; inset: 0; width: 100%; height: 100%; }
.tela video { object-fit: cover; }
.tela .vuota { position: absolute; inset: 0; z-index: 2; background: #0a090b; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px; color: #d9d4dc; }
.tela .vuota svg.i { width: 44px; height: 44px; margin: 0 auto; color: #8f8996; }
.strumenti { display: grid; gap: 14px; }
.strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.strip button { flex: none; width: 66px; height: 66px; border-radius: 8px; background: var(--carta); border: 2px solid transparent; padding: 6px; cursor: pointer; }
.strip button[aria-pressed="true"] { border-color: var(--acc); }
.strip button img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

/* ---------- prenotazione ---------- */
.passi { display: flex; gap: 6px; margin-bottom: 20px; }
.passi span { flex: 1; height: 4px; border-radius: 2px; background: var(--br2); }
.passi span.fatto { background: var(--acc); }
.scelte { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.scelta { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px; border-radius: var(--r); border: 1px solid var(--br); background: var(--surf); cursor: pointer; transition: background .12s, border-color .12s; }
.scelta:hover { background: var(--surf2); }
.scelta[aria-pressed="true"] { border-color: var(--acc); background: var(--acc-soft); box-shadow: inset 0 0 0 1px var(--acc); }
.scelta svg.i { width: 26px; height: 26px; color: var(--acc); margin-top: 2px; }
.scelta b { display: block; font-size: 14.5px; }
.scelta span { display: block; font-size: 12.5px; color: var(--tx3); margin-top: 2px; }
.scelta .prezzo { color: var(--tx2); font-weight: 600; margin-top: 6px; }
.giorni { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; }
.giorno { flex: none; width: 64px; padding: 8px 0; border-radius: 8px; border: 1px solid var(--br); background: var(--surf); text-align: center; cursor: pointer; }
.giorno span { display: block; font-size: 11px; text-transform: uppercase; color: var(--tx3); font-weight: 600; }
.giorno b { display: block; font-size: 20px; font-family: var(--fd); }
.giorno[aria-pressed="true"] { background: var(--acc); color: var(--acc-tx); border-color: transparent; }
.giorno[aria-pressed="true"] span { color: var(--acc-tx); opacity: .8; }
.giorno[disabled] { opacity: .35; cursor: not-allowed; }
.orari { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.orari button { padding: 9px 0; border-radius: 6px; border: 1px solid var(--br); background: var(--surf); cursor: pointer; font-variant-numeric: tabular-nums; }
.orari button[aria-pressed="true"] { background: var(--acc); color: var(--acc-tx); border-color: transparent; font-weight: 700; }
.orari button[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.foto-rif { display: flex; gap: 8px; flex-wrap: wrap; }
.foto-rif .f { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--surf2); }
.foto-rif .f img { width: 100%; height: 100%; object-fit: cover; }
.foto-rif .f button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.foto-rif label.aggiungi { width: 84px; height: 84px; border-radius: 8px; border: 1px dashed var(--br2); display: grid; place-items: center; cursor: pointer; color: var(--tx3); }
.riepilogo { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.riepilogo dt { color: var(--tx3); }
.riepilogo dd { margin: 0; }
.avanti { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.successo { text-align: center; padding: 30px 10px; }
.successo .spunta-grande { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--acc); color: var(--acc-tx); display: grid; place-items: center; animation: pop .5s cubic-bezier(.16, 1, .3, 1); }
.successo .spunta-grande svg.i { width: 36px; height: 36px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.codice { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 22px; letter-spacing: .08em; padding: 8px 16px; border-radius: 8px; background: var(--surf2); display: inline-block; margin: 10px 0; }

/* ---------- appuntamenti ---------- */
.app-lista { display: grid; gap: 12px; }
.app-voce { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); }
.app-voce .arte { width: 72px; height: 72px; border-radius: 8px; background: var(--carta); padding: 6px; display: grid; place-items: center; color: #1b181d; }
.app-voce .arte svg.i { width: 30px; height: 30px; }
.app-voce .arte img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.stato { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surf2); }
.stato::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stato.richiesta { color: var(--giallo); }
.stato.proposta { color: var(--blu); }
.stato.confermata { color: var(--acc); }
.stato.completata { color: var(--tx2); }
.stato.rifiutata, .stato.annullata { color: var(--rosso); }
.messaggio-studio { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--surf2); font-size: 14px; }
.messaggio-studio b { display: block; font-size: 12px; color: var(--tx3); }

/* ---------- consenso ---------- */
.firma { position: relative; border-radius: 8px; background: #fff; border: 1px solid var(--br2); height: 180px; touch-action: none; }
.firma canvas { width: 100%; height: 100%; display: block; border-radius: 8px; cursor: crosshair; }
.firma .linea { position: absolute; left: 20px; right: 20px; bottom: 40px; border-bottom: 1px dashed #b9b3bd; pointer-events: none; }
.firma .x { position: absolute; left: 18px; bottom: 44px; color: #9a94a0; font-size: 18px; pointer-events: none; }
.domande { display: grid; gap: 8px; }
.domanda { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--surf); border: 1px solid var(--br); font-size: 14px; }

/* ---------- cura ---------- */
.linea-tempo { display: grid; gap: 10px; }
.tappa { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); opacity: .62; }
.tappa.ora { opacity: 1; border-color: var(--acc); background: linear-gradient(120deg, var(--acc-soft), transparent 70%), var(--surf); }
.tappa.fatta { opacity: .45; }
.tappa .g { text-align: center; font-family: var(--fd); }
.tappa .g b { display: block; font-size: 20px; }
.tappa .g span { font-size: 11px; color: var(--tx3); text-transform: uppercase; font-weight: 600; }
.allarme { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 122, 107, .1); border: 1px solid rgba(255, 122, 107, .3); font-size: 14px; }

/* ---------- studio / artisti ---------- */
.artisti { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.artista { padding: 16px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fd); font-weight: 700; font-size: 19px; color: #fff; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.mini-tavole { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.mini-tavole button { aspect-ratio: 1; border-radius: 6px; background: var(--carta); border: 0; padding: 5px; cursor: pointer; }
.mini-tavole img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.listino { width: 100%; border-collapse: collapse; font-size: 14px; }
.listino td { padding: 10px 6px; border-top: 1px solid var(--br); vertical-align: top; }
.listino td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.orario-tab { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------- quiz / preventivo ---------- */
.quiz-q { font-family: var(--fd); font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin: 6px 0 18px; line-height: 1.2; }
.risposte { display: grid; gap: 10px; }
.risposte button { text-align: left; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--br); background: var(--surf); cursor: pointer; font-size: 15px; transition: background .12s, transform .12s; }
.risposte button:hover { background: var(--surf2); transform: translateX(3px); }
.esito-stile { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); align-items: center; }
.esito-stile .arte { background: var(--carta); border-radius: 8px; padding: 10px; }
.esito-stile .perc { font-family: var(--fd); font-size: 13px; font-weight: 700; color: var(--acc); }
.fascia { font-family: var(--fd); font-size: clamp(34px, 5vw, 48px); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- altro ---------- */
.elenco { display: grid; gap: 4px; }
.elenco a, .elenco button { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 8px; background: var(--surf); border: 1px solid var(--br); color: var(--tx); text-decoration: none; text-align: left; cursor: pointer; width: 100%; font-size: 14.5px; }
.elenco a:hover, .elenco button:hover { background: var(--surf2); }
.elenco svg.i:last-child { margin-left: auto; color: var(--tx3); }
.funzioni { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.funzione { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--br); text-decoration: none; color: var(--tx); }
.funzione .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; }
.funzione p { margin: 2px 0 0; font-size: 13px; color: var(--tx2); }
.credit { text-align: center; font-size: 12.5px; color: var(--tx3); margin-top: 40px; }
.credit a { color: var(--tx2); }

/* ---------- avvisi ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 100; padding: 11px 18px; border-radius: 8px; background: var(--solid2); border: 1px solid var(--br2); box-shadow: var(--sh2); font-size: 14px; transition: opacity .2s, transform .25s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.su { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 899px) { .toast { bottom: calc(86px + env(safe-area-inset-bottom)); } }
.guida-arte { display: grid; place-items: center; height: 150px; border-radius: 10px; background: var(--carta); margin-bottom: 16px; color: #1b181d; }
.guida-arte svg { height: 130px; width: auto; }
.puntini { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.puntini i { width: 7px; height: 7px; border-radius: 50%; background: var(--br2); }
.puntini i.on { background: var(--acc); width: 18px; border-radius: 4px; }
.carica { display: grid; place-items: center; padding: 60px 0; color: var(--tx3); }
.vista-entra { animation: vista .32s cubic-bezier(.1, .9, .2, 1); }
@keyframes vista { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .nav, .barra, .btn, .banner-demo { display: none !important; } main#vista { margin: 0; } body { background: #fff; color: #000; } }
