@import './top-reports.css';
@import './period-assumptions.css';
.financial-workspace { --fw-ink: #293239; --fw-muted: #687680; --fw-line: #e3e8ec; --fw-green: #277860; width: 100%; min-width: 0; color: var(--fw-ink); font: 13px/1.55 Inter, system-ui, sans-serif; }
.financial-workspace *, .financial-workspace *::before, .financial-workspace *::after { box-sizing: border-box; letter-spacing: 0; }
.financial-workspace [hidden] { display: none !important; }
.financial-workspace h1, .financial-workspace h2, .financial-workspace h3, .financial-workspace p, .financial-workspace figure, .financial-workspace dl, .financial-workspace dd { margin: 0; }
.financial-workspace h1 { font-size: 25px; line-height: 1.3; font-weight: 600; }
.financial-workspace h2 { font-size: 19px; line-height: 1.4; font-weight: 600; }
.financial-workspace h3 { font-size: 14px; line-height: 1.5; font-weight: 600; }
.financial-workspace p, .financial-workspace label, .financial-workspace strong, .financial-workspace span { overflow-wrap: anywhere; }
.financial-workspace svg { width: 16px; height: 16px; flex-shrink: 0; }
.fw-shell { display: grid; grid-template-columns: 165px minmax(0, 1fr); align-items: start; gap: 25px; padding: 0; margin: 0; border: 0; min-width: 0; }
.fw-external-navigation .fw-shell { display: block; }
.fw-nav { min-width: 0; padding: 23px 14px 20px 0; border-right: 1px solid var(--fw-line); position: sticky; top: 12px; }
.fw-nav-group + .fw-nav-group { margin-top: 18px; }
.fw-nav-group > p { color: var(--fw-muted); font-size: 10px; font-weight: 600; padding: 0 9px 6px; }
.fw-nav button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 37px; border: 0; background: transparent; text-align: left; padding: 8px; border-radius: 5px; color: #626f78; font-size: 11px; }
.fw-nav button:hover { background: #f0f3f5; }
.fw-nav button[aria-current] { background: #eaf4ee; color: #20644f; font-weight: 600; }
.fw-content { min-width: 0; padding: 0; }
.fw-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 10px; border-bottom: 1px solid var(--fw-line); }
.fw-toolbar > [data-fw-review-shortcut-outlet] { margin-left: auto; }
.fw-model-meta { color: var(--fw-muted); font-size: 11px; }
.fw-report-controls { display: flex; justify-content: flex-end; padding-top: 16px; }
.fw-model-notes { margin: 0 0 20px; scroll-margin-top: 20px; font-size: 12px; }
.fw-model-notes > summary { padding: 10px 0; cursor: pointer; color: #596b77; font-weight: 550; }
.fw-model-notes .fw-warning { margin-top: 8px; }
.fw-button.fw-review-shortcut { min-height: 32px; padding: 5px 8px; font-size: 10px; border-color: transparent; background: transparent; }
.fw-review-shortcut svg { width: 14px; height: 14px; }
.fw-page-heading, .fw-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.fw-section-heading { margin: 0 0 16px; align-items: start; }
.fw-section-heading > div { min-width: 0; }
.fw-section-heading p { margin-top: 3px; color: var(--fw-muted); font-size: 11px; max-width: 680px; }
.fw-periods { display: inline-flex; flex-wrap: wrap; border: 1px solid #dbe2e5; border-radius: 5px; overflow: hidden; }
.fw-periods button { border: 0; background: #fff; color: #61717a; min-height: 34px; padding: 6px 10px; font-size: 10px; }
.fw-periods button + button { border-left: 1px solid #e3e8ec; }
.fw-periods button[aria-pressed="true"] { background: #eaf4ee; color: #20644f; font-weight: 600; }
.fw-section { padding: 23px 0; border-bottom: 1px solid var(--fw-line); }
.fw-section:last-child { border-bottom: 0; }
.fw-section > .fw-section-heading:not(:first-child) { margin-top: 26px; }
.fw-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.fw-field { min-width: 0; }
.fw-field > label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 6px; }
.fw-setting-label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 6px; }
.fw-setting-value { margin: 0; padding: 10px 0; font-size: 14px; }
.fw-generation-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-size: 12px; }
.financial-workspace input, .financial-workspace select { width: 100%; min-width: 0; max-width: 100%; height: 39px; border: 1px solid #cfd9df; border-radius: 5px; background: #fff; color: var(--fw-ink); font: inherit; font-size: 12px; padding: 8px 10px; }
.financial-workspace input[type="number"] { font-variant-numeric: tabular-nums; }
.financial-workspace input[type="month"] { min-width: 0; }
.financial-workspace input[aria-invalid="true"] { border-color: #aa4037; background: #fff9f8; }
.financial-workspace input:focus, .financial-workspace select:focus { outline: 2px solid #a1c9b7; outline-offset: 2px; }
.financial-workspace :is(button, summary, .fw-table-wrap):focus-visible { outline: 2px solid #7cac98; outline-offset: 3px; }
.fw-field-note { display: grid; gap: 3px; margin-top: 5px !important; color: var(--fw-muted); font-size: 10px; line-height: 1.65; overflow-wrap: anywhere; }
.fw-unit { font-weight: 500; color: #526b78; }
.fw-item { border: 1px solid var(--fw-line); border-radius: 6px; padding: 17px; background: #fff; }
.fw-item + .fw-item { margin-top: 15px; }
.fw-item > .fw-section-heading { align-items: center; }
.fw-method { font-size: 11px; line-height: 1.75; color: var(--fw-muted); margin: 13px 0 17px !important; }
.fw-empty { padding: 18px 0; font-size: 12px; color: var(--fw-muted); }
.fw-item.fw-stream, .fw-item.fw-cost, .fw-item.fw-stream-cost { padding: 0; overflow: hidden; }
.fw-stream-header, .fw-cost-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.fw-stream-header h3, .fw-cost-header h3 { flex: 1; min-width: 0; }
.fw-stream-toggle, .fw-cost-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 3px 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.fw-stream-toggle:hover, .fw-cost-toggle:hover { color: #20644f; }
.fw-stream-toggle > svg, .fw-cost-toggle > svg { transition: transform .15s; }
.fw-stream-toggle[aria-expanded="true"] > svg, .fw-cost-toggle[aria-expanded="true"] > svg { transform: rotate(90deg); }
.fw-stream-toggle > span, .fw-cost-toggle > span { min-width: 0; }
.fw-stream-method, .fw-cost-method { display: block; margin-top: 3px; color: var(--fw-muted); font-size: 11px; font-weight: 400; }
.fw-stream-total, .fw-cost-total { flex: 0 0 132px; min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }
.fw-stream-total > span, .fw-cost-total > span { display: block; color: var(--fw-muted); font-size: 10px; }
.fw-stream-total > strong, .fw-cost-total > strong { font-size: 14px; }
.fw-stream-body, .fw-cost-body { padding: 20px 16px; border-top: 1px solid var(--fw-line); }
.fw-stream-body > .fw-fields { margin-bottom: 18px; }
.fw-operating-period { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--fw-line); }
.fw-operating-period h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; }
.fw-stream-dialog.financial-workspace { width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #dce4e8; border-radius: 8px; background: #fff; box-shadow: 0 18px 60px #24323b30; overflow-y: auto; }
.fw-stream-dialog::backdrop { background: #1b302749; }
.fw-stream-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.fw-stream-dialog .fw-field { margin-bottom: 20px; }
.fw-stream-dialog .fw-method { min-height: 54px; margin-bottom: 0 !important; }
.fw-stream-dialog .fw-leave-error { color: #a83e35; }
.fw-cost-dialog .fw-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.fw-cost-dialog .fw-fields .fw-field { margin-bottom: 0; }
.fw-cost-purpose { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .fw-stream-header, .fw-cost-header { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .fw-stream-header h3, .fw-cost-header h3 { flex-basis: calc(100% - 48px); }
  .fw-stream-header > .fw-icon-button, .fw-cost-header > .fw-icon-button { order: 1; }
  .fw-stream-total, .fw-cost-total { order: 2; flex-basis: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; padding-left: 26px; }
  .fw-stream-body, .fw-cost-body { padding: 16px 14px; }
  .fw-stream-dialog.financial-workspace { padding: 18px; }
  .fw-cost-dialog .fw-fields { grid-template-columns: minmax(0, 1fr); }
}
.fw-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 39px; max-width: 100%; padding: 8px 12px; border: 1px solid #d6dfe4; border-radius: 5px; background: #fff; color: #435962; font: inherit; font-size: 11px; line-height: 1.4; text-align: center; cursor: pointer; }
.fw-button:hover:not(:disabled) { background: #f0f5f2; border-color: #9fb9ac; }
.fw-button:disabled { opacity: .55; cursor: default; }
.fw-primary { background: #277860; color: #fff; border-color: #277860; }
.fw-primary:hover:not(:disabled) { background: #20644f; color: #fff; }
.fw-button.fw-danger { background: #a83e35; color: #fff; border-color: #a83e35; }
.fw-button.fw-danger:hover:not(:disabled) { background: #8e3029; border-color: #8e3029; }
.fw-icon-button { width: 36px; min-height: 36px; height: 36px; padding: 8px; flex-shrink: 0; }
.fw-icon-button:hover:not(:disabled) { color: #a7473c; border-color: #ddb4ab; background: #fff5f3; }
.fw-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 17px; padding: 5px 0 23px; }
.fw-metric { min-width: 0; }
.fw-metric dt { color: var(--fw-muted); font-size: 11px; margin-bottom: 5px; }
.fw-metric dd { font-size: 22px; font-weight: 550; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fw-metric small { display: block; color: var(--fw-muted); font-size: 10px; margin-top: 3px; }
.financial-workspace .fw-negative { color: #a83e35; }
.fw-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fw-chart { min-width: 0; padding: 13px 0 20px; }
.fw-chart figcaption { display: grid; gap: 3px; }
.fw-chart figcaption strong { font-weight: 550; font-size: 12px; }
.fw-chart figcaption > span { font-size: 10px; color: var(--fw-muted); }
.fw-chart-plot { position: relative; height: 220px; width: 100%; margin-top: 9px; }
.fw-chart canvas { display: block; width: 100%; height: 220px; }
.fw-chart canvas:focus-visible { outline: 2px solid #7cac98; outline-offset: 2px; border-radius: 4px; }
.fw-chart-tooltip { position: absolute; top: 4px; z-index: 2; max-width: 100%; padding: 9px 11px; border: 1px solid #d5dfe5; border-radius: 5px; background: #fff; box-shadow: 0 3px 12px #243a4614; pointer-events: none; font-size: 10px; color: #536670; }
.fw-chart-tooltip strong { display: block; color: #293239; margin-bottom: 5px; }
.fw-chart-tooltip span { display: flex; align-items: center; gap: 6px; padding-block: 2px; }
.fw-chart-tooltip i { width: 7px; height: 7px; flex: 0 0 7px; }
.fw-chart-tooltip b { margin-left: auto; color: #293239; font-weight: 550; font-variant-numeric: tabular-nums; }
.fw-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: 10px; color: #52656e; }
.fw-chart-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.fw-chart-legend i { width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0; }
.fw-chart-summary { margin-top: 7px !important; font-size: 10px; line-height: 1.6; color: var(--fw-muted); }
.fw-warning { padding: 12px 14px; border-left: 3px solid #b96553; background: #fff5f2; color: #894338; font-size: 11px; line-height: 1.7; margin: 17px 0; }
.fw-warning strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.fw-checks { list-style: none; padding: 0; margin: 16px 0 0; }
.fw-checks li { display: flex; align-items: start; gap: 8px; padding: 9px 0; border-bottom: 1px solid #edf0f2; font-size: 11px; color: #456d5b; }
.fw-checks svg { margin-top: 2px; }
.fw-checks span { flex: 1; }
.fw-checks strong { font-size: 10px; font-weight: 500; text-align: right; }
.fw-warnings, .fw-scope { margin: 18px 0; color: var(--fw-muted); font-size: 11px; }
.fw-warnings summary, .fw-scope summary { color: #425e6a; font-weight: 500; cursor: pointer; padding: 8px 0; }
.fw-warnings ul, .fw-scope ul { padding-left: 18px; margin: 5px 0; line-height: 1.8; }
.fw-table-wrap { max-width: 100%; overflow: auto; overscroll-behavior-x: contain; margin: 14px 0; border: 1px solid var(--fw-line); border-radius: 4px; }
.fw-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 11px; background: #fff; font-variant-numeric: tabular-nums; }
.fw-table caption { text-align: left; padding: 10px 12px; font-size: 10px; color: var(--fw-muted); background: #f6f8f9; }
.fw-table th, .fw-table td { text-align: right; vertical-align: middle; min-width: 108px; padding: 11px 12px; border-bottom: 1px solid var(--fw-line); white-space: nowrap; }
.fw-table thead th { font-size: 10px; color: #586f7a; background: #f5f7f8; font-weight: 600; }
.fw-table th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; min-width: 160px; max-width: 200px; white-space: normal; overflow-wrap: anywhere; background: #fff; border-right: 1px solid var(--fw-line); font-weight: 500; }
.fw-table thead th:first-child { background: #f5f7f8; }
.fw-table tr:last-child > * { border-bottom: 0; }
.fw-table .fw-total-row > * { font-weight: 600; background: #f4f8f5; }
.fw-small-table td { white-space: normal; }
.fw-undo { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 16px; font-size: 11px; background: #f1f6f3; padding: 7px 10px; }
.fw-undo .fw-icon-button:hover:not(:disabled) { color: #20644f; border-color: #9fb9ac; background: #eaf4ee; }
.fw-range { display: flex; gap: 12px; align-items: center; }
.fw-range input[type="range"] { padding: 0; border: 0; accent-color: #277860; background: transparent; }
.fw-range output { flex: 0 0 45px; text-align: right; font-variant-numeric: tabular-nums; }
.fw-scenario-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.fw-scenario-heading { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; margin-bottom: 28px; }
.fw-scenario-heading > .fw-field { flex: 0 1 220px; }
.fw-scenario-heading > [role="status"] { align-self: center; color: var(--fw-muted); font-size: 11px; }
.fw-scenario-heading > .fw-button { margin-left: auto; }
.fw-button[data-fw-scenario-save] { background: #277860; border-color: #277860; color: #fff; }
.fw-button[data-fw-scenario-save]:hover:not(:disabled) { background: #20644f; }
.fw-scenario-sliders { gap: 24px 30px; }
.fw-scenario-sliders .fw-field > label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.fw-scenario-sliders .fw-range output { flex-basis: 54px; font-size: 16px; font-weight: 600; }
.fw-range-scale { display: flex; justify-content: space-between; padding-right: 66px; color: var(--fw-muted); font-size: 10px; }
.fw-scenario-actions { align-items: center; }
@media (max-width: 520px) { .fw-scenario-heading > .fw-field { flex-basis: 100%; } .fw-scenario-heading > .fw-button { margin-left: auto; } }
.fw-stream-enabled { display: flex; align-items: center; gap: 8px; font-size: 11px; margin: 0 0 17px; }
.financial-workspace .fw-stream-enabled input { width: 16px; height: 16px; min-height: 16px; accent-color: var(--fw-green); }
.fw-needs-review { color: #985536; }
.fw-source { display: inline-block; width: fit-content; max-width: 100%; padding: 1px 5px; border-radius: 3px; background: #eef1f3; color: #586773; font-size: 10px; line-height: 1.6; font-weight: 600; }
.fw-source-answer { color: #306c57; background: #eaf4ee; }
.fw-source-ai, .fw-source-suggested { color: #3f6989; background: #edf3f9; }
.fw-source-edited { color: #5d587d; background: #f1eff6; }
.fw-source-missing { color: #944436; background: #fff0eb; }
.fw-review .fw-fields { gap: 16px; }
.fw-review .fw-section { padding-block: 20px; }
.fw-review .fw-scope { margin-bottom: 0; }
.fw-review .fw-scope:first-child { margin-top: 0; }
.fw-review .fw-scope > .fw-fields { margin-top: 12px; }
.fw-review-preset { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: start; margin-bottom: 18px; }
.fw-review-preset > .fw-method { margin: 22px 0 0 !important; }
.fw-recommendation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 9px; margin-bottom: 18px; }
.fw-recommendation > strong { font-size: 13px; }
.fw-recommendation > p { flex-basis: 100%; color: var(--fw-muted); font-size: 12px; }
.fw-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.fw-review-missing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-top: 15px !important; color: #944436; font-size: 11px; }
.fw-page-link { border-color: transparent; color: #356c8b; background: transparent; padding-inline: 4px; }
.fw-warning > ul { padding-left: 16px; margin: 8px 0; }
.fw-warning > .fw-button { margin: 9px 7px 0 0; }
.fw-export-note { display: flex; gap: 9px; align-items: center; color: var(--fw-muted); font-size: 12px; border-block: 1px solid var(--fw-line); padding: 17px 0; margin: 22px 0; }
.fw-footer { border-top: 1px solid var(--fw-line); margin-top: 16px; padding-top: 20px; }
.fw-status { color: #456d5b; font-size: 12px; margin-bottom: 13px !important; }
.fw-status:empty { display: none; }
.fw-save-state { color: var(--fw-muted); font-size: 11px; }
.fw-leave-dialog { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #dce4e8; border-radius: 8px; color: #293239; background: #fff; font: 13px/1.6 Inter, system-ui, sans-serif; box-shadow: 0 18px 60px #24323b30; }
.fw-leave-dialog::backdrop { background: #1b302749; }
.fw-leave-dialog h2 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.fw-leave-dialog p { margin: 0 0 16px; }
.fw-leave-dialog .fw-leave-error { color: #a83e35; }
.fw-leave-error:empty { display: none; }
.fw-leave-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.fw-leave-actions svg { width: 16px; height: 16px; }
.fw-leave-actions button { font-size: 12px; }
.fw-leave-actions button:focus-visible { outline: 2px solid #7cac98; outline-offset: 3px; }
.fw-actions, .fw-actions > div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fw-actions { margin-top: 20px; }
.fw-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1150px) { .fw-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fw-chart-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } .fw-shell { gap: 20px; grid-template-columns: 151px minmax(0, 1fr); } }
@media (max-width: 800px) { .fw-shell { display: block; } .fw-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; position: static; border: 0; border-bottom: 1px solid var(--fw-line); padding: 17px 0; } .fw-nav-group + .fw-nav-group { margin-top: 0; } .fw-nav button { font-size: 10px; gap: 6px; padding: 7px 5px; } .fw-nav button svg { width: 14px; height: 14px; } }
@media (max-width: 520px) { .financial-workspace h1 { font-size: 23px; } .fw-header { align-items: start; } .fw-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 10px; } .fw-nav button { min-height: 38px; font-size: 11px; } .fw-fields { grid-template-columns: minmax(0, 1fr); } .fw-item { padding: 14px; } .fw-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 12px; } .fw-metric dd { font-size: 20px; } .fw-table th:first-child { min-width: 119px; max-width: 139px; } .fw-table th, .fw-table td { padding: 10px 9px; } .fw-actions > div { width: 100%; justify-content: stretch; } .fw-actions > div > button { flex: 1 1 170px; } .fw-section-heading .fw-add-stream { width: 100%; } .fw-add-stream select { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .financial-workspace * { scroll-behavior: auto !important; } }
@media (max-width: 650px) { .fw-review-preset { grid-template-columns: minmax(0, 1fr); gap: 10px; } .fw-review-preset > .fw-method { margin: 0 !important; } .fw-review .fw-section-heading { gap: 4px; } .fw-review .fw-section-heading > .fw-page-link { margin-left: auto; } }
@media (min-width: 1000px) { body.financial-workspace-open .workbench { max-width: 1520px; padding-inline: 32px; } }
@media (max-width: 650px) {
  .topbar { height: auto; min-height: 76px; flex-wrap: wrap; padding-block: 12px; row-gap: 8px; }
  .topnav { display: flex; flex-wrap: wrap; gap: 4px; max-width: 100%; min-width: 0; }
  .topnav-item { flex: 0 1 auto; min-width: 0; padding-inline: 7px; font-size: 10px; }
}
.fw-nav.fw-nav-external { --fw-muted: #687680; display: block; position: static; padding: 0; border: 0; font: 13px/1.55 Inter, system-ui, sans-serif; }
.fw-nav-external *, .fw-nav-external *::before, .fw-nav-external *::after { box-sizing: border-box; letter-spacing: 0; }
.fw-nav-external .fw-nav-group + .fw-nav-group { margin-top: 18px; }
.fw-nav-external .fw-nav-group > p { margin: 0; }
.fw-nav-external button { cursor: pointer; }
.fw-nav-external button:disabled { opacity: .55; cursor: default; }
.fw-nav-external button:focus-visible { outline: 2px solid #7cac98; outline-offset: 3px; }
.fw-nav-external button span { min-width: 0; overflow-wrap: anywhere; }
.fw-nav-external svg { width: 16px; height: 16px; flex-shrink: 0; }
.fw-dashboard-horizon { color: var(--fw-muted); font-size: 11px; }
.fw-dashboard-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 0 0 12px; border-bottom: 1px solid var(--fw-line); }
.fw-dashboard-controls > div:first-child, .fw-dashboard-year { display: flex; align-items: center; gap: 8px; }
.fw-control-label, .fw-dashboard-year label { color: var(--fw-muted); font-size: 10px; white-space: nowrap; }
.fw-dashboard-year { flex: 0 1 295px; min-width: 0; }
.fw-dashboard-year select { height: 36px; font-size: 11px; }
.fw-dashboard-controls > .fw-review-shortcut { margin-left: auto; }
.fw-dashboard-context { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; color: #6b7380; font-size: 10px; }
.fw-dashboard-context strong { font-weight: 500; }
.fw-dashboard-context > span { padding: 3px 6px; background: #eef1f4; border-radius: 3px; }
.fw-dashboard-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; }
.fw-dashboard-metrics .fw-metric { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--fw-line); }
.fw-dashboard-metrics dd { font-size: 24px; min-height: 34px; }
.fw-dashboard .fw-chart-grid { gap: 12px 30px; }
.fw-dashboard .fw-chart { border-bottom: 1px solid var(--fw-line); }
.fw-dashboard .fw-chart-summary { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fw-dashboard-trends { border-bottom: 0; padding-bottom: 0; }
.fw-dashboard-pnl .fw-table th, .fw-dashboard-pnl .fw-table td { padding-block: 9px; }
.fw-dashboard-pnl .fw-table-wrap { margin-bottom: 0; }
.fw-dashboard-pnl > .fw-method { margin-bottom: 0 !important; }
.fw-scenario-snapshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fw-scenario-snapshot { min-width: 0; border-top: 3px solid #dce4e8; padding-top: 8px; }
.fw-scenario-snapshot.is-selected { border-color: #277860; }
.fw-snapshot-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fw-snapshot-heading h4 { margin: 0; font-size: 13px; font-weight: 600; }
.fw-snapshot-heading .fw-icon-button:hover:not(:disabled) { background: #eaf4ee; border-color: #9fb9ac; color: #20644f; }
.fw-scenario-snapshot > p { font-size: 10px; color: var(--fw-muted); min-height: 36px; padding-block: 6px; }
.fw-scenario-snapshot dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 10px; padding: 7px 0; border-bottom: 1px solid var(--fw-line); font-size: 11px; }
.fw-scenario-snapshot dt { color: var(--fw-muted); }
.fw-scenario-snapshot dd { font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 1150px) {
  .fw-dashboard .fw-chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .fw-dashboard-metrics dd { font-size: 21px; }
}
@media (max-width: 900px) {
  .fw-dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-scenario-snapshots { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fw-scenario-snapshot > p { min-height: 0; }
}
@media (max-width: 650px) {
  .fw-dashboard .fw-chart-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fw-dashboard-controls { gap: 12px; }
  .fw-dashboard-year { flex: 1 1 230px; }
  .fw-dashboard-controls > .fw-review-shortcut { margin-left: auto; }
  .fw-dashboard-metrics .fw-metric { padding: 16px 10px 16px 0; }
  .fw-dashboard-metrics dd { font-size: 20px; }
}
.fa-page { min-width: 0; }
.fa-sections { flex-wrap: wrap; margin: 16px 0 24px; }
.fa-links, .fa-option-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fa-findings, .fa-options { display: grid; gap: 18px; margin: 18px 0; }
.fa-finding, .fa-option, .fa-ai { border: 1px solid var(--border, #dce2e8); border-radius: 12px; padding: 20px; min-width: 0; background: var(--panel, #fff); }
.fa-attention { border-left: 3px solid #c28a39; }
.fa-page h3, .fa-page h4 { margin: 0 0 12px; }
.fa-page p { line-height: 1.55; overflow-wrap: anywhere; }
.fa-amounts { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 16px 0; }
.fa-amounts dt { font-size: 12px; color: #64748b; }
.fa-amounts dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.fa-tag { font-size: 12px; padding: 5px 9px; border-radius: 6px; background: #f1f5f9; }
.fa-table-wrap { width: 100%; overflow-x: auto; margin: 14px 0; }
.fa-comparison { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.fa-comparison caption { text-align: left; color: #64748b; padding-bottom: 10px; font-size: 12px; }
.fa-comparison th, .fa-comparison td { text-align: right; white-space: nowrap; padding: 9px 12px; border-bottom: 1px solid #e2e8f0; }
.fa-comparison th:first-child { text-align: left; }
.fa-changes { padding-left: 20px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.fa-ai { margin-top: 24px; }
.fa-stale { opacity: .65; border-left: 3px solid #94a3b8; padding-left: 12px; }
@media (max-width: 640px) { .fa-finding, .fa-option, .fa-ai { padding: 14px; } .fa-option-heading { align-items: flex-start; } .fa-sections { gap: 5px; } .fa-comparison th, .fa-comparison td { padding: 8px; } }
