:root {
  color-scheme: dark;
  --bg: #02080b;
  --surface: #061014;
  --surface-2: #09161b;
  --surface-3: #0c1b21;
  --line: rgba(151, 190, 202, 0.2);
  --line-strong: rgba(157, 206, 220, 0.34);
  --text: #f3f7f7;
  --muted: #93a1a5;
  --subtle: #64747a;
  --cyan: #61c9f2;
  --cyan-bright: #a4e8ff;
  --lime: #87e52e;
  --orange: #ff8a00;
  --yellow: #ffd237;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 64px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { min-width: 320px; min-height: 100dvh; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; }
button, a { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: fixed; width: 0; height: 0; pointer-events: none; }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 18px; padding: 11px 16px; border-radius: 9px; background: #fff; color: #031014; font-weight: 750; transition: top 180ms ease; }
.skip-link:focus { top: 12px; }

.topbar {
  position: relative;
  z-index: 30;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(280px, 1fr);
  align-items: stretch;
  padding-left: clamp(18px, 2vw, 32px);
  border-bottom: 1px solid var(--line);
  background: rgba(2, 8, 11, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.wordmark { align-self: center; width: fit-content; display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.wordmark strong { font-size: clamp(20px, 1.65vw, 26px); line-height: 1; letter-spacing: -0.045em; }
.wordmark span { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.topnav { display: flex; align-items: stretch; }
.topnav :is(a, button) { position: relative; min-width: 98px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-left: 1px solid transparent; border-right: 1px solid transparent; background: transparent; color: #7f8b8f; font-size: 12px; text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.topnav :is(a, button) svg { width: 18px; }
.topnav :is(a, button):hover { color: var(--text); background: rgba(255,255,255,.035); }
.topnav :is(a, button).active { color: var(--cyan); border-color: var(--line); background: linear-gradient(180deg, rgba(84, 188, 228, .1), transparent); }
.topnav :is(a, button).active::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; background: var(--cyan); box-shadow: 0 0 18px rgba(97, 201, 242, .82); }
.topbar-end { justify-self: end; min-width: 0; display: flex; align-items: stretch; }
.compare-link { align-self: center; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; margin-right: 10px; border: 1px solid rgba(97, 201, 242, .28); border-radius: 10px; background: rgba(97, 201, 242, .07); color: var(--cyan-bright); text-decoration: none; font-size: 10px; font-weight: 740; letter-spacing: .04em; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease; }
.compare-link:hover { border-color: rgba(97, 201, 242, .56); background: rgba(97, 201, 242, .12); }
.system-live { align-self: center; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; margin-right: 10px; border: 1px solid rgba(135,229,46,.2); border-radius: 10px; background: rgba(135,229,46,.055); color: #c8f5a0; font-size: 9px; font-weight: 760; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.system-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(135,229,46,.9); animation: system-breathe 2.4s ease-in-out infinite; }
.account-switcher { min-width: 240px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: 10px; padding: 0 18px; border: 0; border-left: 1px solid var(--line); background: transparent; text-align: left; }
.account-switcher:hover { background: rgba(255,255,255,.025); }
.account-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(145deg, #d5e6e9, #829ba2); color: #073e67; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.account-mark svg { width: 22px; stroke-width: 2.2; }
.account-switcher strong, .account-switcher small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-switcher strong { font-size: 11px; font-weight: 600; }
.account-switcher small { color: var(--subtle); font-size: 9px; }
.account-switcher .chevron { width: 14px; color: var(--muted); }
.menu-button { display: none; width: 50px; place-items: center; padding: 0; border: 0; border-left: 1px solid var(--line); background: transparent; }

.radar-dashboard {
  height: calc(100dvh - var(--header-height) - 120px);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(370px, 27vw, 440px);
  background: var(--bg);
}

.map-stage { position: relative; min-width: 0; min-height: 620px; overflow: hidden; border-right: 1px solid var(--line); background: #02090c; isolation: isolate; }
.radar-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(1.02) brightness(.96) contrast(1.12); transform: scale(1.012); transition: object-position 600ms var(--ease), filter 300ms ease, transform 650ms var(--ease); }
#radarCanvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .74; mix-blend-mode: screen; }
.map-grid { position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(87, 198, 222, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(87, 198, 222, .1) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, #000, #000 70%, transparent 96%); }
.map-shade { position: absolute; z-index: 3; inset: 0; pointer-events: none; background: radial-gradient(circle at 58% 56%, transparent 0 16%, rgba(0, 5, 8, .015) 33%, rgba(0, 5, 8, .26) 100%), linear-gradient(90deg, rgba(2, 8, 11, .015), transparent 58%, rgba(2, 8, 11, .48)); }
.map-head { position: absolute; z-index: 15; top: 20px; left: 24px; right: 160px; min-height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; pointer-events: none; }
.map-head > * { pointer-events: auto; }
.severity { display: flex; align-items: center; gap: 12px; text-transform: uppercase; }
.severity-icon { position: relative; width: 58px; height: 54px; display: grid; place-items: center; color: var(--orange); background: var(--orange); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.severity-icon::before { content: ""; position: absolute; inset: 2px; background: rgba(7, 17, 22, .96); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.severity-icon svg { position: relative; width: 31px; height: 31px; }
.severity strong, .severity small { display: block; }
.severity strong { color: var(--orange); font-size: 18px; letter-spacing: .11em; }
.severity small { color: #d5dddf; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.city-control { position: relative; }
.city-selector { min-height: 46px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(2, 10, 14, .68); box-shadow: 0 12px 35px rgba(0,0,0,.2); font-size: clamp(18px, 1.7vw, 27px); font-weight: 520; letter-spacing: -.03em; backdrop-filter: blur(16px); }
.city-selector:hover { border-color: var(--line-strong); background: rgba(5, 17, 21, .72); }
.city-selector svg { width: 18px; }
.lead-score { justify-self: end; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: end; padding: 5px 10px; border-radius: 12px; background: rgba(2, 10, 14, .46); backdrop-filter: blur(12px); }
.lead-score span { grid-column: 1 / -1; color: #d5dadd; font-size: 11px; }
.lead-score strong { color: var(--lime); font-size: 51px; line-height: .9; font-weight: 660; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(135, 229, 46, .22); }
.lead-score i { min-width: 38px; padding: 4px 7px; margin-bottom: 5px; border-radius: 99px; background: rgba(135, 229, 46, .11); color: var(--lime); font-size: 8px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.houston-origin { position: absolute; z-index: 4; left: 52.5%; top: 53%; transform: translate(-50%, -50%); display: grid; place-items: center; color: #c9f4ff; filter: drop-shadow(0 0 14px rgba(93, 220, 255, .72)); }
.houston-origin::before { content: ""; position: absolute; width: min(42vw, 580px); aspect-ratio: 1.45; bottom: 7px; left: 50%; transform: translateX(-50%); background: conic-gradient(from 225deg at 50% 100%, transparent 0 39%, rgba(36, 201, 235, .28) 40% 60%, transparent 61%); clip-path: polygon(50% 100%, 0 0, 100% 0); opacity: .8; }
.houston-origin::after { content: ""; width: 20px; height: 9px; border-radius: 50%; background: #06181d; border: 2px solid #73dcff; box-shadow: 0 0 30px #44cbff; }
.houston-origin strong { margin-top: 5px; font-size: 19px; font-weight: 510; text-shadow: 0 2px 8px #001015; }

.neighborhoods { position: absolute; z-index: 5; inset: 0 150px 0 0; pointer-events: none; }
.neighborhood { --status: var(--lime); position: absolute; width: 84px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 11px 6px 6px; border: 1px solid var(--status); border-radius: 50%; background: rgba(2, 11, 15, .9); color: #eef5f6; box-shadow: 0 0 0 4px rgba(2, 10, 13, .28), 0 8px 24px rgba(0,0,0,.35); text-align: center; pointer-events: auto; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.neighborhood:hover { transform: translateY(-3px) scale(1.04); background: rgba(7, 24, 29, .96); box-shadow: 0 0 0 4px rgba(2, 10, 13, .28), 0 11px 32px color-mix(in srgb, var(--status) 20%, transparent); }
.neighborhood:active { transform: scale(.97); }
.neighborhood.selected { border-width: 2px; background: rgba(8,28,35,.97); box-shadow: 0 0 0 3px rgba(232,249,255,.9), 0 0 0 7px rgba(2,10,13,.58), 0 0 34px color-mix(in srgb, var(--status) 42%, transparent); }
.neighborhood.unposted { --status: var(--orange); }
.neighborhood i { position: absolute; top: -7px; width: 21px; height: 21px; display: grid; place-items: center; border: 2px solid #061115; border-radius: 50%; background: var(--status); color: #031013; font-size: 12px; font-style: normal; font-weight: 900; }
.neighborhood.posted i::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--status); border-radius: inherit; animation: status-pulse 2.6s var(--ease) infinite; }
.neighborhood i svg { width: 14px; height: 14px; stroke-width: 2.7; }
.neighborhood strong { font-size: 10px; line-height: 1.28; font-weight: 560; text-transform: uppercase; }
.neighborhood span { margin-top: 3px; color: var(--status); font-size: 10px; }
.n-cypress { left: 10%; top: 36%; }
.n-north { left: 43%; top: 25%; }
.n-east { right: 9%; top: 39%; }
.n-katy { left: 6%; top: 61%; }
.n-missouri { left: 32%; top: 72%; }
.n-pearland { left: 56%; top: 75%; }
.n-clear-lake { right: 5%; top: 70%; }

.forecast-rail { position: absolute; z-index: 8; top: 0; right: 0; bottom: 0; width: 150px; display: grid; grid-template-rows: repeat(4, 1fr); padding: 18px 0; border-left: 1px solid rgba(150, 194, 207, .22); background: linear-gradient(90deg, rgba(2, 11, 14, .48), rgba(2, 9, 12, .94) 26%); backdrop-filter: blur(7px); }
.timeline-line { position: absolute; z-index: 0; left: 18px; top: 33px; bottom: 33px; width: 2px; overflow: hidden; background: rgba(174, 226, 239, .35); box-shadow: 0 0 8px rgba(81, 204, 234, .18); }
.timeline-line span { position: absolute; left: 0; right: 0; top: 0; height: 0%; background: var(--cyan-bright); box-shadow: 0 0 11px var(--cyan); transition: height 420ms var(--ease); }
.time-stop { position: relative; z-index: 1; min-width: 0; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 4px; padding: 5px 8px 5px 0; border: 0; background: transparent; text-align: left; }
.time-stop::before { content: ""; position: absolute; left: 18px; right: calc(100% - 53px); height: 1px; background: rgba(129, 202, 220, .4); }
.time-stop > i { position: relative; justify-self: center; width: 11px; height: 11px; border: 2px solid #dceef1; border-radius: 50%; background: #566368; box-shadow: 0 0 0 3px rgba(3, 11, 14, .8); transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.time-stop:hover > i { transform: scale(1.25); }
.time-stop.active > i { background: var(--cyan); box-shadow: 0 0 0 3px #041013, 0 0 16px var(--cyan); }
.time-stop.critical > i { border-color: #fff; background: var(--orange); box-shadow: 0 0 0 3px #2b1604, 0 0 15px rgba(255, 138, 0, .7); }
.time-stop > span { min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px; padding-left: 4px; }
.time-stop strong { font-size: 19px; font-weight: 570; text-transform: uppercase; }
.time-stop svg { width: 25px; height: 25px; color: #d7e0e2; }
.time-stop small { grid-column: 1 / -1; color: #b1bbbe; font-size: 9px; line-height: 1.5; }
.time-stop.active strong { color: #f8fbfb; }
.time-stop.critical strong { color: var(--orange); }

.mission-panel { min-width: 0; overflow-y: auto; margin: 20px 18px 20px 12px; padding: 22px 18px 18px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(circle at 50% -5%, rgba(47, 127, 153, .11), transparent 28%), linear-gradient(180deg, rgba(3,10,13,.96), rgba(4,13,17,.98)); box-shadow: 0 22px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.025); }
.panel-label { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--cyan); }
.panel-label span { width: 9px; height: 1px; background: var(--cyan); }
.panel-label h1 { margin: 0; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: .14em; }
.impact-card { margin-bottom: 14px; padding: 14px; border: 1px solid rgba(97,201,242,.3); border-radius: 16px; background: radial-gradient(circle at 92% 4%,rgba(97,201,242,.14),transparent 36%),linear-gradient(150deg,rgba(8,30,39,.92),rgba(3,13,18,.96)); box-shadow: inset 0 1px 0 rgba(255,255,255,.045),0 18px 40px rgba(0,0,0,.16); }
.impact-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.impact-card > header span { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan-bright); font-size: 8px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.impact-card > header span i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.impact-card > header > strong { min-height: 25px; display: inline-flex; align-items: center; padding: 0 9px; border: 1px solid rgba(255,138,0,.28); border-radius: 99px; background: rgba(255,138,0,.08); color: #ffb352; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.impact-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 14px; margin-top: 11px; }
.impact-summary small { color: #84979d; font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.impact-summary h2 { margin: 1px 0 1px; font-size: 20px; line-height: 1.05; letter-spacing: -.035em; }
.impact-summary p { margin: 0; color: #91a4a9; font-size: 9px; line-height: 1.45; }
.impact-summary > strong { color: var(--lime); font-size: 44px; line-height: .9; font-weight: 650; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(135,229,46,.22); }
.impact-risk { margin-top: 13px; }
.impact-risk > span { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: #8fa0a5; font-size: 8px; }
.impact-risk b { font-weight: 570; }
.impact-risk strong { color: #eef7f8; font-size: 9px; }
.impact-risk > div { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(147,202,218,.12); }
.impact-risk > div i { width: 100%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--cyan),var(--lime) 62%,var(--orange)); box-shadow: 0 0 12px rgba(97,201,242,.4); transform: scaleX(.88); transform-origin: left; transition: transform 380ms var(--ease); }
.impact-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 11px; }
.impact-metrics > div { min-width: 0; display: flex; align-items: center; gap: 7px; padding: 8px; border: 1px solid rgba(146,201,217,.13); border-radius: 10px; background: rgba(255,255,255,.022); }
.impact-metrics svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--cyan); }
.impact-metrics span,.impact-metrics strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.impact-metrics span { min-width: 0; color: #75878c; font-size: 7px; text-transform: uppercase; letter-spacing: .04em; }
.impact-metrics strong { margin-top: 2px; color: #e5edef; font-size: 9px; letter-spacing: 0; text-transform: none; }
.impact-card > footer { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 11px; }
.impact-status-action,.impact-open-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border-radius: 11px; font-size: 9px; font-weight: 720; text-decoration: none; transition: transform 180ms ease,background 180ms ease,border-color 180ms ease; }
.impact-status-action { border: 1px solid rgba(255,151,31,.45); background: rgba(255,138,0,.1); color: #ffc074; }
.impact-status-action.posted { border-color: rgba(135,229,46,.3); background: rgba(135,229,46,.08); color: #b9ef87; }
.impact-open-action { border: 1px solid rgba(97,201,242,.28); background: rgba(97,201,242,.07); color: var(--cyan-bright); }
.impact-status-action:hover,.impact-open-action:hover { transform: translateY(-1px); background-color: rgba(97,201,242,.13); }
.impact-status-action svg,.impact-open-action svg { width: 15px; height: 15px; }
.generated-post { padding: 15px; border: 1px solid var(--line-strong); border-radius: 16px; background: linear-gradient(160deg, rgba(8, 22, 27, .88), rgba(2, 8, 11, .78)); box-shadow: 0 18px 40px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035); }
.generated-post > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.generated-post > header h2 { margin: 0; font-size: 16px; font-weight: 560; letter-spacing: -.02em; }
.generated-post > header span { display: inline-flex; align-items: center; gap: 5px; color: var(--lime); font-size: 10px; }
.generated-post > header svg { width: 17px; height: 17px; padding: 2px; border: 1px solid var(--lime); border-radius: 50%; stroke-width: 2.4; }
.post-preview { position: relative; height: 205px; overflow: hidden; border: 1px solid rgba(170, 211, 222, .25); border-radius: 13px 13px 0 0; background: #09161d; }
.post-preview > img { position: relative; z-index: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: brightness(.72) contrast(1.1) saturate(.82); transition: filter 220ms ease, transform 450ms var(--ease); }
.post-preview:hover > img { filter: brightness(.82) contrast(1.08) saturate(.9); transform: scale(1.02); }
.post-preview::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 10, 14, .05), rgba(1, 7, 9, .08) 45%, rgba(1, 6, 8, .5)); }
.post-brand { position: absolute; z-index: 2; top: 28px; left: 21px; min-width: 104px; display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 9px; background: rgba(2, 10, 14, .72); color: #f4f7f8; backdrop-filter: blur(8px); }
.post-brand span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 7px; background: linear-gradient(145deg, #e2e9e9, #9babb0); color: #09527e; }
.post-brand svg { width: 23px; }
.post-brand strong { font-size: 10px; line-height: 1.2; font-weight: 570; }
.more-button { position: absolute; z-index: 3; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(219,239,244,.24); border-radius: 11px; background: rgba(2,9,12,.55); color: #e5eef0; backdrop-filter: blur(9px); transition: background 180ms ease, transform 180ms ease; }
.more-button:hover { background: rgba(8,30,37,.82); transform: translateY(-1px); }
.more-button svg { width: 18px; height: 18px; }
.post-copy { padding: 11px 11px 3px; border: 1px solid rgba(170, 211, 222, .25); border-top: 0; border-radius: 0 0 13px 13px; background: rgba(2, 9, 12, .5); }
.post-copy p { margin: 0 0 9px; color: #d6dfe1; font-size: 11px; line-height: 1.55; }
.post-copy p:first-child { color: #e8eff0; }
.post-copy .alert-icon { width: 15px; height: 15px; margin-right: 5px; color: var(--yellow); vertical-align: -3px; fill: var(--yellow); stroke: #161101; stroke-width: 1.4; }
.post-copy ul { display: grid; gap: 5px; margin: 10px 0; padding: 0; list-style: none; }
.post-copy li { display: flex; align-items: center; gap: 8px; color: #bdc8ca; font-size: 10px; }
.post-copy li svg { width: 16px; height: 16px; color: var(--cyan); }
.post-copy li:nth-child(2) svg { color: #bbc4c6; }
.post-copy li:nth-child(3) svg { color: var(--lime); }
.post-copy small { color: #8d9b9f; font-size: 9px; }

.launch-card { position: relative; min-height: 149px; display: grid; grid-template-columns: 1fr 84px; gap: 12px; align-items: center; margin-top: 16px; padding: 16px 16px 33px; overflow: hidden; border: 1px solid var(--orange); border-radius: 12px; background: radial-gradient(circle at 80% 40%, rgba(255, 138, 0, .17), transparent 28%), linear-gradient(145deg, rgba(45, 25, 7, .54), rgba(16, 13, 9, .68)); box-shadow: inset 0 1px 0 rgba(255, 194, 105, .08); transition: border-color 240ms ease, background 240ms ease; }
.launch-card > div > span { color: var(--orange); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.launch-card h2 { margin: 1px 0 8px; font-size: 22px; font-weight: 580; letter-spacing: -.035em; text-transform: capitalize; }
.launch-card p { display: flex; align-items: center; gap: 7px; margin: 5px 0; color: #bac5c7; font-size: 10px; }
.launch-card p svg { width: 15px; height: 15px; }
.launch-card p strong { color: #edf1f2; font-size: 11px; }
.launch-button { width: 76px; height: 76px; display: grid; place-items: center; padding: 0; border: 1px solid #ffb35b; border-radius: 50%; background: linear-gradient(155deg, #ff9c2d, #ee6200); color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,.32), 0 12px 28px rgba(238, 98, 0, .23); transition: transform 180ms ease, filter 180ms ease; }
.launch-button:hover { transform: translateY(-2px) rotate(-3deg); filter: brightness(1.1); }
.launch-button:active { transform: scale(.96); }
.launch-button svg { width: 35px; height: 35px; stroke-width: 1.35; }
.launch-card footer { position: absolute; left: 15px; right: 15px; bottom: 0; height: 28px; display: flex; align-items: center; gap: 4px; border-top: 1px solid rgba(255, 173, 76, .15); color: #9fa9ab; font-size: 9px; }
.launch-card footer strong { color: var(--orange); }
.launch-card.launched { border-color: var(--lime); background: radial-gradient(circle at 80% 40%, rgba(135, 229, 46, .12), transparent 28%), linear-gradient(145deg, rgba(17, 37, 12, .55), rgba(9, 17, 8, .68)); }
.launch-card.launched .launch-button { border-color: #b8f27f; background: linear-gradient(145deg, #8ae735, #4fa91a); box-shadow: 0 12px 28px rgba(96, 187, 31, .22); }
.launch-card.launched > div > span, .launch-card.launched footer strong { color: var(--lime); }

.telemetry { height: 120px; min-height: 0; display: grid; grid-template-columns: 1.25fr repeat(5, 1fr) .8fr; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, #071115, #050d10); }
.telemetry > div, .telemetry > time, .telemetry > button { min-width: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; align-items: center; column-gap: 12px; padding: 18px clamp(13px, 1.5vw, 24px); border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; }
.telemetry > div > svg { grid-row: 1 / -1; width: 36px; height: 36px; color: var(--cyan); }
.telemetry > div > strong { align-self: end; font-size: clamp(20px, 2vw, 31px); line-height: 1; font-weight: 560; font-variant-numeric: tabular-nums; white-space: nowrap; }
.telemetry > div > strong small { margin-left: 5px; color: #bcc6c8; font-size: 9px; font-weight: 500; }
.telemetry > div > span { align-self: start; margin-top: 5px; color: #8f9b9e; font-size: 10px; }
.telemetry small { display: block; color: #77878b; font-size: 9px; }
.telemetry .weather-now > svg { width: 46px; height: 46px; color: #b8c3c6; }
.telemetry .weather-now strong { font-size: clamp(30px, 2.9vw, 46px); }
.telemetry .weather-now sup { margin-left: 3px; font-size: .38em; }
.telemetry .weather-now span { align-self: center; color: #dfe6e7; font-size: 13px; }
.telemetry .strike-stat > svg { color: var(--orange); fill: var(--orange); }
.telemetry .strike-stat span small { color: var(--orange); }
.forecast-trigger { cursor: pointer; color: var(--text); transition: background 180ms ease, color 180ms ease; }
.forecast-trigger:hover, .forecast-trigger[aria-expanded="true"] { background: linear-gradient(135deg, rgba(32, 160, 213, .14), rgba(135, 229, 46, .04)); }
.forecast-trigger-icon { position: relative; grid-row: 1 / -1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(97,201,242,.34); border-radius: 12px; color: var(--cyan); background: rgba(97,201,242,.08); box-shadow: 0 0 24px rgba(54,188,237,.13); }
.forecast-trigger-icon svg { width: 27px; height: 27px; }
.forecast-trigger-icon i { position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border: 2px solid #071115; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.forecast-trigger > span:last-child { align-self: center; color: #e7f5f8; font-size: 11px; font-weight: 650; }
.forecast-trigger small { margin-top: 4px; font-weight: 450; }
.telemetry time { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; }
.telemetry time strong { font-size: 18px; font-weight: 530; white-space: nowrap; }
.telemetry time small { margin-top: 6px; }

.toast { position: fixed; z-index: 100; right: 20px; bottom: 136px; max-width: min(360px, calc(100vw - 32px)); min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(6, 20, 25, .95); color: #eef5f6; box-shadow: 0 20px 60px rgba(0,0,0,.42); backdrop-filter: blur(18px); font-size: 11px; font-weight: 620; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 180ms ease, transform 220ms var(--ease); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 18px; color: var(--lime); }

.topbar-end { position: relative; }
.account-menu, .city-menu { position: absolute; z-index: 60; display: grid; gap: 5px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(4, 15, 19, .96); box-shadow: 0 24px 70px rgba(0,0,0,.48); backdrop-filter: blur(24px) saturate(130%); opacity: 0; transform: translateY(-7px) scale(.98); pointer-events: none; transition: opacity 160ms ease, transform 220ms var(--ease); }
.account-menu.open, .city-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.account-menu { top: 59px; right: 8px; width: 292px; }
.city-menu { top: 55px; left: 50%; width: 274px; transform: translate(-50%, -7px) scale(.98); }
.city-menu.open { transform: translate(-50%, 0) scale(1); }
.account-menu > span, .city-menu > span { padding: 4px 8px 7px; color: var(--cyan); font-size: 8px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.account-menu button, .city-menu button { min-height: 58px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid transparent; border-radius: 11px; background: transparent; text-align: left; }
.account-menu button:hover, .city-menu button:hover { border-color: var(--line); background: rgba(255,255,255,.045); }
.account-menu button.active, .city-menu button.active { border-color: rgba(97,201,242,.25); background: rgba(97,201,242,.08); }
.account-menu button > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg,#244d60,#0f2935); color: #bcecff; font-size: 9px; font-style: normal; font-weight: 800; }
.city-menu button > i { width: 10px; height: 10px; justify-self: center; border: 2px solid #718287; border-radius: 50%; }
.city-menu button.active > i { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 12px rgba(135,229,46,.5); }
.account-menu button span, .city-menu button span { min-width: 0; }
.account-menu strong, .account-menu small, .city-menu strong, .city-menu small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu strong, .city-menu strong { font-size: 11px; }
.account-menu small, .city-menu small { margin-top: 2px; color: var(--subtle); font-size: 8px; }
.account-menu button > svg, .city-menu button > svg { width: 15px; color: var(--lime); }

.map-tools { position: absolute; z-index: 10; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: rgba(2,10,13,.72); box-shadow: 0 12px 34px rgba(0,0,0,.3); backdrop-filter: blur(16px); }
.map-tools button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #839398; font-size: 9px; font-weight: 680; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.map-tools button:hover { color: var(--text); background: rgba(255,255,255,.045); }
.map-tools button.active { border-color: rgba(97,201,242,.24); background: rgba(97,201,242,.1); color: var(--cyan-bright); }
.map-tools button svg { width: 16px; height: 16px; }
/* `display` on the rule above outranks the UA [hidden] rule — restore it, or
   the satellite toggle stays visible on the keyless map. */
.map-tools button[hidden] { display: none !important; }
.map-tools .animation-button { width: 40px; padding: 0; border-left-color: var(--line); }
.map-stage[data-layer="lightning"] .radar-photo { filter: saturate(.82) brightness(.88) contrast(1.2); }
.map-stage[data-layer="lightning"] #radarCanvas { opacity: .9; }
.map-stage.radar-paused #radarCanvas { opacity: .35; }

.weekly-forecast { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; overflow: hidden; background: #02080b; transition: grid-template-rows 420ms var(--ease), opacity 240ms ease, visibility 0s linear 420ms; }
.weekly-forecast.open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.forecast-scene { --scene-a: #0b2538; --scene-b: #07131d; --scene-c: #132b3d; position: relative; min-height: 0; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 78% 12%, rgba(103,205,255,.26), transparent 29%), linear-gradient(145deg, var(--scene-a), var(--scene-b) 52%, var(--scene-c)); transition: background 420ms ease; }
.weekly-forecast.open .forecast-scene { min-height: 540px; }
.forecast-scene::before { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .72; background: radial-gradient(ellipse at 25% 30%, rgba(151,206,231,.2), transparent 31%), radial-gradient(ellipse at 62% 0%, rgba(193,225,239,.14), transparent 38%), linear-gradient(118deg, transparent 35%, rgba(255,255,255,.05), transparent 62%); transition: opacity 320ms ease; }
.forecast-scene::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(1,8,14,.04), rgba(1,7,12,.7)); pointer-events: none; }
.forecast-scene[data-condition="storm"] { --scene-a: #17364a; --scene-b: #071725; --scene-c: #281b34; }
.forecast-scene[data-condition="rain"] { --scene-a: #1f5267; --scene-b: #0b2939; --scene-c: #102331; }
.forecast-scene[data-condition="cloudy"] { --scene-a: #536777; --scene-b: #203644; --scene-c: #0e2432; }
.forecast-scene[data-condition="partly"] { --scene-a: #327da9; --scene-b: #194c70; --scene-c: #a66022; }
.forecast-scene[data-condition="clear"] { --scene-a: #1484c5; --scene-b: #1c5f94; --scene-c: #f39a32; }
.weather-effects { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.weather-effects span { position: absolute; width: 44vw; height: 18vw; min-height: 120px; border-radius: 50%; opacity: .3; filter: blur(26px); background: rgba(202,226,238,.46); animation: cloud-drift 18s ease-in-out infinite alternate; }
.weather-effects span:nth-child(1) { left: -10%; top: 2%; }
.weather-effects span:nth-child(2) { right: -6%; top: 15%; animation-delay: -7s; animation-duration: 22s; }
.weather-effects span:nth-child(3) { left: 28%; bottom: 1%; opacity: .15; animation-delay: -12s; }
.weather-effects span:nth-child(4) { right: 8%; top: -8%; opacity: .18; animation-delay: -3s; }
.weather-effects::before { content: ""; position: absolute; inset: -30% 0 0; opacity: 0; background-image: repeating-linear-gradient(108deg, transparent 0 25px, rgba(198,235,255,.4) 26px 27px, transparent 28px 52px); transform: translate3d(0,-24%,0); animation: rain-fall 1.15s linear infinite; transition: opacity 280ms ease; }
.weather-effects::after { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 72% 18%, rgba(255,255,255,.82), transparent 9%), linear-gradient(115deg, transparent 46%, rgba(226,247,255,.62) 47%, transparent 48%); animation: lightning-flash 6.5s steps(1,end) infinite; }
.forecast-scene[data-condition="storm"] .weather-effects::before, .forecast-scene[data-condition="rain"] .weather-effects::before { opacity: .5; }
.forecast-scene[data-condition="storm"] .weather-effects::after { opacity: 1; }
.forecast-scene[data-condition="clear"] .weather-effects span, .forecast-scene[data-condition="partly"] .weather-effects span { background: rgba(255,238,199,.36); }
.forecast-scene[data-condition="clear"] .weather-effects span:first-child { left: auto; right: 7%; top: -13%; width: 220px; height: 220px; min-height: 0; opacity: .88; filter: blur(1px); background: radial-gradient(circle, #fff9c9 0 14%, #ffd55a 28%, rgba(255,178,55,.12) 64%, transparent 70%); animation: sun-breathe 5s ease-in-out infinite; }
.weekly-header { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 30px clamp(24px,4vw,64px) 18px; }
.forecast-kicker { color: #a8e7ff; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.weekly-header h2 { margin: 4px 0 3px; font-size: clamp(28px,3vw,44px); line-height: 1; letter-spacing: -.04em; }
.weekly-header p { margin: 0; color: rgba(231,243,247,.76); font-size: 12px; }
.forecast-close { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(213,238,248,.28); border-radius: 50%; background: rgba(5,20,29,.36); color: #eef9fc; backdrop-filter: blur(14px); transition: transform 180ms ease, background 180ms ease; }
.forecast-close:hover { transform: rotate(7deg); background: rgba(12,37,50,.64); }
.weekly-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(360px,.6fr); gap: 18px; padding: 0 clamp(24px,4vw,64px) 18px; }
.day-hero { min-height: 176px; display: grid; grid-template-columns: 112px minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 24px 28px; border: 1px solid rgba(218,240,248,.22); border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.045)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 24px 60px rgba(0,0,0,.18); backdrop-filter: blur(22px) saturate(122%); }
.hero-condition-icon { width: 104px; height: 104px; display: grid; place-items: center; border-radius: 31px; background: rgba(3,17,26,.25); color: #eefcff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 15px 36px rgba(0,0,0,.18); }
.hero-condition-icon svg { width: 64px; height: 64px; stroke-width: 1.35; filter: drop-shadow(0 0 18px rgba(205,240,255,.42)); }
.day-hero > div:nth-child(2) > span { color: rgba(231,244,249,.72); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.day-hero h3 { margin: 5px 0 7px; font-size: clamp(22px,2.1vw,34px); line-height: 1.05; letter-spacing: -.035em; }
.day-hero p { max-width: 62ch; margin: 0; color: rgba(235,246,249,.78); font-size: 12px; }
.hero-temperature { display: flex; align-items: flex-start; font-size: clamp(56px,6vw,88px); line-height: .86; font-weight: 360; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.hero-temperature small { margin: 10px 0 0 12px; color: rgba(233,245,249,.58); font-size: .35em; letter-spacing: -.03em; }
.condition-details { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.condition-details article { min-height: 82px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; align-content: center; gap: 2px 10px; padding: 14px 16px; border: 1px solid rgba(218,240,248,.17); border-radius: 18px; background: rgba(5,19,28,.27); backdrop-filter: blur(16px); }
.condition-details svg { grid-row: 1 / -1; align-self: center; width: 27px; color: #bdeeff; }
.condition-details span { color: rgba(225,240,245,.65); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.condition-details strong { font-size: 17px; font-weight: 580; font-variant-numeric: tabular-nums; }
.forecast-days { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(7,1fr); gap: 9px; padding: 0 clamp(24px,4vw,64px) 20px; }
.forecast-day { min-width: 0; min-height: 128px; display: grid; justify-items: center; align-content: center; gap: 5px; padding: 12px 7px; border: 1px solid rgba(218,240,248,.16); border-radius: 20px; background: rgba(3,17,25,.28); color: #eef8fb; backdrop-filter: blur(15px); transition: transform 180ms ease, background 220ms ease, border-color 180ms ease, box-shadow 220ms ease; }
.forecast-day:hover { transform: translateY(-3px); background: rgba(12,41,55,.46); }
.forecast-day[aria-selected="true"] { border-color: rgba(211,243,255,.58); background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); box-shadow: 0 12px 34px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.2); }
.forecast-day span { color: rgba(232,245,249,.72); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.forecast-day svg { width: 32px; height: 32px; color: #e8f9ff; }
.forecast-day strong { font-size: 17px; font-weight: 560; font-variant-numeric: tabular-nums; }
.forecast-day small { color: rgba(233,244,247,.6); font-size: 9px; }
.forecast-source { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 18px; padding: 0 clamp(24px,4vw,64px) 24px; color: rgba(229,242,247,.55); font-size: 9px; }
.forecast-source span { display: flex; align-items: center; gap: 7px; }
.forecast-source i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.forecast-source a { color: rgba(220,244,252,.78); }

.workspace-dialog, .editor-dialog, .launch-dialog { width: min(880px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; overflow: auto; background: rgba(4,14,18,.97); color: var(--text); box-shadow: 0 42px 130px rgba(0,0,0,.64); backdrop-filter: blur(28px) saturate(125%); }
.editor-dialog { width: min(640px, calc(100vw - 28px)); }
.launch-dialog { width: min(590px, calc(100vw - 28px)); }
.workspace-dialog::backdrop, .editor-dialog::backdrop, .launch-dialog::backdrop { background: rgba(0,5,8,.72); backdrop-filter: blur(8px); }
.workspace-dialog[open], .editor-dialog[open], .launch-dialog[open] { animation: dialog-in 260ms var(--ease); }
.workspace-shell, .editor-shell, .launch-shell { padding: clamp(18px, 2.6vw, 30px); }
.workspace-shell > header, .editor-shell > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.workspace-shell > header span, .editor-shell > header span, .launch-shell > header > div > span { color: var(--cyan); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.workspace-shell h2, .editor-shell h2, .launch-shell h2 { margin: 3px 0 3px; font-size: clamp(23px,3vw,32px); line-height: 1.1; letter-spacing: -.045em; }
.workspace-shell header p, .editor-shell header p, .launch-shell header p { max-width: 570px; margin: 0; color: var(--muted); font-size: 11px; }
.dialog-close { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.035); }
.dialog-close:hover { background: rgba(255,255,255,.08); }
.dialog-close svg { width: 18px; }
.workspace-body { padding-top: 20px; }
.workspace-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.workspace-toolbar > span { color: var(--muted); font-size: 10px; }
.toolbar-action, .row-action { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid rgba(97,201,242,.28); border-radius: 10px; background: rgba(97,201,242,.08); color: var(--cyan-bright); font-size: 9px; font-weight: 720; }
.toolbar-action:hover, .row-action:hover { background: rgba(97,201,242,.15); }
.operation-list { display: grid; gap: 8px; }
.operation-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto auto; align-items: center; gap: 12px; min-height: 72px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.operation-row > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #0d2934; color: var(--cyan); font-size: 10px; font-style: normal; font-weight: 800; }
.operation-row strong, .operation-row small { display: block; }
.operation-row strong { font-size: 11px; }
.operation-row small { margin-top: 2px; color: var(--subtle); font-size: 9px; }
.status-chip { min-height: 28px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border-radius: 99px; background: rgba(255,138,0,.1); color: var(--orange); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.status-chip.ready { background: rgba(135,229,46,.1); color: var(--lime); }
.status-chip.live { background: rgba(97,201,242,.1); color: var(--cyan); }
.operation-row.is-posted .row-action { border-color: rgba(135,229,46,.2); background: rgba(135,229,46,.07); color: var(--lime); }
.report-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.report-card { min-height: 150px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg,rgba(13,38,47,.58),rgba(3,12,16,.7)); }
.report-card span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.report-card strong { display: block; margin: 8px 0 4px; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.report-card small { color: var(--lime); font-size: 9px; }
.mini-bars { height: 46px; display: flex; align-items: end; gap: 5px; margin-top: 14px; }
.mini-bars i { flex: 1; min-height: 8px; border-radius: 3px 3px 1px 1px; background: linear-gradient(#66d3f8,#157897); }
.settings-list { display: grid; gap: 8px; }
.settings-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.022); }
.settings-row strong, .settings-row small { display: block; }
.settings-row strong { font-size: 11px; }
.settings-row small { color: var(--subtle); font-size: 9px; }
.toggle { position: relative; flex: 0 0 48px; width: 48px; height: 28px; padding: 0; border: 1px solid #38515a; border-radius: 99px; background: #0b1b21; }
.toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: #849499; transition: transform 200ms var(--ease), background 180ms ease; }
.toggle[aria-pressed="true"] { border-color: rgba(135,229,46,.45); background: rgba(135,229,46,.12); }
.toggle[aria-pressed="true"]::after { background: var(--lime); transform: translateX(20px); }

.tone-options { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 16px; padding: 0; border: 0; }
.tone-options legend { width: 100%; margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.tone-options button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); font-size: 10px; }
.tone-options button.active { border-color: rgba(97,201,242,.48); background: rgba(97,201,242,.1); color: var(--cyan-bright); }
.editor-shell > label { display: block; margin-bottom: 6px; color: #d8e2e4; font-size: 10px; font-weight: 650; }
.editor-shell textarea { width: 100%; min-height: 175px; resize: vertical; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 12px; outline: 0; background: #041015; color: var(--text); font: inherit; font-size: 12px; line-height: 1.65; }
.editor-shell textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(97,201,242,.1); }
.editor-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--subtle); font-size: 9px; }
.editor-shell > footer, .launch-shell > footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.secondary-action, .primary-action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; border-radius: 11px; font-size: 10px; font-weight: 720; }
.secondary-action { border: 1px solid var(--line); background: rgba(255,255,255,.035); color: #c4cfd1; }
.primary-action { border: 1px solid #78d5f6; background: linear-gradient(180deg,#28b9ed,#107fa8); color: #fff; box-shadow: 0 9px 24px rgba(20,145,190,.22); }
.primary-action.orange { border-color: #ffb45e; background: linear-gradient(180deg,#ff9f32,#ec6500); box-shadow: 0 9px 24px rgba(238,101,0,.2); }
.primary-action svg { width: 16px; }
.launch-shell > header { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 15px; }
.launch-dialog-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#ff9f32,#e96100); box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 12px 28px rgba(230,91,0,.2); }
.launch-dialog-icon svg { width: 27px; }
.launch-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 20px; }
.launch-summary > div { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); }
.launch-summary span, .launch-summary strong { display: block; }
.launch-summary span { color: var(--subtle); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.launch-summary strong { margin-top: 5px; font-size: 10px; }

@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes status-pulse { 0% { opacity: .7; transform: scale(.72); } 75%,100% { opacity: 0; transform: scale(1.55); } }
@keyframes cloud-drift { from { transform: translate3d(-4%,0,0) scale(1); } to { transform: translate3d(7%,3%,0) scale(1.08); } }
@keyframes rain-fall { to { transform: translate3d(-4%,26%,0); } }
@keyframes lightning-flash { 0%,8%,10%,72%,74%,100% { opacity: 0; } 9%,73% { opacity: .86; } }
@keyframes sun-breathe { 0%,100% { transform: scale(.96); opacity: .78; } 50% { transform: scale(1.05); opacity: .96; } }
@keyframes system-breathe { 0%,100% { opacity: .65; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }

@media (max-width: 1240px) {
  .topbar { grid-template-columns: 200px 1fr auto; }
  .topnav :is(a, button) { min-width: 78px; padding: 0 10px; }
  .topnav :is(a, button) span { display: none; }
  .account-switcher { min-width: 0; width: 62px; grid-template-columns: 34px; padding: 0 14px; }
  .account-switcher > span:nth-child(2), .account-switcher .chevron { display: none; }
  .radar-dashboard { grid-template-columns: minmax(0, 1fr) 360px; }
  .map-head { grid-template-columns: 1fr auto; }
  .city-control { display: none; }
  .n-east { right: 4%; }
  .n-clear-lake { right: 2%; }
  .telemetry { height: auto; min-height: 92px; grid-template-columns: repeat(5, 1fr); }
  .telemetry > div, .telemetry > time, .telemetry > button { min-height: 92px; }
  .telemetry > div:nth-child(5), .telemetry time { display: none; }
  .radar-dashboard { height: calc(100dvh - var(--header-height) - 92px); }
  .toast { bottom: 108px; }
}

@media (max-width: 960px) {
  body { overflow-y: auto; }
  .topbar { position: sticky; top: 0; grid-template-columns: 1fr auto; padding-left: 16px; }
  .topnav { position: absolute; top: 64px; left: 0; right: 0; height: 62px; display: flex; justify-content: center; border-bottom: 1px solid var(--line); background: rgba(2,8,11,.98); transform: translateY(-125%); opacity: 0; pointer-events: none; transition: transform 220ms var(--ease), opacity 180ms ease; }
  .topnav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .topnav :is(a, button) { flex: 1; max-width: 110px; }
  .topnav :is(a, button) span { display: inline; font-size: 10px; }
  .topbar-end { grid-column: 2; }
  .account-switcher { display: none; }
  .menu-button { display: grid; }
  .radar-dashboard { height: auto; min-height: 0; display: block; }
  .map-stage { min-height: 720px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mission-panel { overflow: visible; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin: 14px; padding: 20px; }
  .panel-label { grid-column: 1 / -1; margin-bottom: 0; }
  .impact-card { grid-column: 1 / -1; margin-bottom: 0; }
  .launch-card { align-self: start; margin-top: 0; min-height: 200px; grid-template-columns: 1fr; }
  .launch-button { position: absolute; right: 16px; top: 50px; }
  .telemetry { grid-template-columns: repeat(4, 1fr); }
  .telemetry > div:nth-child(5) { display: none; }
  .toast { bottom: 20px; }
  .report-grid { grid-template-columns: repeat(2,1fr); }
  .weekly-layout { grid-template-columns: 1fr; }
  .condition-details { grid-template-columns: repeat(4,1fr); }
  .weekly-forecast.open .forecast-scene { min-height: 650px; }
}

@media (max-width: 700px) {
  .topnav :is(a, button) { min-width: 0; max-width: none; padding: 0 4px; }
  .compare-link, .system-live { min-height: 44px; padding: 0 9px; margin-right: 3px; font-size: 8px; }
  .wordmark strong { font-size: 20px; }
  .map-stage { min-height: 760px; }
  .map-head { top: 14px; left: 14px; right: 14px; grid-template-columns: 1fr auto; gap: 8px; }
  .severity-icon { width: 45px; height: 43px; }
  .severity-icon svg { width: 25px; }
  .severity strong { font-size: 13px; }
  .severity small { font-size: 9px; }
  .lead-score { padding: 5px 7px; }
  .lead-score span { font-size: 8px; }
  .lead-score strong { font-size: 38px; }
  .lead-score i { display: none; }
  .neighborhoods { inset: 0 0 135px; }
  .neighborhood { width: 69px; padding: 9px 5px 5px; }
  .neighborhood strong { font-size: 8px; }
  .neighborhood span { font-size: 8px; }
  .n-cypress { left: 6%; top: 34%; }
  .n-north { left: 39%; top: 26%; }
  .n-east { right: 5%; top: 38%; }
  .n-katy { left: 4%; top: 59%; }
  .n-missouri { left: 28%; top: 70%; }
  .n-pearland { left: 55%; top: 71%; }
  .n-clear-lake { right: 2%; top: 62%; }
  .houston-origin { top: 51%; }
  .radar-photo { object-position: 42% center; filter: saturate(.9) brightness(.66) contrast(1.2); transform: none; }
  .map-tools { left: 8px; bottom: 140px; }
  .map-tools button { width: 42px; padding: 0; }
  .map-tools button span { display: none; }
  .forecast-rail { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 132px; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; padding: 0 8px; border-top: 1px solid var(--line); border-left: 0; background: rgba(2,9,12,.94); }
  .timeline-line { top: 24px; left: 12.5%; right: 12.5%; bottom: auto; width: auto; height: 2px; }
  .timeline-line span { width: 0%; height: 100%; right: auto; transition: width 420ms var(--ease); }
  .time-stop { grid-template-columns: 1fr; align-items: start; justify-items: center; padding: 19px 5px 5px; text-align: center; }
  .time-stop::before { left: 50%; right: auto; top: 24px; width: 1px; height: 9px; }
  .time-stop > i { position: absolute; top: 19px; }
  .time-stop > span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 11px 0 0; }
  .time-stop strong { font-size: 14px; }
  .time-stop svg { width: 21px; height: 21px; }
  .time-stop small { max-width: 115px; font-size: 7px; line-height: 1.35; }
  .mission-panel { display: block; margin: 10px; padding: 16px 12px 18px; }
  .panel-label { margin-bottom: 12px; }
  .impact-card { margin-bottom: 14px; }
  .launch-card { min-height: 160px; margin-top: 14px; grid-template-columns: 1fr 80px; }
  .launch-button { position: static; }
  .telemetry { grid-template-columns: repeat(2, 1fr); }
  .telemetry > div, .telemetry > button { min-height: 90px; padding: 14px; }
  .telemetry > div > svg { width: 30px; }
  .telemetry > div:nth-child(4) { border-right: 0; }
  .operation-row { grid-template-columns: 42px minmax(0,1fr) auto; }
  .operation-row .status-chip { grid-column: 2; width: fit-content; }
  .operation-row .row-action { grid-column: 3; grid-row: 1 / 3; }
  .report-grid, .launch-summary { grid-template-columns: 1fr; }
  .workspace-toolbar { align-items: flex-start; }
  .workspace-shell, .editor-shell, .launch-shell { padding: 18px 14px; }
  .weekly-forecast.open .forecast-scene { min-height: 900px; }
  .weekly-header { padding: 24px 16px 14px; }
  .weekly-header h2 { font-size: 30px; }
  .weekly-layout { padding: 0 16px 14px; }
  .day-hero { min-height: 270px; grid-template-columns: 78px 1fr; gap: 15px; padding: 20px; border-radius: 22px; }
  .hero-condition-icon { width: 74px; height: 74px; border-radius: 23px; }
  .hero-condition-icon svg { width: 46px; height: 46px; }
  .hero-temperature { grid-column: 1 / -1; font-size: 68px; }
  .condition-details { grid-template-columns: repeat(2,1fr); }
  .forecast-days { grid-template-columns: repeat(7,92px); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; padding: 0 16px 18px; scrollbar-width: none; }
  .forecast-days::-webkit-scrollbar { display: none; }
  .forecast-day { min-height: 122px; scroll-snap-align: start; }
  .forecast-source { flex-direction: column; padding: 0 16px 24px; }
  .forecast-scene[data-condition="clear"] .weather-effects span:first-child { right: -15%; }
}

@media (max-width: 420px) {
  .map-stage { min-height: 710px; }
  .map-head { right: 9px; left: 9px; }
  .severity { gap: 7px; }
  .severity-icon { width: 40px; height: 39px; }
  .severity strong { font-size: 11px; }
  .severity small { max-width: 110px; }
  .lead-score span { display: none; }
  .n-east { top: 40%; }
  .n-katy { top: 60%; }
  .n-missouri { left: 26%; top: 73%; }
  .n-pearland { left: 54%; top: 73%; }
  .post-preview { height: 188px; }
  .generated-post { padding: 12px; }
  .launch-card { grid-template-columns: 1fr 70px; padding-left: 13px; padding-right: 13px; }
  .launch-button { width: 66px; height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Post asset export actions */
.post-actions { display: flex; gap: 8px; margin-top: 12px; }
.post-action { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border-radius: 11px; border: 1px solid rgba(97,201,242,.28); background: rgba(97,201,242,.07); color: var(--cyan-bright); font-size: 9px; font-weight: 720; transition: transform 180ms ease, background 180ms ease; }
.post-action:hover { transform: translateY(-1px); background: rgba(97,201,242,.13); }
.post-action:disabled { opacity: .55; cursor: progress; transform: none; }
.post-action svg { width: 15px; height: 15px; }

/* Scenario-mode indicator (live weather unavailable) */
.system-live.scenario { border-color: rgba(255,210,55,.28); background: rgba(255,210,55,.06); color: #f4dd8d; }
.system-live.scenario i { background: var(--yellow); box-shadow: 0 0 12px rgba(255,210,55,.85); }

/* ---------------------------------------------------------------- */
/* Live Google Map mode                                              */
/* ---------------------------------------------------------------- */
.gmap { position: absolute; z-index: 0; inset: 0; display: none; background: #02090c; }
.map-stage.live-map .gmap { display: block; }
.map-stage.live-map .radar-photo, .map-stage.live-map #radarCanvas, .map-stage.live-map .map-grid, .map-stage.live-map .houston-origin, .map-stage.live-map .neighborhoods { display: none; }
.map-stage.live-map .map-shade { background: linear-gradient(90deg, transparent 78%, rgba(2, 8, 11, .30)), linear-gradient(180deg, rgba(6, 16, 20, .22), transparent 14%); }
.map-stage.live-map .neighborhood { z-index: 20; }
/* Radar over a light basemap: keep it vivid but slightly darkened so pale
   echo still separates from white. */
.radar-tiles { filter: saturate(1.2) contrast(1.02) brightness(.94); }
.gmap .neighborhood { pointer-events: auto; }
.map-center-pin { z-index: 6; display: grid; justify-items: center; pointer-events: none; color: #c9f4ff; filter: drop-shadow(0 0 14px rgba(93, 220, 255, .6)); text-align: center; }
.map-center-pin i { width: 14px; height: 14px; border-radius: 50%; background: #06181d; border: 2px solid #73dcff; box-shadow: 0 0 26px #44cbff; }
.map-center-pin strong { margin-top: 5px; font-size: 17px; font-weight: 520; text-shadow: 0 2px 8px #001015; }
.map-center-pin small { color: rgba(210, 236, 244, .82); font-size: 9px; text-shadow: 0 2px 6px #001015; }
/* Floating controls over the light basemap: the storm badge, lead score and
   city selector were readable on a dark map but wash out on a light one. Give
   them the same dark-glass treatment the radius and layer controls already use,
   which also holds up over satellite imagery. */
.map-stage.live-map .severity { padding: 7px 15px 7px 7px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 15px; background: rgba(4, 14, 18, .82); box-shadow: 0 10px 30px rgba(0, 24, 34, .28); backdrop-filter: blur(14px); }
.map-stage.live-map .severity small { color: #cdd8db; }
.map-stage.live-map .lead-score { border: 1px solid rgba(255, 255, 255, .13); background: rgba(4, 14, 18, .82); box-shadow: 0 10px 30px rgba(0, 24, 34, .28); }
.map-stage.live-map .city-selector { border-color: rgba(255, 255, 255, .16); background: rgba(4, 14, 18, .86); }
/* On the light basemap the cyan-on-white pin label disappears — read it dark,
   with a white halo instead of the dark glow. */
.map-stage.live-map .map-center-pin { color: #0d2b35; filter: drop-shadow(0 1px 6px rgba(255,255,255,.9)); }
.map-stage.live-map .map-center-pin i { background: #0b5f7d; border-color: #ffffff; box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 2px 10px rgba(0,40,55,.45); }
.map-stage.live-map .map-center-pin strong { color: #0b2732; text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.9); }
.map-stage.live-map .map-center-pin small { color: #3c5c67; text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 0 8px rgba(255,255,255,.85); }
.map-key-hint[hidden] { display: none; }
.map-key-hint { position: absolute; z-index: 14; left: 20px; bottom: 72px; max-width: 320px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(255, 138, 0, .4); border-radius: 12px; background: rgba(16, 10, 2, .82); color: #ffc074; font-size: 10px; line-height: 1.45; text-decoration: none; backdrop-filter: blur(12px); transition: border-color 180ms ease, background 180ms ease; }
.map-key-hint:hover { border-color: rgba(255, 138, 0, .7); background: rgba(26, 15, 3, .9); }
.map-key-hint svg { flex: 0 0 auto; width: 17px; height: 17px; }

/* ---------------------------------------------------------------- */
/* Client menu + Add client                                          */
/* ---------------------------------------------------------------- */
.account-menu-list, .city-menu-list { display: grid; gap: 5px; }
.account-menu-list button { position: relative; }
.account-menu-list i img, .account-mark img, .logo-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.account-menu-list i { overflow: hidden; }
.client-remove { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 89, 61, .14); color: #ff9e8b; font-size: 12px; font-style: normal; font-weight: 800; line-height: 1; cursor: pointer; }
.client-remove:hover { background: rgba(255, 89, 61, .3); color: #fff; }
.add-client-button { min-height: 54px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 9px; padding: 7px 9px; border: 1px dashed rgba(97, 201, 242, .4); border-radius: 11px; background: rgba(97, 201, 242, .05); text-align: left; transition: background 180ms ease, border-color 180ms ease; }
.add-client-button:hover { border-color: rgba(97, 201, 242, .7); background: rgba(97, 201, 242, .11); }
.add-client-button i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: rgba(97, 201, 242, .14); color: var(--cyan-bright); font-size: 19px; font-style: normal; font-weight: 700; }
.add-client-button strong { display: block; font-size: 11px; color: var(--cyan-bright); }
.add-client-button small { display: block; margin-top: 2px; color: var(--subtle); font-size: 8px; }

/* ---------------------------------------------------------------- */
/* Add-client wizard                                                 */
/* ---------------------------------------------------------------- */
.wizard-dialog { width: min(640px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; overflow: auto; background: rgba(4, 14, 18, .97); color: var(--text); box-shadow: 0 42px 130px rgba(0, 0, 0, .64); backdrop-filter: blur(28px) saturate(125%); }
.wizard-dialog::backdrop { background: rgba(0, 5, 8, .72); backdrop-filter: blur(8px); }
.wizard-dialog[open] { animation: dialog-in 260ms var(--ease); }
.wizard-shell { padding: clamp(18px, 2.6vw, 30px); }
.wizard-shell > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.wizard-shell > header span { color: var(--cyan); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.wizard-shell h2 { margin: 3px 0; font-size: clamp(23px, 3vw, 30px); line-height: 1.1; letter-spacing: -.045em; }
.wizard-shell header p { max-width: 460px; margin: 0; color: var(--muted); font-size: 11px; }
.wizard-progress { display: flex; gap: 6px; margin: 16px 0 4px; }
.wizard-progress i { flex: 1; height: 3px; border-radius: 99px; background: rgba(151, 190, 202, .18); transition: background 240ms ease; }
.wizard-progress i.active { background: var(--cyan); box-shadow: 0 0 12px rgba(97, 201, 242, .5); }
.wizard-step { display: grid; gap: 7px; padding-top: 14px; }
.wizard-step > label { margin-top: 6px; color: #d8e2e4; font-size: 10px; font-weight: 650; }
.wizard-step > label output { margin-left: 8px; color: var(--cyan-bright); font-weight: 750; }
.wizard-step input[type="text"], .wizard-step input[type="tel"], .wizard-step input[type="email"], .wizard-step input[type="url"], .launch-group-add input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 11px; outline: 0; background: #041015; color: var(--text); font: inherit; font-size: 12px; }
.wizard-step input:focus, .launch-group-add input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(97, 201, 242, .1); }
.wizard-step input[type="range"] { width: 100%; accent-color: var(--cyan); }
.wizard-step input[type="file"] { color: var(--muted); font-size: 11px; }
.wizard-choice { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.wizard-choice strong { color: var(--cyan-bright); }
.wizard-hint { color: var(--subtle); font-size: 10px; }
.wizard-hint-lead { margin: 0; color: var(--muted); font-size: 10px; }
.city-search { position: relative; }
.city-results { position: absolute; z-index: 5; top: calc(100% + 5px); left: 0; right: 0; display: grid; gap: 3px; }
.city-results:not(:empty) { padding: 7px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(4, 15, 19, .98); box-shadow: 0 22px 60px rgba(0, 0, 0, .5); }
.city-result { min-height: 40px; padding: 0 11px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #dfe9eb; font-size: 11px; text-align: left; }
.city-result:hover { border-color: rgba(97, 201, 242, .3); background: rgba(97, 201, 242, .09); }
.logo-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 13px; }
.logo-row small { display: block; margin-top: 5px; color: var(--subtle); font-size: 9px; }
.logo-preview { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: linear-gradient(145deg, #10262e, #071318); color: var(--cyan); }
.logo-preview svg { width: 28px; height: 28px; }
.wizard-group-list, .wizard-area-list { display: grid; gap: 6px; max-height: 250px; overflow: auto; }
.wizard-group-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .025); }
.wizard-group-row strong { display: block; font-size: 11px; }
.wizard-group-row small { display: block; overflow: hidden; max-width: 380px; margin-top: 2px; color: var(--subtle); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.wizard-group-row button { width: 30px; height: 30px; border: 1px solid rgba(255, 89, 61, .3); border-radius: 8px; background: rgba(255, 89, 61, .08); color: #ff9e8b; font-size: 14px; font-weight: 800; }
.wizard-group-row button:hover { background: rgba(255, 89, 61, .2); }
.wizard-group-add { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 7px; margin-top: 4px; }
.wizard-group-add:has(> :nth-child(2):last-child) { grid-template-columns: 1fr auto; }
.wizard-group-add button { min-height: 44px; padding: 0 16px; border: 1px solid rgba(97, 201, 242, .35); border-radius: 11px; background: rgba(97, 201, 242, .1); color: var(--cyan-bright); font-size: 10px; font-weight: 750; }
.wizard-group-add button:hover { background: rgba(97, 201, 242, .18); }
.wizard-area { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .022); cursor: pointer; }
.wizard-area:hover { border-color: var(--line-strong); }
.wizard-area input { accent-color: var(--cyan); width: 16px; height: 16px; }
.wizard-area strong { display: block; font-size: 11px; }
.wizard-area small { display: block; margin-top: 1px; color: var(--subtle); font-size: 9px; }
.wizard-shell > footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
#wizardBack { margin-right: auto; }

/* ---------------------------------------------------------------- */
/* Launch dialog — Facebook groups                                   */
/* ---------------------------------------------------------------- */
.launch-groups-panel { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); }
.launch-groups-panel h3 { margin: 0 0 4px; font-size: 13px; font-weight: 620; letter-spacing: -.02em; }
.launch-groups-panel > p { margin: 0 0 11px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.launch-groups { display: grid; gap: 6px; max-height: 200px; overflow: auto; }
.launch-groups-empty { margin: 0; padding: 10px 2px; color: var(--subtle); font-size: 10px; }
.launch-group-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .025); }
.launch-group-row strong { display: block; font-size: 11px; }
.launch-group-row small { display: block; overflow: hidden; max-width: 240px; margin-top: 2px; color: var(--subtle); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.group-post-action { flex: 0 0 auto; min-height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid rgba(97, 201, 242, .35); border-radius: 10px; background: rgba(97, 201, 242, .1); color: var(--cyan-bright); font-size: 9px; font-weight: 750; }
.group-post-action:hover { background: rgba(97, 201, 242, .18); }
.group-post-action svg { width: 14px; height: 14px; }
.launch-group-add { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 7px; margin-top: 9px; }
.launch-group-add button { min-height: 44px; padding: 0 14px; border: 1px solid rgba(97, 201, 242, .35); border-radius: 11px; background: rgba(97, 201, 242, .1); color: var(--cyan-bright); font-size: 10px; font-weight: 750; }
.launch-group-add button:hover { background: rgba(97, 201, 242, .18); }

.post-contact { display: block; margin-bottom: 6px; color: #cfdadd; font-size: 10px; font-weight: 640; }
.post-brand span img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

@media (max-width: 700px) {
  .wizard-group-add, .launch-group-add { grid-template-columns: 1fr; }
  .launch-group-row small { max-width: 150px; }
}

/* ---------------------------------------------------------------- */
/* Keyless Leaflet map — theme integration                           */
/* ---------------------------------------------------------------- */
.gmap.leaflet-container { background: #e9edf0; font: inherit; outline: none; }
.gmap .leaflet-control-attribution {
  background: rgba(255, 255, 255, .78); color: #5a6b72; font-size: 9px;
  padding: 1px 6px; border-top-left-radius: 8px; backdrop-filter: blur(8px);
}
.gmap .leaflet-control-attribution a { color: #2f6b85; }
/* Leaflet re-anchors this 0×0 marker at the coordinate; center the pin on it. */
.map-center-icon { width: 0 !important; height: 0 !important; background: none; border: none; overflow: visible; }
.map-center-icon .map-center-pin { position: absolute; transform: translate(-50%, -7px); white-space: nowrap; }
.gmap-pill { margin: 0; }

/* ---------------------------------------------------------------- */
/* On-map service-radius control                                     */
/* ---------------------------------------------------------------- */
.radius-control {
  position: absolute; z-index: 14; left: 20px; bottom: 76px; width: 230px;
  display: grid; gap: 8px; padding: 12px 14px 11px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(2, 10, 13, .74); box-shadow: 0 12px 34px rgba(0, 0, 0, .34);
  backdrop-filter: blur(16px);
}
.map-stage:not(.live-map) .radius-control { display: none; }
.radius-control-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.radius-control-title { display: inline-flex; align-items: center; gap: 6px; color: #9fb4bb; font-size: 9px; font-weight: 720; letter-spacing: .06em; text-transform: uppercase; }
.radius-control-title svg { width: 14px; height: 14px; stroke: var(--orange); fill: none; }
.radius-control output { color: var(--cyan-bright); font-size: 15px; font-weight: 760; font-variant-numeric: tabular-nums; }
.radius-control input[type="range"] { width: 100%; margin: 0; accent-color: var(--orange); cursor: pointer; }
.radius-control-scale { display: flex; justify-content: space-between; color: var(--subtle); font-size: 8px; letter-spacing: .04em; }

/* ---------------------------------------------------------------- */
/* Wizard — editable services + address                              */
/* ---------------------------------------------------------------- */
.label-hint { color: var(--subtle); font-size: 9px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.wizard-service-list { display: flex; flex-wrap: wrap; gap: 6px; }
.wizard-service-list:empty { display: none; }
.wizard-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px 6px 12px; border: 1px solid rgba(97, 201, 242, .28); border-radius: 999px; background: rgba(97, 201, 242, .08); color: #d6eef6; font-size: 10px; font-weight: 620; }
.wizard-chip button { width: 20px; height: 20px; display: grid; place-items: center; border: none; border-radius: 50%; background: rgba(255, 89, 61, .16); color: #ff9e8b; font-size: 12px; font-weight: 800; cursor: pointer; }
.wizard-chip button:hover { background: rgba(255, 89, 61, .3); }

@media (max-width: 700px) {
  .radius-control { left: 8px; right: 8px; width: auto; bottom: 200px; }
}
