:root {
  --bg: #F7F4EE; --card: #FFFFFF; --ink: #15171C; --muted: #5A5F6B; --soft: #3B3F48; --line: #E4DED3; --line2: #D6D5CF; --tint: #EFEAE1;
  --accent: #F2651C; --accent-bg: #FDE3D3; --accent-ink: #7A2E05; --blue: #2D3FE0; --ok: #1F4D27; --ok-bg: #DCEBDD; --err: #B42318; --err-bg: #FDE7E4;
  --head: 'Bricolage Grotesque', system-ui, sans-serif; --body: 'Instrument Sans', system-ui, sans-serif; --r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.h1 { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.h2 { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.boot { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* struttura */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247,244,238,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1100px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.mono { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; overflow: hidden; }
.mono img { width: 100%; height: 100%; object-fit: cover; }
.brand b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; font-size: 12.5px; color: var(--muted); }
.topnav { display: flex; gap: 4px; }
.topnav a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--soft); font-weight: 600; font-size: 14.5px; }
.topnav a[aria-current="page"] { background: var(--tint); color: var(--ink); }
main.wrap { max-width: 1100px; margin: 0 auto; padding: 20px 16px 110px; display: flex; flex-direction: column; gap: 18px; }
.narrow { max-width: 640px; margin: 0 auto; width: 100%; }
.bottom { display: none; }
.demo { background: var(--accent-bg); color: var(--accent-ink); font-size: 13px; text-align: center; padding: 7px 12px; }
.notice { padding: 12px 14px; border-radius: 12px; background: var(--accent-bg); color: var(--accent-ink); font-size: 14px; }
.notice.ok { background: var(--ok-bg); color: var(--ok); }

/* elementi */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.orange { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 700; }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--blue); padding: 0 8px; }
.btn.danger { color: var(--err); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.row { display: flex; align-items: center; gap: 10px; }
.wrapx { flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .lab { font-size: 14px; font-weight: 600; color: var(--soft); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line2); background: #fff; font-size: 16px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
.err { color: var(--err); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line2); background: #fff; font-weight: 600; font-size: 14.5px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--tint); }
.seg button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; color: var(--soft); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--tint); color: var(--soft); white-space: nowrap; }
.status.sent { background: #E3E6FB; color: #1E2BA8; }
.status.approved, .status.won { background: var(--ok-bg); color: var(--ok); }
.status.declined { background: var(--err-bg); color: var(--err); }
.quota { font-size: 13px; color: var(--muted); }
.meter { height: 6px; border-radius: 9px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--accent); }

/* cantieri */
.search { position: relative; }
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.pcard { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pcard:hover { border-color: var(--ink); }
.pcard .th { width: 76px; height: 76px; flex: none; border-radius: 12px; background: var(--tint) center/cover; }
.pcard b { display: block; font-size: 16px; }
.pcard small { display: block; color: var(--muted); font-size: 13.5px; margin: 2px 0 6px; }
.empty { padding: 40px 20px; text-align: center; border: 1.5px dashed var(--line2); border-radius: 20px; color: var(--muted); }
.empty h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* passi del sopralluogo */
.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 5px; border-radius: 9px; background: var(--line); }
.steps span.on { background: var(--accent); }
.shot { position: relative; border-radius: 18px; overflow: hidden; background: #ddd; touch-action: none; user-select: none; -webkit-user-select: none; }
.shot img { width: 100%; height: auto; }
.shot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pickphoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 4/3; border-radius: 20px; border: 2px dashed var(--line2); background: #fff; text-align: center; padding: 20px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 74px; height: 74px; border-radius: 12px; padding: 0; border: 2.5px solid transparent; overflow: hidden; background: var(--tint); }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .add { border: 2px dashed var(--line2); font-size: 26px; color: var(--muted); background: #fff; }
.surf { display: flex; flex-direction: column; gap: 8px; }
.surf button { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line2); background: #fff; text-align: left; font-weight: 600; }
.surf button .ck { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.surf button[aria-pressed="true"] { border-color: var(--ink); }
.surf button[aria-pressed="true"] .ck { background: var(--ink); border-color: var(--ink); color: #fff; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* colori */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 104px; gap: 8px; max-height: 440px; overflow-y: auto; padding: 2px; flex-shrink: 0; }
.sw { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; overflow: hidden; }
.sw i { display: block; height: 50px; flex: none; }
.sw span { padding: 7px 10px; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.sw b { color: var(--ink); }
.sw b { display: block; font-size: 13.5px; }
.sw[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.sw .n { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.picked { display: flex; gap: 8px; flex-wrap: wrap; }
.picked span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.picked i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.picked button { border: 0; background: none; font-size: 15px; color: var(--muted); padding: 0 2px; }
.sticky-cta { position: sticky; bottom: 82px; z-index: 5; padding-top: 6px; }

/* risultato prima/dopo */
.ba { position: relative; border-radius: 18px; overflow: hidden; background: #ddd; user-select: none; touch-action: pan-y; }
.ba img { width: 100%; height: auto; }
.ba .after { position: absolute; inset: 0; overflow: hidden; }
.ba .after img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: center; }
.ba .handle { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.4); }
.ba .handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ba .lbl { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(21,23,28,.7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.opt { position: relative; padding: 0; border-radius: 14px; overflow: hidden; border: 2.5px solid transparent; background: #fff; text-align: left; }
.opt[aria-pressed="true"] { border-color: var(--accent); }
.opt img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.opt .wait { aspect-ratio: 4/3; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; background: var(--tint); font-size: 12.5px; color: var(--muted); padding: 8px; text-align: center; }
.opt .fail { background: var(--err-bg); color: var(--err); }
.opt span.cap { display: flex; align-items: center; gap: 6px; padding: 7px 8px; font-size: 12.5px; font-weight: 600; }
.opt span.cap i { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 1px solid rgba(0,0,0,.1); }
.opt .vthumb { position: relative; display: block; }
.opt .vthumb b { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(21,23,28,.72); color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 3px; }
.vplayer { width: 100%; border-radius: 18px; background: #000; display: block; }
.opt .hid { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(21,23,28,.75); color: #fff; font-size: 11px; }

/* statistiche */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.kpi small { display: block; color: var(--muted); font-size: 13px; }
.kpi b { display: block; font-family: var(--head); font-size: 30px; letter-spacing: -.02em; margin-top: 4px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; font-size: 12px; color: var(--muted); }
.bars i { display: block; width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px; background: var(--accent); min-height: 3px; }
.bars b { color: var(--ink); font-size: 13px; }

/* piani */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.plan.cur { border-color: var(--accent); }
.plan .price { font-family: var(--head); font-size: 28px; font-weight: 800; }

/* accesso */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .art { position: relative; background: #ddd url('/img/room_salvia.jpg') center/cover; }
.auth .art .q { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px; background: linear-gradient(180deg, transparent, rgba(21,23,28,.85)); color: #fff; }
.auth .art .q b { font-family: var(--head); font-size: 34px; line-height: 1.05; letter-spacing: -.03em; display: block; max-width: 460px; }
.auth form, .auth .authbox { width: min(420px, 100% - 32px); margin: auto; padding: 40px 0; display: flex; flex-direction: column; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--soft); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: none; }

/* pagina cliente */
.client { max-width: 760px; margin: 0 auto; padding: 18px 16px 60px; display: flex; flex-direction: column; gap: 18px; }
.client .langs { display: flex; gap: 4px; }
.client .langs button { min-width: 40px; min-height: 36px; border-radius: 10px; border: 0; background: transparent; font-weight: 700; font-size: 13px; color: var(--muted); }
.client .langs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.colorcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cc { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; border: 2px solid var(--line); background: #fff; text-align: left; }
.cc i { width: 40px; height: 40px; border-radius: 10px; flex: none; border: 1px solid rgba(0,0,0,.08); }
.cc b { display: block; font-size: 15px; }
.cc small { color: var(--muted); font-size: 12.5px; }
.cc[aria-pressed="true"] { border-color: var(--ink); }
.approve { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(247,244,238,0), var(--bg) 30%); }
.foot { text-align: center; font-size: 12.5px; color: var(--muted); }

/* finestre */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(21,23,28,.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: min(640px, 100%); max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 24px 24px 0 0; padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 761px) { .modal { align-items: center; } .sheet { border-radius: 24px; padding: 24px; } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.bad { background: var(--err); }
.legal { line-height: 1.6; }
.legal h1 { font-family: var(--head); font-size: 30px; margin-bottom: 4px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal h3 { font-size: 16px; margin: 18px 0 4px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal td, .legal th { border: 1px solid var(--line2); padding: 7px 9px; text-align: left; vertical-align: top; }

@media (max-width: 760px) {
  .topnav { display: none; }
  .bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(68px + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); justify-content: space-around; align-items: center; }
  .bottom a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; min-height: 52px; justify-content: center; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600; }
  .bottom a[aria-current="page"] { color: var(--ink); }
  .bottom a.plus { min-width: 0; width: 54px; height: 54px; border-radius: 18px; background: var(--accent); color: var(--ink); }
  .auth { grid-template-columns: 1fr; }
  .auth .art { min-height: 200px; }
  .auth .art .q { padding: 18px 16px; }
  .auth .art .q b { font-size: 24px; }
  .h1 { font-size: 26px; }
}

/* home */
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px; border-radius: 24px; background: linear-gradient(135deg, #FFF 0%, #FDF0E6 100%); border: 1px solid var(--line); }
.hello .h1 { font-size: 34px; }
a.kpi { text-decoration: none; color: var(--ink); }
a.kpi:hover { border-color: var(--ink); }
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.folder { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; margin-top: 12px; }
.folder .tab { position: absolute; top: -12px; left: -1px; width: 46%; height: 13px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 14px 0 0; }
.folder:hover, .folder:hover .tab { border-color: var(--ink); }
.folder .th { height: 120px; margin: 8px 8px 0; border-radius: 12px; background: var(--tint) center/cover; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.folder .fi { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.folder .fi b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folder .fi small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folder .status { align-self: flex-start; }
.folder.more .th { background: var(--tint); }
.follow .fl { text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--line); }
.follow .fl small { display: block; font-size: 13px; }
.step { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 6px 0; font-weight: 600; }
.step .dot { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.step.ok { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.step.ok .dot { background: var(--ok-bg); border-color: var(--ok-bg); color: var(--ok); }
.invite-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); background: var(--ink); color: #fff; border-color: var(--ink); }
.invite-card b { display: block; font-size: 17px; }
.invite-card small { display: block; color: #C9CCD3; font-size: 14px; margin-top: 2px; }
.invite-card .arrow { margin-left: auto; font-size: 22px; }
.gift { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.gift.big { width: 64px; height: 64px; border-radius: 18px; }
.tip { padding: 0 4px; }
.invite-hero #reflink { width: 100%; font-size: 15px; }
.howto { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.howto li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; }
.howto li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-bg); color: var(--accent-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.howto span { color: var(--muted); font-size: 14px; }
/* partner */
.phero { padding: 28px 22px; border-radius: 26px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 16px; }
.phero .eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.phero .h1.big { font-size: 40px; max-width: 760px; }
.phero .lead { color: #D4D6DB; font-size: 18px; line-height: 1.5; max-width: 680px; }
.phero .btn:not(.orange) { background: transparent; color: #fff; border-color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pgrid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pgrid .num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
@media (max-width: 760px) {
  .kpis.three { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpis.three .kpi { padding: 12px 10px; }
  .kpis.three .kpi small { font-size: 11.5px; }
  .kpis.three .kpi b { font-size: 24px; }
  .hello { padding: 18px; }
  .hello .h1 { font-size: 28px; }
  .hello .btn { width: 100%; }
  .folders { grid-template-columns: 1fr 1fr; gap: 10px; }
  .folder .th { height: 96px; }
  .phero .h1.big { font-size: 30px; }
  .bottom a { min-width: 54px; }
}

.bigp { font-size: 18px; line-height: 1.5; }

/* offerta con conto alla rovescia */
.countdown { display: flex; gap: 8px; }
.countdown span { flex: 1; min-width: 0; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 4px 8px; text-align: center; }
.countdown b { display: block; font-family: var(--head); font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { display: block; font-size: 11.5px; color: #C9CCD3; margin-top: 4px; }
.countdown.sm span { padding: 7px 4px 6px; background: #fff; color: var(--ink); }
.countdown.sm b { font-size: 20px; }
.countdown.sm small { color: var(--muted); }
.offerbar { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--accent-bg); color: var(--accent-ink); }
.offerbar b { font-size: 16px; color: var(--ink); }
.offerbar .countdown { min-width: 250px; }
@media (max-width: 760px) { .offerbar { grid-template-columns: 1fr; } .offerbar .countdown { min-width: 0; } }

/* scelte grandi (interno/esterno, modo colore) */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 14px 14px 14px; border-radius: 16px; border: 2px solid var(--line2); background: #fff; color: var(--ink); min-height: 112px; }
.choice button .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--soft); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.choice button b { font-size: 16px; line-height: 1.2; }
.choice button small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.choice button .tick { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: transparent; }
.choice button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-bg); box-shadow: 0 0 0 3px rgba(242,101,28,.18); }
.choice button[aria-pressed="true"] .ico { background: var(--accent); color: var(--ink); }
.choice button[aria-pressed="true"] .tick { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.updbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); width: max-content; max-width: calc(100% - 24px); }
@media (min-width: 761px) { .updbar { bottom: 20px; } }

/* dashboard iscritti */
.wbars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 150px; }
.wbars > div { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.wbars .pair { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.wbars i { display: block; width: 40%; min-height: 2px; border-radius: 4px 4px 0 0; }
.wbars i.a, .lg.a { background: var(--accent); } .wbars i.b, .lg.b { background: var(--ink); }
.wbars small { font-size: 10.5px; color: var(--muted); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin: 0 4px 0 10px; }
.admf { display: flex; flex-wrap: wrap; gap: 6px; }
.admf button { border: 1.5px solid var(--line2); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13.5px; font-weight: 600; color: var(--soft); }
.admf button b { margin-left: 4px; color: var(--ink); }
.admf button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; } .admf button[aria-pressed="true"] b { color: var(--accent); }
.admlist { display: flex; flex-direction: column; gap: 10px; }
.admrow { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.admrow b { display: block; font-size: 16px; } .admrow > div > span > small { display: block; font-size: 13px; }
.admstats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; font-size: 14px; }
.admstats small { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.admstats em { font-style: normal; font-size: 12.5px; }
.kpi b + small { margin-top: 4px; }

/* schede piani */
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; align-items: stretch; padding-top: 14px; }
.pcard { position: relative; text-align: left; align-items: stretch; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(21,23,28,.08); }
.pcard.mine { border-color: var(--accent); }
.pcard.best { background: radial-gradient(120% 80% at 100% 0%, rgba(242,101,28,.28), transparent 60%), var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 18px 40px rgba(21,23,28,.22); }
@media (min-width: 760px) { .pcard.best { transform: translateY(-10px); } .pcard.best:hover { transform: translateY(-12px); } }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(242,101,28,.4); }
.pc-name { display: block; font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.pc-for { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.best .pc-for, .best .pc-save, .best .pc-feat small { color: #C9CCD3; }
.pc-price { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.pc-price b { font-family: var(--head); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.04em; }
.pc-price .pc-cur { font-weight: 700; font-size: 16px; }
.pc-price small { font-size: 15px; opacity: .7; }
.pc-price s { font-family: var(--head); font-weight: 700; font-size: 22px; opacity: .4; margin-right: 6px; }
.pc-save { font-size: 13.5px; font-weight: 600; color: #B4501A; }
.best .pc-save { color: #F2A57A; }
.pc-feat { list-style: none; margin: 6px 0 4px; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.best .pc-feat { border-top-color: rgba(255,255,255,.14); }
.pc-feat li { padding-left: 26px; position: relative; line-height: 1.35; }
.pc-feat li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.best .pc-feat li::before { background: var(--accent); color: var(--ink); }
.pc-feat small { color: var(--muted); font-size: 13px; }
.pc-cta { margin-top: auto; padding-top: 6px; display: flex; }
.pc-cta .btn { flex: 1; justify-content: center; }
.best .status.won { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 759px) { .pcard.best { order: -1; } .pcards { gap: 22px; } }

/* rassicurazione carta */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.trust > div { display: flex; gap: 12px; align-items: flex-start; background: var(--ok-bg); color: var(--ok); border-radius: 16px; padding: 14px; }
.trust .tn { flex: none; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 15px; }
.trust b { display: block; color: var(--ink); }
.trust small { display: block; color: var(--soft); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }

/* aiuto */
.helpbtn { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.helpbtn:hover { border-color: var(--ink); }
@media (max-width: 899px) { .helpbtn span { display: none; } .helpbtn { width: 40px; padding: 0; justify-content: center; } }

/* azioni sul risultato */
.acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.actc { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
button.actc:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(21,23,28,.07); }
.actc b { display: block; font-size: 15.5px; }
.actc small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.actc .ai { flex: none; width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.actc .ai.v { background: var(--ink); color: #fff; }
.actc .ai.h { background: var(--accent); color: var(--ink); }
.actc.done { background: var(--tint); border-color: transparent; }
.actc.done .ai.h { background: #fff; }
.tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px; background: var(--tint); }
.tool { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.tool:hover { background: #fff; }
.tool.vis i { width: 34px; height: 20px; border-radius: 999px; background: var(--line2); position: relative; transition: background .15s; }
.tool.vis i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tool.vis[aria-checked="true"] i { background: var(--ok); }
.tool.vis[aria-checked="true"] i::after { left: 16px; }
.tool.del { margin-left: auto; color: var(--err); }
.tool.del:hover { background: var(--err-bg); }
.dangico { width: 52px; height: 52px; border-radius: 16px; background: var(--err-bg); color: var(--err); display: inline-flex; align-items: center; justify-content: center; }
.btn.danger.solid { background: var(--err); color: #fff; border-color: var(--err); }
@media (max-width: 520px) { .tool { padding: 0 10px; } .tool.del span { display: none; } }
@media (max-width: 520px) { .tools { flex-wrap: nowrap; gap: 2px; } .tool { font-size: 13.5px; gap: 6px; padding: 0 8px; white-space: nowrap; } .tool.del { padding: 0 12px; } }

/* ===== pagina risultato ===== */
.wide { max-width: 1180px; margin: 0 auto; width: 100%; }
.res { display: grid; gap: 22px; }
@media (min-width: 980px) {
  .res { grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: 32px; align-items: start; }
  .res-main { position: sticky; top: 84px; }
}
.res-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.res-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.viewer { background: var(--ink); padding: 8px; border-radius: 28px; box-shadow: 0 24px 60px -20px rgba(21,23,28,.45); }
.viewer .ba { border-radius: 21px; background: #2a2d34; }
.ba .handle { width: 2px; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 18px rgba(0,0,0,.35); }
.ba .handle::after { content: none; }
.ba .handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(242,101,28,.9), 0 8px 22px rgba(0,0,0,.35); pointer-events: none; }
.ba .lbl { top: 14px; padding: 6px 12px; background: rgba(21,23,28,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); font-size: 11.5px; letter-spacing: .12em; }
.ba .lbl.l { left: 14px; } .ba .lbl.r { right: 14px; background: rgba(242,101,28,.85); color: var(--ink); border-color: transparent; }
.ba.waitbox img { filter: blur(6px) saturate(.6) brightness(.7); transform: scale(1.04); }
.ba .veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; color: #fff; }
.ba .veil b { font-size: 18px; } .ba .veil span:not(.spin) { font-size: 14px; opacity: .85; max-width: 380px; }
.ba .veil .spin { border-color: rgba(255,255,255,.3); border-top-color: var(--accent); width: 40px; height: 40px; }
.ba .veil.fail { background: rgba(180,35,24,.35); }
.vplayer { width: 100%; border-radius: 21px; display: block; background: #000; }
.vwait { aspect-ratio: 16/10; border-radius: 21px; background: #2a2d34; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.vwait span:not(.spin) { opacity: .8; font-size: 14px; } .vwait.fail { background: #5a1d17; }
.hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -2px auto 0; padding: 7px 14px; border-radius: 999px; background: var(--tint); color: var(--soft); font-size: 13px; width: fit-content; max-width: 100%; }
.opts.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 142px; grid-template-columns: none; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.opts.strip .opt { scroll-snap-align: start; border: 0; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; }
.opts.strip .opt:hover { transform: translateY(-2px); }
.opts.strip .opt[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent), 0 10px 22px -10px rgba(242,101,28,.6); }
.res-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.res-h { width: 100%; font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1.02; letter-spacing: -.035em; margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: var(--tint); color: var(--soft); font-size: 12.5px; font-weight: 700; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.bad { background: var(--err-bg); color: var(--err); } .pill.hd { background: var(--accent); color: var(--ink); }
.colorcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.crow { display: flex; align-items: center; gap: 14px; }
.csw { flex: none; width: 52px; height: 52px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 6px 14px -6px rgba(0,0,0,.35); }
.ctx { display: flex; flex-direction: column; min-width: 0; }
.ctx b { font-size: 17px; letter-spacing: -.01em; }
.ctx small { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.chips span { padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--soft); }
.res-side .acts { grid-template-columns: 1fr; gap: 8px; }
.res-side .actc { padding: 12px 14px; }
.actc .go { margin-left: auto; color: var(--muted); display: inline-flex; }
.more2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.more2 .btn { border-style: dashed; justify-content: center; background: transparent; }
.sendcard { border-radius: 22px; }
.sendhd { display: flex; gap: 12px; align-items: center; }
.sendhd .ai { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-bg); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; }
.btn.wa { background: #25D366; color: #0B3D1F; border-color: #25D366; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.btn.wa:hover { background: #1FBF5B; }
.res-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.res-extra:empty { display: none; }
@media (max-width: 979px) {
  .viewer { margin: 0 -8px; border-radius: 24px; padding: 6px; }
  .res-h { font-size: 28px; }
}
.res-side .tools { flex-wrap: nowrap; }
.res-side .tool { padding: 0 10px; white-space: nowrap; }
.res-side .tool.del span { display: none; }
.res-side .tool.del { padding: 0 12px; }
.sharebtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sharebtns .btn.wa { grid-column: 1 / -1; min-height: 52px; font-size: 16px; }
.sharebtns .btn.ghost { grid-column: 1 / -1; min-height: 36px; }

/* ===== pagina del cliente ===== */
.cl { min-height: 100vh; background: radial-gradient(1200px 500px at 50% -120px, #FFFFFF, transparent 70%), var(--bg); padding-bottom: 110px; }
.cl-in { max-width: 920px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cl-top { position: sticky; top: 0; z-index: 30; background: rgba(247,244,238,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cl-top .cl-in { min-height: 68px; }
.cl-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cl-brand b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-brand small { display: block; color: var(--muted); font-size: 13px; }
.cl-logo { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; }
.cl-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cl-logo.big { width: 60px; height: 60px; border-radius: 16px; font-size: 20px; }
.cl-langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--tint); flex: none; }
.cl-langs button { min-width: 38px; min-height: 32px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 12.5px; color: var(--muted); }
.cl-langs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.cl-main { max-width: 920px; margin: 0 auto; padding: 28px 16px 0; display: flex; flex-direction: column; gap: 22px; }
.cl-hero { display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; padding: 10px 0 4px; }
.cl-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-bg); padding: 6px 14px; border-radius: 999px; }
.cl-hero h1 { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 7vw, 58px); line-height: .98; letter-spacing: -.045em; max-width: 720px; }
.cl-hero p { color: var(--soft); font-size: 17px; max-width: 560px; }
.cl-ok { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--ok-bg); color: var(--ok); }
.cl-ok .ck { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.cl-ok div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cl-ok div > b { font-size: 17px; }
.cl-ok div span { color: var(--ink); font-size: 14.5px; }
.cl-ok i { width: 40px; height: 40px; border-radius: 12px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.cl .viewer { margin: 0; }
.cl-sec { display: flex; flex-direction: column; gap: 12px; }
.cl-sech { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cl-sech h2, .cl-card h3, .cl-how h3 { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.cl-sech span { color: var(--muted); font-size: 14px; font-weight: 600; }
.cl-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cl-opt { padding: 0; border: 0; background: #fff; border-radius: 20px; overflow: hidden; text-align: left; box-shadow: 0 0 0 1px var(--line); transition: transform .15s, box-shadow .15s; }
.cl-opt:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line2), 0 14px 30px -14px rgba(21,23,28,.35); }
.cl-opt[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent), 0 16px 34px -14px rgba(242,101,28,.55); }
.cl-opt .im { position: relative; display: block; }
.cl-opt .im img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cl-opt .im em { position: absolute; top: 10px; left: 10px; font-style: normal; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.cl-opt .nm { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.cl-opt .nm i { width: 30px; height: 30px; border-radius: 9px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.cl-opt .nm b { display: block; font-size: 15px; }
.cl-opt .nm small { display: block; color: var(--muted); font-size: 12.5px; }
.cl-card { background: #fff; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 0 0 1px var(--line); }
.cl-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cl-pdf { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--ink); color: #fff; text-decoration: none; }
.cl-pdf .pdf { width: 46px; height: 54px; flex: none; border-radius: 8px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.cl-pdf > span:nth-child(2) { flex: 1; }
.cl-pdf .btn { background: #fff; border-color: #fff; }
.cl-how { padding: 22px; border-radius: 24px; background: var(--tint); display: flex; flex-direction: column; gap: 14px; }
.cl-how ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cl-how li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--soft); }
.cl-how li span { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.cl-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cl-contact > div:nth-child(2) { flex: 1 1 180px; display: flex; flex-direction: column; min-width: 0; }
.cl-contact small { color: var(--muted); font-size: 13px; }
.cl-contact b { font-size: 18px; }
.cl-contact > div > span { color: var(--muted); font-size: 14px; }
.cl-cbtn { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: rgba(21,23,28,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; box-shadow: 0 -10px 30px rgba(0,0,0,.18); }
.cl-bar .sel { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cl-bar .sel i { width: 38px; height: 38px; border-radius: 11px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cl-bar .sel span { display: flex; flex-direction: column; min-width: 0; }
.cl-bar .sel small { color: #B9BCC4; font-size: 12px; }
.cl-bar .sel b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-bar .btn { flex: none; min-height: 50px; font-size: 16px; font-weight: 700; padding: 0 22px; }
@media (max-width: 520px) { .cl-bar .sel small { display: none; } .cl-bar .btn { padding: 0 16px; font-size: 15px; } .cl-opts { grid-template-columns: 1fr 1fr; gap: 10px; } .cl-opt .nm { padding: 10px; } .cl-logo.big { width: 52px; height: 52px; } }
.cl-apsel { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--tint); }
.cl-apsel img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; }
.cl-apsel div { flex: 1; display: flex; flex-direction: column; }
.cl-apsel small { color: var(--muted); font-size: 12.5px; }
.cl-apsel i { width: 34px; height: 34px; border-radius: 10px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

/* ===== scatta la foto ===== */
.vf { position: relative; border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, #2B2F38, #15171C); color: #fff; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(21,23,28,.6); }
.vf .spin { border-color: rgba(255,255,255,.25); border-top-color: var(--accent); }
.vf > b { color: #fff; }
.vf-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 33.333% 33.333%; background-position: -1px -1px; pointer-events: none; }
.vf-c { position: absolute; width: 34px; height: 34px; border: 3px solid var(--accent); pointer-events: none; }
.vf-c.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.vf-c.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.vf-c.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.vf-c.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.vf-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 24px 28px; max-width: 440px; }
.vf-cam { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.vf-in b { font-family: var(--head); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.vf-in small { color: #C9CCD3; font-size: 14px; }
.vf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.vf-btns .btn { min-height: 50px; }
.vf-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); }
.vf-ghost:hover { border-color: #fff; }
@media (max-width: 520px) { .vf { aspect-ratio: auto; min-height: 340px; } .vf-in b { font-size: 18px; } .vf-btns { flex-direction: column; width: 100%; } .vf-btns .btn { width: 100%; } }
.pguide { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.pg-h { display: flex; gap: 12px; align-items: center; }
.pg-badge { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--accent-bg); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; }
.pg-h b { display: block; font-size: 17px; }
.pg-h small { display: block; color: var(--muted); font-size: 13.5px; }
.pg-ex { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-ex figure { margin: 0; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.pg-ex figure.ok { background: var(--ok-bg); }
.pg-ex figure.ko { background: var(--err-bg); }
.pg-ex svg { width: 100%; height: auto; border-radius: 10px; display: block; }
.pg-ex figcaption { font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: flex-start; line-height: 1.3; }
.pg-ex .ok figcaption { color: var(--ok); } .pg-ex .ko figcaption { color: var(--err); }
.pg-ex figcaption span { width: 18px; height: 18px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.pg-ex .ok figcaption span { background: var(--ok); } .pg-ex .ko figcaption span { background: var(--err); }
.pg-tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px 16px; }
.pg-tips li { display: flex; gap: 12px; align-items: flex-start; }
.pg-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.pg-tips b { display: block; font-size: 15px; }
.pg-tips small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.pg-ex svg { max-height: 130px; width: auto; max-width: 100%; margin: 0 auto; }

/* ===== cosa dipingiamo ===== */
.sf { display: grid; gap: 20px; }
.sf-photo, .sf-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sf .viewer .shot { border-radius: 20px; }
.brushbar { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--ink); }
.brushbar button { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: transparent; color: #fff; font-weight: 600; font-size: 14.5px; }
.brushbar button:hover { background: rgba(255,255,255,.08); }
.brushbar .bb-main { flex: 1; text-align: left; background: rgba(255,255,255,.08); }
.brushbar .bb-main[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.brushbar .del { color: #FFB4A8; }
.sf-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.linkbtn { border: 0; background: none; color: var(--blue); font-weight: 600; font-size: 14px; padding: 6px 0; }
.stiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stile { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s, background .15s; min-height: 68px; }
.stile:hover { border-color: var(--line2); box-shadow: 0 6px 16px -10px rgba(21,23,28,.35); }
.stile .si { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--tint); color: var(--soft); display: inline-flex; align-items: center; justify-content: center; }
.stile .st { display: flex; flex-direction: column; min-width: 0; padding-right: 18px; }
.stile b { font-size: 14.5px; line-height: 1.2; }
.stile small { color: var(--muted); font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.stile .ck { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.stile[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-bg); box-shadow: 0 0 0 3px rgba(242,101,28,.15); }
.stile[aria-pressed="true"] .si { background: var(--accent); color: var(--ink); }
.stile[aria-pressed="true"] .ck { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (min-width: 980px) {
  .sf { grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr); gap: 32px; align-items: start; }
  .sf-photo { position: sticky; top: 84px; }
}
@media (max-width: 400px) { .stile { padding: 10px; gap: 8px; } .stile .si { width: 36px; height: 36px; } .stile small { display: none; } .stile { min-height: 58px; } }

/* ===== nuovo sopralluogo ===== */
.nv-hero { display: flex; gap: 14px; align-items: center; }
.nv-ic { width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(242,101,28,.7); }
.nv-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; }
.nv-steps li { flex: 1; min-width: 74px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); position: relative; }
.nv-steps li span { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; position: relative; z-index: 1; }
.nv-steps li:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: var(--line); }
.nv-steps li.on { color: var(--ink); } .nv-steps li.on span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.nv-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.nv-card h2 { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.nv-card h2 svg { color: var(--accent); }
.nv-card .field small { margin-top: 2px; }
.nv-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.nv-quick button { min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--bg); font-weight: 600; font-size: 14px; color: var(--soft); }
.nv-quick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.nv-go { min-height: 56px; font-size: 17px; font-weight: 700; }
@media (max-width: 520px) { .nv-steps li { min-width: 0; font-size: 10.5px; } .nv-steps li span { width: 26px; height: 26px; } .nv-steps li:not(:last-child)::after { top: 13px; } }

/* ===== colore e finitura ===== */
.cf { display: grid; gap: 18px; }
.cf-main, .cf-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 980px) { .cf { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 28px; align-items: start; } .cf-side { position: sticky; top: 84px; } .cf-side .sticky-cta { position: static; padding: 0; background: none; } }
.cf-sum { background: var(--ink); color: #fff; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cf-sumh b { display: block; font-size: 16px; } .cf-sumh small { display: block; color: #B9BCC4; font-size: 13px; margin-top: 2px; }
.cf-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cf-slots.multi { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.cf-slot { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); color: #fff; text-align: left; min-width: 0; }
.cf-slot i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; color: #8D919B; border: 1.5px dashed rgba(255,255,255,.25); }
.cf-slot.on i { border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.cf-slot span { display: flex; flex-direction: column; min-width: 0; padding-right: 14px; }
.cf-slot small { color: #9EA2AB; font-size: 11.5px; } .cf-slot b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-slot.empty b { color: #9EA2AB; font-weight: 600; }
.cf-slot .x { position: absolute; top: 6px; right: 6px; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
button.cf-slot[aria-pressed="true"] { border-color: var(--accent); background: rgba(242,101,28,.18); }
.cf-saved { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 13.5px; }
.cf-saved .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cf-sum .notice { background: rgba(242,101,28,.2); color: #FFD9C4; border: 0; }
.cf-sum .btn.sm[data-act="savecombo"] { background: #fff; }
@media (max-width: 560px) { .cf-slots { grid-template-columns: 1fr; } .cf-slot { padding: 8px 10px; } .cf-slot.empty:not(:first-child) { display: none; } }
.cf-picker { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cf-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cf-ph b { font-family: var(--head); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cf-ph .seg { flex: 0 1 320px; }
.cf-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--bg); }
.cf-search svg { color: var(--muted); flex: none; }
.cf-search input { border: 0 !important; background: transparent !important; box-shadow: none !important; padding-left: 0 !important; flex: 1; min-height: 48px; outline: none; }
.cf-picker .swatches { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); grid-auto-rows: 112px; gap: 10px; max-height: 520px; }
.cf-picker .sw { border-radius: 16px; border: 0; box-shadow: 0 0 0 1px var(--line); transition: transform .12s, box-shadow .12s; }
.cf-picker .sw:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line2), 0 8px 18px -10px rgba(21,23,28,.4); }
.cf-picker .sw i { height: 62px; }
.cf-picker .sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent); }
.cf-picker .sw .n { background: var(--accent); color: var(--ink); top: 8px; right: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.2); font-style: normal; }
.cf-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cf-card h3 { font-family: var(--head); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.cf-q { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf-q button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; }
.cf-q b { font-size: 15px; } .cf-q small { color: var(--muted); font-size: 12.5px; }
.cf-q em { font-style: normal; margin-top: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--soft); }
.cf-q button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-bg); box-shadow: 0 0 0 3px rgba(242,101,28,.15); }
.cf-q button[aria-pressed="true"] em { background: var(--accent); color: var(--ink); }
.cf-cta .btn.orange { min-height: 56px; font-size: 16.5px; font-weight: 700; }
@media (max-width: 979px) { .cf, .cf-side { display: contents; } }

/* ===== home ===== */
.hh { position: relative; overflow: hidden; display: grid; gap: 20px; padding: 26px; border-radius: 28px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(242,101,28,.45), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(45,63,224,.25), transparent 60%), var(--ink); box-shadow: 0 24px 50px -26px rgba(21,23,28,.6); }
@media (min-width: 820px) { .hh { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 34px; } }
.hh-txt { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hh-date { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #F2A57A; }
.hh h1 { font-family: var(--head); font-weight: 800; font-size: clamp(30px, 5vw, 44px); line-height: 1; letter-spacing: -.04em; }
.hh p { color: #D4D6DB; font-size: 16px; line-height: 1.45; max-width: 520px; }
.hh-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hh-btns .btn { min-height: 52px; font-size: 16px; }
.hh-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.hh-ghost:hover { border-color: #fff; }
.hh-vis { min-height: 180px; display: flex; }
.hh-ph { margin: auto; width: 84px; height: 84px; border-radius: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.hh-card { position: relative; flex: 1; min-height: 200px; border-radius: 20px; background: #333 center/cover; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 20px 40px -20px rgba(0,0,0,.6); transform: rotate(1.5deg); transition: transform .2s; text-decoration: none; }
.hh-card:hover { transform: rotate(0); }
.hh-cap { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: rgba(21,23,28,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.hh-cap small { font-size: 11px; color: #F2A57A; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 819px) { .hh-vis { display: none; } }
.hk { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.hk-t { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.hk-t:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(21,23,28,.4); }
.hk-i { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; margin-bottom: 8px; }
.hk-i.a { background: var(--accent); color: var(--ink); } .hk-i.b { background: #E3E6FF; color: var(--blue); } .hk-i.c { background: var(--ok-bg); color: var(--ok); font-size: 18px; } .hk-i.d { background: var(--ink); color: #fff; }
.hk-t small { color: var(--muted); font-size: 13px; }
.hk-t b { font-family: var(--head); font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.hk-t em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.hk-bar { height: 6px; border-radius: 999px; background: var(--tint); overflow: hidden; margin-top: 6px; }
.hk-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
@media (max-width: 520px) { .hk { grid-template-columns: 1fr 1fr; gap: 8px; } .hk-t { padding: 12px; } .hk-t b { font-size: 26px; } .hk-i { width: 34px; height: 34px; margin-bottom: 4px; } .hk-t em { font-size: 11.5px; } }
.hsec { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hsec h2, .hs-body h2 { font-family: var(--head); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hfol { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 22px; background: #FFF6F0; border: 1px solid #F7D3BC; }
.hfl { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: #fff; }
.hfl .av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--accent-bg); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.hfl-t { flex: 1; min-width: 0; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.hfl-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hfl-t small { color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .hfl { flex-wrap: wrap; } .hfl-t { flex-basis: calc(100% - 60px); } .hfl .btn { flex: 1; } }
.jgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.jcard { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.jcard:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(21,23,28,.45); }
.jimg { position: relative; aspect-ratio: 16/10; background: var(--tint) center/cover; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.jimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 40%); pointer-events: none; }
.jst { position: absolute; top: 10px; left: 10px; z-index: 1; }
.jst .status { box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.jinfo { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; min-width: 0; }
.jinfo b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jinfo small { color: var(--soft); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jinfo em { font-style: normal; color: var(--muted); font-size: 12px; margin-top: 4px; }
.jcard.more .jimg { background: var(--tint); }
.jcard.more .jimg::after { content: none; }
.hempty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 34px 20px; border-radius: 22px; border: 2px dashed var(--line2); background: #fff; }
.hempty .hh-ph { background: var(--tint); color: var(--soft); border: 0; margin: 0; }
.hempty h3 { font-family: var(--head); font-size: 20px; }
.hempty p { color: var(--muted); max-width: 360px; }
.hsteps { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.hs-ring { --p: 0; flex: none; width: 76px; height: 76px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--tint) 0); display: grid; place-items: center; position: relative; }
.hs-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.hs-ring b { position: relative; font-family: var(--head); font-size: 18px; }
.hs-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hs-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; margin-top: 10px; }
.hs-step { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.hs-step .dot { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.hs-step .go { margin-left: auto; color: var(--accent); font-weight: 800; }
.hs-step.ok { color: var(--muted); font-weight: 500; text-decoration: line-through; }
.hs-step.ok .dot { background: var(--ok-bg); border-color: var(--ok-bg); color: var(--ok); }
@media (max-width: 520px) { .hsteps { flex-direction: column; gap: 12px; } .hs-ring { width: 60px; height: 60px; } }
.hbottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.hinv { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; background: var(--ink); color: #fff; text-decoration: none; }
.hinv .gift { flex: none; }
.hinv b { display: block; font-size: 16px; } .hinv small { display: block; color: #C9CCD3; font-size: 13.5px; }
.hinv .arrow { margin-left: auto; font-size: 20px; color: var(--accent); }
.htip { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 22px; background: var(--accent-bg); }
.htip-i { font-size: 22px; line-height: 1; }
.htip b { display: block; color: var(--accent-ink); font-size: 14px; } .htip small { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
@media (max-width: 520px) {
  .hh { padding: 22px 18px; border-radius: 24px; }
  .hh-btns .btn { flex: 1 1 100%; }
  .jgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .jcard { border-radius: 18px; }
  .jimg { aspect-ratio: 4/3; }
  .jinfo { padding: 10px; }
  .jinfo b { font-size: 14.5px; } .jinfo small { font-size: 12.5px; } .jinfo em { font-size: 11px; }
  .jst { top: 6px; left: 6px; } .jst .status { font-size: 10.5px; padding: 3px 7px; }
}

/* funzioni Pro bloccate */
.actc.locked { background: var(--bg); border-style: dashed; }
.actc.locked .ai { filter: grayscale(.4); opacity: .75; }
.lockb { margin-left: auto; flex: none; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.cf-q button.locked { background: var(--bg); border-style: dashed; }
.cf-q button.locked em { background: var(--ink); color: #fff; }
.prolock { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 36px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.prolock h2 { font-family: var(--head); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.prolock p { color: var(--muted); max-width: 460px; }
.pl-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--accent-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; }

/* Business: marchio e cartella colori */
.cl.branded .btn.orange, .cl.branded .cl-opt .im em { color: var(--on-accent); }
.cl.branded .ba .lbl.r { color: var(--on-accent); background: var(--accent); }
.brand-prev { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--b); color: #fff; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.palist { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.palc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.palc i { width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.palc span { display: flex; flex-direction: column; } .palc b { font-size: 13.5px; } .palc small { color: var(--muted); font-size: 12px; }
.palc button { border: 0; background: none; color: var(--muted); padding: 0 4px; }
.palform { display: grid; grid-template-columns: 1fr 1fr 52px auto; gap: 8px; align-items: center; }
.palform input[type=color] { width: 52px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line2); padding: 2px; }
@media (max-width: 560px) { .palform { grid-template-columns: 1fr 52px; } .palform input[name=code], .palform input[name=name] { grid-column: 1 / -1; } }
.biz-lock { border-style: dashed; }
.cl.branded .ba .handle span { box-shadow: 0 0 0 4px var(--accent), 0 8px 22px rgba(0,0,0,.35); }

.hinst { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 44px 14px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.hinst img { border-radius: 14px; flex: none; }
.hinst div { flex: 1; min-width: 0; } .hinst b { display: block; } .hinst small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.hinst .x { position: absolute; top: 8px; right: 8px; border: 0; background: var(--tint); width: 28px; height: 28px; border-radius: 50%; color: var(--muted); }
.hinst.desk .qr { border-radius: 12px; border: 1px solid var(--line); padding: 4px; background: #fff; }
.hinst .hint2 { margin-top: 6px; font-weight: 600; color: var(--soft); }

/* dashboard iscritti: aggiunte */
.err-box { background: var(--err-bg); color: var(--err); border: 0; }
.admcontact { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: #FFF6F0; border: 1px solid #F7D3BC; }
.acg { display: flex; flex-direction: column; gap: 8px; }
.acr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px; border-radius: 16px; background: #fff; }
.acr .av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent-bg); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.acr-t { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; } .acr-t small { color: var(--muted); font-size: 13px; }
.acr-b { display: flex; flex-wrap: wrap; gap: 6px; }
.adm2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.fun { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.funbar { height: 10px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.funbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #F7A26E); border-radius: 999px; }
.failr { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .failr small { display: block; }
b.err { color: var(--err); }

/* ===== mini-sito: editor ===== */
.se-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.se-pub { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.se-pub .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.se-pub.on .dot { background: #25D366; box-shadow: 0 0 0 4px rgba(37,211,102,.2); }
.se-link { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--ink); color: #fff; }
.se-link .lk { font-family: var(--head); font-weight: 800; font-size: 18px; word-break: break-all; }
.se-link .btn:not(.dark):not(.wa) { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.se-link .btn.dark { background: #fff; color: var(--ink); border-color: #fff; }
.se-link small { color: #B9BCC4; }
.se-grid { display: grid; gap: 16px; }
@media (min-width: 980px) { .se-grid { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); align-items: start; } }
.se-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.se-card h2 { font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.se-items { display: flex; flex-direction: column; gap: 8px; }
.se-it { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: var(--bg); }
.se-it .th { position: relative; width: 96px; height: 72px; flex: none; border-radius: 12px; background: var(--tint) center/cover; }
.se-it .th em { position: absolute; left: 4px; bottom: 4px; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: rgba(21,23,28,.75); color: #fff; }
.se-it .th em.cv { top: 4px; bottom: auto; background: var(--accent); color: var(--ink); }
.se-f { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.se-f input { min-height: 38px; padding: 6px 10px; font-size: 14px; }
.se-b { display: flex; flex-direction: column; gap: 4px; }
.se-b button { width: 32px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.se-b button.del { color: var(--err); }
@media (max-width: 520px) { .se-b { flex-direction: row; flex-wrap: wrap; width: 68px; } .se-it .th { width: 72px; height: 60px; } }
.slugrow { display: flex; align-items: center; border: 1.5px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.slugrow span { padding: 0 4px 0 12px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.slugrow input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; background: #fff !important; }
.se-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; max-height: 60vh; overflow-y: auto; }
.se-pick button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: left; }
.se-pick button span { display: block; aspect-ratio: 4/3; background: center/cover; }
.se-pick button small { display: block; padding: 6px 8px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-pick button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent); }
.hsite { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; background: linear-gradient(120deg, #FFF6F0, #fff); border: 1px solid #F7D3BC; text-decoration: none; color: var(--ink); }
.hsite .hs-i { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.hsite b { display: block; font-size: 16px; } .hsite small { display: block; color: var(--muted); font-size: 13.5px; }
.hsite .arrow { margin-left: auto; color: var(--accent); font-size: 20px; }

/* ===== mini-sito: pagina pubblica ===== */
.ps { min-height: 100vh; background: var(--bg); }
.ps-in { max-width: 1120px; margin: 0 auto; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-in.col { flex-direction: column; align-items: stretch; }
.ps-top { position: sticky; top: 0; z-index: 30; background: rgba(247,244,238,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.ps-top .ps-in { min-height: 70px; }
@media (max-width: 520px) { .ps-call span { display: none; } }
.ps-hero { position: relative; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(242,101,28,.45), transparent 55%), var(--ink); background-size: cover; background-position: center; padding: 90px 0 70px; text-align: center; }
.ps-hero .col { align-items: center; gap: 16px; }
.ps-hero h1 { font-family: var(--head); font-weight: 800; font-size: clamp(40px, 8vw, 76px); line-height: .95; letter-spacing: -.045em; max-width: 900px; }
.ps-hero p { font-size: clamp(17px, 2.4vw, 21px); color: #E6E7EA; max-width: 640px; }
.ps-hero .cl-eyebrow { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ps-hero .btn { min-height: 52px; font-size: 16px; }
.ps-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.ps-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.ps-stats span { display: flex; flex-direction: column; align-items: center; min-width: 120px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; color: #D4D6DB; }
.ps-stats b { font-family: var(--head); font-size: 28px; color: #fff; }
.ps-main { padding-top: 40px; padding-bottom: 40px; gap: 54px; }
.ps-sec { display: flex; flex-direction: column; gap: 16px; }
.ps-sec h2 { font-family: var(--head); font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; line-height: 1; }
.ps-sv { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-sv span { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; align-items: start; }
.sw-it { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sw-it .im { position: relative; display: block; }
.sw-it .im img { width: 100%; display: block; cursor: zoom-in; aspect-ratio: 4/3; object-fit: cover; }
.ba2 .im { aspect-ratio: 4/3; overflow: hidden; }
.ba2 .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: ew-resize; }
.ba2 .im img.af { clip-path: inset(0 0 0 calc(var(--x) * 1%)); }
.ba2 .ln { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: 2px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.4); }
.ba2 .ln::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--accent); font-size: 14px; }
.ba2 .tg { position: absolute; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(21,23,28,.55); color: #fff; }
.ba2 .tg.l { left: 10px; } .ba2 .tg.r { right: 10px; background: var(--accent); color: var(--ink); }
.ba2 input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.sw-it figcaption { padding: 12px 14px; display: flex; flex-direction: column; } .sw-it figcaption small { color: var(--muted); }
.ps-about { display: grid; gap: 18px; }
@media (min-width: 820px) { .ps-about { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.ps-about p { font-size: 17px; line-height: 1.6; color: var(--soft); }
.ps-ac { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.ps-ac small { color: var(--muted); }
.ps-contact { display: grid; gap: 22px; padding: 28px; border-radius: 28px; background: var(--ink); color: #fff; }
@media (min-width: 820px) { .ps-contact { grid-template-columns: 1fr 1.1fr; padding: 40px; } }
.ps-cl p { color: #C9CCD3; font-size: 16px; margin: 10px 0 18px; }
.ps-cline { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.08); width: fit-content; }
.ps-form { background: #fff; color: var(--ink); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ps-foot { text-align: center; padding: 26px 16px 40px; color: var(--muted); font-size: 13.5px; }
.ps-foot a { color: var(--muted); }
.modal.zoom .sheet { max-width: 900px; }
@media (min-width: 980px) { .se-grid .sticky-cta { position: static; padding: 0; background: none; } }
@media (max-width: 520px) { .ps-top .btn.orange { display: none; } .ps-call span { display: inline; } }

/* recensioni, prova colori, video, social */
.cl-rv .stars { display: flex; gap: 6px; }
.stars button { border: 0; background: none; padding: 2px; color: var(--line2); }
.stars button[aria-pressed="true"] { color: #F5B301; }
.cl-rv textarea { min-height: 80px; }
.ps-try { display: grid; gap: 22px; align-items: center; padding: 30px; border-radius: 28px; background: radial-gradient(90% 120% at 100% 0%, rgba(242,101,28,.35), transparent 60%), var(--ink); color: #fff; }
@media (min-width: 820px) { .ps-try { grid-template-columns: 1.2fr 1fr; padding: 40px; } }
.ps-try h2 { font-family: var(--head); font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; line-height: 1; margin: 12px 0 10px; }
.ps-try p { color: #D4D6DB; font-size: 17px; margin-bottom: 18px; }
.ps-try .cl-eyebrow { background: rgba(255,255,255,.12); color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.ps-try .btn { min-height: 52px; font-size: 16px; }
.ps-try-vis img { width: 100%; border-radius: 20px; transform: rotate(2deg); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.ps-try-vis .hh-ph { display: flex; }
.trycols { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.trycols button { display: flex; flex-direction: column; gap: 4px; padding: 4px; border-radius: 12px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.trycols i { height: 40px; border-radius: 9px; }
.trycols small { font-size: 11px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trycols button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent); }
.ps-rvh { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ps-avg { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.ps-avg b { font-family: var(--head); font-size: 22px; } .ps-avg small { color: var(--muted); }
.st { color: #F5B301; letter-spacing: 2px; } .st i { font-style: normal; color: var(--line2); }
.ps-rvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ps-rv { margin: 0; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.ps-rv blockquote { margin: 0; font-size: 16px; line-height: 1.5; }
.ps-rv figcaption { color: var(--muted); font-size: 14px; } .ps-rv figcaption b { color: var(--ink); }
.sw-it.vid video { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: #000; }
.ps-wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.ps-wa:hover { transform: scale(1.05); }
.ps-soc { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; }
.ps-soc a { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.se-rvs { display: flex; flex-direction: column; gap: 6px; }
.se-rv { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; background: var(--bg); }
.se-rv b { color: #F5B301; } .se-rv small { display: block; color: var(--muted); }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line2); transition: background .15s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ok); } .switch input:checked + span::after { left: 23px; }

/* lavori con più foto */
.se-jobs { display: flex; flex-direction: column; gap: 12px; }
.se-job { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.se-jh { display: flex; justify-content: space-between; align-items: center; }
.se-jh .se-b { flex-direction: row; }
.se-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.se-m { position: relative; aspect-ratio: 4/3; border-radius: 12px; background: var(--tint) center/cover; }
.se-m em { position: absolute; left: 4px; bottom: 4px; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: rgba(21,23,28,.75); color: #fff; }
.se-m em.cv { top: 4px; bottom: auto; background: var(--accent); color: var(--ink); }
.se-m .mx, .se-m .mc { position: absolute; top: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 11px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.se-m .mx { right: 4px; color: var(--err); } .se-m .mc { right: 32px; }
.se-add { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 4px; align-content: center; padding: 6px; border-radius: 12px; border: 1.5px dashed var(--line2); background: #fff; }
.se-add small { width: 100%; color: var(--muted); font-size: 11px; padding-left: 4px; }
.se-add button { border: 0; background: var(--tint); border-radius: 8px; padding: 6px 8px; font-size: 12.5px; font-weight: 600; }
.se-f2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.se-job textarea { font-size: 14px; }
@media (max-width: 560px) { .se-f2 { grid-template-columns: 1fr; } .se-add { grid-column: 1 / -1; } }
.job { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.job .jv { position: relative; aspect-ratio: 4/3; background: #111; }
.job .jv > img, .job .jv > video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.job .jv video { cursor: auto; }
.job .jv .ba2 { position: absolute; inset: 0; display: block; }
.job .jv .ba2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.job .jt { display: flex; gap: 6px; padding: 8px 10px 0; overflow-x: auto; }
.job .jt button { flex: none; width: 54px; height: 42px; border-radius: 8px; border: 0; background: var(--tint) center/cover; color: #fff; font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,.6); opacity: .6; }
.job .jt button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.job figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.job figcaption small { color: var(--muted); }
.job figcaption p { margin-top: 6px; color: var(--soft); font-size: 14.5px; line-height: 1.5; }

.se-cover { min-height: 190px; border-radius: 18px; background: radial-gradient(90% 120% at 100% 0%, rgba(242,101,28,.45), transparent 55%), var(--ink); background-size: cover; background-position: center; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; }
.se-cover b { font-family: var(--head); font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.se-cover small { color: #E6E7EA; font-size: 14px; }
.se-cover .cl-eyebrow { background: rgba(255,255,255,.14); color: #fff; font-size: 11px; }
.se-cover .cl-eyebrow:empty { display: none; }

/* home: riquadro del sito */
.hsb { display: grid; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
@media (min-width: 760px) { .hsb { grid-template-columns: 1.1fr 1fr; } }
.hsb-prev { position: relative; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(242,101,28,.45), transparent 55%), var(--ink); background-size: cover; background-position: center; }
.hsb-prev b { font-family: var(--head); font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.hsb-prev small { color: #E6E7EA; font-size: 14px; }
.hsb-st { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(21,23,28,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; }
.hsb-st i { width: 8px; height: 8px; border-radius: 50%; background: #9EA2AB; }
.hsb-st.on i { background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.3); }
.hsb-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.hsb-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hsb-k span { display: flex; flex-direction: column; padding: 10px; border-radius: 14px; background: var(--bg); font-size: 12px; color: var(--muted); }
.hsb-k b { font-family: var(--head); font-size: 22px; color: var(--ink); }

.ps-how { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ps-how li { display: flex; gap: 12px; align-items: flex-start; }
.ps-how li > span { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.ps-how b { display: block; color: #fff; } .ps-how small { display: block; color: #C9CCD3; font-size: 14px; line-height: 1.4; }
.ps-one { display: block; margin-top: 10px; color: #B9BCC4; font-size: 13px; }
.trytips { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-size: 13px; margin-bottom: 6px; }
.trytips b { color: var(--ink); font-size: 13.5px; }
.protect { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: 13px; color: var(--soft); }
.protect b { color: var(--ink); margin-bottom: 2px; }

.admtabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tint); width: fit-content; }
.admtabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.admtabs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.srcrow { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--bg); }
.srcrow details summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--soft); }
.srcl { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

/* compra render */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding-top: 12px; }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 22px 16px 16px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); }
.pack.best { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 16px 34px -16px rgba(21,23,28,.5); }
.pk-n { font-family: var(--head); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.04em; }
.pk-l { font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.pack.best .pk-l, .pack.best small { color: #C9CCD3; }
.pk-p { font-family: var(--head); font-weight: 800; font-size: 22px; }
.pack small { color: var(--muted); font-size: 12.5px; }
.pk-eq { margin-bottom: 12px; }
.pack .btn { margin-top: auto; }

.recap { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); }
.rc-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.rc-h b { font-family: var(--head); font-size: 17px; }
.rc-r { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.rc-r span { color: var(--muted); } .rc-r b { text-align: right; }
.rc-r:first-of-type b { color: var(--ok); font-size: 16px; }
.rc-inc { font-size: 13.5px; color: var(--soft); }

/* registrazione: prima/dopo animato */
.auth .art.ba-anim { overflow: hidden; background: #222; }
.ba-anim img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-anim img.af { animation: baWipe 7s ease-in-out infinite; }
.ba-anim .ln { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 14px rgba(0,0,0,.45); animation: baLine 7s ease-in-out infinite; }
.ba-anim .ln::after { content: '⟷'; position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #F2651C, 0 8px 22px rgba(0,0,0,.35); font-size: 16px; color: #15171C; }
.ba-anim .tg { position: absolute; top: 22px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.ba-anim .tg.l { left: 22px; background: rgba(21,23,28,.55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ba-anim .tg.r { right: 22px; background: #F2651C; color: #15171C; }
.ba-anim .q { z-index: 2; padding: 90px 40px 40px; background: linear-gradient(180deg, transparent, rgba(21,23,28,.9) 45%); }
.ba-anim .q b { font-size: 38px; }
.ba-anim .q ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: #E6E7EA; }
.ba-anim .q li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; background: #F2651C; color: #15171C; font-size: 11px; font-weight: 800; }
@keyframes baWipe { 0%, 12% { clip-path: inset(0 0 0 92%); } 45%, 62% { clip-path: inset(0 0 0 8%); } 95%, 100% { clip-path: inset(0 0 0 92%); } }
@keyframes baLine { 0%, 12% { left: 92%; } 45%, 62% { left: 8%; } 95%, 100% { left: 92%; } }
@media (prefers-reduced-motion: reduce) { .ba-anim img.af { animation: none; clip-path: inset(0 0 0 50%); } .ba-anim .ln { animation: none; left: 50%; } }
@media (max-width: 899px) { .auth .art.ba-anim { min-height: 300px; } .ba-anim .q { padding: 60px 16px 18px; } .ba-anim .q b { font-size: 24px; } .ba-anim .q ul { font-size: 14px; } .ba-anim .tg { top: 12px; } .ba-anim .tg.l { left: 12px; } .ba-anim .tg.r { right: 12px; } }
@media (min-width: 900px) { .auth .art.ba-anim { position: sticky; top: 0; height: 100vh; align-self: start; } }
@media (max-width: 899px) { .ba-anim .ln::after { top: 22%; width: 38px; height: 38px; } }
.hinst .hinst-pc { flex: 0 0 230px; display: flex; flex-direction: column; gap: 6px; padding-right: 16px; border-right: 1px solid var(--line); }
.hinst .hinst-pc .btn { align-self: flex-start; margin-top: 4px; }
@media (max-width: 899px) { .hinst.desk { flex-wrap: wrap; } .hinst .hinst-pc { flex: 1 1 100%; border-right: 0; padding-right: 0; } }

/* registrazione: scelta della lingua */
.langpick .lp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 4px; }
.langpick .lp { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 17px; cursor: pointer; text-align: left; color: var(--ink); }
.langpick .lp:hover { border-color: var(--ink); }
.langpick .lp.on { border-color: #F2651C; box-shadow: 0 0 0 3px rgba(242,101,28,.15); }
.langpick .lp .fl { font-size: 26px; line-height: 1; }

/* «Imposta la tua impresa» dopo l'attivazione */
.setup { min-height: 100vh; display: flex; justify-content: center; padding: 32px 16px; background: var(--bg, #F7F4EE); }
.setup-in { width: min(460px, 100%); display: flex; flex-direction: column; gap: 14px; }
.su-logo { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.su-logo small { display: block; font-size: 13.5px; }
.su-pic { position: relative; width: 84px; height: 84px; flex: none; border-radius: 22px; border: 2px dashed #F2A57A; background: #FDF1EA; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; font: inherit; font-weight: 800; font-size: 24px; color: #15171C; }
.su-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.su-pic i { position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; border-radius: 50%; background: #F2651C; color: #15171C; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; }

/* Home: richieste arrivate dal sito */
.hleads { background: #fff; border: 1.5px solid #F2651C; border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 30px rgba(242,101,28,.12); }
.hl-h { display: flex; align-items: center; gap: 10px; } .hl-h h2 { font-family: var(--head); font-size: 20px; margin: 0; flex: 1; letter-spacing: -.02em; }
.hl-dot { width: 10px; height: 10px; border-radius: 50%; background: #F2651C; box-shadow: 0 0 0 0 rgba(242,101,28,.6); animation: hlPulse 1.8s infinite; }
@keyframes hlPulse { 0% { box-shadow: 0 0 0 0 rgba(242,101,28,.55); } 70% { box-shadow: 0 0 0 10px rgba(242,101,28,0); } 100% { box-shadow: 0 0 0 0 rgba(242,101,28,0); } }
.hl { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.hl-i { width: 42px; height: 42px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #FDE3D3; color: #B8470E; }
.hl-i.try { background: #E3EEDF; color: #2F6B3A; }
.hl-b { flex: 1; min-width: 0; } .hl-b b { display: block; font-size: 16px; } .hl-b small { display: block; color: var(--muted); font-size: 13.5px; }
.hl-b p { margin: 6px 0 0; font-size: 14.5px; background: var(--tint, #F7F4EE); border-radius: 10px; padding: 8px 10px; white-space: pre-wrap; }
.hl-c { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; word-break: break-all; }
.hl-a { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 260px; }
@media (max-width: 699px) { .hl { flex-wrap: wrap; } .hl-a { max-width: none; width: 100%; justify-content: flex-start; padding-left: 56px; } }
@media (prefers-reduced-motion: reduce) { .hl-dot { animation: none; } }
