:root {
  --ink: #1b2922;
  --muted: #718078;
  --soft: #f5f8f6;
  --line: #e2ebe5;
  --green: #0d6848;
  --green-2: #e6f4eb;
  --green-3: #9bcaa8;
  --blue: #2d68a8;
  --blue-2: #e9f1fb;
  --amber: #a97817;
  --amber-2: #fff3d8;
  --purple: #725aa5;
  --purple-2: #f0ecfb;
  --red: #bb554f;
  --red-2: #fae9e7;
  --shadow: 0 12px 36px rgba(31, 58, 43, .06);
}

* { box-sizing: border-box; }
html, body, #root { min-height: 100%; margin: 0; }
body { background: #f8faf8; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }

.loading-screen { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); }
.loading-screen .brand-mark { margin: 0 auto; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 1fr) minmax(400px, 1fr); background: #fff; }
.login-story { position: relative; display: flex; flex-direction: column; min-height: 100vh; background: #edf5ef; padding: 42px 52px 28px; overflow: hidden; }
.login-story::before { content: ''; position: absolute; height: 440px; width: 440px; border: 1px solid rgba(13,104,72,.07); border-radius: 50%; bottom: -245px; left: -180px; box-shadow: 0 0 0 55px rgba(13,104,72,.025), 0 0 0 110px rgba(13,104,72,.02); pointer-events: none; }
.login-brand { display: flex; align-items: center; gap: 12px; position: relative; }
.login-brand .brand-mark { width: 41px; height: 41px; border-radius: 12px; }
.login-brand strong { display: block; color: #164b37; font-size: 16px; letter-spacing: -.025em; }
.login-brand span { display: block; color: #6b8475; font-size: 11px; margin-top: 4px; }
.login-story-content { position: relative; width: 100%; max-width: 475px; margin: auto; padding: 70px 0 60px; }
.login-overline { font-size: 10px; letter-spacing: .15em; color: #4c8060; font-weight: 800; }
.login-story h1 { color: #174f38; font-size: clamp(34px, 3.4vw, 53px); letter-spacing: -.05em; font-weight: 650; line-height: 1.12; margin: 20px 0; }
.login-story-content > p { color: #688171; font-size: 14px; line-height: 1.8; max-width: 360px; margin: 0; }
.login-illustration { color: #5a956f; margin-top: 18px; max-width: 410px; }
.login-illustration svg { display: block; width: 100%; height: auto; }
.login-features { display: flex; flex-wrap: wrap; gap: 9px 15px; margin-top: 12px; color: #50795f; font-size: 10px; }
.login-story-footer { position: relative; color: #799383; font-size: 10px; margin: 0; }
.login-form-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 65px 40px; position: relative; }
.login-card { width: 100%; max-width: 355px; }
.login-lock { width: 47px; height: 47px; border-radius: 14px; background: #edf5ef; color: var(--green); display: grid; place-items: center; margin-bottom: 27px; }
.login-card .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 10px; }
.login-card h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.045em; margin: 0; }
.login-intro { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 10px 0 28px; }
.login-form { display: grid; gap: 18px; }
.login-form .field > span { font-size: 12px; font-weight: 600; margin-bottom: 8px; color: #425b4d; }
.login-form .field input { height: 46px; font-size: 13px; border-color: #dce7df; border-radius: 9px; padding: 0 13px; background: #fcfdfc; }
.login-form .field input::placeholder { color: #a0aca4; }
.password-input { position: relative; }
.password-input input { padding-right: 65px !important; }
.password-input button { position: absolute; inset: 5px 5px 5px auto; padding: 0 10px; border: 0; background: transparent; color: #547563; font-size: 11px; border-radius: 5px; }
.password-input button:hover { background: #edf5ef; }
.login-submit { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; margin-top: 5px; border-radius: 9px; }
.login-submit > span { font-size: 18px; font-weight: 400; }
.login-help { color: #91a097; font-size: 10px; line-height: 1.6; text-align: center; margin: 22px 0 0; }
.login-error { background: #fff2f0; border: 1px solid #f2d2cc; color: #a1493d; padding: 10px 12px; border-radius: 8px; font-size: 12px; line-height: 1.5; }
.login-footer { position: absolute; bottom: 24px; color: #9ba89f; font-size: 10px; margin: 0; }
.logout-button { width: 100%; border: 1px solid var(--line); background: #fbfdfb; color: #667b6c; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; border-radius: 8px; margin-top: 12px; font-size: 11px; }
.logout-button:hover { background: #edf5ef; color: var(--green); }
.logout-button:focus-visible, .login-page button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 900px) { .login-story { padding: 30px; }.login-page { grid-template-columns: minmax(280px, 1fr) minmax(350px, 1fr); }.login-form-panel { padding: 65px 30px; }.login-story h1 { font-size: 37px; }.login-features { gap: 9px; } }
@media (max-width: 680px) { .login-page { display: flex; flex-direction: column; min-height: 100dvh; background: #f8faf8; }.login-story { min-height: auto; padding: 24px; background: #f8faf8; }.login-story-content, .login-story-footer, .login-story::before { display: none; }.login-form-panel { flex: 1; padding: 28px 24px 65px; justify-content: flex-start; }.login-card { max-width: 400px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }.login-card h2 { font-size: 28px; }.login-lock { margin-bottom: 21px; }.login-footer { bottom: 22px; } }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 8px 18px rgba(13, 104, 72, .18); }
.app-shell { min-height: 100vh; display: flex; background: #f8faf8; }
.sidebar { width: 252px; flex: 0 0 252px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 22px 13px 15px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; padding: 0 9px 24px; }
.brand-lockup strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand-lockup span { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.org-switcher { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: #fbfdfb; border-radius: 13px; padding: 10px; margin: 0 2px 22px; }
.org-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: var(--green-2); color: var(--green); font-weight: 800; font-size: 11px; }
.org-switcher strong { display: block; font-size: 11px; white-space: nowrap; }
.org-switcher span { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }
.org-switcher .chevron { margin-left: auto; font-size: 16px; color: var(--muted); }
.side-nav { flex: 1; overflow-y: auto; }
.nav-section { margin-bottom: 20px; }
.nav-section > p { margin: 0 10px 7px; color: #9aa79f; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.nav-link { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: #64736b; padding: 9px 10px; border-radius: 9px; text-align: left; transition: .15s ease; }
.nav-link:hover { background: #f4f8f5; color: var(--green); }
.nav-link.active { background: #dff0e4; color: var(--green); font-weight: 700; }
.nav-link em { margin-left: auto; font-style: normal; min-width: 20px; padding: 3px 5px; border-radius: 10px; color: #a6761c; background: var(--amber-2); text-align: center; font-size: 10px; }
.nav-icon { width: 17px; color: currentColor; font-weight: 700; font-size: 15px; text-align: center; }
.sidebar-bottom { margin-top: auto; }
.import-link { border: 0; background: transparent; display: flex; align-items: center; gap: 9px; color: var(--muted); padding: 12px 10px 15px; width: 100%; text-align: left; font-size: 11px; }
.import-link:hover { color: var(--green); }
.import-link span { font-size: 18px; }
.profile { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 14px 7px 0; }
.profile-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-2); color: var(--purple); font-size: 10px; font-weight: 800; }
.profile strong { display: block; font-size: 11px; }
.profile span { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }
.profile .more { margin-left: auto; color: #9da8a1; font-size: 12px; }
.main-shell { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.topbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); padding: 0 29px; position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: #9aa79f; font-size: 12px; white-space: nowrap; }
.breadcrumbs strong { color: var(--ink); }
.breadcrumbs b { color: #c1cbc5; font-size: 17px; font-weight: 400; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.search-box { width: 260px; height: 36px; border: 1px solid var(--line); background: #fbfdfb; border-radius: 9px; display: flex; align-items: center; gap: 7px; padding: 0 9px; color: #8c9991; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box kbd { border: 1px solid #e3e9e5; border-radius: 4px; padding: 2px 4px; font-size: 9px; color: #a2aca6; white-space: nowrap; }
.theme-button, .notification-button, .icon-button { border: 0; background: transparent; color: #78877e; font-size: 18px; height: 34px; width: 32px; border-radius: 8px; position: relative; }
.theme-button:hover, .notification-button:hover, .icon-button:hover { background: #f1f6f2; color: var(--green); }
.notification-button i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #d3982c; right: 5px; top: 6px; border: 1px solid #fff; }
.content-scroll { width: 100%; max-width: 1540px; padding: 31px 34px 60px; margin: 0 auto; }
.connection-banner { display: flex; align-items: center; gap: 12px; border: 1px solid #f0d79f; background: #fff9e8; color: #725419; padding: 10px 14px; border-radius: 11px; margin-bottom: 17px; }
.connection-banner span { padding: 4px 7px; border-radius: 5px; background: #ffedbd; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.connection-banner p { margin: 0; font-size: 11px; flex: 1; }
.connection-banner code { background: rgba(255,255,255,.72); border: 1px solid #f1dcaf; border-radius: 4px; padding: 1px 4px; }
.connection-banner button { border: 0; background: transparent; color: #8a6418; font-weight: 700; font-size: 11px; }
.loading-line { color: var(--muted); height: 22px; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.loading-line span { width: 8px; height: 8px; border-radius: 50%; background: var(--green-3); animation: pulse 1s ease infinite alternate; }
@keyframes pulse { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.1); } }
.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 26px; }
.eyebrow { display: inline-block; color: var(--green); text-transform: uppercase; letter-spacing: .11em; font-size: 9px; font-weight: 800; margin-bottom: 8px; }
.page-header h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.045em; line-height: 1.05; }
.page-header p { color: var(--muted); margin: 8px 0 0; font-size: 12px; }
.page-header-action, .button-row { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button, .text-button, .wide-action { border: 0; border-radius: 8px; min-height: 38px; padding: 0 14px; font-weight: 700; font-size: 11px; transition: .15s ease; }
.primary-button { background: var(--green); color: #fff; box-shadow: 0 8px 16px rgba(13,104,72,.14); }
.primary-button:hover { background: #09573c; transform: translateY(-1px); }
.primary-button.compact { min-height: 34px; padding: 0 12px; }
.secondary-button { background: #fff; color: #5d6d63; border: 1px solid var(--line); }
.secondary-button:hover { border-color: #b9cbbf; color: var(--green); }
.text-button { min-height: auto; padding: 0; background: transparent; color: var(--green); }
.text-button span { font-size: 16px; margin-left: 4px; vertical-align: -1px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.metric-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 16px 17px 12px; min-height: 128px; box-shadow: var(--shadow); }
.metric-card:after { content: ''; position: absolute; width: 100px; height: 100px; right: -32px; bottom: -47px; border-radius: 50%; opacity: .18; background: currentColor; }
.metric-card.green { color: var(--green); }.metric-card.blue { color: var(--blue); }.metric-card.amber { color: var(--amber); }.metric-card.purple { color: var(--purple); }
.metric-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.metric-top b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: currentColor; color: #fff; font-size: 12px; opacity: .8; }
.metric-card > strong { display: block; color: var(--ink); font-size: 23px; letter-spacing: -.045em; margin-top: 13px; }
.metric-card > small { color: var(--muted); font-size: 10px; }
.metric-spark { display: flex; align-items: end; gap: 3px; height: 19px; position: absolute; right: 14px; bottom: 10px; opacity: .24; }
.metric-spark i { display: block; width: 4px; border-radius: 2px; background: currentColor; }.metric-spark i:nth-child(1) { height: 7px; }.metric-spark i:nth-child(2) { height: 12px; }.metric-spark i:nth-child(3) { height: 8px; }.metric-spark i:nth-child(4) { height: 15px; }.metric-spark i:nth-child(5) { height: 10px; }.metric-spark i:nth-child(6) { height: 16px; }.metric-spark i:nth-child(7) { height: 19px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 15px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); min-width: 0; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 18px 14px; }
.panel-head h2 { font-size: 14px; margin: 0; letter-spacing: -.02em; }.panel-head p { color: var(--muted); font-size: 10px; margin: 5px 0 0; }
.activity-panel, .projects-panel { min-width: 0; }.activity-panel { grid-row: span 2; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th { color: #9aa69e; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; text-align: left; padding: 10px 17px; background: #fbfdfb; border-top: 1px solid #f0f4f1; border-bottom: 1px solid #edf2ee; white-space: nowrap; }
td { padding: 12px 17px; border-bottom: 1px solid #eef3ef; color: #617067; font-size: 11px; vertical-align: middle; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; } tbody tr:hover { background: #fbfdfb; }
td strong { display: block; color: var(--ink); font-size: 11px; font-weight: 700; } td small { display: block; color: #97a49c; font-size: 9px; margin-top: 4px; white-space: normal; max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.align-right { text-align: right; }.money { color: #37483e; font-variant-numeric: tabular-nums; font-weight: 700; }.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #718178; font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 4px 7px; background: #edf3ef; color: #577063; font-size: 9px; font-weight: 800; }.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status-pill.active, .status-pill.posted { color: #258154; background: #e8f5eb; }.status-pill.planning, .status-pill.draft { color: #9a701b; background: #fff3d8; }.status-pill.on-hold, .status-pill.cancelled { color: #ad5c58; background: #fae9e7; }.status-badge { display: inline-flex; border-radius: 20px; padding: 5px 8px; font-size: 9px; font-weight: 800; }.status-badge.green { background: #e8f5eb; color: #258154; }
.compliance-panel { min-height: 100%; }.control-list { padding: 0 18px; }.control-row { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid #edf2ee; }.control-row:last-child { border-bottom: 0; }.control-row > div:nth-child(2) { flex: 1; }.control-row strong { display: block; font-size: 11px; }.control-row small { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; }.control-row > b { font-size: 20px; letter-spacing: -.04em; }.control-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 800; }.green-bg { background: var(--green-2); color: var(--green); }.amber-bg { background: var(--amber-2); color: var(--amber); }.blue-bg { background: var(--blue-2); color: var(--blue); }.wide-action { background: #f2f8f3; color: var(--green); width: calc(100% - 36px); margin: 12px 18px 18px; text-align: left; display: flex; justify-content: space-between; align-items: center; }.wide-action:hover { background: var(--green-2); }
.projects-panel, .quick-panel { margin-top: 0; }.project-health-list { padding: 0 18px 16px; }.project-health { padding: 5px 0 15px; }.project-health + .project-health { border-top: 1px solid #edf2ee; padding-top: 14px; }.project-health-head, .project-health-foot { display: flex; justify-content: space-between; gap: 12px; }.project-health-head strong { display: block; font-size: 11px; }.project-health-head small, .project-health-foot { color: var(--muted); font-size: 9px; margin-top: 4px; }.project-health-head > b { font-size: 12px; color: var(--green); }.project-health-foot { margin-top: 6px; }.progress-track { height: 6px; background: #ecf1ed; border-radius: 20px; overflow: hidden; margin-top: 10px; }.progress-track span { height: 100%; display: block; border-radius: 20px; background: var(--green-3); }.progress-track span.amber { background: #e3b75d; }.progress-track span.red { background: #dd8079; }
.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 18px 18px; }.quick-actions button { border: 1px solid var(--line); background: #fbfdfb; border-radius: 10px; display: flex; align-items: center; gap: 9px; padding: 10px; text-align: left; }.quick-actions button:hover { border-color: #bcd0c2; background: #f6fbf7; }.quick-actions button > span:nth-child(2) { flex: 1; }.quick-actions strong, .quick-actions small { display: block; }.quick-actions strong { font-size: 10px; }.quick-actions small { color: var(--muted); font-size: 8px; margin-top: 3px; }.quick-actions button > b { color: #a9b5ad; }.quick-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; font-weight: 800; }.quick-icon.orange { background: #fff0dc; color: #a96b20; }.quick-icon.green { background: var(--green-2); color: var(--green); }.quick-icon.blue { background: var(--blue-2); color: var(--blue); }.quick-icon.purple { background: var(--purple-2); color: var(--purple); }
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }.summary-strip > div { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; }.summary-strip span { display: block; color: var(--muted); font-size: 10px; }.summary-strip strong { display: block; font-size: 18px; letter-spacing: -.04em; margin-top: 8px; }.progress-cell { min-width: 110px; }
.header-select { min-width: 220px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); padding: 0 9px; outline: 0; font-size: 11px; }.page-header-action > .field > span { text-align: left; margin-bottom: 5px; }
.ledger-summary { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }.ledger-summary > div { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; }.ledger-summary span, .ledger-summary small { display: block; color: var(--muted); font-size: 10px; }.ledger-summary strong { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.04em; margin-top: 8px; }.ledger-summary small { margin-top: 3px; }
.account-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }.account-type-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; }.account-type-card > div { flex: 1; }.account-type-card small, .account-type-card strong { display: block; }.account-type-card small { color: var(--muted); font-size: 10px; }.account-type-card strong { font-size: 19px; margin-top: 3px; }.type-dot { width: 9px; height: 9px; border-radius: 50%; }.type-dot.asset { background: var(--green); }.type-dot.liability { background: var(--amber); }.type-dot.income { background: var(--blue); }.type-dot.expense { background: var(--purple); }.muted-arrow { color: #a7b2aa; font-size: 18px; }.account-type { font-size: 10px; font-weight: 700; border-radius: 5px; padding: 4px 7px; }.account-type.asset { color: var(--green); background: var(--green-2); }.account-type.liability { color: var(--amber); background: var(--amber-2); }.account-type.income { color: var(--blue); background: var(--blue-2); }.account-type.expense { color: var(--purple); background: var(--purple-2); }
.tabs { display: flex; gap: 3px; padding: 4px; width: max-content; background: #edf3ee; border-radius: 9px; margin-bottom: 15px; }.tabs button { border: 0; background: transparent; color: #728178; padding: 8px 12px; border-radius: 7px; font-size: 10px; font-weight: 700; }.tabs button.active { background: #fff; color: var(--green); box-shadow: 0 2px 7px rgba(31, 58, 43, .08); }.count-label { color: var(--muted); font-size: 10px; }.voucher-type { display: inline-block; border-radius: 6px; padding: 5px 7px; font-size: 10px; font-weight: 800; }.voucher-type.rv { color: var(--green); background: var(--green-2); }.voucher-type.pv { color: var(--blue); background: var(--blue-2); }.voucher-type.jv { color: var(--purple); background: var(--purple-2); }.voucher-type.expense { color: var(--amber); background: var(--amber-2); }.method-chip { border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; color: #65766b; font-size: 9px; }
.two-column-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.mini-list { padding: 0 18px 13px; }.mini-row { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid #edf2ee; }.mini-row:last-child { border-bottom: 0; }.mini-row > div:nth-child(2) { flex: 1; }.mini-row strong, .mini-row small { display: block; }.mini-row strong { font-size: 11px; }.mini-row small { color: var(--muted); font-size: 9px; margin-top: 4px; }.fund-symbol, .party-symbol { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--green-2); color: var(--green); font-weight: 800; }.party-symbol.contractor { background: var(--blue-2); color: var(--blue); }.party-symbol.supplier { background: var(--amber-2); color: var(--amber); }.party-symbol.employee { background: var(--purple-2); color: var(--purple); }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.report-funds { grid-column: span 2; }.report-project-list, .expense-bars { padding: 0 18px 18px; }.report-project { padding: 10px 0 15px; }.report-project + .report-project { border-top: 1px solid #edf2ee; }.report-project-head { display: flex; justify-content: space-between; align-items: baseline; }.report-project-head strong { font-size: 11px; }.report-project-head small { color: var(--muted); display: block; font-size: 9px; margin-top: 4px; }.bar-row { padding: 9px 0; }.bar-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #65746b; font-size: 10px; }.bar-row b { color: var(--ink); }.bar-track { height: 8px; background: #eef3ef; border-radius: 20px; overflow: hidden; margin-top: 7px; }.bar-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6caf82, #b8dabd); }
.audit-empty { padding: 42px 28px; text-align: center; }.audit-visual { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }.audit-visual span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--green-2); color: var(--green); font-size: 20px; font-weight: 800; }.audit-visual span:nth-child(2) { background: var(--blue-2); color: var(--blue); }.audit-visual span:nth-child(3) { background: var(--purple-2); color: var(--purple); }.audit-empty h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }.audit-empty > p { max-width: 570px; margin: 10px auto 19px; line-height: 1.7; color: var(--muted); }.audit-note { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 10px; }.audit-note strong { color: var(--green); }.audit-note span { color: var(--muted); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.settings-card { min-height: 280px; }.settings-fields { padding: 0 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.roadmap { padding: 0 18px 20px; }.roadmap-item { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; border-bottom: 1px solid #edf2ee; }.roadmap-item:last-child { border-bottom: 0; }.roadmap-item > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: #f0f4f1; color: #9aa69e; font-weight: 800; }.roadmap-item.done > span { background: var(--green-2); color: var(--green); }.roadmap-item > div { flex: 1; }.roadmap-item strong, .roadmap-item small { display: block; }.roadmap-item strong { font-size: 11px; }.roadmap-item small { color: var(--muted); font-size: 9px; line-height: 1.5; margin-top: 4px; }.roadmap-item b { color: var(--green); font-size: 9px; }
.empty-state { padding: 28px; text-align: center; color: var(--muted); }.empty-symbol { margin: 0 auto 9px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--green-2); color: var(--green); font-size: 21px; }.empty-state h3 { margin: 0; color: var(--ink); font-size: 14px; }.empty-state p { margin: 7px 0 13px; font-size: 11px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(24, 40, 31, .32); backdrop-filter: blur(4px); }.modal-card { width: min(600px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 28px 80px rgba(28, 58, 42, .18); }.modal-wide { width: min(760px, 100%); }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid #edf2ee; }.modal-head h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }.modal-head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }.icon-button { font-size: 24px; }.modal-card form { padding: 18px 22px 22px; }.form-grid { display: grid; gap: 13px; }.form-grid.two { grid-template-columns: 1fr 1fr; }.field { display: block; }.field > span { display: block; color: #67776d; font-size: 10px; font-weight: 800; margin-bottom: 6px; }.field small { display: block; margin-top: 4px; color: #9ba79f; font-size: 9px; }.field input, .field select { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 8px; outline: 0; padding: 0 10px; color: var(--ink); background: #fbfdfb; font-size: 11px; }.field input:focus, .field select:focus { border-color: var(--green-3); box-shadow: 0 0 0 3px var(--green-2); }.span-two { grid-column: span 2; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #edf2ee; }.modal-section-head { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; margin-bottom: 9px; }.modal-section-head h3 { margin: 0; font-size: 12px; }.modal-section-head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }.budget-line-list { display: grid; gap: 7px; }.budget-line { display: grid; grid-template-columns: 1fr 150px 28px; gap: 7px; }.budget-line input { width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; outline: 0; font-size: 11px; background: #fbfdfb; }.budget-line input:focus { border-color: var(--green-3); }.remove-line { border: 0; color: #b67772; background: var(--red-2); border-radius: 7px; font-size: 17px; }.modal-total { margin-top: 13px; padding: 10px 12px; border-radius: 8px; background: #f2f8f3; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }.modal-total strong { color: var(--green); font-size: 14px; }.voucher-type-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 16px; }.voucher-type-picker button { border: 1px solid var(--line); background: #fbfdfb; border-radius: 9px; padding: 8px; text-align: left; color: #65756b; font-weight: 800; }.voucher-type-picker button.active { border-color: #a9ceb2; background: var(--green-2); color: var(--green); }.voucher-type-picker small { display: block; color: var(--muted); font-weight: 400; font-size: 9px; margin-top: 2px; }.balance-preview { display: flex; gap: 10px; align-items: center; margin-top: 17px; padding: 10px; border: 1px dashed #bad4c2; background: #f6fbf7; border-radius: 8px; color: var(--muted); font-size: 10px; }.balance-preview span { flex: 1; }.balance-preview strong { color: var(--green); font-size: 10px; }
.toast { position: fixed; z-index: 80; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; max-width: 370px; padding: 11px 14px; border-radius: 10px; color: #235f42; background: #e8f5eb; border: 1px solid #bfe1c7; box-shadow: 0 13px 30px rgba(26, 65, 43, .14); font-size: 11px; }.toast > span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #c7e6ce; font-weight: 800; }.toast.error { color: #90423c; background: #fae9e7; border-color: #edc1bc; }.toast.error > span { background: #edc1bc; }.toast.info { color: #76591c; background: #fff7df; border-color: #f0d89a; }.toast.info > span { background: #f0d89a; }

@media (max-width: 1120px) { .sidebar { width: 215px; flex-basis: 215px; }.content-scroll { padding-left: 22px; padding-right: 22px; }.search-box { width: 205px; }.dashboard-grid { grid-template-columns: 1fr; }.activity-panel { grid-row: auto; }.compliance-panel { min-height: 0; }.projects-panel, .quick-panel { margin-top: 0; } }
@media (max-width: 840px) { .sidebar { width: 72px; flex-basis: 72px; padding-left: 9px; padding-right: 9px; }.brand-lockup { justify-content: center; padding-left: 0; padding-right: 0; }.brand-lockup > div:last-child, .org-switcher > div:not(.org-avatar), .org-switcher .chevron, .nav-link > span:not(.nav-icon), .nav-link em, .import-link:not(:first-child), .import-link { font-size: 0; }.org-switcher { justify-content: center; padding: 8px; }.nav-section > p { font-size: 0; height: 8px; }.nav-link { justify-content: center; padding: 10px; }.nav-icon { font-size: 17px; }.sidebar-bottom .profile { justify-content: center; }.profile > div:not(.profile-avatar), .profile .more { display: none; }.topbar { padding: 0 18px; }.topbar-actions .theme-button, .topbar-actions .notification-button { display: none; }.search-box { width: 180px; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.summary-strip, .account-summary, .ledger-summary { grid-template-columns: repeat(2, 1fr); }.two-column-panels, .settings-grid, .report-grid { grid-template-columns: 1fr; }.report-funds { grid-column: auto; } }
@media (max-width: 600px) { .topbar { min-height: 58px; }.breadcrumbs span, .breadcrumbs b { display: none; }.topbar-actions .primary-button { display: none; }.search-box { width: 160px; }.content-scroll { padding: 22px 13px 40px; }.page-header { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }.page-header-action { width: 100%; }.page-header-action > .primary-button, .page-header-action > .secondary-button { flex: 1; }.dashboard-header .page-header-action { width: auto; }.metric-grid { gap: 8px; }.metric-card { min-height: 115px; padding: 13px; }.metric-card > strong { font-size: 18px; }.metric-card > small { font-size: 9px; }.quick-actions { grid-template-columns: 1fr; }.form-grid.two, .settings-fields { grid-template-columns: 1fr; }.span-two { grid-column: auto; }.budget-line { grid-template-columns: 1fr 105px 27px; }.balance-preview { flex-wrap: wrap; }.balance-preview span { flex: 0 0 calc(50% - 5px); }.summary-strip, .ledger-summary { gap: 8px; }.summary-strip strong, .ledger-summary strong { font-size: 15px; }.header-select { min-width: 100%; }.modal-backdrop { padding: 10px; }.modal-card form { padding: 15px; }.modal-head { padding: 16px 15px 12px; } }
