/* =============================================================================
   AURORA THEME, FIRE EDITION (2026-10-06)
   -----------------------------------------------------------------------------
   Otto Comvoy's Aurora skin (comvoy/static/aurora.css, 2026-10-05) carried to
   Otto Fire for the demo. Grant: "a red and black theme but using the same
   font and otto lettering coloring". So: Comvoy's layout, type and shapes
   (Red Hat Display at one weight for display type, Manrope for UI, a centred
   pill nav, frosted panels, white primary buttons), with the aurora repainted
   red on black. The wordmark keeps its white "Otto" and red FIRE pill; it
   lives in app.css because scripts/verify_otto_switcher.py (in comvoy) pins it
   identical across the three Ottos.

   Loaded after app.css and only overrides it. Deleting the <link> puts the old
   look back, apart from the home markup (flat eye, pills, footer) in index.html.

   Deliberately NOT changed: the basemap, the pins and their tier colours
   (Replace red, Monitor amber, Current green are data, not decoration), and
   the segment badge shapes.
   ============================================================================= */

:root {
    --aur-ink: #140808;
    --aur-red: #ff3b30;
    --aur-panel: rgba(20, 9, 10, 0.66);
    --aur-panel-strong: rgba(16, 8, 9, 0.95);
    --aur-line: rgba(255, 255, 255, 0.13);
    --aur-line-strong: rgba(255, 255, 255, 0.28);
    --font-display: 'Red Hat Display', 'Manrope', system-ui, sans-serif;
    --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --bg-deep: #070506;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.13);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-tertiary: rgba(255, 255, 255, 0.55);
}

body { font-family: var(--font-ui); background: var(--bg-deep); }
input, button, select, textarea { font-family: inherit; }
.map-hover-tooltip, .leaflet-popup-content, .leaflet-container { font-family: var(--font-ui); }

/* ---------------------------------------------------------------- background */
.bg-canvas {
    background:
        radial-gradient(ellipse 60% 55% at 12% 12%, rgba(214, 32, 32, 0.85) 0%, transparent 62%),
        radial-gradient(ellipse 55% 60% at 90% 18%, rgba(150, 12, 18, 0.75) 0%, transparent 60%),
        radial-gradient(ellipse 80% 55% at 55% 105%, rgba(255, 59, 48, 0.55) 0%, transparent 62%),
        linear-gradient(180deg, #0b0607, #050304);
}
.bg-canvas .bg-orb-3 { display: none; }
/* The drifting orbs become a fine grain (::before) and a dimmer (::after) that
   comes up on the working pages so numbers read against the colour. */
.bg-canvas::before {
    width: auto; height: auto; inset: 0; top: 0; left: 0;
    border-radius: 0;
    background: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.5px, transparent 0.5px);
    background-size: 4px 4px;
    opacity: 0.3;
    mix-blend-mode: overlay;
    animation: none;
}
.bg-canvas::after {
    width: auto; height: auto; inset: 0; bottom: 0; right: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(6, 3, 4, 0.55), rgba(6, 3, 4, 0.78));
    opacity: 0;
    animation: none;
    transition: opacity 0.5s ease;
}
body[data-view="dashboard"] .bg-canvas::after,
body[data-view="table"] .bg-canvas::after,
body[data-view="bids"] .bg-canvas::after { opacity: 1; }

/* ------------------------------------------------------------------- top bar */
#topbar {
    padding: 0 24px;
    background: rgba(10, 6, 7, 0.94);
    border-bottom: 1px solid var(--aur-line);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
/* Home: no bar at all, the aurora runs to the top edge. Symmetric padding so
   the centred nav and the wordmark share one midline. */
#topbar.transparent { padding: 8px 24px; height: 72px; background: transparent; border-bottom-color: transparent; }
body[data-view="dashboard"] #topbar,
body[data-view="table"] #topbar,
body[data-view="bids"] #topbar { background: rgba(10, 6, 7, 0.6); }

.wordmark:hover { background: rgba(255, 255, 255, 0.08); }
.switcher-menu {
    background: var(--aur-panel-strong);
    border: 1px solid var(--aur-line);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.sw-item { border-radius: 12px; }

#nav {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.nav-btn {
    height: 38px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
    font: 600 13.5px var(--font-ui);
    transition: background 0.18s ease, color 0.18s ease;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: transparent; }
.nav-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav-btn.active { background: #fff; color: var(--aur-ink); border-color: #fff; }

#last-updated { font: 600 12.5px var(--font-ui); color: rgba(255, 255, 255, 0.72); }
.auth-avatar {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    font-family: var(--font-ui) !important;
    font-weight: 700 !important;
}
.profile-dropdown {
    background: var(--aur-panel-strong) !important;
    border: 1px solid var(--aur-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
}

/* No room for a centred five-tab pill: drop it back into the row, as before. */
@media (max-width: 1080px) {
    #nav { position: static; translate: none; }
    .nav-btn { padding: 0 12px; font-size: 13px; }
}

/* ------------------------------------------------------------- bento home
   2026-10-06, the same frame as Otto Comvoy's home: a named greeting, the map
   of departments we've sold to on the left, six boxes on the right, each
   opening the tab behind it. Markup: HomeHub.markup() in js/home-hub.js. Data:
   /api/home-hub. No dollar amounts; sales stats over the trailing 8 quarters. */
body[data-view="welcome"] .bg-canvas::after { opacity: 1; }
#welcome-view { align-items: stretch; }
.hub {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.86fr 0.86fr 0.86fr;
    grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    height: 100%;
    min-height: 640px;
    padding: 82px 24px 24px;
}
.hub-greet { grid-column: 1 / -1; padding: 0 4px; min-width: 0; }
.hub .welcome-greet {
    margin: 8px 0 0;
    font: 700 clamp(28px, 2.6vw, 38px)/1.04 var(--font-display);
    letter-spacing: -0.03em;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    opacity: 1;
    animation: none;
    max-width: none;
    text-align: left;
}
.hub-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 18px 20px;
    text-align: left;
    color: #fff;
    font: 500 13px/1.4 var(--font-ui);
    background: rgba(20, 9, 10, 0.68);
    border: 1px solid var(--aur-line);
    border-radius: 22px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.hub-tile:hover { background: rgba(34, 14, 16, 0.78); border-color: var(--aur-line-strong); }
.hub-tile:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hub-lbl { display: block; font: 700 11px var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); }
.hub-big { display: block; margin: 12px 0 8px; font: 700 60px/0.9 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hub-red { color: #ef4444; }
.hub-sub { display: block; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.74); }
.hub-note { display: block; margin-top: 6px; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }
.hub-chart { display: block; flex: 1; min-height: 64px; margin-top: 10px; overflow: hidden; }
.hub-chart svg { display: block; width: 100%; height: 100%; }
.hub-chart svg text { font-family: var(--font-ui); }
.hub-list { display: block; margin-top: 10px; }
.hub-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.hub-row:last-child { border-bottom: 0; }
.hub-row b { font-weight: 800; font-variant-numeric: tabular-nums; }
.hub-row .hub-ell b { font-weight: 700; }
.hub-ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hub-dim { color: rgba(255, 255, 255, 0.5); font-weight: 700; }
.hub-bars { display: grid; gap: 8px; margin-top: 14px; }
.hub-bar { display: grid; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 700; }
.hub-bar i { display: block; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hub-bar i span { display: block; height: 100%; border-radius: 999px; }
.hub-bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.hub-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.1); font: 600 12.5px var(--font-ui); white-space: nowrap; }
.hub-btn-foot { position: absolute; left: 20px; bottom: 18px; }
.hub-map { grid-column: 1 / 3; grid-row: 2 / 4; padding: 0; }
.hub-cap { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; z-index: 1; }
.hub-cap-t { display: block; margin-top: 6px; font: 700 24px var(--font-display); letter-spacing: -0.02em; }
.hub-mapsvg { position: absolute; left: 12px; right: 12px; top: 80px; bottom: 40px; }
.hub-mapsvg svg { display: block; width: 100%; height: 100%; }
.hub-legend { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 14px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.hub-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }

/* Tablet: two columns, the map full width, boxes size to their content. */
@media (max-width: 1100px) {
    .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; height: auto; min-height: 0; }
    .hub-greet, .hub-map { grid-column: 1 / -1; }
    .hub-map { grid-row: auto; height: 360px; }
    .hub-tile:not(.hub-map) { min-height: 240px; }
    .hub-btn-foot { position: static; margin-top: 16px; align-self: flex-start; }
    /* Boxes size to content here, so the chart needs its own height: it is drawn
       to its box's pixel size, and flex:1 alone would take the old drawing's. */
    .hub-chart { flex: none; height: 140px; }
}
/* Phone: one column. */
@media (max-width: 640px) {
    .hub { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 76px 12px 16px; }
    .hub-map { height: 280px; }
    .hub-big { font-size: 50px; }
    .hub-cap-t { font-size: 20px; }
}

#loading { background: var(--bg-deep); }
.loading-orb { background: radial-gradient(circle, rgba(255, 59, 48, 0.65) 0%, rgba(255, 59, 48, 0.15) 60%, transparent 100%); }
.loading-text { font-family: var(--font-ui); font-weight: 600; color: rgba(255, 255, 255, 0.7); }

/* ----------------------------------------------------------------- map chrome
   Same positions and sizes as before; only surfaces, type and shape change.
   Near-opaque, no backdrop blur, over a live map. */
#map-rail { background: rgba(12, 7, 8, 0.97); border-right: 1px solid var(--aur-line); }
.rail-grp > h4 { font-family: var(--font-ui); font-weight: 700; color: rgba(255, 255, 255, 0.6); }
.rail-grp > h4 button { color: #ff8a80; }
.rail-row { border-radius: 12px; }
.rail-row:hover { background: rgba(255, 255, 255, 0.06); }
.rail-row.on .lb { font-weight: 600; }
.rail-chip { border-radius: 999px; background: rgba(255, 255, 255, 0.05); border-color: var(--aur-line); font-weight: 600; }
.rail-chip.on { background: #fff; border-color: #fff; color: var(--aur-ink); }
.rail-chip.on span { opacity: 0.6; }
.rail-tog { border-radius: 12px; }
.rail-tog.on .box, .rail-tog.active .box { background: rgba(255, 255, 255, 0.9); }
.rail-tog.on .box:after, .rail-tog.active .box:after { background: var(--aur-ink); }
.rail-reset { border-radius: 999px !important; font-family: var(--font-ui); font-weight: 600; }

#side-list { background: rgba(12, 7, 8, 0.97); border-left: 1px solid var(--aur-line); }
.sl-header { border-bottom-color: var(--aur-line); }
.sl-header-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #fff;
}
.sl-header-count { color: rgba(255, 255, 255, 0.7); }
.sl-collapse-btn { border-radius: 999px; border-color: var(--aur-line); color: rgba(255, 255, 255, 0.7); }
#map-search { border-bottom-color: var(--aur-line); }
#search-input {
    border-radius: 999px;
    padding: 9px 34px 9px 14px;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--aur-line);
    font-size: 12.5px;
    font-weight: 500;
}
#search-input::placeholder { color: rgba(255, 255, 255, 0.6); }
#search-input:focus { border-color: rgba(255, 255, 255, 0.5); }
#search-results { background: var(--aur-panel-strong); border-color: var(--aur-line); border-radius: 18px; padding: 4px; }
.search-item { border-radius: 12px; border-bottom: none; }
.sl-row { border-bottom: none; border-radius: 12px; margin: 1px 6px; padding: 9px 10px; }
.sl-row:hover { background: rgba(255, 255, 255, 0.06); }
.sl-row.sl-active { background: rgba(255, 255, 255, 0.11); border-left: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.sl-name { font-weight: 600; }
#sl-expand-btn { background: var(--aur-panel-strong); border-color: var(--aur-line); border-radius: 999px; color: #fff; }

#view-switcher {
    padding: 4px;
    gap: 2px;
    border-radius: 999px;
    background: rgba(16, 8, 9, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.view-btn { border-radius: 999px; padding: 8px 16px; font: 600 12.5px var(--font-ui); color: rgba(255, 255, 255, 0.84); }
.view-btn.active { background: #fff; color: var(--aur-ink); }

.filter-btn {
    border-radius: 999px !important;
    background: rgba(16, 8, 9, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-family: var(--font-ui) !important;
    font-weight: 600 !important;
}
.filter-btn:hover { background: rgba(40, 18, 20, 0.9) !important; color: #fff !important; }
.filter-btn.has-active, .filter-btn.active { background: #fff !important; color: var(--aur-ink) !important; border-color: #fff !important; }
.filter-btn.has-active svg, .filter-btn.active svg { stroke: var(--aur-ink) !important; color: var(--aur-ink) !important; }
.filter-menu {
    background: var(--aur-panel-strong);
    border: 1px solid var(--aur-line);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    padding: 6px;
}
.filter-option { border-radius: 10px; }
.filter-option.selected .filter-check { background: #fff; border-color: #fff; }
.filter-option.selected .filter-check::after { border-color: var(--aur-ink); }
#reset-sfilters { border-radius: 999px; font-family: var(--font-ui); font-weight: 600; }

#map-legend {
    border-radius: 999px;
    padding: 9px 18px;
    background: rgba(16, 8, 9, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.legend-entry { color: rgba(255, 255, 255, 0.86); font-weight: 600; }
.legend-entry .legend-count { color: rgba(255, 255, 255, 0.6); }
#map-legend-tooltip, #dealer-legend {
    background: var(--aur-panel-strong);
    border: 1px solid var(--aur-line);
    border-radius: 18px;
}

.leaflet-control-zoom { border-radius: 999px !important; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2) !important; }
.leaflet-control-zoom a { background: rgba(16, 8, 9, 0.86) !important; color: #fff !important; }
.leaflet-control-zoom a:hover { background: rgba(48, 20, 22, 0.94) !important; }
.leaflet-popup-content-wrapper { background: var(--aur-panel-strong); border: 1px solid var(--aur-line); border-radius: 18px; }
.leaflet-popup-tip { background: var(--aur-panel-strong); }
.fp-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.map-hover-tooltip { border-radius: 999px; font-weight: 600; }

/* -------------------------------------------------------------- detail panel */
#detail-panel { background: rgba(12, 7, 8, 0.95); border-left: 1px solid var(--aur-line); }
#panel-close, .panel-nav-btn { border-radius: 50%; background: rgba(255, 255, 255, 0.08); border-color: var(--aur-line); color: #fff; }
.panel-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.panel-location { color: rgba(255, 255, 255, 0.66); }
.panel-section-title { font-family: var(--font-ui); font-weight: 700; color: rgba(255, 255, 255, 0.6); border-bottom-color: var(--aur-line); }
.panel-row .label { color: rgba(255, 255, 255, 0.6); }
.service-card, .contact-card { border-radius: 16px; }
.notes-area, .activity-form-input { border-radius: 14px; }
.notes-save-btn, .activity-submit-btn { border-radius: 999px; background: #fff; color: var(--aur-ink); border-color: #fff; font-weight: 700; }
.notes-save-btn:hover, .activity-submit-btn:hover { background: #fff; filter: brightness(0.92); }
.activity-btn, .activity-cancel-btn, .outcome-chip { border-radius: 999px; font-weight: 600; }
.outcome-chip.selected { background: #fff; color: var(--aur-ink); border-color: #fff; }

/* ------------------------------------------------------------------ dashboard */
#dashboard-view { padding: 28px 40px 40px; }
#dashboard-view .dash-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #fff;
}
#dashboard-view .dash-sub { font-size: 13px; color: rgba(255, 255, 255, 0.72); margin-top: 6px; }
#dashboard-view .kpi-grid {
    gap: 12px;
    border: none;
    margin-bottom: 28px;
}
#dashboard-view .kpi-card,
#dashboard-view .kpi-card:last-child {
    background: rgba(20, 9, 10, 0.72);
    border: 1px solid var(--aur-line);
    border-radius: 20px;
    padding: 18px 20px;
}
#dashboard-view .kpi-card:hover { background: rgba(34, 14, 16, 0.82); border-color: var(--aur-line-strong); }
#dashboard-view .kpi-label { font-weight: 700; color: rgba(255, 255, 255, 0.62); }
#dashboard-view .kpi-value { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
#dashboard-view .kpi-sub { color: rgba(255, 255, 255, 0.62); }
#dashboard-view .chart-card,
#dashboard-view .full-card {
    background: rgba(20, 9, 10, 0.72);
    border: 1px solid var(--aur-line);
    border-radius: 22px;
    padding: 20px 22px;
}
#dashboard-view .chart-card .chart-title,
#dashboard-view .full-card .chart-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #fff;
    border-bottom-color: var(--aur-line);
}
#dashboard-view .rep-table th { font-weight: 700; color: rgba(255, 255, 255, 0.6); border-bottom-color: var(--aur-line); }
#dashboard-view .rep-table tr:hover td { background: rgba(255, 255, 255, 0.04); }
#dashboard-view .rep-bar-fill { background: linear-gradient(90deg, #ff3b30, #ff9a5a); }
#dashboard-view .gap-pill { border-radius: 999px; border-color: var(--aur-line); color: rgba(255, 255, 255, 0.86); font-weight: 600; }
#dashboard-view .status-chip { border-radius: 999px; }

/* ------------------------------------------------------- Sold + Open Bids */
.table-toolbar { border-bottom-color: var(--aur-line); }
.table-view-switcher {
    padding: 4px;
    gap: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--aur-line);
}
.table-view-btn { border-radius: 999px; font: 600 12.5px var(--font-ui); color: rgba(255, 255, 255, 0.84); }
.table-view-btn.active { background: #fff; color: var(--aur-ink); }
.table-filter-btn {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--aur-line);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-ui);
    font-weight: 600;
}
.table-filter-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.table-search { border-radius: 999px; background: rgba(255, 255, 255, 0.08); border-color: var(--aur-line); font-weight: 500; }
.table-search:focus { border-color: rgba(255, 255, 255, 0.5); }
.table-row-count { color: rgba(255, 255, 255, 0.7); }
.table-row-count strong { font-family: var(--font-display); color: #fff; }
.table-scroll { background: rgba(12, 7, 8, 0.55); }
.data-table thead th, .data-table th {
    background: rgba(14, 7, 8, 0.97);
    font-family: var(--font-ui);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.66);
    border-bottom-color: var(--aur-line);
}
.data-table th.sorted { color: #fff; }
.data-table tbody tr:hover td { background: rgba(255, 255, 255, 0.05); }
.data-table tbody tr.row-selected td { background: rgba(255, 255, 255, 0.1); }
.data-table .col-name { font-weight: 600; }
.status-chip { border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
    .hub-tile { transition: none; }
}

/* Dealer home (static/dealer/, 2026-10-07): staff-only "Preview as dealer" picker
   in the greeting row, and the plain wordmark (dealers open no other Otto). */
.dh-pick { margin-top: 10px; font: 600 12.5px var(--font-ui); color: #fff; background: rgba(255,255,255,0.08);
    border: 1px solid var(--aur-line-strong); border-radius: 999px; padding: 6px 12px; }
.dh-pick option { color: #111; }
.dealer-wordmark { text-decoration: none; }
/* On a phone every view is one tap away from its box, so the menu steps aside
   and the avatar (sign out) stays on screen. */
@media (max-width: 600px) {
    .dealer-home #nav { display: none; }
}

/* Map legends draw the ember marker itself, not a round swatch (2026-10-07). */
.hub-legend i.hub-em { width: 14px; height: 14px; border-radius: 0; background: none; vertical-align: -3px; }
.hub-legend i.hub-em svg { display: block; width: 100%; height: 100%; overflow: visible; }
