/* Area negozi di Alvolo: stessi colori e caratteri dell'app */
@font-face { font-family: 'Bricolage'; src: url('/partner/fonts/display.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/partner/fonts/jakarta-500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/partner/fonts/jakarta-700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/partner/fonts/jakarta-800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --flame: #FF5A1F; --flame-dark: #E5410A; --flame-soft: #FFE7DC;
  --pink: #FF3D6E; --sun: #FFC53D; --sun-soft: #FFF3D1;
  --mint: #0FBF8C; --mint-dark: #0A8F69; --mint-soft: #DDF7EE;
  --ink: #17112E; --ink2: #2B2350; --ink-soft: #3D355F;
  --muted: #7D7594; --faint: #B5AFC6; --line: #EFE5DB; --line-strong: #E2D6CA;
  --cream: #FFF8F1; --card: #FFFFFF; --danger: #E5484D; --danger-soft: #FCE4E4;
  --display: 'Bricolage', 'Jakarta', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(58,31,15,.04), 0 8px 24px rgba(58,31,15,.06);
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
/* Ogni icona ha una misura di partenza: senza, il browser la disegna enorme */
svg { width: 1.25em; height: 1.25em; flex: none; }
/* Rete di sicurezza: niente scorrimento di lato anche se un elemento esce dai bordi */
html, body { overflow-x: clip; }
body { font: 500 15px/1.5 'Jakarta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--flame-dark); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; margin: 0; }
h1 { font-size: 30px; line-height: 1.1; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 800; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid rgba(255,90,31,.45); outline-offset: 2px; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { border-radius: 16px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .7; } }

/* —— Pulsanti e campi —— */
button, .btn { font: inherit; font-weight: 800; border: 0; border-radius: 12px; padding: 10px 16px; cursor: pointer; background: var(--flame); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: transform .08s, filter .15s, background .15s; }
button:hover { filter: brightness(.96); }
button:active { transform: scale(.98); }
button:disabled { opacity: .5; cursor: default; transform: none; }
button.ink { background: var(--ink); }
button.soft { background: var(--flame-soft); color: var(--flame-dark); }
button.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
button.ghost:hover { background: #fff; filter: none; }
button.danger { background: var(--danger-soft); color: var(--danger); }
button.mint { background: var(--mint-soft); color: var(--mint-dark); }
button.sm { padding: 6px 11px; font-size: 13px; border-radius: 10px; }
button.lg { padding: 14px 20px; font-size: 16px; border-radius: 14px; width: 100%; }
button.icon { padding: 8px; border-radius: 10px; }
button svg { width: 18px; height: 18px; flex: none; }

.field { display: grid; gap: 6px; font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.field svg { width: 16px; height: 16px; }
input, select, textarea { font: inherit; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 11px 13px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 4px rgba(255,90,31,.12); }
textarea { resize: vertical; min-height: 70px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--flame); flex: none; }
.error { background: var(--danger-soft); color: #B4232A; border-radius: 12px; padding: 10px 13px; font-weight: 700; font-size: 14px; }
.form { display: grid; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }

/* —— Accesso —— */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.login-art { background: radial-gradient(circle at 20% 15%, #3a2c6b 0, transparent 45%), linear-gradient(160deg, var(--ink2), var(--ink)); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art::after { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.55), rgba(255,61,110,.25) 45%, transparent 70%); }
.login-art h1 { font-size: 46px; max-width: 460px; position: relative; z-index: 1; }
.login-art h1 em { font-style: normal; background: linear-gradient(90deg, #FF8A1F, #FF5A1F, #FF3D6E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-art ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; position: relative; z-index: 1; color: #E9E5F5; }
.login-art li { display: flex; gap: 10px; align-items: center; }
.login-art li svg { width: 20px; height: 20px; color: var(--sun); flex: none; }
.login-art small { color: var(--faint); position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; position: relative; z-index: 1; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand span { font-family: 'Jakarta'; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.12); color: #fff; padding: 4px 9px; border-radius: 99px; }
.login-side { display: grid; place-items: center; padding: 40px 24px; }
.login-card { width: 100%; max-width: 400px; display: grid; gap: 22px; }
.login-card header { display: grid; gap: 6px; }
.login-card.wide { max-width: 560px; }
.login-side:has(.wide) { place-items: start center; }
.suggest-wrap { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: 70px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 14px; box-shadow: 0 14px 34px rgba(23,17,46,.14); z-index: 20; overflow: hidden; }
.suggest button { display: grid; justify-content: start; justify-items: start; gap: 1px; width: 100%; text-align: left; background: #fff; color: var(--ink); border-radius: 0; padding: 10px 13px; border-top: 1px solid var(--line); font-weight: 600; }
.suggest button:first-child { border-top: 0; }
.suggest button:hover { background: var(--cream); filter: none; }
.suggest button span { font-size: 12px; color: var(--muted); font-weight: 500; }
.suggest small { display: block; padding: 6px 13px; font-size: 11px; color: var(--faint); border-top: 1px solid var(--line); }
#services { display: grid; gap: 8px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) 92px 92px 38px; gap: 8px; align-items: center; }
.unit { display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 10px; }
.unit:focus-within { border-color: var(--flame); box-shadow: 0 0 0 4px rgba(255,90,31,.12); }
.unit input { border: 0; padding: 11px 0; box-shadow: none !important; min-width: 0; }
.unit span { color: var(--muted); font-weight: 700; font-size: 13px; }
.code-input { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 30px; font-weight: 800; letter-spacing: 12px; text-align: center; padding: 14px; color: var(--flame-dark); background: var(--flame-soft); border-color: transparent; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.secure-note svg { width: 18px; height: 18px; color: var(--mint); flex: none; margin-top: 1px; }
.linklike { background: none; color: var(--flame-dark); padding: 0; font-weight: 700; }
.linklike:hover { text-decoration: underline; filter: none; }

/* —— Struttura —— */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--ink); color: #fff; padding: 22px 14px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; }
.side .brand { font-size: 21px; padding: 0 8px; }
.side .brand img { width: 34px; height: 34px; border-radius: 10px; }
.side nav { display: grid; gap: 3px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #CFC9E2; font-weight: 700; }
.side nav a:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.side nav a.on { background: rgba(255,90,31,.16); color: #fff; }
.side nav a.on svg { color: var(--flame); }
.side nav svg { width: 20px; height: 20px; flex: none; }
.side nav .count { margin-left: auto; background: var(--flame); color: #fff; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 1px 7px; }
.side .shop { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); }
.side .shop img, .side .shop .ph { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: var(--ink2); flex: none; }
.side .shop b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .shop .grow { min-width: 0; }
.side .shop small { display: block; color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); padding: 0 12px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.live.on i { background: var(--mint); box-shadow: 0 0 0 4px rgba(15,191,140,.18); }

main.content { padding: 30px 34px 80px; max-width: 1280px; width: 100%; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin-top: 6px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.grid.half { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.mt { margin-top: 16px; }

.kpi { padding: 18px 20px; }
.kpi small { color: var(--muted); font-weight: 700; font-size: 13px; }
.kpi .v { font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.kpi .d { font-size: 12px; font-weight: 800; margin-top: 2px; }
.up { color: var(--mint-dark); } .down { color: var(--danger); }
.kpi.hero { background: linear-gradient(135deg, #FF8A1F, #FF5A1F 55%, #FF3D6E); color: #fff; border: 0; }
.kpi.hero small, .kpi.hero .d { color: rgba(255,255,255,.88); }

.banner { display: flex; gap: 14px; align-items: center; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.banner svg { width: 22px; height: 22px; flex: none; }
.banner.warn { background: var(--sun-soft); color: #7A5600; }
.banner.bad { background: var(--danger-soft); color: #9F1D23; }
.banner.info { background: #fff; border: 1px solid var(--line); }
.banner .grow b { display: block; }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--line); color: var(--ink-soft); white-space: nowrap; }
.tag.flame { background: var(--flame-soft); color: var(--flame-dark); }
.tag.mint { background: var(--mint-soft); color: var(--mint-dark); }
.tag.sun { background: var(--sun-soft); color: #8A6100; }
.tag.red { background: var(--danger-soft); color: var(--danger); }
.tag.ink { background: var(--ink); color: #fff; }

.list { display: grid; }
.item { display: flex; gap: 14px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item .time { font-family: var(--display); font-weight: 800; font-size: 17px; min-width: 58px; }
.item .meta { font-size: 13px; color: var(--muted); }
.item.click { cursor: pointer; border-radius: 12px; padding-left: 10px; padding-right: 10px; }
.item.click:hover { background: var(--cream); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty svg { width: 34px; height: 34px; color: var(--faint); display: block; margin: 0 auto 8px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-weight: 800; letter-spacing: 2px; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.strike { text-decoration: line-through; color: var(--faint); font-weight: 600; }

/* Grafico a barre */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 10px; }
.bars div { flex: 1; background: var(--flame-soft); border-radius: 5px 5px 2px 2px; min-height: 3px; position: relative; transition: background .15s; }
.bars div.v { background: linear-gradient(180deg, #FF8A1F, #FF5A1F); }
.bars div:hover { filter: brightness(.95); }
.bars-x { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; }
.hbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 70px; gap: 10px; align-items: center; font-size: 14px; padding: 5px 0; }
.hbar .track { height: 10px; background: var(--cream); border-radius: 99px; overflow: hidden; }
.hbar .fill { height: 100%; background: var(--flame); border-radius: 99px; }

.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 3px; }
.seg button { background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 9px; font-size: 13px; }
.seg button.on { background: var(--ink); color: #fff; }

/* —— Agenda della settimana —— */
.cal-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-toolbar .range { font-family: var(--display); font-weight: 800; font-size: 19px; min-width: 210px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 700; margin-left: auto; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cal-scroll { overflow-x: auto; }
.cal-grid { display: grid; grid-template-columns: 56px repeat(7, minmax(120px, 1fr)); min-width: 920px; }
.cal-day-head { padding: 10px 8px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); text-align: center; position: sticky; top: 0; background: #fff; z-index: 2; }
.cal-day-head b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; }
.cal-day-head small { color: var(--muted); font-weight: 700; text-transform: capitalize; }
.cal-day-head.today b { color: var(--flame); }
.cal-day-head.closed { background: #FBF7F2; }
.cal-corner { border-bottom: 1px solid var(--line); }
.cal-hours { position: relative; }
.cal-hours div { position: absolute; right: 8px; font-size: 11px; color: var(--muted); font-weight: 700; transform: translateY(-50%); }
.cal-col { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% var(--hour); }
.cal-col.closed { background-color: #FBF7F2; }
.cal-col.today { background-color: #FFFCF8; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 5px 8px; font-size: 12px; line-height: 1.3; overflow: hidden; cursor: pointer; border-left: 4px solid; transition: transform .1s, box-shadow .15s; }
.ev:hover { box-shadow: 0 6px 16px rgba(23,17,46,.15); z-index: 3; }
.ev b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.ev.appointment { background: #EEEBF7; border-color: var(--ink-soft); color: var(--ink); }
.ev.appointment.done { opacity: .55; }
.ev.alvolo { background: var(--flame-soft); border-color: var(--flame); color: #6A2303; }
.ev.vetrina { background: var(--sun-soft); border-color: var(--sun); color: #5E4300; border-style: solid; }
.gap { position: absolute; left: 4px; right: 4px; border: 1.5px dashed rgba(15,191,140,.55); background: rgba(221,247,238,.55); border-radius: 10px; color: var(--mint-dark); font-size: 12px; font-weight: 800; display: flex; align-items: flex-start; justify-content: center; padding-top: 5px; cursor: pointer; opacity: 0; transition: opacity .15s; }
.cal-col:hover .gap, .gap:focus { opacity: 1; }
.gap:hover { background: var(--mint-soft); }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--pink); z-index: 4; pointer-events: none; }
.now-line::before { content: ''; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }

/* —— Finestre —— */
.overlay { position: fixed; inset: 0; background: rgba(23,17,46,.45); display: grid; place-items: center; padding: 20px; z-index: 50; animation: fade .15s; }
.modal { background: #fff; border-radius: 22px; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow: auto; padding: 24px; box-shadow: 0 24px 60px rgba(23,17,46,.3); animation: rise .18s ease-out; }
.modal header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.modal header button { background: var(--cream); color: var(--ink); }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.modal .facts { display: grid; gap: 8px; background: var(--cream); border-radius: 14px; padding: 14px; font-size: 14px; }
.modal .facts div { display: flex; justify-content: space-between; gap: 10px; }
.modal .facts span { color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); padding: 8px 12px; }
.chips button.on { background: var(--sun); border-color: var(--sun); }
.chips button small { font-weight: 700; color: var(--muted); margin-left: 4px; }
.price-preview { display: flex; align-items: baseline; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 16px; }
.price-preview b { font-family: var(--display); font-size: 28px; }
.price-preview s { color: var(--faint); }
.price-preview span { margin-left: auto; font-size: 13px; color: var(--faint); font-weight: 700; }

#toasts { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 10px; z-index: 60; }
.toast { background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 12px 30px rgba(23,17,46,.3); font-weight: 700; max-width: 360px; animation: rise .2s; display: flex; gap: 10px; align-items: flex-start; }
.toast small { display: block; font-weight: 500; color: #D6D1E6; }
.toast.ok { background: #0B6E52; }
.toast.bad { background: #9F1D23; }

img.cover { padding: 0; }
.cover svg { width: 32px; height: 32px; color: var(--faint); }
.cover { width: 100%; aspect-ratio: 16 / 7; border-radius: 14px; object-fit: cover; background: var(--cream) center / cover; border: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--muted); }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days label { cursor: pointer; position: relative; }
.days input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.days span { display: inline-block; padding: 7px 11px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-weight: 800; font-size: 13px; background: #fff; }
.days input:checked + span { background: var(--danger-soft); border-color: transparent; color: var(--danger); text-decoration: line-through; }
.review { padding: 12px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.stars { color: var(--sun); letter-spacing: 1px; }

/* —— Telefono e tablet —— */
@media (max-width: 1100px) {
  .grid.k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.two, .grid.half { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 28px 24px; gap: 18px; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 80px 80px 38px; }
  .login-art h1 { font-size: 30px; }
  .login-art ul, .login-art small { display: none; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .banner { flex-wrap: wrap; }
  .banner > button { width: 100%; }
  .side { position: sticky; top: 0; height: auto; flex-direction: row; align-items: center; padding: 10px 12px; gap: 10px; z-index: 10; overflow-x: auto; }
  .side .brand span, .side .shop, .live { display: none; }
  .side nav { display: flex; gap: 2px; }
  .side nav a { padding: 8px 10px; }
  .side nav a .label { display: none; }
  main.content { padding: 20px 16px 60px; }
  h1 { font-size: 25px; }
}

/* Registrazione a passi (attività → account → servizi) */
.back-pill { justify-self: start; display: inline-flex; align-items: center; gap: 6px; background: var(--line); color: var(--ink); border-radius: 99px; padding: 9px 16px; font-weight: 700; }
.back-pill svg { width: 16px; height: 16px; }
.steps { display: flex; gap: 6px; }
.steps i { height: 5px; flex: 1; border-radius: 99px; background: var(--line); }
.steps i.on { background: var(--flame); }
.form h3 { margin-top: 6px; }
.row.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.row.two .field { min-width: 0; }
.phone-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
.search-in { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 99px; padding: 0 16px; }
.search-in:focus-within { border-color: var(--flame); box-shadow: 0 0 0 4px rgba(255,90,31,.12); }
.search-in svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search-in input { border: 0; box-shadow: none !important; padding: 13px 0; min-width: 0; background: transparent; }
.center { text-align: center; }
