/* ReadRunner: dark control room. The map is the screen; everything else floats on it. */
:root {
  --bg: #070b12;
  --glass: rgba(13, 19, 30, 0.82);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f1f5fb;
  --muted: #aebbd0;
  --accent: #22d3ee;
  --accent-2: #a3e635;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --radius: 14px;
  /* the logo and loader, in Omnitell Tech's colours (orange and its light tint, as on omnitelltech.com) */
  --brand-1: #f59120;
  --brand-2: #ffc074;
  color-scheme: dark;  /* native scrollbars and controls match the dark screen */
  font-family: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px; line-height: 1.45;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: var(--bg); color: var(--text); overflow: hidden; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
output, .num { font-variant-numeric: tabular-nums; }

/* --- map ------------------------------------------------------------------ */
#map { position: fixed; inset: 0; background: var(--bg); }
/* standard OpenStreetMap tiles, turned into a dark basemap so routes glow on top */
.leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) saturate(0.35) brightness(0.72) contrast(0.95); }
.leaflet-container { background: var(--bg); font: inherit; }
.leaflet-control-attribution { background: rgba(7, 11, 18, 0.7) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: var(--glass); color: var(--text); border-color: var(--line); backdrop-filter: blur(10px); }
.leaflet-bar a:hover { background: #1b2536; color: var(--accent); }
.leaflet-tooltip.tip {
  background: #0d131e; color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5); padding: 8px 10px; font-size: 14px; line-height: 1.45;
}
.leaflet-tooltip.tip::before { display: none; }
.tip b { color: #fff; } .tip .tag { color: var(--warn); }

/* routes draw themselves in */
.route { filter: drop-shadow(0 0 2.5px currentColor); stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000);
  animation: draw 1.6s cubic-bezier(.4, 0, .2, 1) forwards; animation-delay: var(--delay, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route.drawn { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.route.pending { animation: none; opacity: 0; }
.route.dim { opacity: 0.1; filter: none; }
.zone { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { fill-opacity: 0.21; } }
.home { width: 14px; height: 14px; border-radius: 4px; border: 2px solid #0b1019; box-shadow: 0 0 0 1.5px currentColor, 0 0 7px currentColor; background: currentColor; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(251, 191, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); } }

/* --- glass surfaces ------------------------------------------------------ */
.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }

.topbar { position: fixed; top: 14px; left: 14px; right: 14px; height: 54px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; z-index: 1000; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; letter-spacing: 0.2px; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 650; }
.brand svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round;
  stroke-linejoin: round; filter: drop-shadow(0 0 3px var(--accent)); }
.spacer { flex: 1; }
.pills { display: flex; gap: 6px; overflow: hidden; }
.pill { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 4px 9px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.pill.on i { background: var(--good); box-shadow: 0 0 5px var(--good); }
.pill.off i { background: var(--warn); }

.segmented { display: flex; background: rgba(148, 163, 184, 0.08); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.segmented button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 7px; font-size: 14.5px; white-space: nowrap; }
.segmented button.on { background: rgba(34, 211, 238, 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.45); }
.segmented.wide { width: 100%; } .segmented.wide button { flex: 1; }

.btn { border: 1px solid var(--line); background: rgba(148, 163, 184, 0.08); border-radius: 10px; padding: 9px 14px; font-size: 15px; }
.btn:hover { border-color: rgba(34, 211, 238, 0.5); }
.btn.primary { background: var(--accent); color: #041318; border: 0; font-weight: 650; }
.btn.ghost { width: 100%; margin-top: 12px; color: var(--muted); }
.btn.go { width: 100%; margin-top: 14px; padding: 13px; font-size: 16px; font-weight: 650; border: 0; color: #041318;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 26px rgba(34, 211, 238, 0.28);
  transition: transform 0.12s, box-shadow 0.2s; }
.btn.go:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(34, 211, 238, 0.4); }
.btn.go:disabled { filter: grayscale(0.7) brightness(0.7); cursor: not-allowed; transform: none; }

.menu { position: relative; }
.menu-list { position: absolute; right: 0; top: 46px; min-width: 250px; padding: 6px; border-radius: 12px;
  background: #0d131e; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); display: none; }
.menu.open .menu-list { display: block; }
.menu-list a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.menu-list a:hover { background: rgba(34, 211, 238, 0.12); }
.menu-list a small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.menu-list a.main { color: var(--accent); font-weight: 600; }

/* --- side panel ------------------------------------------------------------ */
.panel { position: fixed; top: 82px; left: 14px; bottom: 14px; width: 388px; border-radius: var(--radius);
  padding: 16px; z-index: 900; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2a3446 transparent; }
.hint { color: var(--muted); font-size: 14px; margin: 10px 2px; }
.error { color: var(--bad); font-size: 14.5px; margin: 10px 2px 0; }

.drop { display: block; margin-top: 12px; padding: 20px 14px; text-align: center; border-radius: 12px; cursor: pointer;
  border: 1.5px dashed rgba(148, 163, 184, 0.3); transition: border-color 0.15s, background 0.15s; }
.drop.small { padding: 12px 14px; }
.drop:hover, .drop.over { border-color: var(--accent); background: rgba(34, 211, 238, 0.07); }
.drop.has { border-style: solid; border-color: rgba(52, 211, 153, 0.6); background: rgba(52, 211, 153, 0.07); }
.drop-title { display: block; font-size: 15.5px; }
.drop-sub { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; word-break: break-word; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: rgba(148, 163, 184, 0.07); border-radius: 99px; padding: 6px 12px; font-size: 14.5px; }
.chip.on { border-color: var(--accent); color: #fff; background: rgba(34, 211, 238, 0.14); }

.settings { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.settings summary { cursor: pointer; color: var(--muted); font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; list-style: none; }
.settings summary::after { content: " +"; } .settings[open] summary::after { content: " –"; }
.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; margin-top: 12px; font-size: 15px; }
.row output { color: var(--accent); font-weight: 600; }
.row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); height: 18px; }
.row.off { opacity: 0.4; pointer-events: none; }
.switch { cursor: pointer; }
.switch input { display: none; }
.switch i { width: 36px; height: 20px; border-radius: 99px; background: #2a3446; position: relative; transition: background 0.15s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #cbd5e1; transition: transform 0.15s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(16px); background: #041318; }

/* working */
#workingSection { text-align: center; padding: 40px 0 24px; }
.radar { width: 120px; height: 120px; margin: 0 auto 22px; position: relative; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: radar 2.4s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: 0.8s; } .radar i:nth-child(3) { animation-delay: 1.6s; }
@keyframes radar { 0% { transform: scale(0.15); opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
.working-msg { font-size: 16px; margin: 0; }

/* results */
.hero { border-radius: 12px; padding: 14px; background: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(163, 230, 53, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.3); }
.hero .big { font-size: 38px; font-weight: 700; line-height: 1; color: #fff; letter-spacing: -1px; }
.hero .big small { font-size: 16px; font-weight: 500; color: var(--accent-2); margin-left: 6px; letter-spacing: 0; }
.hero p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(148, 163, 184, 0.05); }
.stat .v { font-size: 24px; font-weight: 650; }
.stat .k { color: var(--muted); font-size: 13px; margin-top: 2px; }
.stat .d { font-size: 13px; margin-top: 3px; color: var(--good); } .stat .d.worse { color: var(--bad); } .stat .d.same { color: var(--muted); }

.tabs { display: flex; gap: 4px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; color: var(--muted); padding: 8px 10px; font-size: 14.5px; border-bottom: 2px solid transparent; }
.tabs button.on { color: #fff; border-color: var(--accent); }
.tab-body { padding-top: 10px; font-size: 14.5px; }

.agent { display: grid; grid-template-columns: 12px 1fr auto; gap: 4px 10px; align-items: center; padding: 9px 8px; border-radius: 10px; cursor: pointer; }
.agent:hover, .agent.on { background: rgba(148, 163, 184, 0.09); }
.agent .dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 5px currentColor; background: currentColor; }
.agent .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent .meta { color: var(--muted); font-size: 13.5px; }
.agent .bars { grid-column: 2 / -1; display: flex; gap: 3px; height: 5px; }
.agent .bars i { flex: 1; border-radius: 3px; background: currentColor; opacity: 0.85; transform-origin: left; animation: grow 0.7s ease-out backwards; }
@keyframes grow { from { transform: scaleX(0); } }
.note { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 2px 10px; }
.kv { display: flex; justify-content: space-between; padding: 7px 2px; border-bottom: 1px solid rgba(148, 163, 184, 0.08); gap: 12px; }
.kv span:last-child { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv small { display: block; color: var(--muted); font-size: 13px; }
.tagline { color: var(--warn); }

.legend { position: fixed; right: 58px; bottom: 26px; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--muted); z-index: 800; line-height: 1.9; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #0d131e; border: 1px solid var(--line);
  border-radius: 99px; padding: 10px 18px; font-size: 15px; z-index: 2000; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); }

/* embedded in another product: no brand, tighter chrome */
body.embed .brand span, body.embed .pills { display: none; }

@media (max-width: 760px) {
  /* phone: the bar compacts (icon only, controls wrap) so nothing is pushed off screen */
  .topbar { height: auto; min-height: 54px; flex-wrap: wrap; padding: 8px 10px; gap: 8px; }
  .brand span, .pills, .legend { display: none; }
  .segmented button { padding: 6px 9px; font-size: 14px; }
  .panel { width: auto; right: 14px; top: auto; height: 46vh; }
}
@media (prefers-reduced-motion: reduce) { .route, .zone, .pulse, .radar i, .agent .bars i { animation: none; stroke-dashoffset: 0; } }

/* --- planner / tracker switch ------------------------------------------- */
.segmented a { padding: 7px 14px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 15px; }
.segmented a.on { background: rgba(34, 211, 238, 0.14); color: var(--text); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.4); }
#visitsHint { color: var(--muted); font-style: normal; font-size: 13px; margin-left: 4px; }
body.embed #nav { display: none; }
/* the top bar never drops a control: status pills give way first, then day tabs scroll */
.topbar > .brand, .topbar > #nav, .topbar > #planToggle, .topbar > #exportMenu { flex-shrink: 0; }
/* pills that don't fit drop out whole (wrapped out of sight) instead of being cut mid-word */
.topbar > .pills { flex: 0 100 auto; min-width: 0; flex-wrap: wrap; height: 29px; }
.topbar > .spacer { min-width: 0; }
.topbar > #dayTabs { flex: 0 1 auto; min-width: 64px; overflow-x: auto; scrollbar-width: none; }
.topbar > #dayTabs::-webkit-scrollbar { display: none; }
#dayTabs button { flex-shrink: 0; }

/* planner: the risk choice sits under its label */
#riskRow .segmented { grid-column: 1 / -1; margin-top: 4px; }

/* --- map layers: crime areas and portion outlines, switched on and off ---------- */
.layers { position: fixed; right: 14px; top: 82px; z-index: 850; border-radius: 12px; padding: 9px 12px;
  display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.layers .switch { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.layers .switch i { display: block; flex: none; }
.portion-area { transition: fill-opacity 0.3s, stroke-opacity 0.3s; }
.portion-label { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; font-weight: 700;
  color: #f8fafc; background: color-mix(in srgb, var(--tint) 55%, #0b1019); border: 1.5px solid var(--tint);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
/* with routes on the map: small, see-through, and out of the way of the mouse */
.portion-label.quiet { width: 24px; height: 24px; font-size: 12.5px; opacity: 0.85; box-shadow: none; pointer-events: none; }
body.embed .layers { top: 76px; }
@media (max-width: 760px) { .layers { top: auto; bottom: calc(46vh + 24px); right: 14px; flex-direction: row; gap: 14px; } }
/* seven tabs do not fit a phone: the tab strip scrolls sideways there instead of running off the edge */
@media (max-width: 760px) {
  .topbar > #nav, body.tracker .topbar > nav { flex: 1 1 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .topbar > #nav::-webkit-scrollbar, body.tracker .topbar > nav::-webkit-scrollbar { display: none; }
  .segmented a { white-space: nowrap; }
}

/* --- the shared top bar: logo, the three everyday tabs, and the rest behind a menu ---------- */
.brand .mark { width: 34px; height: 34px; fill: none; stroke: none; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--brand-1) 40%, transparent)); }
.brand .mark .bolt { fill: var(--brand-2); stroke: var(--bg); stroke-width: 2.4; stroke-linejoin: round; paint-order: stroke; }
.brand b { color: var(--brand-1); }
.more .burger { padding: 8px 10px; display: grid; place-items: center; }
.more .burger svg { width: 18px; height: 14px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; filter: none; }
.more.open .burger { border-color: var(--accent); }
.more .menu-list { left: 0; right: auto; top: 44px; min-width: 300px; z-index: 1200; }
.topbar > .more { flex-shrink: 0; }
body.embed .more { display: none; }

/* --- the loader: the roadrunner flat out, its legs a spinning wheel of dots ------------------- */
.runner { width: 210px; margin: 0 auto 16px; }
.runner .rr { width: 100%; height: auto; overflow: visible; }
.runner .rr-body { animation: rr-bob 0.28s ease-in-out infinite; transform-origin: 47px 31px; }
.runner .rr-wheel { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--brand-1) 55%, transparent)); }
.runner .rr-dust path { stroke: var(--brand-2); stroke-width: 1.8; opacity: 0.55; animation: rr-dust 0.5s linear infinite; }
.runner .rr-dust path:nth-child(1) { animation-delay: -0.2s; }
@keyframes rr-bob { 50% { transform: translateY(-1.2px) rotate(-1.2deg); } }
@keyframes rr-dust { from { transform: translateX(8px); opacity: 0.7; } to { transform: translateX(-10px); opacity: 0; } }
/* the picture loader: a white edge so the black tyre and outlines show on the dark panel, like a sticker */
.runner.pic { width: 250px; margin-bottom: 8px; }
.runner .rp { width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.runner .rp-run { animation: rp-shudder 0.16s linear infinite; }
.runner .rp-streak { animation: rp-spin 0.42s linear infinite; }
.runner .rp-streak.b { animation-duration: 0.33s; }
.runner .rp-streak.c { animation-duration: 0.27s; }
.runner .rp-beep { transform-origin: 400px 300px; animation: rp-beep 0.9s ease-in-out infinite; }
@keyframes rp-spin { to { stroke-dashoffset: -360; } }
@keyframes rp-shudder { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-1.5px, 1px); } 50% { transform: translate(1px, -1.5px); } 75% { transform: translate(1.5px, 1px); } }
@keyframes rp-beep { 0%, 100% { transform: scale(1) rotate(0); } 12% { transform: scale(1.07) rotate(-1.5deg); } 24% { transform: scale(1); } 36% { transform: scale(1.05) rotate(1deg); } 48% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .runner .rr-body, .runner .rr-dust path, .runner .rp-run, .runner .rp-streak, .runner .rp-beep { animation: none; } }

/* the in-page "are you sure?" box (shell.js) */
dialog.ask { background: #0d131e; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  max-width: min(480px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); font: inherit; }
dialog.ask::backdrop { background: rgba(3, 6, 12, 0.66); backdrop-filter: blur(2px); }
dialog.ask p { margin: 0 0 18px; white-space: pre-line; line-height: 1.5; font-size: 15.5px; }
dialog.ask .ask-row { display: flex; justify-content: flex-end; gap: 10px; }

/* a small loader beside something that is working (shell.js: readrunnerLoader) */
.working { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14.5px; }
.runner.small { width: 92px; margin: 0; flex: none; }
.runner.small.pic { width: 104px; margin: 0; }
/* the steps box (shell.js: readrunnerSteps) */
dialog.ask.steps { max-width: min(600px, calc(100vw - 32px)); }
dialog.ask.steps h3 { margin: 0 0 4px; font-size: 20px; }
dialog.ask.steps .steps-lead { color: var(--muted); margin-bottom: 14px; }
.steps-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.steps-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.steps-list .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.steps-list li.done .mark { background: color-mix(in srgb, var(--good) 22%, transparent); color: var(--good); }
.steps-list li.todo { border-color: color-mix(in srgb, var(--brand-1) 60%, transparent); }
.steps-list li.todo .mark { background: var(--brand-1); color: #14100a; }
.steps-list li.warn .mark { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }
.steps-list .what { flex: 1; min-width: 0; display: grid; gap: 2px; }
.steps-list .what small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.steps-list li.done .what b { font-weight: 500; color: var(--muted); }
.steps-list .btn { flex: none; text-decoration: none; }

/* the loader in the corner while the page waits on the server (shell.js: readrunnerBusy) */
.busy-chip { position: fixed; left: 18px; bottom: 18px; z-index: 900; background: #0d131e; border: 1px solid var(--line);
  border-radius: 14px; padding: 8px 16px 8px 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); color: var(--text); max-width: min(440px, calc(100vw - 36px)); }
.busy-chip[hidden] { display: none; }
.busy-chip .runner.small, .busy-chip .runner.small.pic { width: 74px; }

/* the Planner's 3D view (map3d.js): a second map in the same place as the first */
#map3d { position: fixed; inset: 0; background: var(--bg); z-index: 1; }
#map3d[hidden] { display: none; }
body.three-d #map { visibility: hidden; }
body.three-d .layers label:not(:last-child) { opacity: 0.45; }  /* crime areas and portions are 2D only for now */
.pop3d .maplibregl-popup-content { background: #0d131e; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); font: inherit; font-size: 13.5px; }
.pop3d .maplibregl-popup-tip { border-top-color: #0d131e; border-bottom-color: #0d131e; }
.pop3d .maplibregl-popup-close-button { color: var(--muted); font-size: 18px; padding: 2px 8px; }
.pop3d h4 { margin: 0 18px 8px 0; font-size: 14.5px; }
.pop3d div div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.pop3d span { color: var(--muted); }
.pop3d p { margin: 8px 0 0; color: var(--muted); line-height: 1.4; }
.maplibregl-ctrl-attrib { background: rgba(13, 19, 30, 0.7) !important; color: var(--muted); }
.maplibregl-ctrl-attrib a { color: var(--muted); }
body.three-d .maplibregl-ctrl-bottom-right { bottom: 8px; right: 4px; }
