/* The Business map of Britain page. Uses the tokens from site.css. */
.bmob-hero { padding-bottom: 24px; }
.bmob-section { padding-bottom: clamp(40px, 6vw, 72px); }

.bmob-search { max-width: 420px; margin-top: 8px; }
.bmob-search label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.bmob-search-row { display: flex; gap: 8px; }
.bmob-search input { flex: 1; min-width: 0; padding: 9px 12px; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--navy); border-radius: 10px; }
.bmob-search-error { min-height: 1.4em; margin: 6px 0 0; font-size: 0.9rem; color: var(--bad); }

.bmob { display: grid; grid-template-columns: minmax(0, 1fr) 360px; height: min(76vh, 760px); min-height: 480px;
  background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); overflow: hidden; }
.bmob-map-wrap { position: relative; min-width: 0; min-height: 0; }
.bmob-map { position: absolute; inset: 0; background: var(--grid); }
.bmob-map-off { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--slate); }

.bmob-reset { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 7px 12px; font: inherit; font-size: 0.88rem; font-weight: 600;
  color: var(--navy); background: var(--white); border: 1.5px solid var(--navy); border-radius: 8px; cursor: pointer; }
.bmob-reset:hover, .bmob-reset:focus-visible { background: var(--amber-soft); }

.bmob-legend { position: absolute; left: 10px; bottom: 28px; padding: 8px 10px; font-size: 0.75rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: 8px; }
.bmob-legend:empty { display: none; }
.bmob-legend-bar { display: flex; margin: 4px 0 2px; }
.bmob-legend-bar span { width: 26px; height: 10px; }
.bmob-legend-ends { display: flex; justify-content: space-between; color: var(--slate); }

.bmob-panel { padding: 16px 18px; overflow-y: auto; border-left: 1.5px solid var(--navy); }
.bmob-crumbs { margin-bottom: 10px; font-size: 0.9rem; color: var(--slate); }
.bmob-crumbs a { color: var(--navy); }
.bmob-panel h2 { margin: 0 0 4px; font-size: 1.5rem; }
.bmob-summary { margin: 0 0 12px; font-size: 0.95rem; }
.bmob-note { margin: 12px 0; font-size: 0.88rem; color: var(--slate); }
.bmob-list { margin: 0; padding: 0; list-style: none; }
.bmob-list li { border-top: 1px solid var(--rule); }
.bmob-list a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--ink); text-decoration: none; }
.bmob-list a:hover, .bmob-list a:focus-visible { color: var(--navy); text-decoration: underline; }
.bmob-count { color: var(--slate); font-variant-numeric: tabular-nums; }
.bmob-subhead { margin: 16px 0 6px; font-size: 1rem; }
.bmob-company { padding: 8px 0; }
.bmob-company a { display: inline; padding: 0; color: var(--navy); text-decoration: underline; }
.bmob-company small { display: block; color: var(--slate); }
.bmob-more { margin-top: 10px; }
.bmob-more[hidden] { display: none; }

.bmob-company-page .kicker a { color: inherit; }
.bmob-facts { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 10px 20px; max-width: 760px; margin: 20px 0;
  padding: 18px 20px; background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); }
.bmob-facts:empty { display: none; }
.bmob-facts dt { font-weight: 600; color: var(--navy); }
.bmob-facts dd { margin: 0; overflow-wrap: anywhere; }
.bmob-claim { max-width: 760px; }
.bmob-claim h2 { font-size: 1.5rem; }
.bmob-claim .form-fields[hidden] { display: none; }
.bmob-company-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .bmob-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; } .bmob-facts dd { margin-bottom: 10px; } }

.bmob-notes { margin-top: 16px; color: var(--slate); }
.bmob-notes p { margin: 0 0 8px; max-width: 70em; }

@media (max-width: 860px) {
  .bmob { display: block; height: auto; }
  .bmob-map-wrap { height: 60vh; min-height: 340px; }
  .bmob-legend { bottom: 56px; }
  .bmob-panel { max-height: 70vh; border-left: 0; border-top: 1.5px solid var(--navy); }
}
