.accounting-sheets{min-width:0;display:grid;grid-gap:14px;gap:14px}.sheet-heading,.sheet-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:space-between}.sheet-heading h2,.sheet-toolbar h3{margin:0}.sheet-heading p{color:var(--muted);margin:8px 0}.sheet-tabs{display:flex;flex-wrap:wrap;gap:8px}.sheet-tabs button{border:1px solid var(--surface-border);border-radius:10px;background:var(--card-bg);color:var(--text);padding:12px 16px;font-weight:750}.sheet-tabs button[aria-current]{color:#fff;background:var(--brand-blue)}.sheet-table{max-width:100%;overflow:auto;border:1px solid var(--surface-border);border-radius:14px;background:var(--card-bg)}.sheet-table table{width:100%;border-collapse:collapse}.sheet-table :is(th,td){padding:14px;text-align:left;border-bottom:1px solid var(--surface-border);min-width:145px;max-width:380px}.sheet-table th{white-space:nowrap;font-size:12px;background:var(--subtle-bg);font-weight:750}.sheet-table td{font-size:13px}.sheet-table td:last-child{min-width:210px}.sheet-table td button{margin:3px}.sheet-editor,.sheet-empty{padding:20px;border:1px solid var(--surface-border);border-radius:16px;background:var(--card-bg)}.sheet-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));grid-gap:16px;gap:16px;margin:16px 0}.accounting-sheets label{display:grid;grid-gap:6px;gap:6px;font-size:13px}.accounting-sheets :is(input:not([type=checkbox]),select){width:100%;min-width:0;padding:10px;border:1px solid var(--surface-border);border-radius:8px;color:var(--text);background:var(--card-bg)}.sheet-toolbar label:has(input[type=checkbox]){display:flex;align-items:center}.sheet-editor-footer{display:flex;gap:12px;justify-content:flex-end;background:var(--card-bg);position:-webkit-sticky;position:sticky;bottom:0;padding:14px 0}.sheet-toolbar{justify-content:flex-start}.sheet-toolbar h3{margin-right:auto}.accounting-sheets .setup-notice{margin:0}@media(max-width:600px){.sheet-heading{align-items:stretch}.sheet-heading label,.sheet-heading>*{width:100%}.sheet-toolbar button{flex:1 1 auto}.sheet-editor{padding:14px}.sheet-tabs button{flex:1 1 30%;padding:11px 8px}}.accounting-sheets .setup-notice{color:var(--text,#111827)}.accounting-workspace{display:grid;grid-gap:24px;gap:24px;min-width:0}.accounting-section-heading h1{margin:0}.accounting-section-heading p{color:var(--muted);margin:8px 0 0}.accounting-section-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.accounting-section-nav button{display:grid;grid-gap:6px;gap:6px;text-align:left;padding:18px;border:1px solid var(--surface-border);border-radius:14px;background:var(--panel);color:var(--text)}.accounting-section-nav button span{font-size:12px;color:var(--muted)}.accounting-section-nav button[aria-pressed=true]{border-color:var(--brand-blue);box-shadow:inset 0 0 0 1px var(--brand-blue)}.accounting-section-panel{padding:28px;background:var(--panel);border:1px solid var(--surface-border);border-radius:18px;min-width:0}.accounting-connection-grid{display:grid;grid-gap:24px;gap:24px}.accounting-sheets{gap:24px}.sheet-toolbar{padding:16px 0;gap:14px}.sheet-heading{align-items:flex-start}.sheet-tabs{padding-bottom:18px;border-bottom:1px solid var(--surface-border)}.sheet-table :is(th,td){padding:18px}.accounting-section-panel .accounting-demo-banner{margin-bottom:24px}@media(max-width:700px){.accounting-section-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-section-panel{padding:16px}.accounting-section-nav button{padding:14px}}.accounting-section-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.accounting-section-heading p{min-width:0;flex:1 1 240px}.accounting-section-panel>*{min-width:0;max-width:100%}.accounting-section-nav button{min-width:0;overflow-wrap:anywhere}@media(max-width:700px){.accounting-section-heading{display:block}.accounting-section-heading p{margin-top:10px}.accounting-section-panel .sheet-toolbar{align-items:stretch}.accounting-section-panel .sheet-toolbar h3{flex-basis:100%}}.accounting-primary-nav{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;border-bottom:1px solid var(--surface-border)}.accounting-primary-nav button{flex:0 0 auto;min-height:44px;padding:10px 14px;border:1px solid var(--surface-border);border-radius:8px;background:var(--panel);color:var(--text);font:inherit;font-weight:650}.accounting-primary-nav button[aria-current=page]{background:var(--brand-blue);color:#fff;border-color:var(--brand-blue)}.accounting-sample-notice{margin:0;color:var(--muted);font-size:13px}.accounting-workspace .accounting-section-panel{padding:20px;display:grid;grid-gap:24px;gap:24px}.accounting-workspace .accounting-tab-content,.accounting-workspace .accounting-table-card{min-height:0}@media(max-width:700px){.accounting-workspace .accounting-section-panel{padding:14px}}.accounting-chart-scroll{overflow-x:auto;max-width:100%;padding:10px 0}.accounting-chart-scroll svg{display:block;width:100%;color:var(--text);font:11px var(--font-sans,sans-serif)}.flow-income{fill:var(--accent)}.flow-expense{fill:#9fb1c9}.flow-net{stroke:#237654}.accounting-chart-legend .net,.flow-net-point{fill:#237654;background:#237654}.flow-net-point:focus{outline:2px solid var(--accent);outline-offset:3px}.accounting-chart-data{padding:12px 20px;font-size:13px}.accounting-chart-data summary{cursor:pointer;font-weight:650}.accounting-workspace .accounting-chart-data table{width:100%;min-width:520px;margin-top:12px}.accounting-chart-data :is(th,td){text-align:left;padding:8px;white-space:nowrap}.sheet-empty .primary-button,.sheet-empty .secondary-button{margin-block:6px}.sheet-table table{table-layout:fixed;min-width:720px}.sheet-table :is(th,td){min-width:0;max-width:none;padding:12px 9px;white-space:normal;overflow-wrap:anywhere}.sheet-table td:last-child{min-width:0}.sheet-row-actions summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--brand-blue);font-weight:650}.sheet-row-actions[open]{min-width:0}.sheet-row-actions button{width:100%;font-size:12px;padding:8px 5px}.sheet-table th:first-child{width:15%}.ledger-filters label{display:grid;grid-gap:6px;gap:6px;font-size:13px;min-width:160px}.ledger-filters select{padding:10px;border:1px solid var(--surface-border);border-radius:8px;color:var(--text);background:var(--card-bg);max-width:100%}.accounting-sheets small{display:block;margin-top:6px;font-weight:400}.accounting-sheets :is(input,select,button):focus-visible,.ledger-filters :is(select,button):focus-visible{outline:2px solid var(--brand-blue);outline-offset:3px}.accounting-sheets table,.accounting-table-wrap table{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.accounting-table-wrap>p,.ledger-filters{padding-inline:12px}@media(max-width:600px){.ledger-filters label{width:100%;min-width:0}}.accounting-sheets[aria-label="Loan register"] table{min-width:1100px}.accounting-sheets[aria-label="Investor register"] table{min-width:1250px}.accounting-sheets[aria-label$=register] td:last-child .secondary-button{width:100%;padding:8px;min-height:40px}.accounting-sheets,.accounting-workspace,.accounting-workspace .accounting-section-panel{align-content:start}.accounting-workspace .accounting-sheets{gap:16px}.accounting-workspace .sheet-toolbar{padding-block:0}.accounting-workspace .accounting-cash-flow-card{min-width:0;padding:20px;border:1px solid var(--surface-border);border-radius:12px;background:var(--panel)}.accounting-workspace .accounting-cash-flow-card>.accounting-section-heading{flex-wrap:wrap;gap:12px;margin-bottom:16px}.accounting-workspace .accounting-chart-legend{flex-wrap:wrap;flex-shrink:0;font-size:.75rem}.accounting-workspace .accounting-chart-legend span{white-space:nowrap}