/* "CRM lead generation integrato nel website" demo: only what the kit does not have
   (radial contact map, email viewer, rule switches, path board, the phone site, audit tiles, flow stages). */

:root{--cm-pro:#8E4EC6;--cm-pro-bg:#F3EAFB;--cm-ring:rgba(0,0,0,.1);--cm-bgd:rgba(0,0,0,.14);--cm-mark:#FFF0B8}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--cm-pro:#BF8CF2;--cm-pro-bg:rgba(191,140,242,.16);--cm-ring:rgba(255,255,255,.14);--cm-bgd:rgba(255,255,255,.18);--cm-mark:rgba(255,214,10,.24)}}
:root[data-theme="dark"]{--cm-pro:#BF8CF2;--cm-pro-bg:rgba(191,140,242,.16);--cm-ring:rgba(255,255,255,.14);--cm-bgd:rgba(255,255,255,.18);--cm-mark:rgba(255,214,10,.24)}

/* ---------- shared pieces ---------- */
.why{display:flex;align-items:flex-start;gap:8px;margin-top:10px;font-size:15px;font-weight:500;color:var(--ink-2);max-width:72ch}
.why svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--blue)}
.sec-l{font-size:12.5px;font-weight:600;color:var(--muted);margin:-4px 0 14px}
.foot-note{display:flex;gap:8px;align-items:flex-start;margin-top:18px;color:var(--muted);font-size:12.5px;max-width:84ch}
.foot-note svg{width:14px;height:14px;flex:none;margin-top:2px;color:var(--blue)}
.cm-ex{background:none;box-shadow:inset 0 0 0 1px var(--sep);color:var(--muted)}
.cm-small{color:var(--muted);font-size:12.5px;margin-top:10px}
.cm-p{font-size:13.5px;color:var(--ink-2)}
.cm-cnote{color:var(--muted);font-size:12px;padding:10px 20px 14px;border-top:.5px solid var(--sep)}
.cm-short{display:none}
.cm-health .dot{background:var(--orange-dot);box-shadow:0 0 0 3px color-mix(in srgb,var(--orange-dot) 22%,transparent)}
.btn.sm{height:28px;padding:0 10px;font-size:12.5px}
.kpis.cm-k3{grid-template-columns:repeat(3,minmax(0,1fr))}
a.kpi.cm-kl{display:block;transition:box-shadow .15s}
a.kpi.cm-kl:hover{box-shadow:var(--sh-card),0 0 0 1.5px color-mix(in srgb,var(--blue) 35%,transparent)}
.cm-kt .v{font-size:28px}
.cm-chips{display:flex;flex-wrap:wrap;gap:6px}
.cm-av{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none}
.cm-av svg{width:17px;height:17px}
.cm-av.imp{background:var(--blue-bg);color:var(--blue)}
.cm-av.pro{background:var(--cm-pro-bg);color:var(--cm-pro)}
.cm-av.req{background:var(--green-bg);color:var(--green)}
.cm-hint{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px}
.cm-hint svg{width:14px;height:14px;color:var(--blue)}
.cm-acts{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.cm-acts .cm-small{margin-top:0}

/* ---------- Oggi ---------- */
.cm-z{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cm-z div{padding:10px 12px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep)}
.cm-z b{display:block;font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.cm-z small{color:var(--muted);font-size:12px}
.cm-quiet{display:flex;gap:8px;align-items:center;margin-top:12px;color:var(--muted);font-size:12.5px}
.cm-quiet svg{width:14px;height:14px;flex:none;color:var(--orange)}
.cm-pace{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}
.cm-pace>div{display:flex;flex-direction:column;align-items:center;gap:4px}
.cm-pace .b{width:100%;max-width:56px;height:96px;border-radius:10px;background:var(--fill);display:flex;align-items:flex-end;overflow:hidden}
.cm-pace .b i{display:block;width:100%;background:color-mix(in srgb,var(--blue) 30%,var(--fill));border-radius:8px 8px 0 0}
.cm-pace .now .b i{background:var(--blue)}
.cm-pace b{font-size:15px;font-weight:700}
.cm-pace small{color:var(--muted);font-size:11.5px}
.cm-today{display:flex;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:.5px solid var(--sep);font-size:13px}
.cm-today span{color:var(--muted)}
.cm-tl{list-style:none;display:flex;flex-direction:column}
.cm-tl li{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:9px 0}
.cm-tl li+li{border-top:.5px solid var(--sep)}
.cm-tl time{font:500 12px var(--mono);color:var(--muted);padding-top:2px}
.cm-tl b{font-weight:600;font-size:13.5px;display:block}
.cm-tl small{color:var(--muted);font-size:12.5px;display:block}
.cm-tl li.last time{color:var(--blue)}

/* ---------- Contatti della zona ---------- */
.cm-tools .row{gap:8px 10px}
.cm-cr,.cm-qi{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto 14px;gap:12px;align-items:center;width:100%;padding:10px 20px;text-align:left;transition:background .15s}
.cm-qi{grid-template-columns:34px minmax(0,1fr) auto}
.cm-cr:hover,.cm-qi:hover{background:var(--surface-2)}
.cm-cr:focus-visible,.cm-qi:focus-visible{outline-offset:-2px}
.cm-qi.on{background:var(--blue-bg)}
.cm-qi.on .pill.b{background:var(--surface)}
.cm-cr .tx,.cm-qi .tx{min-width:0}
.cm-cr b,.cm-qi b{display:block;font-weight:600;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-cr small,.cm-qi small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-cr .km{font-size:13px;color:var(--ink-2);text-align:right}
.cm-cr>svg{width:14px;height:14px;color:var(--faint)}
.cm-radar{display:block;width:100%;max-width:340px;height:auto;margin:0 auto;font-family:var(--ui)}
.cm-radar .ring{fill:none;stroke:var(--cm-ring);stroke-dasharray:3 4}
.cm-radar .rl{font-size:10px;fill:var(--muted)}
.cm-radar .bgd{fill:var(--cm-bgd)}
.cm-radar .pt{stroke:var(--surface);stroke-width:2;transition:r .2s,opacity .2s;animation:cmpt .5s ease both}
.cm-radar .pt[data-act]{cursor:pointer}
.cm-radar .pt.imp{fill:var(--blue)} .cm-radar .pt.pro{fill:var(--cm-pro)}
.cm-radar .pt.g-hi{fill:var(--orange-dot)} .cm-radar .pt.g-lo{fill:var(--muted)}
.cm-radar .pt.dim{opacity:.16}
.cm-radar .pt.hl{r:8.5}
.cm-radar .ctr circle{fill:var(--ink);stroke:var(--surface);stroke-width:3}
@keyframes cmpt{from{opacity:0}}
.cm-leg{display:flex;flex-wrap:wrap;gap:6px 14px;justify-content:center;margin-top:10px;color:var(--muted);font-size:12px}
.cm-leg span{display:inline-flex;align-items:center;gap:6px}
.cm-leg i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}
.cm-leg i.ctr{background:var(--ink)} .cm-leg i.imp{background:var(--blue)} .cm-leg i.pro{background:var(--cm-pro)} .cm-leg i.bg{background:var(--cm-bgd)}
.cm-leg i.g-hi{background:var(--orange-dot)} .cm-leg i.g-lo{background:var(--muted)}
.cm-gt .m-only{display:none}
.cm-gt td{white-space:nowrap}
.cm-kv dd{text-align:right}
.cm-kv dd small{color:var(--muted)}
.cm-addf{display:flex;flex-direction:column;gap:12px}
.cm-in{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted)}
.cm-in input{height:40px;padding:0 12px;border-radius:12px;border:0;background:var(--fill);color:var(--ink);font:400 14px var(--ui);outline:0}
.cm-in input:focus-visible{box-shadow:0 0 0 2px var(--blue)}

/* ---------- Email ---------- */
.cm-mh{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:.5px solid var(--sep);font-size:13px}
.cm-mh span{color:var(--muted)}
.cm-mh b{font-weight:600;min-width:0;overflow-wrap:anywhere}
.cm-mh small{color:var(--muted);font-weight:400;margin-left:4px}
.cm-body{padding:14px 0;font-size:14px;line-height:1.6;color:var(--ink);border-radius:10px;transition:box-shadow .2s,background .2s,padding .2s}
.cm-body p+p{margin-top:10px}
.cm-body.editing{padding:14px 12px;background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--blue);outline:0}
.cm-read{padding-top:0}
.cm-ph{display:inline-block;padding:0 6px;border-radius:6px;font:500 .86em/1.6 var(--mono);color:var(--blue);background:var(--blue-bg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blue) 25%,transparent);white-space:nowrap}
.cm-fill{background:var(--cm-mark);color:inherit;border-radius:4px;padding:0 3px}
.cm-swap .cm-fill{display:none}
.cm-swap.done .cm-ph{display:none}
.cm-swap.done .cm-fill{display:inline;animation:cmin .45s ease both}
@keyframes cmin{from{opacity:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 35%,transparent)}to{opacity:1;box-shadow:0 0 0 0 transparent}}
.cm-mfoot{padding:12px 0 2px;border-top:.5px dashed var(--sep);display:flex;flex-direction:column;gap:7px;font-size:12.5px;color:var(--muted)}
.cm-mfoot div{display:flex;align-items:center;gap:10px}
.cm-mfoot b{font-weight:600;color:var(--ink-2);white-space:nowrap}
.cm-mfoot .sk{flex:1;height:8px;border-radius:4px;background:var(--fill)}
.cm-mfoot p{display:flex;align-items:center;gap:6px}
.cm-mfoot p svg{width:12px;height:12px;flex:none}
.cm-mfoot small{font-size:11.5px;color:var(--faint)}
.cm-mail .ch .seg{margin-left:auto}
.cm-state{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--orange-bg);color:var(--orange)}
.cm-state svg{width:16px;height:16px;flex:none;margin-top:2px}
.cm-state b{display:block;font-weight:650;font-size:13.5px}
.cm-state small{display:block;color:var(--ink-2);font-size:12.5px}
.cm-state.w{background:var(--fill);color:var(--ink-2)}
.cm-offer{display:flex;gap:10px;font-size:13.5px;align-items:flex-start;color:var(--ink-2)}
.cm-offer b{color:var(--ink)}
.cm-offer svg{width:18px;height:18px;flex:none;color:var(--blue);margin-top:1px}
.cm-priv{display:flex;gap:8px;margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--green-bg);color:var(--ink-2);font-size:12.5px}
.cm-priv svg{width:14px;height:14px;flex:none;color:var(--green);margin-top:2px}
.cm-steps{list-style:none;margin-top:12px;display:flex;flex-direction:column}
.cm-steps li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;padding:12px 0}
.cm-steps li+li{border-top:.5px solid var(--sep)}
.cm-steps .d{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--fill);font-size:12px;font-weight:700;color:var(--ink-2)}
.cm-steps .t{display:flex;justify-content:space-between;gap:6px 8px;align-items:center;flex-wrap:wrap}
.cm-steps .t b{font-weight:600;font-size:13.5px}
.cm-steps p{color:var(--ink-2);font-size:13px;margin-top:6px;line-height:1.6}
.cm-steps .btn{margin:4px 0 0 -6px}
.cm-seqs{margin-bottom:14px}
.cm-swr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:11px 0;text-align:left}
.cm-swr:focus-visible{outline-offset:2px}
.cm-swr b{display:block;font-weight:600;font-size:13.5px}
.cm-swr small{display:block;color:var(--muted);font-size:12px}
.cm-sw{width:42px;height:26px;border-radius:13px;background:var(--fill-2);position:relative;transition:background .2s;flex:none}
.cm-sw i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.cm-swr[aria-checked="true"] .cm-sw{background:var(--green-dot)}
.cm-swr[aria-checked="true"] .cm-sw i{transform:translateX(16px)}
.cm-swr.bad[aria-checked="true"] .cm-sw{background:var(--orange-dot)}
.cm-res{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;margin-bottom:6px;min-height:62px;transition:background .2s}
.cm-res .c{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none}
.cm-res .c svg{width:17px;height:17px;stroke-width:2.2}
.cm-res b{display:block;font-size:15px;font-weight:700;letter-spacing:-.01em}
.cm-res small{display:block;font-size:12.5px;color:var(--ink-2)}
.cm-res.ok{background:var(--green-bg)} .cm-res.ok .c{background:var(--green-dot);color:#fff}
.cm-res.stop{background:var(--orange-bg)} .cm-res.stop .c{background:var(--orange-dot);color:#fff}
.cm-res.wait{background:var(--fill)} .cm-res.wait .c{background:var(--fill-2);color:var(--ink-2)}
.cm-res.red{background:var(--red-bg)} .cm-res.red .c{background:var(--red);color:#fff}

/* ---------- Percorso ---------- */
.cm-board{display:grid;grid-template-columns:repeat(7,minmax(146px,1fr));gap:10px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x proximity}
.cm-col{background:var(--surface-2);border-radius:var(--r-md);box-shadow:inset 0 0 0 .5px var(--sep);display:flex;flex-direction:column;min-height:300px;scroll-snap-align:start;transition:box-shadow .15s,background .15s}
.cm-col header{display:flex;justify-content:space-between;align-items:flex-start;gap:6px;padding:12px 10px 8px}
.cm-col header b{font-size:12.5px;font-weight:650;line-height:1.25}
.cm-col header .c{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.cm-col.stop header b{color:var(--orange)}
.cm-col.over{box-shadow:inset 0 0 0 2px var(--blue);background:var(--blue-bg)}
.cm-cards{display:flex;flex-direction:column;gap:8px;padding:0 8px 10px;flex:1}
.cm-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 4px;align-items:start;padding:10px 6px 10px 10px;border-radius:10px;background:var(--surface);box-shadow:var(--sh-card);cursor:grab}
.cm-card b{font-size:12.5px;font-weight:600;line-height:1.3;padding-top:3px}
.cm-card small{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:0 8px;color:var(--muted);font-size:11.5px}
.cm-card .cm-mv{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}
.cm-card .cm-mv:hover{background:var(--fill);color:var(--ink)}
.cm-card .cm-mv svg{width:15px;height:15px}
.cm-card.moved{box-shadow:var(--sh-card),inset 0 0 0 1.5px color-mix(in srgb,var(--blue) 45%,transparent)}
.cm-card.dragging{opacity:.45}
.cm-empty{color:var(--faint);font-size:12px;text-align:center;padding:14px 6px;border:1px dashed var(--sep);border-radius:10px}
.cm-states{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cm-states .btn{justify-content:flex-start;height:40px;border-radius:12px;white-space:normal;text-align:left;line-height:1.2}
.cm-states .btn[disabled]{opacity:.45;cursor:default}

/* ---------- Richieste ---------- */
.cm-req{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 20px}
.cm-req .tx{min-width:0}
.cm-req b{display:block;font-weight:600;font-size:13.5px}
.cm-req small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.cm-req p{font-size:13px;color:var(--ink-2);margin-top:4px}
.cm-none{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:26px 20px 24px;color:var(--muted);font-size:13px}
.cm-none>svg{width:26px;height:26px;color:var(--faint)}
.cm-log{list-style:none}
.cm-log li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0}
.cm-log li+li{border-top:.5px solid var(--sep)}
.cm-log .i{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--fill);color:var(--ink-2)}
.cm-log .i svg{width:14px;height:14px}
.cm-log b{font-weight:600;font-size:13px;display:block}
.cm-log div small{color:var(--muted);font-size:12px;display:block;overflow-wrap:anywhere}
.cm-log li>small{font-size:11px;color:var(--faint);white-space:nowrap}
.cm-log li.form .i{background:var(--green-bg);color:var(--green)}
.cm-log li.tap .i{background:var(--blue-bg);color:var(--blue)}
.cm-first{margin-top:0}

/* ---------- Sito: phone schema ---------- */
.cm-site{display:grid;grid-template-columns:auto minmax(0,1fr);gap:28px;align-items:start}
.cm-ph-l{display:flex;flex-direction:column;align-items:center;gap:12px;position:sticky;top:76px}
.cm-ph-ctl{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.ph-cap{color:var(--muted);font-size:12px;text-align:center;max-width:300px}
.cm-srules{list-style:none;display:flex;flex-direction:column}
.cm-srules li{display:flex;gap:10px;padding:8px 0;font-size:13px;color:var(--ink-2)}
.cm-srules li+li{border-top:.5px solid var(--sep)}
.cm-srules svg{width:16px;height:16px;flex:none;color:var(--green);margin-top:1px}
.cm-before svg{color:var(--orange)}
.cm-no svg{color:var(--red)}
.cm-tree{list-style:none;columns:2;column-gap:24px;font-size:13px}
.cm-tree>li{padding:6px 0;break-inside:avoid}
.cm-tree b{font-weight:600}
.cm-tree small{color:var(--muted);margin-left:6px;font-size:12px}
.cm-tree ul{list-style:none;margin:4px 0 2px 2px;padding-left:12px;border-left:1.5px solid var(--fill-2);color:var(--ink-2);font-size:12.5px}
.cm-tree ul li{padding:2px 0}

.phone{--p-bg:#F6F5F1;--p-ink:#1E2320;--p-muted:#6B716C;--p-line:#E2E0D8;--p-acc:#2F6B57;--p-soft:#E5EDE8;
  width:30em;flex:none;padding:.9em;border-radius:4.6em;background:#1C1C1E;box-shadow:0 0 0 .1em #3A3A3C,0 2.4em 5em -1.6em rgba(0,0,0,.35);position:relative;
  font-size:min(10px,calc((100vw - 32px) / 32));text-align:left}
.phone .p-notch{position:absolute;top:1.7em;left:50%;transform:translateX(-50%);width:8.6em;height:2.3em;border-radius:1.2em;background:#000;z-index:8}
.phone .scr{position:relative;height:58em;border-radius:3.8em;overflow-y:auto;overflow-x:hidden;background:var(--p-bg);color:var(--p-ink);font-size:1em;line-height:1.35;scrollbar-width:none;overscroll-behavior:contain}
.phone .scr::-webkit-scrollbar{display:none}
.phone .scr:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.phone button{font:inherit;color:inherit}
.phone svg.i{width:1.8em;height:1.8em}
.p-hdr{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:1em;padding:4.2em 1.6em 1em;background:color-mix(in srgb,var(--p-bg) 90%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.p-logo{display:flex;align-items:center;gap:.5em;font-weight:700;font-size:1.45em;letter-spacing:-.01em}
.p-logo i{width:1.3em;height:1.3em;border-radius:50%;background:var(--p-acc);box-shadow:inset 0 0 0 .3em var(--p-soft)}
.p-book{height:2.4em;padding:0 1.1em;border-radius:2em;background:var(--p-acc);color:#fff!important;font-size:1.3em!important;font-weight:600}
.p-hero{position:relative;margin:.2em 1.2em 0;border-radius:2em;min-height:21em;padding:1.8em;display:flex;flex-direction:column;justify-content:flex-end;gap:.9em;color:#fff;overflow:hidden;
  background:radial-gradient(120% 90% at 85% 0%,#7FA897 0%,#3F7A65 42%,#1F4236 100%)}
.p-hero small{position:absolute;top:1.4em;left:1.4em;right:1.4em;display:inline-flex;align-items:center;gap:.5em;font-size:1.1em;line-height:1.3;opacity:.92}
.p-hero small svg.i{width:1.4em;height:1.4em}
.p-hero b{font-size:2.7em;line-height:1.05;font-weight:700;letter-spacing:-.02em}
.p-cta{align-self:flex-start;height:2.5em;padding:0 1.1em;border-radius:2em;background:#fff;color:var(--p-ink)!important;font-size:1.3em!important;font-weight:600}
.p-sec{padding:2.4em 1.6em 0}
.p-sec h4{font-size:1.6em;font-weight:700;margin-bottom:.7em;letter-spacing:-.01em}
.p-area{border-radius:1.6em;background:#fff;box-shadow:0 0 0 .1em var(--p-line);margin-bottom:.8em;overflow:hidden}
.p-ah{display:grid;grid-template-columns:3.6em minmax(0,1fr) 1.6em;gap:1em;align-items:center;width:100%;padding:1em;text-align:left}
.p-ah>svg.i:first-child{width:3.6em;height:3.6em;padding:.85em;border-radius:1.1em;background:var(--p-soft);color:var(--p-acc)}
.p-ah>svg.i:last-child{width:1.6em;height:1.6em;color:var(--p-muted);transition:transform .2s}
.p-ah b{display:block;font-size:1.4em}
.p-ah small{display:block;font-size:1.15em;color:var(--p-muted)}
.p-area.open .p-ah>svg.i:last-child{transform:rotate(180deg)}
.p-area ul{display:none;list-style:none;padding:0 1em 1em 5.6em;font-size:1.25em}
.p-area.open ul{display:block}
.p-area li{padding:.4em 0;border-top:.08em solid var(--p-line)}
.p-staff{display:flex;gap:1em}
.p-av{width:6.4em;height:6.4em;border-radius:50%;background:repeating-linear-gradient(135deg,var(--p-soft) 0 .6em,#fff .6em 1.2em);box-shadow:0 0 0 .1em var(--p-line)}
.p-note{font-size:1.15em;color:var(--p-muted);margin-top:.8em}
.p-steps{list-style:none;display:grid;gap:.8em}
.p-steps li{display:flex;align-items:center;gap:.8em;font-size:1.3em}
.p-steps span{width:1.9em;height:1.9em;border-radius:50%;display:grid;place-items:center;background:var(--p-soft);color:var(--p-acc);font-weight:700;font-size:.9em;flex:none}
.p-form{display:grid;gap:.9em}
.p-form label{display:grid;gap:.35em;font-size:1.15em;font-weight:600;color:var(--p-muted)}
.p-form input,.p-form select,.p-form textarea{font:400 1.15em/1.3 var(--ui);color:var(--p-ink);background:#fff;border:0;border-radius:.9em;box-shadow:inset 0 0 0 .09em var(--p-line);padding:.7em .8em;width:100%;resize:none}
.p-form input:focus-visible,.p-form select:focus-visible,.p-form textarea:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.p-form .p-ok{display:flex;gap:.7em;align-items:flex-start;color:var(--p-ink);font-weight:400}
.p-form .p-ok input{appearance:none;-webkit-appearance:none;width:1.5em;height:1.5em;padding:0;border-radius:.4em;box-shadow:inset 0 0 0 .12em var(--p-muted);background:#fff;flex:none;display:grid;place-items:center;margin-top:.05em;cursor:pointer}
.p-form .p-ok input:checked{background:var(--p-acc);box-shadow:none}
.p-form .p-ok input:checked:after{content:"";width:.4em;height:.75em;border:solid #fff;border-width:0 .16em .16em 0;transform:translateY(-.08em) rotate(45deg)}
.p-send{height:2.6em;border-radius:2em;background:var(--p-acc);color:#fff!important;font-weight:600;font-size:1.35em!important}
.p-send:disabled{opacity:.38;cursor:not-allowed}
.p-hint{font-size:1.1em;color:var(--p-muted);min-height:1.3em}
.p-thx{padding:1.6em;border-radius:1.6em;background:var(--p-soft);display:grid;gap:.6em;justify-items:start}
.p-thx>svg.i{width:2.6em;height:2.6em;padding:.5em;border-radius:50%;background:var(--p-acc);color:#fff;stroke-width:2.4}
.p-thx b{font-size:1.5em}
.p-thx small{font-size:1.15em;color:var(--p-muted)}
.p-btn{height:2.4em;padding:0 1em;border-radius:2em;background:#fff;box-shadow:inset 0 0 0 .09em var(--p-line);color:var(--p-ink)!important;font-size:1.2em!important;font-weight:600}
.p-map{height:16em;border-radius:1.6em;overflow:hidden;position:relative}
.p-map.off{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7em;text-align:center;padding:1.6em;color:var(--p-muted);
  background:repeating-linear-gradient(45deg,#EEECE5 0 .8em,#F6F5F1 .8em 1.6em);box-shadow:inset 0 0 0 .1em var(--p-line)}
.p-map.off p{font-size:1.15em;max-width:22em}
.p-map.on svg{width:100%;height:100%;display:block;animation:fade .4s ease both}
.p-foot{padding:2.4em 1.6em 3.4em;font-size:1.1em;color:var(--p-muted)}
.phone .p-ck{position:absolute;left:.9em;right:.9em;bottom:.9em;z-index:6;border-radius:2em 2em 3.8em 3.8em;padding:1.6em 1.6em 2.6em;background:#fff;color:var(--p-ink);box-shadow:0 -.6em 2em rgba(0,0,0,.14);display:grid;gap:1em;animation:cmup .3s ease both}
.p-ck p{display:flex;gap:.6em;align-items:center;font-size:1.35em;font-weight:600}
.p-ck p svg.i{width:1.4em;height:1.4em;color:var(--p-acc)}
.p-ck div{display:flex;gap:.8em}
.p-ck button{flex:1;height:2.5em;border-radius:2em;font-size:1.25em!important;font-weight:600;background:var(--p-soft);color:var(--p-ink)!important}
.p-ck button.pri{background:var(--p-acc);color:#fff!important}
.phone .p-wa{position:absolute;inset:.9em;z-index:7;border-radius:3.8em;overflow:hidden;background:#ECE8E0;color:var(--p-ink);display:flex;flex-direction:column;animation:cmup .3s ease both}
.p-wa-h{display:flex;align-items:center;gap:.8em;padding:4.4em 1.4em 1em;background:#fff;box-shadow:0 .1em 0 var(--p-line)}
.p-wa-h>svg.i{color:var(--p-acc)}
.p-wa-h b{flex:1;font-size:1.45em}
.p-wa-h button{width:3.2em;height:3.2em;border-radius:50%;background:var(--p-soft);display:grid;place-items:center}
.p-wa-h button svg.i{width:1.5em;height:1.5em}
.p-wa-b{flex:1;padding:1.6em;display:flex;flex-direction:column;justify-content:flex-end}
.p-wa-n{align-self:center;text-align:center;font-size:1.15em;color:var(--p-muted);background:rgba(255,255,255,.7);border-radius:1em;padding:.5em .9em}
.p-wa-f{display:flex;gap:.8em;align-items:flex-end;padding:1em 1.2em .6em;background:#fff}
.p-wa-f .in{flex:1;padding:.8em 1em;border-radius:1.4em;background:var(--p-bg);font-size:1.3em;box-shadow:inset 0 0 0 .1em var(--p-acc)}
.p-wa-f button{width:3.6em;height:3.6em;border-radius:50%;background:var(--p-acc);color:#fff!important;display:grid;place-items:center;opacity:.55;flex:none}
.p-wa-f button svg.i{width:1.6em;height:1.6em}
.p-wa-d{background:#fff;text-align:center;font-size:1.1em;color:var(--p-muted);padding:.2em 1em 2.6em}
@keyframes cmup{from{opacity:0;transform:translateY(1.6em)}to{opacity:1;transform:none}}

/* ---------- Audit ---------- */
.cm-areas{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.cm-area{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:14px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep);min-height:106px}
.cm-area>svg{width:20px;height:20px;color:var(--blue)}
.cm-area b{font-size:13.5px;font-weight:600;line-height:1.25}
.cm-area a{margin-top:auto;font-size:12px;font-weight:600;color:var(--blue);display:inline-flex;gap:2px;align-items:center}
.cm-area a svg{width:12px;height:12px}
.cm-area small{margin-top:auto;font-size:12px;color:var(--muted)}
.chk p>b{display:block}
.chk p>.muted{display:block;margin-top:2px}
/* stacked top-level blocks keep the kit gap */
.page>:is(.card,.ov,.grid2,.stack)+:is(.card,.ov,.grid2,.stack){margin-top:14px}
#audit-areas{margin-top:0}
.cm-journey{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;padding:14px 0 4px}
.cm-journey:before{content:"";position:absolute;left:calc(100% / 14);right:calc(100% / 14);top:calc(14px + 12px - 1px);height:2px;background:var(--fill-2)}
.cm-journey span{position:relative;justify-self:center;width:24px;height:24px;border-radius:50%;background:var(--surface);box-shadow:0 0 0 2px var(--blue);display:grid;place-items:center;font-size:11px;font-weight:700;color:var(--blue)}
.cm-jl{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;margin-top:8px}
.cm-road{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.cm-road li{padding:12px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep);display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:112px}
.cm-road small{font-size:11.5px;font-weight:600;color:var(--muted)}
.cm-road b{font-size:13px;font-weight:600}
.cm-road li.dim b{color:var(--faint);font-weight:500}
.cm-road .pill{margin-top:auto;white-space:normal;height:auto;padding:3px 8px;line-height:1.3}

/* ---------- the flow ---------- */
.cm-flow .stage{min-height:0}
.s-main{display:flex;flex-direction:column;gap:14px}
.note-s{display:flex;gap:8px;align-items:flex-start;color:var(--muted);font-size:12.5px}
.note-s svg{width:14px;height:14px;flex:none;margin-top:2px;color:var(--blue)}
.cm-s1{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.cm-pick{display:flex;flex-direction:column;gap:6px}
.cm-pr{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 12px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep);opacity:0;transform:translateY(6px);transition:opacity .3s,transform .3s,box-shadow .3s,background .3s}
.cm-pr.in{opacity:1;transform:none}
.cm-pr.in.off{opacity:.45}
.cm-pr.on{background:var(--blue-bg);box-shadow:inset 0 0 0 1.5px var(--blue)}
.cm-pr .tx{min-width:0}
.cm-pr b{display:block;font-weight:600;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-pr small{display:block;color:var(--muted);font-size:12px}
.cm-s1 .cm-kv{padding:4px 16px;border-radius:14px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep);font-size:13px;transition:opacity .35s,transform .35s}
.cm-s1 .cm-kv.cm-hide{opacity:0;transform:translateY(6px)}
.cm-mailbox{padding:4px 16px 12px;border-radius:14px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep)}
.cm-mailbox .cm-mh:last-of-type{border-bottom:.5px solid var(--sep)}
.cm-seqline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cm-seqline span{padding:9px 12px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep);font-size:12.5px}
.cm-seqline span.on{background:var(--blue-bg);box-shadow:inset 0 0 0 1.5px var(--blue)}
.cm-seqline b{display:block;font-weight:600}
.cm-seqline small{color:var(--muted)}
.cm-chk p b{display:block;font-weight:600}
.track .chk.stop .t{color:var(--orange);font-weight:600}
.cm-fin:empty{display:none}
.cm-stop{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:8px 0}
.cm-stop .c{width:64px;height:64px;border-radius:50%;background:var(--orange-bg);color:var(--orange);display:grid;place-items:center;animation:pop .5s cubic-bezier(.2,.8,.2,1.3) both}
.cm-stop .c svg{width:30px;height:30px;stroke-width:2.4}
.cm-stop h3{font-size:22px;font-weight:700;letter-spacing:-.02em}
.cm-stop p{color:var(--muted);max-width:56ch}
.cm-next{padding:14px 16px;border-radius:14px;background:var(--surface-2);box-shadow:inset 0 0 0 .5px var(--sep);font-size:13px}
.cm-next b{display:block;font-weight:650;margin-bottom:6px}
.cm-next ul{padding-left:18px;color:var(--ink-2)}
.cm-next li+li{margin-top:4px}
.btn.autofill{position:relative;overflow:hidden;isolation:isolate}
.btn.autofill:after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(255,255,255,.3);transform-origin:left;animation:cmfill var(--hold,1s) linear both}
@keyframes cmfill{from{transform:scaleX(0)}to{transform:none}}

/* ---------- embedded (home mode) ---------- */
html.kit-embed .ph{margin-bottom:16px}
html.kit-embed .stage{padding:18px 20px;gap:12px}
html.kit-embed .stage h2{font-size:21px}
html.kit-embed .stage .lead{font-size:13.5px}
html.kit-embed .cm-stop{gap:6px;padding-top:0}
html.kit-embed .cm-stop .c{width:50px;height:50px}
html.kit-embed .cm-stop h3{font-size:19px}
html.kit-embed .foot-act{padding-top:2px}
html.kit-embed .phone{font-size:min(10px,calc((100vw - 32px) / 32),calc((100vh - 176px) / 60))}

/* ---------- responsive ---------- */
@media (min-width:861px) and (max-width:1180px){
  .cm-flow{grid-template-columns:196px minmax(0,1fr)}
  .cm-flow .rail{position:sticky;top:72px}
  .cm-flow .rail ol{flex-direction:column;overflow:visible;gap:2px}
  .cm-flow .rail li{flex:initial}
  .cm-flow .rail li small{display:block}
  .cm-site{grid-template-columns:auto minmax(0,1fr);gap:20px}
  .cm-tree{columns:1}
}
@media (max-width:860px){
  .why{font-size:14px}
  .kpis.cm-k3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kpis.cm-k3>:last-child{grid-column:1/-1}
  .cm-kt .v{font-size:22px}
  .cm-cr,.cm-qi{padding:10px 16px;gap:10px}
  .cm-cr{grid-template-columns:34px minmax(0,1fr) auto 14px}
  .cm-hm{display:none}
  .cm-long{display:none} .cm-short{display:inline}
  .cm-cnote{padding:10px 16px 14px}
  .cm-gt .m-only{display:block;color:var(--muted);font-size:12px;margin-top:2px}
  .cm-gt td{white-space:normal}
  .cm-mh{grid-template-columns:58px minmax(0,1fr)}
  .cm-mail .ch .seg{margin-left:0}
  .cm-board{grid-template-columns:repeat(7,200px);margin:0 -16px;padding:2px 16px 8px;scroll-padding:0 16px}
  .cm-req{padding:12px 16px}
  .cm-site{grid-template-columns:minmax(0,1fr);gap:18px}
  .cm-ph-l{position:static}
  .cm-areas{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cm-area{min-height:0}
  .cm-road{grid-template-columns:minmax(0,1fr)}
  .cm-road li{min-height:0}
  .cm-tl li{grid-template-columns:80px minmax(0,1fr);gap:10px}
  .cm-s1{grid-template-columns:minmax(0,1fr)}
  .cm-seqline span{padding:8px 9px;font-size:11.5px}
  .cm-flow .rail{position:sticky;top:calc(54px + env(safe-area-inset-top,0px));z-index:6;margin:0 -16px;padding:8px 16px;background:var(--glass);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}
  .cm-mailbox .cm-mfoot{display:none}
  html.kit-embed .stage .lead,html.kit-embed .stage .note-s{display:none}
  html.kit-embed .phone{font-size:min(10px,calc((100vw - 32px) / 32),calc((100vh - 236px) / 60))}
}
@media (max-width:420px){
  .cm-states{grid-template-columns:minmax(0,1fr)}
  .cm-tree{columns:1}
}
@media (prefers-reduced-motion:reduce){
  .cm-radar .pt,.cm-swap.done .cm-fill,.p-map.on svg,.phone .p-ck,.phone .p-wa,.cm-stop .c{animation:none!important}
  .cm-pr,.cm-s1 .cm-kv{transition:none}
}
/* phone tap targets of at least 40px (wave 29) */
@media (max-width:860px){html:not(.kit-embed) .cm-card .cm-mv{position:relative}html:not(.kit-embed) .cm-card .cm-mv::after{content:"";position:absolute;inset:-6px}html:not(.kit-embed) .cm-area a{min-height:40px}}
