.finance-analysis-page { min-width: 0; }
.finance-analysis-heading { margin-bottom: 8px; }
.finance-analysis-tabs { margin: 0 0 16px; overflow-x: auto; scrollbar-width: thin; }
.finance-analysis-section { display: grid; gap: 14px; min-width: 0; }
.finance-analysis-loading { padding: 110px 20px; }

.finance-overview-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.finance-production-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.finance-channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.finance-expense-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.finance-adjustment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.finance-analysis-section .metric-card { box-shadow: none; }
.finance-section-heading {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.finance-section-heading h2 {
  font: 400 17px/1.3 "Libre Baskerville", serif;
  margin: 0;
}
.finance-section-heading p {
  color: var(--muted, #827b75);
  font-size: 10px;
  margin: 4px 0 0;
}
.finance-section-heading > strong { font-size: 16px; white-space: nowrap; }

.finance-statement {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e8ddd1);
  border-radius: 14px;
  gap: 0;
  overflow: hidden;
}
.finance-statement-row {
  align-items: center;
  border-bottom: 1px solid var(--line, #e8ddd1);
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}
.finance-statement-row:last-child { border-bottom: 0; }
.finance-statement-row span { color: var(--ink-soft, #5d5955); font-size: 11px; }
.finance-statement-row strong { color: var(--ink, #1c1d1d); font-size: 12px; }
.finance-statement-row.major,
.finance-statement-row.subtotal { background: var(--surface-2, #f7f2ec); }
.finance-statement-row.subtotal span,
.finance-statement-row.subtotal strong,
.finance-statement-row.total span,
.finance-statement-row.total strong { font-weight: 800; }
.finance-statement-row.total { border-top: 2px solid var(--ink, #1c1d1d); }

.finance-breakdown,
.finance-ap-panel,
.finance-placeholder-card {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e8ddd1);
  border-radius: 14px;
  padding: 15px 16px;
}
.finance-breakdown-list { display: grid; margin-top: 9px; }
.finance-breakdown-list > div {
  align-items: center;
  border-top: 1px solid var(--line, #e8ddd1);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 9px 0;
}
.finance-breakdown-list > div:first-child { border-top: 0; }
.finance-breakdown-list span { font-size: 10px; }
.finance-breakdown-list small {
  background: var(--surface-2, #f2eee9);
  border-radius: 999px;
  color: var(--muted, #827b75);
  font-size: 8px;
  margin-left: 5px;
  padding: 2px 5px;
}
.finance-breakdown-list strong { font-size: 10px; }

.finance-arap-grid { grid-template-columns: minmax(260px, .72fr) minmax(0, 1.8fr); }
.finance-placeholder-card h2 {
  font: 400 17px/1.35 "Libre Baskerville", serif;
  margin: 7px 0;
}
.finance-placeholder-card p {
  color: var(--muted, #827b75);
  font-size: 10px;
  line-height: 1.55;
  margin: 0;
}
.finance-ap-panel { min-width: 0; }
.finance-ap-panel .table-wrap { margin-top: 10px; }

@media (max-width: 1100px) {
  .finance-overview-grid,
  .finance-production-grid,
  .finance-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finance-arap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .finance-overview-grid,
  .finance-production-grid,
  .finance-channel-grid,
  .finance-expense-grid,
  .finance-adjustment-grid { grid-template-columns: 1fr; }
  .finance-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
}
