:root {
    --ink: #12202b;
    --ink-soft: #3d4f5c;
    --paper: #f3eee4;
    --panel: #fffdf8;
    --line: #d8cfc0;
    --crimson: #b42318;
    --gold: #b0892e;
    --gold-dark: #8c6a1f;
    --map-chrome: #0e1a22;
    --ok: #2f6b4f;
    --shadow: 0 18px 50px rgba(18, 32, 43, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
    font-family: Barlow, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 500px at 10% -10%, #2a4454 0%, transparent 50%),
        linear-gradient(180deg, #12202b 0%, #1b303c 40%, #12202b 100%);
}

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-shell {
    display: grid;
    grid-template-columns: 328px minmax(0, 1fr);
    height: calc(100vh - 56px);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    background: var(--map-chrome);
    color: #f3eee4;
    border-bottom: 1px solid rgba(243, 238, 228, 0.12);
    min-height: 64px;
}
.map-toolbar { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.map-toolbar .btn { padding: 8px 10px; font-size: 11px; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: var(--crimson);
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.brand strong { display: block; font-size: 15px; font-weight: 600; }
.brand em { font-style: normal; color: #c9b89a; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.top-meta { display: flex; gap: 16px; font-size: 13px; color: #d8cfc0; margin-left: auto; }
.export-actions { display: flex; gap: 8px; }
.view-switch { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.view-switch .btn { border-radius: 0; }
.view-switch .btn.active {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: #1a1408;
}
.export-note {
    margin: 0 0 0 10px;
    font-size: 11px;
    color: #d8cfc0;
    max-width: 220px;
    line-height: 1.3;
}
.orbit-controls { display: flex; margin-left: 8px; }
.orbit-controls.hidden { display: none !important; }
.orbit-controls .btn { min-width: 42px; padding: 10px 12px; }

.btn {
    font: 600 13px/1 Barlow, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    padding: 10px 14px;
    cursor: pointer;
}
.btn:hover { border-color: var(--ink); }
.btn.primary {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: #1a1408;
}
.btn.primary:hover { background: #c49b3a; }
.btn.xl { width: 100%; padding: 16px; font-size: 16px; margin-top: 8px; }
.btn.ghost { background: transparent; color: #f3eee4; border-color: rgba(243,238,228,.3); }
.btn.ghost.active {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: #1a1408;
}
.sidebar .export-note {
    color: var(--ink-soft);
    margin: 8px 0 0;
    max-width: none;
}
.map-chrome {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}
.measure-label {
    background: #fff;
    color: var(--ink);
    padding: 6px 10px;
    font: 700 12px Barlow, sans-serif;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.hero-card .export-note {
    color: var(--ink-soft);
    margin: 0 0 20px;
    max-width: none;
}
.setup {
    min-height: calc(100vh - 64px);
    display: grid;
    place-items: center;
    padding: 32px 16px 64px;
}
.sidebar { display: none; }
.sidebar-form { margin: 0; }
.side-block { margin: 0 0 18px; }
.sidebar h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--crimson);
}
.address-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.address-row .btn { padding: 11px 12px; }
.property-card {
    margin-top: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--crimson);
}
.property-card h3 { font-size: 14px; margin: 0 0 6px; line-height: 1.35; }
.property-meta { margin: 0 0 8px; font-size: 12px; color: var(--ink-soft); }
.btn.ghost-ink { background: #fff; color: var(--ink); border-color: var(--line); padding: 6px 10px; font-size: 11px; }
.radius-chips { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.radius-chip {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 6px;
    font: 700 12px/1 "Barlow Condensed", sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}
.radius-chip.is-active {
    background: var(--crimson);
    border-color: var(--crimson);
    color: #fff;
}
.map-spots {
    margin: 16px 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
}
.map-spots h2 { margin-bottom: 8px; }
.map-spots dl { margin: 0; display: grid; gap: 6px; }
.map-spots div { display: flex; justify-content: space-between; font-size: 13px; }
.map-spots dt { color: var(--ink-soft); }
.map-spots dd { margin: 0; font-weight: 700; }
.hero-card {
    width: min(720px, 100%);
    background: var(--paper);
    padding: 36px 36px 28px;
    box-shadow: var(--shadow);
    border-top: 6px solid var(--crimson);
}
.eyebrow {
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--crimson);
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
}
h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 34px;
    line-height: 0.95;
    margin: 0 0 12px;
    font-weight: 700;
}
.lede { color: var(--ink-soft); margin: 0 0 24px; line-height: 1.45; }
form label, .prop-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: var(--ink-soft);
}
input[type="text"], input[type="password"], select {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    background: #fff;
    font: 500 15px/1.3 Barlow, sans-serif;
    color: var(--ink);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map-products {
    border: 1px solid var(--line);
    padding: 12px;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.map-products legend {
    padding: 0 6px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.map-product {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 14px 14px 12px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
}
.map-product input { position: absolute; opacity: 0; pointer-events: none; }
.map-product strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.map-product span {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.35;
}
.map-product:has(input:checked) {
    border-color: var(--crimson);
    box-shadow: inset 0 0 0 1px var(--crimson);
    background: #fff8f6;
}
.toggles {
    border: 1px solid var(--line);
    padding: 12px 14px;
    margin: 6px 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.toggles legend { padding: 0 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.check { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; margin: 0; color: var(--ink); }
.status { margin: 12px 0 0; color: var(--crimson); font-size: 14px; }
.status.is-loading { color: var(--ink-soft); }
.hint { color: var(--ink-soft); font-size: 12px; line-height: 1.4; margin: 12px 0 0; }
code { font-size: 12px; }

.workspace {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: calc(100vh - 64px);
}
.editor {
    background: #182833;
    color: #f3eee4;
    padding: 16px;
    overflow: auto;
    border-right: 1px solid rgba(243,238,228,.08);
}
.editor-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.editor h2 {
    font-family: "Barlow Condensed", sans-serif;
    margin: 0;
    font-size: 22px;
    letter-spacing: 0.04em;
}
.editor .prop-label { color: #c9b89a; }
.editor input[type="text"],
.editor select { background: #0e1a22; color: #f3eee4; border-color: #314552; }
.element-list { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 16px; }
.element-item {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px;
    background: rgba(14, 26, 34, 0.55);
    font-size: 13px;
}
.element-item span { opacity: 0.65; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.element-item.group { margin-top: 10px; background: transparent; border: 0; font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #c9b89a; padding: 8px 4px 2px; }
.editor-actions { display: flex; flex-direction: column; gap: 8px; }
.editor .hint { color: #9aa8b2; }

.map-wrap {
    position: relative;
    min-height: 0;
    height: 100%;
    background: #0e1a22;
}
#map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
#map:not([data-earth="1"]) {
    overflow: hidden;
}
.north-arrow {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 42px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    display: grid;
    place-items: center;
    font: 700 14px "Barlow Condensed", sans-serif;
    box-shadow: var(--shadow);
    z-index: 3;
    pointer-events: none;
}
.explore-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #12202b;
    color: #f3eee4;
    overflow-x: auto;
}
.explore-bar span {
    font: 700 11px/1 "Barlow Condensed", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9b89a;
    white-space: nowrap;
}
.cat-chip {
    border: 1px solid rgba(243,238,228,.25);
    background: transparent;
    color: #f3eee4;
    padding: 6px 10px;
    font: 600 12px Barlow, sans-serif;
    cursor: pointer;
    white-space: nowrap;
}
.cat-chip.is-active { background: var(--gold); color: #1a1408; border-color: var(--gold-dark); }
#map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
#map:not([data-earth="1"]) {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.map-status {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #fffdf8;
    padding: 8px 14px;
    font-size: 13px;
    box-shadow: var(--shadow);
    z-index: 2;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 26, 34, 0.72);
    display: grid;
    place-items: center;
    z-index: 20;
    padding: 20px;
}
.panel {
    width: min(460px, 100%);
    background: var(--paper);
    padding: 28px;
    box-shadow: var(--shadow);
}
.row { display: flex; gap: 8px; }

.poi-marker, .poi-cluster, .traffic-marker, .road-banner, .property-callout, .vpd-badge {
    pointer-events: auto;
    user-select: none;
    z-index: 3;
    position: relative;
}
#map .earth-road-layer {
    pointer-events: none;
    overflow: visible !important;
    z-index: 14 !important;
    opacity: 1 !important;
}
#map[data-earth="1"] .earth-road-layer {
    z-index: 12;
}
#map .poi-marker,
#map .poi-cluster,
#map .property-callout,
#map .vpd-badge {
    position: relative;
}
gmp-advanced-marker {
    overflow: visible !important;
}
.property-callout { z-index: 12; }
.poi-marker,
.poi-cluster {
    z-index: 11;
}
.vpd-badge { z-index: 9; }
.road-banner { z-index: 5; }
.poi-leader-svg {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 1px;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}
#map:not([data-earth="1"]) .poi-marker,
#map:not([data-earth="1"]) .poi-cluster {
    overflow: visible !important;
}
.poi-marker,
.poi-cluster {
    overflow: visible !important;
}
.poi-marker,
.poi-cluster {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.28);
    border-radius: 3px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    cursor: grab;
    width: max-content;
    max-width: 220px;
}
.poi-cluster {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    max-width: 220px;
}
.poi-cluster-head {
    display: block;
    background: #1b4f72;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 10px;
}
.poi-cluster-names {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 2px 4px;
}
.poi-cluster-names b {
    display: block;
    max-width: 120px;
    font-size: 8px;
}
.poi-cluster-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 4px;
    border-radius: 999px;
    background: #111;
    color: #ffe000;
    font: 800 10px/1 "Barlow Condensed", sans-serif;
    letter-spacing: 0.04em;
}
#map .poi-marker.is-count,
#map .poi-cluster.is-count {
    cursor: pointer;
}
.poi-cluster-logos,
.poi-marker.logo-only {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    padding: 4px 6px;
    max-width: 168px;
}
.poi-marker.logo-only {
    padding: 3px 5px;
    max-width: max-content;
}
.poi-marker img,
.poi-cluster img,
img.poi-logo {
    height: auto !important;
    width: auto !important;
    max-width: 42px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    object-position: center center;
    display: block;
    flex-shrink: 0;
    transform: none !important;
}
#map:not([data-earth="1"]) .poi-marker.is-stem::after,
#map:not([data-earth="1"]) .poi-cluster.is-stem::after {
    display: none;
}
.poi-marker.is-stem,
.poi-cluster.is-stem {
    transform-origin: 50% 100%;
}
.poi-marker.is-stem::after,
.poi-cluster.is-stem::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: var(--poi-stem, 36px);
    margin-left: -1px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.35);
    pointer-events: none;
    z-index: 0;
}
.poi-pin::after {
    display: none;
}
#map[data-radius="1"] .poi-pin::after,
#map[data-radius="1"] .poi-pin::before {
    display: none;
}
.poi-marker b,
.poi-cluster b {
    font-size: 8px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}
.property-callout {
    background: #fff;
    color: #12202b;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    padding: 0;
    box-shadow: 0 8px 18px rgba(0,0,0,.4);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    overflow: visible;
    border-radius: 2px;
}
.property-callout .subject-head {
    display: block;
    background: #c4122f;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.18em;
    font-weight: 700;
    text-align: center;
    padding: 10px 28px 8px;
    text-transform: uppercase;
}
.property-callout .subject-body strong {
    display: block;
    font-size: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #12202b;
    overflow: visible;
    max-width: none;
}
.property-callout .subject-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px 14px;
}
.property-callout::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-top-color: #fff;
    transform: translateX(-50%);
    background: none;
}
.property-callout.pill {
    background: #e10600;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.property-callout.pill .subject-head {
    display: none;
}
.property-callout.pill .subject-body {
    padding: 10px 22px 11px;
}
.property-callout.pill .subject-body strong {
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.14em;
}
.property-callout.pill .subject-body em {
    display: block;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: none;
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.property-callout.pill::after {
    border-top-color: #e10600;
    border-width: 9px;
}
.leader-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: #fff;
    border: 1.5px solid #111;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    z-index: 6;
    pointer-events: none;
}
.leader-dot.property {
    width: 11px;
    height: 11px;
    background: #c4122f;
    border-color: #fff;
}
#map[data-radius="3"] .property-callout.pill .subject-body strong,
#map[data-radius="5"] .property-callout.pill .subject-body strong {
    font-size: 18px;
    letter-spacing: 0.12em;
}
#map[data-radius="3"] .property-callout.pill .subject-body,
#map[data-radius="5"] .property-callout.pill .subject-body {
    padding: 10px 22px 11px;
}
#map[data-radius="3"] .poi-cluster {
    max-width: max-content;
    width: max-content;
    border-radius: 3px;
    border: 1px solid rgba(17, 17, 17, 0.28);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    overflow: visible;
    padding: 0;
}
#map[data-radius="3"] .poi-marker {
    border-radius: 3px;
    border: 1px solid rgba(17, 17, 17, 0.28);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    width: max-content;
    max-width: max-content;
    padding: 4px 6px;
}
#map[data-radius="3"] .poi-cluster-logos {
    max-width: 340px;
    gap: 6px 8px;
    padding: 8px 10px;
}
#map[data-radius="3"] .poi-marker img,
#map[data-radius="3"] .poi-cluster img {
    height: auto !important;
    max-width: 34px !important;
    max-height: 18px !important;
}
#map[data-radius="5"] .poi-cluster {
    max-width: max-content;
    width: max-content;
    border-radius: 2px;
    border: 1px solid rgba(17, 17, 17, 0.28);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: visible;
    padding: 0;
    background: #fff;
}
#map[data-radius="5"] .poi-marker {
    border-radius: 0;
    border: 1.5px solid #111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    width: max-content;
    max-width: max-content;
    padding: 4px 6px;
    background: #fff;
}
#map[data-radius="5"] .poi-marker.logo-only {
    padding: 3px 5px;
}
#map[data-radius="5"] .poi-cluster-logos {
    max-width: 180px;
    gap: 6px 8px;
    padding: 6px 8px;
}
#map[data-radius="5"] .poi-cluster img,
#map[data-radius="5"] .poi-marker img,
#map[data-radius="5"] .poi-marker.logo-only img {
    height: auto !important;
    width: auto !important;
    max-width: 30px !important;
    max-height: 16px !important;
    object-fit: contain;
}
#map .poi-cluster.logo-only {
    padding: 5px 6px;
    border-radius: 4px;
    border: 1px solid rgba(17, 17, 17, 0.22);
    background: #fff;
}
#map .poi-cluster.logo-only .poi-cluster-head,
#map .poi-cluster.logo-only .poi-cluster-names {
    display: none;
}
#map[data-radius="5"] .poi-cluster-head {
    font-size: 11px;
    letter-spacing: 0.12em;
    padding: 6px 10px;
}
#map[data-radius="5"] .poi-cluster-names b,
#map[data-radius="5"] .poi-marker b {
    font-size: 11px;
    max-width: 140px;
}
#map[data-radius="5"] .property-callout.pill.exhibit {
    border-radius: 2px;
    background: #e10600;
}
#map[data-radius="5"] .property-callout.pill.exhibit .subject-body {
    padding: 10px 20px 11px;
}
#map[data-radius="5"] .property-callout.pill.exhibit .subject-body strong {
    font-size: 18px;
    letter-spacing: 0.12em;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster {
    padding: 3px 5px;
    max-width: 210px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.48);
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker img,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] .poi-marker img,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="2"] img.poi-logo {
    max-width: 52px !important;
    max-height: 26px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-logos {
    max-width: 220px;
    gap: 4px 6px;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.pill .subject-body strong {
    font-size: 20px;
    letter-spacing: 0.14em;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker img,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="2"] img.poi-logo {
    max-width: 32px !important;
    max-height: 17px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-logos {
    max-width: 280px;
    gap: 4px 6px;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster {
    padding: 2px 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="3"] img.poi-logo {
    max-width: 44px !important;
    max-height: 22px !important;
}
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster-logos {
    max-width: 220px;
    gap: 4px 6px;
}
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] img.poi-logo {
    max-width: 32px !important;
    max-height: 17px !important;
}
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-logos {
    max-width: 168px;
    gap: 3px 5px;
}
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] img.poi-logo {
    max-width: 26px !important;
    max-height: 14px !important;
}
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body strong {
    font-size: 15px;
    letter-spacing: 0.10em;
}
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    font-size: 11px;
    padding: 2px 6px;
}
.road-shield {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #111;
    color: #111;
    font: 800 14px "Barlow Condensed", sans-serif;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 6;
}
.road-shield.interstate {
    width: 34px;
    height: 40px;
    border-radius: 3px 3px 12px 12px;
    background: #1d4f9a;
    border: 2px solid #fff;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
    padding-top: 0;
    overflow: hidden;
}
.road-shield.interstate small {
    display: block;
    width: 100%;
    background: #c4122f;
    font-size: 8px;
    letter-spacing: 0.12em;
    padding: 2px 0 1px;
    text-align: center;
}
.road-shield.interstate strong {
    font-size: 16px;
    padding-top: 3px;
}
.road-shield.route-pill {
    width: auto;
    min-width: 36px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ffff00;
    border: 2px solid #111;
    color: #111;
    font: 800 13px "Barlow Condensed", sans-serif;
    letter-spacing: 0.04em;
}
.vpd-badge {
    background: #111;
    color: #ffe000;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.06em;
    padding: 5px 12px 5px 8px;
    border-radius: 999px;
    border: 1px solid #111;
    box-shadow: 0 4px 12px rgba(0,0,0,.6);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
#map[data-radius="1"] .vpd-badge {
    font-size: 13px;
    padding: 3px 7px 3px 5px;
}
#map:not([data-earth="1"]) .vpd-badge {
    font-size: 13px;
    padding: 3px 8px;
    gap: 5px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
#map:not([data-earth="1"]) .vpd-kicker {
    letter-spacing: 0.06em;
}
#map:not([data-earth="1"])[data-template="1"] .vpd-badge {
    font-size: 12px;
    padding: 2px 7px;
}
#map[data-radius="1"][data-earth="1"] .vpd-badge,
#map[data-radius="1"][data-earth="1"] .vpd-kicker {
    color: #ffe000;
}
#map[data-radius="1"][data-earth="1"] .vpd-value {
    color: #fff;
}
.vpd-kicker {
    letter-spacing: 0.08em;
    color: #ffe000;
}
.vpd-value {
    color: #fff;
    font-weight: 800;
}
#map[data-radius="5"] .vpd-badge {
    font-size: 14px;
    padding: 5px 12px 5px 8px;
}
.vpd-car {
    width: 22px;
    height: 12px;
    background: #f5c518;
    border: 1.5px solid #111;
    border-radius: 3px 5px 3px 3px;
    position: relative;
    flex-shrink: 0;
}
.vpd-car::before,
.vpd-car::after {
    content: "";
    position: absolute;
    bottom: -4px;
    width: 5px;
    height: 5px;
    background: #111;
    border-radius: 50%;
}
.vpd-car::before { left: 2px; }
.vpd-car::after { right: 2px; }
.traffic-marker {
    background: #fff;
    border-left: 4px solid #1b4f72;
    padding: 6px 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
    font-size: 12px;
    min-width: 120px;
}
.traffic-marker strong { display: block; font-size: 13px; }
.traffic-marker em { font-style: normal; color: var(--ink-soft); }
.road-banner {
    background: #fff;
    color: #111;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 8px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
    text-transform: uppercase;
    pointer-events: none;
    text-shadow: none;
    border: 1px solid #111;
    border-radius: 2px;
}
.road-banner.highway {
    border-width: 2px;
    letter-spacing: 0.14em;
    font-size: 15px;
    padding: 4px 10px;
}
#map[data-radius="5"] .road-banner.road-along { font-size: 18px; }
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along {
    font-size: 14px;
    letter-spacing: 0.1em;
}
#map:not([data-earth="1"])[data-template="2"] .road-banner.road-along {
    font-size: 15px;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along {
    font-size: 15px;
    letter-spacing: 0.1em;
}
#map:not([data-earth="1"]) .road-banner.road-along.is-corridor {
    font-size: 16px;
    letter-spacing: 0.12em;
}
#map[data-radius="1"][data-earth="1"] .road-banner.road-along {
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 800;
    z-index: 8;
    color: #f5c518;
    text-shadow:
        -1.5px -1.5px 0 #111,
        1.5px -1.5px 0 #111,
        -1.5px 1.5px 0 #111,
        1.5px 1.5px 0 #111;
}
#map[data-radius="1"][data-earth="1"] .property-callout.pill .subject-body {
    padding: 6px 14px 7px;
}
#map[data-radius="1"][data-earth="1"] .property-callout.pill .subject-body strong {
    font-size: 14px;
    letter-spacing: 0.12em;
}
#map[data-radius="1"][data-earth="1"] .property-callout.pill .subject-body em {
    display: block;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    max-width: 168px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#map[data-earth="1"][data-radius="3"] .road-banner.road-along,
#map[data-earth="1"][data-radius="5"] .road-banner.road-along {
    font-size: 16px;
    letter-spacing: 0.1em;
    font-weight: 800;
    z-index: 8;
}
#map[data-earth="1"] .vpd-badge {
    background: #111;
    color: #ffe000;
}
#map[data-earth="1"] .vpd-value {
    color: #fff;
}
#map[data-radius="3"] .road-banner.road-along,
#map[data-radius="5"] .road-banner.road-along,
.road-banner.road-along {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffff00;
    font-size: 18px;
    letter-spacing: 0.12em;
    padding: 0;
    font-weight: 800;
    text-shadow:
        -1.5px -1.5px 0 #111,
        1.5px -1.5px 0 #111,
        -1.5px 1.5px 0 #111,
        1.5px 1.5px 0 #111,
        0 0 8px #111;
}
#map[data-radius="3"] .road-banner.road-along {
    font-size: 16px;
    letter-spacing: 0.12em;
    font-weight: 800;
}
#map[data-radius="5"] .road-banner.road-along {
    font-size: 18px;
    letter-spacing: 0.12em;
    font-weight: 800;
}
#map[data-radius="1"] .poi-marker,
#map[data-radius="1"] .poi-cluster {
    max-width: max-content;
    width: max-content;
    padding: 4px 6px;
    border-radius: 3px;
    border: 1px solid rgba(17, 17, 17, 0.28);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    background: #fff;
    overflow: visible;
    gap: 4px;
}
#map[data-radius="1"] .poi-marker.logo-only {
    max-width: max-content;
    padding: 3px 5px;
    border-radius: 3px;
}
#map[data-radius="1"] .poi-marker img,
#map[data-radius="1"] .poi-cluster img {
    height: auto !important;
    width: auto !important;
    max-width: 44px !important;
    max-height: 22px !important;
    object-fit: contain;
}
#map[data-radius="1"] .poi-marker.prominent img,
#map[data-radius="1"] img.poi-logo-featured {
    max-width: 32px !important;
    max-height: 26px !important;
}
#map[data-radius="1"] .poi-cluster img {
    max-width: 40px !important;
    max-height: 20px !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster {
    padding: 0;
    overflow: visible;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster-logos {
    max-width: 320px;
    gap: 7px 10px;
    padding: 8px 10px;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster img {
    max-width: 38px !important;
    max-height: 20px !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="1"] .poi-marker img {
    max-width: 44px !important;
    max-height: 24px !important;
}
#map[data-radius="1"][data-earth="1"] .poi-marker,
#map[data-radius="1"][data-earth="1"] .poi-cluster {
    border-radius: 4px;
    border: 1px solid rgba(17, 17, 17, 0.22);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
    background: #fff;
}
#map[data-radius="1"][data-earth="1"] .poi-marker {
    padding: 4px 6px;
}
#map[data-radius="1"][data-earth="1"] .poi-cluster {
    padding: 0;
    overflow: hidden;
}
#map[data-earth="1"] .poi-cluster-head {
    background: #16324a;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.14em;
    font-weight: 700;
    padding: 5px 10px 4px;
    text-transform: uppercase;
}
#map[data-radius="1"][data-earth="1"] .poi-marker img,
#map[data-radius="1"][data-earth="1"] .poi-cluster img {
    height: auto !important;
    width: auto !important;
    max-width: 42px !important;
    max-height: 22px !important;
    object-fit: contain;
}
#map[data-radius="1"][data-earth="1"] .vpd-badge {
    display: none;
}
#map[data-radius="1"][data-earth="1"] .vpd-car {
    width: 18px;
    height: 10px;
}
#map[data-radius="1"][data-earth="1"] .leader-dot {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
}
#map[data-radius="1"][data-earth="1"] .leader-dot.property {
    width: 9px;
    height: 9px;
}
#map[data-radius="1"] .poi-cluster {
    padding: 0;
}
#map[data-radius="1"] .poi-cluster-logos,
#map[data-radius="1"] .poi-marker.logo-only {
    padding: 3px 5px;
    gap: 4px 6px;
    max-width: 168px;
}
#map[data-radius="1"] .poi-cluster-head {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px 3px 0 0;
    letter-spacing: 0.1em;
}
#map[data-radius="1"] .property-callout.pill .subject-body {
    padding: 7px 16px 8px;
}
#map[data-radius="1"] .property-callout.pill .subject-body strong {
    font-size: 15px;
    letter-spacing: 0.12em;
}
#map:not([data-earth="1"]) .property-callout.pill {
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.28);
}
#map:not([data-earth="1"]) .property-callout.pill .subject-body {
    padding: 5px 11px 6px;
    flex-direction: column;
    gap: 1px;
}
#map:not([data-earth="1"]) .property-callout.pill .subject-body strong {
    font-size: 13px;
    letter-spacing: 0.12em;
    line-height: 1.15;
}
#map:not([data-earth="1"]) .property-callout.pill .subject-body em {
    display: block;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: none;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#map:not([data-earth="1"]) .property-callout.pill::after {
    border-width: 6px;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.pill .subject-body {
    padding: 4px 10px 5px;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.pill .subject-body strong {
    font-size: 12px;
    letter-spacing: 0.1em;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.pill .subject-body em {
    font-size: 10px;
    max-width: 176px;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster {
    padding: 2px 4px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(17, 17, 17, 0.22);
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only {
    padding: 2px 4px;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker img,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster img {
    max-width: 28px !important;
    max-height: 16px !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker.prominent img,
#map:not([data-earth="1"])[data-template="1"] img.poi-logo-featured {
    max-width: 32px !important;
    max-height: 26px !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only {
    padding: 2px 4px;
    gap: 3px 4px;
    max-width: 280px;
}
#map:not([data-earth="1"])[data-template="1"] .vpd-badge {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 4px;
    color: #ffe000;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-shadow:
        -1.5px -1.5px 0 #111,
        1.5px -1.5px 0 #111,
        -1.5px 1.5px 0 #111,
        1.5px 1.5px 0 #111,
        0 0 8px #111;
}
#map:not([data-earth="1"])[data-template="1"] .vpd-kicker,
#map:not([data-earth="1"])[data-template="1"] .vpd-value {
    color: #ffe000;
}
#map:not([data-earth="1"])[data-template="1"] .vpd-car {
    display: inline-block !important;
    width: 18px;
    height: 10px;
}
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along {
    font-size: 12px;
    letter-spacing: 0.08em;
}
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along.is-corridor {
    font-size: 13px;
    letter-spacing: 0.1em;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker.is-corridor-near,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster.is-corridor-near {
    z-index: 26;
}
#map:not([data-earth="1"])[data-template="1"] .leader-dot {
    width: 6px;
    height: 6px;
    border-width: 1px;
}
#map:not([data-earth="1"])[data-template="1"] .leader-dot.property {
    width: 8px;
    height: 8px;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker.poi-text-only b {
    font-size: 10px !important;
}

#map:not([data-earth="1"])[data-template="2"] .property-callout.pill {
    border-radius: 2px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill .subject-body {
    padding: 7px 14px 8px;
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill .subject-body strong {
    font-size: 14px;
    letter-spacing: 0.14em;
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill .subject-body em {
    font-size: 10px;
    max-width: 180px;
}
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill.exhibit .subject-body {
    padding: 6px 12px 7px;
}
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body strong,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill.exhibit .subject-body strong {
    font-size: 13px;
    letter-spacing: 0.12em;
}
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body em {
    font-size: 8px;
    max-width: 140px;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster {
    padding: 2px 4px;
    border-radius: 2px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(17, 17, 17, 0.22);
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only {
    padding: 2px 4px;
    border-radius: 2px;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster img {
    max-width: 30px !important;
    max-height: 16px !important;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only img {
    max-width: 32px !important;
    max-height: 18px !important;
}
#map:not([data-earth="1"])[data-template="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only {
    padding: 2px 3px;
    gap: 2px 3px;
    max-width: 144px;
}
#map:not([data-earth="1"])[data-template="3"] .poi-cluster-head {
    font-size: 9px;
    padding: 3px 6px;
    letter-spacing: 0.1em;
}
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    font-size: 12px;
    padding: 2px 8px 2px 6px;
    gap: 5px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along {
    font-size: 12px;
    letter-spacing: 0.08em;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-corridor {
    font-size: 13px;
    letter-spacing: 0.1em;
}
#map:not([data-earth="1"])[data-template="3"] .leader-dot {
    width: 5px;
    height: 5px;
    border-width: 1px;
}
#map:not([data-earth="1"])[data-template="3"] .leader-dot.property {
    width: 6px;
    height: 6px;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker.poi-text-only b {
    font-size: 9px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster {
    padding: 2px 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(17, 17, 17, 0.22);
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only {
    padding: 2px 5px;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker img,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster img {
    max-width: 24px !important;
    max-height: 14px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker.prominent img,
#map:not([data-earth="1"])[data-template="2"] img.poi-logo-featured {
    max-width: 40px !important;
    max-height: 20px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only {
    padding: 8px 10px;
    gap: 6px 8px;
    max-width: 360px;
    background: #fff;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-head {
    font-size: 10px;
    padding: 3px 7px;
    letter-spacing: 0.1em;
}
#map:not([data-earth="1"])[data-template="2"] .vpd-badge {
    font-size: 13px;
    padding: 3px 10px 3px 7px;
    gap: 6px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
#map:not([data-earth="1"])[data-template="2"] .road-banner.road-along {
    font-size: 13px;
    letter-spacing: 0.09em;
}
#map:not([data-earth="1"])[data-template="2"] .road-banner.road-along.is-corridor {
    font-size: 14px;
    letter-spacing: 0.11em;
}
#map:not([data-earth="1"])[data-template="2"] .leader-dot {
    width: 6px;
    height: 6px;
    border-width: 1px;
}
#map:not([data-earth="1"])[data-template="2"] .leader-dot.property {
    width: 7px;
    height: 7px;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker.poi-text-only b {
    font-size: 10px !important;
}
#map[data-radius="1"] .property-callout .subject-head {
    font-size: 20px;
    letter-spacing: 0.2em;
    padding: 11px 32px 9px;
}
#map[data-radius="1"] .property-callout .subject-body {
    padding: 14px 22px 16px;
}
#map[data-radius="1"] .property-callout .subject-body strong {
    font-size: 18px;
}

.gm-style { font-family: Barlow, sans-serif; }
.gm-svpc,
.gm-fullscreen-control,
.gm-style .gm-style-cc,
.gm-style .gmnoprint a,
.gm-style button.gm-control-active[title="Keyboard shortcuts"] {
    display: none !important;
}

.label-edit {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    padding: 0;
}

.confirm-map {
    width: 100%;
    height: 320px;
    margin: 16px 0;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.pin-panel { max-width: 720px; }
.scene-warnings {
    margin: 10px 0;
    padding: 10px 12px;
    background: #fff4e5;
    border-left: 3px solid var(--gold);
    font-size: 13px;
    color: var(--ink-soft);
}
.scene-warnings ul { margin: 6px 0 0; padding-left: 18px; }
.poi-marker.poi-text-only,
.poi-text-only {
    padding: 3px 8px !important;
    min-width: 0;
    max-width: max-content;
    width: max-content;
    gap: 0;
    border-radius: 2px;
    border: 1px solid #111;
    background: #fff;
}
.poi-marker.poi-text-only b {
    font-size: 11px !important;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    max-width: 180px;
    white-space: nowrap;
}
#map.is-placing-point .poi-marker,
#map.is-placing-point .poi-cluster,
#map.is-placing-point .property-callout,
#map.is-placing-point .vpd-badge,
#map.is-placing-point .road-banner {
    pointer-events: none !important;
}
.poi-cluster-logos:empty {
    display: none;
}
.poi-label-only {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(18,32,43,0.15);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    cursor: grab;
    white-space: nowrap;
}
.property-leader {
    stroke: #b42318;
    stroke-width: 2;
    fill: none;
}

.property-callout { z-index: 14; }
.poi-cluster { z-index: 11; }
.poi-marker.prominent,
.poi-marker.logo-only { z-index: 10; }
.vpd-badge { z-index: 9; }
.road-banner.road-along.is-corridor,
.road-banner.road-along.is-major { z-index: 8; }
.poi-marker.poi-text-only { z-index: 7; }
.road-banner { z-index: 5; }
.vpd-car { display: none; }

#map:not([data-earth="1"]) .vpd-car {
    display: block;
}
#map:not([data-earth="1"]) .vpd-badge {
    border-radius: 999px;
    padding: 4px 11px 4px 7px;
    font-size: 13px;
}
#map:not([data-earth="1"]) .vpd-value {
    color: #ffe000;
}
#map:not([data-earth="1"]) .poi-cluster-head {
    display: none;
}
#map:not([data-earth="1"]) .poi-cluster.is-plaza,
#map:not([data-earth="1"]) .poi-cluster-logos,
#map:not([data-earth="1"])[data-radius="1"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster-logos {
    max-width: 220px;
    gap: 4px 6px;
    padding: 6px 8px;
    background: #fff;
}
#map:not([data-earth="1"])[data-radius="1"] .poi-marker img,
#map:not([data-earth="1"])[data-radius="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-radius="5"] .poi-marker img,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster img,
#map:not([data-earth="1"]) .poi-marker img,
#map:not([data-earth="1"]) .poi-cluster img {
    max-width: 52px !important;
    max-height: 26px !important;
}
#map:not([data-earth="1"])[data-radius="1"] .poi-marker,
#map:not([data-earth="1"])[data-radius="1"] .poi-cluster,
#map:not([data-earth="1"])[data-radius="5"] .poi-marker,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster {
    max-width: max-content;
    width: max-content;
    padding: 0;
    border-radius: 3px;
    border: 1px solid rgba(17, 17, 17, 0.28);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
#map:not([data-earth="1"])[data-radius="1"] .poi-marker,
#map:not([data-earth="1"])[data-radius="5"] .poi-marker {
    padding: 4px 6px;
}
#map:not([data-earth="1"]) .poi-marker,
#map:not([data-earth="1"]) .poi-cluster {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.22);
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}
#map:not([data-earth="1"]) .poi-marker.poi-text-only {
    padding: 5px 10px;
    border-radius: 3px;
}
#map:not([data-earth="1"]) .property-callout.pill.exhibit {
    background: #e10600;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px rgba(180, 0, 0, 0.45);
}
#map:not([data-earth="1"]) .property-callout.pill.exhibit .subject-body {
    padding: 8px 16px 9px;
}
#map:not([data-earth="1"]) .property-callout.pill.exhibit .subject-body strong {
    font-size: 16px;
    letter-spacing: 0.16em;
    color: #fff;
}

#map .poi-marker,
#map .poi-cluster {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(17, 17, 17, 0.26);
    border-radius: 2px;
}
#map .poi-cluster.is-plaza {
    padding: 0;
    overflow: visible;
}
#map .poi-cluster-head {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 4px 8px 3px;
}
#map .poi-cluster-logos {
    gap: 3px 5px;
    padding: 3px 4px;
}
#map .poi-cluster-names {
    padding: 2px 5px 4px;
}
#map .poi-cluster-names b {
    font-size: 9px;
    max-width: 132px;
}

#map:not([data-earth="1"]) .property-callout.pill {
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.42);
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject {
    background: #fff;
    border: 1px solid #111;
    border-radius: 2px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-head {
    display: block;
    background: #e10600;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.18em;
    font-weight: 800;
    padding: 4px 14px 3px;
    text-align: center;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-body {
    padding: 6px 14px 7px;
    background: #fff;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-body strong {
    color: #12202b;
    font-size: 13px;
    letter-spacing: 0.08em;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject::after {
    display: none;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.pill .subject-body {
    padding: 5px 12px 6px;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.pill .subject-body strong {
    font-size: 14px;
    letter-spacing: 0.12em;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.pill .subject-body em {
    font-size: 10px;
    max-width: 196px;
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill .subject-body {
    padding: 4px 11px 5px;
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill .subject-body strong {
    font-size: 13px;
}
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill.exhibit .subject-body {
    padding: 4px 10px 5px;
}
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body strong,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill.exhibit .subject-body strong {
    font-size: 12px;
}

#map:not([data-earth="1"])[data-template="1"] .poi-marker.prominent img,
#map:not([data-earth="1"])[data-template="1"] img.poi-logo-featured {
    max-width: 32px !important;
    max-height: 26px !important;
}

#map .road-banner.road-along {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    color: #ffff00;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-shadow:
        -1.6px -1.6px 0 #111,
        1.6px -1.6px 0 #111,
        -1.6px 1.6px 0 #111,
        1.6px 1.6px 0 #111,
        0 0 4px #111;
}
#map:not([data-earth="1"]) .road-banner.road-along.is-secondary {
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 800;
    opacity: 1;
}
#map:not([data-earth="1"]) .road-banner.road-along.is-major,
#map:not([data-earth="1"]) .road-banner.road-along.is-corridor {
    font-size: 16px;
    letter-spacing: 0.16em;
    opacity: 1;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-secondary {
    font-size: 12px;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-major,
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-corridor {
    font-size: 15px;
}

#map .vpd-badge {
    font-size: 11px;
    padding: 2px 7px;
    gap: 4px;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}
#map:not([data-earth="1"])[data-template="2"] .vpd-kicker,
#map:not([data-earth="1"])[data-template="3"] .vpd-kicker,
#map:not([data-earth="1"])[data-template="2"] .vpd-value,
#map:not([data-earth="1"])[data-template="3"] .vpd-value {
    color: #ffe000;
    font-size: inherit;
    letter-spacing: 0.06em;
}
#map .poi-marker.poi-text-only {
    padding: 2px 6px !important;
    border: 1px solid rgba(17, 17, 17, 0.28);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
}
#map .poi-marker.poi-text-only b {
    font-size: 10px !important;
}

#map[data-earth="1"] .property-callout.pill {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
}
#map[data-earth="1"] .road-banner.road-along {
    font-size: 13px;
}
#map[data-earth="1"] .road-banner.road-along.is-secondary {
    font-size: 12px;
}
#map[data-earth="1"] .vpd-badge {
    font-size: 11px;
    padding: 2px 7px;
}

.saved-maps {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.saved-maps h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    margin: 0 0 8px;
    letter-spacing: 0.04em;
}
.saved-map-list { display: flex; flex-direction: column; gap: 8px; }
.saved-map-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
}
.saved-map-item p { margin: 0; font-size: 14px; font-weight: 600; }
.saved-map-item span { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.saved-map-item button { flex-shrink: 0; }

.radius-ring-label {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.14em;
    color: #fff;
    text-shadow: 0 1px 2px #111, 0 0 6px #111;
    pointer-events: none;
    white-space: nowrap;
}
.radius-ring-label.is-active { color: #f5c518; }
.pac-container { z-index: 40 !important; }

/* Aerial template views — match photo composition, not flyer content */
#map:not([data-earth="1"])[data-template="1"] .poi-cluster,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster.is-plaza {
    max-width: 280px !important;
    overflow: visible !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster-head {
    font-size: 11px;
    padding: 5px 8px 4px;
    letter-spacing: 0.14em;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster-logos {
    max-width: 280px !important;
    gap: 4px 6px;
    padding: 5px 7px;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster img {
    max-width: 38px !important;
    max-height: 20px !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only img {
    max-width: 44px !important;
    max-height: 24px !important;
}
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along {
    font-size: 13px;
    letter-spacing: 0.08em;
}
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along.is-corridor,
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along.is-major {
    font-size: 16px;
    letter-spacing: 0.12em;
    font-weight: 800;
}

#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza {
    max-width: 340px;
    overflow: visible;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-logos {
    max-width: 340px;
    gap: 5px 7px;
    padding: 6px 8px;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster img {
    max-width: 32px !important;
    max-height: 18px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only img {
    max-width: 38px !important;
    max-height: 20px !important;
}
#map:not([data-earth="1"])[data-template="2"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    background: #111;
    color: #ffe000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 10px 3px 7px;
    border-radius: 999px;
    border: 1.5px solid #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    gap: 6px;
    white-space: nowrap;
}
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    font-size: 12px;
    padding: 2px 8px 2px 6px;
}
#map:not([data-earth="1"])[data-template="2"] .vpd-car,
#map:not([data-earth="1"])[data-template="3"] .vpd-car {
    display: inline-block !important;
    width: 18px;
    height: 10px;
}
#map:not([data-earth="1"])[data-template="2"] .road-banner.road-along.is-corridor,
#map:not([data-earth="1"])[data-template="2"] .road-banner.road-along.is-major {
    font-size: 15px;
    letter-spacing: 0.11em;
}

#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only,
#map:not([data-earth="1"])[data-template="3"] .poi-marker {
    padding: 2px 3px !important;
    max-width: 96px !important;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}
#map:not([data-earth="1"])[data-template="3"] .poi-cluster.is-plaza,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only {
    max-width: 132px;
    gap: 2px 4px;
    padding: 2px 3px;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only img {
    max-width: 32px !important;
    max-height: 18px !important;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster img {
    max-width: 30px !important;
    max-height: 16px !important;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-secondary {
    font-size: 10px;
    opacity: 0.78;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-major,
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-corridor {
    font-size: 13px;
    letter-spacing: 0.1em;
}

#map:not([data-earth="1"]) .poi-marker,
#map:not([data-earth="1"]) .poi-cluster,
#map:not([data-earth="1"]) .poi-marker.logo-only,
#map:not([data-earth="1"]) .poi-marker.prominent {
    padding: 7px 9px !important;
    max-width: max-content !important;
    width: max-content !important;
    border-radius: 4px;
    border: 1px solid rgba(17, 17, 17, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    background: #fff;
    overflow: visible;
}
#map:not([data-earth="1"]) .poi-marker,
#map:not([data-earth="1"]) .poi-cluster,
#map:not([data-earth="1"]) .poi-marker.logo-only,
#map:not([data-earth="1"]) .poi-marker.prominent {
    padding: 6px 8px !important;
    max-width: none !important;
    overflow: visible !important;
    background: #fff;
    isolation: isolate;
    backface-visibility: hidden;
    transform-style: flat;
}
#map:not([data-earth="1"]) .poi-marker img,
#map:not([data-earth="1"]) .poi-cluster img,
#map:not([data-earth="1"]) img.poi-logo,
#map:not([data-earth="1"]) .poi-marker.logo-only img,
#map:not([data-earth="1"]) .poi-marker.prominent img,
#map:not([data-earth="1"]) img.poi-logo-featured {
    max-width: 108px !important;
    max-height: 62px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    transform: none !important;
    rotate: none !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-marker img,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="1"] .poi-marker.prominent img,
#map:not([data-earth="1"])[data-template="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"] img.poi-logo-featured {
    max-width: 28px !important;
    max-height: 16px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker img,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="2"] .poi-marker.prominent img,
#map:not([data-earth="1"])[data-template="2"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] img.poi-logo-featured {
    max-width: 24px !important;
    max-height: 14px !important;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster,
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only {
    padding: 2px 4px !important;
    max-width: none !important;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="3"] img.poi-logo {
    max-width: 20px !important;
    max-height: 12px !important;
}
#map:not([data-earth="1"]) .poi-marker.is-stem,
#map:not([data-earth="1"]) .poi-cluster.is-stem,
#map:not([data-earth="1"]) .poi-marker.is-billboard,
#map:not([data-earth="1"]) .poi-cluster.is-billboard,
#map:not([data-earth="1"]) .property-callout.is-billboard {
    transform-origin: 50% 100% !important;
}
#map:not([data-earth="1"]) .poi-marker.is-stem:has(.poi-leader-svg)::after,
#map:not([data-earth="1"]) .poi-cluster.is-stem:has(.poi-leader-svg)::after {
    display: none;
}
#map:not([data-earth="1"]) .poi-marker.is-stem::after,
#map:not([data-earth="1"]) .poi-cluster.is-stem::after {
    left: 50%;
    top: 100%;
    width: 2px;
    height: var(--poi-stem, 36px);
    margin-left: -1px;
    background: #fff;
    box-shadow: 0 0 0 1.15px #111;
    z-index: 0;
}
#map:not([data-earth="1"]) .poi-leader-svg {
    left: 50%;
    bottom: 0;
    overflow: visible;
}
#map:not([data-earth="1"]) .poi-marker.poi-text-only {
    padding: 5px 10px !important;
}
#map:not([data-earth="1"]) .poi-marker.poi-text-only b,
#map:not([data-earth="1"]) .poi-marker b {
    font-size: 12px !important;
    letter-spacing: 0.04em;
    line-height: 1.15;
    max-width: 160px;
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill.exhibit {
    background: #e10600;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.48);
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill .subject-body,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill.exhibit .subject-body {
    padding: 8px 16px 9px;
}
#map:not([data-earth="1"])[data-template="2"] .property-callout.pill .subject-body strong,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill .subject-body strong,
#map:not([data-earth="1"])[data-template="3"] .property-callout.pill.exhibit .subject-body strong {
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.12em;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject {
    background: #fff;
    border: 1px solid #111;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-head {
    font-size: 13px;
    letter-spacing: 0.18em;
    padding: 5px 16px 4px;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-body strong {
    font-size: 14px;
}
#map:not([data-earth="1"])[data-template="1"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    background: #111;
    color: #ffe000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 10px 3px 7px;
    border-radius: 999px;
    border: 1.5px solid #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    font-size: 12px;
}
#map:not([data-earth="1"]) .road-banner.road-along.is-major,
#map:not([data-earth="1"]) .road-banner.road-along.is-corridor {
    font-weight: 800;
    text-shadow:
        -1.35px -1.25px 0 #111,
        1.35px -1.25px 0 #111,
        -1.35px 1.25px 0 #111,
        1.35px 1.25px 0 #111;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-major,
#map:not([data-earth="1"])[data-template="3"] .road-banner.road-along.is-corridor {
    font-size: 15px;
}

#map .road-banner.road-along {
    color: #ffe000 !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em;
    z-index: 6 !important;
    font-size: 15px !important;
}
#map .road-banner.road-along.is-major,
#map .road-banner.road-along.is-corridor {
    font-size: 18px !important;
    letter-spacing: 0.16em;
    z-index: 7 !important;
}
#map[data-earth="1"] .road-banner.road-along {
    font-size: 16px !important;
    z-index: 6 !important;
}
#map .poi-marker,
#map .poi-cluster,
#map .poi-marker.logo-only,
#map .poi-cluster.is-plaza {
    z-index: 18 !important;
}
#map .property-callout {
    z-index: 22 !important;
}
#map[data-earth="1"] .road-banner.road-along.is-major,
#map[data-earth="1"] .road-banner.road-along.is-corridor {
    font-size: 18px !important;
}

#map .poi-marker.logo-only,
#map .poi-cluster,
#map .poi-marker {
    padding: 3px 5px !important;
    overflow: visible !important;
    background: #fff;
}
#map img.poi-logo,
#map .poi-marker img,
#map .poi-cluster img,
#map .poi-marker.logo-only img,
#map .poi-marker.prominent img,
#map img.poi-logo-featured,
#map:not([data-earth="1"]) img.poi-logo,
#map:not([data-earth="1"]) .poi-marker img,
#map:not([data-earth="1"]) .poi-cluster img,
#map:not([data-earth="1"]) .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="1"] .poi-marker img,
#map:not([data-earth="1"])[data-template="2"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster img,
#map[data-earth="1"] img.poi-logo,
#map[data-earth="1"] .poi-marker img,
#map[data-earth="1"] .poi-cluster img {
    display: block !important;
    height: 28px !important;
    width: auto !important;
    max-width: 48px !important;
    max-height: 28px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
#map[data-radius="1"] img.poi-logo,
#map[data-radius="1"] .poi-marker img,
#map[data-radius="1"] .poi-cluster img,
#map[data-radius="1"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="3"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="1"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="3"][data-radius="1"] .poi-marker img {
    height: 32px !important;
    max-width: 54px !important;
    max-height: 32px !important;
    min-width: 22px !important;
    min-height: 22px !important;
}
#map[data-radius="5"] img.poi-logo,
#map[data-radius="5"] .poi-marker img,
#map[data-radius="5"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] img.poi-logo {
    height: 18px !important;
    max-width: 32px !important;
    max-height: 18px !important;
    min-width: 14px !important;
    min-height: 14px !important;
}
#map[data-radius="5"] .poi-marker,
#map[data-radius="5"] .poi-cluster,
#map[data-radius="5"] .poi-marker.logo-only {
    padding: 3px 6px !important;
    overflow: hidden !important;
    max-width: 280px !important;
}

#map:not([data-earth="1"]) .poi-marker,
#map:not([data-earth="1"]) .poi-cluster,
#map:not([data-earth="1"]) .poi-marker.logo-only {
    overflow: visible !important;
    max-width: max-content !important;
}
#map:not([data-earth="1"]) img.poi-logo,
#map:not([data-earth="1"]) .poi-marker img,
#map:not([data-earth="1"]) .poi-cluster img,
#map:not([data-earth="1"])[data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-radius="1"] .poi-marker img,
#map:not([data-earth="1"])[data-radius="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-radius="3"] .poi-marker img,
#map:not([data-earth="1"])[data-radius="3"] .poi-cluster img,
#map:not([data-earth="1"])[data-radius="5"] img.poi-logo,
#map:not([data-earth="1"])[data-radius="5"] .poi-marker img,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster img {
    height: auto !important;
    width: auto !important;
    max-width: 52px !important;
    max-height: 26px !important;
    min-width: 0 !important;
    min-height: 0 !important;
}
#map:not([data-earth="1"]) .poi-cluster-logos,
#map:not([data-earth="1"])[data-radius="1"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-radius="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster-logos {
    max-width: 168px !important;
    gap: 4px 6px;
    padding: 4px 6px;
}

#map:not([data-earth="1"])[data-radius="1"] .poi-cluster-logos {
    max-width: 220px !important;
    gap: 4px 6px !important;
    padding: 6px 8px !important;
    flex-direction: row;
    flex-wrap: wrap;
}
#map:not([data-earth="1"])[data-radius="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster-logos {
    max-width: 168px !important;
    gap: 3px 5px !important;
    padding: 4px 6px !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster-logos {
    max-width: 148px !important;
    gap: 2px 4px !important;
    padding: 3px 5px !important;
}
#map:not([data-earth="1"])[data-radius="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-radius="1"] .poi-marker img {
    max-width: 36px !important;
    max-height: 18px !important;
}
#map:not([data-earth="1"])[data-radius="3"] .poi-cluster img,
#map:not([data-earth="1"])[data-radius="3"] .poi-marker img {
    max-width: 28px !important;
    max-height: 16px !important;
}
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster img,
#map:not([data-earth="1"])[data-radius="5"] .poi-marker img {
    max-width: 22px !important;
    max-height: 13px !important;
}

/* T1: compact white pins on buildings. T2: CRE logo-walls. T3: one logo per store. */
#map:not([data-earth="1"])[data-template="1"] .poi-marker,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster,
#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only {
    background: #fff !important;
    border: 1px solid rgba(17, 17, 17, 0.42) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.42) !important;
    overflow: visible !important;
    max-width: max-content !important;
    padding: 7px 9px !important;
}
#map:not([data-earth="1"])[data-template="1"] .poi-cluster-head {
    display: none !important;
}
#map:not([data-earth="1"])[data-template="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"] .poi-marker img,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="1"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="5"] img.poi-logo {
    height: auto !important;
    width: auto !important;
    max-width: 72px !important;
    max-height: 40px !important;
    min-width: 0 !important;
    object-fit: contain !important;
}
#map:not([data-earth="1"])[data-template="1"][data-radius="5"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="5"] .poi-marker img {
    max-width: 64px !important;
    max-height: 36px !important;
}

#map:not([data-earth="1"])[data-template="2"] .poi-marker,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster,
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only {
    background: #fff !important;
    border: 1px solid rgba(17, 17, 17, 0.38) !important;
    border-radius: 2px !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.45) !important;
    overflow: visible !important;
    max-width: max-content !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster {
    padding: 0 !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only {
    padding: 7px 9px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-head {
    display: none !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-logos {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster-logos {
    max-width: 320px !important;
    gap: 8px 12px !important;
    padding: 10px 12px !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-logos {
    max-width: 340px !important;
    gap: 8px 12px !important;
    padding: 10px 12px !important;
}
#map:not([data-earth="1"])[data-template="2"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] .poi-marker img,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="2"] .poi-marker.logo-only img,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] img.poi-logo {
    height: auto !important;
    width: auto !important;
    max-width: 68px !important;
    max-height: 40px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-marker img {
    max-width: 62px !important;
    max-height: 36px !important;
}

#map:not([data-earth="1"])[data-template="3"] .poi-marker,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster,
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only {
    background: #fff !important;
    border: 1px solid rgba(17, 17, 17, 0.4) !important;
    border-radius: 3px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.42) !important;
    overflow: visible !important;
    max-width: max-content !important;
    padding: 8px 10px !important;
}
#map:not([data-earth="1"])[data-template="3"] .poi-cluster-head {
    display: none !important;
}
#map:not([data-earth="1"])[data-template="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="3"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] img.poi-logo {
    height: auto !important;
    width: auto !important;
    max-width: 96px !important;
    max-height: 48px !important;
    min-width: 0 !important;
    object-fit: contain !important;
}
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .poi-marker img {
    max-width: 88px !important;
    max-height: 44px !important;
}

#map:not([data-earth="1"])[data-template="1"] .poi-marker.is-stem::after,
#map:not([data-earth="1"])[data-template="2"] .poi-marker.is-stem::after,
#map:not([data-earth="1"])[data-template="3"] .poi-marker.is-stem::after,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster.is-stem::after,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-stem::after,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster.is-stem::after {
    display: none !important;
}

#map:not([data-earth="1"]) .poi-marker::after,
#map:not([data-earth="1"]) .poi-cluster::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 100% !important;
    width: 0 !important;
    height: 0 !important;
    border: 7px solid transparent !important;
    border-top-color: #fff !important;
    transform: translateX(-50%) !important;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.28));
    z-index: 1;
    display: block !important;
}
#map:not([data-earth="1"]) .poi-marker.is-stem::after,
#map:not([data-earth="1"]) .poi-cluster.is-stem::after {
    display: none !important;
}

#map:not([data-earth="1"])[data-template="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"] .poi-marker img,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="1"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="5"] img.poi-logo {
    height: auto !important;
    width: auto !important;
    max-width: 56px !important;
    max-height: 32px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
}
#map:not([data-earth="1"])[data-template="2"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] .poi-marker img,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] img.poi-logo {
    height: auto !important;
    width: auto !important;
    max-width: 52px !important;
    max-height: 30px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-logos {
    max-width: 240px !important;
    gap: 6px 8px !important;
    padding: 8px 10px !important;
}
#map:not([data-earth="1"])[data-template="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"] .poi-marker img,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="3"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] img.poi-logo {
    height: auto !important;
    width: auto !important;
    max-width: 70px !important;
    max-height: 38px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
}
#map:not([data-earth="1"]) .poi-marker,
#map:not([data-earth="1"]) .poi-cluster,
#map:not([data-earth="1"]) .poi-marker.logo-only {
    overflow: visible !important;
}

#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster-logos {
    max-width: 220px !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster-logos {
    max-width: 168px !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-logos {
    max-width: 148px !important;
}

#map .road-banner.road-along,
#map[data-earth="1"] .road-banner.road-along {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #ffff00 !important;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-shadow:
        -1.6px -1.6px 0 #111,
        1.6px -1.6px 0 #111,
        -1.6px 1.6px 0 #111,
        1.6px 1.6px 0 #111,
        0 0 8px #111;
}

#map .vpd-badge,
#map[data-earth="1"] .vpd-badge,
#map:not([data-earth="1"])[data-template="1"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    background: #111 !important;
    color: #ffe000 !important;
    border: 1px solid #111 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.55) !important;
    padding: 3px 10px 3px 7px !important;
    border-radius: 999px !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: none !important;
}
#map .vpd-badge .vpd-value,
#map .vpd-badge .vpd-kicker,
#map[data-earth="1"] .vpd-badge .vpd-value,
#map[data-earth="1"] .vpd-badge .vpd-kicker {
    color: #ffe000 !important;
}
#map .vpd-car,
#map[data-earth="1"] .vpd-car,
#map:not([data-earth="1"]) .vpd-car {
    display: inline-block !important;
}

#map[data-earth="1"] .poi-cluster,
#map[data-earth="1"] .poi-cluster.is-plaza,
#map[data-earth="1"] .poi-marker.logo-only {
    background: #fff !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    padding: 8px 10px !important;
}
#map[data-earth="1"] .poi-cluster-head {
    display: block !important;
    color: #222 !important;
    font: 700 11px "Barlow Condensed", sans-serif !important;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
#map[data-earth="1"] .poi-cluster-logos {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px 10px !important;
    max-width: 320px !important;
    background: transparent !important;
    padding: 0 !important;
}
#map[data-earth="1"][data-template="1"] .poi-cluster-logos {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    max-width: 380px !important;
}
#map[data-earth="1"][data-template="3"] .poi-cluster-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: 240px !important;
}
#map[data-earth="1"] img.poi-logo,
#map[data-earth="1"] .poi-cluster img,
#map[data-earth="1"] .poi-marker.logo-only img {
    object-fit: contain !important;
    width: auto !important;
    height: 32px !important;
    max-width: 58px !important;
    max-height: 32px !important;
    background: transparent !important;
}
#map[data-earth="1"][data-template="1"] img.poi-logo,
#map[data-earth="1"][data-template="1"] .poi-cluster img {
    height: 36px !important;
    max-width: 68px !important;
    max-height: 36px !important;
}
#map[data-earth="1"][data-template="3"] img.poi-logo,
#map[data-earth="1"][data-template="3"] .poi-cluster img {
    height: 26px !important;
    max-width: 48px !important;
    max-height: 26px !important;
}
#map[data-earth="1"] .poi-cluster.is-stem::after,
#map[data-earth="1"] .poi-marker.is-stem::after {
    background: #fff !important;
    width: 2px !important;
    box-shadow: none !important;
}

#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along,
#map:not([data-earth="1"])[data-template="1"] .road-banner.is-t1-plate {
    background: #ffe000 !important;
    color: #111 !important;
    border: 1px solid #111 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: none !important;
}

#map:not([data-earth="1"])[data-template="2"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge {
    background: #111 !important;
    color: #ffe000 !important;
    border: 1px solid #111 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}
#map:not([data-earth="1"])[data-template="2"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge .vpd-value {
    color: #ffe000 !important;
}
#map:not([data-earth="1"])[data-template="2"] .vpd-car,
#map:not([data-earth="1"])[data-template="3"] .vpd-car {
    background: #ffe000 !important;
    border-color: #111 !important;
}

.road-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    padding: 0 5px;
    font: 800 12px "Barlow Condensed", sans-serif;
    line-height: 1;
    color: #111;
    background: #fff;
    border: 2px solid #111;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.road-shield.is-interstate {
    color: #fff;
    background: #1a3a8f;
    border-color: #fff;
    border-radius: 4px 4px 10px 10px;
    min-width: 28px;
    height: 24px;
}
#map:not([data-earth="1"])[data-template="3"] .road-banner.is-shield {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: inherit !important;
    text-shadow: none !important;
}

#map:not([data-earth="1"])[data-template="1"] .poi-marker.logo-only {
    background: #fff !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32) !important;
    padding: 6px 8px !important;
}
#map:not([data-earth="1"])[data-template="3"] .poi-marker.logo-only {
    background: #fff !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;
    padding: 6px 8px !important;
}

#map[data-hide-google-labels="1"] .gm-style span[data-sitepuff-hidden-label="1"] {
    visibility: hidden !important;
    opacity: 0 !important;
}

#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along,
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along.is-major,
#map:not([data-earth="1"])[data-template="1"] .road-banner.road-along.is-corridor {
    background: #ffff00 !important;
    color: #111 !important;
    border: 1px solid #111 !important;
    padding: 3px 8px !important;
    border-radius: 2px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
    text-shadow: none !important;
    letter-spacing: 0.06em !important;
    font-size: 12px !important;
}

#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza .poi-cluster-logos {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: 220px !important;
    gap: 6px 8px !important;
    padding: 8px 10px !important;
    justify-items: center;
    align-items: center;
}

#map:not([data-earth="1"])[data-template="2"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"][data-radius="1"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .vpd-badge {
    background: #111 !important;
    color: #ffe000 !important;
    border-radius: 999px !important;
    z-index: 13 !important;
}
#map:not([data-earth="1"])[data-template="2"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .vpd-badge .vpd-value {
    color: #ffe000 !important;
}

#map .poi-marker,
#map .poi-cluster,
#map .poi-marker.logo-only,
#map .poi-cluster.is-plaza,
#map:not([data-earth="1"]) .poi-marker,
#map:not([data-earth="1"]) .poi-cluster,
#map:not([data-earth="1"]) .poi-marker.logo-only,
#map:not([data-earth="1"]) .poi-cluster.is-plaza {
    background: #fff !important;
    border: 1px solid rgba(17, 17, 17, 0.14) !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

#map .poi-leader-svg line,
#map:not([data-earth="1"]) .poi-leader-svg line {
    stroke: #4a4a4a !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round;
}

#map .property-callout,
#map .property-callout.pill,
#map .property-callout.flyer-subject,
#map .property-callout.pill.exhibit {
    z-index: 40 !important;
}

#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject,
#map:not([data-earth="1"]) .property-callout.pill,
#map:not([data-earth="1"]) .property-callout.pill.exhibit {
    background: #e10600 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 16px rgba(225, 6, 0, 0.35) !important;
    overflow: hidden !important;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-head,
#map:not([data-earth="1"]) .property-callout.pill .subject-head {
    background: transparent !important;
    color: #fff !important;
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
    padding: 6px 16px 0 !important;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-body,
#map:not([data-earth="1"]) .property-callout.pill .subject-body {
    background: transparent !important;
    padding: 2px 18px 8px !important;
}
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-body strong,
#map:not([data-earth="1"]) .property-callout.pill .subject-body strong,
#map:not([data-earth="1"]) .property-callout.pill.exhibit .subject-body strong {
    color: #fff !important;
}

#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza .poi-cluster-logos {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: 220px !important;
}

#map .poi-leader-svg line,
#map:not([data-earth="1"]) .poi-leader-svg line {
    stroke: #555 !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round;
}

#map .property-callout,
#map .property-callout.pill,
#map .property-callout.flyer-subject,
#map .property-callout.pill.exhibit,
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject,
#map:not([data-earth="1"]) .property-callout.pill,
#map:not([data-earth="1"]) .property-callout.pill.exhibit {
    background: #DC2626 !important;
    border: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.38) !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    z-index: 999 !important;
    padding: 0 !important;
}
#map .property-callout .subject-head,
#map .property-callout.flyer-subject .subject-head,
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-head {
    display: none !important;
}
#map .property-callout .subject-body,
#map .property-callout.flyer-subject .subject-body,
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-body {
    background: transparent !important;
    padding: 6px 16px !important;
    white-space: nowrap !important;
}
#map .property-callout .subject-body strong,
#map .property-callout.flyer-subject .subject-body strong,
#map:not([data-earth="1"])[data-template="1"] .property-callout.flyer-subject .subject-body strong,
#map:not([data-earth="1"]) .property-callout.pill .subject-body strong,
#map:not([data-earth="1"]) .property-callout.pill.exhibit .subject-body strong {
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}
#map .property-callout .subject-body em {
    display: none !important;
}

#map .poi-logo-slot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 28px;
    overflow: hidden;
}
#map .poi-logo-caption,
#map .poi-logo-fallback-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font: 700 9px/1.1 "Barlow Condensed", Barlow, sans-serif;
    letter-spacing: 0.04em;
    color: #111;
    padding: 4px 6px;
    max-width: 72px;
    white-space: normal;
    word-break: break-word;
}
#map .poi-logo-slot .poi-logo-caption {
    position: absolute;
    inset: 0;
    background: #f4f4f5;
}
#map .poi-logo-slot.is-loaded .poi-logo-caption {
    display: none !important;
}
#map .poi-cluster-names {
    display: none !important;
}

#map.hud-scale-5mi .poi-marker,
#map.hud-scale-5mi .poi-cluster,
#map.hud-scale-5mi .vpd-badge,
#map.hud-scale-5mi .road-banner:not(.is-shield) {
    transform: scale(0.82);
    transform-origin: bottom center;
}

#map.is-recomposing {
    cursor: wait;
}

#map[data-hide-google-labels="1"] .gm-style img[data-sitepuff-hidden-poi="1"],
#map[data-hide-google-labels="1"] .gm-style span[data-sitepuff-hidden-label="1"],
#map[data-hide-google-labels="1"] .gm-style div[data-sitepuff-hidden-label="1"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#map .vpd-badge::before,
#map .vpd-badge::after,
#map .road-banner::after {
    display: none !important;
    height: 0 !important;
}

#map .road-banner.is-shield {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-marker.logo-only {
    background: #fff !important;
    border: 1px solid rgba(17, 17, 17, 0.16) !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    padding: 0 !important;
    max-width: 280px !important;
    overflow: visible !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-marker.logo-only {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 268px !important;
    gap: 8px 10px !important;
    padding: 8px 10px !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-marker img {
    width: auto !important;
    height: auto !important;
    max-width: 36px !important;
    max-height: 22px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-logo-slot {
    min-width: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-logo-caption,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-count,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-head,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-names {
    display: none !important;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 22px;
    padding: 0 6px;
    border-radius: 3px;
    background: #f3f3f3;
    color: #333;
    font: 700 10px/1 "Barlow Condensed", sans-serif;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-stem::after,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-marker.is-stem::after,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster::after,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-marker::after,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-pin-leader,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-leader-svg,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-leader-arm {
    display: none !important;
}

#map:not([data-earth="1"])[data-template="1"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge,
#map:not([data-earth="1"])[data-template="1"][data-radius="1"] .vpd-badge,
#map:not([data-earth="1"])[data-template="1"][data-radius="3"] .vpd-badge,
#map:not([data-earth="1"])[data-template="1"][data-radius="5"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .vpd-badge,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] .vpd-badge,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .vpd-badge {
    background: #111 !important;
    color: #ffe000 !important;
    border: 1px solid #111 !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
    padding: 3px 10px 3px 7px !important;
    text-shadow: none !important;
    z-index: 13 !important;
}
#map:not([data-earth="1"])[data-template="1"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="2"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="3"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="1"][data-radius="1"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="1"][data-radius="3"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="1"][data-radius="5"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] .vpd-badge .vpd-value,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] .vpd-badge .vpd-value {
    color: #ffe000 !important;
}
#map .property-callout {
    z-index: 14 !important;
}
#map[data-earth="1"] .poi-cluster,
#map[data-earth="1"] .poi-marker,
#map[data-earth="1"] .poi-marker.logo-only {
    z-index: 16 !important;
}
#map .vpd-badge,
#map:not([data-earth="1"]) .vpd-badge,
#map[data-earth="1"] .vpd-badge {
    z-index: 12 !important;
    position: absolute !important;
    width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}

#map:not([data-earth="1"])[data-radius="3"] .poi-cluster.is-plaza,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster.is-plaza,
#map[data-earth="1"] .poi-cluster.is-plaza {
    background: #fff !important;
    border: 1px solid rgba(17, 17, 17, 0.16) !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    max-width: 220px !important;
}
#map:not([data-earth="1"])[data-radius="3"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster-logos,
#map[data-earth="1"] .poi-cluster-logos {
    max-width: 220px !important;
    gap: 8px 10px !important;
    padding: 8px 10px !important;
}

#map img.poi-logo,
#map .poi-marker img,
#map .poi-cluster img,
#map .poi-marker.logo-only img,
#map:not([data-earth="1"]) img.poi-logo,
#map:not([data-earth="1"]) .poi-marker img,
#map:not([data-earth="1"]) .poi-cluster img,
#map[data-earth="1"] img.poi-logo,
#map[data-earth="1"] .poi-marker img,
#map[data-earth="1"] .poi-cluster img,
#map:not([data-earth="1"])[data-template="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="1"][data-radius="5"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="1"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="3"] img.poi-logo,
#map:not([data-earth="1"])[data-template="3"][data-radius="5"] img.poi-logo,
#map[data-earth="1"][data-template="1"] img.poi-logo,
#map[data-earth="1"][data-template="2"] img.poi-logo,
#map[data-earth="1"][data-template="3"] img.poi-logo {
    width: auto !important;
    height: auto !important;
    max-width: 32px !important;
    max-height: 20px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}
#map .poi-cluster,
#map .poi-cluster.is-plaza,
#map .poi-marker.logo-only,
#map:not([data-earth="1"]) .poi-cluster,
#map:not([data-earth="1"]) .poi-cluster.is-plaza,
#map:not([data-earth="1"]) .poi-marker.logo-only,
#map[data-earth="1"] .poi-cluster,
#map[data-earth="1"] .poi-cluster.is-plaza,
#map[data-earth="1"] .poi-marker.logo-only,
#map:not([data-earth="1"])[data-template="1"] .poi-cluster,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster,
#map:not([data-earth="1"])[data-template="3"] .poi-cluster {
    background: #fff !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22) !important;
    max-width: 220px !important;
    padding: 10px 12px !important;
}
#map .poi-marker.logo-only,
#map:not([data-earth="1"]) .poi-marker.logo-only,
#map[data-earth="1"] .poi-marker.logo-only {
    max-width: max-content !important;
    padding: 8px 10px !important;
    border-radius: 18px !important;
}
#map .poi-cluster-logos,
#map:not([data-earth="1"]) .poi-cluster-logos,
#map[data-earth="1"] .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 196px !important;
    gap: 8px 10px !important;
    padding: 0 !important;
    background: transparent !important;
}
#map .poi-logo-slot,
#map:not([data-earth="1"]) .poi-logo-slot,
#map[data-earth="1"] .poi-logo-slot {
    min-width: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
}
#map .poi-logo-caption,
#map .poi-cluster-head,
#map .poi-cluster-names,
#map .poi-cluster-count {
    display: none !important;
}
#map[data-earth="1"] .poi-cluster,
#map[data-earth="1"] .poi-cluster.is-plaza,
#map[data-earth="1"] .poi-marker.logo-only,
#map[data-radius="1"][data-earth="1"] .poi-cluster,
#map[data-earth="1"] .poi-earth-card {
    overflow: visible !important;
}
#map[data-earth="1"] .poi-earth-stack {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 16 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    max-width: none !important;
}
#map[data-earth="1"] .poi-earth-stack::after {
    content: none !important;
    display: none !important;
}
#map[data-earth="1"] .poi-earth-label {
    display: block !important;
    position: static !important;
    order: 2;
    width: max-content !important;
    max-width: 160px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111 !important;
    font: 700 11px/1.15 "Barlow Condensed", sans-serif !important;
    letter-spacing: 0.04em !important;
    text-align: left !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    transform: none !important;
    text-shadow: 0 1px 0 #fff, 0 0 3px #fff;
}
#map .poi-more {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 20px;
    padding: 0 6px;
    color: #666;
    font: 700 11px/1 "Barlow Condensed", sans-serif;
    background: transparent;
}
#map .poi-marker::after,
#map .poi-cluster::after,
#map .poi-marker.logo-only::after,
#map .poi-cluster.is-plaza::after,
#map:not([data-earth="1"]) .poi-marker::after,
#map:not([data-earth="1"]) .poi-cluster::after,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster::after,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-marker::after,
#map[data-earth="1"] .poi-marker::after,
#map[data-earth="1"] .poi-cluster::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 100% !important;
    width: 0 !important;
    height: 0 !important;
    border: 7px solid transparent !important;
    border-top-color: #fff !important;
    transform: translateX(-50%) !important;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.2));
    display: block !important;
}

@media (max-width: 900px) {
    .workspace { grid-template-columns: 1fr; grid-template-rows: 220px 1fr; }
    .grid-2, .map-products { grid-template-columns: 1fr; }
    .top-meta { display: none; }
}

#map .poi-logo-card,
#map .poi-cluster.is-plaza,
#map .poi-earth-card,
#map .poi-cluster.poi-logo-card,
#map[data-earth="1"] .poi-logo-card,
#map[data-earth="1"] .poi-cluster.is-plaza,
#map[data-earth="1"] .poi-earth-card,
#map[data-earth="1"] .poi-earth-stack .poi-logo-card,
#map[data-earth="1"] .poi-earth-stack .poi-earth-card,
#map[data-earth="1"] .poi-earth-stack .poi-cluster,
#map[data-template="1"] .poi-logo-card,
#map[data-template="2"] .poi-logo-card,
#map[data-template="3"] .poi-logo-card,
#map[data-radius="1"] .poi-logo-card,
#map[data-radius="3"] .poi-logo-card,
#map[data-radius="5"] .poi-logo-card,
#map[data-earth="1"][data-template="1"] .poi-logo-card,
#map[data-earth="1"][data-template="2"] .poi-logo-card,
#map[data-earth="1"][data-template="3"] .poi-logo-card,
#map[data-earth="1"][data-radius="1"] .poi-logo-card,
#map[data-earth="1"][data-radius="3"] .poi-logo-card,
#map[data-earth="1"][data-radius="5"] .poi-logo-card,
#map[data-earth="1"][data-template="1"] .poi-cluster.is-plaza,
#map[data-earth="1"][data-template="2"] .poi-cluster.is-plaza,
#map[data-earth="1"][data-template="3"] .poi-cluster.is-plaza {
    background: #fff !important;
    padding: 4px 6px !important;
    border: 1px solid rgba(17, 17, 17, 0.22) !important;
    border-radius: 4px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
    max-width: 156px !important;
    width: max-content !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
#map .poi-logo-card .poi-cluster-logos,
#map[data-earth="1"] .poi-logo-card .poi-cluster-logos,
#map[data-earth="1"] .poi-earth-card .poi-cluster-logos,
#map[data-template="1"] .poi-logo-card .poi-cluster-logos,
#map[data-template="2"] .poi-logo-card .poi-cluster-logos,
#map[data-template="3"] .poi-logo-card .poi-cluster-logos,
#map .poi-cluster.is-plaza .poi-cluster-logos {
    display: grid !important;
    grid-template-columns: repeat(2, 24px) !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    gap: 3px 4px !important;
}
#map .poi-logo-card img.poi-logo,
#map .poi-cluster.is-plaza img.poi-logo,
#map[data-template="1"] .poi-logo-card img.poi-logo,
#map[data-template="2"] .poi-logo-card img.poi-logo,
#map[data-template="3"] .poi-logo-card img.poi-logo,
#map[data-radius="1"] .poi-logo-card img.poi-logo,
#map[data-radius="3"] .poi-logo-card img.poi-logo,
#map[data-radius="5"] .poi-logo-card img.poi-logo,
#map[data-earth="1"] .poi-logo-card img.poi-logo {
    max-width: 24px !important;
    max-height: 15px !important;
    width: auto !important;
    height: auto !important;
}
#map .poi-logo-card.is-single,
#map .poi-cluster.is-plaza.is-single,
#map[data-earth="1"] .poi-logo-card.is-single,
#map .poi-logo-card:has(.poi-cluster-logos > .poi-logo-slot:only-child) {
    padding: 3px 4px !important;
    max-width: 40px !important;
    min-width: 0 !important;
    width: max-content !important;
}
#map .poi-logo-card.is-single .poi-cluster-logos,
#map .poi-cluster.is-plaza.is-single .poi-cluster-logos,
#map[data-earth="1"] .poi-logo-card.is-single .poi-cluster-logos,
#map .poi-logo-card:has(.poi-cluster-logos > .poi-logo-slot:only-child) .poi-cluster-logos {
    display: flex !important;
    grid-template-columns: none !important;
    width: max-content !important;
    max-width: none !important;
    gap: 0 !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-logo-card,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-logo-card,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-logo-card,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-logo-card {
    background: #fff !important;
    padding: 4px 6px !important;
    border: 1px solid rgba(17, 17, 17, 0.22) !important;
    border-radius: 4px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
    max-width: 72px !important;
    min-width: 0 !important;
    width: max-content !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-logo-card.is-single,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-logo-card.is-single,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza.is-single,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster.is-plaza.is-single,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza.is-single {
    padding: 3px 4px !important;
    max-width: 40px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-logo-card .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-logo-card .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza .poi-cluster-logos {
    display: grid !important;
    grid-template-columns: repeat(2, 24px) !important;
    max-width: none !important;
    padding: 0 !important;
    gap: 3px 4px !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-logo-card.is-single .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-logo-card.is-single .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza.is-single .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster.is-plaza.is-single .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza.is-single .poi-cluster-logos {
    display: flex !important;
    grid-template-columns: none !important;
    width: max-content !important;
    gap: 0 !important;
}
#map:not([data-earth="1"])[data-template="2"] .poi-logo-card img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-logo-card img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster.is-plaza img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza img.poi-logo {
    max-width: 24px !important;
    max-height: 15px !important;
    width: auto !important;
    height: auto !important;
}
#map .poi-logo-card .poi-more,
#map[data-earth="1"] .poi-logo-card .poi-more {
    min-width: 28px !important;
    height: 15px !important;
    font-size: 9px !important;
    padding: 0 4px !important;
}
#map .earth-road-layer,
#map[data-earth="1"] .earth-road-layer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 14 !important;
}
#map .poi-logo-host,
#map .poi-logo-host.is-billboard,
#map .poi-earth-stack {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
}
#map .vpd-badge {
    overflow: visible !important;
}
#map .poi-logo-card .poi-logo-caption,
#map .poi-logo-card .poi-cluster-head,
#map .poi-logo-card .poi-cluster-names,
#map .poi-logo-host .poi-logo-caption {
    display: none !important;
}
#map .poi-logo-card .poi-logo-slot {
    position: relative;
    min-width: 24px !important;
    min-height: 15px !important;
    width: 24px !important;
    height: 15px !important;
    overflow: hidden !important;
    background: #fff !important;
}
#map .poi-logo-card img.poi-logo {
    object-fit: contain !important;
    display: block !important;
}
#map .vpd-badge .poi-leader-svg,
#map .vpd-badge .poi-leader-arm {
    display: none !important;
}
#map .poi-logo-host .poi-leader-svg,
#map .poi-earth-stack .poi-leader-svg {
    display: block !important;
    overflow: visible !important;
    pointer-events: none;
}
#map .poi-logo-host .poi-leader-svg line,
#map .poi-earth-stack .poi-leader-svg line {
    stroke: #ffffff !important;
    stroke-width: 1.5 !important;
}
#map .poi-logo-host.is-stem::after,
#map .poi-logo-card.is-stem::after,
#map .poi-earth-stack.is-stem::after {
    content: none !important;
    display: none !important;
}

#map .poi-logo-card .poi-cluster-logos,
#map[data-earth="1"] .poi-logo-card .poi-cluster-logos,
#map[data-template="1"] .poi-logo-card .poi-cluster-logos,
#map[data-template="2"] .poi-logo-card .poi-cluster-logos,
#map[data-template="3"] .poi-logo-card .poi-cluster-logos,
#map .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"] .poi-logo-card .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-logo-card .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="3"] .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius="5"] .poi-cluster.is-plaza .poi-cluster-logos {
    grid-template-columns: repeat(2, 32px) !important;
    gap: 4px 5px !important;
}
#map .poi-logo-card img.poi-logo,
#map .poi-cluster.is-plaza img.poi-logo,
#map[data-template="1"] .poi-logo-card img.poi-logo,
#map[data-template="2"] .poi-logo-card img.poi-logo,
#map[data-template="3"] .poi-logo-card img.poi-logo,
#map[data-radius="1"] .poi-logo-card img.poi-logo,
#map[data-radius="3"] .poi-logo-card img.poi-logo,
#map[data-radius="5"] .poi-logo-card img.poi-logo,
#map[data-earth="1"] .poi-logo-card img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] .poi-logo-card img.poi-logo,
#map:not([data-earth="1"])[data-template="2"] .poi-cluster.is-plaza img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-logo-card img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius="1"] .poi-cluster.is-plaza img.poi-logo {
    max-width: 32px !important;
    max-height: 20px !important;
}

#map .vpd-badge,
#map:not([data-earth="1"])[data-template] .vpd-badge,
#map:not([data-earth="1"])[data-template][data-radius] .vpd-badge {
    font-size: 11px !important;
    padding: 2px 8px 2px 6px !important;
}
#map:not([data-earth="1"])[data-template="3"][data-radius] .vpd-badge {
    font-size: 10px !important;
}

#map .poi-logo-card .poi-logo-slot,
#map[data-template][data-radius] .poi-logo-card .poi-logo-slot {
    min-width: 34px !important;
    min-height: 22px !important;
    width: 34px !important;
    height: 22px !important;
}
#map .poi-logo-card .poi-cluster-logos,
#map[data-template][data-radius] .poi-logo-card .poi-cluster-logos,
#map .poi-cluster.is-plaza .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius] .poi-logo-card .poi-cluster-logos,
#map:not([data-earth="1"])[data-template="2"][data-radius] .poi-cluster.is-plaza .poi-cluster-logos {
    grid-template-columns: repeat(2, 34px) !important;
}
#map .poi-logo-card img.poi-logo,
#map .poi-cluster.is-plaza img.poi-logo,
#map[data-template][data-radius] .poi-logo-card img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius] .poi-logo-card img.poi-logo,
#map:not([data-earth="1"])[data-template="2"][data-radius] .poi-cluster.is-plaza img.poi-logo {
    max-width: 34px !important;
    max-height: 22px !important;
}

/* Shell chrome. Map overlay rules above are unchanged. */
body.shell {
    --shell-navy: #0e1b3a;
    --shell-blue: #2563eb;
    --shell-line: #e4e8f0;
    --shell-muted: #5c6b80;
    background: #f3f5f8;
    color: #1b2433;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
body.shell .topbar {
    min-height: 64px;
    height: 64px;
    padding: 0 14px;
    gap: 14px;
    background: var(--shell-navy);
    border-bottom: 0;
    flex-shrink: 0;
}
body.shell .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--shell-blue);
    font-size: 13px;
}
body.shell .brand strong { font-size: 15px; letter-spacing: 0; }
body.shell .brand em {
    color: #9eb0c9;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 11px;
}
body.shell .header-search {
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    padding: 0 10px;
    height: 38px;
    margin-left: 8px;
}
body.shell .header-search .search-icon { color: #64748b; display: grid; }
body.shell .header-search input[type="text"] {
    margin: 0;
    border: 0;
    padding: 0;
    height: 36px;
    background: transparent;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}
body.shell .search-clear {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}
body.shell .header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
body.shell .view-switch { gap: 4px; }
body.shell .view-switch .btn,
body.shell .orbit-controls .btn,
body.shell .header-quiet {
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    padding: 7px 10px;
    background: transparent;
    color: #e8eef8;
    border-color: rgba(255,255,255,.18);
}
body.shell .view-switch .btn.active,
body.shell .view-switch .btn.ghost.active {
    background: var(--shell-blue);
    border-color: var(--shell-blue);
    color: #fff;
}
body.shell .export-actions .btn.primary {
    background: var(--shell-blue);
    border-color: #1d4ed8;
    color: #fff;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    padding: 8px 12px;
}
body.shell .app-frame {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 352px minmax(0, 1fr) 300px;
}
body.shell .rail {
    background: #0b1730;
    border-right: 1px solid #15284a;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 8px;
}
body.shell .rail-btn {
    width: auto;
    border: 0;
    background: transparent;
    color: #b7c4da;
    border-radius: 8px;
    padding: 8px 6px;
    display: grid;
    justify-items: center;
    gap: 3px;
    font: 600 9px/1.2 Barlow, sans-serif;
    cursor: pointer;
}
body.shell .rail-btn:disabled { opacity: 0.55; cursor: default; }
body.shell .rail-btn.is-active { background: #16315f; color: #fff; }
body.shell .rail-ico { font-size: 14px; line-height: 1; }
body.shell .avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    background: #1d4ed8; color: #fff;
    font: 700 11px Barlow, sans-serif;
}
body.shell .header-account { color: #c5d0e2; font-size: 12px; text-decoration: none; }
body.shell .shell-offscreen {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
body.shell .view-switch .btn.active,
body.shell .view-switch .btn.ghost.active {
    background: #e8b31a;
    border-color: #c99610;
    color: #1a1408;
}
body.shell .export-actions #btn-png {
    background: transparent;
    color: #e8eef8;
    border-color: rgba(255,255,255,.2);
}
body.shell .config-title { display: flex; justify-content: space-between; align-items: center; }
body.shell .text-reset {
    border: 0; background: transparent; color: #2563eb; cursor: pointer;
    font: 600 12px Barlow, sans-serif;
}
body.shell .shell-select,
body.shell .side-address input {
    width: 100%;
    border: 1px solid var(--shell-line);
    border-radius: 8px;
    padding: 8px 10px;
    font: 500 13px Barlow, sans-serif;
    background: #fff;
    color: #1b2433;
}
body.shell .layer-row.is-unavailable { opacity: 0.45; }
body.shell .stat { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; align-items: center; }
body.shell .stat strong { grid-column: 2; }
body.shell .stat span { grid-column: 2; }
body.shell .stat::before {
    content: "";
    grid-row: 1 / span 2;
    width: 28px; height: 28px; border-radius: 8px;
    background: #e8f0ff;
}
body.shell .stat-road::before { background: #fff4e5; }
body.shell .stat-school::before { background: #e8f8ef; }
body.shell .stat-med::before { background: #fdecec; }
body.shell .biz-filter em { font-style: normal; color: #64748b; font-weight: 600; }
body.shell .detail-link { width: 100%; justify-content: center; background: #2563eb; color: #fff; border-color: #1d4ed8; }
body.shell .config {
    background: #fff;
    border-right: 1px solid var(--shell-line);
    overflow: auto;
    padding: 16px 14px 24px;
}
body.shell .config-block { margin: 0 0 16px; }
body.shell .config h2,
body.shell .saved-maps h2,
body.shell .detail-card h2,
body.shell .biz-head h2 {
    margin: 0 0 8px;
    font-family: Barlow, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #334155;
}
body.shell .detail-card h2 span,
body.shell .biz-head h2 span { font-weight: 500; color: var(--shell-muted); letter-spacing: 0; text-transform: none; }
body.shell .map-products {
    border: 0;
    padding: 0;
    margin: 0;
    gap: 6px;
}
body.shell .map-product {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 10px;
    border-color: var(--shell-line);
}
body.shell .map-product strong { font-size: 13px; font-family: Barlow, sans-serif; text-transform: none; letter-spacing: 0; }
body.shell .map-product:has(input:checked) {
    border-color: var(--shell-blue);
    box-shadow: inset 0 0 0 1px var(--shell-blue);
    background: #f3f7ff;
}
body.shell .radius-chips { gap: 6px; }
body.shell .radius-chip {
    border-radius: 8px;
    background: #f8fafc;
    font-family: Barlow, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}
body.shell .radius-chip.is-active {
    background: var(--shell-blue);
    border-color: var(--shell-blue);
    color: #fff;
}
body.shell .template-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
body.shell .template-card {
    border: 1px solid var(--shell-line);
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    text-align: left;
}
body.shell .template-card strong,
body.shell .template-card em { display: block; font-style: normal; font-size: 11px; }
body.shell .template-card em { color: var(--shell-muted); font-weight: 500; }
body.shell .template-card.is-active { border-color: var(--shell-blue); box-shadow: inset 0 0 0 1px var(--shell-blue); }
body.shell .template-thumb { display: block; height: 36px; border-radius: 4px; margin-bottom: 4px; background: linear-gradient(160deg, #dbe7f5, #8aa4c4); }
body.shell .template-thumb.t2 { background: linear-gradient(160deg, #e7eef8, #6f8fb3); }
body.shell .template-thumb.t3 { background: linear-gradient(160deg, #eef2f7, #9aa8ba); }
body.shell .view-pills, body.shell .editor-actions { display: flex; gap: 6px; }
body.shell .view-pill {
    flex: 1;
    border: 1px solid var(--shell-line);
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    font: 600 12px Barlow, sans-serif;
}
body.shell .view-pill.is-active { background: var(--shell-blue); border-color: var(--shell-blue); color: #fff; }
body.shell .layer-list { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
body.shell .layer-row {
    margin: 0;
    padding: 6px 2px;
    font-size: 13px;
    color: #1b2433;
}
body.shell .config input[type="text"],
body.shell .config select,
body.shell .panel input,
body.shell .panel select {
    border-radius: 8px;
    border-color: var(--shell-line);
    background: #fff;
    color: #1b2433;
}
body.shell .btn {
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
}
body.shell .btn.primary {
    background: var(--shell-blue);
    border-color: #1d4ed8;
    color: #fff;
}
body.shell .btn.primary:hover { background: #1d4ed8; }
body.shell .config-secondary { width: 100%; margin-top: 8px; }
body.shell .editor-actions { margin-top: 8px; flex-direction: column; }
body.shell .editor-actions .btn { width: 100%; }
body.shell .stage {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
}
body.shell .map-stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    border-radius: 12px;
    border: 1px solid var(--shell-line);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    background: #e7edf4;
}
body.shell .setup {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 24px;
    background: #f8fafc;
}
body.shell .hero-card {
    width: min(560px, 100%);
    background: #fff;
    border: 1px solid var(--shell-line);
    border-top: 0;
    border-radius: 12px;
    box-shadow: none;
    padding: 28px;
}
body.shell .eyebrow { color: var(--shell-blue); }
body.shell h1 { font-size: 28px; line-height: 1.15; color: #122033; }
body.shell .workspace {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    grid-template-columns: none;
}
body.shell .map-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    background: #d5dee8;
}
body.shell .details {
    background: #f3f5f8;
    border-left: 1px solid var(--shell-line);
    overflow: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.shell .detail-card {
    background: #fff;
    border: 1px solid var(--shell-line);
    border-radius: 12px;
    padding: 14px;
}
body.shell .detail-address { margin: 0 0 8px; font-weight: 600; font-size: 14px; line-height: 1.35; }
body.shell .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 12px; }
body.shell .detail-grid div { min-width: 0; }
body.shell .detail-grid dt { font-size: 11px; color: var(--shell-muted); }
body.shell .detail-grid dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; }
body.shell .detail-link { display: inline-flex; text-decoration: none; }
body.shell .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.shell .stat {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px;
}
body.shell .stat strong { display: block; font-size: 16px; }
body.shell .stat span { font-size: 11px; color: var(--shell-muted); }
body.shell .quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.shell .biz-strip {
    background: #fff;
    border: 1px solid var(--shell-line);
    border-radius: 12px;
    padding: 10px 12px 12px;
}
body.shell .biz-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
body.shell .biz-head h2 { margin: 0; }
body.shell .biz-filters { display: flex; gap: 4px; flex-wrap: wrap; }
body.shell .biz-filter,
body.shell .biz-search input {
    border: 1px solid var(--shell-line);
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    font: 600 12px Barlow, sans-serif;
    cursor: pointer;
}
body.shell .biz-filter.is-active { background: #e8f0ff; color: var(--shell-blue); border-color: #c7dbff; }
body.shell .biz-search { margin-left: auto; }
body.shell .biz-search input { margin: 0; width: 180px; font-weight: 500; cursor: text; }
body.shell .biz-cards {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}
body.shell .biz-card {
    flex: 0 0 148px;
    border: 1px solid var(--shell-line);
    border-radius: 10px;
    padding: 8px;
    background: #fff;
}
body.shell .biz-card img,
body.shell .biz-fallback {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
}
body.shell .biz-card strong { display: block; margin-top: 6px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.shell .biz-card em { display: block; font-style: normal; font-size: 11px; color: var(--shell-muted); }
body.shell .element-list { max-height: 180px; overflow: auto; }
body.shell .element-item { background: #f8fafc; border-radius: 6px; color: #1b2433; }
body.shell .saved-map-item { border-radius: 8px; background: #f8fafc; }
body.shell .panel { border-radius: 12px; }
@media (max-width: 1180px) {
    body.shell .app-frame { grid-template-columns: 320px minmax(0, 1fr) 240px; }
}
@media (max-width: 1100px) {
    body.shell .app-frame { grid-template-columns: 320px minmax(0, 1fr); }
    body.shell .details { display: none; }
}

/* UI polish only. Map overlay rules above stay untouched. */
body.shell {
    --shell-navy: #0c1733;
    --shell-blue: #1d6ef2;
    --shell-line: #e6ebf2;
    --shell-muted: #6b7890;
    background: #f4f6f9;
}
body.shell .topbar { height: 64px; min-height: 64px; padding: 0 16px; gap: 16px; }
body.shell .brand-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--shell-blue); }
body.shell .brand strong { font-size: 15px; letter-spacing: -0.01em; }
body.shell .brand em { font-size: 11px; color: #9aabc4; }
body.shell .header-search { height: 40px; border-radius: 10px; max-width: 560px; }
body.shell .header-actions { gap: 8px; }
body.shell .view-switch .btn,
body.shell .orbit-controls .btn,
body.shell .header-quiet {
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    transition: background 160ms ease, border-color 160ms ease;
}
body.shell .export-actions .btn.primary { height: 34px; padding: 0 14px; border-radius: 8px; }
body.shell .app-frame { grid-template-columns: 360px minmax(0, 1fr) 240px; }
body.shell .rail { width: 72px; padding: 12px 6px; gap: 4px; }
body.shell .rail-btn { width: 60px; min-height: 52px; padding: 6px 4px; gap: 4px; border-radius: 8px; color: #8ea0bb; transition: background 160ms ease, color 160ms ease; }
body.shell .rail-btn svg { display: block; }
body.shell .rail-btn.is-active { background: var(--shell-blue); color: #fff; }
body.shell .config { padding: 16px 16px 20px; box-shadow: inset -1px 0 0 var(--shell-line); }
body.shell .config-title h2 { font-size: 11px; letter-spacing: 0.08em; }
body.shell .config-block { margin: 0 0 14px; }
body.shell .config-block h2 { margin-bottom: 8px; font-size: 11px; letter-spacing: 0.06em; color: #5c6b82; }
body.shell .side-address { display: flex; align-items: center; gap: 8px; border: 1px solid var(--shell-line); border-radius: 8px; padding: 0 10px; background: #fff; color: #64748b; }
body.shell .side-address:focus-within { border-color: var(--shell-blue); box-shadow: 0 0 0 3px rgba(29, 110, 242, 0.12); }
body.shell .side-address input { border: 0; padding: 9px 0; background: transparent; }
body.shell .map-product { border-radius: 8px; min-height: 40px; justify-content: center; transition: border-color 160ms ease, background 160ms ease; }
body.shell .map-product:has(input:checked) { background: #eef4ff; border-color: var(--shell-blue); box-shadow: inset 0 0 0 1px var(--shell-blue); }
body.shell .radius-chips { background: #f4f6f9; padding: 3px; border-radius: 8px; gap: 3px; }
body.shell .radius-chip { border: 0; background: transparent; border-radius: 6px; height: 32px; }
body.shell .radius-chip.is-active { background: var(--shell-blue); color: #fff; }
body.shell .shell-select { height: 38px; border-radius: 8px; }
body.shell .view-pill { height: 34px; border-radius: 8px; transition: background 160ms ease; }
body.shell .view-pill.is-active { background: var(--shell-blue); }
body.shell .layer-row { min-height: 28px; padding: 2px 0; font-size: 13px; }
body.shell .prop-label { font-size: 11px; letter-spacing: 0.06em; color: #5c6b82; }
body.shell #btn-generate { height: 42px; border-radius: 8px; font-size: 14px; background: var(--shell-blue); }
body.shell #btn-generate:hover { background: #1558c8; }
body.shell .config-secondary { height: 38px; background: #fff; color: #1b2433; border: 1px solid var(--shell-line); border-radius: 8px; }
body.shell .editor-actions .btn { height: 34px; background: #fff; }
body.shell .map-stage { border-radius: 12px; border: 1px solid #e3e8f0; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05); }
body.shell .stage { padding: 8px; gap: 8px; }
body.shell .details { padding: 12px; gap: 12px; }
body.shell .detail-card { border-radius: 12px; padding: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
body.shell .detail-card h2 { font-size: 11px; letter-spacing: 0.06em; }
body.shell .quick-grid .btn { height: 40px; background: #fff; border-color: var(--shell-line); }
body.shell .quick-grid .btn:hover { border-color: #c5d0e0; }
body.shell .biz-strip { padding: 12px 12px 10px; border-radius: 12px; }
body.shell .biz-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
    flex-basis: 190px;
    min-height: 64px;
    padding: 8px 10px;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.shell .biz-card img,
body.shell .biz-fallback { grid-row: 1 / span 2; width: 32px; height: 32px; margin: 0; }
body.shell .biz-card strong { margin: 0; font-size: 12px; }
body.shell .biz-card em { font-size: 11px; }
body.shell .element-list { max-height: 120px; }
@media (max-width: 860px) {
    body.shell .app-frame { grid-template-columns: 320px minmax(0, 1fr); }
    body.shell .details { display: none; }
}

/* Dark shell colors only. Map canvas and overlays are unchanged. */
body.shell {
    --shell-navy: #0b1220;
    --shell-blue: #2f6bff;
    --shell-line: rgba(255, 255, 255, 0.08);
    --shell-muted: #93a0b8;
    --shell-panel: #121a2b;
    --shell-card: #182236;
    background: #0b1220;
    color: #e8eef8;
}
body.shell .topbar { background: #0b1220; border-bottom: 1px solid rgba(255,255,255,.06); }
body.shell .rail { background: #0e1628; border-right: 1px solid rgba(255,255,255,.06); }
body.shell .rail-btn { color: #8ea0bb; }
body.shell .rail-btn.is-active { background: var(--shell-blue); color: #fff; }
body.shell .config,
body.shell .details { background: var(--shell-panel); color: #e8eef8; }
body.shell .config { border-right: 1px solid rgba(255,255,255,.06); box-shadow: none; }
body.shell .details { border-left: 1px solid rgba(255,255,255,.06); }
body.shell .config-title h2,
body.shell .config-block h2,
body.shell .config h2,
body.shell .detail-card h2,
body.shell .biz-head h2,
body.shell .prop-label,
body.shell .saved-maps h2 { color: #c5d0e2; }
body.shell .text-reset { color: #7eb0ff; }
body.shell .side-address,
body.shell .shell-select,
body.shell .config input[type="text"],
body.shell .config select,
body.shell .panel input,
body.shell .panel select {
    background: #0e1628;
    color: #e8eef8;
    border-color: rgba(255,255,255,.1);
}
body.shell .side-address {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 0;
    padding: 0;
}
body.shell .side-address:focus-within { border: 0; box-shadow: none; }
body.shell .side-address input {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #e8eef8;
    height: 32px;
    padding: 0;
}
body.shell .map-product {
    background: #0e1628;
    color: #e8eef8;
    border-color: rgba(255,255,255,.1);
}
body.shell .map-product strong { color: #e8eef8; }
body.shell .map-product:has(input:checked) {
    background: var(--shell-blue);
    border-color: var(--shell-blue);
    box-shadow: none;
    color: #fff;
}
body.shell .map-product:has(input:checked) strong { color: #fff; }
body.shell .radius-chips { background: #0e1628; }
body.shell .radius-chip { color: #c5d0e2; }
body.shell .radius-chip.is-active { background: var(--shell-blue); color: #fff; }
body.shell .view-pill { background: #0e1628; color: #c5d0e2; border-color: rgba(255,255,255,.1); }
body.shell .view-pill.is-active { background: var(--shell-blue); color: #fff; border-color: var(--shell-blue); }
body.shell .layer-row,
body.shell .check { color: #d5deec; }
body.shell .layer-row.is-unavailable { opacity: 0.4; }
body.shell #btn-generate,
body.shell .btn.primary { background: var(--shell-blue); border-color: #2457d6; color: #fff; }
body.shell .config-secondary,
body.shell .editor-actions .btn,
body.shell .quick-grid .btn,
body.shell .btn.ghost-ink {
    background: #0e1628;
    color: #e8eef8;
    border-color: rgba(255,255,255,.12);
}
body.shell .detail-card,
body.shell .stat,
body.shell .saved-map-item,
body.shell .element-item {
    background: var(--shell-card);
    color: #e8eef8;
    border-color: rgba(255,255,255,.06);
}
body.shell .detail-address,
body.shell .detail-grid dd,
body.shell .stat strong,
body.shell .saved-map-item p,
body.shell .element-item { color: #e8eef8; }
body.shell .why-line { margin: 4px 0 0; grid-column: 1 / -1; font-size: 12px; line-height: 1.35; color: #93a0b8; text-transform: none; letter-spacing: 0; }
body.shell .editor-history { display: flex; gap: 8px; }
body.shell .pin-btn, body.shell .logo-replace { grid-column: 1 / -1; font-size: 12px; color: #9ec0ff; background: transparent; border: 0; text-align: left; padding: 0; }
body.shell .pin-btn.is-on { color: #7eb0ff; font-weight: 700; }
body.shell .detail-grid dt,
body.shell .stat span,
body.shell .hint,
body.shell .saved-map-item span { color: var(--shell-muted); }
/* The generate steps are the only feedback during a build, so they use the panel's own text
   colour. The light-theme --ink-soft / --crimson are unreadable on this dark config panel. */
body.shell .status { color: #ff9f94; }
body.shell .status.is-loading { color: #e8eef8; font-weight: 600; }
body.shell .biz-strip {
    background: #10192c;
    border-color: rgba(255,255,255,.08);
    color: #e8eef8;
}
body.shell .biz-filter {
    background: transparent;
    color: #c5d0e2;
    border-color: transparent;
}
body.shell .biz-filter.is-active { background: var(--shell-blue); color: #fff; border-color: var(--shell-blue); }
body.shell .biz-filter.is-active em { color: #fff; }
body.shell .biz-search input {
    background: #0e1628;
    color: #e8eef8;
    border-color: rgba(255,255,255,.1);
}
body.shell .biz-card {
    background: #182236;
    border-color: rgba(255,255,255,.08);
    color: #e8eef8;
}
body.shell .biz-card strong { color: #fff; }
body.shell .biz-card em,
body.shell .biz-filter em { color: #93a0b8; }
body.shell .stage { background: #0b1220; }
body.shell .map-stage { border-color: rgba(255,255,255,.08); box-shadow: none; }
body.shell .setup,
body.shell .hero-card { background: #121a2b; color: #e8eef8; border-color: rgba(255,255,255,.08); }
body.shell .setup {
    display: block;
    place-items: stretch;
    padding: 0;
}
body.shell .hero-card {
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 28px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    box-sizing: border-box;
    overflow: hidden;
}
body.shell .hero-card h1 { font-size: 32px; letter-spacing: -0.02em; }
body.shell .hero-card .lede,
body.shell .hero-card .export-note { margin: 0; max-width: 640px; color: #93a0b8; }
body.shell .hero-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
body.shell .hero-steps article {
    background: #0e1628;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 14px 16px 16px;
    border-top: 2px solid #2f6bff;
}
body.shell .build-sheet {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #0e1628;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 14px 16px;
}
body.shell .build-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
body.shell .build-facts div {
    background: #121a2b;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
body.shell .build-facts span { color: #93a0b8; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
body.shell .build-facts strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.shell .hero-plate {
    flex: 1;
    min-height: 0;
    border-radius: 14px;
    border: 1px dashed rgba(126, 176, 255, .35);
    background-color: #0b1220;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 28px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}
body.shell .hero-plate-copy { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
body.shell .hero-plate-copy strong { color: #fff; font-size: 18px; font-weight: 600; }
body.shell .hero-plate-copy span { color: #93a0b8; font-size: 14px; line-height: 1.45; }
body.shell .hero-steps strong {
    color: #7eb0ff;
    font-size: 12px;
    letter-spacing: .08em;
}
body.shell .hero-steps h2 { margin: 6px 0; font-size: 16px; color: #fff; }
body.shell .hero-steps p { margin: 0; color: #93a0b8; font-size: 13px; line-height: 1.45; }
@media (max-width: 900px) {
    body.shell .hero-steps, body.shell .build-facts { grid-template-columns: 1fr; }
    body.shell .hero-card { padding: 24px; justify-content: flex-start; overflow: auto; }
}
body.shell #detail-gmaps[hidden] { display: none !important; }
body.shell #setup-view.hidden { display: none !important; }
body.shell .map-stage:has(#workspace:not(.hidden)) #setup-view { display: none !important; }
body.shell #workspace:not(.hidden) { position: relative; z-index: 2; height: 100%; }
body.shell .config-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0 0 12px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
body.shell .config-tabs .rail-btn {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    background: transparent;
    color: #c5d0e2;
    font: 600 13px/1 Barlow, sans-serif;
}
body.shell .config-tabs .rail-btn svg { display: block; }
body.shell .config-tabs .rail-btn.is-active { background: #2f6bff; color: #fff; }
body.shell #story-focus { font-size: 13px; }
body.shell #version-list { display: grid; gap: 6px; }
body.shell .version-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 8px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #0e1628;
    color: #e8eef8;
    text-align: left;
    cursor: pointer;
}
body.shell .version-row strong { font-size: 13px; font-weight: 600; }
body.shell .version-row span { grid-column: 1; color: #93a0b8; font-size: 12px; }
body.shell .version-row em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 11px; font-weight: 600; color: #7eb0ff; }
body.shell h1,
body.shell .lede { color: #e8eef8; }
body.shell .panel { background: #121a2b; color: #e8eef8; }

body.shell .topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 64px;
    min-height: 64px;
    padding: 0 16px 0 14px;
    gap: 16px;
    background: #0b1220;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
body.shell .brand { gap: 10px; flex-shrink: 0; }
body.shell .brand-mark {
    position: relative;
    overflow: hidden;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(160deg, #4d86ff 0%, #1d4ed8 100%);
    box-shadow: 0 0 0 4px rgba(47, 107, 255, .16);
    font-size: 0;
}
body.shell .brand-mark svg { position: relative; z-index: 1; }
body.shell .brand-mark::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -70%;
    width: 46%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: skewX(-18deg);
    animation: brand-shine 2.6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes brand-shine {
    0%, 42% { left: -70%; }
    100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
    body.shell .brand-mark::after { animation: none; opacity: 0; }
}
body.shell .brand strong,
body.shell .wordmark {
    color: #fff;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: none;
}
body.shell .wordmark span { color: #8eb6ff; }
body.shell .brand em {
    display: block;
    margin-top: 1px;
    color: #8ea0bb;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
body.shell .header-search {
    width: 380px;
    max-width: min(380px, 42vw);
    height: 36px;
    margin: 0;
    justify-self: center;
    padding: 0 6px 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
body.shell .header-search .search-icon { color: #64748b; }
body.shell .header-search input[type="text"] {
    color: #122033;
    font-size: 14px;
    font-weight: 500;
}
body.shell .header-search input::placeholder { color: #8b97a8; }
body.shell .search-clear {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #64748b;
}
body.shell .search-clear:hover { background: #eef2f7; color: #122033; }
body.shell .brand { justify-self: start; }
body.shell .header-actions { gap: 10px; margin-left: 0; justify-self: end; }
body.shell .export-actions { gap: 8px; align-items: center; }
body.shell .export-actions #btn-png,
body.shell .export-actions .btn.primary {
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
body.shell .export-actions #btn-png {
    background: transparent;
    color: #e8eef8;
    border-color: rgba(255,255,255,.16);
}
body.shell .export-actions #btn-png:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.28);
}
body.shell .export-actions .btn.primary {
    background: #2f6bff;
    border-color: #2f6bff;
    box-shadow: 0 6px 16px rgba(47, 107, 255, .32);
}
body.shell .header-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    max-width: 180px;
    padding: 0 12px 0 4px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.1);
    background: #121a2b;
    color: #e8eef8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
body.shell .header-account span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.shell .header-account .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(160deg, #4d86ff, #1d4ed8);
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
}
body.shell .account-chevron { color: #8ea0bb; flex: 0 0 auto; }
body.shell .header-account:hover { border-color: rgba(255,255,255,.22); background: #182338; }
@media (max-width: 1100px) {
    body.shell .brand em { display: none; }
}
body.shell .map-wrap:has(#map-status:not(.hidden))::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 28, 0.55);
    z-index: 40;
    /* The scrim sits on .map-wrap, the parent of #map, so without this it swallows the very
       click "Click the map to place the new point." asks for. Real busy states already lock
       the map through gestureHandling and draggable in setMapBusy(). */
    pointer-events: none;
}
body.shell #map-status.map-status {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: max-content;
    min-width: 280px;
    max-width: calc(100% - 48px);
    margin: 0;
    padding: 22px 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: #0e1b3a;
    color: #fff;
    font: 600 18px/1.3 Barlow, sans-serif;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
body.shell #map-status.map-status::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #7eb0ff;
    animation: compose-spin 0.8s linear infinite;
}
@keyframes compose-spin { to { transform: rotate(360deg); } }
body.shell #property-card-photo {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 8px;
}
body.shell .radius-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.shell .element-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 8px 0; }
body.shell .element-tab { height: 28px; border: 0; border-radius: 6px; background: #0e1628; color: #c5d0e2; font: inherit; font-size: 11px; cursor: pointer; }
body.shell .element-tab.is-on { background: #2f6bff; color: #fff; }
body.shell .element-item.is-selected { outline: 1px solid #7eb0ff; }
body.shell #map .is-picked { outline: 2px solid #7eb0ff; outline-offset: 2px; }
body.shell #site-facts { width: 100%; resize: vertical; }
body.shell .label-with-logo { display: flex; align-items: center; gap: 6px; min-width: 0; }
body.shell .label-with-logo .label-edit { min-width: 0; flex: 1; }
body.shell .row-logo { width: 22px; height: 22px; object-fit: contain; flex: 0 0 22px; background: #fff; border-radius: 4px; }
body.shell .map-product { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; }
body.shell .map-product svg { flex: 0 0 auto; color: #9ec0ff; }
body.shell .map-product:has(input:checked) svg { color: #fff; }
body.shell .layer-row { display: flex; align-items: center; gap: 8px; }
body.shell .layer-ico { width: 16px; height: 16px; flex: 0 0 16px; color: #9ec0ff; }
body.shell .quick-grid .btn { height: auto; min-height: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; }
body.shell .quick-grid .btn span { font-size: 12px; }
body.shell .prop-label { display: grid; gap: 6px; margin: 0 0 12px; }
body.shell .config textarea,
body.shell #nearby-q,
body.shell #nearby-category {
    width: 100%;
    background: #0e1628;
    color: #e8eef8;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
}
body.shell .nearby-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 4px 0 10px;
}
body.shell #nearby-q { min-width: 0; height: 38px; padding: 0 10px; }
body.shell #nearby-category { grid-column: 1 / -1; height: 38px; }
body.shell #btn-nearby-search { height: 38px; padding: 0 12px; white-space: nowrap; border-radius: 8px; }
body.shell .element-tabs { margin: 4px 0 8px; gap: 6px; }
body.shell .editor-history { margin: 0 0 8px; }
body.shell .element-list { max-height: 220px; margin: 0 0 8px; }
body.shell .element-item.group {
    display: block;
    letter-spacing: 0.04em;
    line-height: 1.4;
    padding: 8px 2px 4px;
    text-transform: none;
}
body.shell #btn-generate,
body.shell #btn-build { margin-top: 8px; }
body.shell #btn-reset { margin-top: 8px; }
body.shell .stat::before { display: none; }
body.shell .stat-ico {
    grid-row: 1 / span 2;
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 6px;
    background: #1e3a5f;
    color: #9ec0ff;
}
body.shell .stat-road .stat-ico { background: #3a2a14; color: #f0c27a; }
body.shell .stat-roads .stat-ico { background: #1a3348; color: #8ec8e8; }
body.shell .stat-radius .stat-ico { background: #243044; color: #c5d0e2; }
body.shell .stat span { overflow-wrap: normal; }
body.shell .details { min-width: 0; overflow-x: hidden; }
body.shell .detail-card { min-width: 0; max-width: 100%; }
body.shell .stat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body.shell .stat { grid-template-columns: 22px minmax(0, 1fr); column-gap: 6px; min-width: 0; }
body.shell .stat::before { width: 22px; height: 22px; }
body.shell .stat strong,
body.shell .stat span { min-width: 0; overflow-wrap: anywhere; }
body.shell #detail-gmaps { width: 100%; max-width: 100%; box-sizing: border-box; justify-content: center; }
body.shell { height: 100dvh; max-width: 100%; overflow: hidden; }
body.shell .config,
body.shell .details,
body.shell .stage,
body.shell .workspace,
body.shell .map-stage,
body.shell .map-wrap { min-width: 0; min-height: 0; }
body.shell .config,
body.shell .details { overflow: auto; }
body.shell .app-frame {
    width: 100%;
    grid-template-columns: 280px minmax(0, 1fr) 240px;
}
@media (max-width: 1280px) {
    body.shell .brand em { display: none; }
    body.shell .wordmark { font-size: 18px; }
    body.shell .header-search { width: min(280px, 34vw); max-width: 280px; }
    body.shell .app-frame { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(180px, 220px); }
}
@media (max-width: 1100px) {
    body.shell .account-name,
    body.shell .account-chevron { display: none; }
    body.shell .header-account { padding-right: 4px; }
    body.shell .export-actions #btn-png span,
    body.shell .export-actions #btn-pdf span { display: none; }
    body.shell .app-frame {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) minmax(140px, 26vh);
    }
    body.shell .details {
        display: flex;
        flex-direction: row;
        grid-column: 1 / -1;
        max-height: 26vh;
        overflow-x: auto;
        overflow-y: hidden;
    }
    body.shell .detail-card { flex: 0 0 240px; min-width: 220px; }
}
@media (max-width: 760px) {
    body.shell .topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 0;
        padding: 8px 10px;
        gap: 8px;
    }
    body.shell .brand-mark { width: 32px; height: 32px; box-shadow: none; }
    body.shell .header-search { grid-column: 1 / -1; width: 100%; max-width: none; }
    body.shell .app-frame {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(150px, 34vh) minmax(220px, 1fr) minmax(120px, 24vh);
    }
    body.shell .config { max-height: none; }
    body.shell .details {
        display: flex;
        flex-direction: row;
        grid-column: auto;
        max-height: none;
    }
    body.shell .stage { min-height: 0; padding: 6px; }
    body.shell .element-tab { font-size: 10px; padding: 0 2px; }
    body.shell .nearby-tools { grid-template-columns: minmax(0, 1fr); }
    body.shell #btn-nearby-search { width: 100%; }
}
@media (max-width: 420px) {
    body.shell .wordmark { font-size: 16px; }
    body.shell .map-products { grid-template-columns: 1fr; }
    body.shell .radius-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
body.shell .field-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c5d0e2;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
body.shell .field-ico { width: 14px; height: 14px; flex: 0 0 14px; color: #9ec0ff; }
body.shell .config input[type="file"] {
    width: 100%;
    margin: 0;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    background: #0e1628;
    color: #c5d0e2;
    font: 500 12px/1.3 Barlow, sans-serif;
}
body.shell .config input[type="file"]::file-selector-button,
body.shell .logo-replace input[type="file"]::file-selector-button {
    height: 28px;
    margin-right: 8px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: #1e3a5f;
    color: #e8eef8;
    font: 600 12px/1 Barlow, sans-serif;
    cursor: pointer;
}
body.shell .select-ico {
    position: relative;
    grid-column: 1 / -1;
    min-width: 0;
}
body.shell .select-ico > svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ec0ff;
    pointer-events: none;
}
body.shell .select-ico select { padding-left: 32px; }
body.shell #btn-nearby-search,
body.shell #btn-undo,
body.shell #btn-redo,
body.shell #btn-generate,
body.shell #btn-build,
body.shell #btn-reset,
body.shell #btn-add,
body.shell #btn-new,
body.shell .pin-btn,
body.shell .element-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
body.shell #btn-generate,
body.shell #btn-build,
body.shell #btn-reset { width: 100%; }
body.shell #btn-nearby-search {
    height: 38px;
    background: #2f6bff;
    border-color: #2f6bff;
    color: #fff;
}
body.shell #btn-undo,
body.shell #btn-redo {
    height: 36px;
    background: #0e1628;
    border-color: rgba(255,255,255,.12);
    color: #e8eef8;
}
body.shell .editor-history .btn { flex: 1; }
body.shell .element-tab { height: 32px; padding: 0 8px; font-size: 12px; }
body.shell .element-tab span { min-width: 0; overflow: visible; text-overflow: unset; white-space: nowrap; }
body.shell .pin-btn svg { flex: 0 0 auto; }
body.shell .nearby-tools { grid-template-columns: minmax(0, 1fr); }
body.shell #nearby-q,
body.shell #btn-nearby-search,
body.shell .select-ico { width: 100%; }
body.shell #nearby-category {
    appearance: none;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 36px;
    line-height: 42px;
    font-size: 14px;
    background-color: #0e1628;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239ec0ff' d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}
body.shell .element-tabs { grid-template-columns: 1fr 1fr; }

/* Broker style choices from the workspace rail. Each rule needs its flag on #map, so Automatic keeps the template look. */
#map[data-road-style][data-road-style][data-road-style][data-road-style][data-road-style] .road-banner.road-along {
    padding: 2px 7px !important;
    border-radius: 2px !important;
    text-shadow: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45) !important;
}
#map[data-road-style="navy"][data-road-style][data-road-style][data-road-style][data-road-style] .road-banner.road-along {
    background: #16325c !important;
    color: #ffffff !important;
    border: 1.5px solid #ffffff !important;
}
#map[data-road-style="white"][data-road-style][data-road-style][data-road-style][data-road-style] .road-banner.road-along {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
}
#map[data-vpd-style="dark"][data-vpd-style][data-vpd-style][data-vpd-style][data-vpd-style] .vpd-badge {
    background: #111111 !important;
    color: #ffe000 !important;
    border-color: #111111 !important;
}
#map[data-vpd-style="dark"][data-vpd-style][data-vpd-style][data-vpd-style][data-vpd-style] .vpd-badge :is(.vpd-kicker, .vpd-value) {
    background: transparent !important;
    color: #ffe000 !important;
}
#map[data-vpd-style="white"][data-vpd-style][data-vpd-style][data-vpd-style][data-vpd-style] .vpd-badge {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #111111 !important;
}
#map[data-vpd-style="white"][data-vpd-style][data-vpd-style][data-vpd-style][data-vpd-style] .vpd-badge :is(.vpd-kicker, .vpd-value) {
    background: transparent !important;
    color: #111111 !important;
}
#map[data-typography="standard"][data-typography][data-typography][data-typography] :is(.road-banner, .vpd-badge, .property-callout, .poi-marker b, .poi-logo-caption) {
    font-family: Barlow, "Segoe UI", sans-serif !important;
}
#map[data-typography="serif"][data-typography][data-typography][data-typography] :is(.road-banner, .vpd-badge, .property-callout, .poi-marker b, .poi-logo-caption) {
    font-family: Georgia, "Times New Roman", serif !important;
    letter-spacing: 0.02em !important;
}

#map[data-poi-style="box"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] :is(.poi-logo-card, .poi-marker, .poi-cluster) {
    background: #ffffff !important;
    border: 2px solid #16325c !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}
#map[data-poi-style][data-poi-style][data-poi-style][data-poi-style][data-poi-style] :is(.poi-marker, .poi-cluster, .poi-logo-card)::after,
#map[data-poi-style][data-poi-style][data-poi-style][data-poi-style][data-poi-style] .poi-logo-host::before,
#map[data-poi-style][data-poi-style][data-poi-style][data-poi-style][data-poi-style] .poi-logo-host::after {
    display: none !important;
}
#map[data-poi-style="box"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] :is(.poi-logo-card, .poi-cluster.is-plaza) {
    display: inline-block !important;
    width: max-content !important;
    max-width: 160px !important;
    padding: 4px 6px !important;
}
#map[data-poi-style="box"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] img.poi-logo {
    max-width: 44px !important;
    max-height: 22px !important;
    width: auto !important;
    height: auto !important;
}
#map[data-poi-style="icon"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] :is(.poi-logo-card, .poi-marker, .poi-cluster) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: max-content !important;
    max-width: none !important;
}
#map[data-poi-style="icon"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] .poi-cluster-logos {
    display: flex !important;
    gap: 3px !important;
    align-items: center !important;
}
#map[data-poi-style="icon"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] :is(.poi-logo-slot:nth-child(n+4), .poi-more, .poi-cluster-count, .poi-cluster-head, .poi-logo-caption) {
    display: none !important;
}
#map[data-poi-style="icon"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] img.poi-logo {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)) !important;
}
#map[data-poi-style="text"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] img.poi-logo {
    display: none !important;
}
#map[data-poi-style="text"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] :is(.poi-logo-card, .poi-marker, .poi-cluster) {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    padding: 2px 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    width: max-content !important;
    max-width: 180px !important;
}
#map[data-poi-style="text"][data-poi-style][data-poi-style][data-poi-style][data-poi-style] .poi-logo-caption {
    display: block !important;
    color: #0f172a !important;
    font: 700 11px/1.2 "Barlow Condensed", sans-serif !important;
    white-space: nowrap !important;
}
#map .subject-pin-mark,
.subject-pin-mark {
    width: 28px;
    height: 38px;
    z-index: 13;
    pointer-events: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.55));
}
#map .property-callout.pill.is-pin-label .subject-body {
    padding: 3px 8px 4px;
}
#map .property-callout.pill.is-pin-label .subject-body strong {
    font-size: 11px;
    letter-spacing: 0.14em;
}
.subject-pin-mark .subject-pin-svg {
    display: block;
}
#map .is-broker-pick {
    outline: 2px solid #2f6bff !important;
    outline-offset: 2px;
    border-radius: 4px;
}
#map:not([data-earth="1"]) .poi-logo-caption {
    display: none;
}
#map:not([data-earth="1"]) .poi-marker img,
#map:not([data-earth="1"]) .poi-cluster img,
#map:not([data-earth="1"]) img.poi-logo {
    height: 34px !important;
    max-width: 84px !important;
    max-height: 38px !important;
    min-width: 0 !important;
    min-height: 0 !important;
}
#map:not([data-earth="1"])[data-radius="5"] .poi-marker img,
#map:not([data-earth="1"])[data-radius="5"] .poi-cluster img,
#map:not([data-earth="1"])[data-radius="5"] img.poi-logo {
    height: 26px !important;
    max-width: 64px !important;
    max-height: 28px !important;
}
#map:not([data-earth="1"]) .property-callout.pill .subject-body {
    padding: 5px 12px 6px;
}
#map:not([data-earth="1"]) .property-callout.pill .subject-body strong {
    font-size: 13px;
    letter-spacing: 0.16em;
}
