/* House style. Loaded before motion.css.
   Flat and square: no drop shadows, frosted glass, glows, gradient text, colored side stripes or soft rounded corners.
   Circles stay only where the thing is round (faces, map dots, toggles, rings). Accent colors: teal (brand), brass, slate, rust.
   Motion lives in motion.css. */

:root { --violet: #c8a165; --brass: #c8a165; --slate: #7f97a8; --danger: #d0603f; }

/* No shadows or blur anywhere outside the map engine. */
*:not([class*="leaflet"]), *:not([class*="leaflet"])::before, *:not([class*="leaflet"])::after {
  box-shadow: none !important; text-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.itin-line, .near-line, .mq-sep { filter: none !important; }
.wf, .wf.ghost .wf-img { animation-name: mv-pop !important; animation-iteration-count: 1 !important; }

/* Hover gives a color change, never movement. */
.row:hover, .pin-wrap:hover .pin, .cluster-faces:hover, .hub-tile:hover, .cta .btn-google:hover, .cta .btn-google:active { transform: none !important; }
.signin-card { transform: none !important; }

/* Square corners. */
.tour-spot, .sheet-grip::after, .cluster-faces b, #near-range, .ht-ramp i, .ht-hbar-t i, .ht-inbar i, .bc-pill { border-radius: 0 !important; }

/* Side and top stripes become ordinary borders or a background change. */
.toast, .toast.away { border-left: 1px solid var(--line) !important; }
.hq-tag, .hq-big .hq-tag { border-left-width: 1px !important; border-top-width: 1px !important; }
.pal-row { border-left: 0 !important; }
.ht-row.is-on, .bc-row.is-on, .row.is-on { background: #1e2427 !important; }
.tour-tip, .palette-box { border-top-width: 1px !important; }

/* Welcome screen: the map stays visible, the card is a plain solid panel. */
.screen { background: none !important; }
.signin-card { background: var(--ink); border: 1px solid var(--line); padding: 34px 34px 28px; width: min(500px, 100%); }
.glow, #fx, .cta::before, .cta .btn-google::after, .caret, .live-dot, .panel-head::before, #map::after { display: none !important; }
.cta { padding: 0; overflow: visible; }
.hero { font-size: clamp(54px, 8vw, 104px); }
.hero-2 { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--teal) !important; }
.title { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--text) !important; }
.lede { min-height: 0; margin-bottom: 22px; color: #c9d0d3; }
.legal { position: absolute; right: 22px; bottom: 74px; display: flex; gap: 16px; margin: 0; font-size: 12px; }
.legal a { color: var(--muted); }
.marquee { background: var(--ink) !important; -webkit-mask-image: none !important; mask-image: none !important; border-top: 1px solid var(--line) !important; }
.marquee-track { width: auto !important; flex-wrap: wrap; justify-content: center; gap: 10px 0; padding: 0 16px; }
.mq-logo { opacity: .5; }

/* HQ marker: flat teal disc, no rings or glow. */
.hq img, .hq-badge { background: var(--teal) !important; }
.hq i { display: none !important; }

/* Teammate faces on the welcome map. */
.wf { width: 40px; height: 40px; }
.wf-img { border: 2px solid #fff; }
.wf-name { border-color: var(--line); }

/* Slack button: neutral, Slack's mark carries the brand. */
.card a.btn-slack, .btn-slack { background: #f2f2f2 !important; color: #1d1c1d !important; border-color: #f2f2f2 !important; }
.card a.btn-slack:hover, .btn-slack:hover { background: #fff !important; color: #1d1c1d !important; }
.btn-slack svg { fill: #1d1c1d !important; }

/* Near-me control: flat. */
.near-ctl { background: var(--teal-dim) !important; }

/* Skeleton placeholders: still grey blocks. */
.ht-skel, .skel-row { background: #171b1d !important; }
.skel-row { height: 46px; margin: 1px 0; }

/* Dashboards: numbers in ruled columns, not boxed cards. */
.ht-kpis { background: none !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; gap: 0 !important; }
.ht-kpi { background: none !important; border-left: 1px solid var(--line); }
.ht-kpi:first-child { border-left: 0; padding-left: 0; }

/* Status words instead of icons. */
.bc-yn { border-radius: 0 !important; width: auto; height: auto; padding: 2px 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.ht-delta { font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .signin-card { padding: 22px 18px 18px; }
  .hero { font-size: clamp(44px, 13vw, 64px); }
  .legal { position: static; justify-content: center; margin-top: 12px; }
}
