﻿/* Business Owner Planning household-scoped dashboard styles. */

.business-owner-planning-workspace {
  display: grid;
  gap: 20px;
}

.bo-doc-page-shell,
.bo-doc-main-stack,
.bo-doc-side-stack,
.bo-doc-needs-stack,
.bo-doc-inline-actions,
.bo-doc-need-row-meta,
.bo-doc-domain-pills {
  display: grid;
  gap: 12px;
}

.bo-doc-kpi-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bo-doc-kpi-card,
.bo-doc-card,
.bo-doc-banner {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(18, 31, 61, 0.05);
}

.bo-doc-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  align-items: start;
}

.bo-doc-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.bo-doc-card-head h4 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.08;
}

.bo-doc-card-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.bo-doc-upload-lockout {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.bo-doc-upload-lockout small,
.bo-doc-form-field span,
.bo-doc-kpi-card span,
.bo-doc-need-row span,
.bo-doc-banner span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-doc-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy-900);
  font-size: 28px;
  line-height: 1;
}

.bo-doc-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bo-doc-form-field {
  display: grid;
  gap: 8px;
}

.bo-doc-form-field--wide,
.bo-doc-form-actions {
  grid-column: 1 / -1;
}

.bo-doc-form-field input,
.bo-doc-form-field select {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(36, 50, 111, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-900);
  font: inherit;
}

.bo-doc-form-actions {
  display: flex;
  justify-content: flex-start;
}

.bo-doc-table-wrap {
  overflow-x: auto;
}

.bo-doc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

.bo-doc-table th,
.bo-doc-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
  vertical-align: top;
  text-align: left;
}

.bo-doc-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bo-doc-table td strong {
  display: block;
  color: var(--navy-900);
  font-size: 14px;
}

.bo-doc-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-doc-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bo-doc-need-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(249, 250, 253, 0.95);
}

.bo-doc-need-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.bo-doc-need-row-head strong {
  color: var(--navy-900);
}

.bo-doc-need-row-meta {
  grid-auto-flow: column;
  justify-content: start;
}

.bo-doc-need-row-meta small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.bo-doc-domain-pills {
  grid-auto-flow: row;
}

.bo-doc-banner {
  display: grid;
  gap: 6px;
}

.bo-doc-banner strong {
  color: var(--navy-900);
}

.bo-doc-banner--success {
  border-color: rgba(28, 145, 86, 0.16);
  background: rgba(240, 251, 245, 0.96);
}

.bo-doc-banner--error,
.bo-doc-card--error {
  border-color: rgba(196, 54, 76, 0.18);
  background: rgba(255, 245, 247, 0.98);
}

@media (max-width: 1180px) {
  .bo-doc-kpi-grid,
  .bo-doc-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-doc-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .bo-doc-kpi-grid,
  .bo-doc-form-grid {
    grid-template-columns: 1fr;
  }

  .bo-doc-need-row {
    grid-template-columns: 1fr;
  }

  .bo-doc-inline-actions {
    justify-content: flex-start;
  }
}

.bo-page,
.bo-main-grid,
.bo-right-rail,
.bo-two-col,
.bo-three-col,
.bo-four-col,
.bo-panel-grid,
.bo-panel,
.bo-empty-state,
.bo-section-title,
.bo-action-link {
  /* Shared Business Owner page utility hooks for consistent layout styling. */
}

.bo-preview-panel--page {
  border-color: rgba(36, 50, 111, 0.08);
  background:
    radial-gradient(circle at top right, rgba(220, 198, 164, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 248, 252, 0.97));
  border-radius: 26px;
  padding: 24px 26px 28px;
  box-shadow: 0 18px 44px rgba(18, 31, 61, 0.06);
}

.bo-preview-page-shell {
  display: grid;
  gap: 18px;
}

.bo-preview-panel .panel-header-inline {
  align-items: flex-start;
}

.bo-preview-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bo-preview-panel-meta,
.bo-preview-meta-grid,
.bo-preview-trigger-grid,
.bo-preview-grid,
.bo-preview-card-stack,
.bo-preview-prompt-stack {
  display: grid;
  gap: 12px;
}

.bo-preview-panel-meta,
.bo-preview-meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bo-preview-card-stack,
.bo-preview-top-prompts {
  margin-top: 16px;
}

.bo-preview-dashboard-section {
  margin-top: 16px;
}

.bo-preview-section-head,
.bo-preview-summary-head,
.bo-preview-summary-meta,
.bo-preview-impact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.bo-preview-section-head h4 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.08;
}

.bo-preview-section-eyebrow {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-preview-health-chip,
.bo-preview-summary-counts,
.bo-preview-score-grid,
.bo-preview-impact-grid,
.bo-preview-summary-stack {
  display: grid;
  gap: 12px;
}

.bo-preview-health-chip {
  min-width: 148px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(196, 118, 20, 0.18);
  background: rgba(255, 248, 235, 0.9);
  text-align: right;
}

.bo-preview-health-chip span,
.bo-preview-health-chip small,
.bo-preview-summary-counts span,
.bo-preview-summary-card p,
.bo-preview-summary-meta span,
.bo-preview-impact-item span,
.bo-preview-section-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-preview-health-chip strong,
.bo-preview-summary-card strong,
.bo-preview-impact-item strong,
.bo-preview-score-card strong {
  color: var(--navy-900);
}

.bo-preview-score-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.bo-preview-score-card,
.bo-preview-summary-card,
.bo-preview-impact-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.bo-preview-score-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-preview-score-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.bo-preview-score-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.bo-preview-summary-stack,
.bo-preview-impact-grid {
  margin-top: 14px;
}

.bo-preview-summary-card p {
  margin: 12px 0 8px;
}

.bo-preview-summary-metric {
  min-width: 92px;
  text-align: right;
}

.bo-preview-summary-metric small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-preview-summary-metric strong {
  display: block;
  font-size: 26px;
}

.bo-preview-summary-meta {
  flex-wrap: wrap;
  margin-top: 8px;
}

.bo-preview-impact-grid {
  grid-template-columns: 1fr;
}

.bo-preview-impact-item strong:last-child {
  min-width: 96px;
  text-align: right;
}

.bo-preview-section-note {
  margin: 12px 0 0;
}

.bo-preview-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bo-preview-grid-dashboard {
  margin-top: 16px;
}

.bo-preview-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.bo-preview-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.bo-preview-card h4 {
  margin: 0 0 8px;
  color: var(--navy-900);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.08;
}

.bo-preview-copy {
  margin: 12px 0 6px;
  color: #30405d;
  font-size: 13px;
  line-height: 1.55;
}

.bo-preview-reason {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.bo-preview-block {
  padding: 13px;
  border-radius: 14px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.94);
}

.bo-preview-block small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-preview-trigger-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-preview-trigger-item,
.bo-preview-meta-item,
.bo-preview-prompt-item {
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.bo-preview-trigger-item strong,
.bo-preview-meta-item strong,
.bo-preview-prompt-item strong {
  display: block;
  color: var(--navy-900);
}

.bo-preview-trigger-item span,
.bo-preview-meta-item span,
.bo-preview-prompt-item span,
.bo-preview-trigger-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-preview-trigger-item span {
  display: block;
  margin: 4px 0 6px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 600;
}

.bo-preview-meta-item-wide {
  grid-column: span 2;
}

.bo-preview-list {
  margin: 0;
  padding-left: 18px;
  color: #30405d;
  font-size: 13px;
  line-height: 1.6;
}

.bo-preview-list li + li {
  margin-top: 6px;
}

.bo-preview-compliance-note {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(196, 118, 20, 0.15);
  background: rgba(255, 248, 235, 0.92);
  color: #5d4522;
  font-size: 12px;
  line-height: 1.55;
}

.bo-preview-empty-state {
  margin-top: 16px;
}

.bo-preview-shell-head,
.bo-preview-shell-controls,
.bo-preview-shell-meta,
.bo-preview-scoreboard,
.bo-preview-dashboard-grid,
.bo-preview-dashboard-main,
.bo-preview-dashboard-side,
.bo-preview-dashboard-double,
.bo-preview-snapshot-list,
.bo-preview-opportunity-list,
.bo-preview-impact-list,
.bo-preview-health-rows,
.bo-preview-coordination-list,
.bo-preview-missing-groups,
.bo-preview-tabs,
.bo-preview-data-needed-actions {
  display: grid;
  gap: 14px;
}

.bo-preview-shell-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.bo-preview-shell-eyebrow {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-preview-shell-title h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 42px;
  line-height: 1.02;
  font-family: "Inter", "Open Sans", sans-serif;
  font-weight: 700;
}

.bo-preview-shell-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  max-width: 760px;
}

.bo-preview-shell-controls {
  grid-template-columns: minmax(280px, 1fr) repeat(3, max-content) minmax(132px, max-content) max-content;
  align-items: center;
  justify-content: end;
  gap: 12px;
}

.bo-preview-selector {
  display: grid;
  gap: 6px;
}

.bo-preview-selector span,
.bo-preview-review-date span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bo-preview-selector select {
  min-width: 0;
  border: 1px solid rgba(36, 50, 111, 0.12);
  border-radius: 12px;
  padding: 12px 38px 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 600;
}

.bo-preview-entity-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(36, 50, 111, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 700;
}

.bo-preview-entity-pill--subtle {
  background: rgba(247, 249, 252, 0.96);
  color: #425271;
}

.bo-preview-review-date {
  display: grid;
  gap: 6px;
  text-align: right;
  min-width: 140px;
}

.bo-preview-review-date strong {
  color: var(--navy-900);
  font-size: 16px;
}

.bo-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.78);
}

.bo-status-strip-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bo-status-strip-time {
  color: #43526e;
  font-size: 12px;
  font-weight: 600;
}

.bo-preview-details {
  margin-left: auto;
}

.bo-preview-details summary {
  cursor: pointer;
  color: #3b4f74;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.bo-preview-details summary::-webkit-details-marker {
  display: none;
}

.bo-preview-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.bo-preview-details-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-preview-details-item small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bo-preview-details-item strong {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-page-header {
  display: grid;
  gap: 6px;
  margin: 2px 0 18px;
}

.bo-page-header h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 28px;
  line-height: 1.08;
  font-family: "Playfair Display", serif;
}

.bo-page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 860px;
}

.bo-preview-scoreboard,
.bo-tax-kpi-grid,
.bo-ret-kpi-grid,
.bo-cf-kpi-grid,
.bo-rm-kpi-grid,
.bo-succ-kpi-grid,
.bo-est-kpi-grid,
.bo-bv-kpi-grid,
.bo-prof-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}

.bo-preview-scoreboard-card {
  min-height: 0;
  min-width: 0;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-preview-scoreboard-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bo-preview-scoreboard-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.bo-preview-scoreboard-card--green .bo-preview-scoreboard-icon,
.bo-preview-scoreboard-spark--green span {
  background: #36a866;
}

.bo-preview-scoreboard-card--violet .bo-preview-scoreboard-icon,
.bo-preview-scoreboard-spark--violet span {
  background: #8d56f2;
}

.bo-preview-scoreboard-card--blue .bo-preview-scoreboard-icon,
.bo-preview-scoreboard-spark--blue span {
  background: #2c8cff;
}

.bo-preview-scoreboard-card--orange .bo-preview-scoreboard-icon,
.bo-preview-scoreboard-spark--orange span {
  background: #f08c21;
}

.bo-preview-scoreboard-card--teal .bo-preview-scoreboard-icon,
.bo-preview-scoreboard-spark--teal span {
  background: #22a8b0;
}

.bo-preview-scoreboard-card--gold .bo-preview-scoreboard-icon,
.bo-preview-scoreboard-spark--gold span {
  background: #d9a31d;
}

.bo-preview-scoreboard-title {
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bo-preview-scoreboard-card strong {
  display: block;
  color: var(--navy-900);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 0.98;
}

.bo-preview-scoreboard-status {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bo-preview-scoreboard-spark {
  display: block;
  position: relative;
  height: 28px;
  margin-top: 14px;
  overflow: hidden;
}

.bo-preview-scoreboard-spark::before {
  content: "";
  position: absolute;
  inset: 13px 0 auto;
  height: 2px;
  background: rgba(36, 50, 111, 0.08);
}

.bo-preview-scoreboard-spark span {
  position: absolute;
  inset: 6px 0 0;
  opacity: 0.95;
  clip-path: polygon(0% 60%, 12% 48%, 25% 54%, 38% 34%, 52% 44%, 66% 28%, 78% 40%, 90% 22%, 100% 30%, 100% 40%, 90% 32%, 78% 48%, 66% 36%, 52% 52%, 38% 42%, 25% 62%, 12% 56%, 0% 68%);
}

.bo-preview-dashboard-grid {
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.bo-preview-dashboard-grid--top {
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, 0.95fr) minmax(300px, 1fr);
  align-items: start;
}

.bo-preview-dashboard-grid--bottom {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(320px, 0.95fr);
  gap: 18px;
}

.bo-preview-dashboard-side-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.bo-preview-dashboard-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-preview-dashboard-card--opportunities,
.bo-preview-dashboard-card--snapshot,
.bo-preview-dashboard-card--changes {
  min-height: 0;
}

.bo-preview-dashboard-card--impact,
.bo-preview-dashboard-card--health {
  min-height: 0;
}

.bo-preview-snapshot-list {
  margin-top: 14px;
}

.bo-preview-snapshot-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-preview-snapshot-row:last-child {
  border-bottom: 0;
}

.bo-preview-snapshot-row span {
  color: #43526e;
  font-size: 13px;
}

.bo-preview-snapshot-row strong {
  color: var(--navy-900);
  font-size: 13px;
  text-align: right;
}

.bo-preview-opportunity-list {
  margin-top: 14px;
}

.bo-preview-opportunity-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) minmax(148px, auto);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-preview-opportunity-row:last-child {
  border-bottom: 0;
}

.bo-preview-opportunity-flag {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.bo-preview-opportunity-flag--danger {
  background: #df4a43;
}

.bo-preview-opportunity-flag--danger::before {
  content: "!";
}

.bo-preview-opportunity-flag--warn {
  background: #f29b2f;
}

.bo-preview-opportunity-flag--warn::before {
  content: "!";
}

.bo-preview-opportunity-flag--success {
  background: #31a563;
}

.bo-preview-opportunity-flag--success::before {
  content: "v";
}

.bo-preview-opportunity-copy strong {
  display: block;
  color: var(--navy-900);
  font-size: 19px;
  line-height: 1.14;
  margin-bottom: 4px;
}

.bo-preview-opportunity-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.bo-preview-opportunity-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  align-content: center;
  text-align: right;
}

.bo-preview-opportunity-meta small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.bo-preview-opportunity-meta strong {
  color: var(--navy-900);
  font-size: 18px;
}

.bo-preview-section-link-row {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-preview-impact-hero {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 14px;
  align-items: center;
}

.bo-preview-impact-total {
  display: grid;
  place-items: center;
  min-height: 220px;
  width: 220px;
  margin: 0 auto;
  border-radius: 999px;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 46%, transparent 47%),
    conic-gradient(#2c8cff 0 32%, #44b56f 32% 58%, #8d56f2 58% 76%, #f0b028 76% 100%);
  text-align: center;
}

.bo-preview-impact-total strong {
  color: var(--navy-900);
  font-size: 32px;
  line-height: 1.05;
}

.bo-preview-impact-total span {
  color: var(--muted);
  font-size: 12px;
  max-width: 160px;
  line-height: 1.45;
}

.bo-preview-health-rows {
  margin-top: 14px;
}

.bo-preview-health-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 1.4fr) auto;
  gap: 12px;
  align-items: center;
  padding: 2px 0;
}

.bo-preview-health-row span {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-preview-health-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(36, 50, 111, 0.08);
  overflow: hidden;
}

.bo-preview-health-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #35a961, #f0a228);
}

.bo-preview-health-row strong,
.bo-preview-health-footer strong {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-preview-health-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-preview-health-footer small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bo-preview-health-footer span {
  color: #d57d16;
  font-size: 13px;
  font-weight: 700;
}

.bo-preview-coordination-list,
.bo-preview-missing-groups {
  margin-top: 14px;
}

.bo-preview-change-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.bo-preview-change-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-preview-change-row:last-child {
  border-bottom: 0;
}

.bo-preview-change-row span {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-preview-change-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.bo-preview-change-value strong {
  color: var(--navy-900);
  font-size: 13px;
  text-align: right;
}

.bo-preview-coordination-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(247, 249, 252, 0.96);
  border: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-preview-coordination-item::before {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(29, 99, 216, 0.14), rgba(29, 99, 216, 0.06));
  display: block;
}

.bo-preview-coordination-item > div,
.bo-preview-coordination-item > p {
  grid-column: 2;
}

.bo-preview-coordination-item strong {
  display: block;
  color: var(--navy-900);
}

.bo-preview-coordination-item span,
.bo-preview-coordination-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.bo-preview-coordination-item p {
  margin: 6px 0 0;
}

.bo-preview-missing-groups {
  grid-template-columns: 1fr;
}

.bo-preview-missing-group {
  display: grid;
  gap: 10px;
}

.bo-preview-missing-group small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-preview-data-needed {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(196, 118, 20, 0.18);
  background: rgba(255, 248, 235, 0.94);
}

.bo-preview-data-needed h4 {
  margin: 6px 0 8px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.08;
}

.bo-preview-data-needed p {
  margin: 0;
  color: #5d4522;
  font-size: 13px;
  line-height: 1.62;
  max-width: 760px;
}

.bo-preview-data-needed-actions {
  grid-auto-flow: column;
  align-items: center;
}

.bo-preview-tab-panel {
  margin-top: 18px;
  padding: 2px 0 0;
}

.bo-preview-tab-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-preview-tab-panel-head h4 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.1;
}

.bo-preview-dashboard-card .advisor-empty-copy,
.bo-preview-missing-group .advisor-empty-copy,
.bo-preview-tab-panel .advisor-empty-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.bo-preview-dashboard-card--opportunities .advisor-empty-copy,
.bo-preview-dashboard-card--snapshot .advisor-empty-copy,
.bo-preview-dashboard-card--changes .advisor-empty-copy {
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
}

.bo-preview-empty-state {
  border-radius: 18px;
  border: 1px dashed rgba(36, 50, 111, 0.14);
  background: rgba(247, 249, 252, 0.75);
}

.bo-preview-profile-summary {
  display: grid;
  gap: 14px;
}

.bo-preview-table td strong {
  color: var(--navy-900);
}

.bo-opp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.bo-opp-kpi-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 102px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.04);
}

.bo-opp-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.bo-opp-kpi-card--blue .bo-opp-kpi-icon {
  background: #2c8cff;
}

.bo-opp-kpi-card--danger .bo-opp-kpi-icon {
  background: #df4a43;
}

.bo-opp-kpi-card--gold .bo-opp-kpi-icon {
  background: #e0a11c;
}

.bo-opp-kpi-card--green .bo-opp-kpi-icon {
  background: #2ea75b;
}

.bo-opp-kpi-card--violet .bo-opp-kpi-icon {
  background: #8d56f2;
}

.bo-opp-kpi-copy strong {
  display: block;
  color: var(--navy-900);
  font-size: 40px;
  line-height: 1;
}

.bo-opp-kpi-copy span {
  display: block;
  margin-top: 8px;
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 700;
}

.bo-opp-kpi-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-opp-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) 320px;
  gap: 18px;
  margin-top: 18px;
}

.bo-opp-page-shell--single {
  grid-template-columns: 1fr;
}

.bo-opp-main-panel,
.bo-opp-detail-panel {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-opp-main-panel {
  padding: 18px 18px 12px;
}

.bo-opp-detail-panel {
  padding: 18px;
  position: sticky;
  top: 18px;
  align-self: start;
}

.bo-opp-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 12px;
}

.bo-opp-panel-head h4,
.bo-opp-detail-head h4,
.bo-opp-empty-state h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 20px;
  line-height: 1.15;
}

.bo-opp-panel-head p,
.bo-opp-empty-state p,
.bo-opp-detail-copy,
.bo-opp-empty-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.bo-opp-filter-row {
  display: grid;
  grid-template-columns: 150px 150px 150px minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.bo-opp-filter-row select,
.bo-opp-filter-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(36, 50, 111, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--navy-900);
  font-size: 13px;
}

.bo-opp-search {
  display: block;
}

.bo-opp-sort-row {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 10px;
  align-items: center;
  justify-content: end;
  white-space: nowrap;
}

.bo-opp-sort-row span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-opp-sort-row select {
  min-width: 118px;
}

.bo-opp-table-wrap {
  overflow-x: auto;
}

.bo-opp-table {
  width: 100%;
  border-collapse: collapse;
}

.bo-opp-table thead th {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
  color: #30405d;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.bo-opp-table tbody tr {
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.bo-opp-table tbody tr.is-selected {
  background: rgba(29, 99, 216, 0.05);
}

.bo-opp-table tbody td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
  color: var(--navy-900);
  font-size: 13px;
  vertical-align: middle;
}

.bo-opp-title-cell strong {
  display: block;
  color: var(--navy-900);
  font-size: 16px;
  line-height: 1.2;
}

.bo-opp-title-cell span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-opp-priority {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.bo-opp-priority--danger {
  background: #df4a43;
}

.bo-opp-priority--warn {
  background: #f29b2f;
}

.bo-opp-priority--success {
  background: #2ea75b;
}

.bo-opp-category {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  align-items: center;
  color: #30405d;
  font-size: 12px;
  font-weight: 600;
}

.bo-opp-category-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bo-opp-category--blue .bo-opp-category-icon {
  background: #2c8cff;
}

.bo-opp-category--violet .bo-opp-category-icon {
  background: #8d56f2;
}

.bo-opp-category--sky .bo-opp-category-icon {
  background: #2894d2;
}

.bo-opp-category--orange .bo-opp-category-icon {
  background: #f08c21;
}

.bo-opp-category--teal .bo-opp-category-icon {
  background: #22a8b0;
}

.bo-opp-category--gold .bo-opp-category-icon {
  background: #d9a31d;
}

.bo-opp-category--navy .bo-opp-category-icon {
  background: #24326f;
}

.bo-opp-confidence-cell {
  display: grid;
  grid-auto-flow: column;
  gap: 8px;
  align-items: center;
  justify-content: start;
}

.bo-opp-confidence-ring {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 3px solid rgba(36, 50, 111, 0.08);
  background: #fff;
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 800;
}

.bo-opp-confidence-ring--danger {
  border-color: #df4a43;
}

.bo-opp-confidence-ring--warn {
  border-color: #f0a228;
}

.bo-opp-confidence-ring--success {
  border-color: #2ea75b;
}

.bo-opp-confidence-cell small {
  color: var(--muted);
  font-size: 12px;
}

.bo-opp-owner-pill {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(44, 140, 255, 0.12);
  color: #2c8cff;
  font-size: 11px;
  font-weight: 800;
}

.bo-opp-row-menu {
  min-width: 0;
  padding: 0;
  color: #51607c;
}

.bo-opp-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-opp-detail-hero {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
}

.bo-opp-detail-hero strong {
  display: block;
  color: var(--navy-900);
  font-size: 17px;
  line-height: 1.2;
}

.bo-opp-detail-hero span:not(.pill) {
  color: var(--muted);
  font-size: 12px;
}

.bo-opp-detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-opp-detail-metrics article {
  display: grid;
  gap: 4px;
}

.bo-opp-detail-metrics small,
.bo-opp-empty-card small,
.bo-opp-detail-section h5 {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bo-opp-detail-metrics strong {
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.05;
}

.bo-opp-detail-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.bo-opp-detail-section {
  padding: 14px 0 0;
  border-top: 1px solid rgba(36, 50, 111, 0.08);
  margin-top: 14px;
}

.bo-opp-detail-section h5 {
  margin: 0 0 10px;
}

.bo-opp-detail-section p {
  margin: 0;
  color: #30405d;
  font-size: 13px;
  line-height: 1.58;
}

.bo-opp-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bo-opp-detail-cta {
  width: 100%;
  margin-top: 18px;
}

.bo-opp-detail-empty {
  display: grid;
  gap: 8px;
  min-height: 360px;
  align-content: start;
}

.bo-opp-empty-state {
  display: grid;
  gap: 16px;
  padding: 18px 0 8px;
}

.bo-opp-empty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bo-opp-empty-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.75);
}

.bo-tax-kpi-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bo-tax-kpi-card,
.bo-tax-card {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-tax-kpi-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 18px;
}

.bo-tax-kpi-card--score {
  grid-template-columns: 74px minmax(0, 1fr);
}

.bo-tax-score-ring {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 5px solid rgba(36, 50, 111, 0.1);
  color: var(--navy-900);
}

.bo-tax-score-ring strong {
  color: var(--navy-900);
  font-size: 34px;
  line-height: 1;
}

.bo-tax-score-ring--green {
  border-color: #2db461;
}

.bo-tax-score-ring--blue {
  border-color: #2c8cff;
}

.bo-tax-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-tax-score-ring--danger {
  border-color: #df4a43;
}

.bo-tax-score-ring--neutral {
  border-color: rgba(36, 50, 111, 0.18);
}

.bo-tax-kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.bo-tax-kpi-card--green .bo-tax-kpi-icon {
  background: #2ea75b;
}

.bo-tax-kpi-card--blue .bo-tax-kpi-icon {
  background: #2c8cff;
}

.bo-tax-kpi-card--gold .bo-tax-kpi-icon {
  background: #f0ad2f;
}

.bo-tax-kpi-card--danger .bo-tax-kpi-icon {
  background: #df4a43;
}

.bo-tax-kpi-card--violet .bo-tax-kpi-icon {
  background: #8d56f2;
}

.bo-tax-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-tax-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 33px;
  line-height: 1.05;
}

.bo-tax-kpi-card--score .bo-tax-kpi-copy strong {
  font-size: 28px;
}

.bo-tax-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-tax-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) 340px;
  gap: 18px;
  margin-top: 18px;
}

.bo-tax-main-stack,
.bo-tax-side-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.bo-tax-card {
  padding: 18px;
}

.bo-tax-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-tax-card-head--split {
  align-items: center;
}

.bo-tax-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-tax-card h4 {
  font-size: 18px;
}

.bo-tax-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.bo-tax-profile-item {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-tax-profile-item span,
.bo-tax-impact-item span {
  color: #465678;
  font-size: 12px;
  font-weight: 600;
}

.bo-tax-profile-item strong,
.bo-tax-impact-item strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-tax-profile-item small,
.bo-tax-impact-item small,
.bo-tax-side-item span,
.bo-tax-empty-state p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-tax-table .bo-opp-title-cell strong {
  font-size: 15px;
}

.bo-tax-side-list {
  display: grid;
  gap: 12px;
}

.bo-tax-side-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-tax-side-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.bo-tax-side-item-head strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.bo-tax-side-item-meta {
  display: flex;
  justify-content: flex-start;
}

.bo-tax-side-item-meta small {
  color: #51607c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bo-tax-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bo-tax-impact-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.92));
}

.bo-tax-impact-item--green {
  border-color: rgba(46, 167, 91, 0.16);
}

.bo-tax-impact-item--blue {
  border-color: rgba(44, 140, 255, 0.16);
}

.bo-tax-impact-item--violet {
  border-color: rgba(141, 86, 242, 0.16);
}

.bo-tax-impact-item--danger {
  border-color: rgba(223, 74, 67, 0.16);
}

.bo-tax-empty-state {
  display: grid;
  gap: 8px;
  padding: 10px 2px 2px;
}

.bo-tax-empty-state p {
  margin: 0;
}

.bo-ret-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bo-ret-kpi-card,
.bo-ret-card {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-ret-kpi-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 16px 16px 14px;
}

.bo-ret-kpi-card--score {
  grid-template-columns: 84px minmax(0, 1fr);
}

.bo-ret-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 5px solid rgba(36, 50, 111, 0.1);
  background: #fff;
  text-align: center;
}

.bo-ret-score-ring strong {
  color: var(--navy-900);
  font-size: 38px;
  line-height: 1;
}

.bo-ret-score-ring span {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-ret-score-ring--green {
  border-color: #2ea75b;
}

.bo-ret-score-ring--blue {
  border-color: #2c8cff;
}

.bo-ret-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-ret-score-ring--danger {
  border-color: #df4a43;
}

.bo-ret-score-ring--neutral {
  border-color: rgba(36, 50, 111, 0.2);
}

.bo-ret-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bo-ret-kpi-card--green .bo-ret-kpi-icon {
  background: #2ea75b;
}

.bo-ret-kpi-card--blue .bo-ret-kpi-icon {
  background: #2c8cff;
}

.bo-ret-kpi-card--gold .bo-ret-kpi-icon {
  background: #f0ad2f;
}

.bo-ret-kpi-card--danger .bo-ret-kpi-icon {
  background: #df4a43;
}

.bo-ret-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-ret-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.1;
}

.bo-ret-kpi-card--score .bo-ret-kpi-copy strong {
  font-size: 17px;
}

.bo-ret-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-ret-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bo-ret-grid--top {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) 300px;
}

.bo-ret-grid--bottom {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) 300px;
  align-items: start;
}

.bo-ret-main-stack,
.bo-ret-side-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.bo-ret-card {
  padding: 18px;
}

.bo-ret-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-ret-card-head--split {
  align-items: center;
}

.bo-ret-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-ret-card-subtitle {
  display: inline-block;
  margin-top: 2px;
  color: #4e5f82;
  font-size: 12px;
  font-weight: 700;
}

.bo-ret-structure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
}

.bo-ret-structure-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.bo-ret-structure-item {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-ret-structure-item span,
.bo-ret-summary-impact small,
.bo-ret-side-item span,
.bo-ret-callout p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-ret-structure-item strong,
.bo-ret-summary-impact strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-ret-verify-card {
  display: grid;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(244, 240, 255, 0.92), rgba(248, 246, 255, 0.98));
  border: 1px solid rgba(141, 86, 242, 0.15);
}

.bo-ret-verify-card small {
  color: #7a56d4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bo-ret-verify-card strong {
  color: #6b45c9;
  font-size: 28px;
  line-height: 1.05;
}

.bo-ret-verify-card p {
  margin: 0;
  color: #5d6790;
  font-size: 12px;
  line-height: 1.55;
}

.bo-ret-capacity-list {
  display: grid;
  gap: 14px;
}

.bo-ret-capacity-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.bo-ret-capacity-item span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
}

.bo-ret-capacity-item strong {
  color: var(--navy-900);
  font-size: 14px;
  white-space: nowrap;
}

.bo-ret-capacity-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(36, 50, 111, 0.08);
  overflow: hidden;
}

.bo-ret-capacity-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}

.bo-ret-capacity-bar-fill--blue {
  background: linear-gradient(90deg, #2c8cff, #1958cf);
}

.bo-ret-capacity-bar-fill--violet {
  background: linear-gradient(90deg, #8d56f2, #6c44db);
}

.bo-ret-capacity-bar-fill--green {
  background: linear-gradient(90deg, #2ea75b, #23904e);
}

.bo-ret-capacity-bar-fill--gold {
  background: linear-gradient(90deg, #f0ad2f, #d88f14);
}

.bo-ret-summary-ring-wrap {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.bo-ret-summary-ring {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 16px solid #f0ad2f;
  background: #fff;
  text-align: center;
  margin: 4px auto 0;
}

.bo-ret-summary-ring strong {
  color: var(--navy-900);
  font-size: 42px;
  line-height: 1;
}

.bo-ret-summary-ring span {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-ret-summary-counts {
  display: grid;
  gap: 10px;
}

.bo-ret-summary-counts div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.bo-ret-summary-counts strong {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-ret-summary-counts small {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.dot.danger {
  background: #df4a43;
}

.dot.warn {
  background: #f0ad2f;
}

.dot.success {
  background: #2ea75b;
}

.dot.neutral {
  background: #7d8aa8;
}

.bo-ret-summary-impact {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.bo-ret-table td strong {
  color: var(--navy-900);
}

.bo-ret-side-list {
  display: grid;
  gap: 12px;
}

.bo-ret-side-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-ret-side-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.bo-ret-side-item-head strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.bo-ret-callout {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(44, 140, 255, 0.14);
  background: linear-gradient(180deg, rgba(236, 245, 255, 0.98), rgba(243, 248, 255, 0.98));
}

.bo-ret-callout p {
  margin: 0;
  color: #405172;
}

.bo-ret-empty-state p {
  margin: 0;
}

.bo-cf-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bo-cf-kpi-card,
.bo-cf-card {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-cf-kpi-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 16px 16px 14px;
}

.bo-cf-kpi-card--score {
  grid-template-columns: 84px minmax(0, 1fr);
}

.bo-cf-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 5px solid rgba(36, 50, 111, 0.1);
  background: #fff;
  text-align: center;
}

.bo-cf-score-ring strong {
  color: var(--navy-900);
  font-size: 38px;
  line-height: 1;
}

.bo-cf-score-ring span {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-cf-score-ring--green {
  border-color: #2ea75b;
}

.bo-cf-score-ring--blue {
  border-color: #2c8cff;
}

.bo-cf-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-cf-score-ring--danger {
  border-color: #df4a43;
}

.bo-cf-score-ring--neutral {
  border-color: rgba(36, 50, 111, 0.2);
}

.bo-cf-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bo-cf-kpi-card--green .bo-cf-kpi-icon {
  background: #2ea75b;
}

.bo-cf-kpi-card--blue .bo-cf-kpi-icon {
  background: #2c8cff;
}

.bo-cf-kpi-card--violet .bo-cf-kpi-icon {
  background: #8d56f2;
}

.bo-cf-kpi-card--gold .bo-cf-kpi-icon {
  background: #f0ad2f;
}

.bo-cf-kpi-card--danger .bo-cf-kpi-icon {
  background: #df4a43;
}

.bo-cf-kpi-card--teal .bo-cf-kpi-icon {
  background: #23b29f;
}

.bo-cf-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-cf-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.1;
}

.bo-cf-kpi-card--score .bo-cf-kpi-copy strong {
  font-size: 17px;
}

.bo-cf-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-cf-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bo-cf-grid--top,
.bo-cf-grid--middle,
.bo-cf-grid--bottom {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 300px;
  align-items: start;
}

.bo-cf-card {
  padding: 18px;
}

.bo-cf-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-cf-card-head--split {
  align-items: center;
}

.bo-cf-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-cf-card-subtitle {
  display: inline-block;
  margin-top: 2px;
  color: #4e5f82;
  font-size: 12px;
  font-weight: 700;
}

.bo-cf-cash-grid,
.bo-cf-debt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.bo-cf-cash-list,
.bo-cf-metric-list,
.bo-cf-side-list,
.bo-cf-next-steps {
  display: grid;
  gap: 10px;
}

.bo-cf-cash-item,
.bo-cf-metric-row,
.bo-cf-side-item,
.bo-cf-next-step {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-cf-cash-item span,
.bo-cf-metric-row span,
.bo-cf-side-item small,
.bo-cf-side-item strong,
.bo-cf-side-item span,
.bo-cf-footnote,
.bo-cf-empty-state p,
.bo-cf-callout p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-cf-cash-item strong,
.bo-cf-metric-row strong,
.bo-cf-side-item-head strong,
.bo-cf-donut-ring strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-cf-cash-item--total {
  margin-top: 4px;
  padding-top: 14px;
}

.bo-cf-donut-card {
  display: grid;
  gap: 14px;
  align-items: center;
}

.bo-cf-donut-ring {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 18px solid #2c8cff;
  background: #fff;
  text-align: center;
  margin: 0 auto;
}

.bo-cf-donut-ring--debt {
  border-color: #df4a43;
}

.bo-cf-donut-ring span {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-cf-donut-legend {
  display: grid;
  gap: 10px;
}

.bo-cf-donut-legend div,
.bo-cf-side-item-head,
.bo-cf-next-step {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.dot.blue {
  background: #2c8cff;
}

.dot.green {
  background: #2ea75b;
}

.dot.violet {
  background: #8d56f2;
}

.bo-cf-metric-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bo-cf-metric-row strong.positive {
  color: #2ea75b;
}

.bo-cf-metric-row strong.negative {
  color: #df4a43;
}

.bo-cf-health-list {
  display: grid;
  gap: 14px;
}

.bo-cf-health-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.bo-cf-health-row span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
}

.bo-cf-health-row strong {
  color: var(--navy-900);
  font-size: 14px;
}

.bo-cf-health-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(36, 50, 111, 0.08);
  overflow: hidden;
}

.bo-cf-health-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}

.bo-cf-health-bar-fill--green {
  background: linear-gradient(90deg, #2ea75b, #23904e);
}

.bo-cf-health-bar-fill--violet {
  background: linear-gradient(90deg, #8d56f2, #6c44db);
}

.bo-cf-health-bar-fill--gold {
  background: linear-gradient(90deg, #f0ad2f, #d88f14);
}

.bo-cf-health-bar-fill--blue {
  background: linear-gradient(90deg, #2c8cff, #1958cf);
}

.bo-cf-side-stack {
  display: grid;
  gap: 18px;
}

.bo-cf-side-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-cf-side-item-head strong,
.bo-cf-next-step strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.bo-cf-side-item-head span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-cf-side-item-meta {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.bo-cf-side-item--metric .bo-cf-side-item-head {
  align-items: center;
}

.bo-cf-trend-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-cf-trend-chart {
  padding: 12px 8px 0;
}

.bo-cf-trend-chart svg {
  width: 100%;
  height: auto;
}

.bo-cf-trend-chart path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bo-cf-trend-chart path:nth-of-type(1) {
  stroke: #2ea75b;
}

.bo-cf-trend-chart path:nth-of-type(2) {
  stroke: #df4a43;
}

.bo-cf-trend-chart path:nth-of-type(3) {
  stroke: #2c8cff;
}

.bo-cf-next-step {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
}

.bo-cf-next-step-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(36, 50, 111, 0.24);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bo-cf-next-step-icon.is-done {
  border-color: #2ea75b;
  background: #2ea75b;
}

.bo-cf-footnote {
  margin: 12px 0 0;
}

.bo-rm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bo-rm-kpi-card,
.bo-rm-card {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-rm-kpi-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 16px 16px 14px;
}

.bo-rm-kpi-card--score {
  grid-template-columns: 84px minmax(0, 1fr);
}

.bo-rm-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 5px solid rgba(36, 50, 111, 0.1);
  background: #fff;
  text-align: center;
}

.bo-rm-score-ring strong {
  color: var(--navy-900);
  font-size: 38px;
  line-height: 1;
}

.bo-rm-score-ring span {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-rm-score-ring--green {
  border-color: #2ea75b;
}

.bo-rm-score-ring--blue {
  border-color: #2c8cff;
}

.bo-rm-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-rm-score-ring--danger {
  border-color: #df4a43;
}

.bo-rm-score-ring--neutral {
  border-color: rgba(36, 50, 111, 0.2);
}

.bo-rm-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bo-rm-kpi-card--green .bo-rm-kpi-icon {
  background: #2ea75b;
}

.bo-rm-kpi-card--blue .bo-rm-kpi-icon {
  background: #2c8cff;
}

.bo-rm-kpi-card--violet .bo-rm-kpi-icon {
  background: #8d56f2;
}

.bo-rm-kpi-card--gold .bo-rm-kpi-icon {
  background: #f0ad2f;
}

.bo-rm-kpi-card--danger .bo-rm-kpi-icon {
  background: #df4a43;
}

.bo-rm-kpi-card--neutral .bo-rm-kpi-icon {
  background: #7d8aa8;
}

.bo-rm-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-rm-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.1;
}

.bo-rm-kpi-card--score .bo-rm-kpi-copy strong {
  font-size: 17px;
}

.bo-rm-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-rm-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bo-rm-grid--top,
.bo-rm-grid--middle,
.bo-rm-grid--bottom {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 300px;
  align-items: start;
}

.bo-rm-card {
  padding: 18px;
}

.bo-rm-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-rm-card-head--split {
  align-items: center;
}

.bo-rm-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-rm-overview-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.bo-rm-overview-ring {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 16px solid #df4a43;
  background: #fff;
  text-align: center;
  margin: 0 auto;
}

.bo-rm-overview-ring strong {
  color: var(--navy-900);
  font-size: 42px;
  line-height: 1;
}

.bo-rm-overview-ring span {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-rm-overview-counts {
  display: grid;
  gap: 10px;
}

.bo-rm-overview-counts div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.bo-rm-overview-counts strong {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-rm-overview-counts small {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-rm-data-list,
.bo-rm-side-list,
.bo-rm-next-steps {
  display: grid;
  gap: 10px;
}

.bo-rm-data-row,
.bo-rm-side-item,
.bo-rm-next-step {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-rm-data-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bo-rm-data-row span,
.bo-rm-side-item small,
.bo-rm-side-item span,
.bo-rm-empty-state p,
.bo-rm-footnote {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-rm-data-row strong,
.bo-rm-side-item-head strong,
.bo-rm-donut-ring strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-rm-text--danger {
  color: #df4a43 !important;
}

.bo-rm-text--gold {
  color: #d88f14 !important;
}

.bo-rm-text--green {
  color: #2ea75b !important;
}

.bo-rm-text--blue {
  color: #2c8cff !important;
}

.bo-rm-text--violet {
  color: #8d56f2 !important;
}

.bo-rm-text--neutral {
  color: #62708d !important;
}

.bo-rm-side-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-rm-side-item-head,
.bo-rm-next-step,
.bo-rm-donut-legend div,
.bo-rm-heatmap-legend div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.bo-rm-side-item-head strong,
.bo-rm-next-step strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.bo-rm-side-item-head span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-rm-side-item-meta {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.bo-rm-donut-card {
  display: grid;
  gap: 14px;
  align-items: center;
}

.bo-rm-donut-ring {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 18px solid #23b29f;
  background: #fff;
  text-align: center;
  margin: 0 auto;
}

.bo-rm-donut-ring span {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-rm-donut-legend {
  display: grid;
  gap: 10px;
}

.bo-rm-heatmap-wrap {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: start;
}

.bo-rm-heatmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(36, 50, 111, 0.08);
}

.bo-rm-heatmap-cell {
  min-height: 78px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: start;
  justify-content: start;
  flex-wrap: wrap;
}

.bo-rm-heatmap-cell--high {
  background: linear-gradient(180deg, rgba(255, 221, 150, 0.95), rgba(255, 197, 118, 0.96));
}

.bo-rm-heatmap-cell--medium {
  background: linear-gradient(180deg, rgba(254, 241, 196, 0.95), rgba(255, 229, 156, 0.96));
}

.bo-rm-heatmap-cell--low {
  background: linear-gradient(180deg, rgba(220, 245, 227, 0.95), rgba(193, 236, 205, 0.96));
}

.bo-rm-heatmap-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bo-rm-heatmap-dot--danger {
  background: #df4a43;
}

.bo-rm-heatmap-dot--warn {
  background: #f0ad2f;
}

.bo-rm-heatmap-dot--success {
  background: #2ea75b;
}

.bo-rm-heatmap-legend {
  display: grid;
  gap: 10px;
}

.bo-rm-next-step {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
}

.bo-rm-next-step-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(36, 50, 111, 0.24);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bo-rm-next-step-icon.is-done {
  border-color: #2ea75b;
  background: #2ea75b;
}

.bo-rm-empty-state {
  display: grid;
  gap: 8px;
  padding: 12px 2px 2px;
}

.bo-rm-empty-state p,
.bo-rm-footnote {
  margin: 0;
}

.bo-succ-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bo-succ-kpi-card,
.bo-succ-card,
.bo-succ-callout {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-succ-kpi-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 16px 16px 14px;
}

.bo-succ-kpi-card--score {
  grid-template-columns: 84px minmax(0, 1fr);
}

.bo-succ-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 5px solid rgba(36, 50, 111, 0.1);
  background: #fff;
  text-align: center;
}

.bo-succ-score-ring strong {
  color: var(--navy-900);
  font-size: 38px;
  line-height: 1;
}

.bo-succ-score-ring span {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-succ-score-ring--green {
  border-color: #2ea75b;
}

.bo-succ-score-ring--blue {
  border-color: #2c8cff;
}

.bo-succ-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-succ-score-ring--danger {
  border-color: #df4a43;
}

.bo-succ-score-ring--neutral {
  border-color: rgba(36, 50, 111, 0.2);
}

.bo-succ-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bo-succ-kpi-card--green .bo-succ-kpi-icon {
  background: #2ea75b;
}

.bo-succ-kpi-card--blue .bo-succ-kpi-icon {
  background: #2c8cff;
}

.bo-succ-kpi-card--gold .bo-succ-kpi-icon {
  background: #f0ad2f;
}

.bo-succ-kpi-card--danger .bo-succ-kpi-icon {
  background: #df4a43;
}

.bo-succ-kpi-card--neutral .bo-succ-kpi-icon {
  background: #7d8aa8;
}

.bo-succ-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-succ-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.1;
}

.bo-succ-kpi-card--score .bo-succ-kpi-copy strong {
  font-size: 17px;
}

.bo-succ-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-succ-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bo-succ-grid--top,
.bo-succ-grid--middle,
.bo-succ-grid--bottom {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 300px;
  align-items: start;
}

.bo-succ-card {
  padding: 18px;
}

.bo-succ-card--coordination {
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(250, 252, 255, 0.98));
}

.bo-succ-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-succ-card-head--split {
  align-items: center;
}

.bo-succ-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-succ-overview-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.bo-succ-overview-ring {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 16px solid #f0ad2f;
  background: #fff;
  text-align: center;
  margin: 0 auto;
}

.bo-succ-overview-ring strong {
  color: var(--navy-900);
  font-size: 42px;
  line-height: 1;
}

.bo-succ-overview-ring span {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-succ-overview-counts {
  display: grid;
  gap: 10px;
}

.bo-succ-overview-counts div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.bo-succ-overview-counts strong {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-succ-overview-counts small {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.dot.gold {
  background: #f0ad2f;
}

.bo-succ-data-list,
.bo-succ-side-list,
.bo-succ-next-steps {
  display: grid;
  gap: 10px;
}

.bo-succ-data-row,
.bo-succ-side-item,
.bo-succ-next-step {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-succ-data-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bo-succ-data-row span,
.bo-succ-side-item small,
.bo-succ-side-item span,
.bo-succ-callout p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-succ-data-row strong,
.bo-succ-side-item-head strong,
.bo-succ-next-step strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-succ-text--danger {
  color: #df4a43 !important;
}

.bo-succ-text--gold {
  color: #d88f14 !important;
}

.bo-succ-text--green {
  color: #2ea75b !important;
}

.bo-succ-text--blue {
  color: #2c8cff !important;
}

.bo-succ-text--neutral {
  color: #62708d !important;
}

.bo-succ-side-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-succ-side-item-head,
.bo-succ-next-step {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.bo-succ-side-item-head strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.bo-succ-side-item-head span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-succ-side-item-meta {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.bo-succ-health-list {
  display: grid;
  gap: 14px;
}

.bo-succ-health-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.bo-succ-health-row span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
}

.bo-succ-health-row strong {
  color: var(--navy-900);
  font-size: 14px;
}

.bo-succ-health-row.is-overall {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-succ-health-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(36, 50, 111, 0.08);
  overflow: hidden;
}

.bo-succ-health-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}

.bo-succ-health-bar-fill--green {
  background: linear-gradient(90deg, #2ea75b, #23904e);
}

.bo-succ-health-bar-fill--gold {
  background: linear-gradient(90deg, #f0ad2f, #d88f14);
}

.bo-succ-health-bar-fill--danger {
  background: linear-gradient(90deg, #df4a43, #c83730);
}

.bo-succ-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.bo-succ-timeline-step {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  position: relative;
}

.bo-succ-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: rgba(36, 50, 111, 0.18);
}

.bo-succ-timeline-node {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  z-index: 1;
}

.bo-succ-timeline-node--green {
  background: #2ea75b;
}

.bo-succ-timeline-node--gold {
  background: #f0ad2f;
}

.bo-succ-timeline-node--danger {
  background: #df4a43;
}

.bo-succ-timeline-node--neutral {
  background: #7d8aa8;
}

.bo-succ-timeline-step strong {
  color: var(--navy-900);
  font-size: 13px;
  line-height: 1.35;
}

.bo-succ-timeline-step span,
.bo-succ-timeline-step small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.bo-succ-next-step {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
}

.bo-succ-next-step-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(36, 50, 111, 0.24);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bo-succ-next-step-icon.is-done {
  border-color: #2ea75b;
  background: #2ea75b;
}

.bo-succ-callout {
  margin-top: 18px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.bo-succ-callout p {
  margin: 0;
  color: #405172;
}

.bo-est-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bo-est-kpi-card,
.bo-est-card,
.bo-est-callout {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-est-kpi-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 16px 16px 14px;
}

.bo-est-kpi-card--score {
  grid-template-columns: 84px minmax(0, 1fr);
}

.bo-est-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 5px solid rgba(36, 50, 111, 0.1);
  background: #fff;
  text-align: center;
}

.bo-est-score-ring strong {
  color: var(--navy-900);
  font-size: 38px;
  line-height: 1;
}

.bo-est-score-ring span {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-est-score-ring--green {
  border-color: #2ea75b;
}

.bo-est-score-ring--blue {
  border-color: #2c8cff;
}

.bo-est-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-est-score-ring--danger {
  border-color: #df4a43;
}

.bo-est-score-ring--neutral {
  border-color: rgba(36, 50, 111, 0.2);
}

.bo-est-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bo-est-kpi-card--green .bo-est-kpi-icon {
  background: #2ea75b;
}

.bo-est-kpi-card--blue .bo-est-kpi-icon {
  background: #2c8cff;
}

.bo-est-kpi-card--gold .bo-est-kpi-icon {
  background: #f0ad2f;
}

.bo-est-kpi-card--danger .bo-est-kpi-icon {
  background: #df4a43;
}

.bo-est-kpi-card--neutral .bo-est-kpi-icon {
  background: #7d8aa8;
}

.bo-est-kpi-card--teal .bo-est-kpi-icon {
  background: #23b29f;
}

.bo-est-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-est-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.1;
}

.bo-est-kpi-card--score .bo-est-kpi-copy strong {
  font-size: 17px;
}

.bo-est-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-est-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bo-est-grid--top,
.bo-est-grid--middle,
.bo-est-grid--bottom {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 300px;
  align-items: start;
}

.bo-est-card {
  padding: 18px;
}

.bo-est-card--coordination {
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(250, 252, 255, 0.98));
}

.bo-est-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-est-card-head--split {
  align-items: center;
}

.bo-est-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-est-overview-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.bo-est-overview-ring {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 16px solid #f0ad2f;
  background: #fff;
  text-align: center;
  margin: 0 auto;
}

.bo-est-overview-ring strong {
  color: var(--navy-900);
  font-size: 42px;
  line-height: 1;
}

.bo-est-overview-ring span {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-est-overview-counts {
  display: grid;
  gap: 10px;
}

.bo-est-overview-counts div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.bo-est-overview-counts strong {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-est-overview-counts small {
  color: #51607c;
  font-size: 13px;
  font-weight: 700;
}

.bo-est-data-list,
.bo-est-side-list,
.bo-est-next-steps {
  display: grid;
  gap: 10px;
}

.bo-est-data-row,
.bo-est-side-item,
.bo-est-next-step {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-est-data-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bo-est-data-row span,
.bo-est-side-item small,
.bo-est-side-item span,
.bo-est-callout p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-est-data-row strong,
.bo-est-side-item-head strong,
.bo-est-next-step strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-est-text--danger {
  color: #df4a43 !important;
}

.bo-est-text--gold {
  color: #d88f14 !important;
}

.bo-est-text--green {
  color: #2ea75b !important;
}

.bo-est-text--blue {
  color: #2c8cff !important;
}

.bo-est-text--teal {
  color: #23b29f !important;
}

.bo-est-text--neutral {
  color: #62708d !important;
}

.bo-est-side-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-est-side-item-head,
.bo-est-next-step {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.bo-est-side-item-head strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.bo-est-side-item-head span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-est-side-item-meta {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.bo-est-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.bo-est-timeline-step {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  position: relative;
}

.bo-est-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: rgba(36, 50, 111, 0.18);
}

.bo-est-timeline-node {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  z-index: 1;
}

.bo-est-timeline-node--green {
  background: #2ea75b;
}

.bo-est-timeline-node--gold {
  background: #f0ad2f;
}

.bo-est-timeline-node--danger {
  background: #df4a43;
}

.bo-est-timeline-node--neutral {
  background: #7d8aa8;
}

.bo-est-timeline-step strong {
  color: var(--navy-900);
  font-size: 13px;
  line-height: 1.35;
}

.bo-est-timeline-step span,
.bo-est-timeline-step small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.bo-est-next-step {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
}

.bo-est-next-step-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(36, 50, 111, 0.24);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bo-est-next-step-icon.is-done {
  border-color: #2ea75b;
  background: #2ea75b;
}

.bo-est-callout {
  margin-top: 18px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.bo-est-callout p {
  margin: 0;
  color: #405172;
}

.bo-bv-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bo-bv-kpi-card,
.bo-bv-card,
.bo-bv-callout {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-bv-kpi-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 16px 16px 14px;
}

.bo-bv-kpi-card--score {
  grid-template-columns: 84px minmax(0, 1fr);
}

.bo-bv-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 5px solid rgba(36, 50, 111, 0.1);
  background: #fff;
  text-align: center;
}

.bo-bv-score-ring strong {
  color: var(--navy-900);
  font-size: 38px;
  line-height: 1;
}

.bo-bv-score-ring span {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-bv-score-ring--green {
  border-color: #2ea75b;
}

.bo-bv-score-ring--blue {
  border-color: #2c8cff;
}

.bo-bv-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-bv-score-ring--danger {
  border-color: #df4a43;
}

.bo-bv-score-ring--neutral {
  border-color: rgba(36, 50, 111, 0.2);
}

.bo-bv-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bo-bv-kpi-card--green .bo-bv-kpi-icon {
  background: #2ea75b;
}

.bo-bv-kpi-card--blue .bo-bv-kpi-icon {
  background: #2c8cff;
}

.bo-bv-kpi-card--gold .bo-bv-kpi-icon {
  background: #f0ad2f;
}

.bo-bv-kpi-card--danger .bo-bv-kpi-icon {
  background: #df4a43;
}

.bo-bv-kpi-card--neutral .bo-bv-kpi-icon {
  background: #7d8aa8;
}

.bo-bv-kpi-card--teal .bo-bv-kpi-icon {
  background: #23b29f;
}

.bo-bv-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-bv-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.1;
}

.bo-bv-kpi-card--score .bo-bv-kpi-copy strong {
  font-size: 17px;
}

.bo-bv-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-bv-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bo-bv-grid--top,
.bo-bv-grid--middle,
.bo-bv-grid--bottom {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) 320px;
  align-items: start;
}

.bo-bv-card {
  padding: 18px;
}

.bo-bv-card--coordination {
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(250, 252, 255, 0.98));
}

.bo-bv-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-bv-card-head--split {
  align-items: center;
}

.bo-bv-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-bv-overview-hero {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 8px 0 14px;
}

.bo-bv-overview-hero strong {
  color: var(--navy-900);
  font-size: 44px;
  line-height: 1;
}

.bo-bv-overview-hero span,
.bo-bv-data-row span,
.bo-bv-side-item small,
.bo-bv-side-item span,
.bo-bv-callout p,
.bo-bv-composition-legend small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-bv-data-list,
.bo-bv-side-list,
.bo-bv-next-steps {
  display: grid;
  gap: 10px;
}

.bo-bv-data-row,
.bo-bv-side-item,
.bo-bv-next-step {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-bv-data-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bo-bv-data-row strong,
.bo-bv-side-item-head strong,
.bo-bv-next-step strong,
.bo-bv-assessment-total strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-bv-text--danger {
  color: #df4a43 !important;
}

.bo-bv-text--gold {
  color: #d88f14 !important;
}

.bo-bv-text--green {
  color: #2ea75b !important;
}

.bo-bv-text--blue {
  color: #2c8cff !important;
}

.bo-bv-text--teal {
  color: #23b29f !important;
}

.bo-bv-text--neutral {
  color: #62708d !important;
}

.bo-bv-side-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-bv-side-item-head,
.bo-bv-next-step {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.bo-bv-side-item-head strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.35;
}

.bo-bv-side-item-head span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-bv-side-item-meta {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.bo-bv-health-list {
  display: grid;
  gap: 14px;
}

.bo-bv-health-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.bo-bv-health-row span,
.bo-bv-assessment-total span {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
}

.bo-bv-health-row strong {
  color: var(--navy-900);
  font-size: 14px;
}

.bo-bv-health-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(36, 50, 111, 0.08);
  overflow: hidden;
}

.bo-bv-health-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}

.bo-bv-health-bar-fill--green {
  background: linear-gradient(90deg, #2ea75b, #23904e);
}

.bo-bv-health-bar-fill--gold {
  background: linear-gradient(90deg, #f0ad2f, #d88f14);
}

.bo-bv-health-bar-fill--danger {
  background: linear-gradient(90deg, #df4a43, #c83730);
}

.bo-bv-assessment-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 50, 111, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.bo-bv-composition-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.bo-bv-composition-ring {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 18px;
}

.bo-bv-composition-core {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 8px 18px rgba(18, 31, 61, 0.08);
}

.bo-bv-composition-core strong {
  color: var(--navy-900);
  font-size: 32px;
  line-height: 1.05;
}

.bo-bv-composition-core span {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.bo-bv-composition-legend {
  display: grid;
  gap: 12px;
}

.bo-bv-composition-legend div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.bo-bv-composition-legend strong {
  color: var(--navy-900);
  font-size: 13px;
}

.bo-bv-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.bo-bv-table {
  width: 100%;
  border-collapse: collapse;
}

.bo-bv-table th,
.bo-bv-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
  text-align: left;
}

.bo-bv-table th {
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bo-bv-table td {
  color: var(--navy-900);
  font-size: 14px;
}

.bo-bv-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.bo-bv-timeline-step {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  position: relative;
}

.bo-bv-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: rgba(36, 50, 111, 0.18);
}

.bo-bv-timeline-node {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  z-index: 1;
}

.bo-bv-timeline-node--green {
  background: #2ea75b;
}

.bo-bv-timeline-node--gold {
  background: #f0ad2f;
}

.bo-bv-timeline-node--danger {
  background: #df4a43;
}

.bo-bv-timeline-node--neutral {
  background: #7d8aa8;
}

.bo-bv-timeline-step strong {
  color: var(--navy-900);
  font-size: 13px;
  line-height: 1.35;
}

.bo-bv-timeline-step span,
.bo-bv-timeline-step small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.bo-bv-next-step {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
}

.bo-bv-next-step-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(36, 50, 111, 0.24);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.bo-bv-next-step-icon.is-done {
  border-color: #2ea75b;
  background: #2ea75b;
}

.bo-bv-callout {
  margin-top: 18px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.bo-bv-callout p {
  margin: 0;
  color: #405172;
}

.bo-prof-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bo-prof-kpi-card,
.bo-prof-card,
.bo-prof-callout {
  border-radius: 20px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(18, 31, 61, 0.05);
}

.bo-prof-kpi-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 16px 16px 14px;
}

.bo-prof-kpi-card:not(.bo-prof-kpi-card--score) {
  grid-template-columns: 48px minmax(0, 1fr);
}

.bo-prof-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 8px solid rgba(36, 50, 111, 0.1);
  background: #fff;
  text-align: center;
}

.bo-prof-score-ring strong {
  color: var(--navy-900);
  font-size: 32px;
  line-height: 1;
}

.bo-prof-score-ring--green {
  border-color: #2ea75b;
}

.bo-prof-score-ring--teal {
  border-color: #23b29f;
}

.bo-prof-score-ring--gold {
  border-color: #f0ad2f;
}

.bo-prof-score-ring--danger {
  border-color: #df4a43;
}

.bo-prof-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bo-prof-kpi-card--green .bo-prof-kpi-icon {
  background: #2ea75b;
}

.bo-prof-kpi-card--teal .bo-prof-kpi-icon {
  background: #23b29f;
}

.bo-prof-kpi-card--blue .bo-prof-kpi-icon {
  background: #2c8cff;
}

.bo-prof-kpi-card--violet .bo-prof-kpi-icon {
  background: #7a3ff1;
}

.bo-prof-kpi-card--orange .bo-prof-kpi-icon {
  background: #f08d14;
}

.bo-prof-kpi-card--gold .bo-prof-kpi-icon {
  background: #f0ad2f;
}

.bo-prof-kpi-card--danger .bo-prof-kpi-icon {
  background: #df4a43;
}

.bo-prof-kpi-card--neutral .bo-prof-kpi-icon {
  background: #7d8aa8;
}

.bo-prof-kpi-copy span {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.bo-prof-kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.15;
}

.bo-prof-kpi-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bo-prof-kpi-copy .button.text-button {
  margin-top: 10px;
  padding-left: 0;
}

.bo-prof-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bo-prof-grid--main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bo-prof-grid--summary {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: start;
}

.bo-prof-card {
  padding: 18px;
}

.bo-prof-card--wide {
  min-height: 0;
}

.bo-prof-card--cta {
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(250, 252, 255, 0.98));
  display: grid;
  gap: 14px;
  align-content: start;
}

.bo-prof-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.bo-prof-card-head--split {
  align-items: center;
}

.bo-prof-card-head h4 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.bo-prof-data-list {
  display: grid;
  gap: 10px;
}

.bo-prof-data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 50, 111, 0.08);
}

.bo-prof-data-row span,
.bo-prof-callout p,
.bo-prof-cta-copy,
.bo-prof-card--cta small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bo-prof-data-row strong,
.bo-prof-missing-group strong {
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.3;
}

.bo-prof-text--danger {
  color: #df4a43 !important;
}

.bo-prof-text--gold {
  color: #d88f14 !important;
}

.bo-prof-text--green {
  color: #2ea75b !important;
}

.bo-prof-text--blue {
  color: #2c8cff !important;
}

.bo-prof-text--teal {
  color: #23b29f !important;
}

.bo-prof-text--violet {
  color: #7a3ff1 !important;
}

.bo-prof-text--neutral {
  color: #62708d !important;
}

.bo-prof-missing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.bo-prof-missing-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 50, 111, 0.08);
  background: rgba(247, 249, 252, 0.72);
}

.bo-prof-missing-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bo-prof-missing-item span {
  color: var(--navy-900);
  font-size: 13px;
  line-height: 1.35;
}

.bo-prof-callout {
  margin-top: 18px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.bo-prof-callout p {
  margin: 0;
  color: #405172;
}

.bo-tax-card,
.bo-ret-card,
.bo-cf-card,
.bo-rm-card,
.bo-succ-card,
.bo-est-card,
.bo-bv-card,
.bo-prof-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.bo-ret-grid--top,
.bo-ret-grid--bottom,
.bo-cf-grid--top,
.bo-cf-grid--middle,
.bo-cf-grid--bottom,
.bo-rm-grid--top,
.bo-rm-grid--middle,
.bo-rm-grid--bottom,
.bo-succ-grid--top,
.bo-succ-grid--middle,
.bo-succ-grid--bottom,
.bo-est-grid--top,
.bo-est-grid--middle,
.bo-est-grid--bottom,
.bo-bv-grid--top,
.bo-bv-grid--middle,
.bo-bv-grid--bottom,
.bo-tax-layout,
.bo-opp-page-shell {
  align-items: start;
}

.bo-succ-timeline,
.bo-est-timeline,
.bo-bv-timeline {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

@media (max-width: 1024px) {
  .advisor-hero-grid,
  .advisor-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-sample-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-preview-panel-meta,
  .bo-preview-meta-grid,
  .bo-preview-trigger-grid,
  .bo-preview-grid,
  .bo-preview-score-grid,
  .bo-preview-grid-three,
  .bo-preview-dashboard-grid,
  .bo-opp-kpi-grid,
  .bo-opp-empty-grid,
  .bo-tax-profile-grid,
  .bo-tax-impact-grid,
  .bo-ret-structure-list,
  .bo-prof-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-preview-dashboard-grid--top,
  .bo-preview-dashboard-grid--bottom,
  .bo-preview-impact-hero,
  .bo-opp-page-shell,
  .bo-opp-detail-metrics,
  .bo-opp-filter-row,
  .bo-tax-layout,
  .bo-ret-grid--top,
  .bo-ret-grid--bottom,
  .bo-ret-summary-ring-wrap,
  .bo-ret-structure-grid,
  .bo-ret-capacity-item,
  .bo-cf-grid--top,
  .bo-cf-grid--middle,
  .bo-cf-grid--bottom,
  .bo-cf-cash-grid,
  .bo-cf-debt-grid,
  .bo-cf-health-row,
  .bo-rm-grid--top,
  .bo-rm-grid--middle,
  .bo-rm-grid--bottom,
  .bo-rm-overview-grid,
  .bo-rm-heatmap-wrap,
  .bo-rm-data-row,
  .bo-succ-grid--top,
  .bo-succ-grid--middle,
  .bo-succ-grid--bottom,
  .bo-succ-overview-grid,
  .bo-succ-data-row,
  .bo-succ-health-row,
  .bo-succ-timeline,
  .bo-est-grid--top,
  .bo-est-grid--middle,
  .bo-est-grid--bottom,
  .bo-est-overview-grid,
  .bo-est-data-row,
  .bo-est-timeline,
  .bo-bv-grid--top,
  .bo-bv-grid--middle,
  .bo-bv-grid--bottom,
  .bo-bv-composition-wrap,
  .bo-bv-data-row,
  .bo-bv-health-row,
  .bo-bv-timeline,
  .bo-prof-grid--main,
  .bo-prof-grid--summary,
  .bo-prof-data-row,
  .bo-prof-missing-grid,
  .bo-prof-missing-item {
    grid-template-columns: 1fr;
  }

  .bo-preview-shell-head,
  .bo-preview-shell-controls,
  .bo-opp-detail-hero {
    grid-template-columns: 1fr;
  }

  .bo-preview-shell-controls {
    justify-content: stretch;
  }

  .bo-status-strip {
    align-items: flex-start;
  }

  .bo-preview-details {
    margin-left: 0;
    width: 100%;
  }

  .bo-opp-detail-panel {
    position: static;
  }

  .advisor-span-8,
  .advisor-span-7,
  .advisor-span-5,
  .advisor-span-4,
  .advisor-span-12 {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .advisor-hero-grid,
  .advisor-metrics,
  .advisor-mix-grid,
  .advisor-legend-grid,
  .advisor-flow-list,
  .bo-sample-stat-grid,
  .bo-sample-score-grid,
  .bo-preview-panel-meta,
  .bo-preview-meta-grid,
  .bo-preview-trigger-grid,
  .bo-preview-grid,
  .bo-preview-score-grid,
  .bo-preview-grid-three,
  .bo-preview-scoreboard,
  .bo-preview-dashboard-grid,
  .bo-opp-kpi-grid,
  .bo-opp-empty-grid,
  .bo-tax-kpi-grid,
  .bo-tax-profile-grid,
  .bo-tax-impact-grid,
  .bo-ret-kpi-grid,
  .bo-ret-structure-list,
  .bo-cf-kpi-grid,
  .bo-rm-kpi-grid,
  .bo-succ-kpi-grid,
  .bo-est-kpi-grid,
  .bo-bv-kpi-grid,
  .bo-prof-kpi-grid,
  .mrb-feature-banner,
  .mrb-impact-grid {
    grid-template-columns: 1fr;
  }

  .advisor-hero-title {
    font-size: 30px;
  }

  .advisor-bar-row {
    grid-template-columns: 1fr;
  }

  .bo-sample-opportunity-head,
  .bo-sample-opportunity-meta,
  .bo-sample-coordination-head,
  .bo-preview-card-head,
  .bo-preview-section-head,
  .bo-preview-summary-head,
  .bo-preview-summary-meta,
  .bo-sample-impact-item,
  .bo-preview-impact-item,
  .bo-sample-change-item,
  .bo-preview-shell-head,
  .bo-preview-shell-controls,
  .bo-preview-data-needed,
  .bo-preview-tab-panel-head,
  .bo-opp-panel-head,
  .bo-opp-detail-head,
  .bo-tax-card-head,
  .bo-tax-side-item-head,
  .bo-ret-card-head,
  .bo-ret-side-item-head,
  .bo-ret-callout,
  .bo-cf-card-head,
  .bo-cf-side-item-head,
  .bo-cf-next-step,
  .bo-cf-donut-legend div,
  .bo-rm-card-head,
  .bo-rm-side-item-head,
  .bo-rm-next-step,
  .bo-rm-donut-legend div,
  .bo-rm-heatmap-legend div,
  .bo-succ-card-head,
  .bo-succ-side-item-head,
  .bo-succ-next-step,
  .bo-est-card-head,
  .bo-est-side-item-head,
  .bo-est-next-step,
  .bo-bv-card-head,
  .bo-bv-side-item-head,
  .bo-bv-next-step,
  .bo-prof-card-head {
    flex-direction: column;
  }

  .bo-sample-opportunity-value {
    min-width: 0;
    text-align: left;
  }

  .bo-preview-data-needed-actions {
    grid-auto-flow: row;
  }

  .bo-page-header h4 {
    font-size: 24px;
  }

  .bo-preview-opportunity-row {
    grid-template-columns: 16px 1fr;
  }

  .bo-preview-opportunity-meta {
    grid-column: 2;
    justify-items: start;
  }

  .bo-opp-filter-row {
    grid-template-columns: 1fr;
  }

  .bo-opp-sort-row {
    justify-content: start;
  }

  .bo-opp-table thead {
    display: none;
  }

  .bo-opp-table,
  .bo-opp-table tbody,
  .bo-opp-table tr,
  .bo-opp-table td {
    display: block;
    width: 100%;
  }

  .bo-opp-table tbody tr {
    padding: 12px 0;
  }

  .bo-opp-table tbody td {
    padding: 6px 0;
    border-bottom: 0;
  }

  .bo-bv-table thead {
    display: none;
  }

  .bo-bv-table,
  .bo-bv-table tbody,
  .bo-bv-table tr,
  .bo-bv-table td {
    display: block;
    width: 100%;
  }

  .bo-bv-table tbody tr {
    padding: 12px 0;
  }

  .bo-bv-table tbody td {
    padding: 6px 0;
    border-bottom: 0;
  }

  .advisor-bars {
    gap: 8px;
  }

  .bo-preview-meta-item-wide {
    grid-column: auto;
  }
}

