:root {
  --bg: #07111d;
  --bg-deep: #040a12;
  --panel: rgba(12, 27, 44, 0.82);
  --panel-solid: #0c1b2c;
  --panel-strong: #10263e;
  --line: rgba(149, 196, 232, 0.18);
  --line-strong: rgba(149, 196, 232, 0.32);
  --text: #eff8ff;
  --muted: #9ab1c5;
  --muted-strong: #c2d6e7;
  --blue: #58c9ff;
  --blue-strong: #249ff0;
  --blue-dim: rgba(88, 201, 255, 0.16);
  --ice: #b7f1ff;
  --mint: #72ecc1;
  --violet: #a79eff;
  --red: #ff6f88;
  --yellow: #f8d67e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --font: Arial, Helvetica, sans-serif;
}

:root[data-theme="light"] {
  --bg: #f2f8fc;
  --bg-deep: #e9f2f8;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: #ffffff;
  --panel-strong: #e8f4fb;
  --line: rgba(21, 85, 126, 0.15);
  --line-strong: rgba(21, 85, 126, 0.28);
  --text: #0a1d2d;
  --muted: #587188;
  --muted-strong: #2d4d66;
  --blue: #098edb;
  --blue-strong: #006faf;
  --blue-dim: rgba(9, 142, 219, 0.12);
  --ice: #0369a3;
  --mint: #0b9474;
  --violet: #6259d7;
  --red: #d5284e;
  --yellow: #936b00;
  --shadow: 0 24px 70px rgba(44, 93, 126, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 620px at 100% -12%, rgba(40, 156, 239, 0.22), transparent 60%),
    radial-gradient(650px 520px at -7% 27%, rgba(86, 210, 255, 0.12), transparent 62%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 196, 236, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 196, 236, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 70%);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1260px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--ice); color: #001522; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 14px; }

.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px); }
.topbar__inner { min-height: 70px; display: flex; align-items: center; gap: 30px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 19px; letter-spacing: -0.04em; font-weight: 700; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.topnav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.topnav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .18s ease; }
.topnav a:hover { color: var(--text); }
.topbar__actions { display: flex; align-items: center; gap: 9px; }
.location-chip, .icon-button { border: 1px solid var(--line); color: var(--text); background: var(--panel); min-height: 38px; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.location-chip:hover, .icon-button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.location-chip { display: flex; align-items: center; gap: 8px; max-width: 250px; padding: 0 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.location-chip span:last-child { overflow: hidden; text-overflow: ellipsis; }
.status-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 4px rgba(248,214,126,.12); }
.status-dot.is-ready { background: var(--mint); box-shadow: 0 0 0 4px rgba(114,236,193,.12); }
.icon-button { width: 38px; display: grid; place-items: center; border-radius: 10px; }
.icon-button svg { width: 18px; }

.main { padding-top: 46px; padding-bottom: 72px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 30px; align-items: stretch; }
.hero__content { min-height: 490px; display: flex; flex-direction: column; justify-content: center; padding: 28px 0 28px 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--muted-strong); font-size: 11px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
.eyebrow > span { width: 21px; height: 1px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.eyebrow--small { font-size: 10px; margin-bottom: 8px; }
.eyebrow--danger > span { background: var(--red); box-shadow: 0 0 10px var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 18px; font-size: clamp(46px, 6.6vw, 84px); line-height: .95; letter-spacing: -.065em; font-weight: 700; }
h1 em, h2 em { color: var(--ice); font-style: normal; text-shadow: 0 0 38px color-mix(in srgb, var(--blue) 44%, transparent); }
.hero__intro { max-width: 685px; margin-bottom: 30px; color: var(--muted-strong); font-size: 17px; line-height: 1.62; }
.location-panel { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; max-width: 780px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(140deg, color-mix(in srgb, var(--panel) 95%, transparent), color-mix(in srgb, var(--panel-strong) 66%, transparent)); box-shadow: var(--shadow); }
.location-panel__icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--ice); background: var(--blue-dim); border: 1px solid color-mix(in srgb, var(--blue) 34%, transparent); border-radius: 13px; }
.location-panel__icon svg { width: 22px; }
.location-panel__body { min-width: 0; display: grid; gap: 2px; }
.location-panel__label { color: var(--blue); font-size: 11px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.location-panel__body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.location-panel__body small { color: var(--muted); font-size: 12px; }
.location-panel__actions { display: flex; gap: 8px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 15px; }
.button--primary { color: #042033; background: linear-gradient(135deg, var(--ice), var(--blue)); box-shadow: 0 12px 24px color-mix(in srgb, var(--blue) 24%, transparent); }
.button--ghost { color: var(--muted-strong); background: transparent; border-color: var(--line); }
.button--ghost:hover { color: var(--text); border-color: var(--line-strong); }
.button--full { width: 100%; }

.hero__side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 490px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(50,155,225,.25), rgba(10,26,46,.85) 47%, rgba(5,13,24,.92)); box-shadow: var(--shadow); isolation: isolate; }
.hero__side::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.65; background: radial-gradient(ellipse at 55% 23%, rgba(146,234,255,.25), transparent 33%), radial-gradient(ellipse at 23% 88%, rgba(93,129,255,.18), transparent 38%); }
.radar { position: absolute; width: 330px; height: 330px; right: -57px; top: -59px; display: grid; place-items: center; }
.radar::before, .radar::after { content:""; position:absolute; inset:15%; border:1px solid rgba(186,240,255,.22); border-radius:50%; }
.radar::after { inset: 30%; border-color: rgba(186,240,255,.35); }
.radar img { position: relative; z-index: 2; width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 17px 24px rgba(0, 0, 0, .24)); }
.radar__pulse { position:absolute; border-radius:50%; border:1px solid rgba(171,234,255,.25); animation: radar 3.5s linear infinite; }
.radar__pulse--a { width: 110px; height:110px; }
.radar__pulse--b { width: 170px; height:170px; animation-delay: 1.15s; }
.radar__pulse--c { width: 230px; height:230px; animation-delay: 2.3s; }
@keyframes radar { 0% { transform:scale(.7); opacity:.8; } 80%,100% { transform:scale(1.15); opacity:0; } }
.hero__side-copy { position: relative; margin-top: auto; }
.hero__side-copy strong { display:block; margin-bottom: 6px; font-size: 25px; letter-spacing: -.045em; }
.hero__side-copy p { max-width: 330px; margin-bottom: 0; color: var(--muted-strong); font-size: 14px; }
.signal-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 27px; padding-top:18px; border-top: 1px solid rgba(196,236,255,.18); }
.signal-grid div { min-width:0; display:grid; gap:4px; }
.signal-grid span { color: rgba(225,245,255,.6); font-size:9px; letter-spacing:.12em; font-weight:700; }
.signal-grid b { overflow:hidden; color: var(--ice); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }

.command-strip { display:grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 20px; }
.command-card { display:flex; align-items:center; gap:11px; min-width:0; padding:14px; color:var(--text); text-align:left; border:1px solid var(--line); border-radius: var(--radius-md); background: var(--panel); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.command-card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--panel-strong); }
.command-card__icon { width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center; border-radius:10px; }
.command-card__icon svg { width:17px; }
.command-card__icon--blue { color:var(--ice); background:var(--blue-dim); }
.command-card__icon--violet { color:#dedbff; background:rgba(167,158,255,.18); }
.command-card__icon--mint { color:#b7ffe4; background:rgba(114,236,193,.14); }
.command-card__icon--red { color:#ffc4cf; background:rgba(255,111,136,.14); }
.command-card b, .command-card small { display:block; }
.command-card b { font-size:13px; letter-spacing:-.015em; }
.command-card small { margin-top:2px; color:var(--muted); font-size:11px; }
.command-card__arrow { margin-left:auto; color:var(--muted); font-size:18px; }

.section { padding-top: 96px; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:26px; }
h2 { margin-bottom:0; font-size:clamp(30px,4.2vw,50px); letter-spacing:-.055em; line-height:1; }
.section-heading h2 span { color:var(--ice); }
.section-heading__tools { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:10px; }
.verified-key { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:11px; white-space:nowrap; }
.verified-key i { width:7px; height:7px; display:inline-block; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px rgba(114,236,193,.1); }
.verified-key--soft i { background:var(--yellow); box-shadow:0 0 0 4px rgba(248,214,126,.1); }
select, input { width:100%; color:var(--text); border:1px solid var(--line); background:var(--panel-solid); border-radius:10px; }
select { width:auto; min-height:36px; padding:0 32px 0 11px; font-size:12px; }
.service-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px; }
.service-card { min-height:245px; display:flex; flex-direction:column; padding:16px; border:1px solid var(--line); border-radius:var(--radius-md); background:linear-gradient(145deg, color-mix(in srgb,var(--panel) 96%,transparent), color-mix(in srgb,var(--panel-strong) 40%,transparent)); box-shadow:0 13px 32px rgba(0,0,0,.09); transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.service-card:hover { transform:translateY(-3px); border-color:var(--line-strong); box-shadow:0 17px 37px rgba(0,0,0,.16); }
.service-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.provider-mark { width:40px; height:40px; display:grid; place-items:center; color:#f6fbff; border:1px solid rgba(205,242,255,.14); border-radius:12px; background:linear-gradient(145deg,#2b7fbf,#12558e); font-size:13px; font-weight:800; letter-spacing:-.04em; }
.service-card__state { min-height:23px; display:inline-flex; align-items:center; padding:0 8px; border:1px solid rgba(248,214,126,.24); border-radius:999px; color:var(--yellow); background:rgba(248,214,126,.08); font-size:9px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.service-card__state.is-live { color:var(--mint); border-color:rgba(114,236,193,.24); background:rgba(114,236,193,.08); }
.service-card__content { padding-top:17px; }
.service-card__category { color:var(--blue); font-size:10px; letter-spacing:.11em; font-weight:700; text-transform:uppercase; }
.service-card h3 { margin:5px 0 6px; font-size:20px; line-height:1; letter-spacing:-.045em; }
.service-card p { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-size:12px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.service-card__bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:17px; }
.proof-badge { color:var(--muted); font-size:10px; }
.provider-link { display:inline-flex; align-items:center; gap:5px; color:var(--ice); font-size:12px; font-weight:700; }
.provider-link span { font-size:14px; }
.empty-state { padding:38px; text-align:center; border:1px dashed var(--line-strong); border-radius:var(--radius-md); color:var(--muted); }
.empty-state strong { display:block; color:var(--text); }
.empty-state p { margin:5px 0 0; }

.local-workbench { display:grid; grid-template-columns: .75fr 1.25fr; gap:24px; margin-top:96px; padding:26px; border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(145deg, rgba(12,31,50,.9), rgba(5,17,31,.9)); box-shadow:var(--shadow); }
.local-workbench__intro { padding:7px; }
.local-workbench__intro h2 { font-size:clamp(34px,3.8vw,48px); }
.local-workbench__intro > p:not(.eyebrow) { margin:16px 0 0; color:var(--muted-strong); font-size:14px; line-height:1.6; }
.local-workbench__notice { display:flex; gap:9px; margin-top:22px; padding:11px 12px; color:var(--muted); border:1px solid var(--line); border-radius:11px; background:rgba(0,0,0,.1); font-size:11px; line-height:1.45; }
.notice-dot { width:7px; height:7px; flex:0 0 auto; margin-top:4px; border-radius:50%; background:var(--yellow); }
.local-workbench__tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.local-tool { min-height:218px; display:flex; flex-direction:column; padding:15px; border:1px solid var(--line); border-radius:var(--radius-md); background:rgba(255,255,255,.025); }
.local-tool__head { display:flex; align-items:center; gap:10px; }
.local-tool__icon { width:34px; height:34px; display:grid; place-items:center; color:var(--ice); border:1px solid rgba(144,225,255,.2); border-radius:10px; background:var(--blue-dim); font-weight:800; }
.local-tool__head h3 { margin:0 0 2px; font-size:15px; letter-spacing:-.025em; }
.local-tool__head p { margin:0; color:var(--muted); font-size:11px; }
.local-tool__results { display:grid; gap:5px; min-height:75px; padding:14px 0; color:var(--muted); font-size:11px; }
.local-result { display:flex; align-items:center; gap:8px; overflow:hidden; padding:6px 0; border-bottom:1px solid rgba(148,202,236,.1); }
.local-result:last-child { border-bottom:0; }
.local-result i { width:5px; height:5px; flex:0 0 auto; border-radius:50%; background:var(--mint); }
.local-result a { overflow:hidden; color:var(--muted-strong); text-overflow:ellipsis; white-space:nowrap; }
.local-tool__action { width:100%; margin-top:auto; }

.emergency { display:grid; grid-template-columns:.9fr 1.1fr; gap:28px; align-items:center; margin-top:96px; padding:34px; border:1px solid rgba(255,111,136,.25); border-radius:var(--radius-lg); background:linear-gradient(135deg, rgba(103,23,46,.36), rgba(14,21,36,.86) 60%); }
.emergency h2 { margin-bottom:15px; }
.emergency__main > p:not(.eyebrow) { max-width:510px; margin-bottom:0; color:var(--muted-strong); font-size:14px; line-height:1.58; }
.emergency__numbers { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.emergency-card { min-height:120px; padding:15px; border:1px solid rgba(255,190,202,.18); border-radius:14px; background:rgba(0,0,0,.13); }
.emergency-card span { color:#ffb8c5; font-size:10px; letter-spacing:.11em; font-weight:700; text-transform:uppercase; }
.emergency-card a { display:block; margin-top:10px; color:#fff; font-size:27px; letter-spacing:-.05em; font-weight:700; }
.emergency-card small { display:block; margin-top:7px; color:var(--muted); font-size:10px; }

.truth-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:64px; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.truth-strip div { display:grid; grid-template-columns:auto 1fr; gap:12px; }
.truth-strip span { color:var(--blue); font-size:11px; font-weight:700; letter-spacing:.12em; }
.truth-strip p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
.truth-strip b { color:var(--text); }
.footer { border-top:1px solid var(--line); background:rgba(0,0,0,.1); }
.footer__inner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:25px; min-height:104px; }
.footer__brand { display:inline-flex; align-items:center; gap:9px; font-weight:700; letter-spacing:-.03em; }
.footer__brand img { width:34px; height:34px; }
.footer__brand small { margin-left:4px; color:var(--muted); font-size:9px; letter-spacing:.08em; }
.footer p { max-width:620px; margin:0; color:var(--muted); font-size:11px; }
.footer nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:14px; }
.footer nav a { color:var(--muted); font-size:11px; }
.footer nav a:hover { color:var(--text); }

.location-dialog { width:min(520px, calc(100% - 32px)); padding:0; overflow:hidden; color:var(--text); border:1px solid var(--line-strong); border-radius:18px; background:var(--panel-solid); box-shadow:0 28px 80px rgba(0,0,0,.48); }
.location-dialog::backdrop { background:rgba(0,8,17,.7); backdrop-filter:blur(5px); }
.location-dialog__card { position:relative; padding:28px; }
.location-dialog__card h2 { margin-bottom:12px; font-size:34px; }
.location-dialog__card > p:not(.eyebrow) { color:var(--muted); font-size:13px; line-height:1.55; }
.location-dialog label { display:grid; gap:7px; margin-top:18px; }
.location-dialog label > span { color:var(--muted-strong); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.location-dialog input, .location-dialog select { min-height:46px; padding:0 12px; }
.location-dialog select { width:100%; }
.location-dialog .button { margin-top:24px; min-height:46px; }
.dialog-close { position:absolute; top:15px; right:15px; width:31px; height:31px; display:grid; place-items:center; color:var(--muted); border:1px solid var(--line); border-radius:9px; background:transparent; font-size:21px; line-height:1; }

@media (max-width: 1040px) {
  .hero { grid-template-columns:1fr .78fr; }
  .service-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .command-strip { grid-template-columns:repeat(2,1fr); }
  .local-workbench { grid-template-columns:1fr; }
}
@media (max-width: 780px) {
  .shell { width:min(100% - 28px, 1260px); }
  .topbar__inner { min-height:62px; gap:10px; }
  .brand { font-size:17px; }
  .brand img { width:34px; height:34px; }
  .brand small, .topnav { display:none; }
  .location-chip { max-width:158px; }
  .main { padding-top:26px; }
  .hero { grid-template-columns:1fr; gap:15px; }
  .hero__content { min-height:auto; padding:18px 0 4px; }
  .hero__intro { font-size:15px; }
  .location-panel { grid-template-columns:auto minmax(0,1fr); }
  .location-panel__actions { grid-column:1/-1; }
  .location-panel__actions .button { flex:1; }
  .hero__side { min-height:365px; }
  .command-strip { margin-top:15px; }
  .section { padding-top:70px; }
  .section-heading { display:block; }
  .section-heading__tools { justify-content:flex-start; margin-top:17px; }
  .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .local-workbench, .emergency { margin-top:70px; padding:20px; }
  .emergency { grid-template-columns:1fr; }
  .truth-strip { grid-template-columns:1fr; gap:15px; }
  .footer__inner { grid-template-columns:1fr; align-items:flex-start; gap:12px; padding:22px 0; }
  .footer nav { justify-content:flex-start; }
}
@media (max-width: 520px) {
  h1 { font-size:48px; }
  .command-strip { grid-template-columns:1fr 1fr; gap:8px; }
  .command-card { padding:11px; }
  .command-card__icon { width:30px; height:30px; }
  .command-card small { font-size:10px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:210px; }
  .local-workbench__tools { grid-template-columns:1fr; }
  .emergency__numbers { grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

.legal-page { min-height:100vh; }
.legal-main { width:min(820px, calc(100% - 36px)); margin:0 auto; padding:64px 0 88px; }
.legal-back { display:inline-flex; align-items:center; gap:8px; color:var(--ice); font-size:13px; font-weight:700; }
.legal-back:hover { color:var(--text); }
.legal-card { margin-top:24px; padding:34px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--panel); box-shadow:var(--shadow); }
.legal-card h1 { margin:0 0 18px; font-size:clamp(40px,6vw,64px); }
.legal-card h2 { margin:38px 0 12px; font-size:25px; }
.legal-card p, .legal-card li { color:var(--muted-strong); font-size:14px; line-height:1.7; }
.legal-card ul { padding-left:21px; }
.legal-card strong { color:var(--text); }
.legal-card code { padding:2px 5px; color:var(--ice); border:1px solid var(--line); border-radius:5px; background:rgba(0,0,0,.12); font-size:.9em; }

/* SCOUTEE V2 — compact provider matrix: branded, dense, and scan-first. */
.main { padding-top: 30px; padding-bottom: 58px; }
.hero { gap: 22px; }
.hero__content { min-height: 408px; padding-block: 20px; }
h1 { max-width: 720px; font-size: clamp(42px, 5.8vw, 72px); }
.hero__intro { max-width: 640px; margin-bottom: 22px; font-size: 15px; line-height: 1.55; }
.hero__side { min-height: 408px; padding: 24px; }
.radar { width: 284px; height: 284px; right: -48px; top: -55px; }
.radar img { width: 92px; height: 92px; }
.command-strip { margin-top: 14px; }
.command-card { min-height: 66px; padding: 11px 13px; }
.section { padding-top: 68px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(28px, 3.7vw, 42px); }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.service-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--panel) 98%, transparent), color-mix(in srgb, var(--panel-strong) 26%, transparent));
}
.service-card:hover { transform: translateY(-2px); }
.provider-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  grid-row: 1 / span 2;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 242, 255, .14);
  border-radius: 12px;
  background: #0a1724;
}
.provider-logo { position: absolute; z-index: 2; width: 100%; height: 100%; padding: 5px; object-fit: contain; opacity: 0; transition: opacity .16s ease; }
.provider-logo-wrap.has-logo .provider-logo { opacity: 1; }
.provider-mark { width: 100%; height: 100%; display: grid; place-items: center; color: #f6fbff; font-size: 12px; font-weight: 800; letter-spacing: -.04em; }
.service-card__content { min-width: 0; padding: 0; align-self: center; }
.service-card__category { display: block; overflow: hidden; color: var(--blue); font-size: 9px; line-height: 1.1; letter-spacing: .095em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.service-card h3 { overflow: hidden; margin: 4px 0 0; font-size: 16px; line-height: 1.04; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.service-card p { display: none; }
.service-card__meta { display: grid; justify-items: end; align-self: stretch; grid-column: 3; grid-row: 1 / span 2; gap: 9px; padding-left: 2px; }
.service-card__state { min-height: 20px; padding: 0 6px; font-size: 8px; letter-spacing: .06em; }
.provider-link { min-height: 26px; padding: 0 7px; color: var(--ice); border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.08); font-size: 10px; white-space: nowrap; }
.provider-link:hover { border-color: var(--line-strong); background: var(--blue-dim); }
.provider-link span { font-size: 12px; }
.local-workbench, .emergency { margin-top: 68px; }
.local-workbench { padding: 20px; gap: 18px; }
.local-tool { min-height: 182px; padding: 13px; }
.emergency { padding: 26px; }
.truth-strip { margin-top: 46px; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .main { padding-top: 20px; }
  .hero__content { min-height: auto; padding-top: 8px; }
  .hero__side { min-height: 330px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .service-card { min-height: 110px; grid-template-columns: 40px minmax(0, 1fr); padding: 10px; }
  .provider-logo-wrap { width: 40px; height: 40px; }
  .service-card__meta { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; justify-items: unset; gap: 6px; padding-left: 0; }
  .service-card__state { min-height: 18px; }
  .provider-link { min-height: 24px; }
}
@media (max-width: 430px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 96px; }
  .service-card h3 { font-size: 17px; }
}

/* SCOUTEE V3 — city-first local discovery */
.city-field { position:relative; }
.field-status { min-height:16px; color:var(--muted); font-size:11px; line-height:1.4; }
.city-suggestions { position:absolute; z-index:30; top:100%; right:0; left:0; display:grid; gap:4px; max-height:225px; overflow:auto; padding:6px; border:1px solid var(--line-strong); border-radius:10px; background:var(--panel-solid); box-shadow:0 18px 45px rgba(0,0,0,.34); }
.city-suggestion { display:grid; gap:2px; width:100%; padding:10px 11px; color:var(--text); text-align:left; border:1px solid transparent; border-radius:8px; background:transparent; cursor:pointer; }
.city-suggestion:hover,.city-suggestion:focus-visible { border-color:var(--line-strong); background:var(--blue-dim); outline:none; }
.city-suggestion strong { font-size:13px; font-weight:600; }
.city-suggestion small { overflow:hidden; color:var(--muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.service-card__content .proof-badge { display:block; overflow:hidden; margin-top:4px; color:var(--muted); font-size:9px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.local-result { align-items:flex-start; }
.local-result__content { min-width:0; display:grid; gap:2px; }
.local-result__content a { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.local-result__content small { overflow:hidden; color:var(--muted); font-size:10px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.local-tool__hint { align-self:center; color:var(--muted); line-height:1.45; }
.emergency-card strong { display:block; margin-top:10px; color:var(--text); font-size:17px; line-height:1.1; }
@media (max-width:780px) { .city-suggestions { position:static; margin-top:4px; } .service-card__content .proof-badge { max-width:100%; } }

/* SCOUTEE V10 — opt-in live map layer */
.local-workbench { grid-template-columns: .62fr 1.38fr; }
.local-workbench__intro { min-width:0; }
.map-activation { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding:12px; border:1px solid rgba(169,236,255,.17); border-radius:12px; background:linear-gradient(135deg,rgba(47,128,175,.15),rgba(14,35,53,.34)); }
.map-activation__label { display:block; color:var(--ice); font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.map-activation strong { display:block; margin-top:3px; font-size:13px; letter-spacing:-.02em; }
.map-activation small { display:block; max-width:250px; margin-top:4px; color:var(--muted); font-size:10px; line-height:1.35; }
.map-activation .button { min-width:132px; }
.local-tool.is-selected { border-color:rgba(114,236,193,.52); background:linear-gradient(145deg,rgba(26,73,70,.27),rgba(13,30,46,.78)); box-shadow:0 0 0 1px rgba(114,236,193,.08) inset; }
.local-tool__actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:auto; }
.local-tool__action { margin-top:0; }
.button--soft { color:var(--ice); border:1px solid rgba(169,236,255,.2); background:rgba(89,176,230,.08); }
.button--soft:hover { border-color:rgba(169,236,255,.48); background:rgba(89,176,230,.15); }
.live-map-panel { grid-column:1/-1; margin-top:4px; padding:18px; border:1px solid rgba(169,236,255,.24); border-radius:16px; background:linear-gradient(145deg,rgba(16,43,63,.96),rgba(7,20,33,.98)); box-shadow:0 22px 65px rgba(0,0,0,.25); }
.live-map-panel[hidden] { display:none; }
.live-map-panel__top { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:12px; }
.live-map-panel__top h3 { margin:0; font-size:22px; letter-spacing:-.045em; }
.live-map-panel__top p:not(.eyebrow) { margin:7px 0 0; color:var(--muted); font-size:11px; }
.live-map-panel__actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.button--small { min-height:34px; padding:0 10px; font-size:11px; }
.map-status { min-height:20px; margin:0 0 9px; color:var(--muted); font-size:11px; }
.map-status[data-kind=success] { color:var(--mint); }
.map-status[data-kind=warning] { color:var(--yellow); }
.map-status[data-kind=error] { color:var(--pink); }
.live-map-canvas { position:relative; min-height:430px; overflow:hidden; border:1px solid rgba(169,236,255,.2); border-radius:13px; background:radial-gradient(circle at 50% 45%,rgba(71,161,211,.18),transparent 28rem),#0a1928; }
.live-map-canvas:empty::after { content:"La mappa si carica solo su richiesta."; position:absolute; inset:0; display:grid; place-items:center; color:var(--muted); font-size:12px; }
.live-map-legend { display:flex; flex-wrap:wrap; align-items:center; gap:11px 16px; margin-top:10px; color:var(--muted); font-size:10px; }
.live-map-legend span { display:inline-flex; align-items:center; gap:6px; }
.legend-dot { width:8px; height:8px; border-radius:50%; background:var(--ice); box-shadow:0 0 0 3px rgba(169,236,255,.1); }
.legend-dot--vehicle { background:var(--mint); box-shadow:0 0 0 3px rgba(114,236,193,.12); animation:scoutee-live-pulse 1.6s ease-out infinite; }
.live-marker { width:28px; height:28px; display:grid; place-items:center; padding:0; color:#07111d; border:2px solid #e9fbff; border-radius:50%; box-shadow:0 5px 16px rgba(0,0,0,.33); font-family:Arial,sans-serif; font-weight:900; cursor:pointer; }
.live-marker--place { background:var(--ice); font-size:18px; line-height:1; }
.live-marker--moving { background:var(--mint); animation:scoutee-live-pulse 1.6s ease-out infinite; }
.map-info { display:grid; gap:5px; max-width:240px; padding:3px 2px; color:#0c1b28; font-family:Arial,sans-serif; }
.map-info small { color:#4c5b65; line-height:1.35; }
.map-info a { color:#006f8d; font-weight:700; text-decoration:none; }
.live-map-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 14px; margin-top:14px; }
.live-map-row { display:flex; align-items:flex-start; gap:8px; min-width:0; padding:8px 0; border-bottom:1px solid rgba(177,224,255,.1); }
.live-map-row__dot { width:7px; height:7px; flex:0 0 auto; margin-top:5px; border-radius:50%; background:var(--ice); }
.live-map-row__dot--moving { background:var(--mint); box-shadow:0 0 0 3px rgba(114,236,193,.11); animation:scoutee-live-pulse 1.6s ease-out infinite; }
.live-map-row div { min-width:0; }
.live-map-row a,.live-map-row strong { display:block; overflow:hidden; color:var(--text); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.live-map-row small { display:block; overflow:hidden; margin-top:2px; color:var(--muted); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.live-map-list__empty { grid-column:1/-1; margin:0; padding:12px 0 3px; color:var(--muted); font-size:11px; }
@keyframes scoutee-live-pulse { 0%{box-shadow:0 0 0 0 rgba(114,236,193,.48)} 70%{box-shadow:0 0 0 10px rgba(114,236,193,0)} 100%{box-shadow:0 0 0 0 rgba(114,236,193,0)} }
@media(max-width:1040px){ .local-workbench{grid-template-columns:1fr}.live-map-panel{grid-column:auto}.live-map-canvas{min-height:390px} }
@media(max-width:620px){ .map-activation{align-items:flex-start;flex-direction:column}.map-activation .button{width:100%}.local-tool__actions{grid-template-columns:1fr}.live-map-panel{padding:14px}.live-map-panel__top{flex-direction:column}.live-map-panel__actions{justify-content:flex-start}.live-map-canvas{min-height:330px}.live-map-list{grid-template-columns:1fr} }


/* SCOUTEE V10 — precise, lighter local operating surface */
.noscript{position:relative;z-index:100;padding:10px 16px;color:#07111d;background:var(--yellow);font:600 13px/1.35 Arial,sans-serif;text-align:center}.noscript a{color:inherit;text-decoration:underline}.hero-intents{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 3px}.hero-intent{min-height:30px;padding:0 10px;color:var(--ice);border:1px solid rgba(169,236,255,.17);border-radius:999px;background:rgba(169,236,255,.05);font:600 11px/1 Arial,sans-serif;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}.hero-intent:hover,.hero-intent:focus-visible{border-color:rgba(169,236,255,.55);background:rgba(89,176,230,.16);outline:none;transform:translateY(-1px)}.live-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.map-radius{display:flex;align-items:center;gap:5px;min-width:0}.map-radius>span{margin-right:3px;color:var(--muted);font-size:10px}.map-radius button{min-height:28px;padding:0 8px;color:var(--muted);border:1px solid rgba(169,236,255,.16);border-radius:7px;background:rgba(255,255,255,.025);font:600 10px/1 Arial,sans-serif;cursor:pointer}.map-radius button:hover,.map-radius button:focus-visible,.map-radius button.is-active{color:var(--ice);border-color:rgba(169,236,255,.55);background:rgba(89,176,230,.16);outline:none}.live-marker--origin{color:#fff;background:#294d6b;border-color:#fff;font-size:15px;box-shadow:0 0 0 5px rgba(41,77,107,.18),0 5px 16px rgba(0,0,0,.33)}.live-map-panel .button[hidden]{display:none}.live-map-canvas{contain:layout paint}.live-map-row.is-moving{background:linear-gradient(90deg,rgba(114,236,193,.06),transparent)}.local-tool.is-selected .local-tool__map-select{border-color:rgba(114,236,193,.54);background:rgba(114,236,193,.12)}.compact-check{display:inline-flex!important;align-items:center!important;gap:5px!important;margin-top:5px!important;color:var(--muted)!important;font-size:10px!important;white-space:nowrap}.check-line{display:flex!important;align-items:center;gap:8px;color:var(--muted);font-size:11px}.check-line input,.compact-check input{accent-color:var(--mint)}
@media (max-width:620px){.hero-intents{gap:6px}.hero-intent{min-height:29px;padding:0 9px}.live-map-toolbar{align-items:flex-start;flex-direction:column}.map-radius{width:100%}.map-radius button{flex:1}.live-map-toolbar .button{width:100%}}

/* SCOUTEE V10 — map resilience: results remain useful even if the embedded map is unavailable. */
.map-fallback{display:grid;gap:4px;margin:0 0 10px;padding:11px 12px;color:var(--muted-strong);border:1px solid rgba(248,214,126,.26);border-radius:10px;background:rgba(248,214,126,.07);font-size:11px;line-height:1.42}.map-fallback strong{color:var(--yellow);font-size:11px}.live-map-canvas.is-fallback{min-height:148px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(87,127,152,.15),rgba(8,24,39,.7))}.live-map-canvas.is-fallback::after{content:"Mappa integrata non disponibile";position:static;padding:20px;color:var(--muted);font-size:12px;text-align:center}.map-status[data-kind=error]{color:var(--red)}
.service-expand{grid-column:1/-1;min-height:42px;display:flex;align-items:center;justify-content:center;color:var(--ice);border:1px dashed rgba(169,236,255,.28);border-radius:12px;background:rgba(89,176,230,.045);font:700 12px/1 Arial,sans-serif;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.service-expand:hover,.service-expand:focus-visible{border-color:rgba(169,236,255,.58);background:rgba(89,176,230,.12);outline:none;transform:translateY(-1px)}

/* SCOUTEE V10 — Map-first journey. The map is a foreground workspace, not a section buried in the page. */
.topnav { align-items:center; }
.topnav__map { min-height:30px; padding:0 9px; color:var(--ice); border:1px solid rgba(169,236,255,.18); border-radius:999px; background:rgba(169,236,255,.055); font:600 11px/1 Arial,sans-serif; cursor:pointer; transition:background .16s ease,border-color .16s ease,transform .16s ease; }
.topnav__map:hover,.topnav__map:focus-visible { color:var(--text); border-color:rgba(169,236,255,.6); background:rgba(89,176,230,.18); outline:none; transform:translateY(-1px); }
.hero--map-first { align-items:stretch; }
.hero--map-first .hero__content { display:flex; flex-direction:column; justify-content:center; }
.map-priority-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:20px; padding:14px 15px; border:1px solid rgba(169,236,255,.24); border-radius:14px; background:linear-gradient(135deg,rgba(47,128,175,.20),rgba(11,28,45,.74)); box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
.map-priority-bar__copy { min-width:0; }
.map-priority-bar__copy>span { display:block; color:var(--ice); font-size:9px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.map-priority-bar__copy strong { display:block; margin-top:4px; overflow:hidden; color:var(--text); font-size:15px; letter-spacing:-.03em; text-overflow:ellipsis; white-space:nowrap; }
.map-priority-bar__copy small { display:block; margin-top:4px; color:var(--muted); font-size:11px; line-height:1.36; }
.map-priority-bar__cta { flex:0 0 auto; min-width:144px; }
.map-quick-start { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:10px; }
.map-quick-start__card { min-height:68px; display:flex; align-items:center; gap:8px; padding:9px; text-align:left; color:var(--text); border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.025); cursor:pointer; transition:transform .16s ease,border-color .16s ease,background .16s ease; }
.map-quick-start__card:hover,.map-quick-start__card:focus-visible { border-color:rgba(169,236,255,.52); background:rgba(95,176,230,.11); outline:none; transform:translateY(-1px); }
.map-quick-start__icon { width:28px; height:28px; display:grid; flex:0 0 auto; place-items:center; border-radius:8px; font-size:13px; font-weight:800; }
.map-quick-start__icon--blue { color:#a9eaff; background:rgba(74,178,238,.16); }.map-quick-start__icon--coral{color:#ffba9b;background:rgba(255,108,70,.14)}.map-quick-start__icon--mint{color:#9cf4cf;background:rgba(86,212,157,.13)}.map-quick-start__icon--violet{color:#d4c6ff;background:rgba(129,93,255,.15)}
.map-quick-start__card b,.map-quick-start__card small { display:block; }.map-quick-start__card b { font-size:11px; letter-spacing:-.015em; }.map-quick-start__card small { margin-top:2px; color:var(--muted); font-size:9px; line-height:1.25; }
.hero__side--map { overflow:hidden; background:radial-gradient(circle at 60% 8%,rgba(77,174,234,.21),transparent 34%),linear-gradient(155deg,rgba(15,44,65,.96),rgba(5,16,29,.96)); }
.hero-map-orbit { position:relative; height:226px; margin:-10px -12px 8px; overflow:hidden; }
.hero-map-orbit img { position:absolute; z-index:2; top:52px; left:50%; width:86px; height:86px; transform:translateX(-50%); filter:drop-shadow(0 14px 22px rgba(0,0,0,.34)); }
.hero-map-orbit__ring { position:absolute; top:50%; left:50%; border:1px solid rgba(149,224,255,.27); border-radius:50%; transform:translate(-50%,-50%); }.hero-map-orbit__ring--a{width:178px;height:178px}.hero-map-orbit__ring--b{width:286px;height:286px;border-style:dashed;opacity:.63}
.hero-map-orbit__node { position:absolute; z-index:3; width:10px; height:10px; border:2px solid rgba(255,255,255,.55); border-radius:50%; background:var(--mint); box-shadow:0 0 0 5px rgba(116,236,193,.10); }.hero-map-orbit__node--a{top:51px;left:31%}.hero-map-orbit__node--b{top:135px;right:24%;background:var(--ice);box-shadow:0 0 0 5px rgba(169,236,255,.10)}.hero-map-orbit__node--c{bottom:14px;left:47%;background:var(--yellow);box-shadow:0 0 0 5px rgba(248,214,126,.10)}
.command-strip--map { margin-top:16px; }
.local-workbench--secondary { margin-top:72px; }

.map-choice-dialog { width:min(780px,calc(100% - 32px)); padding:0; overflow:hidden; color:var(--text); border:1px solid rgba(169,236,255,.29); border-radius:20px; background:linear-gradient(150deg,rgba(15,42,61,.98),rgba(5,16,29,.99)); box-shadow:0 34px 110px rgba(0,0,0,.62); }
.map-choice-dialog::backdrop,.map-experience::backdrop { background:rgba(0,8,17,.78); backdrop-filter:blur(9px); }
.map-choice-dialog__inner { position:relative; padding:30px; }.map-choice-dialog h2 { max-width:520px; margin:4px 0 10px; font-size:clamp(34px,5vw,52px); letter-spacing:-.06em; }.map-choice-dialog__intro { max-width:560px; margin:0; color:var(--muted-strong); font-size:14px; line-height:1.55; }
.map-choice-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:22px; }.map-choice-card { min-height:96px; display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:11px; padding:13px; color:var(--text); text-align:left; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.025); cursor:pointer; transition:transform .16s ease,border-color .16s ease,background .16s ease; }.map-choice-card:hover,.map-choice-card:focus-visible{outline:none;transform:translateY(-2px);border-color:rgba(169,236,255,.6);background:rgba(86,165,217,.13)}.map-choice-card>span:first-child{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;font-size:17px;font-weight:800}.map-choice-card strong,.map-choice-card small{display:block}.map-choice-card strong{font-size:14px;letter-spacing:-.03em}.map-choice-card small{margin-top:3px;color:var(--muted);font-size:10px;line-height:1.34}.map-choice-card i{color:var(--ice);font-style:normal;font-size:18px}.map-choice-card--blue>span:first-child{color:#a9eaff;background:rgba(74,178,238,.16)}.map-choice-card--coral>span:first-child{color:#ffc0a8;background:rgba(255,108,70,.14)}.map-choice-card--mint>span:first-child{color:#9cf4cf;background:rgba(86,212,157,.13)}.map-choice-card--violet>span:first-child{color:#d9ccff;background:rgba(129,93,255,.15)}
.map-choice-dialog__bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; padding-top:16px; border-top:1px solid rgba(169,236,255,.13); color:var(--muted); font-size:11px; line-height:1.4; }

body.map-experience-open { overflow:hidden; }
.map-experience { width:min(1480px,calc(100vw - 24px)); height:min(900px,calc(100vh - 24px)); max-width:none; max-height:none; margin:auto; padding:0; overflow:hidden; color:var(--text); border:1px solid rgba(169,236,255,.28); border-radius:20px; background:#071420; box-shadow:0 42px 130px rgba(0,0,0,.66); }
.map-experience__shell { height:100%; display:flex; flex-direction:column; }.map-experience__header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; flex:0 0 auto; padding:20px 22px 14px; border-bottom:1px solid rgba(169,236,255,.13); background:linear-gradient(135deg,rgba(18,52,74,.96),rgba(6,18,30,.98)); }.map-experience__heading { min-width:0; }.map-experience__heading h2 { margin:2px 0 5px; font-size:clamp(24px,3vw,38px); letter-spacing:-.055em; }.map-experience__heading p:not(.eyebrow) { margin:0; color:var(--muted); font-size:12px; line-height:1.42; }.map-experience__header-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.map-scenario-bar { display:flex; align-items:center; justify-content:space-between; gap:18px; flex:0 0 auto; padding:11px 22px; border-bottom:1px solid rgba(169,236,255,.13); background:rgba(4,14,24,.68); }.map-scenario-bar__label { display:flex; align-items:baseline; gap:8px; white-space:nowrap; }.map-scenario-bar__label span { color:var(--muted); font-size:10px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }.map-scenario-bar__label strong { color:var(--ice); font-size:14px; letter-spacing:-.025em; }
.map-group-switcher { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }.map-group-switch { min-height:30px; padding:0 10px; color:var(--muted); border:1px solid rgba(169,236,255,.16); border-radius:999px; background:rgba(255,255,255,.025); font:600 10px/1 Arial,sans-serif; cursor:pointer; transition:all .15s ease; }.map-group-switch:hover,.map-group-switch:focus-visible,.map-group-switch.is-active { color:var(--ice); border-color:rgba(169,236,255,.55); background:rgba(89,176,230,.16); outline:none; }.map-group-switch.is-active { box-shadow:inset 0 0 0 1px rgba(169,236,255,.13); }
.map-experience__body { min-height:0; flex:1 1 auto; display:grid; grid-template-columns:minmax(0,1.66fr) minmax(300px,.66fr); }.map-stage { position:relative; min-width:0; min-height:0; display:flex; flex-direction:column; padding:13px; border-right:1px solid rgba(169,236,255,.13); background:linear-gradient(145deg,rgba(11,31,47,.87),rgba(6,18,30,.96)); }.map-stage__toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; flex:0 0 auto; margin-bottom:8px; }.map-stage__toolbar-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:6px; }.map-status { min-height:18px; margin:0 0 7px; color:var(--muted); font-size:11px; line-height:1.35; }.map-status[data-kind=success]{color:var(--mint)}.map-status[data-kind=warning]{color:var(--yellow)}.map-status[data-kind=error]{color:var(--pink)}.map-status[data-kind=loading]{color:var(--ice)}
.live-map-canvas { min-height:0; flex:1 1 auto; overflow:hidden; border:1px solid rgba(169,236,255,.21); border-radius:14px; background:radial-gradient(circle at 50% 43%,rgba(83,167,214,.18),transparent 30rem),#0b1b2a; }.live-map-canvas.is-fallback{display:grid;place-items:center;min-height:360px;background:radial-gradient(circle at 50% 43%,rgba(83,167,214,.16),transparent 26rem),#0b1b2a}.live-map-canvas.is-fallback::after{content:"La mappa interattiva si abilita con la Browser API key";padding:20px;color:var(--muted);font-size:12px;text-align:center}.map-fallback{display:grid;gap:3px;margin:0 0 8px;padding:9px 11px;border:1px solid rgba(248,214,126,.27);border-radius:10px;background:rgba(248,214,126,.07);color:var(--muted-strong);font-size:10px;line-height:1.38}.map-fallback strong{color:var(--yellow);font-size:10px}.live-map-legend { display:flex; flex-wrap:wrap; gap:9px 14px; flex:0 0 auto; margin-top:9px; color:var(--muted); font-size:10px; }.live-map-legend span { display:inline-flex; align-items:center; gap:5px; }
.map-console { min-width:0; min-height:0; display:flex; flex-direction:column; background:linear-gradient(180deg,rgba(11,29,44,.96),rgba(5,16,28,.98)); }.map-console__section { flex:0 0 auto; padding:15px 16px; border-bottom:1px solid rgba(169,236,255,.13); }.map-console__section-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }.map-console__section-head>span { color:var(--text); font-size:12px; font-weight:700; letter-spacing:-.02em; }.map-console__section-head small { color:var(--muted); font-size:10px; }
.map-layer-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }.map-layer-chip { display:inline-flex; align-items:center; gap:5px; min-height:29px; padding:0 8px; color:var(--muted); border:1px solid rgba(169,236,255,.14); border-radius:8px; background:rgba(255,255,255,.025); font:600 10px/1 Arial,sans-serif; cursor:pointer; }.map-layer-chip span { width:15px; height:15px; display:grid; place-items:center; color:var(--ice); border-radius:4px; background:rgba(89,176,230,.13); font-size:8px; }.map-layer-chip:hover,.map-layer-chip:focus-visible,.map-layer-chip.is-active { color:var(--text); border-color:rgba(114,236,193,.52); background:rgba(114,236,193,.10); outline:none; }.map-layer-chip.is-active span{color:#083223;background:var(--mint)}
.map-display-modes { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:9px; }.map-display-modes button { min-height:30px; color:var(--muted); border:1px solid rgba(169,236,255,.14); border-radius:8px; background:rgba(255,255,255,.025); font:600 10px/1 Arial,sans-serif; cursor:pointer; }.map-display-modes button:hover,.map-display-modes button:focus-visible,.map-display-modes button.is-active{color:var(--ice);border-color:rgba(169,236,255,.55);background:rgba(89,176,230,.14);outline:none}
.map-console__results { min-height:0; flex:1 1 auto; overflow:auto; overscroll-behavior:contain; padding:6px 16px 14px; }.live-map-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:start; gap:8px; min-width:0; padding:10px 0; border-bottom:1px solid rgba(177,224,255,.1); }.live-map-row:last-child { border-bottom:0; }.live-map-row.is-moving { background:linear-gradient(90deg,rgba(114,236,193,.06),transparent); }.live-map-row__dot { width:7px; height:7px; margin-top:7px; border-radius:50%; background:var(--ice); }.live-map-row__dot--moving { background:var(--mint); box-shadow:0 0 0 3px rgba(114,236,193,.11); animation:scoutee-live-pulse 1.6s ease-out infinite; }.live-map-row div { min-width:0; }.live-map-row__focus { width:100%; overflow:hidden; padding:0; color:var(--text); border:0; background:transparent; font:600 11px/1.25 Arial,sans-serif; text-align:left; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }.live-map-row__focus:hover,.live-map-row__focus:focus-visible { color:var(--ice); outline:none; }.live-map-row small { display:block; overflow:hidden; margin-top:3px; color:var(--muted); font-size:10px; line-height:1.32; text-overflow:ellipsis; white-space:nowrap; }.live-map-row>a { width:22px; height:22px; display:grid; place-items:center; color:var(--ice); border:1px solid rgba(169,236,255,.15); border-radius:6px; font-size:12px; }.live-map-row>a:hover { border-color:rgba(169,236,255,.55); background:rgba(89,176,230,.13); }.live-map-list__empty { margin:0; padding:18px 0; color:var(--muted); font-size:11px; line-height:1.48; }
.map-info { display:grid; gap:5px; max-width:250px; padding:3px 2px; color:#0c1b28; font-family:Arial,sans-serif; }.map-info small{color:#4c5b65;line-height:1.35}.map-info a{color:#006f8d;font-weight:700;text-decoration:none}.live-marker--origin{color:#fff;background:#294d6b;border-color:#fff;font-size:15px;box-shadow:0 0 0 5px rgba(41,77,107,.18),0 5px 16px rgba(0,0,0,.33)}

@media (max-width: 900px) { .map-quick-start { grid-template-columns:repeat(2,minmax(0,1fr)); }.map-experience { width:calc(100vw - 16px); height:calc(100vh - 16px); border-radius:15px; }.map-experience__body { grid-template-columns:1fr; grid-template-rows:minmax(340px,1.1fr) minmax(255px,.8fr); }.map-stage { border-right:0; border-bottom:1px solid rgba(169,236,255,.13); }.map-console__results { max-height:260px; }.map-scenario-bar { align-items:flex-start; flex-direction:column; gap:8px; }.map-group-switcher { justify-content:flex-start; }.live-map-canvas { min-height:0; }.live-map-canvas.is-fallback{min-height:290px;} }
@media (max-width: 620px) { .topnav__map { display:none; }.map-priority-bar { align-items:flex-start; flex-direction:column; }.map-priority-bar__cta { width:100%; }.map-quick-start { gap:7px; }.map-quick-start__card { min-height:60px; }.map-choice-dialog { width:calc(100% - 18px); border-radius:16px; }.map-choice-dialog__inner { padding:22px 18px 18px; }.map-choice-groups { grid-template-columns:1fr; margin-top:16px; }.map-choice-card { min-height:74px; }.map-choice-dialog__bottom { align-items:flex-start; flex-direction:column; }.map-experience { width:100vw; height:100dvh; border:0; border-radius:0; }.map-experience__header { padding:15px 14px 11px; }.map-experience__header-actions { gap:6px; }.map-experience__header-actions .button { min-height:30px; padding:0 8px; font-size:10px; }.map-experience__heading h2 { font-size:26px; }.map-scenario-bar { padding:9px 14px; }.map-group-switcher { width:100%; flex-wrap:nowrap; overflow:auto; scrollbar-width:none; }.map-group-switch { flex:0 0 auto; }.map-experience__body { grid-template-rows:minmax(300px,1.12fr) minmax(275px,.88fr); }.map-stage { padding:10px; }.map-stage__toolbar { align-items:flex-start; flex-direction:column; }.map-stage__toolbar-actions { width:100%; justify-content:stretch; }.map-stage__toolbar-actions .button { flex:1; min-width:0; padding:0 7px; font-size:9px; }.map-radius { width:100%; }.map-radius button { flex:1; }.map-console__section { padding:12px 14px; }.map-console__results { padding:5px 14px 11px; }.live-map-canvas.is-fallback{min-height:250px;} }
@media (prefers-reduced-motion: reduce) { .hero-map-orbit__ring,.live-map-row__dot--moving { animation:none!important; } }
