/* COMPLEX PAGES */

/* SHARED COMPLEX PAGE PANEL CONTROLS */
.bawd-complex.expenses-complex.expenses-complex-page .expenses-page-panel-controls,
.bawd-complex.funding-complex.funding-complex-page .funding-page-panel-controls,
.bawd-complex.historical-financials-complex-page .historical-financials-page-panel-controls,
.bawd-complex.revenue-complex-page .revenue-page-panel-controls,
.bawd-complex.balance-sheet-complex-page .balance-sheet-page-panel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
}

/* SHARED COMPLEX OUTPUT WIDTHS */
.bawd-complex .complex-deck-output,
.bawd-complex .complex-kpi-output,
.bawd-complex .complex-chart-output,
.bawd-complex .complex-table-output,
.bawd-complex .complex-deck-stage,
.bawd-complex .complex-kpi-stage,
.bawd-complex .complex-chart-stage,
.bawd-complex .complex-table-stage,
.bawd-complex .complex-stage {
  max-width: 1400px;
  width: 100%;
}

.bawd-complex .complex-deck-stage,
.bawd-complex .complex-kpi-stage,
.bawd-complex .complex-chart-stage,
.bawd-complex .complex-table-stage {
  display: block;
}

/* SHARED COMPLEX CONTROL ROWS */
.bawd-complex .complex-chart-toggle,
.bawd-complex.revenue-complex-page .revenue-chart-view-toggle,
.bawd-complex.revenue-complex-page .revenue-chart-type-toggle,
.bawd-complex.revenue-complex-page .revenue-chart-year-toggle,
.bawd-complex.revenue-complex-page .revenue-table-view-toggle,
.bawd-complex.historical-financials-complex-page .historical-financials-chart-toggle,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-view-toggle,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-type-toggle,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-year-toggle,
.bawd-complex.balance-sheet-complex-page .balance-sheet-table-view-toggle,
.bawd-complex.balance-sheet-complex-page .balance-sheet-table-controls,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bawd-complex.revenue-complex-page .revenue-chart-controls,
.bawd-complex.revenue-complex-page .revenue-table-controls,
.bawd-complex.historical-financials-complex-page .historical-financials-chart-controls,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-controls,
.bawd-complex.balance-sheet-complex-page .balance-sheet-table-controls {
  margin: 0 0 14px;
}

.bawd-complex .complex-control-spacer {
  display: inline-flex;
  width: 0;
  min-height: 36px;
  margin: 0 14px;
  border-left: 4px solid #083F4B;
}

.bawd-complex .complex-control-label,
.bawd-complex.revenue-complex-page .revenue-visible-years-label,
.bawd-complex.balance-sheet-complex-page .balance-sheet-visible-years-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #083F4B;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* SHARED DECK SUMMARY */
.bawd-complex .complex-deck-summary,
.bawd-complex .complex-deck-summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: end;
  padding: 18px 20px;
  border: 1px solid #CFE9EE;
  border-left: 6px solid #0D6E82;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 244, 246, 0.96), rgba(248, 250, 251, 0.98));
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex .complex-deck-summary-eyebrow,
.bawd-complex .complex-eyebrow {
  color: #0D6E82;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bawd-complex .complex-deck-summary-title,
.bawd-complex .complex-deck-summary-card h3 {
  margin: 0;
  color: #083F4B;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.bawd-complex .complex-deck-summary-card p {
  margin: 4px 0 0;
  color: #5B6870;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

.bawd-complex .complex-deck-summary-amount,
.bawd-complex .complex-deck-summary-card__value {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #083F4B;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.bawd-complex .complex-deck-summary-note {
  grid-column: 1 / -1;
  color: #5B6870;
  font-size: 0.8125rem;
  font-weight: 700;
}

.bawd-complex .complex-deck-summary-controls {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* SHARED DECK CARDS */
.bawd-complex .complex-deck-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.bawd-complex .complex-deck-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
  color: #083F4B;
  text-decoration: none;
}

.bawd-complex a.complex-deck-card:hover,
.bawd-complex a.complex-deck-card:focus {
  color: #083F4B;
  text-decoration: none;
  border-color: #2998A7;
  box-shadow: 0 6px 18px rgba(8, 63, 75, 0.12);
}

.bawd-complex .complex-deck-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.bawd-complex .complex-deck-card-icon,
.bawd-complex .complex-deck-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #E6F4F6;
  color: #0D6E82;
  font-size: 1.1rem;
}

.bawd-complex .complex-deck-card-title-wrap {
  min-width: 0;
}

.bawd-complex .complex-deck-card-title,
.bawd-complex .complex-deck-card h3 {
  margin: 0 0 6px;
  color: #083F4B;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}

.bawd-complex .complex-deck-card-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #EEF7F8;
  color: #0D6E82;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.bawd-complex .complex-deck-card-body,
.bawd-complex .complex-deck-card__body p {
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.42;
}

.bawd-complex .complex-deck-card-metrics,
.bawd-complex .complex-deck-card__metric {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: auto 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #F8FAFB;
  border: 1px solid #E6F4F6;
}

.bawd-complex .complex-deck-card-percent,
.bawd-complex .complex-deck-card__metric-value {
  color: #0D6E82;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.bawd-complex .complex-deck-card-amount,
.bawd-complex .complex-deck-card__metric-label {
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 900;
}

.bawd-complex .complex-deck-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid #0D6E82;
  border-radius: 999px;
  background: #083F4B;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(8, 63, 75, 0.18);
}

.bawd-complex .complex-deck-card-link:hover,
.bawd-complex .complex-deck-card-link:focus {
  background: #0D6E82;
  border-color: #0D6E82;
  color: #FFFFFF;
  text-decoration: none;
}

.bawd-complex .complex-deck-card-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* SHARED KPI CARDS */
.bawd-complex .complex-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 14px;
}

.bawd-complex .complex-kpi-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 132px;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-left: 5px solid #0D6E82;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex .complex-kpi-card-icon,
.bawd-complex .complex-kpi-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #E6F4F6;
  color: #0D6E82;
  font-size: 1.1rem;
}

.bawd-complex .complex-kpi-card-content,
.bawd-complex .complex-kpi-card__body {
  min-width: 0;
}

.bawd-complex .complex-kpi-card-label,
.bawd-complex .complex-kpi-card__label {
  display: block;
  margin: 0 0 6px;
  color: #0D6E82;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bawd-complex .complex-kpi-card-value,
.bawd-complex .complex-kpi-card__value {
  display: block;
  margin: 0 0 6px;
  color: #083F4B;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.bawd-complex .complex-kpi-card-note,
.bawd-complex .complex-kpi-card__note {
  display: block;
  color: #5B6870;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

/* SHARED GENERATED TABLES */
.bawd-complex.revenue-complex-page .revenue-generated-table,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table {
  max-width: 1400px;
  width: 100%;
}

.bawd-complex.revenue-complex-page .revenue-generated-table .view-content,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table .view-content,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table .view-content {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table thead th,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table thead th {
  padding: 10px 12px;
  border-right: 1px solid #CFE9EE;
  background: #0D6E82;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tbody td,
.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tfoot td,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tfoot td,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody td,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tfoot td {
  padding: 9px 12px;
  border-right: 1px solid #E6F4F6;
  border-bottom: 1px solid #E6F4F6;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

/* SHARED CHART STAGES */
.bawd-complex.revenue-complex-page .revenue-chart-stage,
.bawd-complex.historical-financials-complex-page .historical-financials-chart-stage,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage {
  max-width: 1400px;
  width: 100%;
  overflow-x: auto;
}

.bawd-complex.revenue-complex-page .revenue-chart-stage .bawd-scrollable-chart-center,
.bawd-complex.historical-financials-complex-page .historical-financials-chart-stage .bawd-scrollable-chart-center,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage .bawd-scrollable-chart-center {
  width: 100%;
  overflow-x: auto;
}

.bawd-complex.revenue-complex-page .revenue-chart-stage .bawd-scrollable-chart-inner,
.bawd-complex.historical-financials-complex-page .historical-financials-chart-stage .bawd-scrollable-chart-inner,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage .bawd-scrollable-chart-inner {
  min-width: 1000px;
}

.bawd-complex.revenue-complex-page .revenue_complex_chart_div,
.bawd-complex.historical-financials-complex-page .historical_financials_chart_div,
.bawd-complex.balance-sheet-complex-page .balance_sheet_chart_div {
  width: 1000px;
  height: 560px;
  min-height: 560px;
}

/* EXPENSES COLOR MAPPING */
.bawd-complex.expenses-complex.expenses-complex-page .expenses-deck-card--cogs {
  border-top: 5px solid #083F4B;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-deck-card--fixed {
  border-top: 5px solid #2998A7;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-deck-card--personnel {
  border-top: 5px solid #7ABFBE;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-deck-card--startup,
.bawd-complex.expenses-complex.expenses-complex-page .expenses-deck-card--funds-use {
  border-top: 5px solid #CFE9EE;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-deck-card--pl-adjustments {
  border-top: 5px solid #0D6E82;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-kpi-card--total {
  border-left-color: #083F4B;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-kpi-card--largest {
  border-left-color: #2998A7;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-kpi-card--monthly-average {
  border-left-color: #7ABFBE;
}

.bawd-complex.expenses-complex.expenses-complex-page .expenses-kpi-card--expense-revenue-ratio {
  border-left-color: #0D6E82;
}

/* FUNDING & CAPITALIZATION TABLE */
.bawd-complex.funding-complex.funding-complex-page .funding-table-wrap {
  max-width: 1400px;
  width: 100%;
}

.bawd-complex.funding-complex.funding-complex-page .funding-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table thead th {
  padding: 10px 12px;
  border-right: 1px solid #CFE9EE;
  background: #0D6E82;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table thead th.funding-label-cell {
  text-align: left;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td {
  padding: 9px 12px;
  border-right: 1px solid #E6F4F6;
  border-bottom: 1px solid #E6F4F6;
  text-align: right;
  vertical-align: middle;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-label-cell,
.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-type-cell {
  text-align: left;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-label-cell {
  min-width: 220px;
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-type-cell {
  min-width: 220px;
  color: #083F4B;
  font-weight: 700;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-money-cell,
.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-percent-cell,
.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-term-cell,
.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-rate-cell,
.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-month-cell {
  white-space: nowrap;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-group-row td.funding-table-group-cell {
  padding: 8px 12px;
  border-top: 2px solid #0D6E82;
  border-bottom: 1px solid #0D6E82;
  background: #083F4B;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-group-row--owner td.funding-table-group-cell,
.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-group-row--surplus td.funding-table-group-cell {
  background: #0D6E82;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-group-row--finance-lines td.funding-table-group-cell {
  background: #2998A7;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-group-row--deficit td.funding-table-group-cell {
  background: #083F4B;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--need td {
  background: #EEF7F8;
  font-weight: 900;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--owner td {
  background: #F8FAFB;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--line td {
  background: #FFFFFF;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--surplus td {
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--deficit td {
  background: #FFF7E6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td.funding-na-cell {
  background: #EEF7F8;
  color: #0D6E82;
  font-weight: 900;
  text-align: center;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--need td.funding-label-cell,
.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--deficit td.funding-label-cell {
  border-left: 5px solid #083F4B;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--owner td.funding-label-cell {
  border-left: 5px solid #2998A7;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--line td.funding-label-cell {
  border-left: 5px solid #7ABFBE;
}

.bawd-complex.funding-complex.funding-complex-page table.funding-table tr.funding-table-row--surplus td.funding-label-cell {
  border-left: 5px solid #0D6E82;
}

.bawd-complex.funding-complex.funding-complex-page .funding-deck-card--deficit {
  border-top: 5px solid #C46A12;
}

.bawd-complex.funding-complex.funding-complex-page .funding-kpi-card--deficit {
  border-left-color: #C46A12;
}

/* HISTORICAL FINANCIALS KPI SPECIAL LAYOUT */
.bawd-complex.historical-financials-complex-page .historical-financials-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value"
    "icon note";
  gap: 5px 14px;
  align-items: start;
  min-height: 150px;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-left: 5px solid #0D6E82;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card::before {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #E6F4F6;
  color: #0D6E82;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-label {
  grid-area: label;
  margin: 0 0 3px;
  color: #0D6E82;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-value {
  grid-area: value;
  margin: 0 0 3px;
  color: #083F4B;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-note {
  grid-area: note;
  color: #5B6870;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--revenue {
  border-left-color: #0D6E82;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--revenue::before {
  content: "\f201";
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--positive {
  border-left-color: #2998A7;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--positive::before {
  content: "\f062";
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--negative {
  border-left-color: #C46A12;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--negative::before {
  content: "\f063";
  background: #FFF3E0;
  color: #8A4300;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--neutral {
  border-left-color: #7ABFBE;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--neutral::before {
  content: "\f52c";
  background: #EEF7F8;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--margin {
  border-left-color: #083F4B;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--margin::before {
  content: "\25";
  color: #083F4B;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--expense {
  border-left-color: #C46A12;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--expense::before {
  content: "\f53a";
  background: #FFF3E0;
  color: #8A4300;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--people {
  border-left-color: #6B8F97;
}

.bawd-complex.historical-financials-complex-page .historical-financials-kpi-card--people::before {
  content: "\f0c0";
  background: #EEF7F8;
  color: #083F4B;
}

/* HISTORICAL FINANCIALS GENERATED TABLE */
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table {
  min-width: 1180px;
}

.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th:first-child,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th:nth-child(2),
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td:first-child,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td:nth-child(2) {
  text-align: left;
}

.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td:first-child,
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td:nth-child(2) {
  font-weight: 900;
}

.bawd-complex.historical-financials-complex-page .historical-financials-table--revenue {
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.historical-financials-complex-page .historical-financials-table--profit {
  background: #EEF7F8;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.historical-financials-complex-page .historical-financials-table--expense {
  background: #FFF7E6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td:nth-child(7) {
  background: #E6F4F6;
}

.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td:nth-child(8) {
  background: #EEF7F8;
}

.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td:nth-child(9) {
  background: #F8FAFB;
}

.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th:nth-child(6),
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th:nth-child(7),
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th:nth-child(8),
.bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th:nth-child(9) {
  background: #8A4300;
}

/* REVENUE COMPLEX PAGE */
.bawd-complex.revenue-complex-page .revenue-chart-stage .revenue-chart-inner--full {
  min-width: 1200px;
}

.bawd-complex.revenue-complex-page .revenue-generated-table--full table.views-table {
  min-width: 2200px;
}

.bawd-complex.revenue-complex-page .revenue-generated-table--summary table.views-table {
  min-width: 1500px;
}

.bawd-complex.revenue-complex-page .revenue-generated-table--yearly table.views-table {
  min-width: 980px;
}

.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table thead th:first-child,
.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table thead th:nth-child(2),
.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tbody td:first-child,
.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tbody td:nth-child(2),
.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tfoot td:first-child,
.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tfoot td:nth-child(2) {
  text-align: left;
}

.bawd-complex.revenue-complex-page .revenue-generated-table .revenue-label-cell {
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.revenue-complex-page .revenue-generated-table .revenue-total-cell {
  background: #EEF7F8;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tfoot td {
  border-top: 2px solid #0D6E82;
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.revenue-complex-page .revenue-generated-table .revenue-year-total-header {
  background: #083F4B;
  color: #FFFFFF;
}

.bawd-complex.revenue-complex-page .revenue-generated-table .revenue-year-total-cell {
  background: #EEF7F8;
  color: #083F4B;
  font-weight: 900;
  border-left: 2px solid #0D6E82;
}

/* PROFIT & LOSS STATEMENT COMPLEX PAGE */
.pl-statement-complex .profit-loss-page-panel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
}

.pl-statement-complex .profit-loss-chart-controls,
.pl-statement-complex .profit-loss-table-controls,
.pl-statement-complex .profit-loss-chart-view-toggle,
.pl-statement-complex .profit-loss-chart-type-toggle,
.pl-statement-complex .profit-loss-chart-year-toggle,
.pl-statement-complex .profit-loss-table-view-toggle,
.pl-statement-complex .profit-loss-table-expand-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pl-statement-complex .profit-loss-chart-controls,
.pl-statement-complex .profit-loss-table-controls {
  margin: 0 0 14px;
}

.pl-statement-complex .profit-loss-visible-years-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #083F4B;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pl-statement-complex .profit-loss-deck-summary {
  margin: 0 0 16px;
}

.pl-statement-complex .profit-loss-deck-summary .profit-loss-chart-year-toggle {
  margin: 0;
}

.pl-statement-complex .profit-loss-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.pl-statement-complex .profit-loss-deck-card {
  min-height: 320px;
}

.pl-statement-complex .profit-loss-deck-card--revenue {
  border-top: 5px solid #0D6E82;
}

.pl-statement-complex .profit-loss-deck-card--cogs {
  border-top: 5px solid #083F4B;
}

.pl-statement-complex .profit-loss-deck-card--gross-profit {
  border-top: 5px solid #2998A7;
}

.pl-statement-complex .profit-loss-deck-card--expenses {
  border-top: 5px solid #6B8F97;
}

.pl-statement-complex .profit-loss-deck-card--pretax {
  border-top: 5px solid #7ABFBE;
}

.pl-statement-complex .profit-loss-deck-card--taxes {
  border-top: 5px solid #C46A12;
}

.pl-statement-complex .profit-loss-deck-card--net-profit {
  border-top: 5px solid #083F4B;
}

.pl-statement-complex .profit-loss-deck-card--net-loss {
  border-top: 5px solid #C46A12;
}

.pl-statement-complex .profit-loss-deck-card--cash-flow {
  border-top: 5px solid #8A4300;
}

.pl-statement-complex .profit-loss-deck-card .complex-deck-card-body {
  min-height: 102px;
}

.pl-statement-complex .profit-loss-deck-card .complex-deck-card-metrics {
  min-height: 64px;
}

.pl-statement-complex .profit-loss-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.pl-statement-complex .profit-loss-kpi-card {
  min-height: 142px;
}

.pl-statement-complex .profit-loss-kpi-card--revenue,
.pl-statement-complex .profit-loss-kpi-card--gross-profit,
.pl-statement-complex .profit-loss-kpi-card--gross-margin,
.pl-statement-complex .profit-loss-kpi-card--net-profit,
.pl-statement-complex .profit-loss-kpi-card--net-margin {
  border-left-color: #0D6E82;
}

.pl-statement-complex .profit-loss-kpi-card--cogs,
.pl-statement-complex .profit-loss-kpi-card--fixed-expenses,
.pl-statement-complex .profit-loss-kpi-card--personnel,
.pl-statement-complex .profit-loss-kpi-card--pl-adjustments,
.pl-statement-complex .profit-loss-kpi-card--interest,
.pl-statement-complex .profit-loss-kpi-card--depreciation,
.pl-statement-complex .profit-loss-kpi-card--operating-expenses {
  border-left-color: #2998A7;
}

.pl-statement-complex .profit-loss-kpi-card--pretax {
  border-left-color: #7ABFBE;
}

.pl-statement-complex .profit-loss-kpi-card--taxes,
.pl-statement-complex .profit-loss-kpi-card--net-loss {
  border-left-color: #C46A12;
}

.pl-statement-complex .profit-loss-kpi-card--net-loss .complex-kpi-card-icon {
  background: #FFF3E0;
  color: #8A4300;
}

.pl-statement-complex .profit-loss-kpi-card--net-loss .complex-kpi-card-value {
  color: #8A4300;
}

/* Profit & Loss generated table */
.pl-statement-complex .profit-loss-generated-table {
  max-width: 1400px;
  width: 100%;
}

.pl-statement-complex .profit-loss-generated-table .view-content {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.pl-statement-complex .profit-loss-generated-table table.views-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pl-statement-complex .profit-loss-generated-table--full table.views-table {
  min-width: 2200px;
}

.pl-statement-complex .profit-loss-generated-table--summary table.views-table {
  min-width: 1400px;
}

.pl-statement-complex .profit-loss-generated-table--yearly table.views-table {
  min-width: 980px;
}

.pl-statement-complex .profit-loss-generated-table table.views-table thead th {
  padding: 10px 12px;
  border-right: 1px solid #CFE9EE;
  background: #0D6E82;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.pl-statement-complex .profit-loss-generated-table table.views-table thead th.profit-loss-label-cell {
  text-align: left;
}

.pl-statement-complex .profit-loss-generated-table table.views-table thead th.profit-loss-year-total-header {
  background: #083F4B;
}

.pl-statement-complex .profit-loss-generated-table table.views-table tbody td {
  padding: 9px 12px;
  border-right: 1px solid #E6F4F6;
  border-bottom: 1px solid #E6F4F6;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.pl-statement-complex .profit-loss-generated-table table.views-table tbody td.profit-loss-label-cell {
  min-width: 260px;
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
  text-align: left;
  white-space: normal;
}

.pl-statement-complex .profit-loss-generated-table table.views-table tbody tr.profit-loss-detail-row td {
  background: #F8FAFB;
  color: #083F4B;
  font-weight: 700;
}

.pl-statement-complex .profit-loss-generated-table table.views-table tbody tr.profit-loss-detail-row td.profit-loss-label-cell {
  padding-left: 34px;
  background: #F8FAFB;
}

.pl-statement-complex .profit-loss-detail-label {
  display: block;
  color: #083F4B;
  font-weight: 900;
}

.pl-statement-complex .profit-loss-detail-source {
  display: block;
  margin: 3px 0 0;
  color: #5B6870;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
}

.pl-statement-complex .profit-loss-generated-table table.views-table tbody tr.profit-loss-row--gross-profit td,
.pl-statement-complex .profit-loss-generated-table table.views-table tbody tr.profit-loss-row--operating-expenses td,
.pl-statement-complex .profit-loss-generated-table table.views-table tbody tr.profit-loss-row--pretax td {
  background: #EEF7F8;
  color: #083F4B;
  font-weight: 900;
  border-top: 2px solid #0D6E82;
}

.pl-statement-complex .profit-loss-generated-table table.views-table tbody tr.profit-loss-row--net-profit-loss td {
  background: #083F4B;
  color: #FFFFFF;
  font-weight: 900;
  border-top: 4px solid #083F4B;
  border-bottom: 4px solid #083F4B;
}

.pl-statement-complex .profit-loss-generated-table table.views-table tbody tr.profit-loss-row--net-profit-loss td.profit-loss-label-cell {
  background: #083F4B;
  color: #FFFFFF;
}

.pl-statement-complex .profit-loss-year-total-cell {
  background: #EEF7F8;
  color: #083F4B;
  font-weight: 900;
  border-left: 2px solid #0D6E82;
}

.pl-statement-complex .profit-loss-section-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}

.pl-statement-complex .profit-loss-section-toggle:focus {
  outline: none;
}

.pl-statement-complex .profit-loss-section-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(41, 152, 167, 0.25);
}

.pl-statement-complex .profit-loss-section-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  min-width: 14px;
  color: inherit;
  font-weight: 900;
}

/* Profit & Loss chart */
.pl-statement-complex .profit-loss-chart-block {
  max-width: 1400px;
  width: 100%;
}

.pl-statement-complex .profit-loss-chart-stage-inner {
  width: 100%;
  overflow-x: visible;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.pl-statement-complex .profit-loss-chart-stage .bawd-scrollable-chart-center {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.pl-statement-complex .profit-loss-chart-stage .bawd-scrollable-chart-inner {
  max-width: none;
  min-width: 1000px;
}

.pl-statement-complex .profit_loss_statement_chart_div {
  width: 1000px;
  height: 560px;
  min-height: 560px;
}

.pl-statement-complex .profit-loss-chart-data-table {
  max-width: 1400px;
  width: 100%;
}

/* CASH FLOW COMPLEX PAGE */
.bawd-complex.cash-flow-complex .cash-flow-page-panel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
}

.bawd-complex.cash-flow-complex .cash-flow-chart-controls,
.bawd-complex.cash-flow-complex .cash-flow-table-controls,
.bawd-complex.cash-flow-complex .cash-flow-chart-view-toggle,
.bawd-complex.cash-flow-complex .cash-flow-chart-type-toggle,
.bawd-complex.cash-flow-complex .cash-flow-visible-year-toggle,
.bawd-complex.cash-flow-complex .cash-flow-table-view-toggle,
.bawd-complex.cash-flow-complex .cash-flow-table-expand-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bawd-complex.cash-flow-complex .cash-flow-chart-controls,
.bawd-complex.cash-flow-complex .cash-flow-table-controls {
  margin: 0 0 14px;
}

.bawd-complex.cash-flow-complex .cash-flow-visible-year-toggle {
  margin: 0;
}

.bawd-complex.cash-flow-complex .bawd-preview-control-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #083F4B;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Cash Flow Deck */
.bawd-complex.cash-flow-complex .cash-flow-deck-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: end;
  max-width: 1400px;
  margin: 0 0 16px;
  padding: 18px 20px;
  border: 1px solid #CFE9EE;
  border-left: 6px solid #0D6E82;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 244, 246, 0.96), rgba(248, 250, 251, 0.98));
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.cash-flow-complex .cash-flow-deck-summary .complex-deck-eyebrow {
  color: #0D6E82;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-summary h3 {
  margin: 0;
  color: #083F4B;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-summary p {
  margin: 4px 0 0;
  color: #5B6870;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-summary-value {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #083F4B;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-top: 5px solid #0D6E82;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
  color: #083F4B;
  text-decoration: none;
}

.bawd-complex.cash-flow-complex .cash-flow-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0 0 12px;
  border-radius: 999px;
  background: #E6F4F6;
  color: #0D6E82;
  font-size: 1.1rem;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-card .complex-card-title {
  margin: 0 0 8px;
  color: #083F4B;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-card .complex-card-body {
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.42;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-card .complex-card-metric {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: auto 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #F8FAFB;
  border: 1px solid #E6F4F6;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-card .complex-card-metric-value {
  color: #0D6E82;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-card .complex-card-metric-note {
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 900;
}

.bawd-complex.cash-flow-complex .cash-flow-deck-card .complex-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid #0D6E82;
  border-radius: 999px;
  background: #083F4B;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(8, 63, 75, 0.18);
}

/* Cash Flow KPIs */
.bawd-complex.cash-flow-complex .cash-flow-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 142px;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-left: 5px solid #0D6E82;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #E6F4F6;
  color: #0D6E82;
  font-size: 1.1rem;
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-card-content {
  min-width: 0;
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-label {
  display: block;
  margin: 0 0 6px;
  color: #0D6E82;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-value {
  display: block;
  margin: 0 0 6px;
  color: #083F4B;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-note {
  display: block;
  color: #5B6870;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-card--ending-cash-negative,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--net-cash-negative,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--net-operating-negative,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--investing-negative,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--financing-negative {
  border-left-color: #C46A12;
}

.bawd-complex.cash-flow-complex .cash-flow-kpi-card--ending-cash-negative .cash-flow-kpi-card-icon,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--net-cash-negative .cash-flow-kpi-card-icon,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--net-operating-negative .cash-flow-kpi-card-icon,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--investing-negative .cash-flow-kpi-card-icon,
.bawd-complex.cash-flow-complex .cash-flow-kpi-card--financing-negative .cash-flow-kpi-card-icon {
  background: #FFF3E0;
  color: #8A4300;
}

/* Cash Flow Chart */
.bawd-complex.cash-flow-complex .cash-flow-chart-shell {
  max-width: 1400px;
  width: 100%;
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.cash-flow-complex .cash-flow-chart-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 8px;
}

.bawd-complex.cash-flow-complex .cash-flow-chart-target {
  max-width: none;
}

/* Cash Flow Table: follows Balance Sheet sizing pattern */
.bawd-complex.cash-flow-complex .cash-flow-generated-table,
.bawd-complex.cash-flow-complex .cash-flow-generated-table .bawd-table-scroll,
.bawd-complex.cash-flow-complex .cash-flow-generated-table .view-content {
  max-width: none;
  width: 100%;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table {
  margin: 12px 0 0;
  overflow: hidden;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table .bawd-table-scroll,
.bawd-complex.cash-flow-complex .cash-flow-generated-table .view-content {
  overflow-x: auto;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table--full table.views-table {
  width: 100%;
  min-width: 2200px;
  table-layout: auto;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table--summary table.views-table {
  width: 100%;
  min-width: 1400px;
  table-layout: auto;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table--yearly table.views-table {
  width: 100%;
  min-width: 980px;
  table-layout: auto;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table thead th {
  padding: 10px 12px;
  border-right: 1px solid #CFE9EE;
  background: #0D6E82;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table thead th.cash-flow-label-cell {
  text-align: left;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table tbody td {
  padding: 9px 12px;
  border-right: 1px solid #E6F4F6;
  border-bottom: 1px solid #E6F4F6;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table th.cash-flow-label-cell,
.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table td.cash-flow-label-cell {
  width: 260px;
  max-width: 260px;
  text-align: left;
  white-space: normal;
  overflow-wrap: normal;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table--summary table.views-table th.cash-flow-label-cell,
.bawd-complex.cash-flow-complex .cash-flow-generated-table--summary table.views-table td.cash-flow-label-cell {
  width: 260px;
  max-width: 260px;
  white-space: normal;
  overflow-wrap: normal;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table--yearly table.views-table th.cash-flow-label-cell,
.bawd-complex.cash-flow-complex .cash-flow-generated-table--yearly table.views-table td.cash-flow-label-cell {
  width: 320px;
  max-width: 320px;
  white-space: normal;
  overflow-wrap: normal;
}

.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table th.cash-flow-value-cell,
.bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table td.cash-flow-value-cell {
  text-align: right;
  white-space: nowrap;
}

/* Cash Flow row hierarchy */
.bawd-complex.cash-flow-complex .cash-flow-row--section td {
  background: #083F4B;
  color: #FFFFFF;
  font-weight: 900;
  border-top: 3px solid #083F4B;
  border-bottom: 2px solid #083F4B;
  text-transform: uppercase;
}

.bawd-complex.cash-flow-complex .cash-flow-row--section td.cash-flow-value-cell {
  background: #0D6E82;
}

.bawd-complex.cash-flow-complex .cash-flow-row--subtotal td {
  background: #CFE9EE;
  color: #083F4B;
  font-weight: 900;
  border-top: 2px solid #0D6E82;
  border-bottom: 1px solid #7ABFBE;
}

.bawd-complex.cash-flow-complex .cash-flow-row--detail td {
  background: #F8FAFB;
  color: #083F4B;
  font-weight: 700;
}

.bawd-complex.cash-flow-complex .cash-flow-row--total td {
  background: #083F4B;
  color: #FFFFFF;
  font-weight: 900;
  border-top: 3px solid #083F4B;
  border-bottom: 3px solid #083F4B;
}

.bawd-complex.cash-flow-complex .cash-flow-row--level-1 td.cash-flow-label-cell {
  padding-left: 18px;
}

.bawd-complex.cash-flow-complex .cash-flow-row--level-2 td.cash-flow-label-cell {
  padding-left: 34px;
}

.bawd-complex.cash-flow-complex .cash-flow-line-label-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bawd-complex.cash-flow-complex .cash-flow-line-label {
  color: inherit;
  font-weight: inherit;
  line-height: 1.15;
}

.bawd-complex.cash-flow-complex .cash-flow-row-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.bawd-complex.cash-flow-complex .cash-flow-row-toggle:focus {
  outline: none;
}

.bawd-complex.cash-flow-complex .cash-flow-row-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(41, 152, 167, 0.25);
}

.bawd-complex.cash-flow-complex .cash-flow-row-toggle-spacer {
  display: inline-block;
  width: 18px;
  min-width: 18px;
}

.bawd-complex.cash-flow-complex .cash-flow-detail-source {
  display: block;
  margin: 3px 0 0 25px;
  color: #5B6870;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
  opacity: 0.9;
}

.bawd-complex.cash-flow-complex .cash-flow-row--section .cash-flow-detail-source,
.bawd-complex.cash-flow-complex .cash-flow-row--total .cash-flow-detail-source {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1180px) {
  .bawd-complex.cash-flow-complex .cash-flow-deck-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  .bawd-complex.cash-flow-complex .cash-flow-kpi-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }
}

@media (max-width: 760px) {
  .bawd-complex.cash-flow-complex .cash-flow-deck-summary {
    grid-template-columns: 1fr;
  }

  .bawd-complex.cash-flow-complex .cash-flow-deck-summary-value {
    grid-row: auto;
    grid-column: auto;
    text-align: left;
  }

  .bawd-complex.cash-flow-complex .cash-flow-deck-grid,
  .bawd-complex.cash-flow-complex .cash-flow-kpi-grid {
    grid-template-columns: 1fr;
  }

  .bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table {
    font-size: 0.76rem;
  }

  .bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table thead th,
  .bawd-complex.cash-flow-complex .cash-flow-generated-table table.views-table tbody td {
    padding: 8px 10px;
  }
}


/* FINANCIALS OVERVIEW COMPLEX PAGE */
.bawd-complex.financial-overview-complex .financial-overview-page-panel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-output,
.bawd-complex.financial-overview-complex .financial-overview-kpi-output,
.bawd-complex.financial-overview-complex .financial-overview-chart-output,
.bawd-complex.financial-overview-complex .financial-overview-deck-stage,
.bawd-complex.financial-overview-complex .financial-overview-kpi-stage,
.bawd-complex.financial-overview-complex .financial-overview-chart-stage {
  max-width: 1400px;
  width: 100%;
}

/* Financials Overview title spacing */
.bawd-complex.financial-overview-complex .complex-title {
  margin: 0 0 12px;
}

.bawd-complex.financial-overview-complex .complex-title h2 {
  margin: 0 0 4px;
  color: #083F4B;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
}

.bawd-complex.financial-overview-complex .complex-title p {
  margin: 0;
  color: #5B6870;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Financials Overview year controls */
.bawd-complex.financial-overview-complex .financial-overview-year-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
}

.bawd-complex.financial-overview-complex .financial-overview-year-controls .bawd-preview-control-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #083F4B;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Financials Overview deck summary */
.bawd-complex.financial-overview-complex .financial-overview-deck-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: end;
  max-width: 1400px;
  margin: 0 0 14px;
  padding: 18px 20px;
  border: 1px solid #CFE9EE;
  border-left: 6px solid #0D6E82;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 244, 246, 0.96), rgba(248, 250, 251, 0.98));
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.financial-overview-complex .financial-overview-deck-summary .complex-deck-eyebrow {
  color: #0D6E82;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-summary h3 {
  margin: 0;
  color: #083F4B;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-summary p {
  margin: 4px 0 0;
  color: #5B6870;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-summary-value {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #083F4B;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

/* Financials Overview deck cards */
.bawd-complex.financial-overview-complex .financial-overview-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-top: 5px solid #0D6E82;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
  color: #083F4B;
  text-decoration: none;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .financial-overview-card-icon,
.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0 0 12px;
  border-radius: 999px;
  background: #E6F4F6;
  color: #0D6E82;
  font-size: 1.1rem;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-title {
  margin: 0 0 8px;
  color: #083F4B;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-body {
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.42;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-metric {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: auto 0 14px;
  padding: 10px 12px;
  border: 1px solid #E6F4F6;
  border-radius: 10px;
  background: #F8FAFB;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-metric-value {
  color: #0D6E82;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-metric-note {
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1.25;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid #0D6E82;
  border-radius: 999px;
  background: #083F4B;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(8, 63, 75, 0.18);
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-button:hover,
.bawd-complex.financial-overview-complex .financial-overview-deck-card .complex-card-button:focus {
  background: #0D6E82;
  border-color: #0D6E82;
  color: #FFFFFF;
  text-decoration: none;
}

/* Financials Overview deck card accents */
.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(1) {
  border-top-color: #0D6E82;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(2) {
  border-top-color: #083F4B;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(3) {
  border-top-color: #2998A7;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(4) {
  border-top-color: #7ABFBE;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(5) {
  border-top-color: #6B8F97;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(6) {
  border-top-color: #9FBFC4;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(7) {
  border-top-color: #C46A12;
}

.bawd-complex.financial-overview-complex .financial-overview-deck-card:nth-child(8) {
  border-top-color: #8A4300;
}

/* Financials Overview KPI cards */
.bawd-complex.financial-overview-complex .financial-overview-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 142px;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-left: 5px solid #0D6E82;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #E6F4F6;
  color: #0D6E82;
  font-size: 1.1rem;
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-card-content {
  min-width: 0;
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-label {
  display: block;
  margin: 0 0 6px;
  color: #0D6E82;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-value {
  display: block;
  margin: 0 0 6px;
  color: #083F4B;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-note {
  display: block;
  color: #5B6870;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-card--net-profit-negative,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--net-margin-negative,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--pre-tax-negative,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--gross-profit-negative,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--funding-gap-warning {
  border-left-color: #C46A12;
}

.bawd-complex.financial-overview-complex .financial-overview-kpi-card--net-profit-negative .financial-overview-kpi-card-icon,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--net-margin-negative .financial-overview-kpi-card-icon,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--pre-tax-negative .financial-overview-kpi-card-icon,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--gross-profit-negative .financial-overview-kpi-card-icon,
.bawd-complex.financial-overview-complex .financial-overview-kpi-card--funding-gap-warning .financial-overview-kpi-card-icon {
  background: #FFF3E0;
  color: #8A4300;
}

/* Financials Overview chart */
.bawd-complex.financial-overview-complex .financial-overview-chart-shell {
  max-width: 1400px;
  width: 100%;
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.financial-overview-complex .financial-overview-chart-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 8px;
}

.bawd-complex.financial-overview-complex .financial-overview-chart-target {
  max-width: none;
}

/* Financials Overview settings summary */
.bawd-complex.financial-overview-complex .financial-overview-settings-summary {
  max-width: 1400px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #E1D7C5;
  border-left: 6px solid #C46A12;
  border-radius: 14px;
  background: #FBF7EF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.06);
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin: 0 0 14px;
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__header h3 {
  margin: 0;
  color: #083F4B;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #8A4300;
  border-radius: 999px;
  background: #FFFFFF;
  color: #8A4300;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__link:hover,
.bawd-complex.financial-overview-complex .financial-overview-settings-summary__link:focus {
  background: #8A4300;
  color: #FFFFFF;
  text-decoration: none;
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px 14px;
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__item {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #EFE3CF;
  border-radius: 10px;
  background: #FFFFFF;
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__label {
  display: block;
  margin: 0 0 4px;
  color: #8A4300;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bawd-complex.financial-overview-complex .financial-overview-settings-summary__value {
  display: block;
  color: #083F4B;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .bawd-complex.financial-overview-complex .financial-overview-settings-summary__grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .bawd-complex.financial-overview-complex .financial-overview-settings-summary__header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bawd-complex.financial-overview-complex .financial-overview-settings-summary__grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .bawd-complex.financial-overview-complex .financial-overview-deck-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  .bawd-complex.financial-overview-complex .financial-overview-kpi-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }
}

@media (max-width: 760px) {
  .bawd-complex.financial-overview-complex .financial-overview-deck-summary {
    grid-template-columns: 1fr;
  }

  .bawd-complex.financial-overview-complex .financial-overview-deck-summary-value {
    grid-row: auto;
    grid-column: auto;
    text-align: left;
  }

  .bawd-complex.financial-overview-complex .financial-overview-deck-grid,
  .bawd-complex.financial-overview-complex .financial-overview-kpi-grid {
    grid-template-columns: 1fr;
  }
}


/* BALANCE SHEET COMPLEX PAGE */
.bawd-complex.balance-sheet-complex-page .balance-sheet-edit-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 14px;
}

/* Let Balance Sheet tables use the available screen width */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table .view-content {
  max-width: none;
  width: 100%;
}

/* Keep Full intentionally wide and scrollable */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--full table.views-table {
  width: 100%;
  min-width: 2200px;
  table-layout: auto;
}

/* Summary should stay readable without over-widening */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--summary table.views-table {
  width: 100%;
  min-width: 1400px;
  table-layout: auto;
}

/* Yearly should fit most large screens */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--yearly table.views-table {
  width: 100%;
  min-width: 980px;
  table-layout: auto;
}

/* Limit the description column so period columns get more room */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--summary table.views-table th.balance-sheet-label-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--summary table.views-table td.balance-sheet-label-cell {
  width: 260px;
  max-width: 260px;
  white-space: normal;
  overflow-wrap: normal;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--yearly table.views-table th.balance-sheet-label-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--yearly table.views-table td.balance-sheet-label-cell {
  width: 320px;
  max-width: 320px;
  white-space: normal;
  overflow-wrap: normal;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--summary .balance-sheet-detail-source,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table--yearly .balance-sheet-detail-source {
  white-space: normal;
  overflow-wrap: normal;
  font-size: 0.64rem;
  line-height: 1.15;
}

/* BALANCE SHEET CHART VISUALS */
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-block {
  max-width: 1400px;
  width: 100%;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage-inner {
  width: 100%;
  overflow-x: auto;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-visual {
  min-width: 1000px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid #E6F4F6;
  border-radius: 14px;
  background: #F8FAFB;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-title {
  margin: 0 0 10px;
  color: #083F4B;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #083F4B;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-legend-item::before {
  content: "";
  display: inline-flex;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-legend-item--assets::before {
  background: #0D6E82;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-legend-item--liabilities-equity::before {
  background: #7ABFBE;
}

.bawd-complex.balance-sheet-complex-page .balance_sheet_chart_div {
  width: 100%;
  height: 560px;
  min-height: 560px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-inner--full {
  min-width: 1100px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-inner--summary,
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-inner--yearly {
  min-width: 900px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage-inner {
  overflow-x: auto;
}

/* Balance Sheet bar chart */
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-visual--bar {
  display: block;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-row-label {
  color: #083F4B;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-row-bars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  min-width: 0;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-bar-line {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-bar-line--liabilities-equity {
  padding-top: 8px;
  border-top: 2px solid #CFE9EE;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-series-label {
  color: #5B6870;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-bar {
  position: relative;
  display: block;
  min-width: 4px;
  height: 34px;
  border-radius: 8px;
  box-shadow: inset 0 -8px 0 rgba(8, 63, 75, 0.08);
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-bar--assets {
  background: #0D6E82;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-bar--liabilities-equity {
  background: #7ABFBE;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-bar-value {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(8, 63, 75, 0.4);
  white-space: nowrap;
}

/* Balance Sheet line chart */
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-visual--line {
  display: block;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-svg-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 8px 0 0;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-svg {
  display: block;
  width: 100%;
  min-width: 900px;
  height: 360px;
  overflow: visible;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-axis {
  stroke: #7ABFBE;
  stroke-width: 2;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-line--assets {
  stroke: #0D6E82;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-line--liabilities-equity {
  stroke: #7ABFBE;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-svg-label {
  fill: #083F4B;
  font-size: 0.78rem;
  font-weight: 900;
  text-anchor: middle;
}

/* Balance Sheet chart data table */
.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table {
  max-width: 1400px;
  width: 100%;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table .view-content {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table table.views-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table table.views-table thead th {
  padding: 10px 12px;
  border-right: 1px solid #CFE9EE;
  background: #0D6E82;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table table.views-table thead th:first-child {
  text-align: left;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table table.views-table tbody td {
  padding: 9px 12px;
  border-right: 1px solid #E6F4F6;
  border-bottom: 1px solid #E6F4F6;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table table.views-table tbody td:first-child {
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
  text-align: left;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table table.views-table tbody tr.is-balanced td:last-child {
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-data-table table.views-table tbody tr.is-out-of-balance td:last-child {
  background: #FFF3E0;
  color: #8A4300;
  font-weight: 900;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage {
  overflow-x: visible;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage-inner {
  overflow-x: visible;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage .bawd-scrollable-chart-center {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage .bawd-scrollable-chart-inner {
  max-width: none;
}

@media (max-width: 760px) {
  .bawd-complex.balance-sheet-complex-page .balance-sheet-chart-stage-inner {
    padding: 12px;
  }

  .bawd-complex.balance-sheet-complex-page .balance-sheet-chart-visual {
    min-width: 860px;
    padding: 14px;
  }

  .bawd-complex.balance-sheet-complex-page .balance-sheet-chart-row {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .bawd-complex.balance-sheet-complex-page .balance-sheet-chart-bar-line {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

/* Base Balance Sheet table alignment */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table thead th:first-child,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody td:first-child {
  text-align: left;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody td {
  font-weight: 800;
}

/* Header */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table thead th.balance-sheet-label-cell {
  background: #0D6E82;
  color: #FFFFFF;
  font-weight: 900;
  text-align: left;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table thead th.balance-sheet-period-cell {
  background: #0D6E82;
  color: #FFFFFF;
  font-weight: 900;
  text-align: right;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table thead th.balance-sheet-year-total-header {
  background: #083F4B;
  color: #FFFFFF;
}

/* TOP LEVEL: ASSETS / LIABILITIES / EQUITY */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-0 td {
  background: #083F4B;
  color: #FFFFFF;
  font-weight: 900;
  border-top: 3px solid #083F4B;
  border-bottom: 2px solid #083F4B;
  text-transform: uppercase;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-0 td.balance-sheet-label-cell {
  background: #083F4B;
  color: #FFFFFF;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-0 td.balance-sheet-value-cell {
  background: #0D6E82;
  color: #FFFFFF;
}

/* SECOND LEVEL: Current Assets / Long-Term Assets / Current Liabilities / etc. */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-1 td {
  background: #CFE9EE;
  color: #083F4B;
  font-weight: 900;
  border-top: 2px solid #0D6E82;
  border-bottom: 1px solid #7ABFBE;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-1 td.balance-sheet-label-cell {
  background: #CFE9EE;
  color: #083F4B;
  font-weight: 900;
  padding-left: 18px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-1 td.balance-sheet-value-cell {
  background: #DDF1F4;
  color: #083F4B;
  font-weight: 900;
}

/* THIRD LEVEL: Cash on Hand / Revenue / Startup Items / BS Current Assets */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-2 td {
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 850;
  border-bottom: 1px solid #FFFFFF;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-2 td.balance-sheet-label-cell {
  background: #E6F4F6;
  color: #083F4B;
  padding-left: 34px;
  font-weight: 850;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-2 td.balance-sheet-value-cell {
  background: #EAF7F8;
  color: #083F4B;
}

/* FOURTH LEVEL / ITEMIZED DETAIL ROWS */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-detail-row td,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-3 td {
  background: #F8FAFB;
  color: #083F4B;
  font-weight: 700;
  border-bottom: 1px solid #FFFFFF;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-detail-row td.balance-sheet-label-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-3 td.balance-sheet-label-cell {
  background: #F8FAFB;
  color: #083F4B;
  padding-left: 54px;
  font-weight: 700;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-detail-row td.balance-sheet-value-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-row-level-3 td.balance-sheet-value-cell {
  background: #F8FAFB;
  color: #083F4B;
}

/* Disclosure buttons */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table .balance-sheet-section-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table .balance-sheet-section-toggle:focus {
  outline: none;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table .balance-sheet-section-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(41, 152, 167, 0.25);
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table .balance-sheet-section-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  min-width: 14px;
  color: inherit;
  font-weight: 900;
}

/* Detail source label */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table .balance-sheet-detail-label {
  display: block;
  color: #083F4B;
  font-weight: 900;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table .balance-sheet-detail-source {
  display: block;
  margin: 3px 0 0;
  color: #5B6870;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

/* Standalone totals */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row td {
  background: #EEF7F8;
  color: #083F4B;
  font-weight: 900;
  border-top: 2px solid #0D6E82;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row td.balance-sheet-label-cell {
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row td.balance-sheet-year-total-cell {
  background: #CFE9EE;
  color: #083F4B;
}

/* TOTAL ASSETS / TOTAL LIABILITIES / TOTAL EQUITY emphasis */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--total-assets td,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--total-liabilities td,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--total-equity td {
  background: #0D6E82;
  color: #FFFFFF;
  border-top: 3px solid #083F4B;
  border-bottom: 3px solid #083F4B;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--total-assets td.balance-sheet-label-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--total-liabilities td.balance-sheet-label-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--total-equity td.balance-sheet-label-cell {
  background: #083F4B;
  color: #FFFFFF;
}

/* TOTAL LIABILITIES + EQUITY */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--liabilities-equity td {
  background: #083F4B;
  color: #FFFFFF;
  font-weight: 900;
  border-top: 4px solid #083F4B;
  border-bottom: 4px solid #083F4B;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-total-row--liabilities-equity td.balance-sheet-label-cell {
  background: #083F4B;
  color: #FFFFFF;
}

/* Balance check */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-balance-check-row td {
  background: #EEF7F8;
  color: #083F4B;
  font-weight: 900;
  border-top: 2px solid #0D6E82;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-balance-check-row td.balance-sheet-label-cell {
  background: #E6F4F6;
  color: #083F4B;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody td.balance-sheet-balance-check-cell.is-balanced {
  background: #E6F4F6;
  color: #083F4B;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody td.balance-sheet-balance-check-cell.is-out-of-balance {
  background: #FFF3E0;
  color: #8A4300;
}

/* BALANCE SHEET DECK + KPI UNIFORMITY */
.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-summary {
  margin: 0 0 16px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-summary .balance-sheet-chart-year-toggle {
  margin: 0;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card {
  min-height: 320px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--assets {
  border-top: 5px solid #083F4B;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--liabilities {
  border-top: 5px solid #0D6E82;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--equity {
  border-top: 5px solid #2998A7;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--revenue {
  border-top: 5px solid #7ABFBE;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--expenses {
  border-top: 5px solid #6B8F97;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--funding {
  border-top: 5px solid #9FBFC4;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--profit-loss {
  border-top: 5px solid #C46A12;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card--cash-flow {
  border-top: 5px solid #8A4300;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card .complex-deck-card-body {
  min-height: 102px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-deck-card .complex-deck-card-metrics {
  min-height: 64px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1400px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card {
  min-height: 142px;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--assets,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--current-assets,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--long-term-assets {
  border-left-color: #083F4B;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--liabilities,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--current-liabilities,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--long-term-liabilities,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--total-debt,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--debt-to-asset,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--liabilities-to-equity {
  border-left-color: #0D6E82;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--equity,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--equity-to-asset,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--retained-earnings,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--current-period-profit-loss {
  border-left-color: #2998A7;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--working-capital,
.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--current-ratio {
  border-left-color: #7ABFBE;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--balanced {
  border-left-color: #083F4B;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--out-of-balance {
  border-left-color: #C46A12;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--out-of-balance .complex-kpi-card-icon {
  background: #FFF3E0;
  color: #8A4300;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-card--out-of-balance .complex-kpi-card-value {
  color: #8A4300;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .bawd-complex .complex-deck-grid,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-deck-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  .bawd-complex .complex-kpi-grid,
  .bawd-complex.historical-financials-complex-page .historical-financials-kpi-grid,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }

  .bawd-complex.balance-sheet-complex-page .balance-sheet-edit-card-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 760px) {
  .bawd-complex .complex-deck-summary,
  .bawd-complex .complex-deck-summary-card {
    grid-template-columns: 1fr;
  }

  .bawd-complex .complex-deck-summary-amount,
  .bawd-complex .complex-deck-summary-card__value {
    grid-row: auto;
    grid-column: auto;
    text-align: left;
  }

  .bawd-complex .complex-deck-grid,
  .bawd-complex .complex-kpi-grid,
  .bawd-complex.historical-financials-complex-page .historical-financials-kpi-grid,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-edit-card-grid,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-deck-grid,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-kpi-grid {
    grid-template-columns: 1fr;
  }

  .bawd-complex.historical-financials-complex-page .historical-financials-kpi-card {
    min-height: 128px;
  }

  .bawd-complex.funding-complex.funding-complex-page table.funding-table {
    min-width: 900px;
    font-size: 0.76rem;
  }

  .bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table {
    min-width: 1080px;
    font-size: 0.76rem;
  }

  .bawd-complex.revenue-complex-page .revenue-generated-table table.views-table,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table {
    font-size: 0.76rem;
  }

  .bawd-complex.funding-complex.funding-complex-page table.funding-table thead th,
  .bawd-complex.funding-complex.funding-complex-page table.funding-table tbody td,
  .bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table thead th,
  .bawd-complex.historical-financials-complex-page .historical-financials-generated-table table.views-table tbody td,
  .bawd-complex.revenue-complex-page .revenue-generated-table table.views-table thead th,
  .bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tbody td,
  .bawd-complex.revenue-complex-page .revenue-generated-table table.views-table tfoot td,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table thead th,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody td,
  .bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tfoot td {
    padding: 8px 10px;
  }
}

/* Balance Sheet: Balance Check row */
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-balance-check-row td.balance-sheet-label-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-balance-check-row td.balance-sheet-balance-check-cell,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-balance-check-row td.balance-sheet-balance-check-cell.is-balanced,
.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-balance-check-row td.balance-sheet-balance-check-cell.is-out-of-balance {
  background: #fff3d6;
}

.bawd-complex.balance-sheet-complex-page .balance-sheet-generated-table table.views-table tbody tr.balance-sheet-balance-check-row td.balance-sheet-label-cell {
  color: #083F4B;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}


/* BREAK-EVEN / MINIMUM WAGE ANALYSIS */

.bawd-complex.break-even-complex,
.bawd-complex.minimum-wage-complex {
  max-width: 1400px;
  width: 100%;
}

/* Summary block */
.bawd-complex.break-even-complex .bawd-analysis-summary,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: end;
  max-width: 1400px;
  margin: 0 0 16px;
  padding: 18px 20px;
  border: 1px solid #CFE9EE;
  border-left: 6px solid #0D6E82;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 244, 246, 0.96), rgba(248, 250, 251, 0.98));
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.break-even-complex .bawd-analysis-summary__content,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__content {
  min-width: 0;
}

.bawd-complex.break-even-complex .bawd-analysis-summary__content .complex-deck-eyebrow,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__content .complex-deck-eyebrow {
  color: #0D6E82;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bawd-complex.break-even-complex .bawd-analysis-summary__content h2,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__content h2 {
  margin: 0;
  color: #083F4B;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.bawd-complex.break-even-complex .bawd-analysis-summary__content p,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__content p {
  margin: 4px 0 0;
  color: #5B6870;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

.bawd-complex.break-even-complex .bawd-analysis-summary__value,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__value {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #083F4B;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.bawd-complex.break-even-complex .bawd-analysis-summary__label,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__label {
  display: block;
  margin: 0 0 5px;
  color: #0D6E82;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bawd-complex.break-even-complex .bawd-analysis-summary__amount,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__amount {
  display: block;
  color: #083F4B;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.bawd-complex.break-even-complex .bawd-analysis-summary__note,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary__note {
  display: block;
  margin: 5px 0 0;
  color: #5B6870;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Visible-year / owner controls */
.bawd-complex.break-even-complex .bawd-analysis-visible-year-controls,
.bawd-complex.minimum-wage-complex .bawd-analysis-visible-year-controls,
.bawd-complex.minimum-wage-complex .bawd-analysis-owner-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 1400px;
  margin: 0 0 14px;
}

.bawd-complex.break-even-complex .bawd-preview-control-label,
.bawd-complex.minimum-wage-complex .bawd-preview-control-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #083F4B;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Main analysis layout */
.bawd-complex.break-even-complex .bawd-analysis-output,
.bawd-complex.minimum-wage-complex .bawd-analysis-output {
  display: grid;
  grid-template-columns: 410px minmax(680px, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 1400px;
  width: 100%;
}

/* Compact metric table */
.bawd-complex.break-even-complex .bawd-analysis-metric-table,
.bawd-complex.minimum-wage-complex .bawd-analysis-metric-table {
  width: 100%;
  min-width: 0;
}

.bawd-complex.break-even-complex table.bawd-analysis-table,
.bawd-complex.minimum-wage-complex table.bawd-analysis-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
}

.bawd-complex.break-even-complex table.bawd-analysis-table caption,
.bawd-complex.minimum-wage-complex table.bawd-analysis-table caption {
  padding: 10px 12px;
  background: #0D6E82;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.bawd-complex.break-even-complex table.bawd-analysis-table tbody th,
.bawd-complex.minimum-wage-complex table.bawd-analysis-table tbody th {
  width: 58%;
  padding: 10px 12px;
  border-right: 1px solid #E6F4F6;
  border-bottom: 1px solid #E6F4F6;
  background: #E6F4F6;
  color: #083F4B;
  font-weight: 900;
  text-align: left;
  vertical-align: middle;
}

.bawd-complex.break-even-complex table.bawd-analysis-table tbody td,
.bawd-complex.minimum-wage-complex table.bawd-analysis-table tbody td {
  width: 42%;
  padding: 10px 12px;
  border-bottom: 1px solid #E6F4F6;
  background: #F8FAFB;
  color: #083F4B;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.bawd-complex.break-even-complex table.bawd-analysis-table tbody tr:nth-child(even) th,
.bawd-complex.minimum-wage-complex table.bawd-analysis-table tbody tr:nth-child(even) th {
  background: #EEF7F8;
}

.bawd-complex.break-even-complex table.bawd-analysis-table tbody tr:nth-child(even) td,
.bawd-complex.minimum-wage-complex table.bawd-analysis-table tbody tr:nth-child(even) td {
  background: #FFFFFF;
}

.bawd-complex.break-even-complex .bawd-analysis-metric-label,
.bawd-complex.minimum-wage-complex .bawd-analysis-metric-label {
  display: block;
  margin: 0 0 4px;
  color: #083F4B;
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1.2;
}

.bawd-complex.break-even-complex .bawd-analysis-metric-note,
.bawd-complex.minimum-wage-complex .bawd-analysis-metric-note {
  display: block;
  max-width: 220px;
  color: #5B6870;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Chart shell */
.bawd-complex.break-even-complex .bawd-analysis-chart-shell,
.bawd-complex.minimum-wage-complex .bawd-analysis-chart-shell {
  min-width: 0;
  width: 100%;
  padding: 16px;
  border: 1px solid #CFE9EE;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 63, 75, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
}

.bawd-complex.break-even-complex .bawd-analysis-chart,
.bawd-complex.minimum-wage-complex .bawd-analysis-chart {
  width: 100%;
  min-width: 760px;
}

.bawd-complex.break-even-complex .break-even-chart-target,
.bawd-complex.minimum-wage-complex .minimum-wage-chart-target {
  width: 100% !important;
  min-width: 760px;
  min-height: 420px;
}

/* WAGE ANALYSIS STATUS THEMING */

.bawd-complex.minimum-wage-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative),
.bawd-complex.owner-pay-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative),
.bawd-complex.wage-analysis-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative) {
  border-left-color: #B42318;
  background: #FFF1F0;
}

.bawd-complex.minimum-wage-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative) .bawd-analysis-summary__label,
.bawd-complex.owner-pay-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative) .bawd-analysis-summary__label,
.bawd-complex.wage-analysis-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative) .bawd-analysis-summary__label,
.bawd-complex.minimum-wage-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative) .bawd-analysis-summary__amount,
.bawd-complex.owner-pay-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative) .bawd-analysis-summary__amount,
.bawd-complex.wage-analysis-complex .bawd-analysis-summary:has(.bawd-analysis-summary__amount.is-negative) .bawd-analysis-summary__amount {
  color: #B42318;
}

/* Responsive */
@media (max-width: 1180px) {
  .bawd-complex.break-even-complex .bawd-analysis-output,
  .bawd-complex.minimum-wage-complex .bawd-analysis-output {
    grid-template-columns: 1fr;
  }

  .bawd-complex.break-even-complex .bawd-analysis-metric-table,
  .bawd-complex.minimum-wage-complex .bawd-analysis-metric-table {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .bawd-complex.break-even-complex .bawd-analysis-summary,
  .bawd-complex.minimum-wage-complex .bawd-analysis-summary {
    grid-template-columns: 1fr;
  }

  .bawd-complex.break-even-complex .bawd-analysis-summary__value,
  .bawd-complex.minimum-wage-complex .bawd-analysis-summary__value {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .bawd-complex.break-even-complex table.bawd-analysis-table tbody th,
  .bawd-complex.minimum-wage-complex table.bawd-analysis-table tbody th,
  .bawd-complex.break-even-complex table.bawd-analysis-table tbody td,
  .bawd-complex.minimum-wage-complex table.bawd-analysis-table tbody td {
    display: block;
    width: 100%;
  }

  .bawd-complex.break-even-complex table.bawd-analysis-table tbody td,
  .bawd-complex.minimum-wage-complex table.bawd-analysis-table tbody td {
    text-align: left;
  }

  .bawd-complex.break-even-complex .bawd-analysis-chart,
  .bawd-complex.minimum-wage-complex .bawd-analysis-chart,
  .bawd-complex.break-even-complex .break-even-chart-target,
  .bawd-complex.minimum-wage-complex .minimum-wage-chart-target {
    min-width: 860px;
  }
}