:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; color: #25332d; background: #fafbf9; font-size: 14px; }
* { box-sizing: border-box; }
body { margin: 0; display: flex; min-height: 100vh; }
aside { width: 228px; flex-shrink: 0; padding: 30px 20px; background: #f1f3ef; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.brand { font-size: 18px; font-weight: 650; margin-bottom: 48px; }
.nav-label { color: #7b847c; font-size: 12px; margin: 0 12px 14px; }
summary { cursor: pointer; padding: 10px 12px; }
.site-nav { margin-left: 10px; }
nav { display: grid; padding-left: 14px; gap: 4px; }
.nav-item { text-align: left; background: transparent; border: 0; color: #5e6a62; padding: 11px 12px; width: 100%; }
.nav-item.selected { color: #26593f; background: #e0e9df; font-weight: 600; }
.company-nav { padding-left: 0; margin-bottom: 30px; }
.aside-note { margin-top: auto; display: flex; align-items: center; gap: 8px; color: #728076; font-size: 12px; }
.dot { width: 6px; height: 6px; background: #639271; border-radius: 50%; }
main { flex: 1; min-width: 0; max-width: 1400px; padding: 0 44px; }
header { height: 82px; display: flex; align-items: center; gap: 12px; color: #768178; font-size: 13px; }
.slash { color: #bcc2bd; }
.badge { margin-left: auto; font-size: 12px; color: #657364; padding: 4px 9px; background: #eef1e9; border-radius: 3px; }
.heading { display: flex; align-items: center; gap: 16px; margin: 20px 0 0; }
h1 { font-size: 26px; font-weight: 600; margin: 0; letter-spacing: -.6px; }
.heading > span { font-size: 12px; color: #8b7760; }
.intro { line-height: 1.7; color: #68726a; margin: 12px 0 30px; }
.toolbar { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
label { display: grid; gap: 8px; font-size: 12px; color: #68726a; }
button, select, input, textarea { font: inherit; color: inherit; border: 1px solid #d9dfd7; border-radius: 4px; background: #fff; min-height: 37px; padding: 7px 11px; }
input { width: 227px; }
button { cursor: pointer; font-size: 13px; white-space: nowrap; }
button:hover { background: #eff3ee; }
button.primary { color: white; background: #37644a; border-color: #37644a; }
button.primary:hover { background: #285638; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #639271; outline-offset: 3px; }
.range-divider { margin-bottom: 10px; color: #a4aea5; }
.muted { color: #858d84; font-size: 12px; line-height: 1.7; }
.notice { background: #f2f4ef; padding: 12px 15px; color: #6c7568; line-height: 1.7; border-left: 2px solid #bec8b5; font-size: 13px; }
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 26px 0; margin: 16px 0 18px; border-bottom: 1px solid #e2e6df; }
.totals > div { display: grid; gap: 14px; }
.totals span { font-size: 12px; color: #768071; }
.totals strong { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.section-title { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin: 30px 0 13px; }
h2 { font-size: 15px; font-weight: 600; margin: 0; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th { text-align: left; font-weight: 500; color: #7b8477; padding: 11px 14px; background: #f1f3ee; white-space: nowrap; }
td { border-bottom: 1px solid #e9ece5; padding: 13px 14px; vertical-align: top; line-height: 1.6; overflow-wrap: anywhere; }
.number { text-align: right; font-variant-numeric: tabular-nums; }
.costs { margin: 0; }
.costs > div { display: flex; justify-content: space-between; padding: 14px; border-bottom: 1px solid #e9ece5; }
.costs dd { color: #858d84; }
.source-line { display: flex; align-items: center; gap: 22px; margin: 24px 0; }
code { font-size: 12px; color: #7a8279; overflow-wrap: anywhere; }
.batch-tools, .pager { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pager { justify-content: end; }
.empty { text-align: center; color: #889082; padding: 40px 10px; }
.state-error { color: #a64e38; }
details.payload { max-width: 400px; }
details.payload summary { padding: 0; color: #557462; }
pre { white-space: pre-wrap; font-size: 11px; background: #f0f3ed; padding: 10px; max-height: 240px; overflow: auto; }
#feedback { min-height: 24px; margin-top: 26px; line-height: 1.6; font-size: 13px; color: #8c5747; }
footer { font-size: 11px; color: #939b8e; padding: 15px 0 25px; }
.balance-filters { margin-top: 26px; }
.balance-table { min-width: 850px; }
.balance-table .empty { text-align: left; }
.balance-caption { display: block; color: #7d877d; font-size: 11px; white-space: nowrap; }
.balance-actions { white-space: nowrap; }
.text-button { border: 0; background: transparent; color: #37644a; padding: 3px 7px; }
.selected-row { background: #f1f5ee; }
#balances-feedback { color: #37644a; font-size: 13px; min-height: 20px; }
dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 25px; border: 1px solid #d9dfd7; border-radius: 6px; color: #25332d; box-shadow: 0 12px 40px #25332d20; }
dialog::backdrop { background: #1d2a214d; }
.entry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.entry-fields input, .entry-fields select, .entry-fields textarea { width: 100%; min-width: 0; }
.entry-fields textarea { resize: vertical; }
.full-width { grid-column: 1 / -1; }
#entry-error { min-height: 20px; color: #a64e38; font-size: 12px; line-height: 1.6; }
.dialog-actions { display: flex; justify-content: end; gap: 10px; }
.login-view { min-height: 100dvh; width: 100%; display: grid; place-items: center; padding: 28px; }
.login-form { width: min(340px, 100%); display: grid; gap: 18px; }
.login-form input { width: 100%; }
.login-form .intro { margin: 0 0 8px; }
.account-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; font-size: 12px; }
#login-error, #users-feedback, #user-action-error { min-height: 20px; color: #a64e38; line-height: 1.6; font-size: 13px; }
#create-user-form { margin-bottom: 18px; }
#users table { min-width: 460px; }
[hidden] { display: none !important; }
@media (max-width: 1000px) { main { padding: 0 24px; } aside { width: 198px; padding: 24px 12px; } .totals { grid-template-columns: repeat(2, 1fr); } .source-line { gap: 12px; flex-wrap: wrap; } }
@media (max-width: 640px) { body { display: block; } aside { height: auto; position: static; width: 100%; padding: 14px 18px; } .brand { margin-bottom: 12px; font-size: 16px; } .nav-label, .aside-note { display: none; } nav { display: flex; flex-wrap: wrap; padding: 0; } .nav-item { width: auto; } summary { padding: 6px; } main { padding: 0 18px; } header { height: 56px; } h1 { font-size: 23px; } .heading { margin-top: 12px; } input { width: 100%; } label { width: 100%; } .range-divider { display: none; } .toolbar { gap: 12px; } .totals { gap: 24px; } .totals strong { font-size: 22px; } .costs > div { gap: 16px; } .costs dd { margin-left: 0; text-align: right; } }
@media (max-width: 640px) { .company-nav { margin-bottom: 8px; } .entry-fields { grid-template-columns: 1fr; } dialog { padding: 20px; } }
