/* ------------------------------------------------------------------
   Be Close — 2026 map-sheet redesign
   Loaded after styles.css. Everything here is prefixed .bc- so it does
   not collide with the existing Bootstrap/Elementor-derived rules.
   The page is dark to match the existing navbar and footer, and keeps
   the site's #EF3C16 accent for continuity.
   ------------------------------------------------------------------ */

:root {
  /* light, as the approved design. Dark is supported below. */
  --bc-bg:        #F2F6F4;
  --bc-surface:   #FFFFFF;
  --bc-surface-2: #E9F1EE;
  --bc-ink:       #10201D;
  --bc-muted:     #5A7470;
  --bc-line:      #D8E6E1;

  --bc-brand:     #1E6B61;
  --bc-brand-ink: #12443E;
  --bc-brand-dim: #DFF1EC;
  --bc-accent:    #1E6B61;
  --bc-go:        #1F9E63;
  --bc-alert:     #C2313B;
  --bc-amber:     #B4741A;
  --bc-navy:      #13345C;

  --bc-btn-fg:    #FFFFFF;
  --bc-best-btn-bg: #FFFFFF;
  --bc-best-btn-fg: #12443E;
  --bc-ribbon-fg: #FFFFFF;
  --bc-on-brand:  #FFFFFF;
  --bc-nav-bg:    rgba(242,246,244,.92);
  --bc-glow:      rgba(30,107,97,.16);
  --bc-highlight: #EF3C16;
  --bc-best-bg:   #1E6B61;
  --bc-best-fg:   #FFFFFF;
  --bc-band-bg:   #1E6B61;
  --bc-band-fg:   #FFFFFF;

  --bc-map-land:  #E4EDE9;
  --bc-map-block: #D3E1DB;
  --bc-map-road:  #FFFFFF;
  --bc-map-park:  #CFE6D6;
  --bc-map-water: #C7DCE8;
  --bc-pin-face:  #FFFFFF;

  --bc-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --bc-body: 'Inter', 'Montserrat', system-ui, -apple-system, sans-serif;
  --bc-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --bc-shadow: 0 1px 2px rgba(16,32,29,.06), 0 8px 24px -12px rgba(16,32,29,.18);
  --bc-shadow-lift: 0 2px 4px rgba(16,32,29,.08), 0 18px 40px -16px rgba(16,32,29,.28);
  --bc-r: 18px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bc-bg:        #0A1514;
    --bc-surface:   #11211F;
    --bc-surface-2: #162926;
    --bc-ink:       #E9F2EF;
    --bc-muted:     #93AEA8;
    --bc-line:      #223834;

    --bc-brand:     #5CBCAB;
    --bc-brand-ink: #76CCBC;
    --bc-brand-dim: #16302C;
    --bc-accent:    #5CBCAB;
    --bc-go:        #45C78B;
    --bc-alert:     #F2868F;
    --bc-amber:     #DFA857;
    --bc-navy:      #8CB4E4;

    --bc-btn-fg:    #07201C;
    --bc-best-btn-bg: #5CBCAB;
    --bc-best-btn-fg: #07201C;
    --bc-ribbon-fg: #1A1206;
    --bc-on-brand:  #07201C;
    --bc-nav-bg:    rgba(10,21,20,.92);
    --bc-glow:      rgba(92,188,171,.14);
    --bc-highlight: #FF7A4D;
    --bc-best-bg:   #16302C;
    --bc-best-fg:   #E9F2EF;
    --bc-band-bg:   #16302C;
    --bc-band-fg:   #E9F2EF;

    --bc-map-land:  #162A27;
    --bc-map-block: #1D3733;
    --bc-map-road:  #2A4541;
    --bc-map-park:  #1C3A2C;
    --bc-map-water: #163041;
    --bc-pin-face:  #0A1514;

    --bc-shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.7);
    --bc-shadow-lift: 0 2px 6px rgba(0,0,0,.45), 0 22px 46px -18px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}

/* ---------- page shell ---------- */
body.bc-page { background: var(--bc-bg); color: var(--bc-ink); font-family: var(--bc-body); }
.bc-page .bc-sec { position: relative; }
.bc-wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.bc-page h1, .bc-page h2, .bc-page h3 { font-family: var(--bc-display); font-weight: 600; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.bc-page p { margin: 0; }
.bc-num { font-family: var(--bc-mono); font-variant-numeric: tabular-nums; }
.bc-key { font-family: var(--bc-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-brand); margin: 0; }
.bc-accent { color: var(--bc-accent); }

.bc-sec > .bc-wrap { padding-block: clamp(46px, 7vw, 86px) clamp(66px, 9.5vw, 120px); }
.bc-tint { background: var(--bc-surface-2); border-block: 1px solid var(--bc-line); }

.bc-head { max-width: 64ch; }
.bc-head h2 { font-size: clamp(27px, 4vw, 40px); line-height: 1.1; margin-block: 10px 14px; }
.bc-head p { color: var(--bc-muted); font-size: 17px; }
.bc-head .bc-prose { font-size: 15.5px; line-height: 1.72; margin-top: 14px; max-width: 72ch; }

/* ---------- buttons ---------- */
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-family: var(--bc-body); font-size: 15px; font-weight: 600; text-decoration: none; background: var(--bc-brand); color: var(--bc-btn-fg); border: 1px solid transparent; white-space: nowrap; }
.bc-btn:hover, .bc-btn:focus { background: var(--bc-brand-ink); color: var(--bc-btn-fg); text-decoration: none; }
.bc-btn-ghost { background: transparent; color: var(--bc-ink); border-color: var(--bc-line); }
.bc-btn-ghost:hover, .bc-btn-ghost:focus { background: transparent; border-color: var(--bc-brand); color: var(--bc-brand); }

.bc-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bc-store { display: inline-flex; align-items: center; gap: 11px; padding: 11px 20px 11px 16px; border-radius: 14px; background: var(--bc-ink); color: var(--bc-bg); text-decoration: none; border: 1px solid var(--bc-ink); }
.bc-store:hover, .bc-store:focus { opacity: .88; color: var(--bc-bg); text-decoration: none; }
.bc-store svg { flex: none; }
.bc-store .s1 { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; line-height: 1.3; }
.bc-store .s2 { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }

/* ---------- hero ---------- */
.bc-hero { overflow: hidden; }
.bc-hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: min(840px, 100%); aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, rgba(92,188,171,.14), transparent 68%); pointer-events: none; }
.bc-hero > .bc-wrap { position: relative; z-index: 1; padding-block: clamp(96px, 11vw, 140px) clamp(58px, 7vw, 96px); }
.bc-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (max-width: 920px) { .bc-hero-grid { grid-template-columns: 1fr; } }
.bc-hero h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.03; margin-block: 14px 18px; }
.bc-hero h1 em { font-style: italic; color: var(--bc-brand); }
.bc-lede { font-size: clamp(16px, 2vw, 18.5px); color: var(--bc-muted); max-width: 46ch; }
.bc-hero-note { margin-top: 18px; font-size: 13.5px; color: var(--bc-muted); }
.bc-hero-note a { color: var(--bc-brand); font-weight: 600; text-decoration: none; }

.bc-video { border-radius: 22px; overflow: hidden; border: 1px solid var(--bc-line); box-shadow: var(--bc-shadow-lift); background: #000; line-height: 0; }
.bc-video video { width: 100%; height: auto; display: block; }

/* ---------- strip ---------- */
.bc-strip { border-bottom: 1px solid var(--bc-line); }
.bc-strip .bc-wrap { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-block: 20px; }
.bc-strip span { font-size: 13.5px; color: var(--bc-muted); }
.bc-strip b { color: var(--bc-ink); font-weight: 600; }

/* ---------- map plate ---------- */
.bc-plate { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--bc-line); box-shadow: var(--bc-shadow-lift); background: var(--bc-map-land); }
.bc-plate svg { display: block; width: 100%; height: auto; }
.bc-chip { position: absolute; background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: 13px; padding: 9px 12px; box-shadow: var(--bc-shadow); font-size: 12.5px; line-height: 1.35; max-width: 54%; }
.bc-chip .t { display: block; font-weight: 650; }
.bc-chip .m { display: block; color: var(--bc-muted); font-size: 11.5px; }
.bc-chip .d { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.bc-chip.c1 { left: 4%; top: 6%; }
.bc-chip.c2 { right: 4%; top: 29%; border-color: rgba(242,134,143,.45); }
.bc-chip.c3 { left: 5%; bottom: 7%; }
@media (max-width: 560px) { .bc-chip { font-size: 11px; padding: 7px 9px; } .bc-chip.c3 { display: none; } }

@keyframes bc-ping { 0% { r: 14; opacity: .55 } 70% { r: 46; opacity: 0 } 100% { r: 46; opacity: 0 } }
@keyframes bc-drift { to { stroke-dashoffset: -44; } }
.bc-pulse { animation: bc-ping 2.6s ease-out infinite; }
.bc-trail { stroke-dasharray: 10 12; animation: bc-drift 2.4s linear infinite; }
@media (prefers-reduced-motion: reduce) { .bc-pulse, .bc-trail { animation: none; } }

/* ---------- split + list ---------- */
.bc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; margin-top: 34px; }
@media (max-width: 860px) { .bc-split { grid-template-columns: 1fr; } }
.bc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bc-list li { display: grid; grid-template-columns: 10px 1fr; gap: 13px; align-items: start; min-width: 0; }
.bc-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bc-brand); margin-top: 8px; }
.bc-list b { font-weight: 600; color: var(--bc-ink); }
.bc-list span { color: var(--bc-muted); }

/* ---------- mock rows ---------- */
.bc-mock { background: var(--bc-surface-2); border: 1px solid var(--bc-line); border-radius: var(--bc-r); padding: 20px; display: grid; gap: 12px; }
.bc-row { background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: 13px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.bc-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--bc-on-brand); flex: none; }
.bc-tx { min-width: 0; }
.bc-tx b { display: block; font-size: 14.5px; font-weight: 600; }
.bc-tx span { display: block; font-size: 12.5px; color: var(--bc-muted); }
.bc-tag { margin-left: auto; font-family: var(--bc-mono); font-size: 11.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.bc-tag-g { background: rgba(69,199,139,.16); color: var(--bc-go); }
.bc-tag-r { background: rgba(242,134,143,.16); color: var(--bc-alert); }
.bc-tag-n { background: rgba(140,180,228,.16); color: var(--bc-navy); }
.bc-tag-a { background: rgba(223,168,87,.17); color: var(--bc-amber); }

.bc-notes { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-note { font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 999px; background: var(--bc-brand-dim); color: var(--bc-brand); }
.bc-note-on { background: var(--bc-brand); color: var(--bc-btn-fg); }

/* ---------- cards ---------- */
.bc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 920px) { .bc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bc-cards { grid-template-columns: 1fr; } }
.bc-card { background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: var(--bc-r); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bc-card h3 { font-size: 19.5px; }
.bc-card p { color: var(--bc-muted); font-size: 14.5px; }
.bc-card ul { margin: 4px 0 0; padding-left: 18px; color: var(--bc-muted); font-size: 14.5px; display: grid; gap: 6px; }
.bc-badge { font-family: var(--bc-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-muted); }
.bc-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bc-brand-dim); color: var(--bc-brand); }
.bc-card-alert .bc-ico { background: rgba(242,134,143,.15); color: var(--bc-alert); }
.bc-card-go .bc-ico { background: rgba(69,199,139,.15); color: var(--bc-go); }

/* ---------- steps ---------- */
.bc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 760px) { .bc-steps { grid-template-columns: 1fr; } }
.bc-step { background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: var(--bc-r); padding: 24px; display: grid; gap: 8px; align-content: start; }
.bc-step .n { font-family: var(--bc-mono); font-size: 12px; letter-spacing: .14em; color: var(--bc-brand); }
.bc-step h3 { font-size: 19.5px; }
.bc-step p { color: var(--bc-muted); font-size: 14.5px; }

/* ---------- mini grid ---------- */
.bc-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 34px; background: var(--bc-line); border: 1px solid var(--bc-line); border-radius: var(--bc-r); overflow: hidden; }
@media (max-width: 900px) { .bc-mini { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bc-mini { grid-template-columns: 1fr; } }
.bc-mini > div { background: var(--bc-surface); padding: 20px; min-width: 0; }
.bc-mini b { display: block; font-size: 15.5px; font-weight: 650; margin-bottom: 5px; }
.bc-mini span { font-size: 14px; color: var(--bc-muted); }

/* ---------- subscription plans ---------- */
.bc-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
@media (max-width: 900px) { .bc-plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.bc-plan { position: relative; background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: 20px; padding: 26px; display: grid; gap: 15px; align-content: start; min-width: 0; }
.bc-plan h3 { font-size: 20px; }
.bc-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.bc-amt { font-family: var(--bc-display); font-weight: 700; font-size: clamp(34px, 5vw, 46px); line-height: 1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.bc-per { font-size: 14.5px; font-weight: 500; color: var(--bc-muted); }
.bc-then { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: -5px; }
.bc-was { text-decoration: line-through; opacity: .62; font-family: var(--bc-mono); font-size: 15px; }
.bc-save { font-family: var(--bc-mono); font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(69,199,139,.18); color: var(--bc-go); white-space: nowrap; }
.bc-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.bc-plan li { display: grid; grid-template-columns: 17px 1fr; gap: 10px; align-items: start; }
.bc-plan li svg { margin-top: 4px; }
.bc-plan .bc-btn { width: 100%; margin-top: 2px; }
.bc-foot { font-size: 12.5px; color: var(--bc-muted); }
.bc-plan-best { background: var(--bc-best-bg); color: var(--bc-best-fg); border-color: var(--bc-best-bg); box-shadow: var(--bc-shadow-lift); }
.bc-plan-best h3, .bc-plan-best .bc-amt, .bc-plan-best b { color: inherit; }
.bc-plan-best .bc-save { background: rgba(255,255,255,.2); color: inherit; }
.bc-plan-best .bc-btn { background: var(--bc-best-btn-bg); color: var(--bc-best-btn-fg); }
.bc-plan-best .bc-btn:hover { background: var(--bc-best-btn-bg); color: var(--bc-best-btn-fg); opacity: .9; }
.bc-plan-best .bc-per, .bc-plan-best .bc-foot, .bc-plan-best .bc-was { color: inherit; opacity: .78; }
.bc-ribbon { position: absolute; top: -12px; left: 26px; font-family: var(--bc-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--bc-amber); color: var(--bc-ribbon-fg); padding: 5px 11px; border-radius: 999px; }
.bc-pricenote { margin-top: 26px; font-size: 13.5px; color: var(--bc-muted); max-width: 78ch; }

/* ---------- consent band ---------- */
.bc-band { background: var(--bc-band-bg); color: var(--bc-band-fg); border-block: 0; }
.bc-band .bc-key { color: inherit; opacity: .78; }
.bc-band h2 { color: inherit; }
.bc-band .bc-accent { color: inherit; opacity: .85; }
.bc-band h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.1; max-width: 22ch; }
.bc-band > .bc-wrap > p { margin-top: 16px; max-width: 56ch; color: inherit; opacity: .88; font-size: 16.5px; }
.bc-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
@media (max-width: 760px) { .bc-band-grid { grid-template-columns: 1fr; } }
.bc-band-grid > div { border-top: 1px solid currentColor; padding-top: 14px; opacity: .94; }
.bc-band-grid b { display: block; font-weight: 650; margin-bottom: 4px; }
.bc-band-grid span { font-size: 14.5px; color: inherit; opacity: .82; }

/* ---------- languages ---------- */
.bc-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.bc-langs span { font-family: var(--bc-mono); font-size: 12.5px; padding: 6px 11px; border-radius: 8px; background: var(--bc-surface); border: 1px solid var(--bc-line); color: var(--bc-muted); }

/* ---------- testimonials (keeps the existing Swiper markup) ---------- */
.bc-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 860px) { .bc-quotes { grid-template-columns: 1fr; } }
.bc-quote { background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: var(--bc-r); padding: 24px; display: grid; gap: 14px; align-content: start; }
.bc-quote p { font-family: var(--bc-display); font-size: 18px; line-height: 1.45; }
.bc-quote cite { font-style: normal; font-size: 13.5px; color: var(--bc-muted); }
.bc-stars { color: var(--bc-amber); letter-spacing: 2px; font-size: 14px; }

/* ---------- ownership / buy section ---------- */
.bc-own { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 900px) { .bc-own { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.bc-own .bc-plan ul { gap: 9px; }
.bc-own .bc-plan { gap: 13px; }
.bc-tick { color: var(--bc-brand); }

/* ---------- web app: live map ---------- */
.bc-map-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 18px; margin-top: 30px; }
@media (max-width: 900px) { .bc-map-wrap { grid-template-columns: 1fr; } }
.bc-map { height: clamp(380px, 56vh, 640px); border-radius: var(--bc-r); border: 1px solid var(--bc-line); overflow: hidden; background: var(--bc-surface-2); }
.bc-roster { border: 1px solid var(--bc-line); border-radius: var(--bc-r); overflow: hidden; background: var(--bc-line); display: grid; gap: 1px; align-content: start; max-height: clamp(380px, 56vh, 640px); overflow-y: auto; }
.bc-roster-row { background: var(--bc-surface); border: 0; width: 100%; text-align: left; padding: 12px 14px; display: flex; gap: 11px; align-items: center; cursor: pointer; font-family: var(--bc-body); }
.bc-roster-row:hover { background: var(--bc-surface-2); }
.bc-roster-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.bc-roster-tx { min-width: 0; }
.bc-roster-tx b { display: block; font-size: 14.5px; color: var(--bc-ink); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-roster-tx span { display: block; font-size: 12.5px; color: var(--bc-muted); }
.bc-pin { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; cursor: pointer; font-family: var(--bc-body); }
.bc-pin-stale { opacity: .55; }
.bc-pop { font-family: var(--bc-body); display: grid; gap: 2px; }
.bc-pop b { font-size: 14.5px; }
.bc-pop span { font-size: 12.5px; color: #555; }
.maplibregl-popup-content { border-radius: 12px; padding: 10px 13px; }

.bc-feed-more { margin-top: 18px; }

/* the preview map on the signed-out page */
.bc-plate-demo { box-shadow: var(--bc-shadow-lift); }
.bc-signin-err { margin-top: 16px; font-size: 14.5px; color: var(--bc-alert); background: rgba(194,49,59,.08); border: 1px solid rgba(194,49,59,.3); border-radius: 12px; padding: 11px 14px; max-width: 46ch; }

/* ---------- web app: sign-in buttons ----------
   Apple requires its button to carry the mark, the exact words and a plain
   black or white field, so it is styled on its own rather than as a brand
   colour. */
.bc-signin { display: grid; gap: 10px; margin-top: 26px; max-width: 300px; }
.bc-signin .bc-btn { width: 100%; gap: 10px; height: 46px; font-size: 15px; }
.bc-btn-apple { background: #000; color: #fff; border-color: #000; }
.bc-btn-apple:hover, .bc-btn-apple:focus { background: #1a1a1a; color: #fff; }
.bc-btn-google { background: #fff; color: #1F1F1F; border-color: #DADCE0; }
.bc-btn-google:hover, .bc-btn-google:focus { background: #f7f8f8; color: #1F1F1F; }

/* ---------- web app: map style switcher ---------- */
.bc-styles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.bc-style-btn { font-family: var(--bc-body); font-size: 13.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--bc-line); background: var(--bc-surface); color: var(--bc-muted); cursor: pointer; }
.bc-style-btn:hover { border-color: var(--bc-brand); color: var(--bc-brand); }
.bc-style-btn.is-on { background: var(--bc-brand); border-color: var(--bc-brand); color: var(--bc-btn-fg); font-weight: 600; }

/* ---------- web app: drawing safe areas ---------- */
.bc-areas { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--bc-line); }
.bc-area-grid { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .bc-area-grid { grid-template-columns: 1fr; } }
.bc-area-form { background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: var(--bc-r); padding: 20px; display: grid; gap: 14px; }
.bc-area-form .bc-field input[type=range] { accent-color: var(--bc-brand); min-width: 0; padding: 0; border: 0; background: none; }
.bc-area-form .bc-field > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bc-area-form .bc-field > span b { color: var(--bc-brand); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.bc-area-toggles { display: grid; gap: 8px; font-size: 14px; color: var(--bc-muted); }
.bc-area-toggles label { display: flex; gap: 9px; align-items: center; cursor: pointer; }
.bc-area-toggles input { accent-color: var(--bc-brand); }
.bc-area-list { border: 1px solid var(--bc-line); border-radius: var(--bc-r); overflow: hidden; background: var(--bc-line); display: grid; gap: 1px; align-content: start; }
.bc-area-row { background: var(--bc-surface); padding: 13px 16px; display: flex; align-items: center; gap: 12px; }
.bc-area-tx { min-width: 0; flex: 1; }
.bc-area-tx b { display: block; font-size: 14.5px; font-weight: 650; }
.bc-area-tx span { display: block; font-size: 12.5px; color: var(--bc-muted); }
.bc-area-del { border: 1px solid var(--bc-line); background: var(--bc-surface); color: var(--bc-alert); font-family: var(--bc-body); font-size: 13px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.bc-area-del:hover { border-color: var(--bc-alert); }
.bc-pin-draft { background: var(--bc-amber); font-size: 17px; }

/* ---------- web app: history scrubber ---------- */
.bc-hist-controls,
.bc-filterbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 28px; }
.bc-field { display: grid; gap: 5px; }
.bc-field > span { font-family: var(--bc-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-muted); }
.bc-field select, .bc-field input { font-family: var(--bc-body); font-size: 14.5px; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--bc-line); background: var(--bc-surface); color: var(--bc-ink); min-width: 168px; }
.bc-hist-controls .bc-btn { padding: 9px 16px; }
.bc-hist-side { display: grid; gap: 14px; align-content: start; }
.bc-hist-readout { background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: var(--bc-r); padding: 18px; }
.bc-hist-readout b { display: block; font-family: var(--bc-display); font-size: 34px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bc-hist-readout span { display: block; font-size: 13.5px; color: var(--bc-muted); margin-top: 7px; }
.bc-hist-stats { display: grid; gap: 1px; background: var(--bc-line); border: 1px solid var(--bc-line); border-radius: var(--bc-r); overflow: hidden; }
.bc-hist-stats > div { background: var(--bc-surface); padding: 12px 16px; }
.bc-hist-stats b { display: block; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bc-hist-stats span { font-size: 12.5px; color: var(--bc-muted); }
.bc-scrub { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.bc-scrub-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--bc-line); background: var(--bc-surface); color: var(--bc-brand); font-size: 14px; cursor: pointer; }
.bc-scrub-play:hover { border-color: var(--bc-brand); }
.bc-scrub input[type=range] { flex: 1; accent-color: var(--bc-brand); height: 6px; }
.bc-pin-head { background: var(--bc-brand); box-shadow: 0 0 0 6px rgba(30,107,97,.22), 0 2px 8px rgba(0,0,0,.35); }

/* ---------- web app: activity feed ---------- */
.bc-feed { margin-top: 30px; border: 1px solid var(--bc-line); border-radius: var(--bc-r); overflow: hidden; background: var(--bc-line); display: grid; gap: 1px; max-width: 78ch; }
.bc-feed-row { background: var(--bc-surface); padding: 13px 18px; display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: baseline; }
.bc-feed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bc-muted); align-self: center; }
.bc-feed-text { font-size: 15px; color: var(--bc-muted); min-width: 0; }
.bc-feed-text b { color: var(--bc-ink); font-weight: 650; }
.bc-feed-when { font-family: var(--bc-mono); font-size: 12px; color: var(--bc-muted); white-space: nowrap; }
.bc-feed-arrive  .bc-feed-dot { background: var(--bc-go); }
.bc-feed-leave   .bc-feed-dot { background: var(--bc-navy); }
.bc-feed-checkin .bc-feed-dot { background: var(--bc-brand); }
.bc-feed-eta     .bc-feed-dot { background: var(--bc-brand); }
.bc-feed-battery .bc-feed-dot { background: var(--bc-amber); }
.bc-feed-sos     .bc-feed-dot { background: var(--bc-alert); }
.bc-feed-sos .bc-feed-text b { color: var(--bc-alert); }
@media (max-width: 560px) { .bc-feed-row { grid-template-columns: 10px 1fr; } .bc-feed-when { grid-column: 2; } }

/* ---------- landing: download section ---------- */
.bc-download { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (max-width: 860px) { .bc-download { grid-template-columns: 1fr; } }
.bc-download h2 { font-size: clamp(26px, 3.8vw, 38px); line-height: 1.1; margin-block: 10px 0; }
.bc-download-lede { color: var(--bc-muted); font-size: 16.5px; margin-top: 13px; max-width: 48ch; }
.bc-download .bc-stores { margin-top: 24px; }
.bc-download-facts { display: grid; gap: 1px; background: var(--bc-line); border: 1px solid var(--bc-line); border-radius: var(--bc-r); overflow: hidden; }
.bc-download-facts > div { background: var(--bc-surface); padding: 16px 20px; }
.bc-download-facts b { display: block; font-size: 15px; font-weight: 650; margin-bottom: 3px; }
.bc-download-facts span { font-size: 14px; color: var(--bc-muted); line-height: 1.6; }

/* ---------- site links above the footer ---------- */
.bc-page .bc-sitelinks { background: var(--bc-surface-2); border-top: 1px solid var(--bc-line); }
.bc-page .bc-sitelinks > .bc-wrap { padding-block: 26px; display: grid; gap: 12px; }
.bc-page .bc-sitelinks > .bc-wrap > span { font-family: var(--bc-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-muted); }
.bc-page .bc-sitelinks-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.bc-page .bc-sitelinks-row a { font-size: 14.5px; color: var(--bc-muted); text-decoration: none; }
.bc-page .bc-sitelinks-row a:hover { color: var(--bc-brand); }
body:not(.bc-page) .bc-sitelinks { display: none; }

/* ---------- landing pages: FAQ + related ---------- */
.bc-faq { display: grid; gap: 1px; margin-top: 32px; background: var(--bc-line); border: 1px solid var(--bc-line); border-radius: var(--bc-r); overflow: hidden; max-width: 80ch; }
.bc-faq details { background: var(--bc-surface); }
.bc-faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--bc-display); font-weight: 600; font-size: 17.5px; color: var(--bc-ink); display: flex; align-items: center; gap: 12px; }
.bc-faq summary::-webkit-details-marker { display: none; }
.bc-faq summary::before { content: "+"; font-family: var(--bc-mono); font-size: 17px; color: var(--bc-brand); flex: none; width: 14px; }
.bc-faq details[open] summary::before { content: "\2212"; }
.bc-faq summary:hover { color: var(--bc-brand); }
.bc-faq details p { padding: 0 22px 20px 48px; color: var(--bc-muted); font-size: 15.5px; line-height: 1.7; margin: 0; }

.bc-related { margin-top: 34px; font-size: 14.5px; color: var(--bc-muted); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; align-items: center; }
.bc-related a { color: var(--bc-brand); text-decoration: none; font-weight: 500; }
.bc-related a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.bc-404-links { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 11px; font-size: 15px; color: var(--bc-muted); max-width: 46ch; }
.bc-404-links a { color: var(--bc-brand); text-decoration: none; font-weight: 500; }
.bc-404-links a:hover { text-decoration: underline; }

/* ---------- landing pages: phone screenshots ---------- */
.bc-plate-phone { position: absolute; right: 4%; bottom: -13%; width: 30%; max-width: 186px; height: auto;
                   border-radius: 14px; filter: drop-shadow(0 16px 32px rgba(16,32,29,.30)); }
@media (max-width: 900px) { .bc-plate-phone { width: 25%; bottom: -16%; } }
@media (max-width: 520px) { .bc-plate-phone { display: none; } }
.bc-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: 36px; justify-items: center; }
@media (max-width: 760px) { .bc-shots { grid-template-columns: repeat(2, 1fr); } .bc-shots figure:last-child { display: none; } }
@media (max-width: 460px) { .bc-shots { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; } .bc-shots figure:last-child { display: block; } }
@media (min-width: 761px) { .bc-shots .bc-shot:nth-child(2) { transform: translateY(-22px); } }
.bc-shot { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 300px; }
.bc-shot img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 34px rgba(16,32,29,.18)); transition: transform .35s ease; }
.bc-shot:hover img { transform: translateY(-6px); }
.bc-shot figcaption { font-size: 14px; color: var(--bc-muted); text-align: center; max-width: 26ch; }
@media (prefers-reduced-motion: reduce) { .bc-shot img { transition: none; } .bc-shot:hover img { transform: none; } }

/* ---------- home page: the web app ---------- */
.bc-web-card {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(26px, 4vw, 52px);
  align-items: center; background: var(--bc-surface); border: 1px solid var(--bc-line);
  border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--bc-shadow);
}
@media (max-width: 880px) { .bc-web-card { grid-template-columns: 1fr; } }
.bc-web-card .bc-key { color: var(--bc-highlight); }
.bc-web-card h2 { font-size: clamp(26px, 3.8vw, 38px); line-height: 1.1; margin-top: 10px; }
.bc-web-lede { color: var(--bc-muted); font-size: 16.5px; margin-top: 14px; max-width: 48ch; }
.bc-web-list { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.bc-web-list li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; }
.bc-web-list li svg { margin-top: 4px; }
.bc-web-list span { color: var(--bc-muted); }
/* the web section shows the app in a browser window, not another map plate */
.bc-browser { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--bc-line);
              background: var(--bc-surface); box-shadow: var(--bc-shadow-lift); }
.bc-browser svg { display: block; width: 100%; height: auto; }
.bc-browser-stand { width: 54%; max-width: 300px; height: 9px; margin: 0 auto; border-radius: 0 0 10px 10px;
                    background: var(--bc-surface-2); border: 1px solid var(--bc-line); border-top: 0; }

/* ---------- support / donation ---------- */
.bc-support { background: var(--bc-surface-2); border-block: 1px solid var(--bc-line); }
.bc-support-card {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(22px, 4vw, 48px); align-items: center;
  background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: 22px;
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--bc-shadow);
}
@media (max-width: 800px) { .bc-support-card { grid-template-columns: 1fr; } }
.bc-heart { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bc-brand-dim); color: var(--bc-brand); margin-bottom: 16px; }
.bc-support h2 { font-size: clamp(25px, 3.4vw, 34px); line-height: 1.12; margin-top: 10px; }
.bc-support-card > div > p { color: var(--bc-muted); margin-top: 13px; max-width: 46ch; }
.bc-support ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; font-size: 15px; }
.bc-support li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; }
.bc-support li svg { margin-top: 4px; }
.bc-support .bc-btn { margin-top: 20px; }
.bc-thanks { font-size: 13px; color: var(--bc-muted); margin-top: 14px; }

/* ---------- contact ---------- */
.bc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 48px); align-items: start; margin-top: 10px; }
@media (max-width: 820px) { .bc-contact-grid { grid-template-columns: 1fr; } }
.bc-mail { font-family: var(--bc-mono); font-size: 15px; color: var(--bc-brand); text-decoration: none; word-break: break-all; }

/* ---------- navbar: matched to the approved design ----------
   styles.css reaches these links with #mainNav .navbar-nav .nav-item .nav-link,
   which is (1,4,0) and sets Montserrat, bold, and an orange hover. Every rule
   below is deliberately more specific than that, or it loses.
   ------------------------------------------------------------------------- */
body.bc-page #mainNav {
  background-color: var(--bc-nav-bg) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bc-line);
  padding-top: 12px !important; padding-bottom: 12px !important;
}
body.bc-page #mainNav.navbar-shrink { padding-top: 12px !important; padding-bottom: 12px !important; }

body.bc-page #mainNav .navbar-brand,
body.bc-page #mainNav.navbar-shrink .navbar-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--bc-display); font-weight: 700; font-size: 19px;
  letter-spacing: -.02em; color: var(--bc-ink) !important;
  padding: 0; margin-right: 0;
}
body.bc-page #mainNav .navbar-brand img,
body.bc-page #mainNav.navbar-shrink .navbar-brand img { height: 28px; width: auto; transition: none; }

body.bc-page #mainNav .navbar-nav .nav-item .nav-link {
  font-family: var(--bc-body) !important;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--bc-muted) !important; padding: 6px 0;
  background: none; border: 0; transition: color .15s ease;
}
body.bc-page #mainNav .navbar-nav .nav-item .nav-link:hover,
body.bc-page #mainNav .navbar-nav .nav-item .nav-link:focus,
body.bc-page #mainNav .navbar-nav .nav-item .nav-link.active {
  color: var(--bc-brand) !important; font-weight: 500;
}
body.bc-page #mainNav .navbar-nav .nav-item { margin-right: 22px; }
body.bc-page #mainNav .navbar-nav .nav-item:last-child { margin-right: 0; }

body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-cta,
body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-cta:focus {
  background: var(--bc-brand); color: var(--bc-btn-fg) !important;
  border-radius: 999px; padding: 9px 18px; font-weight: 600;
}
body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-cta:hover {
  background: var(--bc-brand-ink); color: var(--bc-btn-fg) !important;
}

/* the one nav item we want noticed: the site's orange, plus a slow pulsing
   dot. Two seconds a cycle, not a flash - anything near three a second is both
   unpleasant and a seizure risk, and it stops entirely for anyone who asks for
   reduced motion. */
body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-new,
body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-new:hover,
body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-new:focus {
  color: var(--bc-highlight) !important; font-weight: 650;
}
body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-new:hover { opacity: .82; }
.bc-nav-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; margin-right: 7px; vertical-align: 1px;
  animation: bc-nav-pulse 2s ease-in-out infinite;
}
@keyframes bc-nav-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .3; transform: scale(.72); }
}
@media (prefers-reduced-motion: reduce) { .bc-nav-dot { animation: none; } }

body.bc-page #mainNav .navbar-toggler { color: var(--bc-ink) !important; border-color: var(--bc-line) !important; font-family: var(--bc-body); }
body.bc-page #mainNav .navbar-toggler .fa-bars { color: var(--bc-ink); }

@media (max-width: 991.98px) {
  body.bc-page #mainNav .navbar-nav .nav-item { margin-right: 0; }
  body.bc-page #mainNav .navbar-nav .nav-item .nav-link { padding: 10px 0; }
  body.bc-page #mainNav .navbar-nav .nav-item .nav-link.bc-nav-cta { display: inline-block; margin-top: 8px; }
}

/* ---------- footer ---------- */
body.bc-page footer.footer { background: var(--bc-bg) !important; border-top: 1px solid var(--bc-line); color: var(--bc-muted); }
body.bc-page footer.footer a { color: var(--bc-muted) !important; }
body.bc-page footer.footer a:hover { color: var(--bc-brand) !important; }

.bc-page a:focus-visible, .bc-page .bc-btn:focus-visible, .bc-page .bc-store:focus-visible { outline: 2px solid var(--bc-brand); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------
   Overrides for the legacy styles.css
   styles.css stays loaded because /privacy and /terms still use its
   .page-section rules. It carries a bare `section { padding: 9rem 0 }`,
   which added 144px above and below every band on this page on top of
   the spacing set here. These win on specificity (.bc-page .bc-sec)
   without affecting the other pages.
   ------------------------------------------------------------------ */
.bc-page .bc-sec { padding: 0; }
.bc-page p { line-height: 1.55; }
.bc-page .bc-quote cite { padding-top: 0; font-size: 13.5px; letter-spacing: 0; }
.bc-page .bc-mini > div,
.bc-page .bc-card,
.bc-page .bc-plan,
.bc-page .bc-step { overflow-wrap: anywhere; }

/* ------------------------------------------------------------------
   Legal documents: /privacy and /terms
   These keep their original markup (.page-section / .container /
   p.text-muted) so not a word of the legal text moves; only the skin
   changes. The one addition is .bc-h on the paragraphs that were
   already acting as headings, and .bc-dateline on "Last updated".
   styles.css paints .page-section #020101 and .section-heading #000,
   which would be black text on a dark page — both are reset here.
   ------------------------------------------------------------------ */
.bc-doc .page-section { background-color: transparent; overflow: visible; padding: 0 0 clamp(18px, 2.5vw, 28px); }
.bc-doc .page-section:first-of-type { padding-top: clamp(104px, 12vw, 148px); }
.bc-doc .page-section:last-of-type { padding-bottom: clamp(52px, 8vw, 92px); }
.bc-doc .container { max-width: 760px; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }

.bc-doc .text-center { margin-bottom: clamp(22px, 3vw, 34px); }
.bc-doc .section-heading,
.bc-doc h2 {
  font-family: var(--bc-display); font-weight: 600; color: var(--bc-ink);
  font-size: clamp(32px, 5.5vw, 52px); line-height: 1.05; letter-spacing: -.022em;
  text-transform: none; margin: 0 0 12px;
}
.bc-doc h2 b { font-weight: 600; color: inherit; }
.bc-doc .section-subheading {
  font-family: var(--bc-body); font-style: normal; font-weight: 400;
  font-size: 17px; color: var(--bc-muted); margin: 0;
}

.bc-doc p { color: var(--bc-muted); font-size: 16px; line-height: 1.72; margin: 0 0 15px; }
.bc-doc .text-muted { color: var(--bc-muted); }
.bc-doc b, .bc-doc strong { color: var(--bc-ink); font-weight: 650; }
.bc-doc a { color: var(--bc-brand); }

.bc-doc .bc-h {
  font-family: var(--bc-display); font-weight: 600; color: var(--bc-ink);
  font-size: clamp(20px, 2.5vw, 26px); line-height: 1.28; letter-spacing: -.012em;
  margin: clamp(30px, 4.5vw, 46px) 0 14px;
  padding-top: clamp(18px, 2.5vw, 26px); border-top: 1px solid var(--bc-line);
}
.bc-doc .page-section:first-of-type .bc-h { border-top: 0; padding-top: 0; margin-top: clamp(16px, 2vw, 22px); }
.bc-doc .bc-h b { font-weight: 600; color: inherit; }

.bc-doc .bc-dateline {
  font-family: var(--bc-mono); font-size: 12.5px; letter-spacing: .04em;
  color: var(--bc-muted); margin-bottom: 4px;
}

/* ---------- admin screen (invisible to everyone else) ---------- */
.bc-admin h1 { font-size: clamp(28px, 4vw, 40px); }
.bc-admin-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: end; justify-content: space-between; }
.bc-admin-top form { display: flex; align-items: center; gap: 10px; }
.bc-admin-head { margin-top: 54px; }
.bc-admin-head h2 { font-size: clamp(22px, 3vw, 30px); }
.bc-flash { margin-top: 18px; padding: 11px 14px; border-radius: 12px; font-size: 14.5px;
            background: var(--bc-brand-dim); color: var(--bc-brand-ink); border: 1px solid var(--bc-line); }

.bc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 14px; margin-top: 28px; }
.bc-tile { background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: 16px; padding: 18px 18px 16px;
           display: grid; gap: 6px; align-content: start; }
.bc-tile-lead { background: var(--bc-brand); border-color: var(--bc-brand); }
.bc-tile-lead .bc-tile-n, .bc-tile-lead .bc-tile-l { color: var(--bc-on-brand); }
.bc-tile-n { font-family: var(--bc-display); font-size: clamp(26px, 3.6vw, 34px); line-height: 1; font-variant-numeric: tabular-nums; }
.bc-tile-l { font-size: 12.5px; color: var(--bc-muted); }

.bc-chart { margin-top: 34px; background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: 18px; padding: 20px; }
.bc-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; align-items: end; height: 190px; margin-top: 16px; }
.bc-bar { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; align-items: end; height: 100%; text-align: center; }
.bc-bar-n { font-size: 11px; color: var(--bc-muted); font-variant-numeric: tabular-nums; }
.bc-bar-f { display: block; width: 100%; background: var(--bc-brand); border-radius: 6px 6px 3px 3px; align-self: end; min-height: 3px; }
.bc-bar-l { font-size: 10.5px; color: var(--bc-muted); line-height: 1.25; }

.bc-afilters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.bc-afilter-l { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--bc-muted); margin-left: 10px; }
.bc-afilter-l:first-child { margin-left: 0; }
.bc-fpill { display: inline-block; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; text-decoration: none;
            border: 1px solid var(--bc-line); color: var(--bc-ink); background: var(--bc-surface); }
.bc-fpill:hover { border-color: var(--bc-brand); }
.bc-fpill.on { background: var(--bc-brand); border-color: var(--bc-brand); color: var(--bc-on-brand); }

.bc-asearch { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.bc-asearch input { flex: 1 1 280px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--bc-line);
                    background: var(--bc-surface); color: var(--bc-ink); font: inherit; font-size: 14.5px; }

.bc-atable { margin-top: 16px; border: 1px solid var(--bc-line); border-radius: 16px; background: var(--bc-surface); overflow: hidden; }
.bc-acount { padding: 12px 16px 0; }
.bc-arow { display: grid; grid-template-columns: 24px minmax(0, 1.5fr) 1fr 1fr auto; gap: 14px; align-items: center;
           padding: 13px 16px; border-top: 1px solid var(--bc-line); font-size: 14px; }
.bc-arow:first-of-type { border-top: 0; }
.bc-arow-found { border: 1px solid var(--bc-brand); border-radius: 16px; background: var(--bc-surface); margin-top: 14px; }
.bc-arow-log { grid-template-columns: 180px 150px 1fr; }
.bc-prov { display: inline-flex; align-items: center; justify-content: center; color: var(--bc-muted); }
.bc-amail { min-width: 0; overflow-wrap: anywhere; }
.bc-amail summary { cursor: pointer; list-style: none; }
.bc-amail summary::-webkit-details-marker { display: none; }
.bc-amail summary::after { content: ' show'; font-size: 11px; color: var(--bc-muted); }
.bc-amail details[open] summary::after { content: ''; }
.bc-amail code, .bc-code code { font-size: 12.5px; color: var(--bc-muted); }
.bc-afoot { font-size: 12.5px; color: var(--bc-muted); }
.bc-apage { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--bc-line); }
.bc-btn-sm { padding: 7px 13px; font-size: 13px; }
.bc-btn-danger { background: var(--bc-alert); border-color: var(--bc-alert); color: #fff; }
.bc-btn-danger:hover { filter: brightness(1.06); }

.bc-erase { margin-top: 44px; border: 1px solid var(--bc-alert); border-radius: 20px; padding: 6px 22px 26px; }
.bc-elist { margin: 16px 0 0; padding-left: 20px; font-size: 14.5px; display: grid; gap: 8px; }
.bc-codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.bc-code { border: 1px solid var(--bc-line); border-radius: 14px; padding: 14px; background: var(--bc-surface); }
.bc-code-h { font-weight: 650; font-size: 13.5px; }
.bc-code ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--bc-muted); display: grid; gap: 4px; }
.bc-warn { display: block; margin-top: 5px; font-weight: 500; font-size: 12.5px; color: var(--bc-alert); }
.bc-eform { display: grid; gap: 16px; margin-top: 22px; max-width: 560px; }
.bc-efield { display: grid; gap: 7px; font-size: 14px; }
.bc-efield input { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--bc-line);
                   background: var(--bc-surface); color: var(--bc-ink); font: inherit; font-size: 14.5px; }
.bc-echeck { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; align-items: start; }
.bc-echeck input { margin-top: 3px; }

@media (max-width: 760px) {
  .bc-arow, .bc-arow-log { grid-template-columns: 24px 1fr; }
  .bc-arow .bc-afoot { grid-column: 2; }
  .bc-arow form, .bc-arow .bc-btn { grid-column: 2; justify-self: start; }
  .bc-bars { height: 150px; }
  .bc-bar-n { display: none; }
}
.bc-you { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px;
          background: var(--bc-brand-dim); color: var(--bc-brand-ink); vertical-align: middle; }
.bc-tiles-note { margin-top: 14px; max-width: 78ch; }
.bc-working { display: flex; align-items: center; gap: 11px; }
.bc-working[hidden] { display: none; }
.bc-spin { width: 15px; height: 15px; border-radius: 50%; flex: none;
           border: 2px solid var(--bc-brand); border-top-color: transparent; animation: bc-spin 0.9s linear infinite; }
@keyframes bc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bc-spin { animation-duration: 2.4s; } }
.bc-who { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 17px; overflow-wrap: anywhere; }
.bc-who .bc-prov { flex: none; }
.bc-sweep { margin-top: 18px; border: 1px solid var(--bc-line); border-radius: 18px; padding: 20px; background: var(--bc-surface); }
.bc-sweep-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.bc-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.bc-sweep-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--bc-line); display: grid; gap: 14px; justify-items: start; }
.bc-sweep-result p { font-size: 15px; max-width: 70ch; }
.bc-sweep-result .bc-efield { max-width: 320px; }
.bc-bands { border-collapse: collapse; margin-top: 6px; font-size: 14px; width: 100%; max-width: 520px; }
.bc-bands caption { text-align: left; font-size: 12.5px; color: var(--bc-muted); padding-bottom: 8px; }
.bc-bands td { padding: 7px 14px 7px 0; border-top: 1px solid var(--bc-line); }
.bc-bands td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; }
.bc-bands td:last-child { font-size: 12.5px; color: var(--bc-muted); text-align: right; }
.bc-bands tr.gone td:last-child { color: var(--bc-alert); }
