/* Border Journey: presentation only; all component styles stay within bj-*. */
.cfi-command-design .main-view.bj-host {
  min-width: 0;
  padding: 18px 24px 24px;
}

.bj-page {
  position: relative;
  --bj-ink: #123c43;
  --bj-muted: #6c807e;
  --bj-line: #e1e7e1;
  --bj-paper: #fffefa;
  --bj-petrol: #103e43;
  --bj-mint: #a9e5cf;
  --bj-amber: #dba76a;
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  max-width: 1720px;
  margin: 0 auto;
  color: var(--bj-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.bj-page *, .bj-page *::before, .bj-page *::after { box-sizing: border-box; }
.bj-page :where(h1, h2, h3, h4, p, dl, dt, dd) { margin: 0; }
.bj-page :where(button, input, select) { font: inherit; }
.bj-page button { cursor: pointer; }
.bj-page button:disabled { cursor: default; opacity: .55; }
.bj-page svg { display: block; width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; }
.bj-page :where(button, input, select, a, [tabindex]):focus-visible {
  outline: 3px solid #72bba5;
  outline-offset: 3px;
}
.bj-page :where(button, input, select) { -webkit-tap-highlight-color: transparent; }
.bj-page [hidden] { display: none !important; }
.bj-table-wrap { position: relative; }
.bj-page .bj-group.is-selected.has-attention {
  border-color: #e0b674;
  background: linear-gradient(135deg, #3f5949, #36594f);
  box-shadow: 0 0 0 3px #e0b6741b, 0 8px 20px #001f291b;
}
.bj-page .bj-group.has-attention .bj-group-top > strong { background: #f1d39c; color: #594023; }
.bj-pan-hint { display: none; }

.bj-header, .bj-head-actions, .bj-toolbar, .bj-section-head,
.bj-roster-head, .bj-roster-subhead, .bj-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}
.bj-header { align-items: flex-end; padding: 0 2px; }
.bj-kicker {
  display: block;
  margin-bottom: 4px;
  color: #698a80;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bj-heading { min-width: 0; }
.bj-heading h1 {
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(25px, 2.1vw, 31px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -1.15px;
}
.bj-heading p { margin-top: 6px; color: var(--bj-muted); font-size: 12px; }
.bj-title-dot { color: #87b9a2; }
.bj-head-actions { flex: 0 0 auto; align-items: flex-end; gap: 8px; }
.bj-border-picker { display: grid; gap: 4px; min-width: 168px; }
.bj-border-picker > span { display: inline-flex; align-items: center; gap: 5px; }
.bj-border-picker > span svg { width: 12px; height: 12px; }
.bj-border-picker label, .bj-border-picker > span,
.bj-direction-control label {
  color: var(--bj-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .035em;
}
.bj-border-picker select, .bj-direction-control select, .bj-sort select {
  max-width: 100%;
  min-height: 38px;
  padding: 8px 30px 8px 12px;
  border: 1px solid #d9e1d9;
  border-radius: 10px;
  background: #fffefa;
  color: var(--bj-ink);
  font-size: 11px;
  font-weight: 650;
  box-shadow: 0 1px 2px #173d3510;
}
.bj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid #d9e1d9;
  border-radius: 10px;
  background: var(--bj-paper);
  color: var(--bj-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.bj-btn:hover { border-color: #9fbfb3; background: #f3f8f0; }
.bj-btn.is-primary { border-color: var(--bj-petrol); background: var(--bj-petrol); color: #fffdf7; }
.bj-btn.is-primary:hover { border-color: #27625e; background: #245953; }
.bj-btn.is-soft { border-color: #d8e8df; background: #eaf4ec; color: #356555; }
.bj-btn.is-icon { width: 38px; padding: 0; }
.bj-btn svg { width: 15px; height: 15px; }
.bj-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  padding: 8px 11px;
  border: 1px solid #e1e7dd;
  border-radius: 9px;
  background: #eff3eb;
  color: #63796b;
  font-size: 10px;
  line-height: 1.5;
}
.bj-demo-note svg { width: 14px; height: 14px; margin-top: 1px; }
.bj-demo-note span { min-width: 0; overflow-wrap: anywhere; }
.bj-demo-note .bj-preview-label { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.bj-toolbar { gap: 12px; }
.bj-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  border: 1px solid #e0e6de;
  border-radius: 11px;
  background: #eeeee7;
}
.bj-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #7a8781;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.bj-tabs button.is-active {
  border-color: #d8e1d6;
  background: #fffef9;
  color: var(--bj-ink);
  box-shadow: 0 2px 4px #2c44300b;
}
.bj-tabs button:hover { color: #174d45; }
.bj-tabs svg { width: 14px; height: 14px; }
.bj-tabs button > span { min-width: 15px; color: #6a8473; font-size: 9px; font-variant-numeric: tabular-nums; }
.bj-direction-control { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bj-direction-control > svg { width: 14px; height: 14px; color: #7a9487; }
.bj-direction-control > span { color: #75887b; font-size: 10px; font-weight: 600; }
.bj-direction-control select { min-height: 34px; }
.bj-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--bj-line);
  border-radius: 16px;
  background: var(--bj-paper);
  box-shadow: 0 3px 12px #233c2c03;
}
.bj-kpi { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 13px 18px; }
.bj-kpi + .bj-kpi { border-left: 1px solid #e5e9e1; }
.bj-kpi-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  border: 1px solid #dce9e0;
  border-radius: 12px;
  background: #eef6ed;
  color: #477c66;
}
.bj-kpi small { display: block; color: #75847c; font-size: 10px; line-height: 1.35; }
.bj-kpi-note { display: block; margin-top: 2px; color: #859181; font-size: 9px; line-height: 1.3; }
.bj-kpi strong, .bj-kpi-value {
  display: block;
  margin-top: 2px;
  color: var(--bj-ink);
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(24px, 1.9vw, 29px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.8px;
  font-variant-numeric: tabular-nums;
}
.bj-kpi.is-attention .bj-kpi-icon { border-color: #f0dfc4; background: #fff6e6; color: #b28a4a; }
.bj-kpi.is-attention strong, .bj-kpi.is-attention .bj-kpi-value { color: #946b2f; }
.bj-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 16px; min-width: 0; }
.bj-main-column { display: grid; gap: 15px; min-width: 0; }
.bj-map-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 17px 18px 12px;
  border: 1px solid #26524f;
  border-radius: 23px;
  background: radial-gradient(ellipse at 50% 12%, #285b55 0, #184b47 33%, #123f40 75%);
  color: #f5f6eb;
  box-shadow: 0 6px 24px #143e4011;
}
.bj-section-head { margin-bottom: 10px; }
.bj-map-card .bj-section-head h2 { color: #edf4e6; font-family: Manrope, "DM Sans", sans-serif; font-size: 17px; font-weight: 750; line-height: 1.3; letter-spacing: -.45px; }
.bj-map-card .bj-section-head .bj-kicker { color: #a2c7b1; font-size: 9px; letter-spacing: .13em; }
.bj-section-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 750; line-height: 1.3; }
.bj-section-title svg { width: 16px; height: 16px; color: #9ecfb9; }
.bj-muted { color: var(--bj-muted); }
.bj-small { font-size: 10px; line-height: 1.5; }
.bj-map-card .bj-muted { color: #b2c6bb; }
.bj-map-card .bj-small { font-size: 10px; }
.bj-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  min-height: 21px;
  padding: 3px 7px;
  border: 1px solid #dce4da;
  border-radius: 6px;
  background: #f0f4ec;
  color: #627769;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
}
.bj-chip svg { width: 11px; height: 11px; }
.bj-chip.is-amber { border-color: #eddbbc; background: #fff2dd; color: #966b29; }
.bj-chip.is-mint { border-color: #cde6d6; background: #e9f6e8; color: #428462; }
.bj-chip.is-dark { border-color: #7ca29440; background: #d0e6d20e; color: #bfdbc9; }
.bj-map-card .bj-chip { min-height: 18px; padding: 2px 6px; font-size: 9px; }
.bj-map-card .bj-chip.is-mint { border-color: #abdabb45; background: #aedfc116; color: #b8e2bc; }
.bj-map-card .bj-chip.is-amber { border-color: #e2bc724f; background: #efbc6918; color: #edc68a; }
.bj-countries { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .56fr) minmax(0, 1fr); align-items: center; gap: 14px; margin: 10px 0 8px; }
.bj-country { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bj-country:last-child { justify-content: flex-end; text-align: right; }
.bj-country-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 25px;
  border: 1px solid #a6c2aa3d;
  border-radius: 7px;
  background: #b7d2bc13;
  color: #e4e8d9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.bj-country-copy { min-width: 0; }
.bj-country-copy strong { display: block; font-size: 12px; font-weight: 700; }
.bj-country-copy small { display: block; margin-top: 1px; color: #a4beb0; font-size: 9px; }
.bj-map-scroll { position: relative; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #799d8d #244e49; }
.bj-map-scroll::-webkit-scrollbar { height: 6px; }
.bj-map-scroll::-webkit-scrollbar-track { background: #234b44; border-radius: 9px; }
.bj-map-scroll::-webkit-scrollbar-thumb { background: #648c7a; border-radius: 9px; }
.bj-schematic { position: relative; isolation: isolate; min-width: 660px; padding: 2px 1px 8px; }
.bj-river {
  position: absolute;
  z-index: -1;
  top: -20px;
  bottom: -20px;
  left: 50%;
  width: 15%;
  min-width: 90px;
  border-right: 1px solid #bcd6c514;
  border-left: 1px solid #bcd6c514;
  background: linear-gradient(90deg, #bdddd404, #b8d9c713 45%, #cbe9c904);
  transform: translateX(-50%);
  pointer-events: none;
}
.bj-bridge-label { position: relative; z-index: 1; color: #aecac0; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.bj-lane { position: relative; margin-top: 8px; padding-top: 2px; }
.bj-lane + .bj-lane { margin-top: 11px; padding-top: 10px; border-top: 1px solid #a3c5b320; }
.bj-lane-heading { display: flex; align-items: center; gap: 6px; min-height: 18px; margin-bottom: 5px; color: #aed9bd; font-size: 9px; font-weight: 700; letter-spacing: .025em; }
.bj-lane-heading > span { display: inline-flex; align-items: center; gap: 5px; }
.bj-lane-heading > small { margin-left: auto; color: #a1bdac; font-size: 9px; font-weight: 500; }
.bj-lane-heading svg { width: 12px; height: 12px; }
.bj-lane.is-return .bj-lane-heading { color: #d7ceb1; }
.bj-lane-track { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .56fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.bj-lane-track::before { content: ""; position: absolute; top: 60px; left: 8px; right: 8px; border-top: 2px dashed #7398826b; }
.bj-lane-track::after { content: ""; position: absolute; top: 56px; right: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid #97b99a; }
.bj-lane.is-return .bj-lane-track::after { right: auto; left: 0; border-right: 6px solid #c9c6a6; border-left: 0; }
.bj-point { position: relative; z-index: 1; min-width: 0; }
.bj-point-label { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 15px; margin-bottom: 5px; color: #abc7b9; font-size: 9px; font-weight: 650; text-align: center; }
.bj-point-label svg { width: 10px; height: 10px; }
.bj-empty-point { display: grid; place-items: center; min-height: 91px; padding: 9px; border: 1px dashed #91b5a431; border-radius: 13px; background: #113f3ee0; color: #8fae9d; font-size: 10px; text-align: center; }
.bj-empty-point svg { width: 17px; height: 17px; color: #81a691; }
.bj-empty-point-line { width: 30px; height: 2px; margin-top: 8px; border-radius: 2px; background: #74978466; }
.bj-group, .bj-solo {
  display: grid;
  gap: 5px;
  width: 100%;
  min-width: 0;
  max-width: 285px;
  min-height: 91px;
  margin: 0 auto;
  padding: 7px 9px;
  border: 1px solid #96bbaa59;
  border-radius: 13px;
  background: linear-gradient(135deg, #2b5a4e, #1c4d44);
  color: #e6f0df;
  text-align: left;
  box-shadow: 0 4px 10px #082e3024;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.bj-group:hover, .bj-solo:hover { border-color: #b4d8bb; background: #326654; }
.bj-group.is-selected, .bj-solo.is-selected { border-color: #a9e5c4; background: linear-gradient(130deg, #44765e, #315f4e); box-shadow: 0 0 0 2px #99d8ab29, 0 5px 13px #092e3033; }
.bj-group.has-attention:not(.is-selected) { border-color: #c7ad715f; }
.bj-group-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bj-group-top > strong { display: grid; place-items: center; flex: 0 0 auto; width: 21px; height: 21px; border-radius: 6px; background: #c8e7cbe8; color: #234d38; font-size: 12px; font-weight: 850; }
.bj-group-top > span { min-width: 0; font-size: 10px; font-weight: 750; }
.bj-group-chevron { margin-left: auto; color: #c0dec3; }
.bj-group-chevron svg, svg.bj-group-chevron { width: 12px; height: 12px; }
.bj-group-photos { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; }
.bj-more-coaches { display: grid; place-items: center; flex: 0 0 auto; min-width: 19px; height: 20px; padding: 0 3px; border: 1px solid #aacbb34d; border-radius: 5px; background: #ccdfc50d; color: #c5dfc2; font-size: 9px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bj-coach-photo { display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; width: 80px; max-width: 94px; height: 38px; overflow: hidden; border: 1px solid #c7d3c849; border-radius: 6px; background: #e5e6e3; }
.bj-coach-photo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.bj-group-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
.bj-group-bottom .bj-chip { font-size: 8px; }
.bj-group-view { margin-left: auto; color: #b1cfb4; font-size: 8px; line-height: 1.3; }
.bj-solo { justify-items: center; text-align: center; }
.bj-solo .bj-group-top { width: 100%; }
.bj-solo .bj-group-top > strong { display: block; flex: 0 1 auto; width: auto; height: auto; min-width: 0; max-width: 100%; overflow: hidden; border-radius: 0; background: none; color: #d8e8d0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.bj-solo > strong { max-width: 100%; overflow: hidden; color: #d8e8d0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.bj-solo .bj-coach-photo { width: 100px; max-width: 100%; flex: 0 0 auto; height: 40px; }
.bj-point.is-bridge .bj-solo { max-width: 140px; padding-inline: 7px; background: #1f4c44; }
.bj-map-legend { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 13px; margin-top: 8px; padding-top: 9px; border-top: 1px solid #a3c5b320; color: #a1bdac; font-size: 9px; }
.bj-legend-item { display: inline-flex; align-items: center; gap: 5px; line-height: 1.5; }
.bj-map-hint { display: inline-flex; align-items: center; gap: 5px; color: #c0d5be; font-size: 9px; line-height: 1.5; }
.bj-map-hint svg { width: 11px; height: 11px; }
.bj-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #98bb9e; }
.bj-dot.is-mint { background: #b1deac; }
.bj-dot.is-amber { background: #d9b676; }
.bj-dot.is-muted { background: #8ba196; }

.bj-roster-card { min-width: 0; overflow: hidden; border: 1px solid var(--bj-line); border-radius: 18px; background: var(--bj-paper); box-shadow: 0 4px 14px #163e3204; }
.bj-roster-head { padding: 15px 17px 8px; }
.bj-roster-head h2 { display: flex; align-items: center; gap: 7px; color: #224e43; font-family: Manrope, "DM Sans", sans-serif; font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -.35px; }
.bj-count-pill { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 4px; border: 1px solid #dce7d5; border-radius: 6px; background: #eef5e8; color: #6c9364; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bj-roster-head .bj-section-title { font-size: 13px; }
.bj-roster-head .bj-section-title svg { color: #52866b; }
.bj-roster-subhead { padding: 0 17px 11px; color: var(--bj-muted); font-size: 10px; }
.bj-roster-head .bj-roster-subhead { justify-content: flex-start; flex-wrap: wrap; gap: 5px; margin-top: 4px; padding: 0; }
.bj-roster-tools { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bj-roster-card > .bj-roster-tools { width: 100%; margin: 0; padding: 0 17px 12px; }
.bj-roster-card > .bj-roster-tools .bj-search { flex: 1 1 0; max-width: 280px; }
.bj-search { position: relative; display: flex; align-items: center; min-width: 0; width: 190px; }
.bj-search > svg { position: absolute; left: 10px; width: 13px; height: 13px; color: #83978a; pointer-events: none; }
.bj-search input { width: 100%; min-width: 0; height: 32px; padding: 7px 10px 7px 30px; border: 1px solid #dfe6dc; border-radius: 8px; background: #f8faf3; color: var(--bj-ink); font-size: 10px; }
.bj-search input::placeholder { color: #8a978d; }
.bj-sort { display: flex; align-items: center; gap: 5px; min-width: 0; }
.bj-roster-tools > .bj-sort { margin-left: auto; color: #82907c; font-size: 9px; }
.bj-sort > svg { width: 12px; height: 12px; }
.bj-sort select { min-height: 32px; padding: 6px 23px 6px 9px; border-radius: 8px; background: #f8faf3; font-size: 10px; box-shadow: none; }
.bj-table-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #b9cbbf #f1f3eb; }
.bj-table { width: 100%; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; table-layout: auto; color: var(--bj-ink); font-size: 10px; }
.bj-table th { height: 29px; padding: 6px 12px; border-top: 1px solid #edf0e8; border-bottom: 1px solid #e5eae1; background: #f4f6ed; color: #84917f; font-size: 9px; font-weight: 650; line-height: 1.4; text-align: left; white-space: nowrap; }
.bj-table td { padding: 8px 12px; border-bottom: 1px solid #eaf0e4; background: transparent; font-size: 10px; line-height: 1.4; vertical-align: middle; }
.bj-table th:first-child, .bj-table td:first-child { padding-left: 17px; }
.bj-table th:last-child, .bj-table td:last-child { padding-right: 17px; text-align: right; }
.bj-table tr:last-child td { border-bottom: 0; }
.bj-table tbody tr { transition: background .15s ease; }
.bj-table tbody tr[data-bj-coach-row] { cursor: pointer; }
.bj-table tbody tr[data-bj-coach-row]:focus-visible { outline: 3px solid #137e91; outline-offset: -3px; }
.bj-table tbody tr:hover { background: #f2f7eb; }
.bj-table tr.is-selected { background: #eaf4e5; }
.bj-table tr.is-selected td:first-child { box-shadow: inset 3px 0 #6da37c; }
.bj-coach-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.bj-row-photo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 67px; height: 35px; overflow: hidden; border: 1px solid #e1e5dd; border-radius: 7px; background: #e6e7e4; }
.bj-row-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bj-coach-copy { min-width: 0; }
.bj-coach-copy strong { display: block; color: #315741; font-size: 11px; font-weight: 750; }
.bj-coach-copy small { display: block; max-width: 170px; margin-top: 2px; color: #849281; font-size: 9px; line-height: 1.3; }
.bj-status { display: inline-flex; align-items: center; gap: 5px; max-width: 150px; color: #58745c; font-size: 10px; line-height: 1.3; }
.bj-status .bj-dot { width: 5px; height: 5px; }
.bj-status.is-attention { color: #9f7a37; }
.bj-row-secondary { display: block; margin-top: 3px; color: #84927c; font-size: 9px; line-height: 1.35; }
.bj-elapsed { color: #496b42; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bj-row-open { display: inline-grid; place-items: center; width: 27px; min-height: 27px; padding: 0; border: 1px solid #d9e4d3; border-radius: 7px; background: #f6faf0; color: #598663; }
.bj-row-open:hover { border-color: #8bb695; background: #e6f2e1; }
.bj-row-open svg { width: 13px; height: 13px; }
.bj-progress-track { display: block; width: 70px; max-width: 100%; height: 4px; margin-top: 5px; overflow: hidden; border-radius: 99px; background: #e3ebdc; }
.bj-progress-track > span { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: #8cbb83; }
.bj-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; padding: 8px 17px; border-top: 1px solid #e7ecdf; background: #fafbf5; color: #85917f; font-size: 9px; }

.bj-inspector { min-width: 0; overflow: hidden; border: 1px solid #dfe7da; border-radius: 20px; background: var(--bj-paper); box-shadow: 0 5px 20px #163e3205; }
.bj-inspector-head { padding: 13px 16px; border-bottom: 1px solid #e4eadf; background: #f5f8ef; }
.bj-inspector-head .bj-section-title { font-size: 11px; }
.bj-inspector-head svg { color: #6d9b72; }
.bj-inspector-photo { display: flex; align-items: center; justify-content: center; height: 130px; margin: 12px 13px 0; overflow: hidden; border: 1px solid #e0e4db; border-radius: 13px; background: #e6e7e4; }
.bj-inspector-photo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.bj-inspector-body { min-width: 0; padding: 14px 16px 16px; }
.bj-coach-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; min-width: 0; }
.bj-coach-heading h2, .bj-coach-heading h3, .bj-coach-heading strong { display: block; color: #244f39; font-family: Manrope, "DM Sans", sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.bj-coach-heading p, .bj-coach-heading small { display: block; margin-top: 4px; color: #789078; font-size: 10px; line-height: 1.45; }
.bj-journey-route { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; color: #678563; font-size: 10px; font-weight: 650; }
.bj-journey-route svg { width: 12px; height: 12px; color: #86a383; }
.bj-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 13px; margin-top: 14px; padding: 12px 0; border-top: 1px solid #e7edde; border-bottom: 1px solid #e7edde; }
.bj-facts dl { min-width: 0; }
.bj-facts > div { min-width: 0; }
.bj-facts dt { margin-bottom: 3px; color: #8a9b82; font-size: 9px; line-height: 1.35; }
.bj-facts dd { color: #4b6f46; font-size: 11px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.bj-facts dd > span { color: #9aa78e; font-size: 10px; font-weight: 500; }
.bj-facts dd > small { display: block; margin-top: 1px; color: #95a288; font-size: 8px; font-weight: 500; }
.bj-inspector-section { margin-top: 16px; }
.bj-inspector-section .bj-progress-track { width: 100%; margin: 6px 0 12px; }
.bj-section-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 9px; color: #718d68; font-size: 10px; font-weight: 750; }
.bj-section-label svg { width: 13px; height: 13px; }
.bj-section-label h3 { color: #54734b; font-size: 10px; font-weight: 750; line-height: 1.4; }
.bj-section-label > span { color: #90a082; font-size: 9px; font-weight: 500; }
.bj-checkpoint-list { display: grid; gap: 9px; margin: 11px 0 0; padding: 0; list-style: none; }
.bj-checkpoint { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 8px; min-width: 0; }
.bj-check-icon { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #dce5d4; border-radius: 6px; background: #f3f7eb; color: #91a182; }
.bj-check-icon svg { width: 12px; height: 12px; }
.bj-check-copy { min-width: 0; }
.bj-check-copy strong { display: block; color: #56784b; font-size: 10px; font-weight: 650; line-height: 1.35; }
.bj-check-copy small { display: block; margin-top: 2px; color: #96a38b; font-size: 9px; line-height: 1.4; }
.bj-check-status { max-width: 68px; padding-top: 3px; color: #8b9b7f; font-size: 9px; font-weight: 650; line-height: 1.35; text-align: right; }
.bj-checkpoint.is-complete .bj-check-icon { border-color: #d6e8cf; background: #edf8e5; color: #6a9c56; }
.bj-checkpoint.is-complete .bj-check-status { color: #749566; }
.bj-checkpoint.is-attention .bj-check-icon { border-color: #ecdebd; background: #fff6df; color: #b69346; }
.bj-checkpoint.is-attention .bj-check-status { color: #b48b39; }
.bj-checkpoint.is-progress .bj-check-icon { border-color: #d8e3cd; background: #f0f5e5; color: #839951; }
.bj-checkpoint-caption { margin-top: 12px; color: #94a086; font-size: 9px; line-height: 1.5; }
.bj-callout { display: flex; align-items: flex-start; gap: 7px; margin-top: 13px; padding: 10px 11px; border: 1px solid #eddfc3; border-radius: 10px; background: #fff7e7; color: #a0844e; font-size: 10px; line-height: 1.5; }
.bj-callout svg { width: 14px; height: 14px; margin-top: 1px; }
.bj-callout strong { color: #9e792f; }
.bj-source-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #e8edde; color: #95a189; font-size: 9px; line-height: 1.55; overflow-wrap: anywhere; }
.bj-source-note > svg { width: 13px; height: 13px; margin-top: 2px; color: #8fa381; }
.bj-source-note strong, .bj-source-note span { display: block; }
.bj-source-note strong { margin-bottom: 2px; color: #7e9471; font-weight: 600; }
.bj-source-note a { color: #6f8c63; text-decoration-color: #b3c8a7; text-underline-offset: 2px; }
.bj-page-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 15px; padding: 0 2px; color: #869580; font-size: 9px; line-height: 1.5; }
.bj-page-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.bj-page-footer svg { width: 11px; height: 11px; }
.bj-photo-missing { display: grid; place-items: center; align-content: center; gap: 3px; width: 100%; height: 100%; padding: 4px; color: #7f9181; font-size: 8px; line-height: 1.2; text-align: center; }
.bj-photo-missing svg { width: 19px; height: 19px; }
.bj-empty-state { display: grid; justify-items: center; gap: 8px; min-width: 0; padding: 32px 20px; color: var(--bj-muted); text-align: center; }
.bj-empty-state strong { color: #40634a; font-size: 14px; }
.bj-empty-state p { max-width: 360px; font-size: 11px; }
.bj-empty-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 2px; border: 1px solid #dbe6d5; border-radius: 14px; background: #f0f6e8; color: #709366; }
.bj-empty-icon svg { width: 21px; height: 21px; }
.bj-preview-label { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid #dce5d3; border-radius: 6px; background: #f0f5e7; color: #7d946e; font-size: 9px; font-weight: 650; }
.bj-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }

@media (min-width: 1550px) {
  .bj-page { gap: 16px; }
  .bj-workspace { grid-template-columns: minmax(0, 1fr) 338px; gap: 18px; }
  .bj-map-card { padding: 20px 22px 14px; }
  .bj-coach-photo { height: 44px; }
  .bj-group, .bj-solo { padding: 9px 11px; }
  .bj-lane + .bj-lane { margin-top: 14px; padding-top: 13px; }
  .bj-inspector-photo { height: 142px; }
}

@media (max-width: 1280px) {
  .cfi-command-design .main-view.bj-host { padding-inline: 18px; }
  .bj-workspace { grid-template-columns: minmax(0, 1fr) 294px; gap: 13px; }
  .bj-kpi { padding: 12px 14px; gap: 9px; }
  .bj-kpi-icon { width: 33px; height: 33px; border-radius: 10px; }
  .bj-map-card { padding-inline: 14px; }
  .bj-lane-track { gap: 15px; }
  .bj-roster-head { flex-wrap: wrap; }
  .bj-roster-tools { margin-left: auto; }
  .bj-inspector-body { padding-inline: 13px; }
  .bj-inspector-photo { height: 120px; }
  .bj-table th, .bj-table td { padding-inline: 9px; }
  .bj-row-photo { width: 57px; }
  .bj-coach-copy small { max-width: 136px; }
}

@media (max-width: 1100px) {
  .bj-workspace { grid-template-columns: minmax(0, 1fr); }
  .bj-header { align-items: flex-start; }
  .bj-head-actions { padding-top: 2px; }
  .bj-inspector { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); align-items: start; }
  .bj-inspector-head { grid-column: 1; grid-row: 1; }
  .bj-inspector-photo { grid-column: 1; grid-row: 2; align-self: start; height: 180px; margin: 14px; }
  .bj-inspector-body { grid-column: 2; grid-row: 1 / span 3; height: 100%; padding: 17px; border-left: 1px solid #e4ebdc; }
  .bj-coach-copy small { max-width: 200px; }
  .bj-row-photo { width: 75px; height: 40px; }
  .bj-kpi small { font-size: 9px; }
}

@media (max-width: 760px) {
  .bj-pan-hint { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px !important; color: #bcdbd5; font-size: 10px; }
  .bj-pan-hint svg { width: 15px; height: 15px; }
  .cfi-command-design .main-view.bj-host { padding: 14px 13px 24px; }
  .bj-page { gap: 12px; }
  .bj-header { flex-direction: column; align-items: stretch; gap: 11px; }
  .bj-heading h1 { font-size: 26px; letter-spacing: -.8px; }
  .bj-heading p { max-width: 440px; font-size: 11px; }
  .bj-head-actions { justify-content: flex-start; padding: 0; }
  .bj-border-picker { flex: 1 1 180px; min-width: 0; }
  .bj-border-picker select { width: 100%; }
  .bj-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
  .bj-direction-control { margin-left: auto; }
  .bj-direction-control label { font-size: 9px; }
  .bj-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bj-kpi { padding: 11px 13px; }
  .bj-kpi:nth-child(3) { border-left: 0; }
  .bj-kpi:nth-child(n+3) { border-top: 1px solid #e5e9e1; }
  .bj-kpi small { font-size: 10px; }
  .bj-kpi strong, .bj-kpi-value { font-size: 25px; }
  .bj-main-column { gap: 12px; }
  .bj-map-card { padding: 14px 12px 11px; border-radius: 19px; }
  .bj-section-head { flex-wrap: wrap; align-items: flex-start; gap: 5px; }
  .bj-section-head > .bj-small { font-size: 9px; }
  .bj-countries { gap: 8px; margin: 9px 0 6px; }
  .bj-country-copy strong { font-size: 11px; }
  .bj-country-copy small { font-size: 8px; }
  .bj-country-mark { width: 28px; height: 23px; font-size: 10px; }
  .bj-map-scroll { padding-bottom: 5px; }
  .bj-map-legend { font-size: 8px; gap: 5px 11px; }
  .bj-roster-head { padding: 13px 13px 9px; gap: 10px; }
  .bj-roster-tools { flex: 1 0 100%; width: 100%; margin-left: 0; }
  .bj-roster-card > .bj-roster-tools { padding-inline: 13px; }
  .bj-search { flex: 1 1 0; width: auto; }
  .bj-roster-subhead { padding: 0 13px 10px; flex-wrap: wrap; gap: 5px; font-size: 9px; }
  .bj-table { min-width: 570px; }
  .bj-table th:first-child, .bj-table td:first-child { padding-left: 13px; }
  .bj-table th:last-child, .bj-table td:last-child { padding-right: 13px; }
  .bj-coach-copy small { max-width: 175px; }
  .bj-table-footer { padding-inline: 13px; }
  .bj-inspector { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .bj-inspector-photo { height: 140px; margin: 12px; }
  .bj-inspector-body { padding: 14px; }
  .bj-inspector-head { padding: 13px; }
  .bj-checkpoint { grid-template-columns: 20px minmax(0, 1fr); gap: 6px; }
  .bj-check-status { grid-column: 2; padding-top: 0; max-width: none; margin-top: -5px; text-align: left; }
}

@media (max-width: 560px) {
  .bj-page { font-size: 12px; }
  .bj-kicker { font-size: 9px; }
  .bj-heading h1 { font-size: 25px; }
  .bj-heading p { font-size: 11px; }
  .bj-head-actions { flex-wrap: wrap; }
  .bj-btn { min-height: 38px; padding-inline: 11px; font-size: 10px; }
  .bj-border-picker { flex-basis: 150px; }
  .bj-demo-note { flex-wrap: wrap; padding: 8px 9px; font-size: 9px; }
  .bj-demo-note > span:first-of-type { flex: 1 1 calc(100% - 24px); }
  .bj-demo-note .bj-preview-label { margin-left: 21px; font-size: 8px; }
  .bj-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bj-tabs { display: flex; width: 100%; gap: 2px; }
  .bj-tabs button { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 8px 6px; gap: 5px; font-size: 10px; }
  .bj-tabs svg { width: 13px; height: 13px; }
  .bj-direction-control { width: 100%; margin: 0; justify-content: flex-start; }
  .bj-direction-control select { flex: 0 1 220px; min-width: 0; min-height: 36px; font-size: 10px; }
  .bj-kpi { min-height: 69px; gap: 8px; padding: 10px 11px; }
  .bj-kpi-icon { width: 30px; height: 30px; border-radius: 10px; }
  .bj-kpi-icon svg { width: 15px; height: 15px; }
  .bj-kpi small { font-size: 9px; }
  .bj-kpi strong, .bj-kpi-value { font-size: 24px; }
  .bj-country { gap: 6px; }
  .bj-map-card .bj-section-head > .bj-chip { margin-left: auto; }
  .bj-map-legend { justify-content: flex-start; }
  .bj-roster-tools { gap: 6px; }
  .bj-roster-tools > .bj-sort { max-width: 107px; font-size: 8px; line-height: 1.4; }
  .bj-sort select { max-width: 120px; }
  .bj-sort label { font-size: 9px; }
  .bj-table-footer { align-items: flex-start; flex-wrap: wrap; }
  .bj-inspector { display: block; }
  .bj-inspector-photo { height: 149px; margin: 12px 13px 0; }
  .bj-inspector-body { padding: 14px 16px 17px; border-left: 0; }
  .bj-coach-heading h2, .bj-coach-heading h3, .bj-coach-heading strong { font-size: 20px; }
  .bj-facts { gap: 12px 17px; }
  .bj-facts dt { font-size: 10px; }
  .bj-facts dd { font-size: 12px; }
  .bj-checkpoint { grid-template-columns: 23px minmax(0, 1fr) auto; gap: 8px; }
  .bj-check-icon { width: 23px; height: 23px; }
  .bj-check-copy strong { font-size: 11px; }
  .bj-check-copy small { font-size: 9px; }
  .bj-check-status { grid-column: auto; max-width: 78px; margin: 0; padding-top: 3px; text-align: right; }
  .bj-callout { font-size: 10px; }
  .bj-page-footer { align-items: flex-start; font-size: 8px; }
}

@media (max-width: 380px) {
  .cfi-command-design .main-view.bj-host { padding-inline: 10px; }
  .bj-heading h1 { font-size: 23px; }
  .bj-head-actions .bj-btn:not(.is-icon) { padding-inline: 9px; }
  .bj-kpi { padding-inline: 8px; gap: 6px; }
  .bj-kpi-icon { width: 27px; height: 27px; }
  .bj-kpi small { font-size: 8px; }
  .bj-kpi strong, .bj-kpi-value { font-size: 22px; }
  .bj-tabs button { font-size: 9px; }
  .bj-country-copy strong { font-size: 10px; }
  .bj-country-copy small { max-width: 95px; line-height: 1.3; }
  .bj-country-mark { width: 25px; height: 22px; }
  .bj-check-status { max-width: 63px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bj-page *, .bj-page *::before, .bj-page *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
