.page-header.tool-header{max-width:44rem;margin-bottom:var(--s-4)}.tool-header h1{margin-bottom:var(--s-2)}.tool-header .lede-note{margin-top:var(--s-2)}.tool-header .lede{font-size:1rem;line-height:1.5;max-width:var(--measure);margin-bottom:0}.tool-header:has(+.ledger-tool[data-filled=true]) .kicker,.tool-header:has(+.ledger-tool[data-filled=true]) .lede,.tool-header:has(+.ledger-tool[data-filled=true]) .lede-note,.tool-header:has(+.ledger-tool[data-status=failed]) .kicker,.tool-header:has(+.ledger-tool[data-status=failed]) .lede,.tool-header:has(+.ledger-tool[data-status=failed]) .lede-note,[data-ledger-filled] .tool-header .kicker,[data-ledger-filled] .tool-header .lede,[data-ledger-filled] .tool-header .lede-note,[data-ledger-unread] .tool-header .kicker,[data-ledger-unread] .tool-header .lede,[data-ledger-unread] .tool-header .lede-note{display:none}.ledger-tool{min-height:calc(100vh - var(--header-h))}@media (max-width:47.99rem){.tool-header .kicker,.tool-header .lede-note{display:none}.tool-header .lede{font-size:.9375rem}}.tool-bar{position:-webkit-sticky;position:sticky;top:var(--header-h);z-index:20;display:flex;align-items:center;justify-content:space-between;gap:var(--s-2) var(--s-4);min-height:60px;padding:var(--s-2) 0;margin:0 0 var(--s-2);background:var(--paper);border-top:1px solid var(--line-soft);box-shadow:var(--shadow-1)}.tool-bar-record{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.tool-bar-name{margin:0;font-weight:650;line-height:1.3;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-bar-count{margin:0;font-size:.875rem;line-height:1.4;color:var(--graphite)}[data-status=loading] .tool-bar-count{color:var(--muted)}.tool-bar-actions{display:flex;flex:none;align-items:center;gap:var(--s-2) var(--s-3)}.tool-bar .button{white-space:nowrap}@media (max-width:47.99rem){.tool-bar .button{padding:0 var(--s-4)}.tool-bar-name{white-space:normal}}@media (min-width:48rem){.tool-bar-record{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:0 var(--s-3)}}.tabs-scroll{margin:0 0 var(--s-5);border-bottom:1px solid var(--line-soft);overflow-x:auto;scrollbar-width:none}.tabs-scroll::-webkit-scrollbar{display:none}.tabs{display:flex;gap:var(--s-1);width:max-content;margin:0;padding:0}.tab{display:inline-flex;align-items:center;gap:var(--s-2);min-height:44px;padding:0 var(--s-3);border:0;border-bottom:3px solid transparent;background:none;color:var(--graphite);font:inherit;font-weight:600;white-space:nowrap;cursor:pointer;transition:border-color var(--t-fast) var(--ease-out)}.tab:first-child{padding-left:0}.tab:hover{color:var(--ink);border-bottom-color:var(--line)}.tab.active{color:var(--ink);border-bottom-color:var(--accent)}[data-status=loading] .tab{cursor:default;color:var(--muted)}.tab-count{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:.875rem;font-weight:500;color:var(--muted)}.pane-heading{font-size:1.25rem;line-height:1.4;font-weight:700;margin:0 0 var(--s-1)}.pane-note{font-size:.875rem;line-height:1.45;color:var(--muted);margin:0 0 var(--s-3);max-width:var(--measure)}.pane-note:empty{display:none}.log-panes{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:var(--s-5);gap:var(--s-5);align-items:start}@media (min-width:64rem){.log-panes{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:var(--s-6)}.entry-pane{position:-webkit-sticky;position:sticky;top:calc(var(--header-h) + 72px);max-height:calc(100vh - var(--header-h) - 88px);overflow-y:auto;overscroll-behavior:contain;padding-right:var(--s-2)}}.entry-pane,.rows-pane{min-width:0;scroll-margin-top:calc(var(--header-h) + 72px)}@media (max-width:63.99rem){.rows-pane{border-top:1px solid var(--line-soft);padding-top:var(--s-4)}}.entry-pane[data-folded=true]:not(:has(.save-status:not(:empty))){display:none}.tool-bar-name:has(.tool-switch){overflow:visible;white-space:normal}.tool-switch{margin:0}.tool-switch .segment{flex:0 1 auto;padding:0 var(--s-3)}.tool-asof .field{flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 var(--s-2)}.tool-asof .field-input{width:auto;min-height:44px}.tool-count{font-feature-settings:normal;font-variant-numeric:normal;font-weight:650;color:var(--ink)}.entry-bar{display:flex;flex-direction:column;gap:var(--s-2)}.empty-card,.entry-form{container-type:inline-size}.entry-form{border-top:2px solid var(--ink);padding-top:var(--s-3)}.entry-form-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 var(--s-3)}.form-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:0 var(--s-4);gap:0 var(--s-4);margin:0 0 var(--s-2)}@container (min-width: 28rem){.form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.form-grid>.field{display:grid;grid-row:span 3;grid-template-rows:subgrid;grid-row-gap:var(--s-1);row-gap:var(--s-1);margin:0 0 var(--s-3)}.form-grid>.field>label,.form-grid>.field>legend{align-self:end}.form-grid>.field>.field-hint{align-self:start}.choice-field>legend,.form-grid fieldset.field>legend{float:left;width:100%;padding:0}.segmented{min-height:46px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--card);overflow:hidden}.segment,.segmented{display:flex;min-width:0}.segment{position:relative;flex:1 1;align-items:center;justify-content:center;gap:var(--s-1);min-height:44px;padding:0 var(--s-2);color:var(--ink);font-size:.9375rem;font-weight:600;line-height:1.2;text-align:center;cursor:pointer;transition:background-color var(--t-fast) var(--ease-out)}.segment+.segment{border-left:1px solid var(--line)}.segment:hover{background:var(--raised)}.segment input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.segment:has(input:checked){background:var(--accent);color:var(--accent-ink)}.segment:has(input:checked)>span:before{content:"";display:inline-block;width:12px;height:12px;margin-right:var(--s-1);background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center /contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center /contain no-repeat}.segment:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:-3px}.choice-field{margin:0 0 var(--s-3)}.choice-field>.field-hint:empty{min-height:0}select.field-input{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.ledger-group+.ledger-group{margin-top:var(--s-5)}.ledger-group-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 var(--s-3);margin:0;padding:var(--s-2) 0;border-bottom:2px solid var(--ink);font-size:1rem;line-height:1.4;font-weight:700}.ledger-group-total{font-size:.875rem;font-weight:600;color:var(--graphite)}.ledger-row:hover{background:var(--raised)}.ledger-row[aria-current=true]{background:var(--raised);box-shadow:inset 3px 0 0 var(--accent)}.ledger-row-title{font-weight:600;line-height:1.4}.ledger-row-actions{display:flex;flex:none;align-items:center;gap:var(--s-2) var(--s-3)}.note-more summary{display:flex;align-items:center;min-height:44px;width:max-content;color:var(--accent);font-weight:600;cursor:pointer}.ledger-row .text-button{min-width:44px;justify-content:center;padding:0 var(--s-2)}@media (max-width:47.99rem){.ledger-row{flex-wrap:wrap}.ledger-row-body{flex-basis:100%}.ledger-row .ledger-row-side{flex:1 1 100%;flex-direction:row;align-items:center;justify-content:space-between;width:auto}.ledger-row-actions .row-edit{display:none}}@media (min-width:48rem){.menu-panel .phone-only{display:none}}.text-button.danger{color:var(--bad)}.menu{position:relative;display:inline-flex}.menu-panel{position:absolute;top:calc(100% + var(--s-1));right:0;z-index:25;min-width:15rem;margin:0;padding:var(--s-1) 0;list-style:none;background:var(--card);border:1px solid var(--line);border-radius:var(--r-control);box-shadow:var(--shadow-2)}.menu-panel button{display:flex;align-items:center;width:100%;min-height:44px;padding:0 var(--s-4);border:0;background:none;color:var(--ink);font:inherit;font-size:.9375rem;font-weight:500;text-align:left;cursor:pointer}.menu-panel button:focus-visible,.menu-panel button:hover{background:var(--raised)}.menu-panel .danger{color:var(--bad)}.state-card{min-height:15rem}.state-loading{color:var(--muted)}.empty-card{max-width:44rem}.empty-card h2{font-size:1.25rem;line-height:1.4;margin-bottom:var(--s-2)}.empty-card>p{color:var(--graphite)}.error-panel{margin:0 0 var(--s-5);padding:var(--s-4) var(--s-4) var(--s-3);max-width:44rem}.error-panel h2.notice-title{font-size:1.25rem;line-height:1.4}.error-panel p{margin-bottom:var(--s-3);max-width:var(--measure)}.more-details,.storage-notice{font-size:.9375rem}.more-details{margin:0 0 var(--s-5);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.more-details summary{display:flex;align-items:center;gap:var(--s-3);min-height:48px;font-weight:600;cursor:pointer;list-style:none}.more-details summary::-webkit-details-marker{display:none}.more-details summary:before{content:"+";display:inline-flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid var(--line);border-radius:var(--r-box);font-weight:700;color:var(--graphite)}.more-details[open]>summary:before{content:"\2212"}.more-details ul{margin:0 0 var(--s-3)}@media print{.tabs-scroll,.tool-bar{display:none!important}}.form-save{position:-webkit-sticky;position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2) var(--s-4);margin:var(--s-2) 0 var(--s-3);padding:var(--s-3) 0;background:var(--paper);border-top:1px solid var(--line-soft)}@media (max-width:29.99rem){.tool-bar{flex-wrap:wrap}.tool-bar-actions{flex-basis:100%}.tool-bar-actions .button{width:100%}}