:root{font-family:Trebuchet MS,Segoe UI,sans-serif;color:#20201f;background:#f8f5f2;font-synthesis:none;text-rendering:optimizeLegibility;--accent: #9c442e;--ink: #20201f;--paper: #f8f5f2;--line: #ded8d2;--muted: #706c68}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.page-shell{min-height:100vh;background-image:repeating-linear-gradient(135deg,transparent 0 28px,rgba(156,68,46,.025) 28px 29px)}.masthead{padding:34px 24px 30px;background:var(--accent);color:#fff;border-bottom:7px solid var(--ink)}.masthead-inner,.app-frame{width:min(1120px,100%);margin:0 auto}.eyebrow{margin:0 0 8px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px}.masthead .eyebrow{color:#f3ddd4}.masthead h1,.welcome-card h2{margin:0;font-family:Impact,Arial Narrow,sans-serif;font-size:clamp(38px,7vw,58px);font-weight:500;line-height:.95;text-transform:uppercase}.masthead-note{margin:14px 0 0;font-size:14px}.app-frame{padding:0 24px 40px}.view-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;min-height:64px;border-bottom:1px solid var(--line)}.view-tabs button{padding:22px 0 19px;color:#625e5a;background:transparent;border:0;border-bottom:3px solid transparent;font:inherit;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.view-tabs button:hover,.view-tabs button.is-active{color:var(--accent)}.view-tabs button.is-active{border-bottom-color:var(--accent)}.view-tabs button:focus-visible{outline:2px solid #d59a57;outline-offset:-2px}.welcome-card{max-width:760px;margin:38px auto;padding:30px;background:#ffffffe0;border:1px solid var(--line);border-left:4px solid var(--accent)}.welcome-card h2{font-size:clamp(28px,5vw,38px)}.welcome-card>p:last-child{max-width:620px;margin:16px 0 0;color:#514c48;font-size:14px;line-height:1.65}.auth-frame{max-width:1120px}.auth-card{max-width:620px}.auth-card code{padding:2px 4px;background:#f0ece8;font-size:12px}.auth-button{margin-top:20px;padding:12px 18px;color:#fff;background:var(--accent);border:0;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.auth-button:disabled{cursor:wait;opacity:.7}.auth-button-secondary{margin-top:0;color:var(--accent);background:transparent;border:1px solid var(--accent)}.account-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;color:var(--muted);font-size:12px}.auth-error{margin:0 auto;padding:12px 16px;color:#7d2515;background:#fff0ec;border:1px solid #e8b6a8;font-size:13px;line-height:1.5}.financial-dashboard{padding-top:24px}.data-quality-note{margin:0 0 24px;padding:12px 16px;color:#735417;background:#fff8e6;border:1px solid #e8d49c;font-size:12px;line-height:1.55}.dashboard-empty,.dashboard-status{margin:8px 0 32px;padding:28px;background:#ffffffe6;border:1px solid var(--line);border-left:4px solid var(--accent)}.dashboard-empty h2,.dashboard-heading h2{margin:0;font-family:Impact,Arial Narrow,sans-serif;font-size:clamp(24px,4vw,34px);font-weight:500;text-transform:uppercase}.dashboard-empty>p:last-child{max-width:700px;margin:14px 0 0;color:#514c48;font-size:14px;line-height:1.6}.dashboard-status{color:#514c48;font-size:14px}.dashboard-error{color:#7d2515;background:#fff0ec;border-color:#e8b6a8}.dashboard-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}.dashboard-actions{display:flex;align-items:center;gap:14px}.dashboard-caption{color:var(--muted);font-size:11px}.export-button{padding:9px 13px;color:#fff;background:var(--accent);border:0;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.export-button:hover{background:#7e3524}.export-button:focus-visible{outline:3px solid #d59a57;outline-offset:2px}.export-error{margin:0 0 14px;color:#7d2515;font-size:12px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.summary-card{min-width:0;padding:18px;background:#ffffffeb;border:1px solid var(--line)}.summary-card h3{margin:0 0 16px;color:var(--muted);font-size:11px;letter-spacing:.5px;text-transform:uppercase}.summary-card ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}.summary-card li{display:grid;gap:4px}.summary-card strong{font-size:20px}.summary-card li span,.summary-unavailable{color:var(--muted);font-size:11px}.summary-card>strong{font-size:16px}.data-grid .summary-card{overflow-wrap:anywhere}.data-provenance{margin-top:16px}.data-import-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}.import-label{padding:10px 14px;color:#fff;background:var(--accent);font-size:12px;font-weight:700}.data-import-controls input{max-width:100%;color:var(--muted);font:inherit;font-size:12px}.import-success{padding:10px 14px;color:#245c3b;background:#eaf5ee;border:1px solid #b5d8c0;font-size:12px}.data-export-button{margin:16px 10px 0 0}.detail-table{min-width:900px}.detail-table thead th{text-align:left}.detail-table tbody td{padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.detail-table tbody th{text-align:left}.summary-unavailable{margin:0}.history-section{margin-top:38px}.chart-controls{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:12px;font-weight:700}.chart-controls select{min-width:220px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line);font:inherit}.evolution-chart-grid{display:grid;gap:14px;margin-bottom:14px}.evolution-chart{min-width:0;margin:0;padding:14px 16px 12px;overflow-x:auto;background:#fff;border:1px solid var(--line)}.evolution-chart-svg{display:block;width:100%;min-width:680px;height:auto}.evolution-grid-line{stroke:#e7e1dc;stroke-width:1}.evolution-axis-label{fill:var(--muted);font-family:inherit;font-size:11px}.evolution-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding:8px 2px 0;color:#514c48;font-size:10px}.evolution-legend-item{display:inline-flex;align-items:center;gap:6px}.evolution-legend-line{display:inline-block;width:20px;border-top:2px solid currentColor}.evolution-legend-line.is-estimate{border-top-style:dashed}.projection-note{margin:0 0 14px;padding:10px 14px;color:#735417;background:#fff8e6;border:1px solid #e8d49c;font-size:12px;line-height:1.55}.history-table-wrap{overflow:auto;max-height:560px;background:#fff;border:1px solid var(--line)}.history-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:11px;text-align:right}.history-table th,.history-table td{padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.history-table thead th{position:sticky;top:0;z-index:1;background:#f0ece8;text-align:center}.history-table thead tr:nth-child(2) th{top:34px}.history-table thead .value-type-heading{color:var(--muted);font-size:10px}.history-table tbody th{position:sticky;left:0;background:#f8f5f2;text-align:left;text-transform:capitalize}.history-table .history-value{min-width:125px}.app-footer{display:flex;justify-content:space-between;gap:12px;margin-top:40px;padding-top:14px;color:var(--muted);border-top:1px solid var(--line);font-size:10px;font-weight:700;letter-spacing:.5px}@media(max-width:600px){.masthead{padding:26px 18px 22px}.app-frame{padding:0 16px 30px}.view-tabs{flex-wrap:nowrap;gap:18px;overflow-x:auto}.view-tabs button{flex:0 0 auto}.welcome-card{margin:26px auto;padding:22px}.account-bar{align-items:flex-start;flex-direction:column}.dashboard-heading{align-items:flex-start;flex-direction:column;gap:8px}.dashboard-actions{align-items:flex-start;flex-direction:column;gap:10px}.dashboard-empty,.dashboard-status{padding:22px}.app-footer{font-size:8px}}
