:root {
  --ink: #0b1f3a;
  --muted: #60748f;
  --paper: #f3f7fc;
  --card: #ffffff;
  --line: #cbd8e8;
  --acid: #25d4ff;
  --green: #0969ff;
  --orange: #2563eb;
  --shadow: none;
  --radius: 12px;
}

body { background: var(--paper); }

.site-header {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: none;
}

.brand-mark {
  border-radius: 8px;
  background: #0969ff;
  color: #fff;
  font-style: normal;
}

.brand strong { color: #071b33; }
.top-nav { border-radius: 8px; background: #edf4ff; }
.nav-button { border-radius: 6px; }
.nav-button.is-active { color: #fff; background: #0969ff; box-shadow: none; }
.privacy-pill { border-radius: 6px; color: #305276; background: #f8fbff; }
.privacy-pill i { background: #0969ff; box-shadow: none; }

.eyebrow, .section-kicker { color: #0969ff; }
h1 em { color: #0969ff; }
.hero-copy { color: #536b88; }

.orbit-ring {
  border: 2px solid #8fb8f4;
  box-shadow: inset 0 0 0 22px #e8f1ff, 0 0 0 50px #f8fbff;
}
.orbit-ring::before { background: #0969ff; }
.orbit-ring::after { background: #25d4ff; }
.bike-glyph { background: #0969ff; color: #fff; }
.orbit-label { border-radius: 6px; border-color: #b9cce4; background: #fff; box-shadow: none; }

.workspace, .model-card, .evidence-panel, .standard-card, #map {
  box-shadow: none;
}
.workspace { border-color: #bfcfe3; }
.selector-panel { background: #eaf2ff; border-color: #c8d7eb; }
select { border-radius: 7px; border-color: #b9cbe2; }
select:focus { border-color: #0969ff; box-shadow: 0 0 0 2px #d9e8ff; }
.primary-button { border-radius: 7px; background: #0969ff; }
.primary-button span { color: #fff; }
.selected-item { border: 1px solid #d2dfef; border-radius: 7px; }
.mini-icon { border-radius: 6px; background: #dbeafe !important; color: #075fdc; }
.empty-bike { border-color: #0969ff; color: #0969ff; background: #e5efff; }
.quick-add { border-radius: 7px; color: #075fdc; border-color: #aac4e7; }
.compare-table th, .compare-table td { border-color: #d7e1ed; }
.compare-table thead { background: #f7faff; }
.status-badge { border-radius: 5px; }
.status-badge.yes { color: #075fdc; background: #deebff; }
.status-badge.partial { color: #315575; background: #e7eef7; }
.status-badge.unknown { color: #5f7188; background: #edf2f7; }
.status-badge.no { color: #a72828; background: #fee8e8; }

.filter-chip, .city-tab { border-radius: 6px; }
.filter-chip.is-active, .city-tab.is-active { border-color: #0969ff; background: #0969ff; }
.model-card { border-radius: 10px; border-color: #c8d7e9; }
.model-card:hover { transform: none; border-color: #0969ff; box-shadow: none; }
.model-card::after { color: #dceaff; opacity: .8; }
.card-add { border-radius: 6px; background: #0969ff; color: #fff; }
.card-add:disabled { background: #90a4bd; }

.accent-card { color: #fff; background: #0969ff; }
.accent-card .standard-number { color: rgba(255,255,255,.1); }
.dark-card { background: #071b33; }
.standard-card { border-radius: 10px; }
.standard-card a { color: inherit; }
.evidence-panel { border-radius: 10px; border-color: #c2d2e6; }
.dot.verified { background: #0969ff; }
.dot.partial { background: #7890aa; }
.method-note { border-left-color: #0969ff; background: #eef5ff; }

.catalog .panel-heading { align-items: center; flex-wrap: wrap; }
.catalog-count { display: block; margin-top: 7px; color: #60748f; font-size: 12px; font-weight: 700; }
.catalog-search { display: grid; gap: 6px; min-width: 210px; color: #60748f; font-size: 12px; font-weight: 750; }
.catalog-search input {
  width: 100%; min-height: 42px; padding: 0 13px; border: 1px solid #b9cbe2; border-radius: 7px;
  background: #fff; color: #0b1f3a; font: inherit; font-size: 14px; outline: none;
}
.catalog-search input:focus { border-color: #0969ff; box-shadow: 0 0 0 2px #d9e8ff; }
.load-more-button {
  display: block; margin: 24px auto 0; padding: 11px 18px; border: 1px solid #aac4e7; border-radius: 7px;
  background: #fff; color: #075fdc; font-weight: 800; cursor: pointer;
}
.load-more-button:hover { border-color: #0969ff; background: #edf5ff; }
.catalog-empty { grid-column: 1 / -1; display: grid; gap: 6px; padding: 34px; border: 1px dashed #b9cbe2; border-radius: 8px; text-align: center; color: #60748f; }
.catalog-empty strong { color: #0b1f3a; }

.safety-workbench {
  display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: 20px; margin-bottom: 20px;
  padding: 26px; border: 1px solid #c2d2e6; border-radius: 10px; background: #fff;
}
.safety-picker { padding: 4px 22px 4px 4px; border-right: 1px solid #d7e1ed; }
.safety-picker h2 { margin: 3px 0 0; font-size: 25px; letter-spacing: -.035em; }
.safety-picker .field-group { margin-top: 18px; }
.safety-profile { min-width: 0; }
.safety-profile-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.safety-profile-heading h2 { margin: 3px 0 5px; font-size: 28px; letter-spacing: -.04em; }
.safety-profile-heading > div > span { color: #60748f; font-size: 13px; }
.safety-status-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.safety-status-pair > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: #f5f9ff; border: 1px solid #d7e4f3; border-radius: 7px; }
.safety-status-pair > div > span { color: #60748f; font-size: 12px; font-weight: 750; }
.safety-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 14px; overflow: hidden; border: 1px solid #d7e1ed; border-radius: 7px; background: #d7e1ed; }
.safety-spec-grid div { display: grid; gap: 5px; padding: 13px; background: #fff; }
.safety-spec-grid strong { font-size: 16px; }
.safety-spec-grid span { color: #60748f; font-size: 11px; }
.safety-evidence-copy { margin: 14px 0 0; color: #4d6480; font-size: 13px; line-height: 1.65; }
.safety-evidence-copy strong { display: block; margin-bottom: 3px; color: #0b1f3a; }
.safety-profile-note { margin: 10px 0 0; color: #75869a; font-size: 11px; line-height: 1.55; }
.safety-profile-empty { display: grid; place-content: center; min-height: 220px; text-align: center; color: #60748f; }
.safety-profile-empty strong, .safety-profile-empty span { display: block; }
.safety-profile-empty strong { color: #0b1f3a; }
.evidence-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 18px; }
.evidence-toolbar .catalog-search { min-width: 190px; }
.evidence-list { max-height: 900px; overflow: auto; padding-right: 4px; }

.route-item { border-radius: 8px; border-color: #c9d8e9; }
.route-item.is-active { border-color: #0969ff; box-shadow: inset 4px 0 0 #25d4ff; }
.route-item .miles { color: #0969ff; }
#map { border: 1px solid #b8cae0; border-radius: 10px; }
.map-status, .route-detail { border: 1px solid #c2d3e7; border-radius: 8px; box-shadow: none; backdrop-filter: none; }
.source-button { border-radius: 6px; background: #0969ff; }

.site-footer { border-color: #cbd8e8; }
.toast { border-radius: 6px; background: #071b33; }

@media (max-width: 720px) {
  .workspace, #map { border-radius: 8px; }
  .route-detail { border-radius: 8px; }
  .catalog-search { width: 100%; min-width: 0; }
  .safety-workbench { grid-template-columns: 1fr; padding: 20px; }
  .safety-picker { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid #d7e1ed; }
  .safety-profile-heading { flex-direction: column; }
  .safety-status-pair { grid-template-columns: 1fr; }
  .safety-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-toolbar { align-items: stretch; flex-direction: column; }
  .evidence-row { grid-template-columns: minmax(0, 1fr) auto; }
  .evidence-row .evidence-model { grid-column: 1 / -1; }
}
