.budget-v4-transactions{padding:16px;border:1px solid var(--budget-line,#cbd3d8);border-radius:16px;background:var(--budget-surface,#fffefb);}.budget-v4-transactions header,.budget-v4-transaction-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;}.budget-v4-transactions header p,.budget-v4-transaction-list small{margin:0;color:var(--budget-muted,#52616b);font-size:12px;}.budget-v4-transactions h2{margin:4px 0 0;font-size:18px;font-weight:600;}.budget-v4-transaction-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:14px;padding:12px;border-radius:10px;background:var(--budget-row-hover,#e8f1f6);}.budget-v4-transaction-filters label{display:grid;gap:4px;color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.budget-v4-transaction-filters :is(input,select){min-height:36px;box-sizing:border-box;padding:6px 8px;border:1px solid var(--budget-line-strong,#788994);border-radius:7px;color:var(--budget-ink,#172731);background:var(--budget-surface,#fffefb);font:inherit;}.budget-v4-transaction-filters input[type="search"]{min-width:180px;}.budget-v4-transaction-list{display:grid;gap:0;margin-top:12px;border-top:1px solid var(--budget-line,#cbd3d8);}.budget-v4-transaction-list article{padding:12px 0;border-bottom:1px solid var(--budget-line,#cbd3d8);}.budget-v4-transaction-list article > div{display:grid;gap:3px;}.budget-v4-transaction-list b{color:var(--budget-danger,#a54438);font-variant-numeric:tabular-nums;}.budget-v4-transaction-list b.is-refund{color:var(--budget-success,#2f7d5c);}.budget-v4-transaction-list article.is-void{opacity:.62;}.budget-v4-transaction-list article.is-void b{text-decoration:line-through;color:var(--budget-muted,#52616b);}.budget-v4-tabs{display:flex;gap:4px;margin:18px 0 12px;border-bottom:1px solid var(--budget-line,#cbd3d8);}.budget-v4-tabs button{min-height:38px;padding:0 14px;border:0;border-bottom:2px solid transparent;color:var(--budget-muted,#52616b);background:transparent;font:inherit;cursor:pointer;}.budget-v4-tabs button[aria-current="true"]{border-bottom-color:var(--budget-accent,#2c5f87);color:var(--budget-ink,#172731);font-weight:700;}.budget-v4-mobile-view{display:none;}.budget-v4-phase2-dialog[hidden]{display:none;}.budget-v4-phase2-dialog{position:fixed;z-index:50;inset:0;display:grid;place-items:center;padding:20px;background:rgb(23 39 49 / 42%);}.budget-v4-phase2-dialog > section{width:min(760px,100%);max-height:min(760px,90vh);overflow:auto;padding:18px;border:1px solid var(--budget-line,#cbd3d8);border-radius:16px;background:var(--budget-surface,#fffefb);}.budget-v4-phase2-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}.budget-v4-phase2-dialog h2{margin:0;font-size:18px;}.budget-v4-phase2-dialog header button{min-height:36px;border:0;color:var(--budget-accent,#2c5f87);background:transparent;font:inherit;cursor:pointer;}.budget-v4-shell[data-v4-tab-current="budget"] :is(.budget-v4-structure-templates,.budget-v4-quantity-recommendations,.budget-v4-recommendations){display:none;}@media (max-width:768px){.budget-v4-overview{grid-template-columns:repeat(2,minmax(0,1fr));}.budget-v4-overview > div{min-height:78px;padding:12px;border-top:1px solid var(--budget-line,#cbd3d8);}.budget-v4-overview > div:nth-child(odd){border-left:0;}.budget-v4-overview > div:nth-child(-n+2){border-top:0;}.budget-v4-overview strong{font-size:18px;}.budget-v4-table-wrap{display:none;}.budget-v4-mobile-view{display:grid;gap:12px;padding-bottom:76px;}.budget-v4-mobile-tools{display:grid;grid-template-columns:1fr auto;gap:8px;}.budget-v4-mobile-tools button,.budget-v4-mobile-actions button{min-height:42px;padding:0 12px;border:1px solid var(--budget-line-strong,#788994);border-radius:10px;color:var(--budget-ink,#172731);background:var(--budget-surface,#fffefb);font:inherit;font-weight:600;}.budget-v4-mobile-filter{display:grid;gap:10px;padding:12px;border:1px solid var(--budget-line,#cbd3d8);border-radius:12px;background:var(--budget-surface,#fffefb);}.budget-v4-mobile-filter label{display:grid;gap:5px;color:var(--budget-muted,#52616b);font-size:12px;}.budget-v4-mobile-filter label:has(input){display:flex;align-items:center;}.budget-v4-mobile-list{display:grid;gap:8px;}.budget-v4-mobile-card{display:grid;gap:6px;padding:14px;border:1px solid var(--budget-line,#cbd3d8);border-radius:12px 12px 12px 4px;background:var(--budget-surface,#fffefb);}.budget-v4-mobile-card header{display:flex;gap:10px;justify-content:space-between;align-items:baseline;}.budget-v4-mobile-card header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.budget-v4-mobile-card header span,.budget-v4-mobile-card p,.budget-v4-mobile-card small{margin:0;color:var(--budget-muted,#52616b);font-size:12px;}.budget-v4-mobile-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:5px 0 0;}.budget-v4-mobile-card dl div{min-width:0;}.budget-v4-mobile-card dt{color:var(--budget-muted,#52616b);font-size:11px;}.budget-v4-mobile-card dd{margin:3px 0 0;overflow:hidden;font-size:13px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;}.budget-v4-mobile-card button{justify-self:start;min-height:34px;padding:0;border:0;color:var(--budget-accent,#2c5f87);background:transparent;font:inherit;font-size:12px;font-weight:700;}.budget-v4-mobile-empty{padding:22px 4px;color:var(--budget-muted,#52616b);text-align:center;font-size:13px;}.budget-v4-mobile-actions{position:fixed;z-index:10;right:12px;bottom:12px;left:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px;border:1px solid var(--budget-line,#cbd3d8);border-radius:14px;background:var(--budget-surface,#fffefb);}.budget-v4-mobile-actions button:first-child{color:var(--budget-header-ink,#f1f5f7);border-color:var(--budget-header,#243746);background:var(--budget-header,#243746);}.budget-v4-phase2-dialog{align-items:end;padding:0;}.budget-v4-phase2-dialog > section{width:100%;max-height:88vh;border-radius:18px 18px 0 0;}}.budget-v4-shell[data-v4-tab-current="budget"] :is(.budget-v4-transactions,.budget-v4-analysis){display:none;}.budget-v4-shell[data-v4-tab-current="ledger"] :is(.budget-v4-toolbar,.budget-v4-table-wrap,.budget-v4-record-panel,.budget-v4-import-preview,.budget-v4-guidance,.budget-v4-recommendations,.budget-v4-quantity-recommendations,.budget-v4-structure-templates,.budget-v4-analysis){display:none;}.budget-v4-shell[data-v4-tab-current="analysis"] :is(.budget-v4-toolbar,.budget-v4-table-wrap,.budget-v4-record-panel,.budget-v4-import-preview,.budget-v4-guidance,.budget-v4-recommendations,.budget-v4-quantity-recommendations,.budget-v4-structure-templates,.budget-v4-transactions){display:none;}.budget-v4-transaction-list button{border:0;background:transparent;color:var(--budget-accent,#2c5f87);cursor:pointer;font:inherit;font-size:12px;font-weight:600;}.budget-v4-transaction-kind{padding:3px 7px;border-radius:999px;color:var(--budget-muted,#52616b);background:var(--budget-row-hover,#e8f1f6);font-size:11px;white-space:nowrap;}.budget-v4-transaction-empty{margin:14px 0 0;color:var(--budget-muted,#52616b);font-size:13px;}.budget-v4-transaction-list article.is-editing{display:block;}.budget-v4-transaction-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}.budget-v4-transaction-editor label{display:grid;gap:5px;color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.budget-v4-transaction-editor :is(input,select,textarea){width:100%;box-sizing:border-box;padding:8px;border:1px solid var(--budget-line-strong,#788994);border-radius:8px;color:var(--budget-ink,#172731);background:var(--budget-surface,#fffefb);font:inherit;}.budget-v4-transaction-editor-wide,.budget-v4-transaction-editor-actions{grid-column:1 / -1;}.budget-v4-transaction-editor-actions{display:flex;gap:10px;align-items:center;}.budget-v4-transaction-editor-actions button:first-child{min-height:38px;padding:0 12px;border:1px solid var(--budget-header,#243746);border-radius:8px;color:var(--budget-header-ink,#f1f5f7);background:var(--budget-header,#243746);}@media (max-width:700px){.budget-v4-transaction-editor{grid-template-columns:1fr;}.budget-v4-transaction-editor-wide,.budget-v4-transaction-editor-actions{grid-column:auto;}}.budget-v4-attachment{padding:7px 9px;border:1px solid var(--budget-line,#cbd3d8);border-radius:8px;color:var(--budget-accent,#2c5f87);cursor:pointer;font-size:12px;font-weight:600;}.budget-v4-attachment-dropzone{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;}.budget-v4-attachment-drag-hint{font-size:11px;color:var(--budget-muted,#52616b);}.budget-v4-attachment-dropzone.is-drag-over,article[data-ledger-transaction].is-drag-over{outline:2px dashed var(--budget-accent,#2c5f87);outline-offset:2px;background:var(--budget-row-hover,#e8f1f6) !important;}.budget-v4-attachment-records{display:grid;gap:6px;min-width:min(100%,340px);}.budget-v4-attachment-records > small{color:var(--budget-muted,#52616b);font-size:11px;}.budget-v4-attachment-record{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;background:var(--budget-row-hover,#e8f1f6);}.budget-v4-attachment-record > div{display:grid;min-width:0;gap:3px;}.budget-v4-attachment-record strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap;}.budget-v4-attachment-record small{color:var(--budget-muted,#52616b);font-size:11px;line-height:1.45;}.budget-v4-attachment-record > span{display:inline-flex;flex:0 0 auto;gap:6px;}.budget-v4-attachment-record button{border:0;color:var(--budget-accent,#2c5f87);background:transparent;cursor:pointer;font:inherit;font-size:12px;}.budget-v4-attachment-local-note{margin:14px 0 0;padding:10px 12px;border-left:3px solid var(--budget-warning,#c58a18);color:var(--budget-muted,#52616b);background:var(--budget-row-hover,#e8f1f6);font-size:12px;line-height:1.55;}.budget-v4-import-preview{display:grid;gap:10px;padding:16px;border:1px solid var(--budget-line,#cbd3d8);border-radius:16px 16px 16px 5px;background:var(--budget-surface,#fffefb);}.budget-v4-import-preview > div{display:flex;justify-content:space-between;gap:12px;}.budget-v4-import-preview span,.budget-v4-import-preview p{margin:0;color:var(--budget-muted,#52616b);font-size:12px;line-height:1.55;}.budget-v4-import-preview .budget-v4-import-mapping{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;padding:9px;border:1px solid var(--budget-line,#cbd3d8);border-radius:9px;background:var(--budget-row-hover,#e8f1f6);}.budget-v4-import-mapping span{padding:2px 5px;border-radius:4px;background:var(--budget-surface,#fffefb);font-size:11px;}.budget-v4-import-mapping b{color:var(--budget-ink,#172731);font-weight:600;}.budget-v4-import-preview ol{display:grid;gap:4px;margin:0;padding-left:20px;font-size:12px;}.budget-v4-import-preview .is-error{color:var(--budget-danger,#a54438);}.budget-v4-import-preview > button:first-of-type,.budget-v4-detail footer button{min-height:42px;padding:0 14px;border:1px solid var(--budget-header,#243746);border-radius:10px;color:var(--budget-header-ink,#f1f5f7);background:var(--budget-header,#243746);cursor:pointer;font:inherit;font-weight:600;}.budget-v4-import-preview > button:disabled{opacity:.45;cursor:not-allowed;}.budget-v4-recommendations{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.5fr) minmax(320px,1.15fr);gap:14px;align-items:end;margin:16px 0;padding:16px;border:1px solid var(--budget-line,#cbd3d8);border-left:4px solid var(--budget-accent,#2c5f87);border-radius:14px;background:linear-gradient(105deg,var(--budget-row-hover,#e8f1f6),var(--budget-surface,#fffefb));}.budget-v4-recommendations-copy{display:grid;gap:4px;}.budget-v4-recommendations-copy p,.budget-v4-recommendations-copy span{margin:0;color:var(--budget-muted,#52616b);font-size:12px;line-height:1.5;}.budget-v4-recommendations-copy p{color:var(--budget-accent,#2c5f87);font-weight:600;letter-spacing:.08em;}.budget-v4-recommendations-copy h2{margin:0;color:var(--budget-ink,#172731);font-size:18px;font-weight:600;}.budget-v4-recommendations > label{display:grid;gap:5px;color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.budget-v4-recommendations select{min-height:40px;padding:7px 9px;border:1px solid var(--budget-line-strong,#788994);border-radius:8px;color:var(--budget-ink,#172731);background:var(--budget-surface,#fffefb);font:inherit;}.budget-v4-recommendation-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:12px;border:1px solid var(--budget-line,#cbd3d8);border-radius:10px;background:var(--budget-surface,#fffefb);}.budget-v4-recommendation-card > div{display:grid;gap:4px;}.budget-v4-recommendation-card small{color:var(--budget-muted,#52616b);font-size:11px;}.budget-v4-recommendation-card dl{display:flex;grid-column:1 / -1;flex-wrap:wrap;gap:12px;margin:0;}.budget-v4-recommendation-card dl div{display:grid;gap:2px;}.budget-v4-recommendation-card dt{color:var(--budget-muted,#52616b);font-size:10px;}.budget-v4-recommendation-card dd{margin:0;font-size:12px;font-weight:600;}.budget-v4-recommendation-card button{min-height:38px;padding:0 10px;border:1px solid var(--budget-header,#243746);border-radius:8px;color:var(--budget-header-ink,#f1f5f7);background:var(--budget-header,#243746);cursor:pointer;font:inherit;font-size:12px;font-weight:600;}@media (max-width:980px){.budget-v4-recommendations{grid-template-columns:1fr 1fr;}.budget-v4-recommendation-card{grid-column:1 / -1;}}@media (max-width:620px){.budget-v4-recommendations{grid-template-columns:1fr;}.budget-v4-recommendation-card{grid-column:auto;}.budget-v4-recommendation-card button{grid-column:1 / -1;}}.budget-v4-quantity-recommendations{display:grid;grid-template-columns:minmax(210px,1.3fr) repeat(4,minmax(120px,.62fr));gap:10px;align-items:end;margin:16px 0;padding:16px;border:1px solid var(--budget-line,#cbd3d8);border-left:4px solid var(--budget-warning,#c58a18);border-radius:14px;background:var(--budget-surface,#fffefb);}.budget-v4-quantity-copy{display:grid;gap:4px;}.budget-v4-quantity-copy :is(p,h2,span){margin:0;}.budget-v4-quantity-copy p{color:var(--budget-warning,#c58a18);font-size:12px;font-weight:600;letter-spacing:.08em;}.budget-v4-quantity-copy h2{color:var(--budget-ink,#172731);font-size:18px;font-weight:600;}.budget-v4-quantity-copy span{color:var(--budget-muted,#52616b);font-size:12px;line-height:1.5;}.budget-v4-quantity-recommendations > label{display:grid;gap:5px;color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.budget-v4-quantity-recommendations :is(input,select){min-height:40px;box-sizing:border-box;padding:7px 9px;border:1px solid var(--budget-line-strong,#788994);border-radius:8px;color:var(--budget-ink,#172731);background:var(--budget-surface,#fffefb);font:inherit;}.budget-v4-quantity-result{display:grid;grid-column:1 / -1;grid-template-columns:auto minmax(0,1fr) auto;gap:8px 14px;align-items:center;padding:11px 12px;border-radius:10px;color:var(--budget-muted,#52616b);background:var(--budget-row-hover,#e8f1f6);font-size:12px;line-height:1.5;}.budget-v4-quantity-result.is-ready{border:1px dashed var(--budget-warning,#c58a18);background:color-mix(in srgb,var(--budget-warning,#c58a18) 8%,var(--budget-surface,#fffefb));}.budget-v4-quantity-result strong{color:var(--budget-ink,#172731);font-size:14px;font-weight:600;}.budget-v4-quantity-result small{grid-column:1 / -1;color:var(--budget-muted,#52616b);font-size:11px;}.budget-v4-quantity-result button{min-height:38px;padding:0 10px;border:1px solid var(--budget-warning,#c58a18);border-radius:8px;color:#fff;background:var(--budget-warning,#c58a18);cursor:pointer;font:inherit;font-size:12px;font-weight:600;}@media (max-width:1050px){.budget-v4-quantity-recommendations{grid-template-columns:repeat(3,minmax(0,1fr));}.budget-v4-quantity-copy{grid-column:1 / -1;}}@media (max-width:620px){.budget-v4-quantity-recommendations{grid-template-columns:1fr;}.budget-v4-quantity-result{grid-template-columns:1fr;}.budget-v4-quantity-result button{grid-column:auto;}}.budget-v4-structure-templates{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin:16px 0;padding:16px;border:1px solid var(--budget-line,#cbd3d8);border-left:4px solid var(--budget-success,#2f7d5c);border-radius:14px;background:var(--budget-surface,#fffefb);}.budget-v4-structure-templates p,.budget-v4-structure-templates h2,.budget-v4-structure-templates span{margin:0;}.budget-v4-structure-templates p{color:var(--budget-success,#2f7d5c);font-size:12px;font-weight:600;letter-spacing:.08em}.budget-v4-structure-templates h2{font-size:18px;font-weight:600}.budget-v4-structure-templates span,.budget-v4-template-preview small{color:var(--budget-muted,#52616b);font-size:12px;line-height:1.5}.budget-v4-structure-templates nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;grid-column:1/-1}.budget-v4-structure-templates nav button{display:grid;gap:4px;padding:10px;border:1px solid var(--budget-line,#cbd3d8);border-radius:8px;background:var(--budget-surface,#fffefb);text-align:left;font:inherit}.budget-v4-structure-templates nav button.is-selected{border-color:var(--budget-success,#2f7d5c);background:var(--budget-row-hover,#e8f1f6)}.budget-v4-structure-templates nav strong{font-weight:600}.budget-v4-template-preview{display:grid;gap:6px;grid-column:1/-1;padding:12px;border-radius:10px;background:var(--budget-row-hover,#e8f1f6);font-size:12px}.budget-v4-template-preview button{justify-self:start;min-height:38px;padding:0 10px;border:1px solid var(--budget-success,#2f7d5c);border-radius:8px;color:#fff;background:var(--budget-success,#2f7d5c);font:inherit;font-size:12px;font-weight:600}@media(max-width:620px){.budget-v4-structure-templates{grid-template-columns:1fr}.budget-v4-structure-templates nav{grid-template-columns:1fr}}.budget-v4-detail{position:fixed;top:82px;right:24px;z-index:12;width:min(580px,calc(100vw - 48px));max-height:calc(100vh - 108px);box-sizing:border-box;overflow:auto;padding:20px;border:1px solid var(--budget-line,#cbd3d8);border-radius:18px 18px 18px 5px;color:var(--budget-ink,#172731);background:var(--budget-surface,#fffefb);box-shadow:0 20px 56px rgb(30 47 58 / 24%);}.budget-v4-pressure-alerts{display:grid;gap:8px;margin:16px 0;padding:14px;border-left:4px solid var(--budget-warning,#c58a18);border-radius:10px;background:var(--budget-row-hover,#e8f1f6)}.budget-v4-pressure-alerts strong{font-weight:600}.budget-v4-pressure-alerts span,.budget-v4-pressure-alerts p{margin:0;color:var(--budget-muted,#52616b);font-size:12px;line-height:1.5}.budget-v4-pressure-alerts ol{display:grid;gap:5px;margin:0;padding-left:20px;font-size:12px}.budget-v4-pressure-alerts li{display:flex;justify-content:space-between;gap:12px}.budget-v4-pressure-alerts b{font-weight:600;white-space:nowrap}.budget-v4-template-record{display:grid;gap:4px;margin:16px 0;padding:12px 14px;border:1px solid var(--budget-line,#cbd3d8);border-radius:10px;background:var(--budget-surface,#fffefb)}.budget-v4-template-record strong{font-size:13px;font-weight:600}.budget-v4-template-record span{color:var(--budget-muted,#52616b);font-size:12px;line-height:1.5}.budget-v4-detail header,.budget-v4-detail footer{display:flex;align-items:center;justify-content:space-between;gap:14px;}.budget-v4-detail header p{margin:0;color:var(--budget-accent,#2c5f87);font-size:12px;font-weight:600;}.budget-v4-detail h2{margin:4px 0 0;font-size:22px;font-weight:600;}.budget-v4-detail header > button{flex:0 0 40px;width:40px;height:40px;border:0;border-radius:50%;color:var(--budget-ink,#172731);background:var(--budget-row-hover,#e8f1f6);cursor:pointer;font-size:24px;}.budget-v4-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;}.budget-v4-detail-grid label{display:grid;gap:6px;color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.budget-v4-detail-grid textarea{min-height:88px;box-sizing:border-box;padding:10px;border:1px solid var(--budget-line-strong,#788994);border-radius:10px;color:var(--budget-ink,#172731);font:inherit;font-size:13px;resize:vertical;}.budget-v4-detail-wide{grid-column:1 / -1;}.budget-v4-detail footer{padding-top:14px;border-top:1px solid var(--budget-line,#cbd3d8);color:var(--budget-muted,#52616b);font-size:12px;}.budget-v4-danger-button{min-height:38px;padding:0 10px;border:1px solid var(--budget-danger,#a54438);border-radius:8px;color:var(--budget-danger,#a54438);background:transparent;cursor:pointer;font:inherit;font-size:12px;font-weight:600;}.budget-v4-analysis{display:grid;gap:14px;padding:18px;border:1px solid var(--budget-line,#cbd3d8);border-radius:16px;background:var(--budget-surface,#fffefb);}.budget-v4-analysis header{display:flex;justify-content:space-between;gap:18px;align-items:end;}.budget-v4-analysis header p{margin:0;color:var(--budget-accent,#2c5f87);font-size:12px;font-weight:600;}.budget-v4-analysis h2{margin:4px 0 0;font-size:20px;font-weight:600;}.budget-v4-analysis header small{max-width:360px;color:var(--budget-muted,#52616b);font-size:11px;line-height:1.55;}.budget-v4-analysis-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--budget-line,#cbd3d8);}.budget-v4-analysis-summary span{display:grid;gap:4px;padding:12px;border-left:1px solid var(--budget-line,#cbd3d8);color:var(--budget-muted,#52616b);font-size:11px;}.budget-v4-analysis-summary span:first-child{border-left:0;}.budget-v4-analysis-summary strong{color:var(--budget-ink,#172731);font-size:17px;font-variant-numeric:tabular-nums;}.budget-v4-analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.budget-v4-analysis-table{overflow:auto;border:1px solid var(--budget-line,#cbd3d8);}.budget-v4-analysis-table h3{margin:0;padding:10px 12px;font-size:13px;font-weight:600;}.budget-v4-analysis-table table{width:100%;min-width:360px;border-collapse:collapse;font-size:12px;}.budget-v4-analysis-table th,.budget-v4-analysis-table td{padding:8px 10px;border-top:1px solid var(--budget-line,#cbd3d8);text-align:left;}.budget-v4-analysis-table th{color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.budget-v4-analysis-table td:not(:first-child){font-variant-numeric:tabular-nums;white-space:nowrap;}@media (max-width:760px){.budget-v4-analysis header{display:grid;}.budget-v4-analysis-summary,.budget-v4-analysis-grid{grid-template-columns:1fr;}.budget-v4-analysis-summary span{border-top:1px solid var(--budget-line,#cbd3d8);border-left:0;}.budget-v4-analysis-summary span:first-child{border-top:0;}}@media (max-width:900px){.budget-v4-detail{top:16px;right:16px;width:min(580px,calc(100vw - 32px));max-height:calc(100vh - 32px);}}@media (max-width:768px){.budget-v4-detail-grid{grid-template-columns:1fr;}.budget-v4-detail footer,.budget-v4-import-preview > div{align-items:flex-start;flex-direction:column;}}.budget-v4-shell{display:grid;gap:16px;color:var(--budget-ink,#172731);font-family:var(--xy-font-ui,MiSans Web,Microsoft YaHei UI,sans-serif);}.budget-v4-message{margin:0;padding:10px 14px;border:1px solid var(--budget-line,#cbd3d8);border-radius:12px;color:var(--budget-ink,#172731);background:color-mix(in srgb,var(--xy-signal,#ffd928) 18%,var(--budget-surface,#fffefb));font-size:13px;line-height:1.5;}.budget-v4-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,230px) auto;align-items:end;gap:16px;padding:24px;border:1px solid var(--budget-line,#cbd3d8);border-radius:18px 18px 18px 5px;background:var(--budget-surface,#fffefb);}.budget-v4-hero p,.budget-v4-hero h1,.budget-v4-hero span,.budget-v4-hero label{margin:0;}.budget-v4-hero p{color:var(--budget-accent,#2c5f87);font-size:12px;font-weight:600;letter-spacing:.06em;}.budget-v4-hero h1{margin-top:5px;font-size:clamp(25px,2.5vw,36px);font-weight:600;letter-spacing:-.035em;line-height:1.12;}.budget-v4-hero span{display:block;margin-top:8px;color:var(--budget-muted,#52616b);font-size:13px;}.budget-v4-hero label,.budget-v4-toolbar label,.budget-v4-record-panel label{display:grid;gap:6px;color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.budget-v4-shell input,.budget-v4-shell select{width:100%;min-height:40px;box-sizing:border-box;padding:0 10px;border:1px solid var(--budget-line-strong,#788994);border-radius:10px;color:var(--budget-ink,#172731);background:var(--budget-field,#fff);font:inherit;font-size:13px;}.budget-v4-shell :is(input,select,button):focus-visible{outline:3px solid color-mix(in srgb,var(--budget-accent,#2c5f87) 30%,transparent);outline-offset:2px;}.budget-v4-hero > button,.budget-v4-record-panel > button:first-of-type{min-height:44px;padding:0 16px;border:1px solid var(--budget-header,#243746);border-radius:12px;color:var(--budget-header-ink,#f1f5f7);background:var(--budget-header,#243746);cursor:pointer;font:inherit;font-size:13px;font-weight:600;}.budget-v4-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--budget-line,#cbd3d8);border-radius:16px;overflow:hidden;background:var(--budget-surface,#fffefb);}.budget-v4-overview > div{display:grid;gap:4px;min-height:104px;padding:18px 20px;border-left:1px solid var(--budget-line,#cbd3d8);}.budget-v4-overview > div:first-child{border-left:0;}.budget-v4-overview span{color:var(--budget-muted,#52616b);font-size:12px;font-weight:600;}.budget-v4-overview strong{font-size:24px;letter-spacing:-.025em;font-variant-numeric:tabular-nums;}.budget-v4-overview small{color:var(--budget-muted,#52616b);font-size:11px;line-height:1.4;}.budget-v4-overview-focus{background:var(--xy-signal,#ffd928);}.budget-v4-overview-focus small{color:color-mix(in srgb,var(--budget-ink,#172731) 78%,transparent);}.budget-v4-toolbar{display:flex;align-items:end;gap:12px;}.budget-v4-toolbar label{width:min(100%,380px);}.budget-v4-toolbar > span{margin-left:auto;padding-bottom:11px;color:var(--budget-muted,#52616b);font-size:12px;}.budget-v4-text-button,.budget-v4-more{min-height:40px;border:0;color:var(--budget-accent,#2c5f87);background:transparent;cursor:pointer;font:inherit;font-size:12px;font-weight:600;}.budget-v4-table-wrap{overflow:auto;border:1px solid var(--budget-line,#cbd3d8);border-radius:16px;background:var(--budget-surface,#fffefb);}.budget-v4-table{width:100%;min-width:1090px;border-collapse:collapse;}.budget-v4-table th{padding:11px 10px;color:var(--budget-header-ink,#f1f5f7);background:var(--budget-header,#243746);font-size:11px;font-weight:600;text-align:left;white-space:nowrap;}.budget-v4-table td{padding:9px 10px;border-bottom:1px solid var(--budget-line,#cbd3d8);vertical-align:middle;}.budget-v4-table tbody tr:last-child td{border-bottom:0;}.budget-v4-table tbody tr:hover td{background:var(--budget-row-hover,#e8f1f6);}.budget-v4-table td:nth-child(1){min-width:170px;}.budget-v4-table td:nth-child(2){min-width:126px;}.budget-v4-table td:nth-child(3){min-width:110px;}.budget-v4-table td:nth-child(4){min-width:110px;}.budget-v4-table td:nth-child(6){min-width:100px;}.budget-v4-project{display:grid;gap:4px;}.budget-v4-project small,.budget-v4-table td > small{color:var(--budget-muted,#52616b);font-size:11px;}.budget-v4-actual{display:grid;gap:2px;min-width:100px;padding:7px 9px;border:1px solid color-mix(in srgb,var(--xy-signal,#ffd928) 72%,var(--budget-line,#cbd3d8));border-radius:10px;color:var(--budget-ink,#172731);background:color-mix(in srgb,var(--xy-signal,#ffd928) 30%,var(--budget-surface,#fffefb));cursor:pointer;text-align:left;}.budget-v4-actual strong{font-size:14px;font-variant-numeric:tabular-nums;}.budget-v4-actual span{color:var(--budget-accent,#2c5f87);font-size:11px;font-weight:600;}.budget-v4-status{display:block;color:var(--budget-muted,#52616b);font-size:12px;font-weight:600;}.budget-v4-status.is-good{color:var(--budget-success,#2f7d5c);}.budget-v4-status.is-risk{color:var(--budget-danger,#a54438);}.budget-v4-record-panel{display:grid;grid-template-columns:minmax(180px,1.4fr) repeat(4,minmax(112px,1fr)) auto auto;align-items:end;gap:10px;padding:16px;border:1px solid var(--budget-line,#cbd3d8);border-radius:16px 16px 16px 5px;background:var(--budget-surface,#fffefb);}.budget-v4-record-panel > div{display:grid;gap:5px;padding-bottom:3px;}.budget-v4-record-panel strong{font-size:14px;}.budget-v4-record-panel span{color:var(--budget-muted,#52616b);font-size:11px;line-height:1.4;}.budget-v4-guidance{padding:0 16px;border:1px solid var(--budget-line,#cbd3d8);border-radius:12px;background:var(--budget-surface,#fffefb);}.budget-v4-guidance summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--budget-accent,#2c5f87);font-size:12px;font-weight:600;}.budget-v4-guidance p{margin:0 0 14px;color:var(--budget-muted,#52616b);font-size:13px;line-height:1.65;}.budget-v4-empty{padding:34px !important;color:var(--budget-muted,#52616b);text-align:center;}.budget-v4-empty button{margin-left:8px;border:0;color:var(--budget-accent,#2c5f87);background:transparent;cursor:pointer;font:inherit;font-weight:600;}@media (max-width:900px){.budget-v4-hero{grid-template-columns:1fr auto;}.budget-v4-hero > label{grid-column:1 / -1;max-width:280px;}.budget-v4-record-panel{grid-template-columns:repeat(2,minmax(0,1fr));}.budget-v4-record-panel > div{grid-column:1 / -1;}}@media (max-width:768px){.budget-v4-shell{gap:12px;}.budget-v4-hero{grid-template-columns:1fr;padding:18px;gap:14px;}.budget-v4-hero > label{grid-column:auto;max-width:none;}.budget-v4-hero h1{font-size:28px;}.budget-v4-overview{grid-template-columns:1fr;}.budget-v4-overview > div{min-height:auto;border-top:1px solid var(--budget-line,#cbd3d8);border-left:0;}.budget-v4-overview > div:first-child{border-top:0;}.budget-v4-toolbar{align-items:center;flex-wrap:wrap;}.budget-v4-toolbar label{width:100%;}.budget-v4-toolbar > span{margin-left:0;padding-bottom:0;}.budget-v4-record-panel{grid-template-columns:1fr;}.budget-v4-record-panel > div{grid-column:auto;}.budget-v4-table-wrap{margin-inline:-2px;border-radius:12px;}}.budget-page,.budget-page-v2,.budget-entry-popover-root{--budget-control-height:40px;--budget-canvas:#f2f5f5;--budget-surface:#fffefb;--budget-surface-raised:#ffffff;--budget-ink:#172731;--budget-muted:#52616b;--budget-weak:#65727b;--budget-line:#cbd3d8;--budget-line-strong:#788994;--budget-header:#243746;--budget-header-ink:#f1f5f7;--budget-field:#ffffff;--budget-row-even:#f7f9f8;--budget-row-hover:#e8f1f6;--budget-entry:#fff8d5;--budget-entry-line:#b58a00;--budget-accent:#2c5f87;--budget-accent-soft:#e5f0f6;--budget-success:#2f7d5c;--budget-success-soft:#e6f2ec;--budget-danger:#a54438;--budget-danger-soft:#f8e9e6;--budget-shadow:rgba(23,39,49,0.18);--budget-table-line:var(--budget-line);--budget-table-hover:var(--budget-row-hover);}body[data-theme="dark"] :is(.budget-page,.budget-page-v2,.budget-entry-popover-root){--budget-canvas:#0e1722;--budget-surface:#142334;--budget-surface-raised:#192b3c;--budget-ink:#edf3f6;--budget-muted:#b1bfca;--budget-weak:#93a5b4;--budget-line:#31465a;--budget-line-strong:#6b8195;--budget-header:#0a121a;--budget-header-ink:#f1f5f7;--budget-field:#192b3c;--budget-row-even:#172839;--budget-row-hover:#213d52;--budget-entry:#282b21;--budget-entry-line:#e0b91e;--budget-accent:#78bdf2;--budget-accent-soft:#1c354a;--budget-success:#65c49b;--budget-success-soft:#173a34;--budget-danger:#ff8b80;--budget-danger-soft:#422b2e;--budget-shadow:rgba(0,0,0,0.42);}.budget-page{min-width:0;max-width:100%;overflow-x:clip;color:var(--budget-ink);}.budget-page svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}.budget-zero-start{display:grid;min-height:240px;place-items:center;align-content:center;gap:8px;padding:32px 24px;border:1px solid var(--border-glass);border-radius:18px 18px 18px 5px;color:var(--text-primary);background:linear-gradient(145deg,color-mix(in srgb,var(--xy-signal,#ffd928) 13%,var(--bg-card)),var(--bg-card) 52%);text-align:center;}.budget-zero-start[hidden]{display:none;}.budget-zero-kicker{color:var(--interactive-primary);font-size:11px;font-weight:800;letter-spacing:0.08em;}.budget-zero-start h2,.budget-zero-start p{margin:0;}.budget-zero-start h2{font-family:var(--xy-font-display);font-size:clamp(24px,3vw,34px);line-height:1.12;}.budget-zero-start p{max-width:34em;color:var(--text-secondary);font-size:13px;line-height:1.6;}.budget-zero-primary,.budget-zero-import{font:inherit;cursor:pointer;}.budget-zero-primary{min-height:44px;margin-top:8px;padding:0 22px;border:1px solid color-mix(in srgb,var(--xy-signal-ink) 48%,transparent);border-radius:12px;color:var(--xy-signal-ink);background:var(--xy-signal,#ffd928);font-weight:820;}.budget-zero-import{min-height:44px;padding:0 12px;border:0;color:var(--interactive-primary);background:transparent;font-size:12px;font-weight:700;}.budget-page.is-zero-state :is(.budget-overview,.mobile-budget-view,.desktop-budget-table){display:none;}.budget-page.is-zero-state .mobile-budget-view{display:none !important;}.budget-page.is-zero-state.is-zero-configuring .budget-overview{display:block;}.budget-page.is-zero-state.is-zero-configuring :is(.budget-summary-bar,.budget-analysis){display:none;}.budget-overview{margin-bottom:12px;border:1px solid var(--border-glass);border-radius:12px;background:var(--bg-card);overflow:clip;}.budget-basis{border-bottom:1px solid var(--border-glass);}.budget-basis > summary,.budget-analysis > summary{min-height:var(--budget-control-height);display:flex;align-items:center;gap:12px;padding:8px 18px;color:var(--text-secondary);cursor:pointer;list-style:none;transition:background var(--xy-motion-fast),color var(--xy-motion-fast);}.budget-basis > summary::-webkit-details-marker,.budget-analysis > summary::-webkit-details-marker,.budget-column-settings > summary::-webkit-details-marker{display:none;}.budget-basis > summary:hover,.budget-analysis > summary:hover{color:var(--text-primary);background:var(--bg-glass);}.budget-basis > summary:focus-visible,.budget-analysis > summary:focus-visible,.budget-column-settings > summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px;}.budget-basis-label{color:var(--text-muted);font-size:12px;font-weight:700;}.budget-basis summary strong{min-width:0;display:flex;align-items:center;gap:10px;color:var(--text-primary);font-family:var(--xy-font-data);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;}.budget-basis-action{margin-left:auto;color:var(--interactive-primary);font-size:12px;font-weight:750;}.budget-basis-action::after{content:"";display:inline-block;width:7px;height:7px;margin-left:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform var(--xy-motion-fast);}.budget-basis[open] .budget-basis-action::after{transform:rotate(225deg) translate(-1px,-1px);}.budget-basis-editor{display:grid;grid-template-columns:minmax(280px,0.75fr) minmax(560px,1.8fr);gap:18px;padding:16px 18px 18px;border-top:1px solid var(--border-glass);background:color-mix(in srgb,var(--bg-glass) 54%,var(--bg-card));}.budget-page .budget-setup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;}.budget-page .budget-input-group{gap:6px;}.budget-page .budget-input-group label,.budget-tier-field > label{color:var(--text-muted);font-size:12px;font-weight:700;}.budget-page .budget-input-group .form-input{min-height:var(--budget-control-height);}.budget-tier-field{display:grid;gap:6px;}.budget-page .tier-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;}.budget-page .tier-option{min-height:72px;padding:10px 12px;border:1px solid var(--border-glass);border-radius:10px;background:var(--bg-card);box-shadow:none;}.budget-page .tier-option:hover{border-color:var(--border-glass-strong);background:var(--bg-glass);}.budget-page .tier-option.active{border-color:var(--interactive-primary);background:var(--interactive-soft);box-shadow:inset 3px 0 0 var(--interactive-primary);}.budget-page .tier-name{margin-bottom:2px;font-size:13px;font-weight:800;}.budget-page .tier-price,.budget-page .tier-desc{font-size:11px;}.budget-page .budget-summary-bar{display:block;margin:0;padding:16px 18px;border:0;border-radius:0;background:var(--bg-card);box-shadow:none;}.budget-summary-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));}.budget-page .budget-summary-item{min-width:0;padding:0 18px;border-left:1px solid var(--border-glass);}.budget-page .budget-summary-item:first-child{padding-left:0;border-left:0;}.budget-page .budget-summary-label{margin-bottom:5px;color:var(--text-muted);font-size:11px;font-weight:700;}.budget-page .budget-summary-value{color:var(--text-primary);font-family:var(--xy-font-data);font-size:clamp(18px,1.35vw,23px);font-weight:760;line-height:1;letter-spacing:-0.015em;font-variant-numeric:tabular-nums;}.budget-page .budget-summary-value.planned{color:var(--interactive-primary);}.budget-page .budget-summary-value.spent{color:var(--text-primary);}.budget-page .budget-summary-value.remaining{color:var(--status-success-fg);}.budget-page .budget-summary-value.over{color:var(--status-danger-fg);}.budget-summary-risk.is-over .budget-summary-label{color:var(--status-danger-fg);}.budget-progress-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border-glass);}.budget-progress-row{min-width:0;}.budget-progress-copy{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:baseline;gap:8px;margin-bottom:7px;color:var(--text-muted);font-family:var(--xy-font-data);font-size:11px;font-variant-numeric:tabular-nums;}.budget-progress-copy strong{color:var(--text-primary);font-family:var(--xy-font-ui);font-size:12px;}.budget-progress-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.budget-progress-copy small{color:var(--text-secondary);font-size:10px;font-weight:750;}.budget-progress-track{height:5px;overflow:hidden;border-radius:99px;background:color-mix(in srgb,var(--border-glass) 82%,transparent);}.budget-progress-track > span{display:block;height:100%;border-radius:inherit;background:var(--interactive-primary);}.budget-progress-row.actual .budget-progress-track > span{background:var(--xy-done);}.budget-progress-row.is-over .budget-progress-track > span{background:repeating-linear-gradient(135deg,var(--status-danger-fg) 0 4px,color-mix(in srgb,var(--status-danger-fg) 48%,transparent) 4px 8px);}.budget-progress-row.is-over .budget-progress-copy small{color:var(--status-danger-fg);}.budget-analysis{border-top:1px solid var(--border-glass);}.budget-analysis > summary{justify-content:flex-end;}.budget-analysis > summary span{color:var(--text-primary);font-size:13px;font-weight:800;}.budget-analysis > summary small{color:var(--text-muted);font-size:11px;}.budget-analysis > summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);}.budget-analysis[open] > summary::after{transform:rotate(225deg) translate(-1px,-1px);}.budget-analysis-body{padding:0 18px 18px;}.budget-analysis-tabs{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--border-glass);border-radius:10px;background:var(--bg-glass);}.budget-analysis-tabs button,.budget-page .budget-share-mode{min-height:36px;padding:7px 12px;border-radius:8px;color:var(--text-secondary);background:transparent;font-size:12px;font-weight:750;}.budget-analysis-tabs button.active,.budget-page .budget-share-mode.active{color:var(--text-primary);background:var(--bg-card);box-shadow:0 1px 2px color-mix(in srgb,var(--xy-ink) 10%,transparent);}.budget-analysis-pane{position:relative;min-height:252px;margin-top:12px;}.budget-analysis-pane .budget-share-toggle{position:absolute;z-index:2;top:0;right:0;}.budget-analysis-pane .chart-container{max-height:270px;}.budget-page .desktop-budget-table{min-width:0;max-width:100%;overflow:visible;border:1px solid var(--budget-line);border-radius:12px;background:var(--budget-surface);box-shadow:none;}.budget-page .xl-card-header{overflow:visible;border-radius:12px 12px 0 0;background:var(--budget-surface);}.budget-page .budget-workbench-toolbar{display:grid;min-width:0;gap:10px;padding:14px;}.budget-workbench-topline{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:16px;}.budget-workbench-primary{display:grid;min-width:0;grid-template-columns:minmax(280px,1fr) 160px 180px max-content max-content;align-items:center;gap:8px;}.budget-page .budget-workbench-heading{min-width:180px;margin:0;}.budget-page .budget-workbench-heading .card-title{font-size:15px;}.budget-page .xl-hint{margin-top:2px;color:var(--budget-weak);font-size:11px;}.budget-page .budget-search,.budget-page .budget-stage-select,.budget-filter-toggle,.budget-column-settings > summary{min-height:var(--budget-control-height);box-sizing:border-box;border:1px solid var(--budget-line-strong);border-radius:10px;color:var(--budget-ink);background:var(--budget-field);}.budget-page .budget-search{width:100%;gap:8px;padding:0 12px;}.budget-page .budget-search:focus-within,.budget-page .budget-stage-select:focus,.budget-filter-toggle:focus-visible,.budget-column-settings > summary:focus-visible{border-color:var(--budget-accent);outline:3px solid color-mix(in srgb,var(--budget-accent) 22%,transparent);outline-offset:0;box-shadow:none;}.budget-page .budget-stage-select{min-width:0;padding:0 32px 0 11px;font-size:12px;font-weight:700;}.budget-filter-toggle{padding:0 11px;font-size:12px;font-weight:750;white-space:nowrap;}.budget-filter-toggle:hover,.budget-filter-toggle.active{color:var(--budget-accent);border-color:var(--budget-accent);background:var(--budget-accent-soft);}.budget-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;}.budget-page .budget-toolbar-actions .btn,.budget-page .budget-add-button,.budget-column-settings > summary{min-height:var(--budget-control-height);display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;white-space:nowrap;}.budget-page .budget-add-button{color:var(--xy-signal-ink);border:1px solid color-mix(in srgb,var(--xy-signal) 72%,var(--xy-signal-ink));border-radius:10px;background:var(--xy-signal);font-weight:800;}.budget-page .budget-add-button:hover{color:var(--xy-signal-ink);border-color:color-mix(in srgb,var(--xy-signal) 64%,var(--xy-signal-ink));background:color-mix(in srgb,var(--xy-signal) 88%,var(--bg-card));}.budget-column-settings{position:relative;}.budget-column-settings > summary{cursor:pointer;list-style:none;}.budget-column-menu{position:absolute;z-index:20;top:calc(100% + 6px);right:0;width:178px;padding:8px;border:1px solid var(--budget-line-strong);border-radius:10px;background:var(--budget-surface-raised);box-shadow:0 12px 28px var(--budget-shadow);}.budget-column-menu label{min-height:40px;display:flex;align-items:center;gap:9px;padding:0 8px;border-radius:7px;color:var(--budget-muted);font-size:12px;font-weight:700;}.budget-column-menu label:hover{color:var(--budget-ink);background:var(--budget-row-hover);}.budget-column-menu input{width:16px;height:16px;accent-color:var(--budget-accent);}.budget-page .budget-spreadsheet-shell{max-height:min(62vh,720px);overflow:auto;border-radius:0 0 12px 12px;scrollbar-color:var(--budget-line-strong) transparent;}.budget-page .budget-spreadsheet-shell .xl-table{min-width:1540px;border-collapse:separate;border-spacing:0;table-layout:fixed;background:var(--budget-surface-raised);font-size:12px;}.budget-page .xl-table .rownum-th{width:42px;}.budget-page .xl-table .name-th{width:210px;}.budget-page .xl-table .stage-th{width:126px;}.budget-page .xl-table .cat-th{width:170px;}.budget-page .xl-table .cost-type-th{width:108px;}.budget-page .xl-table .room-th{width:98px;}.budget-page .xl-table .brand-th{width:136px;}.budget-page .xl-table .unit-th{width:120px;}.budget-page .xl-table .num-th{width:94px;}.budget-page .xl-table .diff-th{width:112px;}.budget-page .xl-table .priority-th{width:92px;}.budget-page .xl-table .action-th{width:112px;}.budget-page .xl-th{height:38px;padding:0 9px;top:0;z-index:5;color:var(--budget-header-ink);border:0;border-bottom:1px solid var(--budget-header);background:var(--budget-header);box-shadow:none;font-size:11px;font-weight:800;letter-spacing:0;text-transform:none;}.budget-page .xl-th.num-th,.budget-page .xl-th.budget-th,.budget-page .xl-th.actual-th,.budget-page .xl-th.diff-th{text-align:right;}.budget-page .rownum-th,.budget-page .row-num-cell{position:sticky;left:0;}.budget-page .sticky-project-th,.budget-page .sticky-project-cell{position:sticky;left:42px;}.budget-page .rownum-th,.budget-page .sticky-project-th{z-index:8;}.budget-page .row-num-cell,.budget-page .sticky-project-cell{z-index:3;background:var(--budget-surface-raised);}.budget-stage-group td{height:34px;padding:0 12px;border-bottom:1px solid var(--budget-table-line);color:var(--budget-accent);background:var(--budget-accent-soft);}.budget-stage-group span{font-size:12px;font-weight:800;}.budget-stage-group small{margin-left:8px;color:var(--budget-muted);font-family:var(--xy-font-data);font-size:10px;}.budget-page .bv2-row{border:0;}.budget-page .bv2-row td{height:46px;padding:5px 8px;border:0;border-bottom:1px solid var(--budget-table-line);color:var(--budget-muted);background-color:var(--budget-surface-raised);vertical-align:middle;}.budget-page .bv2-row:nth-child(even) td{background-color:var(--budget-row-even);}.budget-page .bv2-row:hover td{background-color:var(--budget-table-hover);}.budget-quick-entry-row td{position:sticky;z-index:4;top:38px;height:50px;padding:6px 8px;border:0;border-bottom:1px solid var(--budget-line);background:var(--budget-entry);vertical-align:middle;box-shadow:none;}.budget-quick-entry-row td:first-child{box-shadow:inset 5px 0 var(--budget-entry-line);}.budget-quick-entry-row .row-num-cell,.budget-quick-entry-row .sticky-project-cell{z-index:6;background:var(--budget-entry);}.budget-quick-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:20px;border-radius:5px;color:#302600;background:#f0c928;font-size:9px;font-weight:850;}.budget-page .xl-table .budget-quick-entry-row .budget-quick-control{color:var(--budget-ink);border-color:var(--budget-line-strong);background:var(--budget-field);}.budget-quick-entry-row .name-cell .budget-quick-control{font-weight:800;}.budget-quick-detail-cell,.budget-quick-static-cell{color:var(--budget-weak);font-size:10px;text-align:center;}.budget-quick-submit{min-width:82px;height:34px;padding:0 10px;border:1px solid var(--budget-header);border-radius:8px;color:var(--budget-header-ink);background:var(--budget-header);font-size:11px;font-weight:850;white-space:nowrap;}.budget-quick-submit:hover,.budget-quick-submit:focus-visible{border-color:var(--budget-accent);background:var(--budget-accent);outline:3px solid color-mix(in srgb,var(--budget-accent) 30%,transparent);outline-offset:1px;}.budget-page .row-num-cell{color:var(--budget-weak);font-family:var(--xy-font-data);font-size:10px;text-align:center;}.budget-page .xl-text,.budget-page .xl-num,.budget-page .xl-select{width:100%;min-height:34px;padding:5px 7px;color:var(--budget-muted);border:1px solid transparent;border-radius:7px;background:transparent;font-size:12px;font-weight:600;box-shadow:none;transition:border-color var(--xy-motion-fast),background var(--xy-motion-fast),color var(--xy-motion-fast);}.budget-page .name-cell .xl-text{color:var(--budget-ink);font-size:13px;font-weight:800;}.budget-page .xl-text:hover,.budget-page .xl-num:hover,.budget-page .xl-select:hover{color:var(--budget-ink);border-color:var(--budget-line-strong);background:var(--budget-row-hover);}.budget-page .xl-text:focus,.budget-page .xl-num:focus,.budget-page .xl-select:focus{color:var(--budget-ink);border-color:var(--budget-accent);background:var(--budget-field);outline:3px solid color-mix(in srgb,var(--budget-accent) 22%,transparent);outline-offset:-1px;box-shadow:none;}.budget-page .xl-num{color:var(--budget-ink);font-family:var(--xy-font-data);font-variant-numeric:tabular-nums;}.budget-page .budget-cell .xl-num{color:var(--budget-accent);}.budget-page .actual-num{color:var(--budget-ink);}.budget-category-control{min-width:0;display:flex;align-items:center;gap:5px;}.budget-category-control .xl-category-select{min-width:0;flex:1 1 auto;}.budget-fitout-tag{flex:0 0 auto;padding:2px 5px;border:1px solid var(--border-glass);border-radius:6px;color:var(--budget-muted);background:var(--budget-row-even);font-size:9px;font-weight:800;}.budget-fitout-tag.soft{color:var(--status-success-fg);border-color:var(--status-success-border);background:var(--status-success-bg);}.budget-page .priority-cell .xl-select{color:var(--budget-muted);font-size:11px;}.budget-page .xl-table .xl-text,.budget-page .xl-table .xl-num,.budget-page .xl-table .xl-select{border-color:transparent;background:transparent;box-shadow:none;}.budget-page .xl-table .xl-text:hover,.budget-page .xl-table .xl-num:hover,.budget-page .xl-table .xl-select:hover{border-color:var(--budget-line-strong);background:var(--budget-row-hover);}.budget-page .xl-table .xl-text:focus,.budget-page .xl-table .xl-num:focus,.budget-page .xl-table .xl-select:focus{border-color:var(--budget-accent);background:var(--budget-field);outline:3px solid color-mix(in srgb,var(--budget-accent) 22%,transparent);outline-offset:-1px;box-shadow:none;}.budget-page .diff-cell{font-family:var(--xy-font-data);font-variant-numeric:tabular-nums;}.budget-page .diff-over{color:var(--budget-danger);}.budget-page .diff-under{color:var(--budget-success);}.budget-page .budget-action-cell-inner{display:flex;align-items:center;justify-content:center;gap:2px;}.budget-row-action{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid transparent;border-radius:8px;color:var(--text-muted);background:transparent;}.budget-row-action:hover,.budget-row-action:focus-visible{color:var(--interactive-primary);border-color:var(--interactive-border);background:var(--interactive-soft);outline:none;}.budget-row-action.budget-delete-button:hover,.budget-row-action.budget-delete-button:focus-visible{color:var(--status-danger-fg);border-color:var(--status-danger-border);background:var(--status-danger-bg);}.budget-page .bv2-grand-total td{height:46px;color:var(--budget-ink);border-top:2px solid var(--budget-header);background:var(--budget-success-soft);}.budget-page .bv2-grand-total .grand-total-label{padding-left:54px;text-align:left;}.budget-page .budget-empty-row td{padding:56px 20px;}.budget-hide-cost [data-column-key="cost"],.budget-hide-room [data-column-key="room"],.budget-hide-brand [data-column-key="brand"],.budget-hide-priority [data-column-key="priority"]{display:none;}.budget-page .mobile-budget-actions .btn,.budget-page .mobile-budget-toolbar .btn{gap:7px;}#modal-budget-v2 .modal{border-radius:16px;}#modal-budget-v2 .modal-header,#modal-budget-v2 .modal-footer{border-color:var(--border-glass);}#modal-budget-v2 .form-label{color:var(--text-secondary);}.budget-quick-options{display:none;}.budget-context-quick{display:none;}.budget-entry-picker-trigger,.budget-entry-unit-picker,.budget-entry-popover button,.budget-entry-popover input{font:inherit;}.budget-entry-picker-trigger{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 7px;overflow:hidden;border:1px solid transparent;border-radius:7px;color:var(--budget-muted);background:transparent;cursor:pointer;text-align:left;transition:background-color var(--xy-motion-fast),border-color var(--xy-motion-fast),color var(--xy-motion-fast);}.budget-entry-picker-trigger:hover{color:var(--budget-ink);border-color:var(--budget-line-strong);background:var(--budget-row-hover);}.budget-entry-picker-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.budget-entry-picker-trigger.is-empty .budget-entry-picker-value{color:var(--budget-weak);}.budget-entry-picker-chevron{flex:0 0 auto;color:var(--budget-weak);font-size:13px;}.budget-entry-unit-control{width:100%;min-width:0;display:flex;align-items:stretch;}.budget-page .budget-entry-unit-input{min-width:0;flex:1 1 auto;border-radius:12px 0 0 12px;}.budget-entry-unit-picker{width:44px;min-height:44px;flex:0 0 44px;padding:0;border:1px solid transparent;border-left:0;border-radius:0 12px 12px 0;color:var(--budget-weak);background:transparent;cursor:pointer;}.budget-entry-unit-control:hover .budget-entry-unit-picker{color:var(--budget-ink);border-color:var(--budget-line-strong);background:var(--budget-row-hover);}.budget-entry-popover-root{position:fixed;z-index:1200;max-width:calc(100vw - 24px);}.budget-entry-popover-root[hidden]{display:none;}.budget-entry-popover{max-height:min(72vh,560px);overflow:auto;color:var(--budget-ink);background:var(--budget-surface-raised);border:1px solid var(--budget-line-strong);border-radius:12px;box-shadow:0 18px 44px var(--budget-shadow);scrollbar-color:var(--budget-line-strong) transparent;}.budget-entry-popover-root svg,.budget-entry-picker-trigger svg,.budget-entry-unit-picker svg{width:16px;height:16px;display:block;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}.budget-entry-popover-header{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 8px 6px 12px;border-bottom:1px solid var(--budget-line);}.budget-entry-popover-header > div{min-width:0;display:grid;gap:2px;}.budget-entry-popover-header strong{color:var(--budget-ink);font-family:var(--xy-font-display);font-size:15px;font-weight:800;letter-spacing:-0.02em;}.budget-entry-popover-header span{color:var(--budget-muted);font-size:11px;}.budget-entry-popover-close{width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:12px;color:var(--budget-muted);background:transparent;cursor:pointer;display:grid;place-items:center;}.budget-entry-popover-close:hover{color:var(--budget-ink);background:var(--budget-row-hover);}.budget-entry-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:12px 14px 4px;}.budget-entry-shortcuts button,.budget-entry-unit-group button{min-height:44px;padding:7px 9px;border:1px solid var(--budget-line-strong);border-radius:12px;color:var(--budget-ink);background:var(--budget-field);cursor:pointer;font-size:11px;font-weight:700;}.budget-entry-shortcuts button:hover,.budget-entry-unit-group button:hover{color:var(--budget-accent);border-color:var(--budget-accent);background:var(--budget-accent-soft);}.budget-entry-room-search{display:grid;gap:5px;padding:10px 14px 4px;}.budget-entry-room-search > span{color:var(--budget-muted);font-size:11px;font-weight:750;}.budget-entry-room-search input{width:100%;min-height:44px;padding:0 11px;border:1px solid var(--budget-line-strong);border-radius:12px;color:var(--budget-ink);background:var(--budget-field);font-size:13px;}.budget-entry-option-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:152px;overflow:auto;padding:8px 14px 12px;}.budget-entry-empty{grid-column:1 / -1;margin:0;padding:13px 11px;border:1px dashed var(--budget-line-strong);border-radius:12px;color:var(--budget-muted);background:var(--budget-field);font-size:11px;text-align:center;}.budget-entry-option{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 11px;border:1px solid var(--budget-line-strong);border-radius:12px;color:var(--budget-ink);background:var(--budget-field);cursor:pointer;text-align:left;}.budget-entry-option:hover{border-color:var(--budget-accent);background:var(--budget-accent-soft);}.budget-entry-option.is-selected{color:var(--budget-accent);border-color:var(--budget-accent);background:var(--budget-accent-soft);font-weight:800;}.budget-entry-option-check{width:18px;flex:0 0 18px;color:var(--budget-accent);display:grid;place-items:center;}.budget-entry-unit-groups{display:grid;gap:12px;padding:14px;}.budget-entry-unit-group{display:grid;gap:6px;}.budget-entry-unit-group h4{margin:0;color:var(--budget-muted);font-size:11px;font-weight:800;}.budget-entry-unit-group > div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}.budget-entry-custom-form{display:grid;gap:6px;padding:12px 14px;border-top:1px solid var(--budget-line);}.budget-entry-custom-disclosure{border-top:1px solid var(--budget-line);}.budget-entry-custom-disclosure summary{min-height:44px;display:flex;align-items:center;padding:0 14px;color:var(--budget-accent);cursor:pointer;font-size:11px;font-weight:800;list-style:none;}.budget-entry-custom-disclosure summary::-webkit-details-marker{display:none;}.budget-entry-custom-disclosure .budget-entry-custom-form{padding-top:0;border-top:0;}.budget-entry-custom-form label{color:var(--budget-muted);font-size:11px;font-weight:750;}.budget-entry-custom-form > div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;}.budget-entry-custom-form input{min-width:0;min-height:44px;padding:0 11px;border:1px solid var(--budget-line-strong);border-radius:12px;color:var(--budget-ink);background:var(--budget-field);font-size:13px;}.budget-entry-custom-form button,.budget-entry-complete,.budget-entry-clear{min-height:44px;padding:0 15px;border:1px solid var(--budget-header);border-radius:12px;color:var(--budget-header-ink);background:var(--budget-header);cursor:pointer;font-size:11px;font-weight:800;}.budget-entry-clear{color:var(--budget-accent);border-color:var(--budget-line-strong);background:var(--budget-field);}.budget-entry-popover-error{margin:0 14px 10px;padding:9px 10px;border-left:4px solid var(--budget-danger);border-radius:12px;color:var(--budget-ink);background:var(--budget-danger-soft);font-size:11px;font-weight:700;}.budget-entry-popover-footer{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-top:1px solid var(--budget-line);}.budget-entry-popover-footer > span{margin-left:auto;color:var(--budget-muted);font-size:11px;}.budget-entry-popover :is(button,input):focus-visible{outline:3px solid var(--budget-accent) !important;outline-offset:2px;}@media (min-width:769px){.budget-page .desktop-budget-table{border-color:var(--budget-line);background:var(--budget-surface);}.budget-page .xl-card-header,.budget-page .budget-workbench-toolbar{background:var(--budget-surface);}.budget-page .xl-card-header{border-bottom:1px solid var(--budget-line);}.budget-page .budget-workbench-heading .card-title{color:var(--budget-ink);font-size:15px;font-weight:850;letter-spacing:-0.02em;}.budget-page .xl-hint{color:var(--budget-weak);}.budget-page .budget-search,.budget-page .budget-stage-select,.budget-filter-toggle,.budget-column-settings > summary,.budget-page .budget-toolbar-actions .btn{color:var(--budget-ink);border-color:var(--budget-line-strong);background:var(--budget-field);}.budget-page .budget-search:focus-within,.budget-page .budget-stage-select:focus,.budget-filter-toggle:focus-visible,.budget-column-settings > summary:focus-visible,.budget-page .budget-toolbar-actions .btn:focus-visible{border-color:var(--budget-accent);outline:3px solid color-mix(in srgb,var(--budget-accent) 22%,transparent);outline-offset:1px;}#budget-desktop-add{color:var(--budget-ink);border-color:var(--budget-line-strong);background:var(--budget-surface);font-weight:800;}#budget-desktop-add:hover{color:var(--budget-accent);border-color:var(--budget-accent);background:var(--budget-accent-soft);}.budget-page .budget-spreadsheet-shell .xl-table{background:var(--budget-surface-raised);}.budget-page .xl-thead-row{background:var(--budget-header);color:var(--budget-header-ink);}.budget-page .xl-thead-row .xl-th{color:var(--budget-header-ink);border-bottom-color:var(--budget-header);background:var(--budget-header);}.budget-page .xl-thead-row .xl-th + .xl-th{box-shadow:inset 1px 0 color-mix(in srgb,var(--budget-header-ink) 10%,transparent);}.budget-stage-group td{color:var(--budget-accent);border-bottom-color:var(--budget-line);background:var(--budget-accent-soft);}.budget-stage-group small{color:var(--budget-muted);}.budget-page .bv2-row td{color:var(--budget-muted);border-bottom-color:var(--budget-line);background:var(--budget-surface-raised);}.budget-page .bv2-row:nth-child(even) td{background:var(--budget-row-even);}.budget-page .bv2-row:hover td{background:var(--budget-row-hover);}.budget-page .bv2-row :is(.xl-text,.xl-num,.xl-select,.budget-entry-picker-trigger){color:var(--budget-muted);}.budget-page .bv2-row .name-cell .xl-text,.budget-page .bv2-row .budget-cell .xl-num,.budget-page .bv2-row .actual-num{color:var(--budget-ink);}.budget-quick-entry-row td{background:var(--budget-entry);}.budget-quick-entry-row td:first-child{box-shadow:inset 5px 0 var(--budget-entry-line);}.budget-quick-entry-row .row-num-cell,.budget-quick-entry-row .sticky-project-cell{background:var(--budget-entry);}.budget-page .xl-table .budget-quick-entry-row .budget-quick-control,.budget-page .budget-quick-entry-row .budget-entry-picker-trigger,.budget-page .budget-quick-entry-row .budget-entry-unit-picker{color:var(--budget-ink);border-color:var(--budget-line-strong);background:var(--budget-field);}.budget-quick-entry-row .budget-entry-unit-input{border-right:0;}.budget-quick-entry-row .budget-entry-picker-trigger.is-empty .budget-entry-picker-value,.budget-quick-entry-row .budget-entry-picker-chevron{color:var(--budget-weak);}.budget-quick-badge{color:#302600;background:#f0c928;}.budget-quick-submit{color:var(--budget-header-ink);border-color:var(--budget-header);background:var(--budget-header);}.budget-quick-submit:hover,.budget-quick-submit:focus-visible{color:var(--budget-header-ink);border-color:var(--budget-accent);background:var(--budget-accent);outline-color:color-mix(in srgb,var(--budget-accent) 28%,transparent);}.budget-page .bv2-grand-total td{color:var(--budget-ink);border-top:2px solid var(--budget-header);background:var(--budget-success-soft);}}@media (max-width:1280px) and (min-width:769px){.budget-basis-editor{grid-template-columns:1fr;}.budget-workbench-topline{align-items:flex-start;}.budget-toolbar-actions{flex-wrap:wrap;}.budget-filter-toggle{justify-self:stretch;}}@media (max-width:1100px) and (min-width:769px){.budget-workbench-topline{display:grid;grid-template-columns:minmax(0,1fr);}.budget-toolbar-actions{width:100%;justify-content:flex-start;}.budget-workbench-primary{display:flex;flex-wrap:wrap;}.budget-page .budget-search{width:auto;flex:1 1 240px;}.budget-page .budget-stage-select{flex:0 1 180px;}#budget-workbench-stage{flex-basis:160px;}.budget-filter-toggle{flex:0 0 auto;justify-self:auto;}}@media (max-width:768px){.budget-entry-popover-root{display:none !important;}.budget-zero-start{min-height:220px;padding:26px 18px;}.budget-overview{margin-bottom:12px;border-radius:14px;}.budget-basis > summary{align-items:flex-start;flex-wrap:wrap;padding:11px 14px;}.budget-basis-label{width:100%;}.budget-basis summary strong{flex:1 1 220px;flex-wrap:wrap;gap:5px 8px;}.budget-basis-action{align-self:center;}.budget-basis-editor{grid-template-columns:1fr;padding:12px;}.budget-page .budget-setup{grid-template-columns:1fr 1fr;}.budget-page .tier-selector{gap:6px;}.budget-page .tier-option{min-height:58px;padding:8px 5px;}.budget-page .tier-desc,.budget-page .tier-option .tier-price:last-child{display:none;}.budget-page .budget-summary-bar{padding:12px 14px 14px;overflow:hidden;}.budget-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px;}.budget-page .budget-summary-item{padding:0 10px;}.budget-page .budget-summary-item:nth-child(odd){padding-left:0;border-left:0;}.budget-page .budget-summary-risk{grid-column:1 / -1;padding-top:10px;padding-right:0;border-top:1px solid var(--border-glass);}.budget-page .budget-summary-value{font-size:17px;}.budget-progress-list{grid-template-columns:1fr;gap:12px;margin-top:14px;padding-top:12px;}.budget-progress-copy{grid-template-columns:max-content minmax(0,1fr) max-content;}.budget-analysis{display:block;}.budget-analysis > summary{min-height:48px;justify-content:space-between;padding-inline:14px;}.budget-analysis > summary small{margin-left:auto;}.budget-analysis-body{padding:0 14px 16px;}.budget-analysis-tabs{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.budget-analysis-tabs button,.budget-page .budget-share-mode{min-height:44px;}.budget-analysis-pane{min-height:220px;}.budget-analysis-pane .budget-share-toggle{position:static;display:flex;margin-top:10px;}.budget-analysis-pane .chart-container{height:220px;max-height:220px;}.budget-quick-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}.budget-quick-options button{min-height:44px;padding:7px 12px;border:1px solid var(--border-glass);border-radius:10px;color:var(--text-secondary);background:var(--bg-glass);font:inherit;font-size:13px;font-weight:650;}.budget-quick-options button:focus-visible{border-color:var(--interactive-primary);outline:3px solid var(--focus-ring);outline-offset:2px;}.budget-context-quick{display:grid;gap:7px;margin-top:9px;}.budget-context-label{color:var(--text-muted);font-size:12px;font-weight:600;line-height:1.35;}.budget-context-options{margin-top:0;gap:7px;}.budget-context-options button{min-height:44px;padding-inline:11px;border-color:color-mix(in srgb,var(--interactive-border) 68%,var(--border-glass));background:color-mix(in srgb,var(--interactive-soft) 58%,var(--bg-card));}.budget-context-options .is-more{color:var(--interactive-primary);border-style:dashed;background:transparent;}.budget-unit-options button{min-width:48px;}.budget-page .mobile-budget-view{margin-top:0;}.budget-page .mobile-budget-toolbar{align-items:flex-end;}.budget-page .mobile-budget-toolbar .budget-add-button{min-height:44px;}.budget-page .mobile-budget-card{min-height:118px;border-left-width:1px;border-radius:14px 14px 14px 5px;box-shadow:none;}.budget-page .mobile-budget-card:active{transform:translateY(1px);}#modal-budget-v2 .modal{border-radius:18px 18px 0 0;}}@media (prefers-reduced-motion:reduce){.budget-entry-picker-trigger,.budget-entry-unit-picker,.budget-entry-popover button,.budget-entry-popover input{transition:none !important;}.budget-page *,.budget-page *::before,.budget-page *::after{scroll-behavior:auto !important;transition-duration:0.01ms !important;}}.budget-v4-shell{gap:10px;}.budget-v4-topbar{min-height:62px;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--budget-line);border-radius:14px 14px 14px 5px;background:var(--budget-surface);flex-wrap:wrap;}.budget-v4-topbar > div{display:flex;align-items:center;gap:9px;margin-right:auto;}.budget-v4-topbar h2{margin:0;font-size:20px;font-weight:600;letter-spacing:-.03em;}.budget-v4-ruler{width:38px;height:8px;border-top:3px solid var(--budget-accent);background:repeating-linear-gradient(90deg,var(--budget-accent) 0 1px,transparent 1px 7px);}.budget-v4-topbar label{width:190px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;color:var(--budget-muted);font-size:11px;font-weight:600;}.budget-v4-topbar label input{min-height:38px;}.budget-v4-topbar > button,.budget-v4-primary{min-height:40px;padding:0 14px;border:1px solid var(--budget-line-strong);border-radius:10px;color:var(--budget-ink);background:var(--budget-field);cursor:pointer;font:inherit;font-size:12px;font-weight:600;}.budget-v4-topbar > .budget-v4-primary,.budget-v4-primary{color:var(--budget-header-ink);border-color:var(--budget-header);background:var(--budget-header);}.budget-v4-overview{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:14px;}.budget-v4-overview > div{min-height:84px;padding:12px 15px;}.budget-v4-overview strong{font-size:20px;}.budget-v4-overview > div.is-warning strong{color:var(--budget-warning,#c58a18);}.budget-v4-overview > div.is-danger strong{color:var(--budget-danger);}.budget-v4-overview-focus{background:var(--budget-surface);}.budget-v4-tabs{margin:2px 0 4px;}.budget-v4-budget-pane{min-width:0;display:grid;gap:10px;}.budget-v4-shell[data-v4-tab-current="ledger"] .budget-v4-budget-pane,.budget-v4-shell[data-v4-tab-current="ledger"] .budget-v4-analysis,.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-budget-pane,.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-transactions,.budget-v4-shell[data-v4-tab-current="budget"] :is(.budget-v4-transactions,.budget-v4-analysis){display:none !important;}.budget-v4-toolbar{min-height:48px;align-items:center;}.budget-v4-toolbar label{width:min(320px,100%);}.budget-v4-toolbar label > span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}.budget-v4-toolbar > span{padding:0;}.budget-v4-filter-chip{min-height:34px;padding:0 10px;border:1px solid var(--budget-accent);border-radius:999px;color:var(--budget-accent);background:var(--budget-accent-soft);font:inherit;font-size:11px;font-weight:600;cursor:pointer;}.budget-v4-table{min-width:1040px;table-layout:fixed;}.budget-v4-table th:nth-child(1){width:146px;}.budget-v4-table th:nth-child(2){width:102px;}.budget-v4-table th:nth-child(3){width:92px;}.budget-v4-table th:nth-child(4){width:76px;}.budget-v4-table th:nth-child(5){width:56px;}.budget-v4-table th:nth-child(6),.budget-v4-table th:nth-child(7),.budget-v4-table th:nth-child(8),.budget-v4-table th:nth-child(9){width:87px;}.budget-v4-table th:nth-child(10){width:84px;}.budget-v4-table th:nth-child(11){width:52px;}.budget-v4-table td{padding:7px 8px;}.budget-v4-table td > input,.budget-v4-table td > select{min-height:36px;padding-inline:8px;border-color:transparent;border-radius:7px;background:transparent;}.budget-v4-table tbody tr:hover td > :is(input,select){border-color:var(--budget-line);background:var(--budget-field);}.budget-v4-picker-trigger{width:100%;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 7px;border:1px solid transparent;border-radius:7px;color:var(--budget-ink);background:transparent;text-align:left;cursor:pointer;font:inherit;font-size:12px;}.budget-v4-picker-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.budget-v4-picker-trigger b{color:var(--budget-weak);font-weight:600;}.budget-v4-picker-trigger.is-empty{color:var(--budget-weak);}.budget-v4-table tbody tr:hover .budget-v4-picker-trigger{border-color:var(--budget-line);background:var(--budget-field);}.budget-v4-derived{display:block;font-size:13px;font-variant-numeric:tabular-nums;}.budget-v4-na{display:block;color:var(--budget-weak);text-align:center;}.budget-v4-helper-link{min-height:24px;padding:0;border:0;color:var(--budget-accent);background:transparent;font:inherit;font-size:10px;font-weight:600;cursor:pointer;}.budget-v4-mismatch td{padding:7px 10px;color:var(--budget-ink);background:color-mix(in srgb,var(--budget-warning,#c58a18) 10%,var(--budget-surface));font-size:11px;}.budget-v4-mismatch td span{margin-right:10px;}.budget-v4-mismatch button{min-height:28px;margin-right:6px;border:0;color:var(--budget-accent);background:transparent;font:inherit;font-size:11px;font-weight:600;cursor:pointer;}.budget-v4-detail{top:72px;z-index:1300;max-height:calc(100vh - 88px);padding:18px;}.budget-v4-detail-grid label{position:relative;}.budget-v4-label-title{display:flex;align-items:center;gap:4px;}.budget-v4-detail-grid label > small{color:var(--budget-weak);font-size:10px;font-weight:400;}.budget-v4-help{width:18px;height:18px;display:inline-grid;place-items:center;margin-left:3px;border:1px solid var(--budget-line-strong);border-radius:50%;color:var(--budget-muted);background:transparent;font:inherit;font-size:10px;cursor:help;}.budget-v4-detail-more{margin:8px 0 16px;padding:0 12px;border:1px solid var(--budget-line);border-radius:10px;}.budget-v4-detail-more summary{min-height:42px;display:flex;align-items:center;color:var(--budget-accent);cursor:pointer;font-size:12px;font-weight:600;}.budget-v4-detail footer > div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;}.budget-v4-secondary{min-height:40px;padding:0 12px;border:1px solid var(--budget-line-strong);border-radius:9px;color:var(--budget-accent);background:var(--budget-field);font:inherit;font-size:11px;font-weight:600;cursor:pointer;}.budget-v4-picker,.budget-v4-modal{position:fixed;z-index:1300;inset:0;display:grid;place-items:center;padding:18px;}.budget-v4-picker-backdrop,.budget-v4-modal-backdrop{position:absolute;inset:0;width:100%;border:0;background:rgb(14 24 31 / 48%);cursor:default;}.budget-v4-picker-panel,.budget-v4-modal > section{position:relative;width:min(760px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;padding:18px;border:1px solid var(--budget-line);border-radius:18px 18px 18px 6px;color:var(--budget-ink);background:var(--budget-surface);box-shadow:0 24px 68px var(--budget-shadow);}.budget-v4-picker-panel{width:min(520px,100%);}.budget-v4-picker-panel > header,.budget-v4-modal > section > header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;}.budget-v4-picker-panel header p,.budget-v4-picker-panel header small,.budget-v4-modal header :is(p,h2){margin:0;}.budget-v4-picker-panel header p{font-weight:600;}.budget-v4-picker-panel header small{color:var(--budget-muted);font-size:11px;}.budget-v4-picker-panel header button,.budget-v4-modal header > button{min-height:36px;border:0;color:var(--budget-accent);background:transparent;font:inherit;font-size:12px;font-weight:600;cursor:pointer;}.budget-v4-picker-search{display:grid;gap:5px;color:var(--budget-muted);font-size:11px;font-weight:600;}.budget-v4-picker-custom{width:100%;min-height:40px;margin-top:8px;border:1px dashed var(--budget-accent);border-radius:9px;color:var(--budget-accent);background:var(--budget-accent-soft);font:inherit;font-size:12px;cursor:pointer;}.budget-v4-picker-groups{display:grid;gap:14px;margin-top:14px;}.budget-v4-picker-groups section h3{margin:0 0 7px;color:var(--budget-muted);font-size:11px;}.budget-v4-picker-groups section > div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}.budget-v4-picker-option{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:7px;padding:7px 10px;border:1px solid var(--budget-line);border-radius:9px;color:var(--budget-ink);background:var(--budget-field);text-align:left;font:inherit;font-size:12px;cursor:pointer;}.budget-v4-picker-option.is-selected{color:var(--budget-accent);border-color:var(--budget-accent);background:var(--budget-accent-soft);font-weight:600;}.budget-v4-picker-panel > footer,.budget-v4-modal > section > footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--budget-line);}.budget-v4-picker-panel > footer button,.budget-v4-modal > section > footer button{min-height:40px;padding:0 14px;border:1px solid var(--budget-line-strong);border-radius:9px;color:var(--budget-ink);background:var(--budget-field);font:inherit;font-size:12px;font-weight:600;cursor:pointer;}.budget-v4-modal h2{margin-top:3px !important;font-size:20px;}.budget-v4-tier-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}.budget-v4-tier-cards button{min-height:126px;display:grid;align-content:start;gap:6px;padding:12px;border:1px solid var(--budget-line);border-radius:12px;color:var(--budget-ink);background:var(--budget-field);text-align:left;font:inherit;cursor:pointer;}.budget-v4-tier-cards button.is-selected{border-color:var(--budget-success);box-shadow:inset 0 0 0 1px var(--budget-success);background:var(--budget-success-soft);}.budget-v4-tier-cards span,.budget-v4-tier-cards small{color:var(--budget-muted);font-size:11px;line-height:1.45;}.budget-v4-template-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin:12px 0;border:1px solid var(--budget-line);background:var(--budget-line);}.budget-v4-template-stats > *{padding:9px;color:var(--budget-muted);background:var(--budget-surface);font-size:11px;}.budget-v4-template-stats strong{color:var(--budget-ink);}.budget-v4-modal details{border:1px solid var(--budget-line);border-radius:10px;}.budget-v4-modal details summary{min-height:42px;display:flex;align-items:center;padding:0 11px;color:var(--budget-accent);font-size:12px;font-weight:600;cursor:pointer;}.budget-v4-template-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;max-height:300px;overflow:auto;border-top:1px solid var(--budget-line);background:var(--budget-line);}.budget-v4-template-items label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:9px;background:var(--budget-surface);}.budget-v4-template-items label span{display:grid;gap:3px;}.budget-v4-template-items small,.budget-v4-template-note,.budget-v4-modal > section > p{color:var(--budget-muted);font-size:11px;line-height:1.55;}.budget-v4-quantity-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}.budget-v4-quantity-fields label{display:grid;gap:5px;color:var(--budget-muted);font-size:11px;font-weight:600;}.budget-v4-quantity-result{margin-top:12px;}.budget-v4-quantity-result em{grid-column:1 / -1;color:var(--budget-warning);font-size:11px;font-style:normal;font-weight:600;}.budget-v4-quantity-result ul{grid-column:1 / -1;margin:0;padding-left:20px;}.budget-v4-overwrite{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--budget-warning);font-size:11px;font-weight:600;}.budget-v4-overwrite input{width:18px;min-height:18px;}.budget-v4-analysis{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);padding:14px;border-radius:14px;}.budget-v4-analysis > header,.budget-v4-analysis > .ledger-domain-donut,.budget-v4-analysis > .budget-v4-issues,.budget-v4-analysis > .budget-v4-analysis-details{grid-column:1 / -1;}.budget-v4-analysis > header h2{max-width:920px;font-size:16px;line-height:1.55;}.budget-v4-execution-chart,.budget-v4-composition,.budget-v4-issues{padding:14px;border:1px solid var(--budget-line);border-radius:12px;background:var(--budget-surface);}.budget-v4-execution-chart > div:first-child,.budget-v4-composition > header,.budget-v4-issues > header{display:flex;justify-content:space-between;align-items:center;gap:10px;}.budget-v4-execution-chart span,.budget-v4-composition header span,.budget-v4-issues header span{color:var(--budget-muted);font-size:11px;}.budget-v4-progress{display:grid;gap:8px;margin:12px 0;}.budget-v4-progress > span{position:relative;height:28px;overflow:hidden;border-radius:6px;background:var(--budget-row-hover);}.budget-v4-progress > span::before{content:'';position:absolute;inset:0 auto 0 0;width:var(--value);background:var(--budget-accent);}.budget-v4-progress > span.is-actual::before{background:var(--budget-success);}.budget-v4-progress b{position:relative;z-index:1;display:flex;align-items:center;height:100%;padding-inline:9px;font-size:11px;}.budget-v4-execution-chart footer{display:flex;justify-content:space-between;color:var(--budget-muted);font-size:11px;}.budget-v4-composition select{width:min(260px,100%);}.budget-v4-bars{display:grid;gap:8px;margin-top:12px;}.budget-v4-bars > div{display:grid;grid-template-columns:130px minmax(0,1fr) 100px;align-items:center;gap:9px;font-size:11px;}.budget-v4-bars i{height:10px;overflow:hidden;border-radius:999px;background:var(--budget-row-hover);}.budget-v4-bars i b{display:block;height:100%;border-radius:inherit;background:var(--budget-accent);}.budget-v4-bars > div > strong{text-align:right;font-variant-numeric:tabular-nums;}.budget-v4-issues ol{display:grid;gap:1px;margin:10px 0 0;padding:0;list-style:none;border-top:1px solid var(--budget-line);}.budget-v4-issues li{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--budget-line);font-size:12px;}.budget-v4-issues li b{margin-right:3px;color:var(--budget-warning);}.budget-v4-issues button{min-height:34px;border:0;color:var(--budget-accent);background:transparent;font:inherit;font-size:11px;font-weight:600;cursor:pointer;}.budget-v4-analysis-details{border:1px solid var(--budget-line);border-radius:10px;}.budget-v4-analysis-details > summary{min-height:42px;display:flex;align-items:center;padding:0 12px;color:var(--budget-accent);font-size:12px;font-weight:600;cursor:pointer;}.budget-v4-analysis-details > div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-top:1px solid var(--budget-line);}@keyframes barGrow{0%{transform:scaleX(0);}100%{transform:scaleX(1);}}@keyframes shimmerSweep{0%{transform:translateX(-100%);}100%{transform:translateX(200%);}}.bar-anim{transform-origin:left;animation:barGrow 0.85s cubic-bezier(0.16,1,0.3,1) forwards 0.2s;}.shimmer-layer{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,0.45) 50%,transparent 100%);animation:shimmerSweep 2.2s infinite ease-in-out;pointer-events:none;}.tap-bounce{transition:transform 0.15s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.15s ease;}.tap-bounce:active{transform:scale(0.96);}.budget-v4-mobile-hero{display:none;}@media (max-width:768px){body:has(#budget-v3-root :is(.budget-v4-picker,.budget-v4-modal,.budget-v4-detail)) .mobile-bottom-nav{visibility:hidden;pointer-events:none;}.budget-v4-shell{gap:6px !important;padding:0 10px 84px !important;max-width:100% !important;}.budget-v4-hero{padding:10px 12px 6px !important;border-radius:0 0 16px 16px !important;background:var(--budget-surface,#FFFFFF) !important;box-shadow:0 2px 8px rgba(36,48,59,0.04) !important;margin:-8px -10px 6px !important;}.budget-v4-hero .budget-v4-topbar{min-height:auto !important;display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;padding:0 0 6px !important;gap:8px !important;border-bottom:0 !important;}.budget-v4-topbar > .budget-v4-heading{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:flex-start !important;flex:1 1 auto !important;min-width:0 !important;margin:0 !important;gap:6px !important;}.budget-v4-heading h2,.budget-v4-heading > span{display:none !important;}.budget-v4-project-switch{display:inline-flex !important;align-items:center !important;gap:4px !important;padding:5px 12px !important;min-height:32px !important;border-radius:99px !important;background:var(--budget-canvas,#F6F4ED) !important;border:1px solid var(--budget-line,#EFECE4) !important;color:var(--budget-ink,#191C1E) !important;font-size:12px !important;font-weight:700 !important;max-width:100% !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;cursor:pointer !important;}.budget-v4-topbar > .budget-v4-actions{display:flex !important;align-items:center !important;justify-content:flex-end !important;flex:0 0 auto !important;width:auto !important;gap:8px !important;margin:0 !important;}.budget-v4-topbar label.budget-v4-total-budget{display:none !important;}.budget-v4-actions > button{flex:0 0 auto !important;min-height:30px !important;height:30px !important;padding:0 12px !important;border-radius:99px !important;border:1px solid var(--budget-line,#EFECE4) !important;background:var(--budget-surface,#FFFFFF) !important;color:var(--budget-ink,#191C1E) !important;font-size:11.5px !important;font-weight:650 !important;white-space:nowrap !important;cursor:pointer !important;box-shadow:0 1px 3px rgba(0,0,0,0.03) !important;}.budget-v4-hero .budget-v4-tabs{min-height:34px !important;height:34px !important;display:flex !important;background:rgba(0,0,0,0.05) !important;padding:3px !important;border-radius:99px !important;gap:3px !important;}.budget-v4-hero .budget-v4-tabs button{flex:1 !important;min-height:28px !important;height:28px !important;border-radius:99px !important;font-size:12px !important;font-weight:600 !important;border:0 !important;background:transparent !important;color:#71717A !important;cursor:pointer !important;transition:all 0.15s ease !important;}.budget-v4-hero .budget-v4-tabs button[aria-current="true"]{background:#FFD026 !important;color:#191C1E !important;font-weight:800 !important;box-shadow:0 2px 8px rgba(255,208,38,0.35) !important;}.budget-v4-overview{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important;margin:0 0 8px !important;}.budget-v4-overview > div{min-height:64px !important;padding:10px 12px !important;border-radius:16px !important;border:1px solid rgba(0,0,0,0.05) !important;background:#FFFFFF !important;box-shadow:0 2px 10px rgba(31,36,33,0.03) !important;display:flex !important;flex-direction:column !important;justify-content:space-between !important;transition:all 0.15s ease !important;}.budget-v4-overview > div.is-total{background:#FFFFFF !important;border-color:rgba(0,0,0,0.05) !important;box-shadow:0 2px 10px rgba(31,36,33,0.03) !important;}.budget-v4-overview > div.is-total::after{display:none !important;}.budget-v4-overview > div.is-total :is(span,strong,small){color:#191C1E !important;}.budget-v4-overview span{font-size:11px !important;color:#71717A !important;font-weight:600 !important;display:flex !important;align-items:center !important;justify-content:space-between !important;line-height:1.2 !important;margin:0 !important;}.budget-v4-overview-badge{font-size:9.5px !important;font-weight:700 !important;padding:1.5px 6px !important;border-radius:99px !important;font-style:normal !important;background:#ECFDF5 !important;color:#059669 !important;border:1px solid rgba(5,150,105,0.12) !important;white-space:nowrap !important;}.budget-v4-overview-badge.is-planned-badge{background:#FEF3C7 !important;color:#D97706 !important;border-color:rgba(217,119,6,0.15) !important;}.budget-v4-overview-badge.is-actual-badge{background:#ECFDF5 !important;color:#059669 !important;border-color:rgba(5,150,105,0.15) !important;}.budget-v4-overview-badge.is-remaining-badge{background:#ECFDF5 !important;color:#059669 !important;border-color:rgba(5,150,105,0.15) !important;}.budget-v4-overview strong{font-size:16.5px !important;font-weight:800 !important;line-height:1.2 !important;font-family:"Plus Jakarta Sans",Bahnschrift,-apple-system,sans-serif !important;font-variant-numeric:tabular-nums !important;color:#191C1E !important;margin:4px 0 2px !important;letter-spacing:-0.02em !important;}.budget-v4-overview .is-planned strong{color:#235F87 !important;}.budget-v4-overview .is-actual strong{color:#191C1E !important;}.budget-v4-overview > div:last-child strong{color:#167D46 !important;}.budget-v4-overview > div:last-child.is-danger strong{color:#DC2626 !important;}.budget-v4-overview small{font-size:10px !important;color:#9CA3AF !important;font-weight:500 !important;line-height:1.2 !important;margin:0 !important;display:block !important;}.budget-v4-overview .ledger-analysis-progress{height:3px !important;border-radius:99px !important;background:#F3F4F6 !important;margin:3px 0 !important;overflow:hidden !important;width:100% !important;}.budget-v4-overview .ledger-analysis-progress i{display:block !important;height:100% !important;width:var(--spent-progress,0%) !important;background:#10B981 !important;border-radius:99px !important;}.budget-v4-toolbar{display:none !important;}.budget-v4-table-wrap{display:none !important;}.ledger-quick-entry-dock{display:none !important;}.budget-v4-shell[data-v4-tab-current="budget"] .budget-v4-overview{display:none !important;}.budget-v4-shell[data-v4-tab-current="budget"] .budget-v4-mobile-hero{display:block !important;}.budget-v4-mobile-hero{position:relative !important;overflow:hidden !important;border-radius:20px !important;background:rgba(255,255,255,0.82) !important;backdrop-filter:blur(14px) !important;border:1px solid rgba(255,255,255,0.9) !important;padding:16px 18px 18px !important;box-shadow:0 8px 30px rgba(31,36,33,0.05) !important;margin:2px 0 6px !important;transition:all 0.3s cubic-bezier(0.16,1,0.3,1) !important;}.budget-v4-mobile-hero.is-collapsed{padding-bottom:12px !important;}.budget-v4-hero-glow-1{position:absolute !important;right:-36px !important;top:-36px !important;width:170px !important;height:170px !important;border-radius:999px !important;background:radial-gradient(circle,rgba(255,224,135,0.28) 0%,transparent 70%) !important;pointer-events:none !important;filter:blur(24px) !important;}.budget-v4-hero-glow-2{position:absolute !important;left:-40px !important;bottom:-40px !important;width:140px !important;height:140px !important;border-radius:999px !important;background:radial-gradient(circle,rgba(255,208,38,0.16) 0%,transparent 70%) !important;pointer-events:none !important;filter:blur(20px) !important;}.budget-v4-hero-header{display:flex !important;align-items:center !important;justify-content:space-between !important;position:relative !important;z-index:2 !important;}.budget-v4-hero-budget-tag{display:flex !important;align-items:center !important;gap:6px !important;}.budget-v4-hero-label{font-size:12px !important;color:#71717A !important;font-weight:500 !important;}.budget-v4-hero-total-pill{display:inline-flex !important;align-items:center !important;gap:3px !important;background:rgba(255,255,255,0.92) !important;backdrop-filter:blur(4px) !important;padding:2.5px 8px !important;border-radius:99px !important;border:1px solid rgba(0,0,0,0.08) !important;box-shadow:0 1px 3px rgba(0,0,0,0.03) !important;cursor:pointer !important;}.budget-v4-hero-total-pill span{font-size:11px !important;font-weight:750 !important;color:#71717A !important;}.budget-v4-hero-total-pill input{width:76px !important;border:0 !important;background:transparent !important;font-size:12.5px !important;font-weight:800 !important;color:#191C1E !important;font-family:"Plus Jakarta Sans",Bahnschrift,-apple-system,sans-serif !important;padding:0 !important;outline:none !important;}.budget-v4-icon-edit{font-size:11px !important;opacity:0.6 !important;}.budget-v4-hero-header-actions{display:flex !important;align-items:center !important;gap:6px !important;}.budget-v4-hero-badge{display:inline-flex !important;align-items:center !important;gap:3px !important;padding:2px 7.5px !important;border-radius:99px !important;font-size:11px !important;font-weight:650 !important;border:1px solid rgba(0,0,0,0.06) !important;background:rgba(255,255,255,0.8) !important;}.budget-v4-hero-badge.is-good{color:#059669 !important;border-color:rgba(5,150,105,0.15) !important;background:#ECFDF5 !important;}.budget-v4-hero-badge.is-warning{color:#D97706 !important;border-color:rgba(217,119,6,0.2) !important;background:#FEF3C7 !important;}.budget-v4-hero-badge.is-danger{color:#DC2626 !important;border-color:rgba(220,38,38,0.2) !important;background:#FEE2E2 !important;}.budget-v4-hero-toggle-btn{display:inline-flex !important;align-items:center !important;gap:2px !important;padding:2px 8px !important;border-radius:99px !important;background:rgba(255,255,255,0.9) !important;border:1px solid rgba(0,0,0,0.08) !important;color:#71717A !important;font-size:11px !important;font-weight:600 !important;cursor:pointer !important;box-shadow:0 1px 2px rgba(0,0,0,0.02) !important;}.budget-v4-toggle-arrow{font-size:9px !important;display:inline-block !important;transition:transform 0.25s ease !important;}.budget-v4-toggle-arrow.is-collapsed{transform:rotate(180deg) !important;}.budget-v4-hero-collapsed-row{display:none !important;position:relative !important;z-index:2 !important;align-items:center !important;justify-content:space-between !important;padding-top:10px !important;margin-top:8px !important;border-top:1px solid rgba(0,0,0,0.05) !important;font-size:12px !important;}.budget-v4-hero-collapsed-row.is-visible{display:flex !important;}.budget-v4-collapsed-left{display:flex !important;align-items:baseline !important;gap:6px !important;}.budget-v4-collapsed-label{color:#71717A !important;font-size:12px !important;}.budget-v4-collapsed-val{font-size:16px !important;font-weight:800 !important;font-family:"Plus Jakarta Sans",Bahnschrift,-apple-system,sans-serif !important;color:#191C1E !important;}.budget-v4-collapsed-pct{font-size:10px !important;font-weight:650 !important;color:#059669 !important;background:#ECFDF5 !important;padding:1px 5px !important;border-radius:4px !important;}.budget-v4-collapsed-right{display:flex !important;align-items:center !important;gap:6px !important;font-size:11px !important;color:#71717A !important;font-weight:500 !important;}.budget-v4-collapsed-sep{color:rgba(0,0,0,0.15) !important;}.budget-v4-hero-body{position:relative !important;z-index:2 !important;transition:all 0.3s ease !important;}.budget-v4-hero-body.is-hidden{display:none !important;}.budget-v4-hero-balance-wrap{margin-top:10px !important;}.budget-v4-hero-balance-row{display:flex !important;align-items:baseline !important;gap:2px !important;}.budget-v4-hero-currency{font-size:18px !important;font-weight:750 !important;color:#71717A !important;margin-right:2px !important;}.budget-v4-hero-balance-num{font-size:29px !important;font-weight:850 !important;letter-spacing:-0.03em !important;font-family:"Plus Jakarta Sans",Bahnschrift,-apple-system,sans-serif !important;color:#191C1E !important;line-height:1.1 !important;}.budget-v4-hero-balance-dec{font-size:14px !important;font-weight:600 !important;color:#71717A !important;}.budget-v4-hero-subline{display:flex !important;align-items:center !important;gap:5px !important;font-size:11.5px !important;color:#71717A !important;margin-top:2px !important;font-weight:500 !important;}.budget-v4-hero-dot{color:rgba(0,0,0,0.2) !important;}.budget-v4-hero-status{font-weight:700 !important;}.budget-v4-hero-status.is-good{color:#059669 !important;}.budget-v4-hero-status.is-warning{color:#D97706 !important;}.budget-v4-hero-status.is-danger{color:#DC2626 !important;}.budget-v4-hero-progress-block{margin-top:12px !important;}.budget-v4-hero-progress-track{position:relative !important;height:9px !important;width:100% !important;background:#E5E7EB !important;border-radius:99px !important;overflow:hidden !important;display:flex !important;gap:2px !important;padding:1.5px !important;border:1px solid rgba(0,0,0,0.04) !important;}.budget-v4-hero-prog-paid{height:100% !important;background:#191C1E !important;border-radius:99px !important;position:relative !important;overflow:hidden !important;min-width:2px !important;}.budget-v4-hero-prog-committed{height:100% !important;background:#FFD026 !important;border-radius:99px !important;position:relative !important;overflow:hidden !important;min-width:2px !important;}.budget-v4-hero-prog-unallocated{height:100% !important;background:#FFFFFF !important;border-radius:99px !important;flex:1 !important;}.budget-v4-hero-progress-legend{display:flex !important;align-items:center !important;justify-content:space-between !important;font-size:10.5px !important;color:#71717A !important;margin-top:5px !important;font-weight:600 !important;}.budget-v4-legend-item{display:inline-flex !important;align-items:center !important;gap:4px !important;}.budget-v4-legend-dot{display:inline-block !important;width:6px !important;height:6px !important;border-radius:50% !important;}.budget-v4-legend-dot.dot-paid{background:#191C1E !important;}.budget-v4-legend-dot.dot-committed{background:#FFD026 !important;}.budget-v4-legend-dot.dot-unallocated{background:#D1D5DB !important;}.budget-v4-hero-indices{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important;margin-top:12px !important;padding-top:10px !important;border-top:1px solid rgba(0,0,0,0.05) !important;}.budget-v4-hero-index-col{display:flex !important;flex-direction:column !important;}.budget-v4-hero-index-col.col-mid{border-inline:1px solid rgba(0,0,0,0.06) !important;padding-inline:6px !important;}.budget-v4-index-label{font-size:10.5px !important;color:#71717A !important;font-weight:500 !important;}.budget-v4-index-val{font-size:15px !important;font-weight:800 !important;font-family:"Plus Jakarta Sans",Bahnschrift,-apple-system,sans-serif !important;color:#191C1E !important;margin-top:1px !important;}.budget-v4-index-sub{font-size:9.5px !important;color:#71717A !important;margin-top:1px !important;font-weight:500 !important;}.budget-v4-index-sub.is-accent{color:#B45309 !important;}.budget-v4-index-sub.is-danger{color:#DC2626 !important;}.budget-v4-mobile-view{display:flex !important;flex-direction:column !important;gap:8px !important;padding-bottom:24px !important;min-width:0 !important;}.budget-v4-mobile-sticky-bar{position:sticky !important;top:0 !important;z-index:20 !important;background:rgba(250,249,244,0.94) !important;backdrop-filter:blur(12px) !important;padding:6px 0 6px !important;display:flex !important;flex-direction:column !important;gap:8px !important;}.budget-v4-mobile-tools{display:flex !important;align-items:center !important;gap:8px !important;}.budget-v4-mobile-search-box{flex:1 !important;position:relative !important;display:flex !important;align-items:center !important;background:#FFFFFF !important;border:1px solid rgba(0,0,0,0.06) !important;border-radius:12px !important;padding:0 12px !important;height:40px !important;box-shadow:0 1px 3px rgba(31,36,33,0.03) !important;}.budget-v4-mobile-search-box svg{width:14px !important;height:14px !important;color:#71717A !important;margin-right:6px !important;flex-shrink:0 !important;}.budget-v4-mobile-search-box input{flex:1 !important;border:0 !important;background:transparent !important;font-size:13px !important;color:#191C1E !important;padding:0 !important;outline:none !important;min-width:0 !important;}.budget-v4-search-clear{border:0 !important;background:rgba(0,0,0,0.08) !important;color:#71717A !important;border-radius:50% !important;width:18px !important;height:18px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;font-size:10px !important;cursor:pointer !important;padding:0 !important;}.budget-v4-mobile-scan-icon{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:24px !important;height:24px !important;border:0 !important;background:transparent !important;color:#71717A !important;cursor:pointer !important;padding:0 !important;margin-left:4px !important;flex-shrink:0 !important;}.budget-v4-mobile-scan-icon svg{width:16px !important;height:16px !important;margin:0 !important;}.budget-v4-mobile-add-btn{min-height:40px !important;height:40px !important;padding:0 16px !important;border:0 !important;border-radius:99px !important;background:#191C1E !important;color:#FFFFFF !important;font-size:12.5px !important;font-weight:750 !important;white-space:nowrap !important;cursor:pointer !important;box-shadow:0 2px 8px rgba(25,28,30,0.15) !important;}.budget-v4-mobile-chips-wrapper{position:relative !important;display:flex !important;align-items:center !important;}.budget-v4-mobile-chips-bar{flex:1 !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch !important;scrollbar-width:none !important;padding:2px 42px 2px 0 !important;}.budget-v4-mobile-tune-mask{position:absolute !important;right:0 !important;top:0 !important;bottom:0 !important;display:flex !important;align-items:center !important;padding-left:14px !important;background:linear-gradient(90deg,transparent 0%,rgba(250,249,244,0.94) 40%,rgba(250,249,244,1) 100%) !important;}.budget-v4-mobile-tune-btn{width:30px !important;height:30px !important;border-radius:50% !important;display:flex !important;align-items:center !important;justify-content:center !important;background:#FFFFFF !important;border:1px solid rgba(0,0,0,0.08) !important;color:#191C1E !important;box-shadow:0 1px 3px rgba(0,0,0,0.05) !important;cursor:pointer !important;padding:0 !important;}.budget-v4-mobile-audit-bar{display:flex !important;align-items:center !important;gap:6px !important;font-size:11px !important;}.budget-v4-mobile-audit-badge{display:inline-flex !important;align-items:center !important;gap:3px !important;padding:2px 8px !important;border-radius:99px !important;background:rgba(255,255,255,0.85) !important;border:1px solid rgba(0,0,0,0.06) !important;color:#191C1E !important;font-size:11px !important;font-weight:600 !important;cursor:pointer !important;box-shadow:0 1px 2px rgba(0,0,0,0.02) !important;}.budget-v4-mobile-audit-badge.is-active{background:#191C1E !important;color:#FFFFFF !important;border-color:#191C1E !important;}.budget-v4-mobile-total-count{margin-left:auto !important;font-size:11px !important;color:#71717A !important;font-weight:500 !important;}.budget-v4-mobile-chips-bar::-webkit-scrollbar{display:none !important;}.budget-v4-mobile-chips-track{display:inline-flex !important;align-items:center !important;gap:8px !important;white-space:nowrap !important;}.budget-v4-mobile-chip{display:inline-flex !important;align-items:center !important;gap:4px !important;height:30px !important;padding:0 12px !important;border-radius:99px !important;border:1px solid rgba(0,0,0,0.06) !important;background:#FFFFFF !important;color:#52525B !important;font-size:12px !important;font-weight:600 !important;cursor:pointer !important;box-shadow:0 1px 2px rgba(31,36,33,0.02) !important;transition:all 0.15s ease !important;}.budget-v4-mobile-chip small{font-size:10px !important;background:rgba(0,0,0,0.05) !important;color:#71717A !important;padding:1px 6px !important;border-radius:99px !important;font-weight:700 !important;margin-left:2px !important;font-family:Bahnschrift,DIN Alternate,Segoe UI,sans-serif !important;}.budget-v4-mobile-chip.is-active{background:#FFD026 !important;border-color:#FFD026 !important;color:#191C1E !important;font-weight:800 !important;box-shadow:0 2px 8px rgba(255,208,38,0.35) !important;}.budget-v4-mobile-chip.is-active small{background:rgba(0,0,0,0.12) !important;color:#191C1E !important;}.budget-v4-mobile-chips-divider{color:rgba(0,0,0,0.15) !important;font-size:12px !important;margin:0 2px !important;}.budget-v4-mobile-issue-chip{border-color:rgba(225,29,72,0.15) !important;background:#FFF1F2 !important;color:#E11D48 !important;font-weight:650 !important;}.budget-v4-mobile-issue-chip[data-v4-mobile-issue="missing-actual"]{border-color:rgba(217,119,6,0.2) !important;background:#FEF3C7 !important;color:#B45309 !important;}.budget-v4-mobile-issue-chip.is-active{background:#E11D48 !important;border-color:#E11D48 !important;color:#FFFFFF !important;}.budget-v4-mobile-issue-chip[data-v4-mobile-issue="missing-actual"].is-active{background:#D97706 !important;border-color:#D97706 !important;color:#FFFFFF !important;}.budget-v4-chip-close{font-size:9px !important;margin-left:2px !important;font-style:normal !important;}.budget-v4-mobile-list{display:flex !important;flex-direction:column !important;gap:10px !important;min-width:0 !important;padding-bottom:120px !important;}.ledger-mobile-category{display:flex !important;flex-direction:column !important;gap:6px !important;min-width:0 !important;}.budget-v4-mobile-group-header{display:flex !important;align-items:center !important;justify-content:space-between !important;padding:8px 4px 2px !important;font-size:12.5px !important;}.budget-v4-mobile-group-title{display:flex !important;align-items:center !important;gap:6px !important;}.budget-v4-mobile-group-pill{display:inline-block !important;width:3.5px !important;height:14px !important;border-radius:99px !important;background:#FFD026 !important;margin-right:2px !important;}.budget-v4-mobile-group-header strong{font-size:13.5px !important;font-weight:750 !important;color:#191C1E !important;}.budget-v4-mobile-group-count{font-size:11px !important;color:#71717A !important;background:rgba(0,0,0,0.04) !important;padding:1px 7px !important;border-radius:99px !important;font-weight:600 !important;margin-left:4px !important;}.budget-v4-mobile-group-amounts{font-size:11.5px !important;color:#71717A !important;font-weight:500 !important;display:flex !important;gap:6px !important;}.budget-v4-mobile-group-planned strong{color:#191C1E !important;}.budget-v4-mobile-group-actual .is-actual-green{color:#059669 !important;font-weight:750 !important;}.budget-v4-mobile-card{min-width:0 !important;padding:12px 14px !important;border:1px solid rgba(0,0,0,0.05) !important;border-radius:16px !important;background:#FFFFFF !important;box-shadow:0 2px 10px rgba(31,36,33,0.03) !important;overflow:hidden !important;display:flex !important;flex-direction:column !important;gap:8px !important;scroll-margin-bottom:96px !important;transition:all 0.15s ease !important;}.budget-v4-mobile-card:active{background:#FAFAF7 !important;transform:scale(0.995) !important;}.budget-v4-mobile-card.is-overspent{border-color:rgba(220,38,38,0.25) !important;}.budget-v4-mobile-card-main{display:flex !important;flex-direction:column !important;gap:4px !important;cursor:pointer !important;-webkit-tap-highlight-color:transparent !important;}.budget-v4-mobile-card-top{display:flex !important;align-items:flex-start !important;justify-content:space-between !important;gap:10px !important;}.budget-v4-mobile-avatar{width:36px !important;height:36px !important;border-radius:11px !important;background:var(--budget-canvas,#F8F7F2) !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:17px !important;flex-shrink:0 !important;margin-top:1px !important;}.budget-v4-mobile-title-col{flex:1 1 auto !important;min-width:0 !important;display:flex !important;flex-direction:column !important;gap:4px !important;}.budget-v4-mobile-title-wrap{display:flex !important;align-items:center !important;gap:4px !important;min-width:0 !important;}.budget-v4-mobile-item-name{font-size:14.5px !important;font-weight:750 !important;color:#191C1E !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;line-height:1.3 !important;}.budget-v4-mobile-drag-handle{border:0 !important;background:transparent !important;color:#C4C0B6 !important;font-size:12px !important;padding:0 2px !important;cursor:grab !important;display:inline-flex !important;align-items:center !important;line-height:1 !important;flex-shrink:0 !important;}.budget-v4-mobile-meta-tags{display:flex !important;align-items:center !important;gap:4px !important;flex-wrap:nowrap !important;overflow:hidden !important;}.budget-v4-mobile-avatar svg{width:20px !important;height:20px !important;color:#191C1E !important;}.budget-v4-mobile-tag,.budget-v4-mobile-meta-tags .budget-v4-picker-trigger{display:inline-flex !important;align-items:center !important;min-height:20px !important;height:20px !important;padding:0 6px !important;border-radius:5px !important;border:0 !important;background:#F4F3ED !important;color:#52525B !important;font-size:11px !important;font-weight:600 !important;white-space:nowrap !important;flex-shrink:0 !important;}.budget-v4-mobile-meta-tags .budget-v4-picker-trigger[data-v4-picker-open="project"]{display:none !important;}.budget-v4-mobile-meta-tags .budget-v4-picker-trigger svg{display:none !important;}.budget-v4-mobile-price-col{display:flex !important;flex-direction:column !important;align-items:flex-end !important;gap:2px !important;text-align:right !important;flex-shrink:0 !important;}.budget-v4-mobile-price-val{display:flex !important;align-items:baseline !important;gap:2px !important;}.budget-v4-currency-sign{font-size:12px !important;font-weight:700 !important;color:#71717A !important;}.budget-v4-mobile-price-val strong{font-size:15.5px !important;font-weight:800 !important;font-family:"Plus Jakarta Sans",Bahnschrift,-apple-system,sans-serif !important;color:#191C1E !important;letter-spacing:-0.02em !important;}.budget-v4-mobile-pay-badge{font-size:10.5px !important;font-weight:700 !important;padding:2px 7px !important;border-radius:99px !important;white-space:nowrap !important;display:inline-flex !important;align-items:center !important;gap:3px !important;}.budget-v4-mobile-pay-badge.is-paid{background:#ECFDF5 !important;color:#059669 !important;border:1px solid rgba(5,150,105,0.15) !important;}.budget-v4-mobile-pay-badge.is-risk{background:#FEE2E2 !important;color:#DC2626 !important;border:1px solid rgba(220,38,38,0.15) !important;}.budget-v4-mobile-pay-badge.is-unpaid{background:#F3F4F6 !important;color:#6B7280 !important;border:1px solid rgba(107,114,128,0.12) !important;}.budget-v4-mobile-progress-track{height:2.5px !important;background:#F3F4F6 !important;border-radius:99px !important;margin:4px 0 2px !important;overflow:hidden !important;width:100% !important;}.budget-v4-mobile-progress-bar{height:100% !important;background:#10B981 !important;border-radius:99px !important;}.budget-v4-mobile-card-bottom{display:flex !important;align-items:center !important;justify-content:space-between !important;border-top:1px solid rgba(0,0,0,0.04) !important;padding-top:8px !important;gap:8px !important;}.budget-v4-mobile-card-summary{font-size:11px !important;color:#71717A !important;display:flex !important;align-items:center !important;gap:8px !important;min-width:0 !important;}.budget-v4-summary-paid{color:#191C1E !important;font-weight:600 !important;}.budget-v4-summary-diff.is-surplus{color:#059669 !important;font-weight:600 !important;}.budget-v4-summary-diff.is-risk{color:#DC2626 !important;font-weight:700 !important;}.budget-v4-mobile-mismatch-banner{flex:1 1 auto !important;display:flex !important;align-items:center !important;gap:6px !important;background:#FEF3C7 !important;border:1px solid rgba(217,119,6,0.2) !important;border-radius:8px !important;padding:4px 8px !important;font-size:11px !important;color:#92400E !important;min-width:0 !important;}.budget-v4-mismatch-text{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;flex:1 !important;font-weight:600 !important;}.budget-v4-mismatch-btn-adjust{border:0 !important;background:#FFD026 !important;color:#191C1E !important;font-size:10.5px !important;font-weight:800 !important;padding:2px 7px !important;border-radius:99px !important;cursor:pointer !important;white-space:nowrap !important;}.budget-v4-mismatch-btn-keep{border:1px solid rgba(146,64,14,0.25) !important;background:transparent !important;color:#92400E !important;font-size:10.5px !important;font-weight:600 !important;padding:2px 6px !important;border-radius:99px !important;cursor:pointer !important;white-space:nowrap !important;}.budget-v4-mobile-card-actions{display:flex !important;align-items:center !important;gap:6px !important;flex-shrink:0 !important;position:static !important;}.budget-v4-mobile-quick-btn{display:inline-flex !important;align-items:center !important;gap:3px !important;min-height:28px !important;height:28px !important;padding:0 9px !important;border-radius:99px !important;border:1px solid rgba(0,0,0,0.08) !important;background:#FFFFFF !important;color:#191C1E !important;font-size:11.5px !important;font-weight:750 !important;cursor:pointer !important;box-shadow:0 1px 2px rgba(31,36,33,0.03) !important;}.budget-v4-mobile-quick-btn svg{width:12px !important;height:12px !important;color:#FFD026 !important;stroke-width:3 !important;}.budget-v4-mobile-helper-btn{min-height:26px !important;height:26px !important;padding:0 8px !important;border-radius:6px !important;border:1px solid rgba(29,78,216,0.15) !important;background:#EFF6FF !important;color:#1D4ED8 !important;font-size:11px !important;font-weight:700 !important;cursor:pointer !important;}.budget-v4-mobile-detail-link{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:26px !important;height:26px !important;border:0 !important;background:transparent !important;color:#9CA3AF !important;cursor:pointer !important;padding:0 !important;}.budget-v4-mobile-detail-link svg{width:14px !important;height:14px !important;}.ledger-floating-add{display:none !important;}.budget-v4-mobile-empty{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;padding:40px 16px !important;text-align:center !important;gap:8px !important;background:#FFFFFF !important;border-radius:16px !important;border:1px dashed rgba(0,0,0,0.08) !important;margin:12px 0 !important;}.budget-v4-empty-icon{font-size:32px !important;line-height:1 !important;}.budget-v4-mobile-empty p{font-size:14px !important;font-weight:750 !important;color:#191C1E !important;margin:0 !important;}.budget-v4-mobile-empty small{font-size:11.5px !important;color:#71717A !important;margin:0 !important;}.budget-v4-empty-actions{display:flex !important;gap:8px !important;margin-top:6px !important;}.budget-v4-btn-reset-filters,.budget-v4-btn-empty-add,.budget-v4-btn-empty-tpl{min-height:36px !important;padding:0 14px !important;border-radius:99px !important;font-size:12px !important;font-weight:700 !important;cursor:pointer !important;}.budget-v4-btn-empty-add{border:0 !important;background:#FFD026 !important;color:#191C1E !important;}.budget-v4-btn-reset-filters,.budget-v4-btn-empty-tpl{border:1px solid rgba(0,0,0,0.08) !important;background:#FFFFFF !important;color:#191C1E !important;}.budget-v4-picker,.budget-v4-modal{align-items:end;padding:0;}.budget-v4-picker-panel,.budget-v4-modal > section{width:100%;max-height:88vh;padding:14px;border-radius:18px 18px 0 0;}.budget-v4-picker-groups section > div,.budget-v4-template-items,.budget-v4-tier-cards,.budget-v4-quantity-fields{grid-template-columns:1fr;}.budget-v4-template-stats{grid-template-columns:repeat(2,minmax(0,1fr));}.budget-v4-detail{inset:0;width:auto;max-height:none;border-radius:0;}.budget-v4-record-panel{grid-template-columns:1fr;}.budget-v4-transaction-list article{align-items:flex-start;flex-wrap:wrap;}.budget-v4-analysis{grid-template-columns:1fr;padding:10px;}.budget-v4-analysis > *{grid-column:auto;}.budget-v4-analysis > header h2{font-size:14px;}.budget-v4-composition > header{align-items:flex-start;flex-direction:column;}.budget-v4-composition select{width:100%;}.budget-v4-bars > div{grid-template-columns:88px minmax(0,1fr) 82px;}.budget-v4-analysis-details > div{grid-template-columns:1fr;}.budget-v4-analysis-table{max-width:100%;}.budget-v4-analysis-table table{min-width:430px;}.budget-v4-guidance{display:none;}body[data-theme="dark"] .budget-v4-hero{background:#1E262F !important;box-shadow:0 2px 8px rgba(0,0,0,0.25) !important;}body[data-theme="dark"] .budget-v4-hero .budget-v4-topbar{border-color:#283542 !important;}body[data-theme="dark"] .budget-v4-project-switch{background:#12171B !important;border-color:#283542 !important;color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-topbar label.budget-v4-total-budget{background:#12171B !important;border-color:#283542 !important;}body[data-theme="dark"] .budget-v4-total-budget > input{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-actions > button{background:#1E262F !important;border-color:#283542 !important;color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-hero .budget-v4-tabs{background:#12171B !important;}body[data-theme="dark"] .budget-v4-hero .budget-v4-tabs button{color:#B7C2CC !important;}body[data-theme="dark"] .budget-v4-hero .budget-v4-tabs button[aria-current="true"]{background:#FACC15 !important;color:#12171B !important;}body[data-theme="dark"] .budget-v4-overview > div,body[data-theme="dark"] .budget-v4-overview > div.is-total{background:#1E262F !important;border-color:#283542 !important;box-shadow:0 1px 3px rgba(0,0,0,0.2) !important;}body[data-theme="dark"] .budget-v4-overview > div :is(span,strong,small),body[data-theme="dark"] .budget-v4-overview > div.is-total :is(span,strong,small){color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-overview span{color:#96A5B2 !important;}body[data-theme="dark"] .budget-v4-overview .is-planned strong{color:#8DC9F0 !important;}body[data-theme="dark"] .budget-v4-overview > div:last-child strong{color:#6AD59A !important;}body[data-theme="dark"] .budget-v4-overview > div:last-child.is-danger strong{color:#FF9B89 !important;}body[data-theme="dark"] .budget-v4-mobile-sticky-bar{background:#12171B !important;}body[data-theme="dark"] .budget-v4-mobile-search-box{background:#1E262F !important;border-color:#283542 !important;}body[data-theme="dark"] .budget-v4-mobile-search-box input{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-add-btn{background:#FACC15 !important;color:#12171B !important;}body[data-theme="dark"] .budget-v4-mobile-chip{background:#1E262F !important;border-color:#283542 !important;color:#B7C2CC !important;}body[data-theme="dark"] .budget-v4-mobile-chip.is-active{background:#FACC15 !important;border-color:#FACC15 !important;color:#12171B !important;}body[data-theme="dark"] .budget-v4-mobile-group-header strong{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-card{background:#1E262F !important;border-color:#283542 !important;}body[data-theme="dark"] .budget-v4-mobile-card:active{background:#182027 !important;}body[data-theme="dark"] .budget-v4-mobile-item-name{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-tag,body[data-theme="dark"] .budget-v4-mobile-meta-tags .budget-v4-picker-trigger{background:#182027 !important;color:#96A5B2 !important;}body[data-theme="dark"] .budget-v4-mobile-avatar svg{color:#FFD026 !important;}body[data-theme="dark"] .budget-v4-mobile-amount-val{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-quick-record-btn{background:#182027 !important;border-color:#283542 !important;color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-quick-record-btn:active{background:#FACC15 !important;border-color:#FACC15 !important;color:#12171B !important;}body[data-theme="dark"] .budget-v4-mobile-empty{background:#1E262F !important;border-color:#283542 !important;}body[data-theme="dark"] .budget-v4-mobile-empty p{color:#F1F5F9 !important;}body[data-theme="dark"] .ledger-floating-add{background:#FACC15 !important;color:#12171B !important;}body[data-theme="dark"] .budget-v4-mobile-hero{background:#1E262F !important;border-color:#283542 !important;box-shadow:0 8px 30px rgba(0,0,0,0.25) !important;}body[data-theme="dark"] .budget-v4-hero-glow-1{background:radial-gradient(circle,rgba(250,204,21,0.15) 0%,transparent 70%) !important;}body[data-theme="dark"] .budget-v4-hero-glow-2{background:radial-gradient(circle,rgba(250,204,21,0.08) 0%,transparent 70%) !important;}body[data-theme="dark"] .budget-v4-hero-total-pill{background:#12171B !important;border-color:#283542 !important;}body[data-theme="dark"] .budget-v4-hero-total-pill input{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-hero-toggle-btn{background:#1E262F !important;border-color:#283542 !important;color:#96A5B2 !important;}body[data-theme="dark"] .budget-v4-hero-balance-num{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-hero-prog-paid{background:#FACC15 !important;}body[data-theme="dark"] .budget-v4-hero-prog-committed{background:#475569 !important;}body[data-theme="dark"] .budget-v4-hero-prog-unallocated{background:#182027 !important;}body[data-theme="dark"] .budget-v4-hero-progress-track{background:#12171B !important;border-color:#283542 !important;}body[data-theme="dark"] .budget-v4-index-val{color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-tune-mask{background:linear-gradient(90deg,transparent 0%,rgba(18,23,27,0.95) 40%,rgba(18,23,27,1) 100%) !important;}body[data-theme="dark"] .budget-v4-mobile-tune-btn{background:#1E262F !important;border-color:#283542 !important;color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-audit-badge{background:#1E262F !important;border-color:#283542 !important;color:#F1F5F9 !important;}body[data-theme="dark"] .budget-v4-mobile-audit-badge.is-active{background:#FACC15 !important;color:#12171B !important;border-color:#FACC15 !important;}body[data-theme="dark"] .budget-v4-mobile-avatar{background:#12171B !important;}body[data-theme="dark"] .budget-v4-mobile-quick-btn{background:#1E262F !important;border-color:#283542 !important;color:#F1F5F9 !important;}}@media (max-width:430px){.budget-v4-topbar h2{font-size:18px;}.budget-v4-ruler{width:28px;}.budget-v4-overview span{font-size:10px !important;}.budget-v4-overview strong{font-size:14px !important;}}@media (max-width:768px){body[data-current-page="budget"]{--ledger-mobile-paper:#F6F4ED;--ledger-mobile-surface:#FFFFFF;--ledger-mobile-subtle:#F9F8F4;--ledger-mobile-ink:#191C1E;--ledger-mobile-secondary:#62676D;--ledger-mobile-muted:#6F7479;--ledger-mobile-line:#EFECE4;--ledger-mobile-line-strong:#B8B5AD;--ledger-mobile-accent:#FFD026;--ledger-mobile-on-accent:#191C1E;--ledger-mobile-success:#167D46;--ledger-mobile-success-surface:#EAF7EF;--ledger-mobile-danger:#B83C2B;--ledger-mobile-danger-surface:#FFF0EB;--ledger-mobile-info:#235F87;background:var(--ledger-mobile-paper) !important;color:var(--ledger-mobile-ink) !important;}body[data-current-page="budget"] .main-content,body[data-current-page="budget"] .page-content{background:var(--ledger-mobile-paper) !important;}body[data-current-page="budget"] .page-header{display:none !important;}body[data-current-page="budget"] .page-content{min-height:100dvh;padding:0 12px calc(110px + env(safe-area-inset-bottom)) !important;overflow-x:clip;}body[data-current-page="budget"] #budget-v3-root{min-width:0;width:100%;}body[data-current-page="budget"] .budget-v4-shell{min-width:0;width:100%;gap:12px !important;padding:0 0 28px !important;color:var(--ledger-mobile-ink) !important;font-family:var(--xy-font-ui) !important;}body[data-current-page="budget"] .budget-v4-hero{margin:0 -12px !important;padding:max(10px,env(safe-area-inset-top)) 16px 10px !important;border:0 !important;border-bottom:1px solid var(--ledger-mobile-line) !important;border-radius:0 !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}body[data-current-page="budget"] .budget-v4-hero-glow-1,body[data-current-page="budget"] .budget-v4-hero-glow-2,body[data-current-page="budget"] .shimmer-layer{display:none !important;}body[data-current-page="budget"] .budget-v4-hero .budget-v4-topbar{display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;align-items:start !important;gap:12px !important;min-height:0 !important;padding:0 0 10px !important;}body[data-current-page="budget"] .budget-v4-topbar > .budget-v4-heading{display:grid !important;align-content:start !important;justify-items:start !important;gap:5px !important;min-width:0 !important;margin:0 !important;}body[data-current-page="budget"] .budget-v4-heading h2{display:block !important;margin:0 !important;color:var(--ledger-mobile-ink) !important;font-family:var(--xy-font-display) !important;font-size:23px !important;font-weight:800 !important;line-height:1.12 !important;letter-spacing:0 !important;}body[data-current-page="budget"] .budget-v4-heading > span{display:block !important;max-width:260px;margin:0 !important;color:var(--ledger-mobile-muted) !important;font-size:12px !important;line-height:1.4 !important;}body[data-current-page="budget"] .budget-v4-project-switch{max-width:100%;min-height:30px !important;gap:6px !important;padding:0 !important;overflow:hidden;border:0 !important;border-radius:0 !important;color:var(--ledger-mobile-info) !important;background:transparent !important;box-shadow:none !important;font-size:11px !important;font-weight:700 !important;line-height:16px !important;text-align:left;}body[data-current-page="budget"] .budget-v4-project-switch > span:not(.budget-v4-pulse-dot){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}body[data-current-page="budget"] .budget-v4-pulse-dot{width:7px !important;height:7px !important;flex:0 0 7px;margin:0 !important;border-radius:50%;background:var(--ledger-mobile-accent) !important;}body[data-current-page="budget"] .budget-v4-topbar > .budget-v4-actions{align-items:start !important;gap:6px !important;width:auto !important;margin:0 !important;}body[data-current-page="budget"] .budget-v4-topbar label.budget-v4-total-budget{display:none !important;}body[data-current-page="budget"] .budget-v4-actions > button{min-height:40px !important;height:40px !important;padding:0 12px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:12px !important;color:var(--ledger-mobile-ink) !important;background:var(--ledger-mobile-subtle) !important;box-shadow:none !important;font-size:11px !important;font-weight:750 !important;}body[data-current-page="budget"] .budget-v4-hero .budget-v4-tabs{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:4px !important;height:44px !important;min-height:44px !important;margin:0 !important;padding:4px !important;border:1px solid var(--ledger-mobile-line) !important;border-radius:14px !important;background:var(--ledger-mobile-subtle) !important;}body[data-current-page="budget"] .budget-v4-hero .budget-v4-tabs button{min-width:0 !important;min-height:34px !important;height:34px !important;padding:0 8px !important;border:0 !important;border-radius:10px !important;color:var(--ledger-mobile-secondary) !important;background:transparent !important;box-shadow:none !important;font-size:12px !important;font-weight:650 !important;}body[data-current-page="budget"] .budget-v4-hero .budget-v4-tabs button[aria-current="true"]{color:var(--ledger-mobile-on-accent) !important;background:var(--ledger-mobile-accent) !important;box-shadow:none !important;font-weight:800 !important;}body[data-current-page="budget"] .budget-v4-shell[data-v4-tab-current="budget"] .budget-v4-overview{display:none !important;}body[data-current-page="budget"] .budget-v4-mobile-hero{margin:0 !important;padding:16px !important;overflow:hidden !important;border:1px solid var(--ledger-mobile-line) !important;border-top:3px solid var(--ledger-mobile-accent) !important;border-radius:18px !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}body[data-current-page="budget"] .budget-v4-mobile-hero.is-collapsed{padding-bottom:14px !important;}body[data-current-page="budget"] .budget-v4-hero-header{align-items:flex-start !important;gap:10px !important;}body[data-current-page="budget"] .budget-v4-hero-budget-tag{align-items:center !important;gap:8px !important;min-width:0;}body[data-current-page="budget"] .budget-v4-hero-label,body[data-current-page="budget"] .budget-v4-index-label,body[data-current-page="budget"] .budget-v4-collapsed-label{color:var(--ledger-mobile-secondary) !important;font-size:12px !important;font-weight:600 !important;}body[data-current-page="budget"] .budget-v4-hero-total-pill{min-height:34px !important;gap:3px !important;padding:0 9px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:10px !important;background:var(--ledger-mobile-subtle) !important;box-shadow:none !important;}body[data-current-page="budget"] .budget-v4-hero-total-pill span,body[data-current-page="budget"] .budget-v4-hero-total-pill input{color:var(--ledger-mobile-ink) !important;font-family:var(--xy-font-data) !important;font-size:13px !important;font-weight:750 !important;}body[data-current-page="budget"] .budget-v4-hero-total-pill input{width:74px !important;}body[data-current-page="budget"] .budget-v4-icon-edit,body[data-current-page="budget"] .budget-v4-inline-icon{display:inline-flex !important;width:14px !important;height:14px !important;flex:0 0 14px;}body[data-current-page="budget"] .budget-v4-icon-edit{color:var(--ledger-mobile-secondary) !important;}body[data-current-page="budget"] .budget-v4-hero-header-actions{align-items:center !important;gap:6px !important;}body[data-current-page="budget"] .budget-v4-hero-badge{min-height:28px !important;gap:4px !important;padding:0 8px !important;border:1px solid var(--ledger-mobile-success) !important;border-radius:999px !important;color:var(--ledger-mobile-success) !important;background:var(--ledger-mobile-success-surface) !important;font-size:11px !important;font-weight:750 !important;}body[data-current-page="budget"] .budget-v4-hero-badge.is-warning{border-color:var(--ledger-mobile-accent) !important;color:var(--ledger-mobile-ink) !important;background:#FFF7D1 !important;}body[data-current-page="budget"] .budget-v4-hero-badge.is-danger{border-color:var(--ledger-mobile-danger) !important;color:var(--ledger-mobile-danger) !important;background:var(--ledger-mobile-danger-surface) !important;}body[data-current-page="budget"] .budget-v4-hero-toggle-btn{min-width:44px !important;min-height:34px !important;gap:3px !important;padding:0 7px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:10px !important;color:var(--ledger-mobile-secondary) !important;background:transparent !important;box-shadow:none !important;font-size:10px !important;}body[data-current-page="budget"] .budget-v4-toggle-arrow{display:inline-flex !important;width:13px !important;height:13px !important;transition:transform 160ms ease !important;}body[data-current-page="budget"] .budget-v4-toggle-icon{width:13px !important;height:13px !important;}body[data-current-page="budget"] .budget-v4-toggle-arrow.is-collapsed{transform:rotate(180deg) !important;}body[data-current-page="budget"] .budget-v4-hero-balance-wrap{margin-top:14px !important;}body[data-current-page="budget"] .budget-v4-hero-balance-num,body[data-current-page="budget"] .budget-v4-index-val,body[data-current-page="budget"] .budget-v4-collapsed-val,body[data-current-page="budget"] .budget-v4-mobile-price-val strong{font-family:var(--xy-font-data) !important;font-variant-numeric:tabular-nums;letter-spacing:0 !important;}body[data-current-page="budget"] .budget-v4-hero-balance-num{color:var(--ledger-mobile-ink) !important;font-size:34px !important;font-weight:800 !important;}body[data-current-page="budget"] .budget-v4-hero-currency,body[data-current-page="budget"] .budget-v4-hero-balance-dec{color:var(--ledger-mobile-secondary) !important;}body[data-current-page="budget"] .budget-v4-hero-subline,body[data-current-page="budget"] .budget-v4-hero-progress-legend,body[data-current-page="budget"] .budget-v4-index-sub,body[data-current-page="budget"] .budget-v4-collapsed-right{color:var(--ledger-mobile-muted) !important;font-size:11px !important;}body[data-current-page="budget"] .budget-v4-hero-status.is-good,body[data-current-page="budget"] .budget-v4-index-sub.is-accent{color:var(--ledger-mobile-success) !important;}body[data-current-page="budget"] .budget-v4-hero-status.is-warning,body[data-current-page="budget"] .budget-v4-index-sub.is-danger{color:var(--ledger-mobile-ink) !important;}body[data-current-page="budget"] .budget-v4-hero-status.is-danger{color:var(--ledger-mobile-danger) !important;}body[data-current-page="budget"] .budget-v4-hero-progress-block{margin-top:16px !important;}body[data-current-page="budget"] .budget-v4-hero-progress-track{height:9px !important;gap:2px !important;padding:0 !important;border:1px solid var(--ledger-mobile-line) !important;border-radius:99px !important;background:var(--ledger-mobile-subtle) !important;}body[data-current-page="budget"] .budget-v4-hero-prog-paid{min-width:2px;background:var(--ledger-mobile-ink) !important;}body[data-current-page="budget"] .budget-v4-hero-prog-committed{min-width:2px;background:var(--ledger-mobile-accent) !important;}body[data-current-page="budget"] .budget-v4-hero-prog-unallocated{background:var(--ledger-mobile-line) !important;}body[data-current-page="budget"] .budget-v4-hero-indices{gap:0 !important;margin-top:16px !important;padding-top:14px !important;border-top:1px solid var(--ledger-mobile-line) !important;}body[data-current-page="budget"] .budget-v4-hero-index-col{gap:3px !important;padding:0 9px !important;}body[data-current-page="budget"] .budget-v4-hero-index-col:first-child{padding-left:0 !important;}body[data-current-page="budget"] .budget-v4-hero-index-col:last-child{padding-right:0 !important;}body[data-current-page="budget"] .budget-v4-hero-index-col.col-mid{border-inline:1px solid var(--ledger-mobile-line) !important;}body[data-current-page="budget"] .budget-v4-index-val{color:var(--ledger-mobile-ink) !important;font-size:16px !important;font-weight:800 !important;}body[data-current-page="budget"] .budget-v4-mobile-view{display:flex !important;min-width:0;gap:10px !important;padding-bottom:0 !important;}body[data-current-page="budget"] .budget-v4-mobile-sticky-bar{position:sticky !important;top:0 !important;z-index:20 !important;gap:8px !important;padding:10px 0 6px !important;border-bottom:1px solid var(--ledger-mobile-line) !important;background:var(--ledger-mobile-paper) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}body[data-current-page="budget"] .budget-v4-mobile-tools{gap:8px !important;}body[data-current-page="budget"] .budget-v4-mobile-search-box{min-width:0;height:44px !important;padding:0 12px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:12px !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;}body[data-current-page="budget"] .budget-v4-mobile-search-box input{min-width:0;color:var(--ledger-mobile-ink) !important;font-family:var(--xy-font-ui) !important;font-size:13px !important;}body[data-current-page="budget"] .budget-v4-mobile-search-box input::placeholder{color:var(--ledger-mobile-muted) !important;}body[data-current-page="budget"] .budget-v4-mobile-add-btn{min-width:84px !important;min-height:44px !important;height:44px !important;padding:0 13px !important;border:1px solid var(--ledger-mobile-accent) !important;border-radius:12px !important;color:var(--ledger-mobile-on-accent) !important;background:var(--ledger-mobile-accent) !important;box-shadow:none !important;font-size:12px !important;font-weight:800 !important;}body[data-current-page="budget"] .budget-v4-mobile-chips-bar{padding:2px 0 !important;}body[data-current-page="budget"] .budget-v4-mobile-chips-track{gap:6px !important;}body[data-current-page="budget"] .budget-v4-mobile-chip{min-height:34px !important;height:34px !important;padding:0 11px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:10px !important;color:var(--ledger-mobile-secondary) !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;font-size:11px !important;font-weight:650 !important;}body[data-current-page="budget"] .budget-v4-mobile-chip.is-active{border-color:var(--ledger-mobile-accent) !important;color:var(--ledger-mobile-on-accent) !important;background:var(--ledger-mobile-accent) !important;box-shadow:none !important;font-weight:800 !important;}body[data-current-page="budget"] .budget-v4-mobile-chip small{padding:1px 5px !important;color:inherit !important;background:rgb(25 28 30 / 8%) !important;font-family:var(--xy-font-data) !important;}body[data-current-page="budget"] .budget-v4-mobile-chip.is-active small{background:rgb(25 28 30 / 12%) !important;}body[data-current-page="budget"] .budget-v4-mobile-tune-mask{padding-left:10px !important;background:linear-gradient(90deg,transparent,var(--ledger-mobile-paper) 45%,var(--ledger-mobile-paper)) !important;}body[data-current-page="budget"] .budget-v4-mobile-tune-btn{width:34px !important;height:34px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:10px !important;color:var(--ledger-mobile-ink) !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;}body[data-current-page="budget"] .budget-v4-mobile-audit-bar{min-height:30px;gap:6px !important;color:var(--ledger-mobile-secondary) !important;}body[data-current-page="budget"] .budget-v4-mobile-audit-badge{min-height:30px !important;gap:4px !important;padding:0 8px !important;border:1px solid var(--ledger-mobile-line) !important;border-radius:9px !important;color:var(--ledger-mobile-secondary) !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;font-size:10px !important;}body[data-current-page="budget"] .budget-v4-mobile-audit-badge.is-active{border-color:var(--ledger-mobile-ink) !important;color:var(--ledger-mobile-surface) !important;background:var(--ledger-mobile-ink) !important;}body[data-current-page="budget"] .budget-v4-mobile-total-count{color:var(--ledger-mobile-muted) !important;font-family:var(--xy-font-data) !important;font-size:11px !important;}body[data-current-page="budget"] .budget-v4-mobile-list{display:flex !important;gap:16px !important;min-width:0;padding:4px 0 16px !important;}body[data-current-page="budget"] .ledger-mobile-category{gap:8px !important;}body[data-current-page="budget"] .budget-v4-mobile-group-header{min-height:34px;padding:0 2px !important;}body[data-current-page="budget"] .budget-v4-mobile-group-title{gap:7px !important;}body[data-current-page="budget"] .budget-v4-mobile-group-pill{width:4px !important;height:18px !important;margin:0 !important;border-radius:2px !important;background:var(--ledger-mobile-accent) !important;}body[data-current-page="budget"] .budget-v4-mobile-group-header strong{color:var(--ledger-mobile-ink) !important;font-family:var(--xy-font-display) !important;font-size:15px !important;font-weight:800 !important;}body[data-current-page="budget"] .budget-v4-mobile-group-count,body[data-current-page="budget"] .budget-v4-mobile-group-amounts{color:var(--ledger-mobile-muted) !important;font-family:var(--xy-font-data) !important;font-size:10px !important;}body[data-current-page="budget"] .budget-v4-mobile-group-count{padding:2px 6px !important;border-radius:6px !important;background:var(--ledger-mobile-subtle) !important;}body[data-current-page="budget"] .budget-v4-mobile-group-planned strong{color:var(--ledger-mobile-ink) !important;}body[data-current-page="budget"] .budget-v4-mobile-group-actual .is-actual-green{color:var(--ledger-mobile-success) !important;}body[data-current-page="budget"] .budget-v4-mobile-group-list{display:grid;gap:8px;}body[data-current-page="budget"] .budget-v4-mobile-card{gap:10px !important;padding:14px !important;border:1px solid var(--ledger-mobile-line) !important;border-radius:16px !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;}body[data-current-page="budget"] .budget-v4-mobile-card:active{background:var(--ledger-mobile-subtle) !important;transform:translateY(1px);}body[data-current-page="budget"] .budget-v4-mobile-avatar{width:38px !important;height:38px !important;border:1px solid var(--ledger-mobile-line) !important;border-radius:10px !important;background:var(--ledger-mobile-subtle) !important;}body[data-current-page="budget"] .budget-v4-mobile-avatar svg{color:var(--ledger-mobile-info) !important;}body[data-current-page="budget"] .budget-v4-mobile-item-name{color:var(--ledger-mobile-ink) !important;font-family:var(--xy-font-ui) !important;font-size:14px !important;font-weight:750 !important;}body[data-current-page="budget"] .budget-v4-mobile-meta-tags{gap:5px !important;}body[data-current-page="budget"] .budget-v4-mobile-tag,body[data-current-page="budget"] .budget-v4-mobile-meta-tags .budget-v4-picker-trigger{min-height:24px !important;height:24px !important;padding:0 7px !important;border:1px solid var(--ledger-mobile-line) !important;border-radius:7px !important;color:var(--ledger-mobile-secondary) !important;background:var(--ledger-mobile-subtle) !important;font-size:10px !important;font-weight:650 !important;}body[data-current-page="budget"] .budget-v4-mobile-price-col{gap:5px !important;}body[data-current-page="budget"] .budget-v4-currency-sign{color:var(--ledger-mobile-secondary) !important;font-family:var(--xy-font-data) !important;}body[data-current-page="budget"] .budget-v4-mobile-price-val strong{color:var(--ledger-mobile-ink) !important;font-size:17px !important;font-weight:800 !important;}body[data-current-page="budget"] .budget-v4-mobile-pay-badge{min-height:24px !important;padding:0 7px !important;border-radius:7px !important;font-size:10px !important;font-weight:700 !important;}body[data-current-page="budget"] .budget-v4-mobile-pay-badge.is-paid{border:1px solid var(--ledger-mobile-success) !important;color:var(--ledger-mobile-success) !important;background:var(--ledger-mobile-success-surface) !important;}body[data-current-page="budget"] .budget-v4-mobile-pay-badge.is-risk{border:1px solid var(--ledger-mobile-danger) !important;color:var(--ledger-mobile-danger) !important;background:var(--ledger-mobile-danger-surface) !important;}body[data-current-page="budget"] .budget-v4-mobile-pay-badge.is-unpaid,body[data-current-page="budget"] .budget-v4-mobile-pay-badge.is-partial{border:1px solid var(--ledger-mobile-line-strong) !important;color:var(--ledger-mobile-secondary) !important;background:var(--ledger-mobile-subtle) !important;}body[data-current-page="budget"] .budget-v4-mobile-progress-track{height:5px !important;margin:2px 0 0 !important;border:0 !important;border-radius:99px !important;background:var(--ledger-mobile-subtle) !important;}body[data-current-page="budget"] .budget-v4-mobile-progress-bar{background:var(--ledger-mobile-success) !important;}body[data-current-page="budget"] .budget-v4-mobile-card-bottom{gap:8px !important;padding-top:10px !important;border-top:1px solid var(--ledger-mobile-line) !important;}body[data-current-page="budget"] .budget-v4-mobile-card-summary,body[data-current-page="budget"] .budget-v4-card-tip-text{min-width:0;color:var(--ledger-mobile-muted) !important;font-size:11px !important;line-height:1.4 !important;}body[data-current-page="budget"] .budget-v4-card-tip-icon{display:none !important;}body[data-current-page="budget"] .budget-v4-mobile-quick-btn{min-height:36px !important;height:36px !important;padding:0 10px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:10px !important;color:var(--ledger-mobile-info) !important;background:var(--ledger-mobile-surface) !important;box-shadow:none !important;font-size:11px !important;font-weight:750 !important;}body[data-current-page="budget"] .budget-v4-mobile-quick-btn svg{color:var(--ledger-mobile-accent) !important;}body[data-current-page="budget"] .budget-v4-mobile-helper-btn{min-height:34px !important;height:34px !important;border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:9px !important;color:var(--ledger-mobile-info) !important;background:var(--ledger-mobile-subtle) !important;font-size:10px !important;}body[data-current-page="budget"] .budget-v4-mobile-detail-link{width:36px !important;height:36px !important;border:1px solid var(--ledger-mobile-line) !important;border-radius:10px !important;color:var(--ledger-mobile-secondary) !important;background:var(--ledger-mobile-subtle) !important;}body[data-current-page="budget"] .budget-v4-mobile-mismatch-banner{border:1px solid var(--ledger-mobile-accent) !important;border-radius:9px !important;color:var(--ledger-mobile-ink) !important;background:#FFF7D1 !important;}body[data-current-page="budget"] .budget-v4-mobile-empty{padding:34px 16px !important;border:1px dashed var(--ledger-mobile-line-strong) !important;border-radius:16px !important;background:var(--ledger-mobile-surface) !important;}body[data-current-page="budget"] .budget-v4-empty-icon-svg{width:30px !important;height:30px !important;color:var(--ledger-mobile-secondary) !important;}body[data-current-page="budget"] .budget-v4-mobile-empty p{color:var(--ledger-mobile-ink) !important;font-family:var(--xy-font-display) !important;font-size:15px !important;}body[data-current-page="budget"] .budget-v4-btn-empty-add{border:1px solid var(--ledger-mobile-accent) !important;border-radius:10px !important;color:var(--ledger-mobile-on-accent) !important;background:var(--ledger-mobile-accent) !important;}body[data-current-page="budget"] .budget-v4-btn-reset-filters,body[data-current-page="budget"] .budget-v4-btn-empty-tpl{border:1px solid var(--ledger-mobile-line-strong) !important;border-radius:10px !important;color:var(--ledger-mobile-ink) !important;background:var(--ledger-mobile-surface) !important;}body[data-current-page="budget"] .mobile-bottom-nav{min-height:68px !important;padding:6px 8px calc(6px + env(safe-area-inset-bottom)) !important;border-top:1px solid var(--ledger-mobile-line) !important;background:var(--ledger-mobile-surface) !important;box-shadow:0 -12px 32px rgb(35 49 58 / 6%) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}body[data-current-page="budget"] .mobile-nav-item{min-height:52px !important;gap:3px !important;border:0 !important;border-radius:14px !important;color:var(--ledger-mobile-secondary) !important;background:transparent !important;}body[data-current-page="budget"] .mobile-nav-item.active{color:var(--ledger-mobile-on-accent) !important;background:var(--ledger-mobile-accent) !important;}body[data-current-page="budget"] .mobile-nav-item svg{width:20px !important;height:20px !important;}body[data-current-page="budget"] .mobile-nav-item small{font-size:11px !important;font-weight:650 !important;}}@media (max-width:390px){body[data-current-page="budget"] .budget-v4-heading h2{font-size:21px !important;}body[data-current-page="budget"] .budget-v4-heading > span{max-width:230px;font-size:11px !important;}body[data-current-page="budget"] .budget-v4-hero-badge{padding-inline:6px !important;}body[data-current-page="budget"] .budget-v4-hero-toggle-btn{min-width:40px !important;padding-inline:5px !important;}body[data-current-page="budget"] .budget-v4-mobile-add-btn{min-width:78px !important;padding-inline:10px !important;}}@media (max-width:768px) and (prefers-reduced-motion:reduce){body[data-current-page="budget"] .budget-v4-mobile-card,body[data-current-page="budget"] .budget-v4-toggle-arrow,body[data-current-page="budget"] .bar-anim,body[data-current-page="budget"] .tap-bounce{transition:none !important;animation:none !important;}}@media (max-width:768px){body[data-theme="dark"][data-current-page="budget"]{--ledger-mobile-paper:#12171B;--ledger-mobile-surface:#1E262F;--ledger-mobile-subtle:#182027;--ledger-mobile-ink:#F1F5F9;--ledger-mobile-secondary:#B7C2CC;--ledger-mobile-muted:#96A5B2;--ledger-mobile-line:#283542;--ledger-mobile-line-strong:#61717E;--ledger-mobile-accent:#FACC15;--ledger-mobile-on-accent:#12171B;--ledger-mobile-success:#6AD59A;--ledger-mobile-success-surface:#15372B;--ledger-mobile-danger:#FF9B89;--ledger-mobile-danger-surface:#3B2421;--ledger-mobile-info:#8DC9F0;}body[data-theme="dark"][data-current-page="budget"] .budget-v4-mobile-tune-mask{background:linear-gradient(90deg,transparent,var(--ledger-mobile-paper) 45%,var(--ledger-mobile-paper)) !important;}body[data-theme="dark"][data-current-page="budget"] .budget-v4-hero-badge.is-warning,body[data-theme="dark"][data-current-page="budget"] .budget-v4-mobile-mismatch-banner{color:var(--ledger-mobile-ink) !important;background:#3A3218 !important;}}#local-project-dialog{--local-project-yellow:#f5c527;--local-project-yellow-hover:#e5b518;--local-project-navy:#23537f;--local-project-navy-hover:#1b4267;--local-project-sand:#f7f6f0;--local-project-border:#e8e5dd;--local-project-ink:#1f242b;--local-project-muted:#6c727f;width:min(620px,calc(100vw - 32px));max-height:92vh;margin:auto;padding:0;overflow:hidden;border:1px solid var(--local-project-border);border-radius:30px;color:var(--local-project-ink);background:#faf9f5;box-shadow:0 25px 60px -15px rgb(22 28 45 / 28%),0 0 0 1px rgb(230 227 219 / 80%);}#local-project-dialog[open]{animation:local-project-pop-in .38s cubic-bezier(.16,1,.3,1) both;}#local-project-dialog::backdrop{background:rgb(22 28 38 / 48%);backdrop-filter:blur(6px);animation:local-project-backdrop-in .2s ease-out both;}#local-project-dialog .local-project-form{display:flex;flex-direction:column;max-height:92vh;}#local-project-dialog button,#local-project-dialog input{font:inherit;}#local-project-dialog button{cursor:pointer;}#local-project-dialog button:focus-visible,#local-project-dialog input:focus-visible{outline:3px solid rgb(35 83 127 / 28%);outline-offset:2px;}.local-project-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:26px 32px 20px;border-bottom:1px solid #ede9df;background:rgb(247 245 236 / 75%);}.local-project-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;}.local-project-header h2{margin:0;color:#1d2329;font-size:22px;font-weight:800;letter-spacing:-.02em;}.local-project-header p{margin:8px 0 0;color:var(--local-project-muted);font-size:12px;line-height:1.65;}.local-project-storage-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid #f3df9d;border-radius:999px;color:#966400;background:#fff3c8;font-size:11px;font-weight:700;}.local-project-storage-badge i{width:6px;height:6px;border-radius:50%;background:#d47b00;}.local-project-close-icon{display:grid;width:44px;min-width:44px;height:44px;place-items:center;padding:0;border:1px solid #dfe3e9;border-radius:16px;color:#6c727f;background:#fff;transition:transform .2s ease,color .2s ease,background .2s ease;}.local-project-close-icon:hover{color:var(--local-project-ink);background:#fffefb;transform:scale(1.05);}.local-project-close-icon:active{transform:scale(.95);}.local-project-close-icon svg,.local-project-notice svg,.local-project-switch svg,.local-project-create svg,.local-project-input-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;}.local-project-body{display:grid;gap:24px;overflow:auto;padding:24px 32px 28px;scrollbar-color:#e2dfd5 transparent;}.local-project-notice{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #f2e5ba;border-radius:16px;color:#7c6322;background:#fff9e8;font-size:13px;line-height:1.7;}.local-project-notice svg{flex:none;margin-top:2px;color:#c2941e;}.local-project-notice p{margin:0;}.local-project-notice strong{color:#56420d;}.local-project-existing{display:grid;gap:10px;}.local-project-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;}.local-project-section-heading h3{margin:0;color:var(--local-project-muted);font-size:12px;font-weight:800;letter-spacing:.04em;}.local-project-section-heading h3 small{color:#989eaa;font-size:11px;font-weight:500;letter-spacing:0;}.local-project-refresh{min-width:44px;min-height:32px;padding:5px 0;border:0;color:var(--local-project-navy);background:transparent;font-size:12px;font-weight:700;}.local-project-refresh:hover{text-decoration:underline;}.local-project-status{min-height:0;margin:0;color:var(--local-project-navy);font-size:11px;line-height:1.2;}.local-project-status:empty{display:none;}.local-project-cards{display:grid;gap:10px;}.local-project-card{display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;width:100%;min-height:82px;gap:13px;padding:12px 14px;overflow:hidden;border:1px solid #e5e1d5;border-radius:16px;color:var(--local-project-ink);background:rgb(255 255 255 / 72%);text-align:left;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease;}.local-project-card:hover{border-color:#cfc8b8;background:#fff;box-shadow:0 10px 25px -5px rgb(0 0 0 / 5%),0 8px 10px -6px rgb(0 0 0 / 3%);transform:translateY(-1px);}.local-project-card.is-selected{border:2px solid var(--local-project-yellow);padding:11px 13px;background:#fff;}.local-project-avatar{display:grid;width:40px;height:40px;place-items:center;border:1px solid #ead28b;border-radius:12px;color:#9a5b08;background:#fff9e8;font-size:15px;font-weight:800;}.local-project-card:not(.is-selected) .local-project-avatar{border-color:#e0dcce;color:#4b5563;background:#f0efeb;}.local-project-card-copy{min-width:0;}.local-project-card-title{display:flex;align-items:center;gap:8px;color:#1e242c;font-size:15px;font-weight:800;}.local-project-card-title em{padding:3px 7px;border-radius:999px;color:#422e00;background:var(--local-project-yellow);font-size:10px;font-style:normal;font-weight:800;white-space:nowrap;}.local-project-card small{display:block;margin-top:4px;overflow:hidden;color:var(--local-project-muted);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap;}.local-project-card-mark{display:grid;width:22px;height:22px;place-items:center;border:1px solid #cdd3db;border-radius:50%;color:#1f242b;}.local-project-card.is-selected .local-project-card-mark{border-color:var(--local-project-yellow);background:var(--local-project-yellow);}.local-project-card-mark svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5;}.local-project-native-select{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}.local-project-switch,.local-project-create{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;gap:9px;width:100%;padding:10px 16px;overflow:hidden;border:0;border-radius:14px;font-size:14px;font-weight:800;transition:transform .18s ease,background .18s ease,opacity .18s ease;}.local-project-switch{color:#242a33;background:#ebe8de;}.local-project-switch:not(:disabled):hover{background:#e2ddcf;}.local-project-switch:not(:disabled):active,.local-project-create:not(:disabled):active{transform:scale(.99);}.local-project-switch:disabled{cursor:default;opacity:.78;}.local-project-divider{position:relative;display:flex;align-items:center;justify-content:center;height:18px;border-top:1px solid #e5e1d5;}.local-project-divider span{position:absolute;padding:0 16px;color:#9aa0aa;background:#faf9f5;font-size:12px;font-weight:800;}.local-project-create-panel{display:grid;gap:16px;padding:20px;border:1px solid #e7e3d8;border-radius:22px;background:rgb(255 255 255 / 90%);box-shadow:0 10px 25px -18px rgb(0 0 0 / 18%);}.local-project-attribution{display:grid;gap:8px;}.local-project-attribution > label,.local-project-name-field label{color:#323944;font-size:12px;font-weight:800;}.local-project-readonly{position:relative;}.local-project-readonly input,.local-project-name-field input{box-sizing:border-box;width:100%;min-height:46px;border:1px solid #dcd6c8;border-radius:12px;color:#333c48;background:#fff;font-size:14px;transition:border-color .18s ease,box-shadow .18s ease;}.local-project-readonly input{padding:10px 104px 10px 13px;background:#f5f3eb;font-weight:700;}.local-project-readonly span{position:absolute;top:50%;right:13px;color:#98a0ad;font-size:11px;font-weight:600;transform:translateY(-50%);}.local-project-confirm{display:flex;align-items:flex-start;gap:9px;color:#525a66;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer;}.local-project-confirm input{width:16px;height:16px;margin:1px 0 0;accent-color:var(--local-project-navy);}.local-project-name-field{position:relative;display:grid;gap:8px;}.local-project-name-field > div{display:flex;align-items:center;justify-content:space-between;gap:12px;}.local-project-name-field b{color:#c53b2c;}#local-project-name-count{color:#9aa1ad;font-size:11px;}.local-project-name-field input{padding:10px 14px 10px 42px;}.local-project-name-field input:focus{border-color:var(--local-project-navy);box-shadow:0 0 0 3px rgb(35 83 127 / 12%);outline:0;}.local-project-name-field input.is-invalid{border-color:#ba3f30;box-shadow:0 0 0 3px rgb(186 63 48 / 14%);}.local-project-input-icon{position:absolute;bottom:14px;left:14px;color:#a2a9b2;}.local-project-input-icon svg{width:17px;height:17px;}.local-project-quick-names{display:grid;gap:7px;}.local-project-quick-names > span{color:#9aa1ad;font-size:11px;font-weight:600;}.local-project-quick-names > div{display:flex;flex-wrap:wrap;gap:7px;}.local-project-quick-names button{min-height:32px;padding:5px 9px;border:0;border-radius:8px;color:#4a515e;background:#f5f3ec;font-size:11px;transition:background .18s ease;}.local-project-quick-names button:hover{background:#ebe7dc;}.local-project-create{color:#fff;background:var(--local-project-navy);box-shadow:0 8px 16px -10px rgb(35 83 127 / 70%);}.local-project-create:not(:disabled):hover{background:var(--local-project-navy-hover);}.local-project-create:disabled{cursor:wait;opacity:.78;}.local-project-spinner{width:18px;height:18px;fill:none;stroke:currentColor;stroke-dasharray:36;stroke-linecap:round;stroke-width:3;animation:local-project-spin .8s linear infinite;}.local-project-error{min-height:18px;margin:0;color:#a12d20;font-size:12px;line-height:1.5;}.local-project-error:empty{display:none;}.local-project-storage-note{margin:0;padding:12px 14px;border:1px solid #e3dec3;border-radius:14px;color:#5a6370;background:#f3f0e6;font-size:12px;line-height:1.6;}.local-project-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 32px;border-top:1px solid #e8e4d8;color:#9aa1ad;background:#f5f2e8;font-size:12px;}.local-project-footer kbd{padding:2px 6px;border:1px solid #d2d5da;border-radius:5px;color:#5e6670;background:#fff;box-shadow:0 1px 1px rgb(0 0 0 / 5%);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;}.local-project-footer button,.local-project-failure button{min-width:100px;min-height:40px;padding:8px 18px;border:1px solid #d5cfbf;border-radius:12px;color:#4d5560;background:#fff;font-weight:700;}.local-project-footer button:hover,.local-project-failure button:hover{background:#fafafa;}.local-project-failure{display:grid;gap:12px;padding:28px;color:var(--local-project-ink);}.local-project-failure h2,.local-project-failure p{margin:0;}.local-project-failure [role="alert"]{color:#a12d20;}@keyframes local-project-pop-in{0%{opacity:0;transform:scale(.94) translateY(12px);}70%{opacity:1;transform:scale(1.008) translateY(-2px);}100%{opacity:1;transform:scale(1) translateY(0);}}@keyframes local-project-backdrop-in{from{opacity:0;}to{opacity:1;}}@keyframes local-project-spin{to{transform:rotate(360deg);}}@media (max-width:600px){#local-project-dialog{width:calc(100vw - 20px);max-height:94vh;border-radius:22px;}.local-project-form{max-height:94vh!important;}.local-project-header{padding:20px 18px 16px;}.local-project-header h2{font-size:20px;}.local-project-body{gap:20px;padding:18px;}.local-project-footer{padding:12px 18px;}.local-project-footer span{display:none;}.local-project-footer button{width:100%;}.local-project-card{min-height:76px;}.local-project-card small{white-space:normal;}#local-project-open{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}}@media (prefers-reduced-motion:reduce){#local-project-dialog[open],#local-project-dialog::backdrop,.local-project-spinner{animation:none;}.local-project-card,.local-project-close-icon,.local-project-switch,.local-project-create{transition:none;}}#budget-v3-root [data-v4-category-description]{display:block;margin-top:4px;font-size:12px;font-weight:400;line-height:1.5;}.ledger-category-rail{position:sticky;z-index:12;top:0;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--budget-line,#cbd3d8);border-radius:12px;background:color-mix(in srgb,var(--budget-surface,#fffefb) 95%,transparent);box-shadow:0 7px 18px color-mix(in srgb,var(--budget-shadow,#1727312e) 36%,transparent);backdrop-filter:blur(14px);}.ledger-category-rail > span{color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;white-space:nowrap;}.ledger-category-rail > div{min-width:0;display:flex;gap:5px;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:thin;}.ledger-category-rail button{--ledger-category-accent:var(--budget-accent,#2c5f87);min-height:34px;display:flex;align-items:center;gap:6px;flex:0 0 auto;padding:0 10px;border:1px solid color-mix(in srgb,var(--ledger-category-accent) 35%,var(--budget-line,#cbd3d8));border-radius:7px 7px 3px 3px;color:var(--budget-ink,#172731);background:color-mix(in srgb,var(--ledger-category-accent) 7%,var(--budget-field,#fff));font:inherit;font-size:11px;cursor:pointer;}.ledger-category-rail button::before{content:'';width:7px;height:7px;flex:0 0 auto;border-radius:2px;background:var(--ledger-category-accent);}.ledger-category-rail button small{min-width:18px;padding:2px 5px;border-radius:999px;color:var(--budget-muted,#52616b);background:color-mix(in srgb,var(--ledger-category-accent) 10%,var(--budget-surface,#fffefb));text-align:center;font-size:9px;}.ledger-category-rail button[aria-pressed="true"]{color:var(--budget-header-ink,#f1f5f7);border-color:var(--ledger-category-accent);background:var(--ledger-category-accent);font-weight:600;}.ledger-category-rail button[aria-pressed="true"]::before{background:currentColor;}.ledger-category-rail button[aria-pressed="true"] small{color:inherit;background:rgb(255 255 255 / 20%);}.ledger-category-rail > p{margin:0;color:var(--budget-muted,#52616b);font-size:10px;white-space:nowrap;}[data-tone="0"]{--ledger-category-accent:#315f82;}[data-tone="1"]{--ledger-category-accent:#8b5f3d;}[data-tone="2"]{--ledger-category-accent:#227a8a;}[data-tone="3"]{--ledger-category-accent:#3378a2;}[data-tone="4"]{--ledger-category-accent:#5968a5;}[data-tone="5"]{--ledger-category-accent:#ad6b2f;}[data-tone="6"]{--ledger-category-accent:#7d6449;}[data-tone="7"]{--ledger-category-accent:#aa574c;}[data-tone="8"]{--ledger-category-accent:#47736c;}[data-tone="9"]{--ledger-category-accent:#5d62a5;}[data-tone="10"]{--ledger-category-accent:#80609a;}[data-tone="11"]{--ledger-category-accent:#477b58;}[data-tone="12"]{--ledger-category-accent:#a35e75;}[data-tone="13"]{--ledger-category-accent:#65738b;}[data-tone="14"],[data-tone="15"]{--ledger-category-accent:#6e716f;}.budget-v4-table .ledger-category-divider th{padding:8px 10px;border-top:1px solid color-mix(in srgb,var(--ledger-category-accent) 48%,var(--budget-line,#cbd3d8));border-bottom:1px solid color-mix(in srgb,var(--ledger-category-accent) 28%,var(--budget-line,#cbd3d8));color:var(--budget-ink,#172731);background:color-mix(in srgb,var(--ledger-category-accent) 13%,var(--budget-surface,#fffefb));text-align:left;}.ledger-category-divider th::before{content:'';display:inline-block;width:5px;height:18px;margin-right:8px;border-radius:2px;background:var(--ledger-category-accent);vertical-align:middle;}.ledger-category-divider span{font-size:12px;font-weight:600;}.ledger-category-divider small{margin-left:10px;color:var(--budget-muted,#52616b);font-size:10px;font-weight:500;}.ledger-mobile-category{--ledger-category-accent:var(--budget-accent,#2c5f87);display:grid;gap:8px;}.ledger-mobile-category > header{min-height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-left:5px solid var(--ledger-category-accent);border-radius:5px;background:color-mix(in srgb,var(--ledger-category-accent) 12%,var(--budget-surface,#fffefb));}.ledger-mobile-category > header strong{font-size:12px;}.ledger-mobile-category > header span{color:var(--budget-muted,#52616b);font-size:10px;}.ledger-floating-add{position:fixed;z-index:24;right:24px;bottom:24px;min-height:48px;display:flex;align-items:center;gap:7px;padding:0 17px;border:1px solid var(--budget-header,#243746);border-radius:999px;color:var(--budget-header-ink,#f1f5f7);background:var(--budget-header,#243746);box-shadow:0 13px 34px var(--budget-shadow,#1727312e);font:inherit;font-size:12px;font-weight:600;cursor:pointer;}.ledger-floating-add span{font-size:19px;font-weight:400;line-height:1;}.ledger-item-created{display:flex;justify-content:space-between;gap:12px;margin:0 0 12px;padding:9px 11px;border-radius:8px;color:var(--budget-muted,#52616b);background:var(--budget-row-hover,#e8f1f6);font-size:11px;}.ledger-item-created time{color:var(--budget-ink,#172731);font-variant-numeric:tabular-nums;}.ledger-domain-donut{padding:14px;border:1px solid var(--budget-line,#cbd3d8);border-radius:12px;background:var(--budget-surface,#fffefb);}.ledger-domain-donut header span{display:block;margin-top:3px;color:var(--budget-muted,#52616b);font-size:11px;}.ledger-domain-donut-body{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:18px;margin-top:12px;}.ledger-donut{width:144px;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#315f82 0 var(--hard-angle),#a35e75 var(--hard-angle) var(--hard-soft-angle),#8b8175 var(--hard-soft-angle) 360deg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--budget-line,#cbd3d8) 55%,transparent);}.ledger-donut::before{content:'';grid-area:1/1;width:82px;aspect-ratio:1;border-radius:50%;background:var(--budget-surface,#fffefb);}.ledger-donut > span{z-index:1;grid-area:1/1;display:grid;gap:2px;text-align:center;}.ledger-donut b{font-size:13px;}.ledger-donut small{color:var(--budget-muted,#52616b);font-size:9px;}.ledger-domain-donut dl{display:grid;gap:7px;margin:0;max-width:640px;}.ledger-domain-donut dl > div{display:flex;justify-content:space-between;gap:9px;padding-bottom:6px;border-bottom:1px solid var(--budget-line,#cbd3d8);font-size:11px;}.ledger-domain-donut dt{display:flex;align-items:center;gap:6px;}.ledger-domain-donut dt i{width:8px;height:8px;border-radius:2px;background:#315f82;}.ledger-domain-donut dt i.is-soft{background:#a35e75;}.ledger-domain-donut dt i.is-other{background:#8b8175;}.ledger-domain-donut dd{margin:0;font-variant-numeric:tabular-nums;text-align:right;}.ledger-domain-donut .is-base{margin-top:2px;padding:8px;border:0;border-radius:7px;background:var(--budget-accent-soft,#e5f0f6);font-weight:600;}.ledger-key-tables{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}.ledger-key-tables .budget-v4-analysis-table{min-width:0;max-height:360px;}.ledger-key-tables .budget-v4-analysis-table table{min-width:430px;}.ledger-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:16px 0;}.ledger-filters label{display:flex;gap:6px;flex-direction:column;font-size:12px;}.ledger-filters select,.ledger-filters button{min-height:44px;max-width:210px;}.ledger-filters details label{flex-direction:row;align-items:center;}.ledger-layout-message{flex:1 0 100%;margin:0;color:var(--budget-danger,#a54438);font-size:12px;}.ledger-balance{padding:12px 16px;background:var(--bg-secondary,#f7f4ec);border-radius:8px;}.ledger-quick-entry{position:sticky;top:0;z-index:12;display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0;padding:12px;border:1px solid var(--budget-line,#cbd3d8);border-radius:10px;background:var(--budget-surface,#fffefb);box-shadow:0 4px 12px #17273112;}.ledger-quick-entry label{display:grid;gap:5px;flex:1 1 120px;font-size:12px;}.ledger-quick-entry label:first-of-type{flex:2 1 180px;}.ledger-quick-entry input,.ledger-quick-entry select,.ledger-saved-views input,.ledger-saved-views select{box-sizing:border-box;width:100%;min-height:40px;min-width:0;padding:8px;border:1px solid var(--budget-line,#cbd3d8);border-radius:6px;color:var(--budget-ink,#172731);background:var(--budget-field,#fff);}.ledger-quick-entry button{min-height:40px;padding:8px 14px;border:0;border-radius:6px;background:var(--budget-header,#243746);color:var(--budget-header-ink,#f1f5f7);cursor:pointer;}.ledger-quick-entry [role=status]{flex-basis:100%;font-size:12px;color:var(--budget-muted,#52616b);}.ledger-saved-views{display:flex;align-items:end;flex-wrap:wrap;gap:8px;width:100%;padding-top:8px;border-top:1px solid var(--budget-line,#cbd3d8);}.ledger-saved-views label{min-width:150px;}.ledger-mobile-filter-toggle{display:none;}.ledger-quick-disclosure{margin:0 0 10px;}.ledger-quick-disclosure > summary{width:fit-content;padding:8px 0;color:var(--budget-muted,#52616b);font-size:12px;cursor:pointer;}.ledger-base-choice > span{display:flex;align-items:center;gap:7px;min-height:40px;}.ledger-base-choice input{width:18px;height:18px;min-height:18px;}.ledger-base-choice[hidden]{display:none;}.ledger-category-help{display:inline-grid;place-items:center;width:20px;height:20px;margin-left:8px;border:1px solid var(--budget-line,#cbd3d8);border-radius:50%;font-size:12px;cursor:help;}.ledger-category-picker .budget-v4-picker-panel{width:min(560px,calc(100vw - 32px));}.ledger-category-picker .budget-v4-picker-option{min-height:48px;padding:10px 12px;}.ledger-category-picker .budget-v4-picker-groups{max-height:65vh;}.ledger-category-picker .budget-v4-picker-groups h3{display:none;}.ledger-add-options{display:flex;gap:12px;margin:8px 0;}.ledger-add-options button,.ledger-template-source button{min-height:40px;padding:8px 12px;border:1px solid var(--budget-line,#cbd3d8);border-radius:7px;background:var(--budget-field,#fff);color:var(--budget-accent,#2c5f87);cursor:pointer;}.ledger-management-menu{position:relative;}.ledger-management-menu summary{min-height:40px;display:flex;align-items:center;padding:0 12px;cursor:pointer;}.ledger-management-menu[open]{display:flex;flex-wrap:wrap;gap:8px;}.budget-v4-table :is(th,td)[hidden]{display:none;}@media(min-width:768px){.budget-v4-budget-pane{gap:8px;}.ledger-filters{padding:4px 0;gap:8px;}.ledger-category-rail{position:static;grid-template-columns:auto minmax(0,1fr);}.ledger-category-rail > div{flex-wrap:wrap;overflow:visible;}.ledger-category-rail > p{display:none;}}.ledger-payment-status{font-size:12px;white-space:nowrap;color:var(--budget-muted,#52616b);}.ledger-new-rooms{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;border:1px solid var(--budget-line,#cbd3d8);border-radius:8px;padding:12px;}.ledger-new-rooms label{display:flex;align-items:center;gap:6px;}.ledger-new-rooms input{width:auto;min-height:24px;}[data-new-quantity]{grid-column:1/-1;}[data-new-quantity]:not([hidden]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}.ledger-drawer-backdrop{position:fixed;inset:0;z-index:9998;background:rgb(14 24 31 / 35%);}@media(max-width:767px){.ledger-quick-entry,.ledger-quick-open{display:none;}.ledger-saved-views label{flex:1 1 140px;}}@media(max-width:767px){.ledger-filters:not(.is-open){display:none;}.ledger-mobile-filter-toggle{display:block;width:100%;min-height:44px;margin:8px 0;border:1px solid var(--budget-line,#cbd3d8);border-radius:8px;color:var(--budget-ink,#172731);background:var(--budget-field,#fff);}}.ledger-new-dialog{width:min(720px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid #ccc;border-radius:16px;}.ledger-new-dialog::backdrop{background:#172b4d66;}.ledger-new-dialog input,.ledger-new-dialog select,.ledger-new-dialog textarea{min-height:44px;width:100%;box-sizing:border-box;}.ledger-new-dialog input[type=checkbox]{width:auto;}.ledger-new-dialog footer{display:flex;gap:12px;margin-top:20px;}.ledger-record{z-index:1300;}.ledger-management{display:grid;gap:14px;}.ledger-management > p{margin:0;color:var(--budget-muted,#52616b);line-height:1.55;}.ledger-payee-list,.ledger-audit-list{display:grid;gap:10px;margin:0;padding:0;list-style:none;}.ledger-payee-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end;min-width:0;padding:12px;border:1px solid var(--budget-line,#cbd3d8);border-radius:10px;}.ledger-payee-row label{display:grid;gap:5px;color:var(--budget-muted,#52616b);font-size:11px;font-weight:600;}.ledger-payee-row span{min-width:0;align-self:center;color:var(--budget-muted,#52616b);font-size:11px;line-height:1.45;}.ledger-payee-row button,.ledger-transaction-tools button{flex-shrink:0;min-width:64px;min-height:40px;padding:0 12px;border:1px solid var(--budget-line-strong,#788994);border-radius:9px;background:var(--budget-field,#fff);color:var(--budget-ink,#172731);font:inherit;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer;}.ledger-payee-row button{justify-self:end;}.ledger-payee-row [role="alert"]{grid-column:1/-1;margin:0;color:var(--budget-danger,#a54438);font-size:12px;}.ledger-audit-list li{display:grid;grid-template-columns:auto auto;gap:4px 12px;padding:12px;border-bottom:1px solid var(--budget-line,#cbd3d8);}.ledger-audit-list time{justify-self:end;color:var(--budget-muted,#52616b);font-size:11px;}.ledger-audit-list span{grid-column:1/-1;color:var(--budget-muted,#52616b);font-size:12px;line-height:1.5;}.ledger-transaction-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;align-items:center;}.budget-v4-detail h2,.ledger-payee-row span{overflow-wrap:anywhere;}[hidden]{display:none !important;}@media(max-width:900px){.ledger-key-tables{grid-template-columns:1fr;}}@media(max-width:640px){.ledger-category-rail{top:42px;grid-template-columns:1fr;padding:8px;}.ledger-category-rail > span,.ledger-category-rail > p{display:none;}.ledger-category-rail button{min-height:32px;}.ledger-floating-add{right:14px;bottom:78px;min-height:46px;padding-inline:14px;}.ledger-domain-donut-body{grid-template-columns:120px minmax(0,1fr);gap:12px;}.ledger-donut{width:116px;}.ledger-donut::before{width:66px;}.ledger-domain-donut dl > div{align-items:flex-start;flex-direction:column;gap:3px;}.ledger-domain-donut dd{text-align:left;}.ledger-filters{padding:12px;gap:8px;}.ledger-filters label{flex:1 1 42%;min-width:0;}.ledger-filters select{width:100%;max-width:100%;}.ledger-new-dialog{padding:16px;}.ledger-payee-row{grid-template-columns:1fr;}.ledger-payee-row button{justify-self:stretch;}.ledger-audit-list li{grid-template-columns:1fr;}.ledger-audit-list time,.ledger-audit-list span{grid-column:1;justify-self:start;}.ledger-transaction-tools{justify-content:flex-start;}}.ledger-detailed-new{inset:0 0 0 auto;margin:0;width:min(620px,100vw);height:100dvh;max-height:none;box-sizing:border-box;border-radius:12px 0 0 12px;}@media(max-width:640px){.ledger-detailed-new{width:100vw;border-radius:0;}}.budget-v4-shell{--ledger-paper:#fdfbf2;--ledger-paper-cool:#f0f4f5;--ledger-surface:rgb(255 255 255 / 72%);--ledger-line:rgb(214 209 194 / 72%);--ledger-ink:#24313a;--ledger-muted:#616e75;--ledger-blue:#2c5f87;--ledger-yellow:#ffde28;--ledger-yellow-edge:#e8bf00;--ledger-green:#17663b;gap:16px;color:var(--ledger-ink);}.budget-v4-hero{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;min-height:150px;box-sizing:border-box;padding:12px 20px;border:1px solid var(--ledger-line);border-radius:22px;background:var(--ledger-surface);box-shadow:0 6px 20px rgb(36 48 59 / 5%);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);}.budget-v4-hero .budget-v4-topbar{min-height:82px;padding:0;border:0;border-radius:0;background:transparent;flex-wrap:nowrap;}.budget-v4-topbar > .budget-v4-heading{display:grid;align-content:center;gap:4px;min-width:0;margin:0 auto 0 0;}.budget-v4-heading :is(p,h2,span){margin:0;}.budget-v4-project-switch{appearance:none;display:inline-flex;align-items:center;width:fit-content;margin:0;padding:0;border:0;color:var(--ledger-blue);background:transparent;font:inherit;font-size:11px;font-weight:600;cursor:pointer;}.budget-v4-project-switch span{display:inline-block;margin-left:5px;transition:transform .18s ease;}.budget-v4-project-switch:hover span,.budget-v4-project-switch:focus-visible span{transform:translateY(2px);}.budget-v4-heading h2{color:var(--ledger-ink);font-size:clamp(25px,2.2vw,30px);font-weight:900;letter-spacing:-.045em;line-height:1.18;}.budget-v4-heading > span{color:var(--ledger-muted);font-size:12px;line-height:1.45;}.budget-v4-topbar > .budget-v4-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:10px;width:auto;margin:0;}.budget-v4-actions > :is(button,.budget-v4-total-budget){min-height:46px;box-sizing:border-box;border:1px solid rgb(115 122 120 / 38%);border-radius:14px;color:var(--ledger-ink);background:rgb(255 255 255 / 55%);}.budget-v4-actions > button{display:inline-flex;align-items:center;justify-content:center;padding:0 16px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;}.budget-v4-actions > .budget-v4-primary{min-width:142px;border-color:var(--ledger-yellow-edge);color:var(--ledger-ink);background:var(--ledger-yellow);box-shadow:0 6px 16px rgb(237 178 0 / 18%);}.budget-v4-actions > .budget-v4-primary::before{content:'＋';margin-right:4px;}.budget-v4-topbar label.budget-v4-total-budget{width:164px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 14px;color:var(--ledger-ink);font-size:12px;font-weight:700;}.budget-v4-total-budget > span{white-space:nowrap;}.budget-v4-total-budget > span::after{content:' ¥';}.budget-v4-total-budget > input{width:76px;min-height:28px;padding:0;border:0;border-radius:0;color:var(--ledger-ink);background:transparent;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;}.budget-v4-hero .budget-v4-tabs{height:30px;align-items:center;gap:8px;margin:0;border:0;}.budget-v4-hero .budget-v4-tabs button{min-height:28px;padding:0 14px;border:0;border-radius:999px;color:var(--ledger-muted);font-size:11px;font-weight:500;transition:color 160ms ease,background-color 160ms ease,transform 160ms ease;}.budget-v4-hero .budget-v4-tabs button:hover{color:var(--ledger-ink);background:rgb(36 49 58 / 6%);}.budget-v4-hero .budget-v4-tabs button:active{transform:translateY(1px);}.budget-v4-hero .budget-v4-tabs button[aria-current="true"]{color:#fff;background:var(--ledger-ink);font-weight:700;}.budget-v4-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;overflow:visible;border:0;border-radius:0;background:transparent;}.budget-v4-overview > div{min-height:104px;box-sizing:border-box;gap:4px;padding:14px 18px;border:1px solid rgb(214 209 194 / 68%);border-radius:20px;background:rgb(255 255 255 / 70%);box-shadow:0 7px 20px rgb(36 48 59 / 6%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}.budget-v4-overview > div:first-child{border-left:1px solid var(--ledger-yellow-edge);}.budget-v4-overview > div.is-total{border-color:var(--ledger-yellow-edge);background:linear-gradient(90deg,#ffeb59,#ffd614);box-shadow:none;}.budget-v4-overview span{color:var(--ledger-muted);font-size:11px;}.budget-v4-overview strong{color:var(--ledger-ink);font-size:22px;font-weight:900;line-height:1.18;}.budget-v4-overview .is-total strong{font-size:28px;}.budget-v4-overview .is-planned strong{color:var(--ledger-blue);}.budget-v4-overview > div:last-child:not(.is-danger,.is-warning) strong{color:var(--ledger-green);}.budget-v4-overview small{color:var(--ledger-muted);font-size:10px;}.budget-v4-overview .is-total :is(span,small){color:var(--ledger-ink);}.budget-v4-budget-pane{gap:16px;padding-bottom:104px;}.ledger-filter-workbench{position:relative;display:grid;gap:6px;min-width:0;padding:8px 10px;border:1px solid rgb(214 209 194 / 64%);border-radius:18px;background:rgb(255 255 255 / 68%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}.ledger-filter-workbench .budget-v4-toolbar{min-height:36px;align-items:center;gap:12px;}.budget-v4-toolbar label.budget-v4-search{position:relative;width:270px;flex:0 0 270px;display:flex;align-items:center;gap:8px;color:var(--ledger-muted);}.budget-v4-search > .icon-inline{position:absolute;z-index:1;left:12px;width:16px;height:16px;color:#596366;}.budget-v4-search > input{min-height:36px;padding:0 12px 0 36px;border:1px solid rgb(214 209 194 / 58%);border-radius:11px;background:rgb(255 255 255 / 72%);font-size:11.5px;}.budget-v4-toolbar > .budget-v4-toolbar-count{margin:0;padding:0;color:#6d787e;font-size:11px;white-space:nowrap;}.budget-v4-toolbar-actions{display:flex;justify-content:flex-end;gap:7px;margin-left:auto;}.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle){min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid #d8d2c6;border-radius:10px;color:#304a57;background:rgb(255 255 255 / 82%);font:inherit;font-size:11px;font-weight:500;white-space:nowrap;cursor:pointer;}.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle):hover{border-color:#aeb7b8;background:#fff;}.budget-v4-toolbar .ledger-mobile-filter-toggle{width:auto;margin:0;}.ledger-filter-workbench .ledger-category-rail{position:static;display:block;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;}.ledger-filter-workbench .ledger-category-rail > :is(span,p){display:none;}.ledger-filter-workbench .ledger-category-rail > div{flex-wrap:nowrap;gap:5px;overflow-x:auto;padding:1px 0 2px;}.ledger-filter-workbench .ledger-category-rail button{min-height:30px;gap:4px;padding:0 7px;border-color:rgb(214 209 194 / 88%);border-radius:999px;background:rgb(255 255 255 / 58%);font-size:9.5px;}.ledger-filter-workbench .ledger-category-rail button::before{width:5px;height:5px;border-radius:50%;}.ledger-filter-workbench .ledger-category-rail button small{min-width:0;padding:0;background:transparent;font-size:9px;}.ledger-filter-workbench .ledger-category-rail button[aria-pressed="true"]{border-color:var(--ledger-ink);color:#fff;background:var(--ledger-ink);}.ledger-filter-workbench .ledger-category-rail button[aria-pressed="true"]::before{background:var(--ledger-yellow);}.ledger-filter-workbench .ledger-filters{display:none;gap:10px;padding:12px 2px 2px;border-top:1px solid var(--ledger-line);}.ledger-filter-workbench .ledger-filters.is-open{display:flex;}.ledger-filter-workbench .ledger-filters label{font-size:11px;}.ledger-filter-workbench .ledger-filters :is(select,input,button){min-height:38px;border-radius:9px;}.budget-v4-table-wrap{min-height:440px;overflow-x:auto;border-color:var(--ledger-line);border-radius:18px;background:rgb(255 255 255 / 86%);box-shadow:0 6px 18px rgb(23 39 49 / 5%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}.ledger-table-heading{min-width:1120px;min-height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;box-sizing:border-box;}.ledger-table-heading h3{margin:0;color:var(--ledger-ink);font-size:15px;font-weight:800;}.ledger-table-heading span{color:var(--ledger-muted);font-size:10px;}.budget-v4-table{min-width:1120px;table-layout:fixed;}.budget-v4-table th{height:38px;box-sizing:border-box;padding:0 14px;color:#646f75;background:#f4f1e9;font-size:10px;font-weight:600;}.budget-v4-table th:nth-child(1){width:260px;}.budget-v4-table th:nth-child(2),.budget-v4-table th:nth-child(3),.budget-v4-table th:nth-child(4){width:90px;}.budget-v4-table th:nth-child(5){width:60px;}.budget-v4-table th:nth-child(6),.budget-v4-table th:nth-child(7),.budget-v4-table th:nth-child(8){width:110px;}.budget-v4-table th:nth-child(9){width:100px;}.budget-v4-table th:nth-child(10){width:84px;}.budget-v4-table th:nth-child(11){width:104px;}.budget-v4-table :is(th,td):nth-child(n+6):nth-child(-n+9){text-align:right;}.budget-v4-table th:nth-child(8){color:var(--ledger-blue);}.budget-v4-table td{height:54px;box-sizing:border-box;padding:0 14px;border-bottom:1px solid rgb(214 209 194 / 28%);color:#3f4d55;font-size:11px;}.budget-v4-table tbody tr:nth-child(odd):not(.ledger-category-divider,.budget-v4-mismatch) td{background:rgb(248 250 249 / 40%);}.budget-v4-table tbody tr:hover td{background:rgb(232 241 246 / 62%);}.budget-v4-table td:nth-child(1) .budget-v4-picker-trigger{color:#243746;font-weight:600;}.budget-v4-table td:nth-child(2) .budget-v4-picker-trigger{color:var(--ledger-blue);font-weight:600;}.budget-v4-table td > :is(input,select),.budget-v4-table .budget-v4-picker-trigger{min-height:34px;padding:4px 0;font-size:11px;}.budget-v4-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:18px;height:28px;padding:0;border:0;background:transparent;color:var(--budget-muted,#718096);cursor:grab;user-select:none;touch-action:none;border-radius:4px;flex:0 0 auto;opacity:0.35;transition:opacity 120ms ease,color 120ms ease,background-color 120ms ease;}.budget-v4-drag-handle:hover,.budget-v4-drag-handle:focus-visible,.budget-v4-table tbody tr:hover .budget-v4-drag-handle,.budget-v4-mobile-card:hover .budget-v4-mobile-drag-handle{opacity:1;color:var(--budget-ink,#1a202c);background:color-mix(in srgb,var(--daylight-yellow,#ffd026) 20%,transparent);}.budget-v4-drag-handle:active,.budget-v4-mobile-drag-handle:active{cursor:grabbing;}.budget-v4-drag-icon{display:inline-block;font-size:13px;line-height:1;letter-spacing:-2px;font-weight:700;pointer-events:none;}.budget-v4-mobile-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:24px;height:28px;padding:0;margin-right:4px;border:0;background:transparent;color:var(--budget-muted,#718096);cursor:grab;touch-action:none;border-radius:4px;flex:0 0 auto;opacity:0.55;}.budget-v4-table tbody tr.is-dragging,.budget-v4-mobile-card.is-dragging{opacity:0.45;background:color-mix(in srgb,var(--daylight-yellow,#ffd026) 15%,transparent) !important;}.budget-v4-table tbody tr.drag-over-top td,.budget-v4-mobile-card.drag-over-top{border-top:2px solid var(--daylight-yellow,#ffd026) !important;}.budget-v4-table tbody tr.drag-over-bottom td,.budget-v4-mobile-card.drag-over-bottom{border-bottom:2px solid var(--daylight-yellow,#ffd026) !important;}.ledger-classification-help-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;margin-left:4px;border:0;background:transparent;color:var(--budget-muted,#718096);cursor:pointer;vertical-align:middle;border-radius:50%;transition:color 120ms ease;}.ledger-classification-help-icon:hover,.ledger-classification-help-icon:focus-visible{color:var(--budget-ink,#1a202c);}.ledger-classification-help-icon svg{width:13px;height:13px;}.ledger-quick-entry .ledger-quick-field-heading{display:inline-flex;align-items:center;height:16px;flex-shrink:0;}.ledger-quick-entry .ledger-classification-help-icon{flex:0 0 16px;min-height:16px;height:16px;padding:0;border-radius:50%;background:transparent;color:inherit;}.ledger-smart-dialog{position:fixed;inset:0;margin:auto;max-width:min(720px,calc(100vw - 32px));width:min(720px,calc(100vw - 32px));box-sizing:border-box;padding:20px;border:1px solid #b8b5ad;border-radius:16px;background:#ffffff;color:#191c1e;max-height:min(85dvh,860px);overflow-y:auto;overflow-x:hidden;}.ledger-smart-dialog::backdrop{background:rgba(24,33,39,0.48);backdrop-filter:blur(3px);}.ledger-smart-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;}.ledger-smart-dialog header h2{margin:0;font-size:16px;font-weight:600;}.ledger-smart-dialog header button{background:transparent;border:0;font-size:20px;line-height:1;cursor:pointer;padding:4px 8px;}.ledger-smart-dialog details{margin-bottom:12px;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;}.ledger-smart-dialog summary{cursor:pointer;font-weight:600;font-size:13px;}.ledger-smart-dialog p{margin:8px 0 0 0;font-size:13px;line-height:1.5;color:#62676d;word-break:break-word;}body[data-theme="dark"] .ledger-smart-dialog{background:#1e262f;border-color:#61717e;color:#f1f5f9;}body[data-theme="dark"] .ledger-smart-dialog p{color:#b7c2cc;}body[data-theme="dark"] .ledger-smart-dialog details{border-color:#2e3a47;}body[data-theme="dark"] .ledger-smart-dialog header button{color:#e2e8f0;}.ledger-smart-dialog header{position:sticky;top:-20px;z-index:1;padding-block:12px;background:inherit;}.ledger-smart-dialog header button{min-width:40px;min-height:40px;color:inherit;}.ledger-smart-dialog h3{margin:22px 0 8px;font-size:16px;}.ledger-smart-dialog h4{margin:0;font-size:14px;}.ledger-help-boundary{padding:0 16px 16px;border:1px solid #b8b5ad;border-radius:12px;background:#f9f8f4;}.ledger-help-boundary ul{margin:12px 0 0;padding-left:20px;font-size:13px;line-height:1.7;}.ledger-help-stages article{padding:16px 0;border-bottom:1px solid #efece4;}.ledger-help-stages h4{display:flex;flex-wrap:wrap;gap:4px 12px;}.ledger-help-stages h4 span{font-weight:400;}.ledger-help-terms{margin-top:20px;}.ledger-help-terms section{margin-top:16px;}body[data-theme="dark"] .ledger-help-boundary{border-color:#61717e;background:#182027;}body[data-theme="dark"] .ledger-help-stages article{border-color:#283542;}.budget-v4-table .budget-v4-picker-trigger{position:relative;padding-right:14px;}.budget-v4-table .budget-v4-picker-trigger b{position:absolute;right:0;opacity:0;transition:opacity 160ms ease;}.budget-v4-table tbody tr:hover .budget-v4-picker-trigger b,.budget-v4-table .budget-v4-picker-trigger:focus-visible b{opacity:1;}.budget-v4-table td > input{width:100%;box-sizing:border-box;text-align:right;font-variant-numeric:tabular-nums;}.budget-v4-table .budget-v4-helper-link{display:block;margin-top:2px;padding:0;border:0;color:var(--ledger-blue);background:transparent;font:inherit;font-size:10px;font-weight:600;cursor:pointer;text-align:right;white-space:nowrap;}.budget-v4-table .budget-v4-na{display:block;text-align:center;color:#b0bec5;font-variant-numeric:tabular-nums;user-select:none;}.budget-v4-table .budget-v4-derived{display:block;width:100%;text-align:right;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;}.budget-v4-table .budget-v4-actual{min-width:0;width:100%;display:block;padding:0;border:0;border-radius:8px;color:var(--ledger-blue);background:transparent;text-align:right;}.budget-v4-table .budget-v4-actual strong{font-size:11px;font-weight:600;}.budget-v4-table .budget-v4-actual span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}.budget-v4-table .budget-v4-actual:hover{text-decoration:underline;text-underline-offset:3px;}.budget-v4-table .budget-v4-status{text-align:right;font-size:11px;font-weight:600;}.budget-v4-table .budget-v4-more{min-height:34px;width:100%;padding:0;color:var(--ledger-blue);font-size:11px;text-align:center;}.budget-v4-table .ledger-category-divider th{height:26px;padding:0 14px;border:0;background:color-mix(in srgb,var(--ledger-category-accent) 10%,#fff);}.budget-v4-table .ledger-category-divider th::before{width:4px;height:14px;margin-right:8px;border-radius:2px;}.budget-v4-table .ledger-category-divider span{font-size:10px;}.budget-v4-table .ledger-category-divider small{font-size:10px;font-weight:400;}.ledger-quick-entry-dock{position:fixed;z-index:24;bottom:24px;left:256px;right:0;width:fit-content;max-width:calc(100% - 288px);margin-left:auto;margin-right:auto;min-height:84px;box-sizing:border-box;padding:12px 14px;border-radius:20px;background:rgb(36 49 58 / 94%);box-shadow:0 8px 20px rgb(13 20 26 / 18%);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);}.ledger-quick-entry-dock .ledger-quick-entry{position:static;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-height:60px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}.ledger-quick-lead{width:156px;flex:0 0 156px;display:grid;align-content:center;gap:3px;min-height:54px;padding:0 4px;box-sizing:border-box;}.ledger-quick-lead strong{color:#fff;font-size:13px;}.ledger-quick-entry-dock .ledger-quick-entry .ledger-quick-lead [role="status"]{max-width:148px;flex-basis:auto;overflow:hidden;color:#c7d6db;font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap;}.ledger-quick-entry-dock .ledger-quick-entry > label{flex:0 0 auto;width:112px;height:54px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;box-sizing:border-box;padding:7px 12px;border:1px solid rgb(255 255 255 / 16%);border-radius:13px;color:#bad1db;background:rgb(255 255 255 / 11%);font-size:8px;line-height:1.2;}.ledger-quick-entry-dock .ledger-quick-entry > label:first-of-type{width:min(252px,22vw);flex-basis:min(252px,22vw);}.ledger-quick-entry-dock .ledger-quick-entry > label:last-of-type{width:140px;flex-basis:140px;}.ledger-quick-entry-dock .ledger-quick-entry :is(input,select){width:100%;min-height:20px;padding:0;border:0;border-radius:0;color:#fff;background:transparent;font-size:11px;font-weight:700;}.ledger-quick-entry-dock .ledger-quick-entry input::placeholder{color:#a6bac4;opacity:1;font-weight:400;}.ledger-quick-entry-dock .ledger-quick-entry select{color-scheme:dark;}.ledger-quick-entry-dock .ledger-quick-entry > button{flex:0 0 auto;min-height:52px;padding:0 16px;border-radius:14px;color:var(--ledger-ink);background:var(--ledger-yellow);font-size:11px;font-weight:700;}.ledger-quick-entry-dock .ledger-quick-entry > .ledger-quick-detail{width:108px;border:1px solid rgb(184 194 199 / 65%);background:rgb(255 255 255 / 90%);}.ledger-quick-entry-dock .ledger-quick-entry > button[type="submit"]{width:132px;box-shadow:0 4px 12px rgb(237 178 0 / 16%);}.ledger-quick-entry-dock .ledger-quick-entry > button[type="submit"]::after{content:' ↵';margin-left:3px;}.ledger-floating-add{display:none;}.brand-mark-ledger{display:block;}.brand-mark-default{display:none;}@media (min-width:768px){body[data-current-page="budget"] .page-header{display:flex;}body[data-current-page="budget"] .main-content{background:linear-gradient(105.7deg,#fdfbf2 5.5%,#f0f4f5 105.5%);}body[data-current-page="budget"] .main-content::before,body[data-current-page="budget"] .main-content::after{display:none;}body[data-current-page="budget"] .page-content{padding:24px 32px 120px;}body[data-current-page="budget"] .ledger-quick-entry-dock{left:256px;right:0;margin-left:auto;margin-right:auto;}body[data-current-page="budget"] .legal-footer{display:none;}.budget-v4-shell[data-v4-tab-current="budget"] > .budget-v4-guidance{display:none;}.ledger-filter-workbench .ledger-mobile-filter-toggle{display:inline-flex;}}@media (max-width:1399px) and (min-width:768px){.ledger-quick-entry-dock{position:static;padding:14px;}.ledger-quick-entry-dock .ledger-quick-entry{flex-wrap:wrap;}.ledger-quick-entry-dock .ledger-quick-entry > label:first-of-type{width:calc(100% - 172px);flex-basis:calc(100% - 172px);}.budget-v4-budget-pane{padding-bottom:0;}.budget-v4-table-wrap{min-height:360px;}}@media (max-width:980px){.budget-v4-hero .budget-v4-topbar{align-items:flex-start;flex-direction:column;}.budget-v4-topbar > .budget-v4-actions{width:100%;justify-content:flex-start;flex-wrap:wrap;}.budget-v4-overview{grid-template-columns:repeat(2,minmax(0,1fr));}.budget-v4-toolbar{flex-wrap:wrap;}.budget-v4-toolbar-actions{width:100%;justify-content:flex-start;margin-left:0;overflow-x:auto;}}@media (max-width:767px){.budget-v4-shell{gap:12px;}.budget-v4-hero{min-height:0;padding:16px;border-radius:18px;}.budget-v4-hero .budget-v4-topbar{display:flex;grid-template-columns:none;}.budget-v4-project-switch{min-height:32px;align-items:center;}.budget-v4-heading h2{font-size:24px;white-space:normal;}.budget-v4-heading > span{font-size:11px;}.budget-v4-hero .budget-v4-tabs button{min-height:44px;}.budget-v4-actions > :is(button,.budget-v4-total-budget){min-height:44px;}.budget-v4-actions > .budget-v4-primary{min-width:132px;}.budget-v4-overview{grid-template-columns:1fr 1fr;gap:8px;}.budget-v4-overview > div{min-height:92px;padding:12px;border-radius:16px;}.budget-v4-overview strong,.budget-v4-overview .is-total strong{font-size:20px;}.ledger-filter-workbench{padding:8px;border-radius:16px;}.ledger-filter-workbench .ledger-category-rail button{min-height:36px;}.budget-v4-toolbar label.budget-v4-search{width:100%;flex-basis:100%;}.budget-v4-toolbar > .budget-v4-toolbar-count{margin-left:0;}.ledger-filter-workbench .ledger-filters:not(.is-open){display:none;}.budget-v4-table-wrap{display:none;}.ledger-quick-entry-dock{display:none;}.budget-v4-budget-pane{padding-bottom:72px;}.ledger-floating-add{display:flex;right:14px;bottom:78px;}}@media (prefers-reduced-motion:reduce){.budget-v4-hero .budget-v4-tabs button,.budget-v4-table .budget-v4-picker-trigger b{transition:none;}}.budget-v4-shell,.budget-v4-detail,.budget-v4-picker,.budget-v4-modal,.ledger-new-dialog{font-family:var(--xy-font-ui);font-synthesis:none;text-rendering:optimizeLegibility;}.budget-v4-shell :is(strong,input,.budget-v4-derived,.budget-v4-status),.budget-v4-detail :is(input,time),.ledger-new-dialog input{font-variant-numeric:tabular-nums;}.ledger-ui-icon,.ledger-select-chevron,.ledger-select-check,.ledger-summary-chevron{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}.budget-v4-hero{padding:18px 24px 8px;}.budget-v4-hero .budget-v4-topbar{min-height:84px;}.budget-v4-topbar > .budget-v4-heading{gap:5px;}.budget-v4-heading h2{font-size:30px;font-weight:750;line-height:40px;letter-spacing:-.025em;}.budget-v4-heading > span{font-size:13px;line-height:21px;}.budget-v4-project-switch{min-height:28px;gap:4px;font-size:12px;line-height:18px;}.budget-v4-project-switch > span{margin-left:0;transform:none !important;transition:none;}.budget-v4-project-switch .ledger-ui-icon{width:16px;height:16px;transition:transform 160ms ease;}.budget-v4-project-switch:hover .ledger-ui-icon,.budget-v4-project-switch:focus-visible .ledger-ui-icon{transform:translateY(1px);}.budget-v4-actions > :is(button,.budget-v4-total-budget){min-height:44px;border-radius:12px;}.budget-v4-actions > button{gap:7px;padding:0 16px;font-size:13px;line-height:20px;}.budget-v4-actions > button .ledger-ui-icon{width:17px;height:17px;}.budget-v4-actions > .budget-v4-primary{min-width:158px;}.budget-v4-actions > .budget-v4-primary::before{content:none;}.budget-v4-topbar label.budget-v4-total-budget{width:176px;padding:0 15px;font-size:12px;}.budget-v4-total-budget input{min-height:32px;font-size:14px;font-weight:700;line-height:20px;}.budget-v4-hero .budget-v4-tabs{min-height:38px;gap:5px;padding-top:2px;}.budget-v4-hero .budget-v4-tabs button{min-height:36px;gap:6px;padding:0 15px;font-size:12px;line-height:18px;}.budget-v4-tabs .ledger-ui-icon{width:15px;height:15px;opacity:.72;}.budget-v4-tabs button[aria-current="true"] .ledger-ui-icon{opacity:1;}.budget-v4-overview{gap:14px;}.budget-v4-overview > div{min-height:102px;justify-content:center;gap:5px;padding:14px 20px;border-radius:20px;}.budget-v4-overview span{font-size:12px;font-weight:600;line-height:18px;}.budget-v4-overview strong{font-size:26px;font-weight:720;line-height:34px;letter-spacing:-.02em;}.budget-v4-overview .is-total strong{font-size:30px;}.budget-v4-overview small{font-size:11px;line-height:17px;}.ledger-filter-workbench{gap:12px;padding:12px;border-radius:20px;}.ledger-filter-workbench .budget-v4-toolbar{min-height:40px;gap:12px;}.budget-v4-toolbar label.budget-v4-search{width:320px;flex-basis:320px;}.budget-v4-search > .icon-inline{left:14px;width:18px;height:18px;}.budget-v4-search > input{min-height:40px;padding:0 14px 0 42px;border-radius:12px;font-size:13px;line-height:20px;}.budget-v4-toolbar > .budget-v4-toolbar-count{font-size:12px;line-height:18px;}.budget-v4-toolbar-actions{gap:8px;}.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle){min-height:40px;gap:7px;padding:0 13px;border-radius:11px;font-size:12px;line-height:18px;}.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle) .ledger-ui-icon{width:16px;height:16px;}.budget-v4-filter-chip{min-height:36px;display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;white-space:nowrap;font-size:12px;}.budget-v4-filter-chip .ledger-ui-icon{width:14px;height:14px;}.ledger-filter-workbench .ledger-category-rail > div{gap:7px;padding:0;scrollbar-width:none;}.ledger-filter-workbench .ledger-category-rail > div::-webkit-scrollbar{display:none;}.ledger-filter-workbench .ledger-category-rail button{min-height:34px;gap:5px;padding:0 10px;border-radius:999px;font-size:11.5px;line-height:17px;}.ledger-filter-workbench .ledger-category-rail button small{font-size:10.5px;line-height:16px;}.ledger-filter-workbench .ledger-filters{display:none;}.ledger-filter-workbench .ledger-filters.is-open{display:grid;grid-template-columns:repeat(5,minmax(126px,1fr)) auto auto auto;align-items:end;gap:12px;padding:14px 2px 2px;border-top:1px solid rgb(36 49 58 / 8%);}.ledger-filter-workbench .ledger-filters > label{min-width:0;display:grid;gap:6px;color:#5f6e75;font-size:12px;font-weight:600;line-height:18px;}.ledger-filter-action,.ledger-column-settings > summary{min-height:40px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid #ddd7ca;border-radius:10px;color:#344751;background:rgb(255 255 255 / 82%);font:inherit;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap;cursor:pointer;}.ledger-filter-action:hover,.ledger-column-settings > summary:hover{border-color:#aeb9bc;background:#fff;}.ledger-filter-action.is-quiet{border-color:transparent;background:transparent;}.ledger-filter-action .ledger-ui-icon,.ledger-column-settings > summary .ledger-ui-icon{width:16px;height:16px;}.ledger-column-settings{position:relative;min-width:0;}.ledger-column-settings > summary{list-style:none;}.ledger-column-settings > summary::-webkit-details-marker{display:none;}.ledger-column-settings > summary .ledger-summary-chevron{width:14px;height:14px;transition:transform 160ms ease;}.ledger-column-settings[open] > summary .ledger-summary-chevron{transform:rotate(180deg);}.ledger-column-popover{position:absolute;z-index:80;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 32px));max-height:min(520px,calc(100vh - 160px));overflow:auto;box-sizing:border-box;padding:10px;border:1px solid rgb(36 49 58 / 12%);border-radius:16px;background:rgb(255 255 255 / 96%);box-shadow:0 20px 48px rgb(30 38 51 / 14%);backdrop-filter:blur(20px);}.ledger-column-popover > label{min-height:38px;display:grid;grid-template-columns:18px 1fr 32px;align-items:center;gap:8px;padding:0 8px;border-radius:9px;color:#344751;font-size:12px;}.ledger-column-popover > label:hover{background:#f5f3ed;}.ledger-column-popover > label > input{width:16px;height:16px;min-height:16px;margin:0;accent-color:#2c5f87;}.ledger-column-popover > label > button{min-height:30px;width:30px;padding:0;border:0;border-radius:8px;background:transparent;}.ledger-column-popover > label > button .ledger-ui-icon{width:15px;height:15px;}.ledger-column-popover > [data-ledger-layout-reset]{min-height:38px;margin-top:6px;}.ledger-column-popover .ledger-saved-views{margin-top:10px;padding-top:10px;border-top:1px solid rgb(36 49 58 / 8%);}.ledger-select-shell{position:relative;display:block;width:100%;min-width:0;}.ledger-native-select{position:absolute;z-index:0;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none;}.ledger-select-trigger{position:relative;z-index:1;width:100%;min-width:0;height:40px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 13px;border:1px solid #d8d5cc;border-radius:10px;color:#2f4049;background:rgb(255 255 255 / 88%);font:inherit;font-size:13px;font-weight:550;line-height:20px;text-align:left;cursor:pointer;transition:border-color 140ms ease,box-shadow 140ms ease,background-color 140ms ease;}.ledger-select-trigger > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ledger-select-trigger:hover{border-color:#aeb9bc;background:#fff;}.ledger-select-trigger:focus-visible,.ledger-select-shell.is-open .ledger-select-trigger{border-color:#2c5f87;outline:0;box-shadow:0 0 0 3px rgb(44 95 135 / 14%);}.ledger-select-chevron{color:#718087;transition:transform 160ms ease;}.ledger-select-shell.is-open .ledger-select-chevron{transform:rotate(180deg);}.ledger-select-popover{position:absolute;z-index:1600;top:calc(100% + 7px);left:0;min-width:100%;width:max-content;max-width:min(320px,calc(100vw - 32px));max-height:min(320px,calc(100vh - 96px));overflow:auto;box-sizing:border-box;padding:6px;border:1px solid rgb(36 49 58 / 12%);border-radius:13px;color:#2b3b44;background:rgb(255 255 255 / 97%);box-shadow:0 18px 42px rgb(30 38 51 / 16%);backdrop-filter:blur(20px);transform-origin:top;animation:ledger-select-in 160ms ease-out both;}.ledger-select-shell.opens-up .ledger-select-popover,.ledger-quick-entry .ledger-select-popover{top:auto;bottom:calc(100% + 8px);transform-origin:bottom;}.ledger-select-popover > button{width:100%;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:0;border-radius:9px;color:inherit;background:transparent;font:inherit;font-size:13px;line-height:20px;text-align:left;white-space:nowrap;cursor:pointer;}.ledger-select-popover > button:hover,.ledger-select-popover > button:focus-visible{outline:0;background:#f3f6f7;}.ledger-select-popover > button.is-selected{color:#214f70;background:#eaf2f6;font-weight:650;}.ledger-select-check{width:16px;height:16px;opacity:0;}.ledger-select-popover > button.is-selected .ledger-select-check{opacity:1;}@keyframes ledger-select-in{from{opacity:0;transform:translateY(-4px) scale(.99);}to{opacity:1;transform:translateY(0) scale(1);}}.budget-v4-table-wrap{min-height:460px;border-radius:20px;}.ledger-table-heading{min-width:1200px;min-height:52px;padding:0 18px;}.ledger-table-heading h3{font-size:16px;font-weight:700;line-height:24px;}.ledger-table-heading span{font-size:12px;line-height:18px;}.budget-v4-table{min-width:1200px;}.budget-v4-table th{height:38px;padding:0 14px;font-size:11.5px;font-weight:600;line-height:18px;}.budget-v4-table th:nth-child(1){width:240px;}.budget-v4-table th:nth-child(2){width:120px;}.budget-v4-table th:nth-child(3){width:100px;}.budget-v4-table th:nth-child(4){width:80px;}.budget-v4-table th:nth-child(5){width:64px;}.budget-v4-table th:nth-child(6),.budget-v4-table th:nth-child(7),.budget-v4-table th:nth-child(8){width:104px;}.budget-v4-table th:nth-child(9){width:104px;}.budget-v4-table th:nth-child(10){width:96px;}.budget-v4-table th:nth-child(11){width:80px;}.budget-v4-table td{height:54px;padding:0 14px;font-size:13px;line-height:20px;}.budget-v4-table td > input,.budget-v4-table .budget-v4-picker-trigger{position:relative;min-height:40px;box-sizing:border-box;padding:0 10px;border:1px solid transparent;border-radius:10px;font-size:13px;line-height:20px;}.budget-v4-table td > input:hover,.budget-v4-table td > input:focus,.budget-v4-table tbody tr:hover .budget-v4-picker-trigger{border-color:#d8d5cc;background:rgb(255 255 255 / 88%);}.budget-v4-table td > input:focus{outline:0;border-color:#2c5f87;box-shadow:0 0 0 3px rgb(44 95 135 / 12%);}.budget-v4-table .budget-v4-picker-trigger{padding-right:28px;}.budget-v4-table .budget-v4-picker-trigger .ledger-select-chevron{position:absolute;right:7px;width:16px;height:16px;opacity:0;transition:opacity 140ms ease;}.budget-v4-table tbody tr:hover .budget-v4-picker-trigger .ledger-select-chevron,.budget-v4-table .budget-v4-picker-trigger:focus-visible .ledger-select-chevron{opacity:1;}.budget-v4-table .budget-v4-derived,.budget-v4-table .budget-v4-actual strong,.budget-v4-table .budget-v4-status{font-size:13px;line-height:20px;}.budget-v4-table .budget-v4-more{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;line-height:18px;}.budget-v4-table .budget-v4-more .ledger-ui-icon{width:15px;height:15px;transition:transform 140ms ease;}.budget-v4-table .budget-v4-more:hover .ledger-ui-icon{transform:translateX(2px);}.budget-v4-table .ledger-category-divider th{height:26px;padding:0 14px;}.budget-v4-table .ledger-category-divider span,.budget-v4-table .ledger-category-divider small{font-size:11px;line-height:17px;}.budget-v4-picker{padding:24px;}.budget-v4-picker-backdrop{background:rgb(24 33 39 / 48%);backdrop-filter:blur(3px);}.budget-v4-picker-panel{width:min(600px,100%);max-height:min(75dvh,760px);box-sizing:border-box;overflow:auto;padding:0 20px 20px;border-color:rgb(36 49 58 / 12%);border-radius:22px;background:rgb(255 255 255 / 96%);box-shadow:0 24px 68px rgb(30 38 51 / 18%);backdrop-filter:blur(24px);}.budget-v4-picker-panel > header{position:sticky;z-index:4;top:0;align-items:center;margin:0 -2px 14px;padding:20px 2px 14px;background:rgb(255 255 255 / 96%);backdrop-filter:blur(20px);}.budget-v4-picker-panel header p{font-size:16px;font-weight:700;line-height:24px;}.budget-v4-picker-panel header small{font-size:12px;line-height:18px;}.budget-v4-picker-panel header > button{width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:50%;color:#42555f;background:#eef4f6;}.budget-v4-picker-search{gap:6px;font-size:12px;line-height:18px;}.budget-v4-picker-search-field{position:relative;display:block;}.budget-v4-picker-search-field > .ledger-ui-icon{position:absolute;z-index:1;top:11px;left:13px;color:#718087;}.budget-v4-picker-search input{width:100%;min-height:42px;box-sizing:border-box;padding:0 14px 0 42px;border:1px solid #d8d5cc;border-radius:11px;font-size:13px;}.budget-v4-picker-groups{gap:18px;margin-top:16px;}.budget-v4-picker-groups section h3{margin-bottom:8px;font-size:12px;font-weight:650;line-height:18px;}.budget-v4-picker-groups section > div{gap:8px;}.budget-v4-picker-option{min-height:52px;padding:9px 13px;border-color:#e1ded6;border-radius:12px;font-size:13px;line-height:20px;}.budget-v4-picker-option:hover{border-color:#aeb9bc;background:#f8faf9;}.budget-v4-picker-check{width:22px;height:22px;display:inline-grid;place-items:center;flex:0 0 22px;border-radius:50%;color:transparent;background:transparent;}.budget-v4-picker-option.is-selected .budget-v4-picker-check{color:#fff;background:#2c5f87;}.budget-v4-picker-check .ledger-ui-icon{width:14px;height:14px;}.ledger-category-help,.budget-v4-help{width:24px;height:24px;display:inline-grid;place-items:center;margin:0;padding:0;border:0;border-radius:7px;color:#718087;background:transparent;cursor:help;}.ledger-category-help{margin-left:4px;vertical-align:middle;}.ledger-category-help:hover,.budget-v4-help:hover{color:#2c5f87;background:#eaf2f6;}.ledger-category-help .ledger-ui-icon,.budget-v4-help .ledger-ui-icon{width:16px;height:16px;}.budget-v4-detail{top:16px;right:16px;bottom:16px;width:min(700px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:none;display:flex;flex-direction:column;overflow:auto;box-sizing:border-box;padding:0 22px;border-color:rgb(36 49 58 / 12%);border-radius:22px;background:rgb(255 255 255 / 96%);box-shadow:0 24px 68px rgb(30 38 51 / 18%);backdrop-filter:blur(24px);}.budget-v4-detail > *{flex-shrink:0;}.budget-v4-detail > header{position:sticky;z-index:5;top:0;min-height:86px;padding:14px 0;box-sizing:border-box;background:rgb(255 255 255 / 96%);backdrop-filter:blur(20px);}.budget-v4-detail header p{font-size:12px;line-height:18px;}.budget-v4-detail h2{margin-top:2px;font-size:24px;font-weight:720;line-height:32px;letter-spacing:-.015em;}.budget-v4-detail header > button{display:inline-flex;align-items:center;justify-content:center;color:#42555f;background:#eef4f6;font-size:0;}.budget-v4-detail header > button .ledger-ui-icon{width:18px;height:18px;}.budget-v4-detail-grid{gap:16px 14px;margin:16px 0 18px;}.budget-v4-detail-grid label{gap:6px;color:#596a72;font-size:12px;font-weight:600;line-height:18px;}.budget-v4-detail-grid :is(input:not([type="checkbox"]),select,textarea){width:100%;min-height:40px;box-sizing:border-box;padding:0 13px;border:1px solid #d8d5cc;border-radius:10px;color:#2f4049;background:rgb(255 255 255 / 88%);font:inherit;font-size:13px;font-weight:500;line-height:20px;}.budget-v4-detail-grid select{height:40px;padding-right:32px;cursor:pointer;}.budget-v4-detail-grid textarea{min-height:104px;padding-block:10px;}.budget-v4-detail-grid :is(input:not([type="checkbox"]),select,textarea):focus{outline:0;border-color:#2c5f87;box-shadow:0 0 0 3px rgb(44 95 135 / 14%);}.budget-v4-label-title{min-height:24px;gap:4px;}.ledger-base-choice{min-height:64px;align-content:center;padding:9px 12px;border:1px solid #e4e0d7;border-radius:12px;background:#f8f7f3;}.ledger-base-choice > span{display:flex;align-items:center;gap:8px;color:#344751;font-size:13px;}.ledger-base-choice input{width:17px;height:17px;min-height:17px;margin:0;padding:0;accent-color:#2c5f87;box-shadow:none;}.budget-v4-detail-more{margin:10px 0;padding:0 14px;border-color:#e4e0d7;border-radius:13px;background:#fbfaf7;}.budget-v4-detail-more summary{min-height:44px;justify-content:space-between;color:#344751;font-size:13px;font-weight:650;line-height:20px;list-style:none;}.budget-v4-detail-more summary::-webkit-details-marker{display:none;}.budget-v4-detail-more .ledger-summary-chevron{color:#718087;transition:transform 160ms ease;}.budget-v4-detail-more[open] .ledger-summary-chevron{transform:rotate(180deg);}.budget-v4-detail > footer{position:sticky;z-index:5;bottom:0;min-height:76px;box-sizing:border-box;margin:auto -2px 0;padding:14px 2px 16px;background:rgb(255 255 255 / 96%);backdrop-filter:blur(20px);font-size:12px;line-height:18px;}.budget-v4-detail footer > div{gap:8px;}.budget-v4-detail footer button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:11px;font-size:13px;font-weight:650;}.budget-v4-detail footer [data-v4-detail-save],.budget-v4-detail footer [data-v4-transaction-save]{border:1px solid #24313a;color:#fff;background:#24313a;}.budget-v4-detail footer .budget-v4-danger-button{border-color:transparent;color:#b44b48;background:transparent;}.ledger-item-created{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-radius:11px;color:#617078;background:#eef5f7;font-size:12px;}.ledger-new-dialog{inset:16px 16px 16px auto;width:min(700px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:none;margin:0;padding:0;overflow:hidden;border:1px solid rgb(36 49 58 / 12%);border-radius:22px;color:#24313a;background:rgb(255 255 255 / 97%);box-shadow:0 24px 68px rgb(30 38 51 / 22%);backdrop-filter:blur(24px);}.ledger-new-dialog::backdrop{background:rgb(24 33 39 / 48%);backdrop-filter:blur(3px);}.ledger-new-dialog > form{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;}.ledger-new-header{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;padding:16px 22px;border-bottom:1px solid rgb(36 49 58 / 8%);}.ledger-new-header :is(p,h2){margin:0;}.ledger-new-header p{color:#2c5f87;font-size:12px;font-weight:650;line-height:18px;}.ledger-new-header h2{margin-top:2px;font-size:24px;font-weight:720;line-height:32px;}.ledger-new-header > button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;color:#42555f;background:#eef4f6;cursor:pointer;}.ledger-new-content{min-height:0;overflow:auto;padding:2px 22px 20px;}.ledger-new-dialog .budget-v4-detail-grid{margin:16px 0;}.ledger-new-dialog .budget-v4-detail-grid > label{min-width:0;display:grid;gap:6px;color:#596a72;font-size:12px;font-weight:600;line-height:18px;}.ledger-new-dialog :is(input:not([type="checkbox"]),textarea){width:100%;min-height:40px;box-sizing:border-box;padding:0 13px;border:1px solid #d8d5cc;border-radius:10px;color:#2f4049;background:#fff;font:inherit;font-size:13px;line-height:20px;}.ledger-new-dialog textarea{min-height:104px;padding-block:10px;resize:vertical;}.ledger-new-dialog :is(input:not([type="checkbox"]),textarea):focus{outline:0;border-color:#2c5f87;box-shadow:0 0 0 3px rgb(44 95 135 / 14%);}.ledger-new-rooms{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:14px;border:1px solid #e1ded6;border-radius:13px;}.ledger-new-rooms legend{padding:0 6px;color:#596a72;font-size:12px;font-weight:600;}.ledger-new-rooms label{min-height:34px;display:inline-flex !important;grid-template-columns:none !important;align-items:center;gap:7px !important;padding:0 10px;border:1px solid #dedbd2;border-radius:999px;color:#40515a !important;background:#fff;font-size:12px !important;cursor:pointer;}.ledger-new-rooms label:has(input:checked){border-color:#2c5f87;color:#214f70 !important;background:#eaf2f6;}.ledger-new-dialog input[type="checkbox"]{width:17px;height:17px;min-height:17px;margin:0;padding:0;accent-color:#2c5f87;box-shadow:none;}.ledger-new-quantity{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.ledger-new-quantity > label{display:grid;gap:6px;}.ledger-zero-choice{min-height:40px;display:flex !important;align-items:center;gap:8px !important;align-self:end;padding:0 12px;border:1px solid #e1ded6;border-radius:10px;background:#fbfaf7;}.ledger-new-content > [role="alert"]{margin:0;color:#b44b48;font-size:12px;line-height:18px;}.ledger-new-dialog footer{min-height:76px;display:flex;align-items:center;justify-content:flex-end;gap:10px;box-sizing:border-box;margin:0;padding:14px 22px;border-top:1px solid rgb(36 49 58 / 8%);background:rgb(255 255 255 / 96%);}.ledger-new-dialog footer button{min-height:44px;min-width:104px;padding:0 16px;border:1px solid #d8d5cc;border-radius:11px;color:#344751;background:#fff;font:inherit;font-size:13px;font-weight:650;cursor:pointer;}.ledger-new-dialog footer button[type="submit"]{border-color:#24313a;color:#fff;background:#24313a;}.ledger-quick-entry-dock{min-height:80px;padding:14px;border-radius:20px;}.ledger-quick-entry-dock .ledger-quick-entry{min-height:52px;align-items:center;gap:9px;}.ledger-quick-lead{width:170px;flex-basis:170px;min-height:48px;display:flex;align-items:center;gap:10px;padding:0 4px;}.ledger-quick-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;border:1px solid rgb(255 217 26 / 30%);border-radius:10px;color:#ffd91a;background:rgb(255 217 26 / 10%);}.ledger-quick-icon .ledger-ui-icon{width:18px;height:18px;}.ledger-quick-lead > span:last-child{min-width:0;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:2px 6px;}.ledger-quick-lead strong{font-size:12px;line-height:18px;}.ledger-quick-lead small{padding:1px 5px;border-radius:999px;color:#c5d2d8;background:rgb(255 255 255 / 9%);font-size:9px;font-weight:500;line-height:14px;}.ledger-quick-entry-dock .ledger-quick-entry .ledger-quick-lead [role="status"]{grid-column:1 / -1;max-width:120px;color:#9fb1ba;font-size:9px;font-style:normal;line-height:14px;}.ledger-quick-entry-dock .ledger-quick-entry > label{height:48px;gap:0;padding:5px 12px;border-radius:12px;font-size:9px;line-height:14px;}.ledger-quick-entry-dock .ledger-quick-entry :is(input,select){min-height:24px;font-size:13px;line-height:20px;}.ledger-quick-entry-dock .ledger-quick-entry > label .ledger-select-shell{margin-top:0;}.ledger-quick-entry-dock .ledger-quick-entry .ledger-select-trigger{height:24px;min-height:24px;padding:0;border:0;border-radius:0;color:#fff;background:transparent;box-shadow:none;font-size:13px;line-height:20px;}.ledger-quick-entry-dock .ledger-quick-entry .ledger-select-chevron{width:16px;height:16px;color:#a9bac2;}.ledger-quick-entry-dock .ledger-quick-entry > button{min-height:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;font-size:12px;line-height:18px;}.ledger-quick-entry-dock .ledger-quick-entry > button .ledger-ui-icon{width:16px;height:16px;}.ledger-quick-entry-dock .ledger-quick-entry > button[type="submit"]::after{content:none;}.ledger-floating-add{gap:7px;}.ledger-floating-add > span{font-size:12px;font-weight:650;line-height:18px;}.ledger-floating-add .ledger-ui-icon{width:18px;height:18px;}.budget-v4-modal header > :is([data-v4-template-close],[data-v4-quantity-close]){width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;color:#42555f;background:#eef4f6;font-size:0;}.budget-v4-modal header > :is([data-v4-template-close],[data-v4-quantity-close]) .ledger-ui-icon{width:18px;height:18px;}:is(.ledger-select-trigger,.ledger-filter-action,.budget-v4-picker-option,.budget-v4-more,.ledger-new-dialog button,.budget-v4-detail button):focus-visible{outline:0;box-shadow:0 0 0 3px rgb(44 95 135 / 16%);}@media (max-width:1180px){.ledger-filter-workbench .ledger-filters.is-open{grid-template-columns:repeat(3,minmax(140px,1fr)) auto auto;}.ledger-column-settings{grid-column:auto;}}@media (max-width:767px){.budget-v4-hero{padding:16px;}.budget-v4-heading h2{font-size:24px;line-height:32px;}.budget-v4-heading > span{font-size:12px;line-height:19px;}.budget-v4-hero .budget-v4-tabs button{min-height:44px;}.budget-v4-overview > div{min-height:104px;padding:14px;}.ledger-filter-workbench{gap:10px;padding:10px;}.ledger-filter-workbench .ledger-filters.is-open{grid-template-columns:repeat(2,minmax(0,1fr));}.ledger-filter-action,.ledger-column-settings > summary{width:100%;}.ledger-column-popover{position:fixed;top:auto;right:12px;bottom:76px;left:12px;width:auto;}.budget-v4-picker{padding:12px 12px 0;}.budget-v4-picker-panel{width:100%;max-height:calc(100dvh - 12px);border-radius:18px 18px 0 0;}.budget-v4-picker-groups section > div{grid-template-columns:1fr;}.budget-v4-detail,.ledger-new-dialog{inset:0;width:100vw;height:100dvh;max-width:none;border:0;border-radius:0;}.budget-v4-detail{padding-inline:16px;}.budget-v4-detail-grid{grid-template-columns:1fr;}.budget-v4-detail-wide,.ledger-new-rooms,.ledger-new-quantity{grid-column:1;}.ledger-new-header,.ledger-new-dialog footer{padding-inline:16px;}.ledger-new-content{padding-inline:16px;}.ledger-new-quantity{grid-template-columns:1fr;}}@media (prefers-reduced-motion:reduce){.ledger-select-popover{animation:none;}.ledger-select-chevron,.ledger-summary-chevron,.budget-v4-table .budget-v4-more .ledger-ui-icon{transition:none;}}.budget-v4-shell{--ledger-paper:#f8f7f3;--ledger-glass:rgb(255 255 255 / 74%);--ledger-glass-strong:rgb(255 255 255 / 88%);--ledger-glass-border:rgb(255 255 255 / 85%);--ledger-glass-shadow:0 8px 32px rgb(142 136 122 / 7%),inset 0 1px 0 rgb(255 255 255 / 90%);--ledger-glass-shadow-hover:0 14px 34px -4px rgb(142 136 122 / 14%),inset 0 1px 0 rgb(255 255 255 / 95%);--ledger-motion-ease:cubic-bezier(.16,1,.3,1);--ledger-yellow:#ffd91a;--ledger-yellow-edge:#efc900;}body[data-current-page="budget"] .main-content{position:relative;background:radial-gradient(circle at 68% -8%,rgb(251 191 36 / 14%),transparent 34%),radial-gradient(circle at 21% 88%,rgb(186 230 253 / 20%),transparent 32%),radial-gradient(circle at 38% 92%,rgb(167 243 208 / 10%),transparent 25%),var(--ledger-paper,#f8f7f3);}@media (min-width:768px){.budget-v4-hero{min-height:142px;padding:2px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}.budget-v4-hero .budget-v4-topbar{min-height:92px;}.budget-v4-project-switch{min-height:32px;gap:5px;padding:0 12px;border:1px solid rgb(125 211 252 / 55%);border-radius:999px;color:#1e638c;background:rgb(240 249 255 / 76%);box-shadow:0 5px 16px rgb(14 116 144 / 5%),inset 0 1px rgb(255 255 255 / 82%);backdrop-filter:blur(12px) saturate(160%);-webkit-backdrop-filter:blur(12px) saturate(160%);transition:transform 180ms var(--ledger-motion-ease),border-color 180ms ease,background-color 180ms ease;}.budget-v4-project-switch:hover{transform:translateY(-1px);border-color:rgb(56 189 248 / 65%);background:rgb(224 242 254 / 84%);}.budget-v4-actions > :is(button,.budget-v4-total-budget){border-color:var(--ledger-glass-border);border-radius:999px;background:var(--ledger-glass);box-shadow:var(--ledger-glass-shadow);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);}.budget-v4-actions > .budget-v4-primary{border-color:rgb(239 201 0 / 86%);background:linear-gradient(135deg,#ffe23a,#ffd50b);box-shadow:0 8px 22px rgb(237 178 0 / 20%),inset 0 1px rgb(255 255 255 / 46%);}}.budget-v4-hero .budget-v4-tabs button,.budget-v4-actions > button,.budget-v4-toolbar button,.ledger-filter-action,.ledger-column-settings > summary,.budget-v4-picker-option,.budget-v4-detail button,.ledger-new-dialog button,.ledger-floating-add{transition:transform 180ms var(--ledger-motion-ease),color 180ms ease,background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease;}.budget-v4-hero .budget-v4-tabs button:active,.budget-v4-actions > button:active,.budget-v4-toolbar button:active,.ledger-filter-action:active,.ledger-column-settings > summary:active,.budget-v4-picker-option:active,.budget-v4-detail button:active,.ledger-new-dialog button:active,.ledger-floating-add:active{transform:scale(.975);}.budget-v4-overview > div{position:relative;overflow:hidden;border-color:var(--ledger-glass-border);background:var(--ledger-glass);box-shadow:var(--ledger-glass-shadow);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);transition:transform 280ms var(--ledger-motion-ease),box-shadow 280ms var(--ledger-motion-ease),border-color 280ms ease;}.budget-v4-overview > div:hover{z-index:1;transform:translateY(-2px);border-color:rgb(255 255 255 / 96%);box-shadow:var(--ledger-glass-shadow-hover);}.budget-v4-overview > div.is-total{border-color:rgb(251 191 36 / 72%);background:linear-gradient(135deg,#ffe33a 0%,#ffd50b 100%);box-shadow:0 10px 28px rgb(237 178 0 / 18%),inset 0 1px rgb(255 255 255 / 46%);}.budget-v4-overview > div.is-total::after{content:'';position:absolute;right:-28px;bottom:-38px;width:118px;height:118px;border-radius:50%;background:rgb(255 255 255 / 20%);filter:blur(18px);pointer-events:none;transition:transform 500ms var(--ledger-motion-ease);}.budget-v4-overview > div.is-total:hover::after{transform:scale(1.25);}.ledger-filter-workbench{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}.budget-v4-search > input,.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle),.ledger-filter-workbench .ledger-category-rail button,.ledger-filter-action,.ledger-column-settings > summary{border-color:var(--ledger-glass-border);background:var(--ledger-glass);box-shadow:0 5px 18px rgb(142 136 122 / 6%),inset 0 1px rgb(255 255 255 / 84%);backdrop-filter:blur(18px) saturate(175%);-webkit-backdrop-filter:blur(18px) saturate(175%);}.budget-v4-search > input{border-radius:999px;}.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle):hover,.ledger-filter-workbench .ledger-category-rail button:hover,.ledger-filter-action:hover,.ledger-column-settings > summary:hover{transform:translateY(-1px);border-color:rgb(255 255 255 / 96%);background:rgb(255 255 255 / 91%);box-shadow:0 9px 22px rgb(142 136 122 / 10%),inset 0 1px #fff;}.ledger-filter-workbench .ledger-category-rail button[aria-pressed="true"]{border-color:#1e242b;color:#fff;background:#1e242b;box-shadow:0 7px 18px rgb(30 36 43 / 18%);}.ledger-filter-workbench .ledger-filters.is-open{border-top-color:rgb(214 209 194 / 50%);}.ledger-select-trigger{border-color:rgb(214 209 194 / 58%);background:rgb(255 255 255 / 68%);box-shadow:inset 0 1px rgb(255 255 255 / 76%);backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%);transition:border-color 180ms ease,background-color 180ms ease,box-shadow 180ms ease;}.ledger-select-popover,.ledger-column-popover{border-color:rgb(255 255 255 / 88%);background:rgb(255 255 255 / 86%);box-shadow:0 22px 54px rgb(30 38 51 / 16%),inset 0 1px rgb(255 255 255 / 94%);backdrop-filter:blur(24px) saturate(185%);-webkit-backdrop-filter:blur(24px) saturate(185%);}.ledger-select-popover{animation-duration:180ms;animation-timing-function:var(--ledger-motion-ease);}@media (min-width:1181px){.ledger-filter-workbench .ledger-filters.is-open{display:flex;align-items:center;gap:12px;padding-top:5px;border-top:0;}.ledger-filter-workbench .ledger-filters > label{width:auto;display:flex;align-items:center;flex:0 1 auto;gap:6px;white-space:nowrap;}.ledger-filter-workbench .ledger-filters > label .ledger-select-shell{width:94px;}.ledger-filter-workbench .ledger-filters > label:nth-of-type(5) .ledger-select-shell{width:116px;}.ledger-filter-workbench .ledger-filters .ledger-select-trigger,.ledger-filter-workbench .ledger-filter-action,.ledger-filter-workbench .ledger-column-settings > summary{min-height:36px;height:36px;}}.budget-v4-table-wrap{border-color:var(--ledger-glass-border);background:rgb(255 255 255 / 76%);box-shadow:0 12px 34px rgb(142 136 122 / 9%),inset 0 1px rgb(255 255 255 / 92%);backdrop-filter:blur(20px) saturate(175%);-webkit-backdrop-filter:blur(20px) saturate(175%);transition:box-shadow 280ms var(--ledger-motion-ease),border-color 280ms ease;}@media (min-width:1181px){.ledger-table-heading,.budget-v4-table{min-width:1120px;}}.budget-v4-table-wrap:hover{border-color:rgb(255 255 255 / 96%);box-shadow:0 16px 38px rgb(142 136 122 / 11%),inset 0 1px #fff;}.ledger-table-heading{border-bottom:1px solid rgb(226 232 240 / 62%);background:rgb(255 255 255 / 30%);}.budget-v4-table th{background:rgb(241 245 249 / 45%);}.budget-v4-table tbody tr:not(.ledger-category-divider) td{transition:background-color 150ms ease;}.budget-v4-table tbody tr:not(.ledger-category-divider):hover td{background:rgb(255 251 235 / 54%);}.budget-v4-table .budget-v4-more .ledger-ui-icon{transition-duration:200ms;transition-timing-function:var(--ledger-motion-ease);}.budget-v4-table .budget-v4-more:hover .ledger-ui-icon{transform:translateX(4px);}.ledger-quick-entry-dock{border:1px solid rgb(255 255 255 / 12%);background:rgb(30 34 42 / 86%);box-shadow:0 20px 48px -6px rgb(0 0 0 / 32%),inset 0 1px rgb(255 255 255 / 15%);backdrop-filter:blur(24px) saturate(190%);-webkit-backdrop-filter:blur(24px) saturate(190%);transition:transform 240ms var(--ledger-motion-ease),box-shadow 240ms ease;}.ledger-quick-entry-dock:hover{transform:translateY(-1px);box-shadow:0 24px 54px -7px rgb(0 0 0 / 35%),inset 0 1px rgb(255 255 255 / 18%);}.ledger-quick-entry-dock .ledger-quick-entry > label{border-color:rgb(148 163 184 / 42%);background:rgb(42 49 60 / 90%);transition:border-color 180ms ease,background-color 180ms ease,box-shadow 180ms ease;}.ledger-quick-entry-dock .ledger-quick-entry > label:focus-within{border-color:rgb(255 217 26 / 82%);background:rgb(48 56 68 / 94%);box-shadow:0 0 0 2px rgb(255 217 26 / 13%);}.ledger-quick-entry-dock .ledger-quick-entry > .ledger-quick-detail{border-color:rgb(255 255 255 / 80%);background:rgb(255 255 255 / 94%);box-shadow:0 6px 16px rgb(0 0 0 / 10%);}.ledger-quick-entry-dock .ledger-quick-entry > button[type="submit"]{background:linear-gradient(135deg,#ffe23a,#ffd50b);box-shadow:0 8px 22px rgb(237 178 0 / 24%),inset 0 1px rgb(255 255 255 / 46%);}.budget-v4-picker-backdrop,.ledger-drawer-backdrop,.ledger-new-dialog::backdrop{animation:ledger-backdrop-in 180ms ease-out both;}.budget-v4-picker-panel,.ledger-new-dialog{animation:ledger-overlay-up 280ms var(--ledger-motion-ease) both;}.budget-v4-detail{animation:ledger-drawer-in 300ms var(--ledger-motion-ease) both;}.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-dialog{border-color:rgb(255 255 255 / 88%);background:rgb(255 255 255 / 86%);box-shadow:0 26px 72px rgb(30 38 51 / 22%),inset 0 1px rgb(255 255 255 / 94%);backdrop-filter:blur(26px) saturate(185%);-webkit-backdrop-filter:blur(26px) saturate(185%);}.budget-v4-picker-panel > header,.budget-v4-detail > header,.budget-v4-detail > footer,.ledger-new-dialog footer{background:rgb(255 255 255 / 72%);backdrop-filter:blur(22px) saturate(170%);-webkit-backdrop-filter:blur(22px) saturate(170%);}@keyframes ledger-smooth-fade-up{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}@keyframes ledger-overlay-up{from{opacity:0;transform:translateY(8px) scale(.992);}to{opacity:1;transform:translateY(0) scale(1);}}@keyframes ledger-drawer-in{from{opacity:0;transform:translateX(12px);}to{opacity:1;transform:translateX(0);}}@keyframes ledger-backdrop-in{from{opacity:0;}to{opacity:1;}}.budget-v4-shell.ledger-enter > .budget-v4-hero,.budget-v4-shell.ledger-enter > .budget-v4-overview,.budget-v4-shell.ledger-enter .ledger-filter-workbench,.budget-v4-shell.ledger-enter .budget-v4-table-wrap,.budget-v4-shell.ledger-enter .ledger-quick-entry-dock{animation:ledger-smooth-fade-up 500ms var(--ledger-motion-ease) both;}.budget-v4-shell.ledger-enter > .budget-v4-overview{animation-delay:50ms;}.budget-v4-shell.ledger-enter .ledger-filter-workbench{animation-delay:120ms;}.budget-v4-shell.ledger-enter .budget-v4-table-wrap{animation-delay:180ms;}.budget-v4-shell.ledger-enter .ledger-quick-entry-dock{animation-delay:240ms;}body[data-current-page="budget"] :is(.page-content,.budget-v4-table-wrap,.ledger-select-popover,.ledger-column-popover,.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-content){scrollbar-width:thin;scrollbar-color:rgb(180 180 175 / 45%) transparent;}body[data-current-page="budget"] :is(.page-content,.budget-v4-table-wrap,.ledger-select-popover,.ledger-column-popover,.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-content)::-webkit-scrollbar{width:6px;height:6px;}body[data-current-page="budget"] :is(.page-content,.budget-v4-table-wrap,.ledger-select-popover,.ledger-column-popover,.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-content)::-webkit-scrollbar-track{background:transparent;}body[data-current-page="budget"] :is(.page-content,.budget-v4-table-wrap,.ledger-select-popover,.ledger-column-popover,.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-content)::-webkit-scrollbar-thumb{border-radius:999px;background:rgb(180 180 175 / 45%);}@media (max-width:767px){.budget-v4-hero{border-color:var(--ledger-glass-border);background:var(--ledger-glass);box-shadow:var(--ledger-glass-shadow);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);}.ledger-filter-workbench{padding:8px;border-radius:16px;background:rgb(255 255 255 / 40%);}.budget-v4-overview > div:hover,.ledger-quick-entry-dock:hover{transform:none;}}@media (prefers-reduced-motion:reduce){.budget-v4-shell.ledger-enter > .budget-v4-hero,.budget-v4-shell.ledger-enter > .budget-v4-overview,.budget-v4-shell.ledger-enter .ledger-filter-workbench,.budget-v4-shell.ledger-enter .budget-v4-table-wrap,.budget-v4-shell.ledger-enter .ledger-quick-entry-dock,.budget-v4-picker-backdrop,.ledger-drawer-backdrop,.ledger-new-dialog::backdrop,.budget-v4-picker-panel,.ledger-new-dialog,.budget-v4-detail{animation:none;}.budget-v4-overview > div,.budget-v4-overview > div.is-total::after,.ledger-quick-entry-dock,}@media (min-width:1181px){body[data-current-page="budget"] .page-content{padding-top:10px;}.budget-v4-shell{gap:16px;}.budget-v4-hero{min-height:137px;gap:8px;padding:2px 0 0;}.budget-v4-hero .budget-v4-topbar{min-height:82px;align-items:flex-start;}.budget-v4-topbar > .budget-v4-heading{gap:4px;}.budget-v4-project-switch{min-height:24px;padding:0 11px;font-size:12px;line-height:18px;}.budget-v4-project-switch .ledger-ui-icon{width:14px;height:14px;}.budget-v4-heading h2{font-size:24px;font-weight:800;line-height:30px;letter-spacing:-.035em;}.budget-v4-heading > span{font-size:12px;line-height:18px;}.budget-v4-topbar > .budget-v4-actions{align-items:center;gap:10px;padding-top:0;}.budget-v4-actions > :is(button,.budget-v4-total-budget){min-height:34px;height:34px;border-radius:999px;}.budget-v4-actions > button{gap:0;padding:0 16px;font-size:12px;line-height:18px;}.budget-v4-actions > .budget-v4-primary{min-width:134px;padding-inline:18px;}.budget-v4-actions > .budget-v4-primary::before{content:'+';margin-right:6px;font-size:15px;font-weight:500;line-height:1;}.budget-v4-topbar label.budget-v4-total-budget{width:132px;gap:4px;padding:0 12px;font-size:11px;line-height:18px;}.budget-v4-total-budget > input{width:66px;min-height:20px;height:20px;font-size:13px;line-height:20px;}.budget-v4-hero .budget-v4-tabs{min-height:30px;height:30px;gap:8px;padding:0;}.budget-v4-hero .budget-v4-tabs button{min-height:28px;height:28px;gap:0;padding:0 16px;font-size:12px;line-height:18px;}.budget-v4-overview{gap:14px;}.budget-v4-overview > div{min-height:128px;justify-content:space-between;gap:4px;padding:20px;border-radius:16px;}.budget-v4-overview span{font-size:12px;line-height:18px;}.budget-v4-overview strong{font-size:24px;line-height:30px;}.budget-v4-overview .is-total strong{font-size:28px;line-height:34px;}.budget-v4-overview small{font-size:11px;line-height:17px;}.budget-v4-budget-pane{gap:16px;padding-bottom:104px;}.ledger-filter-workbench{gap:8px;}.ledger-filter-workbench .budget-v4-toolbar{min-height:32px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;display:flex;align-items:center;flex-wrap:nowrap;gap:12px;}.budget-v4-toolbar label.budget-v4-search{position:relative;width:320px;flex:0 0 320px;}.budget-v4-search > span:first-of-type:not(.budget-v4-toolbar-count){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}.budget-v4-search > .icon-inline{top:50%;left:14px;width:16px;height:16px;transform:translateY(-50%);}.budget-v4-search > input{min-height:30px;height:30px;padding:0 76px 0 38px;border-radius:999px;font-size:12px;line-height:18px;}.budget-v4-search > .budget-v4-toolbar-count{position:absolute;right:14px;top:50%;color:#8a9499;font-size:11px;font-weight:500;line-height:16px;white-space:nowrap;transform:translateY(-50%);pointer-events:none;}.budget-v4-toolbar-categories{min-width:0;flex:1 1 auto;overflow:hidden;}.budget-v4-toolbar-categories .ledger-category-rail{width:100%;max-width:100%;min-width:0;overflow:hidden;}.budget-v4-toolbar-categories .ledger-category-rail > div{width:100%;max-width:100%;min-width:0;gap:6px;padding:1px 0;}.budget-v4-toolbar-categories .ledger-category-rail button{min-height:28px;height:28px;padding:0 10px;font-size:11px;line-height:16px;}.budget-v4-toolbar-categories .ledger-category-rail button small{font-size:10px;line-height:14px;}.budget-v4-toolbar-actions{flex:0 0 auto;gap:6px;margin-left:0;}.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle){min-height:28px;height:28px;gap:0;padding:0 10px;border-radius:8px;font-size:11px;line-height:16px;}.ledger-filter-workbench .ledger-filters.is-open{align-items:center;gap:12px;padding:3px 0 0;}.ledger-filter-workbench .ledger-filters > label{gap:5px;font-size:11px;line-height:16px;}.ledger-filter-workbench .ledger-filters > label .ledger-select-shell{width:88px;}.ledger-filter-workbench .ledger-filters > label:nth-of-type(5) .ledger-select-shell{width:104px;}.ledger-filter-workbench .ledger-filters .ledger-select-trigger,.ledger-filter-workbench .ledger-filter-action,.ledger-filter-workbench .ledger-column-settings > summary{min-height:28px;height:28px;padding:0 9px;border-radius:8px;font-size:11px;line-height:16px;}.ledger-filter-workbench .ledger-filter-action.is-quiet,.ledger-filter-workbench .ledger-column-settings > summary{border-color:transparent;background:transparent;box-shadow:none;backdrop-filter:none;}.ledger-column-caret{display:inline-block;color:#7b878d;font-size:9px;transition:transform 160ms ease;}.ledger-column-settings[open] .ledger-column-caret{transform:rotate(90deg);}.budget-v4-table-wrap{min-height:0;overflow-x:hidden;border-radius:16px;}.ledger-table-heading,.budget-v4-table{width:100%;min-width:100%;}.budget-v4-table th:nth-child(1){width:206px;}.budget-v4-table th:nth-child(2){width:116px;}.budget-v4-table th:nth-child(3){width:92px;}.budget-v4-table th:nth-child(4){width:76px;}.budget-v4-table th:nth-child(5){width:52px;}.budget-v4-table th:nth-child(6){width:86px;}.budget-v4-table th:nth-child(7){width:92px;}.budget-v4-table th:nth-child(8){width:86px;}.budget-v4-table th:nth-child(9){width:92px;}.budget-v4-table th:nth-child(11){width:94px;}.budget-v4-table .budget-v4-picker-trigger{padding-left:0;padding-right:20px;}.ledger-quick-entry-dock{position:fixed;left:256px;right:0;margin-left:auto;margin-right:auto;bottom:16px;width:fit-content;max-width:calc(100% - 288px);min-height:72px;padding:12px 20px;border-radius:16px;}.ledger-quick-entry-dock .ledger-quick-entry{min-height:48px;gap:8px;flex-wrap:nowrap;}.ledger-quick-lead{width:144px;flex:0 0 144px;min-height:44px;padding:0;}.ledger-quick-lead > span:last-child{display:grid;grid-template-columns:auto auto;gap:2px 7px;}.ledger-quick-lead strong{font-size:13px;line-height:18px;}.ledger-quick-lead i{width:6px;height:6px;border-radius:50%;background:var(--ledger-yellow);}.ledger-quick-entry-dock .ledger-quick-entry .ledger-quick-lead [role="status"]{grid-column:1 / -1;max-width:144px;font-size:10px;line-height:14px;}.ledger-quick-entry-dock .ledger-quick-entry > label{height:44px;padding:4px 12px;border-radius:12px;}.ledger-quick-entry-dock .ledger-quick-entry > label:first-of-type{width:250px;min-width:140px;max-width:250px;flex:0 1 250px;}.ledger-quick-entry-dock .ledger-quick-entry > label:nth-of-type(2){width:132px;flex:0 0 132px;}.ledger-quick-entry-dock .ledger-quick-entry > label:nth-of-type(3){width:116px;flex:0 0 116px;}.ledger-quick-entry-dock .ledger-quick-entry > label:nth-of-type(4){width:132px;flex:0 0 132px;}.ledger-quick-entry-dock .ledger-quick-entry :is(input,select){min-height:22px;font-size:12px;line-height:18px;}.ledger-quick-entry-dock .ledger-quick-entry > :is(.ledger-quick-detail,button[type="submit"]){min-height:40px;height:40px;}.ledger-quick-entry-dock .ledger-quick-entry > .ledger-quick-detail{width:96px;flex:0 0 96px;}.ledger-quick-entry-dock .ledger-quick-entry > button[type="submit"]{width:auto;min-width:148px;flex:0 0 auto;white-space:nowrap;padding-inline:16px;}.ledger-quick-entry-dock .ledger-quick-entry > button[type="submit"]::after{content:' ↵';margin-left:4px;}}@media (min-width:768px){.budget-v4-detail{bottom:auto;height:auto;max-height:calc(100dvh - 32px);background:rgb(255 255 255 / 88%);}.budget-v4-detail > header{min-height:78px;background:transparent;backdrop-filter:none;}.budget-v4-detail > footer{min-height:68px;margin:16px -2px 0;padding-block:12px;background:transparent;backdrop-filter:none;}}.budget-v4-project-switch,.budget-v4-actions > :is(button,.budget-v4-total-budget),.budget-v4-search > input,.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle),.ledger-filter-workbench .ledger-category-rail button,.ledger-select-trigger{backdrop-filter:none;-webkit-backdrop-filter:none;}.budget-v4-project-switch{background:rgb(240 249 255 / 68%);box-shadow:inset 0 1px rgb(255 255 255 / 72%);}.budget-v4-actions > :is(button,.budget-v4-total-budget){border-color:rgb(218 214 203 / 68%);background:rgb(255 255 255 / 58%);box-shadow:0 3px 12px rgb(142 136 122 / 5%),inset 0 1px rgb(255 255 255 / 72%);}.budget-v4-actions > .budget-v4-primary{border-color:rgb(239 201 0 / 86%);background:linear-gradient(135deg,#ffe23a,#ffd50b);box-shadow:0 6px 16px rgb(237 178 0 / 17%),inset 0 1px rgb(255 255 255 / 44%);}.budget-v4-overview > div:not(.is-total){border-color:rgb(255 255 255 / 68%);background:rgb(255 255 255 / 58%);box-shadow:0 7px 24px rgb(142 136 122 / 6%),inset 0 1px rgb(255 255 255 / 76%);}.budget-v4-search > input,.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle),.ledger-filter-workbench .ledger-category-rail button{border-color:rgb(214 209 194 / 62%);background:rgb(255 255 255 / 46%);box-shadow:inset 0 1px rgb(255 255 255 / 64%);}.ledger-filter-workbench .ledger-category-rail button[aria-pressed="true"]{border-color:#1e242b;background:#1e242b;box-shadow:0 4px 12px rgb(30 36 43 / 14%);}.ledger-select-trigger{border-color:rgb(214 209 194 / 68%);background:rgb(255 255 255 / 52%);box-shadow:inset 0 1px rgb(255 255 255 / 66%);}.budget-v4-table-wrap{border-color:rgb(255 255 255 / 72%);background:rgb(255 255 255 / 58%);box-shadow:0 10px 28px rgb(142 136 122 / 7%),inset 0 1px rgb(255 255 255 / 78%);backdrop-filter:blur(14px) saturate(155%);-webkit-backdrop-filter:blur(14px) saturate(155%);}.budget-v4-table-wrap:hover{border-color:rgb(255 255 255 / 78%);box-shadow:0 10px 28px rgb(142 136 122 / 7%),inset 0 1px rgb(255 255 255 / 78%);}.ledger-table-heading{background:rgb(255 255 255 / 22%);}.budget-v4-table th{background:rgb(241 245 249 / 38%);}.ledger-quick-entry-dock{background:rgb(30 34 42 / 92%);box-shadow:0 16px 38px -7px rgb(0 0 0 / 28%),inset 0 1px rgb(255 255 255 / 12%);backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%);}.ledger-quick-entry-dock:hover{transform:none;box-shadow:0 16px 38px -7px rgb(0 0 0 / 28%),inset 0 1px rgb(255 255 255 / 12%);}.budget-v4-actions > button,.budget-v4-hero .budget-v4-tabs button,.budget-v4-toolbar button,.ledger-filter-action,.ledger-column-settings > summary,.budget-v4-picker-option,.budget-v4-detail button,.ledger-new-dialog button{transition-duration:120ms;}.budget-v4-overview > div{contain:paint;transition-duration:160ms;}.budget-v4-actions > button > span,.budget-v4-hero .budget-v4-tabs button > span,.budget-v4-toolbar-actions > button > span,.ledger-filter-workbench .ledger-category-rail button > :is(span,small),.ledger-filter-action > span,.ledger-column-settings > summary > span{display:inline-flex;align-items:center;line-height:1;}.budget-v4-actions > :is(button,label),.budget-v4-hero .budget-v4-tabs button,.budget-v4-toolbar-actions > button,.ledger-filter-workbench .ledger-category-rail button,.ledger-filter-action,.ledger-column-settings > summary{align-items:center;justify-content:center;}.budget-v4-table :is(th,td){vertical-align:middle;}.budget-v4-table td > :is(button,input){margin-block:0;}.budget-v4-picker-backdrop,.ledger-drawer-backdrop,.ledger-new-dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;animation-duration:120ms;}.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-dialog{border-color:rgb(255 255 255 / 72%);background:#FFFFFF;box-shadow:0 22px 58px rgb(30 38 51 / 18%);backdrop-filter:none;-webkit-backdrop-filter:none;animation-duration:170ms;}.budget-v4-picker-panel > header,.budget-v4-detail > header,.budget-v4-detail > footer,.ledger-new-dialog footer{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;}.budget-v4-picker-panel > header{border-bottom:1px solid rgb(36 49 58 / 7%);}.budget-v4-picker-option,.budget-v4-detail-grid :is(input:not([type="checkbox"]),textarea),.ledger-new-dialog :is(input:not([type="checkbox"]),textarea),.ledger-new-rooms label,.ledger-base-choice,.budget-v4-detail-more,.ledger-zero-choice{border-color:rgb(211 208 198 / 68%);background:#FFFFFF;box-shadow:none;}.ledger-item-created{background:rgb(232 244 247 / 62%);}@media (hover:hover){.budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle):hover,.ledger-filter-workbench .ledger-category-rail button:hover,.ledger-filter-action:hover,.ledger-column-settings > summary:hover{transform:none;border-color:rgb(201 198 188 / 78%);background:rgb(255 255 255 / 70%);box-shadow:inset 0 1px rgb(255 255 255 / 76%);}}.budget-v4-shell.ledger-enter > .budget-v4-hero,.budget-v4-shell.ledger-enter > .budget-v4-overview,.budget-v4-shell.ledger-enter .ledger-filter-workbench,.budget-v4-shell.ledger-enter .budget-v4-table-wrap,.budget-v4-shell.ledger-enter .ledger-quick-entry-dock{animation-duration:260ms;animation-delay:0ms;}@media (max-width:767px){.budget-v4-budget-pane > .ledger-filter-workbench{display:none;}.budget-v4-hero,.budget-v4-overview > div,.budget-v4-table-wrap{backdrop-filter:none;-webkit-backdrop-filter:none;}}@media (min-width:1181px){body[data-current-page="budget"] .page-content{overflow-x:hidden;}.ledger-filter-workbench .ledger-filters.is-open{align-items:flex-end;}.ledger-filter-workbench .ledger-filters.is-open > .ledger-filter-action,.ledger-filter-workbench .ledger-filters.is-open > .ledger-column-settings{align-self:flex-end;}.ledger-filter-workbench .ledger-filters.is-open > .ledger-filter-action{min-height:28px;height:28px;}}.ledger-detail-form{display:grid;gap:12px;margin:14px 0 18px;}.ledger-detail-section{min-width:0;padding:0 0 12px;border-bottom:1px solid rgb(36 49 58 / 8%);}.ledger-detail-section-heading{min-height:22px;display:flex;align-items:center;margin:0 0 8px;}.ledger-detail-section-heading h3{margin:0;color:#2f4049;font-size:13px;font-weight:720;line-height:20px;}.ledger-detail-section .budget-v4-detail-grid{gap:10px 14px;margin:0;}.ledger-detail-section .budget-v4-detail-grid > label{min-width:0;gap:4px;font-size:11px;line-height:16px;}.ledger-detail-section .budget-v4-label-title{min-height:18px;}.ledger-detail-section .ledger-schema-help{min-height:15px;margin:0;color:#758188;font-size:10px;font-weight:500;line-height:15px;}.ledger-detail-section .ledger-new-rooms{gap:6px;padding:10px 12px 12px;border-radius:12px;}.ledger-detail-section .ledger-new-rooms legend{font-size:11px;}.ledger-detail-section .ledger-new-rooms > .ledger-schema-help{flex-basis:100%;order:10;}.ledger-detail-section .ledger-new-rooms label{min-height:31px;padding-inline:9px;font-size:11px !important;}.ledger-detail-budget .ledger-zero-choice{grid-column:1 / -1;min-height:54px;box-sizing:border-box;align-self:auto;padding:8px 12px;}.ledger-detail-section .ledger-zero-choice > span,.ledger-detail-section .ledger-base-choice > span{min-width:0;display:grid;gap:1px;}.ledger-detail-section :is(.ledger-zero-choice,.ledger-base-choice) strong{color:#34444d;font-size:12px;font-weight:680;line-height:18px;}.ledger-detail-section :is(.ledger-zero-choice,.ledger-base-choice) small{color:#758188;font-size:10px;font-weight:500;line-height:15px;}.ledger-detail-section .ledger-base-choice{min-height:54px;display:flex !important;align-items:center;gap:8px !important;box-sizing:border-box;padding:8px 12px;}.ledger-detail-section .ledger-base-choice > input,.ledger-detail-section .ledger-zero-choice > input{width:17px;height:17px;min-height:17px;flex:0 0 17px;margin:0;padding:0;accent-color:#2c5f87;box-shadow:none;}.ledger-detail-form > .budget-v4-detail-more{margin:0;}.ledger-detail-form > .budget-v4-detail-more[open]{padding-bottom:12px;}.ledger-detail-form > .budget-v4-detail-more .budget-v4-detail-grid{gap:10px 14px;margin:8px 0 0;}@media (max-width:767px){.ledger-detail-form{gap:10px;margin-top:10px;}.ledger-detail-section{padding-bottom:10px;}.ledger-detail-section-heading{margin-bottom:6px;}.ledger-detail-budget .ledger-zero-choice{grid-column:1;}}.budget-v4-hero .budget-v4-tabs button{color:#617078;font-weight:600;}.budget-v4-hero .budget-v4-tabs button[aria-current="true"]{color:#fff;background:#24313a;box-shadow:0 4px 12px rgb(36 49 58 / 14%);}.budget-v4-topbar > .budget-v4-actions,.budget-v4-actions > :is(button,.budget-v4-total-budget),.budget-v4-actions > button > span,.budget-v4-total-budget > span{display:flex;align-items:center;}.budget-v4-actions > :is(button,.budget-v4-total-budget){color:#24313a;}.budget-v4-actions > .budget-v4-primary{color:#17212a;background:#ffd91a;}.budget-v4-total-budget > span,.budget-v4-total-budget > input,.budget-v4-actions > button > span{line-height:20px;}.budget-v4-total-budget > input{align-self:center;padding-block:0;border:0;outline:0;background:transparent;box-shadow:none;font-variant-numeric:tabular-nums;}.budget-v4-toolbar-categories{min-width:0;display:flex;align-items:center;gap:6px;}.budget-v4-toolbar-categories > .ledger-category-rail{flex:1 1 auto;}.ledger-category-expand{min-width:76px;height:28px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 9px;border:1px solid rgb(205 202 192 / 74%);border-radius:8px;color:#52616b;background:rgb(255 255 255 / 64%);box-shadow:inset 0 1px rgb(255 255 255 / 76%);font:inherit;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap;cursor:pointer;transition:border-color 120ms ease,background 120ms ease,color 120ms ease;}.ledger-category-expand .ledger-ui-icon{width:14px;height:14px;transition:transform 160ms ease;}.budget-v4-toolbar-categories.is-expanded .ledger-category-expand .ledger-ui-icon{transform:rotate(180deg);}.budget-v4-table td > input,.budget-v4-table .budget-v4-picker-trigger{min-height:38px;padding-inline:12px 30px;border:1px solid transparent;border-radius:9px;line-height:20px;}.budget-v4-table td > input{padding-inline:12px;}.budget-v4-table .budget-v4-picker-trigger .ledger-select-chevron{right:9px;}body[data-current-page="budget"] #budget-v3-root :is(input:not([type="checkbox"]),textarea):focus,body[data-current-page="budget"] #budget-v3-root :is(input:not([type="checkbox"]),textarea):focus-visible,.ledger-new-dialog :is(input:not([type="checkbox"]),textarea):focus,.ledger-new-dialog :is(input:not([type="checkbox"]),textarea):focus-visible{outline:0 !important;border-color:#2c5f87 !important;box-shadow:0 0 0 2px rgb(44 95 135 / 14%) !important;}.ledger-quick-entry-dock .ledger-quick-entry > label:focus-within{border-color:#74a8c8;box-shadow:0 0 0 2px rgb(89 151 188 / 16%),inset 0 1px rgb(255 255 255 / 10%);}.ledger-quick-entry-dock .ledger-quick-entry > label :is(input,.ledger-select-trigger):focus,.ledger-quick-entry-dock .ledger-quick-entry > label :is(input,.ledger-select-trigger):focus-visible,body[data-current-page="budget"] #budget-v3-root .budget-v4-total-budget > input:focus,body[data-current-page="budget"] #budget-v3-root .budget-v4-total-budget > input:focus-visible{border:0 !important;border-color:transparent !important;box-shadow:none !important;outline:0 !important;}body[data-current-page="budget"] #budget-v3-root .ledger-quick-entry-dock .ledger-quick-entry > label input:focus,body[data-current-page="budget"] #budget-v3-root .ledger-quick-entry-dock .ledger-quick-entry > label input:focus-visible{border-color:transparent !important;outline:0 !important;box-shadow:none !important;}.ledger-date-field{position:relative;display:block;width:100%;min-width:0;}.ledger-date-field > input{width:100%;padding-right:48px;}.ledger-date-field > input::-webkit-calendar-picker-indicator{width:34px;height:34px;margin:0;padding:0;opacity:0;pointer-events:none;}.ledger-date-field > button{position:absolute;top:50%;right:4px;width:34px;min-width:34px;height:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;color:#2c5f87;background:rgb(44 95 135 / 8%);transform:translateY(-50%);}.ledger-date-field > button .ledger-ui-icon{width:17px;height:17px;}.ledger-date-field > button:hover{background:rgb(44 95 135 / 14%);}@media (hover:hover){.ledger-category-expand:hover{border-color:rgb(44 95 135 / 42%);color:#2c5f87;background:rgb(239 248 253 / 88%);}}@media (min-width:1181px){.budget-v4-hero .budget-v4-topbar{align-items:flex-start;}.budget-v4-topbar > .budget-v4-actions{min-height:40px;justify-content:flex-end;align-self:flex-start;gap:10px;}.budget-v4-actions > :is(button,.budget-v4-total-budget){min-height:40px;height:40px;}.budget-v4-topbar label.budget-v4-total-budget{width:146px;padding-inline:14px;gap:6px;}.budget-v4-actions > button{padding-inline:17px;font-size:12px;}.budget-v4-actions > .budget-v4-primary{min-width:148px;}.budget-v4-toolbar.has-expanded-categories{flex-wrap:wrap;}.budget-v4-toolbar.has-expanded-categories .budget-v4-search{order:1;}.budget-v4-toolbar.has-expanded-categories .budget-v4-toolbar-actions{order:2;margin-left:auto;}.budget-v4-toolbar.has-expanded-categories .budget-v4-toolbar-categories{order:3;width:100%;flex:1 0 100%;overflow:visible;}.budget-v4-toolbar-categories.is-expanded .ledger-category-rail,.budget-v4-toolbar-categories.is-expanded .ledger-category-rail > div{overflow:visible;}.budget-v4-toolbar-categories.is-expanded .ledger-category-rail > div{flex-wrap:wrap;row-gap:7px;}}@media (max-width:1180px){.ledger-category-expand{display:none;}}@media (prefers-reduced-motion:reduce){.ledger-category-expand,.ledger-category-expand .ledger-ui-icon{transition:none;}}.budget-v4-project-switch,.budget-v4-actions > :is(button,.budget-v4-total-budget),.budget-v4-hero .budget-v4-tabs button{font-family:inherit;letter-spacing:0;}.budget-v4-project-switch{min-height:32px;gap:6px;padding:0 12px;border:1px solid rgb(211 207 196 / 82%);border-radius:10px;color:#42525b;background:rgb(255 255 255 / 64%);box-shadow:0 3px 12px rgb(115 108 92 / 5%),inset 0 1px rgb(255 255 255 / 78%);font-size:12px;font-weight:650;line-height:20px;}.budget-v4-project-switch > span{margin:0;color:inherit;line-height:20px;transform:none !important;}.budget-v4-project-switch .ledger-ui-icon{width:15px;height:15px;color:#728088;}.budget-v4-project-switch:hover,.budget-v4-project-switch:focus-visible{border-color:rgb(44 95 135 / 34%);color:#24313a;background:rgb(255 255 255 / 82%);transform:none;}.budget-v4-actions > :is(button,.budget-v4-total-budget){border-radius:12px;font-size:12px;font-weight:650;line-height:20px;}.budget-v4-actions > button > span,.budget-v4-total-budget > span,.budget-v4-total-budget > input{min-height:20px;color:inherit;line-height:20px;}.budget-v4-topbar label.budget-v4-total-budget{justify-content:center;gap:6px;}.budget-v4-total-budget > input{width:70px;font-size:14px;font-weight:760;text-align:left;}.budget-v4-actions > button:not(.budget-v4-primary){border-color:rgb(211 207 196 / 82%);color:#36464f;background:rgb(255 255 255 / 68%);}.budget-v4-actions > .budget-v4-primary{border-color:#e9c600;color:#17212a;background:#ffd91a;box-shadow:0 5px 14px rgb(205 158 0 / 14%),inset 0 1px rgb(255 255 255 / 45%);}.budget-v4-hero .budget-v4-tabs{min-height:36px;height:36px;align-items:center;gap:6px;}.budget-v4-hero .budget-v4-tabs button{min-height:34px;height:34px;padding-inline:16px;border-radius:10px;color:#617078;font-size:12px;font-weight:650;line-height:20px;}.budget-v4-hero .budget-v4-tabs button[aria-current="true"]{color:#fff;background:#24313a;box-shadow:0 4px 12px rgb(36 49 58 / 13%);}.budget-v4-hero .budget-v4-tabs button > span{color:inherit;}.ledger-zero-choice{min-height:54px;align-self:stretch;padding:8px 12px;}.ledger-zero-choice > input{flex:0 0 auto;width:17px;height:17px;min-height:17px;margin:0;padding:0;accent-color:#2c5f87;box-shadow:none;}.ledger-zero-choice > span{min-width:0;display:grid;gap:1px;}.ledger-zero-choice strong{color:#34444d;font-size:12px;font-weight:650;line-height:18px;}.ledger-zero-choice small{color:#758188;font-size:10px;font-weight:500;line-height:15px;}.ledger-zero-choice[hidden],.ledger-base-choice[hidden]{display:none !important;}.ledger-analysis-intro{min-height:68px;align-items:center !important;padding:4px 2px 12px;border-bottom:1px solid rgb(36 49 58 / 8%);}.ledger-analysis-health{flex:0 0 auto;display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid rgb(47 125 92 / 18%);border-radius:999px;color:#246849;background:rgb(231 247 238 / 68%);font-size:11px;font-weight:650;white-space:nowrap;}.budget-v4-analysis > .ledger-analysis-breakdown{grid-column:1 / -1;}.ledger-analysis-breakdown > header{align-items:start;}.ledger-analysis-breakdown > header > div{display:grid;gap:3px;}.ledger-analysis-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;}.ledger-analysis-controls > label,.ledger-ranking header label{min-width:0;display:grid;gap:5px;color:#65747c;font-size:11px;font-weight:600;line-height:16px;}.ledger-analysis-controls .ledger-select-trigger,.ledger-ranking .ledger-select-trigger{min-height:40px;height:40px;padding:0 12px;border-radius:10px;}.ledger-analysis-context{margin:10px 0 0;color:#617078;font-size:11px;line-height:18px;}.budget-v4-bars{padding-top:2px;}.budget-v4-bars > div{min-height:30px;grid-template-columns:minmax(112px,160px) minmax(160px,1fr) 112px;}.budget-v4-bars i b.is-negative{background:#b34d46;}.ledger-analysis-empty{margin:8px 0 0;padding:14px;border-radius:10px;color:#6b787f;background:rgb(244 242 235 / 72%);font-size:12px;}.ledger-key-tables{align-items:start;}.ledger-key-tables > .budget-v4-analysis-table{width:100%;border-color:rgb(215 212 202 / 72%);border-radius:12px;background:rgb(255 255 255 / 56%);}.ledger-key-tables > .budget-v4-analysis-table > h3,.ledger-ranking > header{min-height:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;}.ledger-ranking > header h3{margin:0;padding:0;}.ledger-ranking > header > div{display:flex;align-items:end;gap:6px;}.ledger-ranking header label{width:104px;}.ledger-ranking .ledger-select-trigger{min-height:32px;height:32px;padding-inline:9px;font-size:10px;}.budget-v4-analysis > .budget-v4-issues{padding:0;overflow:visible;border-color:rgb(215 212 202 / 76%);border-radius:12px;background:rgb(255 255 255 / 54%);}.budget-v4-issues > summary{min-height:52px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 14px;color:#24313a;list-style:none;cursor:pointer;}.budget-v4-issues > summary::-webkit-details-marker{display:none;}.budget-v4-issues > summary > span{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;}.budget-v4-issues > summary b{min-width:22px;height:22px;display:inline-grid;place-items:center;border-radius:999px;color:#7a5b00;background:rgb(255 217 26 / 32%);font-size:10px;}.budget-v4-issues > summary small{color:#718087;font-size:11px;font-weight:500;}.budget-v4-issues > summary .ledger-summary-chevron{width:16px;height:16px;transition:transform 160ms ease;}.budget-v4-issues[open] > summary .ledger-summary-chevron{transform:rotate(180deg);}.budget-v4-analysis > .budget-v4-issues > div{display:block;padding:0 14px 12px;border-top:1px solid rgb(36 49 58 / 7%);}.budget-v4-issues ol{margin-top:0;}.ledger-analysis-footnote{grid-column:1 / -1;display:flex;align-items:center;gap:8px;padding-top:2px;}.ledger-analysis-footnote span{min-height:28px;display:inline-flex;align-items:center;padding:0 10px;border-radius:8px;color:#617078;background:rgb(239 242 240 / 72%);font-size:10px;font-weight:600;}@media (min-width:1181px){.budget-v4-project-switch{min-height:40px;height:40px;padding-inline:12px;}.budget-v4-topbar > .budget-v4-actions > button{font-size:13px;line-height:20px;}.budget-v4-topbar label.budget-v4-total-budget{font-size:12px;line-height:20px;}.budget-v4-hero .budget-v4-tabs,.budget-v4-hero .budget-v4-tabs button{min-height:34px;height:34px;}}@media (max-width:980px){.ledger-analysis-controls{grid-template-columns:repeat(2,minmax(0,1fr));}.ledger-key-tables{grid-template-columns:1fr;}}@media (max-width:640px){.ledger-analysis-intro{align-items:start !important;}.ledger-analysis-health{display:none;}.ledger-analysis-controls{grid-template-columns:1fr;}.budget-v4-bars > div{grid-template-columns:minmax(82px,112px) minmax(80px,1fr) 84px;}.ledger-ranking > header{align-items:start;flex-direction:column;}.ledger-ranking > header > div{width:100%;}.ledger-ranking header label{width:auto;flex:1 1 0;}.budget-v4-issues > summary small{display:none;}.ledger-analysis-footnote{flex-wrap:wrap;}}.budget-v4-project-switch,.budget-v4-actions > :is(button,.budget-v4-total-budget),.budget-v4-hero .budget-v4-tabs button{box-sizing:border-box;padding-block:0;}.budget-v4-project-switch,.budget-v4-actions > button,.budget-v4-topbar label.budget-v4-total-budget,.budget-v4-hero .budget-v4-tabs button{display:inline-flex;align-items:center;justify-content:center;}.budget-v4-project-switch > span,.budget-v4-actions > button > span,.budget-v4-total-budget > span,.budget-v4-hero .budget-v4-tabs button > span{min-height:0;display:block;margin:0;line-height:16px;}.budget-v4-total-budget > input{height:20px;min-height:20px;margin:0;padding:0;line-height:20px;vertical-align:middle;}.budget-v4-actions > .budget-v4-primary::before{display:block;flex:0 0 auto;margin:0 6px 0 0;line-height:16px;}@media (min-width:1181px){.budget-v4-hero .budget-v4-topbar{align-items:flex-start;}.budget-v4-project-switch,.budget-v4-topbar > .budget-v4-actions,.budget-v4-actions > :is(button,.budget-v4-total-budget){height:40px;min-height:40px;}.budget-v4-project-switch,.budget-v4-actions > :is(button,.budget-v4-total-budget){border-radius:12px;}.budget-v4-project-switch{padding-inline:13px;}.budget-v4-topbar > .budget-v4-actions{align-self:flex-start;}.budget-v4-hero .budget-v4-tabs{height:36px;min-height:36px;align-items:center;}.budget-v4-hero .budget-v4-tabs button{height:34px;min-height:34px;}}body[data-theme="dark"] .budget-v4-shell{--ledger-paper:#0c131c;--ledger-paper-cool:#111a26;--ledger-surface:#152232;--ledger-surface-raised:#1c2d42;--ledger-line:#2b3c50;--ledger-line-strong:#475d77;--ledger-ink:#f4f7fb;--ledger-muted:#94a3b8;--ledger-blue:#78bdf2;--ledger-yellow:#ffd515;--ledger-yellow-edge:#efc900;--ledger-green:#7dd3a4;--ledger-glass:rgba(21,34,50,0.82);--ledger-glass-strong:rgba(28,45,66,0.92);--ledger-glass-border:rgba(65,87,114,0.55);--ledger-glass-shadow:0 12px 36px rgba(0,0,0,0.45),inset 0 1px 0 rgba(255,255,255,0.06);--ledger-glass-shadow-hover:0 16px 42px rgba(0,0,0,0.55),inset 0 1px 0 rgba(255,255,255,0.1);color:#f4f7fb;}body[data-theme="dark"][data-current-page="budget"] .main-content{background:radial-gradient(circle at 68% -8%,rgba(251,191,36,0.07),transparent 36%),radial-gradient(circle at 21% 88%,rgba(56,189,248,0.07),transparent 32%),radial-gradient(circle at 38% 92%,rgba(52,211,153,0.05),transparent 26%),#0c131c;}body[data-theme="dark"] .budget-v4-heading h2{color:#f4f7fb;}body[data-theme="dark"] .budget-v4-heading > span{color:#94a3b8;}body[data-theme="dark"] .budget-v4-project-switch{border-color:rgba(120,189,242,0.35);background:rgba(24,48,72,0.65);color:#93c5fd;box-shadow:0 4px 14px rgba(0,0,0,0.25),inset 0 1px rgba(255,255,255,0.08);}body[data-theme="dark"] .budget-v4-project-switch:hover{border-color:rgba(147,197,253,0.6);background:rgba(30,58,88,0.85);color:#bfdbfe;}body[data-theme="dark"] .budget-v4-actions > :is(button,.budget-v4-total-budget){border-color:rgba(65,87,114,0.55);background:rgba(21,34,50,0.82);color:#f4f7fb;box-shadow:0 4px 16px rgba(0,0,0,0.25),inset 0 1px rgba(255,255,255,0.06);}body[data-theme="dark"] .budget-v4-actions > button:hover{border-color:rgba(96,125,158,0.75);background:rgba(28,45,66,0.95);color:#ffffff;}body[data-theme="dark"] .budget-v4-total-budget > span{color:#94a3b8;}body[data-theme="dark"] .budget-v4-total-budget > input{color:#f4f7fb;background:transparent;}body[data-theme="dark"] .budget-v4-actions > .budget-v4-primary{border-color:rgb(239 201 0 / 90%);background:linear-gradient(135deg,#ffe23a,#ffd50b);color:#151719;font-weight:800;box-shadow:0 8px 22px rgba(237,178,0,0.28),inset 0 1px rgba(255,255,255,0.5);}body[data-theme="dark"] .budget-v4-actions > .budget-v4-primary:hover{filter:brightness(1.05);}body[data-theme="dark"] .budget-v4-hero .budget-v4-tabs button{color:#94a3b8;background:transparent;}body[data-theme="dark"] .budget-v4-hero .budget-v4-tabs button:hover{color:#f4f7fb;background:rgba(255,255,255,0.06);}body[data-theme="dark"] .budget-v4-hero .budget-v4-tabs button[aria-current="true"]{border-color:rgb(239 201 0 / 85%);color:#151719;background:linear-gradient(135deg,#ffe23a,#ffd50b);font-weight:800;box-shadow:0 4px 14px rgba(255,213,21,0.22);}body[data-theme="dark"] .budget-v4-overview > div.is-total{border-color:rgba(251,191,36,0.72);background:linear-gradient(135deg,#ffd928 0%,#f5c400 100%);box-shadow:0 12px 32px rgba(0,0,0,0.45),inset 0 1px rgba(255,255,255,0.45);}body[data-theme="dark"] .budget-v4-overview > div.is-total :is(span,strong,small){color:#151719 !important;}body[data-theme="dark"] .budget-v4-overview > div.is-total span{color:rgba(21,23,25,0.76) !important;}body[data-theme="dark"] .budget-v4-overview > div.is-total small{color:rgba(21,23,25,0.7) !important;}body[data-theme="dark"] .budget-v4-overview > div:not(.is-total){border-color:rgba(55,75,100,0.6);background:rgba(20,31,46,0.82);box-shadow:0 10px 28px rgba(0,0,0,0.35),inset 0 1px rgba(255,255,255,0.05);backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%);}body[data-theme="dark"] .budget-v4-overview > div:not(.is-total):hover{border-color:rgba(85,112,145,0.8);background:rgba(25,38,56,0.9);box-shadow:0 14px 34px rgba(0,0,0,0.45),inset 0 1px rgba(255,255,255,0.08);}body[data-theme="dark"] .budget-v4-overview > div:not(.is-total) span{color:#94a3b8;}body[data-theme="dark"] .budget-v4-overview > div:not(.is-total) strong{color:#f4f7fb;}body[data-theme="dark"] .budget-v4-overview > div:not(.is-total) small{color:#64748b;}body[data-theme="dark"] .budget-v4-overview > div.is-warning strong{color:#f59e0b;}body[data-theme="dark"] .budget-v4-overview > div.is-danger strong{color:#f87171;}body[data-theme="dark"] .budget-v4-search > input{border-color:rgba(55,75,100,0.65);background:rgba(20,31,46,0.85);color:#f4f7fb;box-shadow:inset 0 1px rgba(0,0,0,0.3);}body[data-theme="dark"] .budget-v4-search > input::placeholder{color:#64748b;}body[data-theme="dark"] .budget-v4-search > input:focus{border-color:#38bdf8;box-shadow:0 0 0 2px rgba(56,189,248,0.2),inset 0 1px rgba(0,0,0,0.3);}body[data-theme="dark"] .budget-v4-search > .icon-inline{filter:invert(1) opacity(0.65);}body[data-theme="dark"] .budget-v4-search > .budget-v4-toolbar-count{color:#94a3b8;}body[data-theme="dark"] .ledger-filter-workbench .ledger-category-rail button{border-color:rgba(55,75,100,0.65);background:rgba(20,31,46,0.75);color:#94a3b8;box-shadow:inset 0 1px rgba(255,255,255,0.04);}body[data-theme="dark"] .ledger-filter-workbench .ledger-category-rail button:hover{border-color:rgba(85,112,145,0.8);background:rgba(28,42,60,0.9);color:#f4f7fb;}body[data-theme="dark"] .ledger-filter-workbench .ledger-category-rail button[aria-pressed="true"]{border-color:#ffd515;background:#ffd515;color:#151719;font-weight:800;box-shadow:0 4px 14px rgba(255,213,21,0.25);}body[data-theme="dark"] .ledger-filter-workbench .ledger-category-rail button small{background:rgba(255,255,255,0.14);color:inherit;}body[data-theme="dark"] .budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle),body[data-theme="dark"] .ledger-filter-action,body[data-theme="dark"] .ledger-column-settings > summary{border-color:rgba(55,75,100,0.65);background:rgba(20,31,46,0.75);color:#cbd5e1;box-shadow:inset 0 1px rgba(255,255,255,0.04);}body[data-theme="dark"] .budget-v4-toolbar :is(.budget-v4-text-button,.ledger-filter-toggle):hover,body[data-theme="dark"] .ledger-filter-action:hover,body[data-theme="dark"] .ledger-column-settings > summary:hover{border-color:rgba(85,112,145,0.85);background:rgba(28,42,60,0.95);color:#f4f7fb;}body[data-theme="dark"] .ledger-column-caret{color:#94a3b8;}body[data-theme="dark"] .ledger-select-trigger{border-color:rgba(55,75,100,0.65);background:rgba(20,31,46,0.75);color:#f4f7fb;box-shadow:inset 0 1px rgba(255,255,255,0.04);}body[data-theme="dark"] .ledger-select-popover,body[data-theme="dark"] .ledger-column-popover{border-color:rgba(65,87,114,0.7);background:rgba(18,26,38,0.96);color:#f4f7fb;box-shadow:0 20px 52px rgba(0,0,0,0.55),inset 0 1px rgba(255,255,255,0.08);}body[data-theme="dark"] .ledger-select-option,body[data-theme="dark"] .ledger-column-popover label{color:#cbd5e1;}body[data-theme="dark"] .ledger-select-option:hover,body[data-theme="dark"] .ledger-column-popover label:hover{background:rgba(35,50,70,0.85);color:#f4f7fb;}body[data-theme="dark"] .ledger-select-option[aria-selected="true"]{background:rgba(56,189,248,0.18);color:#38bdf8;font-weight:700;}body[data-theme="dark"] .budget-v4-table-wrap{border-color:rgba(55,75,100,0.65);background:rgba(16,24,35,0.82);box-shadow:0 14px 36px rgba(0,0,0,0.4),inset 0 1px rgba(255,255,255,0.05);}body[data-theme="dark"] .budget-v4-table-wrap:hover{border-color:rgba(75,100,130,0.75);}body[data-theme="dark"] .ledger-table-heading{background:rgba(13,19,28,0.85);border-bottom:1px solid rgba(55,75,100,0.6);}body[data-theme="dark"] .budget-v4-table th{background:rgba(13,19,28,0.8);color:#94a3b8;border-bottom:1px solid rgba(55,75,100,0.6);}body[data-theme="dark"] .budget-v4-table td{border-bottom:1px solid rgba(43,58,76,0.55);color:#e2e8f0;}body[data-theme="dark"] .budget-v4-table tbody tr:nth-child(odd):not(.ledger-category-divider,.budget-v4-mismatch) td{background:transparent;}body[data-theme="dark"] .budget-v4-table tbody tr:nth-child(even):not(.ledger-category-divider,.budget-v4-mismatch) td{background:rgba(255,255,255,0.018);}body[data-theme="dark"] .budget-v4-table tbody tr:not(.ledger-category-divider):hover td{background:rgba(28,42,60,0.65);}body[data-theme="dark"] .budget-v4-empty{color:#94a3b8 !important;background:transparent !important;}body[data-theme="dark"] .budget-v4-empty button{color:#ffd515 !important;text-decoration:underline;}body[data-theme="dark"] .ledger-category-divider td{background:rgba(18,27,40,0.95);color:#cbd5e1;border-top:1px solid rgba(55,75,100,0.5);border-bottom:1px solid rgba(55,75,100,0.5);}body[data-theme="dark"] .budget-v4-table td > :is(input,select){color:#f4f7fb;}body[data-theme="dark"] .budget-v4-table tbody tr:hover td > :is(input,select){border-color:rgba(65,87,114,0.7);background:rgba(22,33,48,0.95);color:#ffffff;}body[data-theme="dark"] .budget-v4-picker-trigger{color:#f4f7fb;}body[data-theme="dark"] .budget-v4-table td:nth-child(1) .budget-v4-picker-trigger{color:#f4f7fb !important;font-weight:700;}body[data-theme="dark"] .budget-v4-table td:nth-child(2) .budget-v4-picker-trigger{color:#78bdf2 !important;font-weight:600;}body[data-theme="dark"] .budget-v4-table td:nth-child(3) .budget-v4-picker-trigger{color:#cbd5e1 !important;}body[data-theme="dark"] .budget-v4-table td:nth-child(3) .budget-v4-picker-trigger.is-empty{color:#64748b !important;}body[data-theme="dark"] .budget-v4-table tbody tr:hover .budget-v4-picker-trigger{border-color:rgba(65,87,114,0.6);background:rgba(22,33,48,0.95);color:#ffffff !important;}body[data-theme="dark"] .budget-v4-mismatch td{background:rgba(245,158,11,0.1) !important;border-bottom:1px solid rgba(245,158,11,0.25) !important;color:#fde68a !important;font-size:11px;}body[data-theme="dark"] .budget-v4-mismatch button{color:#38bdf8 !important;background:transparent;border:0;cursor:pointer;font-weight:600;margin-left:8px;}body[data-theme="dark"] .budget-v4-mismatch button:hover{text-decoration:underline;}body[data-theme="dark"] .budget-v4-na{color:#64748b;}body[data-theme="dark"] .budget-v4-detail > header button[data-v4-detail-close],body[data-theme="dark"] .budget-v4-picker-panel > header button,body[data-theme="dark"] .ledger-new-dialog > header button{background:rgba(35,50,70,0.85);border:1px solid rgba(65,87,114,0.6);color:#f4f7fb;border-radius:50%;}body[data-theme="dark"] .budget-v4-detail > header button[data-v4-detail-close]:hover,body[data-theme="dark"] .budget-v4-picker-panel > header button:hover,body[data-theme="dark"] .ledger-new-dialog > header button:hover{background:rgba(55,75,100,0.95);color:#ffffff;}body[data-theme="dark"] .budget-v4-detail-more summary{color:#94a3b8;}body[data-theme="dark"] .budget-v4-detail-more[open] summary{color:#f4f7fb;}body[data-theme="dark"] .budget-v4-detail-space-choice,body[data-theme="dark"] .ledger-room-chip{background:rgba(22,33,48,0.8);border:1px solid rgba(55,75,100,0.6);color:#cbd5e1;}body[data-theme="dark"] .budget-v4-detail-space-choice.is-checked,body[data-theme="dark"] .ledger-room-chip.is-active{background:rgba(56,189,248,0.18);border-color:#38bdf8;color:#38bdf8;}body[data-theme="dark"] .budget-v4-actual{border-color:rgba(251,191,36,0.4);background:rgba(251,191,36,0.15);color:#fde047;}body[data-theme="dark"] .budget-v4-actual span{color:#78bdf2;}body[data-theme="dark"] .budget-v4-table td > small,body[data-theme="dark"] .budget-v4-project small{color:#64748b;}body[data-theme="dark"] .budget-v4-more{color:#78bdf2;}body[data-theme="dark"] .budget-v4-more:hover{color:#38bdf8;}body[data-theme="dark"] .budget-v4-status.is-good{color:#4ade80;}body[data-theme="dark"] .budget-v4-status.is-risk{color:#f87171;}body[data-theme="dark"] .ledger-quick-entry-dock{border-color:rgba(65,87,114,0.55);background:rgba(14,20,29,0.94);box-shadow:0 20px 48px -6px rgba(0,0,0,0.65),inset 0 1px rgba(255,255,255,0.08);}body[data-theme="dark"] .ledger-quick-lead strong{color:#f4f7fb;}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry .ledger-quick-lead [role="status"]{color:#94a3b8;}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry > label{border-color:rgba(55,75,100,0.65);background:rgba(22,33,48,0.9);}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry > label span{color:#94a3b8;}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry :is(input,select){color:#f4f7fb;background:transparent;}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry > label:focus-within{border-color:#ffd515;background:rgba(28,42,60,0.95);box-shadow:0 0 0 2px rgba(255,213,21,0.2);}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry > .ledger-quick-detail{border-color:rgba(65,87,114,0.6);background:rgba(28,42,60,0.9);color:#cbd5e1;box-shadow:0 4px 12px rgba(0,0,0,0.2);}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry > .ledger-quick-detail:hover{background:rgba(35,52,74,0.95);color:#f4f7fb;border-color:rgba(85,112,145,0.8);}body[data-theme="dark"] .ledger-quick-entry-dock .ledger-quick-entry > button[type="submit"]{background:linear-gradient(135deg,#ffe23a,#ffd50b);color:#151719;font-weight:800;box-shadow:0 8px 22px rgba(237,178,0,0.28),inset 0 1px rgba(255,255,255,0.45);}body[data-theme="dark"] :is(.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-dialog){border-color:rgba(65,87,114,0.7);background:rgba(16,23,34,0.96);color:#f4f7fb;box-shadow:0 24px 64px rgba(0,0,0,0.6),inset 0 1px rgba(255,255,255,0.08);}body[data-theme="dark"] :is(.budget-v4-picker-backdrop,.ledger-drawer-backdrop,.ledger-new-dialog::backdrop){background:rgba(0,0,0,0.65);}body[data-theme="dark"] .ledger-detail-section{border-bottom-color:rgba(55,75,100,0.5);}body[data-theme="dark"] .ledger-detail-section-heading h3{color:#f4f7fb;}body[data-theme="dark"] .budget-v4-detail-grid label,body[data-theme="dark"] .ledger-new-dialog label{color:#94a3b8;}body[data-theme="dark"] .budget-v4-detail-grid :is(input:not([type="checkbox"]),textarea,select),body[data-theme="dark"] .ledger-new-dialog :is(input:not([type="checkbox"]),textarea,select),body[data-theme="dark"] .budget-v4-picker-option,body[data-theme="dark"] .ledger-base-choice,body[data-theme="dark"] .ledger-zero-choice,body[data-theme="dark"] .budget-v4-detail-more{border-color:rgba(55,75,100,0.65);background:rgba(22,33,48,0.85);color:#f4f7fb;box-shadow:inset 0 1px rgba(0,0,0,0.25);}body[data-theme="dark"] .budget-v4-detail-grid :is(input,textarea,select):focus,body[data-theme="dark"] .ledger-new-dialog :is(input,textarea,select):focus{border-color:#38bdf8;background:rgba(28,42,60,0.95);box-shadow:0 0 0 2px rgba(56,189,248,0.2);}body[data-theme="dark"] .budget-v4-detail > footer button:first-of-type,body[data-theme="dark"] .ledger-new-dialog footer button:first-of-type{background:linear-gradient(135deg,#ffe23a,#ffd50b);color:#151719;font-weight:700;border-color:#efc900;}body[data-theme="dark"] .budget-v4-guidance{border-color:rgba(55,75,100,0.6);background:rgba(20,31,46,0.7);}body[data-theme="dark"] .budget-v4-guidance summary{color:#78bdf2;}body[data-theme="dark"] .budget-v4-guidance p{color:#94a3b8;}body[data-theme="dark"] .budget-v4-message{border-color:rgba(251,191,36,0.4);background:rgba(251,191,36,0.12);color:#fde047;}body[data-theme="dark"] .ledger-balance{color:#94a3b8;}body[data-theme="dark"][data-current-page="budget"] :is(.page-content,.budget-v4-table-wrap,.ledger-select-popover,.ledger-column-popover,.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-content){scrollbar-color:rgba(100,116,139,0.45) transparent;}body[data-theme="dark"][data-current-page="budget"] :is(.page-content,.budget-v4-table-wrap,.ledger-select-popover,.ledger-column-popover,.budget-v4-picker-panel,.budget-v4-detail,.ledger-new-content)::-webkit-scrollbar-thumb{background:rgba(100,116,139,0.45);}.budget-v4-theme-toggle{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border:1px solid var(--budget-line,#cbd3d8);border-radius:9999px;background:var(--budget-surface,#fffefb);color:var(--budget-ink,#172731);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.2s cubic-bezier(0.16,1,0.3,1);user-select:none;}.budget-v4-theme-toggle:hover{border-color:var(--budget-line-strong,#788994);background:var(--budget-row-hover,#e8f1f6);}.budget-v4-theme-toggle:active,.btn-spring:active{transform:scale(0.96);}.budget-v4-theme-toggle .theme-icon{font-size:14px;}body[data-theme="dark"] .budget-v4-theme-toggle{border-color:#283542;background:#1e262f;color:#f1f5f9;box-shadow:0 2px 8px rgba(0,0,0,0.25);}body[data-theme="dark"] .budget-v4-theme-toggle:hover{border-color:#facc15;background:#24303c;color:#facc15;box-shadow:0 0 12px rgba(250,204,21,0.22);}@keyframes slideDownBanner{0%{transform:translateY(-100%);opacity:0;}100%{transform:translateY(0);opacity:1;}}@keyframes fadeInSlideUp{0%{transform:translateY(14px);opacity:0;}100%{transform:translateY(0);opacity:1;}}@keyframes fadeInSlideRight{0%{transform:translateX(-12px);opacity:0;}100%{transform:translateY(0);opacity:1;}}@keyframes pulseDot{0%,100%{transform:scale(1);opacity:0.9;box-shadow:0 0 0 0 rgba(56,189,248,0.4);}50%{transform:scale(1.25);opacity:1;box-shadow:0 0 0 4px rgba(56,189,248,0);}}@keyframes pulseYellow{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(250,204,21,0.5);}50%{transform:scale(1.15);box-shadow:0 0 0 5px rgba(250,204,21,0);}}body[data-theme="dark"][data-current-page="budget"] .main-content{background:#12171B !important;}body[data-theme="dark"] .budget-v4-shell{--budget-surface:#1e262f;--budget-ink:#f1f5f9;--budget-muted:#8899a6;--budget-line:#283542;--budget-line-strong:#38485b;--budget-accent:#facc15;}body[data-theme="dark"] .budget-v4-overview > div{transition:transform 0.28s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.28s ease,border-color 0.28s ease;will-change:transform,box-shadow;border-radius:14px;}body[data-theme="dark"] .budget-v4-overview > div:hover{transform:translateY(-3px) scale(1.008);}body[data-theme="dark"] .budget-v4-overview > div.is-total{background:#facc15 !important;border-color:#eab308 !important;}body[data-theme="dark"] .budget-v4-overview > div.is-total:hover{box-shadow:0 10px 25px -4px rgba(250,204,21,0.35),0 4px 10px -2px rgba(250,204,21,0.2) !important;}body[data-theme="dark"] .budget-v4-overview > div.is-total :is(span,strong,small){color:#020617 !important;}body[data-theme="dark"] .budget-v4-overview > div.is-planned{border-color:#2a3644;background:#1e262f;}body[data-theme="dark"] .budget-v4-overview > div.is-planned strong{color:#38bdf8 !important;}body[data-theme="dark"] .budget-v4-overview > div.is-planned:hover{box-shadow:0 10px 25px -4px rgba(56,189,248,0.2),0 4px 8px -2px rgba(56,189,248,0.1);border-color:rgba(56,189,248,0.45);}body[data-theme="dark"] .budget-v4-overview > div.is-actual{border-color:#2a3644;background:#1e262f;}body[data-theme="dark"] .budget-v4-overview > div.is-actual strong{color:#f1f5f9 !important;}body[data-theme="dark"] .budget-v4-overview > div.is-actual:hover{box-shadow:0 10px 25px -4px rgba(241,245,249,0.12),0 4px 8px -2px rgba(241,245,249,0.05);border-color:rgba(241,245,249,0.35);}body[data-theme="dark"] .budget-v4-overview > div:last-child{border-color:#2a3644;background:#1e262f;}body[data-theme="dark"] .budget-v4-overview > div:last-child strong{color:#34d399 !important;}body[data-theme="dark"] .budget-v4-overview > div:last-child:hover{box-shadow:0 10px 25px -4px rgba(52,211,153,0.2),0 4px 8px -2px rgba(52,211,153,0.1);border-color:rgba(52,211,153,0.45);}body[data-theme="dark"] .budget-v4-mismatch td{background:#2D2416 !important;color:#fde047 !important;border-top:1px solid rgba(250,204,21,0.25) !important;border-bottom:1px solid rgba(250,204,21,0.25) !important;}body[data-theme="dark"] .budget-v4-mismatch span{color:#fef08a !important;}body[data-theme="dark"] .budget-v4-mismatch button[data-v4-mismatch-adjust]{color:#fde047 !important;font-weight:700;text-decoration:underline;}body[data-theme="dark"] .budget-v4-mismatch button[data-v4-mismatch-keep]{color:#94a3b8 !important;}body[data-theme="dark"] .budget-v4-mismatch button:hover{color:#ffffff !important;}body[data-theme="dark"] .budget-v4-table tbody tr:not(.ledger-category-divider,.budget-v4-mismatch){transition:background-color 0.18s ease;}body[data-theme="dark"] .budget-v4-table tbody tr:not(.ledger-category-divider,.budget-v4-mismatch):hover td{background-color:rgba(34,46,58,0.75) !important;}body[data-theme="dark"] .budget-v4-table .budget-v4-more{transition:all 0.2s ease;}body[data-theme="dark"] .budget-v4-table tbody tr:hover .budget-v4-more svg{transform:translateX(3px);transition:transform 0.2s ease;}body[data-theme="dark"] .pulse-dot-cyan{animation:pulseDot 2.2s ease-in-out 2;}body[data-theme="dark"] .pulse-dot-amber{animation:pulseYellow 2.5s ease-in-out 2;}@media (prefers-reduced-motion:reduce){.budget-v4-overview > div,.budget-v4-theme-toggle,.btn-spring,.budget-v4-table tbody tr{animation-duration:0.01ms !important;transition-duration:0.01ms !important;}}.ledger-global-toast{position:fixed;top:24px;left:50%;transform:translateX(-50%) translateY(0);z-index:100000;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;background:#1E262F;color:#F1F5F9;border:1px solid rgba(250,204,21,0.45);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,0.4),0 0 15px rgba(250,204,21,0.15);font-size:13px;font-weight:500;pointer-events:none;opacity:0;transition:opacity 0.28s cubic-bezier(0.16,1,0.3,1),transform 0.28s cubic-bezier(0.16,1,0.3,1);}.ledger-global-toast.is-visible{opacity:1;transform:translateX(-50%) translateY(0);}.ledger-global-toast .ledger-toast-icon{width:18px;height:18px;color:#FACC15;flex-shrink:0;}dialog.ledger-new-dialog.ledger-detailed-drawer{position:fixed;inset:0;margin:0;margin-left:auto;padding:0;border:none;background:transparent;width:100vw;height:100vh;max-width:none;max-height:none;display:flex;justify-content:flex-end;z-index:9999;overflow:hidden;box-sizing:border-box;}dialog.ledger-new-dialog.ledger-detailed-drawer::backdrop,.ledger-new-dialog::backdrop,.ledger-drawer-backdrop{background:rgba(15,23,42,0.22) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}body[data-theme="dark"] dialog.ledger-new-dialog.ledger-detailed-drawer::backdrop,body[data-theme="dark"] .ledger-new-dialog::backdrop,body[data-theme="dark"] .ledger-drawer-backdrop{background:rgba(0,0,0,0.48) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}aside.budget-v4-detail{position:fixed !important;top:0 !important;right:0 !important;bottom:0 !important;left:auto !important;width:min(480px,100vw) !important;height:100dvh !important;max-height:none !important;margin:0 !important;padding:0 !important;border-radius:0 !important;z-index:9999 !important;display:flex !important;flex-direction:column !important;box-sizing:border-box !important;border:none !important;background:transparent !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;overflow:hidden !important;}.ledger-drawer-panel{position:relative;width:100%;max-width:480px;height:100%;background:#FFFFFF;border-left:1px solid #E2E8F0;box-shadow:-10px 0 36px rgba(15,23,42,0.08);display:flex;flex-direction:column;color:#0F172A;overflow:hidden;animation:drawerSlideIn 0.28s cubic-bezier(0.16,1,0.3,1) forwards;will-change:transform;box-sizing:border-box;}aside.budget-v4-detail.ledger-detailed-drawer,aside.budget-v4-detail.ledger-management,dialog.ledger-new-dialog.ledger-detailed-drawer{animation:none;}@media (prefers-reduced-motion:reduce){.ledger-drawer-panel{animation:none;will-change:auto;}}body[data-theme="dark"] .ledger-drawer-panel{background:#171C20;border-left:1px solid #283542;box-shadow:-12px 0 40px rgba(0,0,0,0.6);color:#DFE3E8;}@keyframes drawerSlideIn{from{transform:translateX(100%);}to{transform:translateX(0);}}.ledger-drawer-header{padding:16px 24px;border-bottom:1px solid #F1F5F9;background:#FFFFFF;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-shrink:0;}body[data-theme="dark"] .ledger-drawer-header{border-bottom:1px solid #24303B;background:#161D23;}.ledger-drawer-header .drawer-title-group{display:flex;flex-direction:column;gap:3px;}.ledger-drawer-header .drawer-title-row{display:flex;align-items:center;gap:8px;}.ledger-drawer-header .drawer-badge{display:inline-block;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;letter-spacing:0.05em;background:#FEF3C7;color:#B45309;border:1px solid #FDE68A;line-height:1.3;}body[data-theme="dark"] .ledger-drawer-header .drawer-badge{background:rgba(250,204,21,0.1);color:#FACC15;border:1px solid rgba(250,204,21,0.2);}.ledger-drawer-header h2{margin:0;font-size:18px;font-weight:700;color:#0F172A;letter-spacing:-0.01em;line-height:1.3;}body[data-theme="dark"] .ledger-drawer-header h2{color:#F1F5F9;}.ledger-drawer-header p{margin:0;font-size:12px;color:#64748B;line-height:1.4;}body[data-theme="dark"] .ledger-drawer-header p{color:#8899A6;}.ledger-drawer-header .drawer-close-btn{width:32px;height:32px;border-radius:8px;border:1px solid #E2E8F0;background:#F8FAFC;color:#64748B;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.15s ease;flex-shrink:0;}.ledger-drawer-header .drawer-close-btn:hover{background:#E2E8F0;color:#0F172A;}body[data-theme="dark"] .ledger-drawer-header .drawer-close-btn{border:none;background:transparent;color:#8899A6;}body[data-theme="dark"] .ledger-drawer-header .drawer-close-btn:hover{background:#25303C;color:#F1F5F9;}.ledger-drawer-header .drawer-close-btn svg{width:18px;height:18px;}.ledger-drawer-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px;padding:24px;display:flex;flex-direction:column;gap:16px;background:#F8FAFC;}body[data-theme="dark"] .ledger-drawer-body{background:#171C20;scrollbar-color:#283542 #171C20;}.drawer-section-card{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:12px;box-sizing:border-box;box-shadow:0 1px 3px rgba(15,23,42,0.03);transition:border-color 0.15s ease;}.drawer-section-card:hover{border-color:#CBD5E1;}.ledger-detailed-drawer .drawer-section-card{padding:11px 13px;gap:9px;}body[data-theme="dark"] .drawer-section-card{background:#1B2024;border:1px solid #26313C;box-shadow:none;}body[data-theme="dark"] .drawer-section-card:hover{border-color:#38485B;}.drawer-summary-title-wrap{display:inline-flex;align-items:center;gap:6px;}.ledger-help-badge{display:inline-flex;align-items:center;justify-content:center;color:#64748b;cursor:help;transition:color 0.15s ease,transform 0.15s ease;line-height:1;}.ledger-help-badge:hover{color:#eab308;transform:scale(1.1);}body[data-theme="dark"] .ledger-help-badge{color:#8899a6;}body[data-theme="dark"] .ledger-help-badge:hover{color:#facc15;}.ledger-help-badge .ledger-help-icon{width:14px;height:14px;}.drawer-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px;}.drawer-header-left{display:flex;align-items:center;gap:6px;}.drawer-card-title{font-size:12px;font-weight:700;color:#1E293B;}body[data-theme="dark"] .drawer-card-title{color:#DFE3E8;}.drawer-card-subtitle{font-size:11px;color:#64748B;}body[data-theme="dark"] .drawer-card-subtitle{color:#8899A6;}.drawer-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.drawer-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}.drawer-payment-grid{display:grid;grid-template-columns:minmax(100px,1.1fr) minmax(110px,1.2fr) minmax(140px,1.5fr);gap:10px;align-items:flex-end;}.drawer-payment-grid .ledger-select-trigger,.drawer-payment-grid .drawer-amount-wrap input,.drawer-payment-grid .ledger-date-field input[type="date"]{height:34px !important;min-height:34px !important;max-height:34px !important;box-sizing:border-box !important;font-size:13px !important;line-height:32px !important;}.drawer-payment-grid .drawer-amount-wrap input{font-weight:600 !important;}.drawer-payment-grid .ledger-date-field input[type="date"]{padding-right:28px !important;font-size:12px !important;}.drawer-payment-grid .ledger-date-field button[data-ledger-date-today]{width:22px !important;height:22px !important;right:4px !important;}.drawer-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}@media (max-width:768px){.drawer-grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}}@media (max-width:560px){.drawer-grid-2,.drawer-grid-3,.drawer-grid-4{grid-template-columns:1fr !important;}}@media (max-width:360px){.drawer-pricing-row{grid-template-columns:1fr !important;}}.drawer-field{display:flex;flex-direction:column;gap:5px;width:100%;}.drawer-field-header{display:flex;align-items:center;justify-content:space-between;}.drawer-label{font-size:12px;font-weight:600;color:#334155;display:flex;align-items:center;gap:3px;margin:0;}body[data-theme="dark"] .drawer-label{color:#DFE3E8;}.drawer-field-sublabel{font-size:11px;font-weight:500;color:#64748B;margin:0;display:block;}body[data-theme="dark"] .drawer-field-sublabel{color:#8899A6;}.drawer-required{color:#EAB308;}body[data-theme="dark"] .drawer-required{color:#FACC15;}.drawer-field-hint{font-size:11px;color:#64748B;}body[data-theme="dark"] .drawer-field-hint{color:#8899A6;}.drawer-hint-cyan{color:#0284C7;font-family:inherit;}body[data-theme="dark"] .drawer-hint-cyan{color:#38BDF8;}.drawer-field-input-wrap{position:relative;display:flex;align-items:center;width:100%;}.ledger-drawer-panel input:not([type="checkbox"]),.ledger-drawer-panel select,.ledger-drawer-panel textarea{width:100%;box-sizing:border-box;background:#FFFFFF !important;color:#0F172A !important;border:1px solid #CBD5E1 !important;border-radius:8px !important;padding:7px 11px !important;font-size:12px !important;font-weight:500 !important;font-family:inherit !important;line-height:1.4 !important;outline:none !important;box-shadow:none !important;-webkit-box-shadow:none !important;transition:all 0.15s ease;}.ledger-drawer-panel select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;background-repeat:no-repeat !important;background-position:right 10px center !important;background-size:14px 14px !important;padding-right:30px !important;cursor:pointer;}.ledger-drawer-panel input:focus,.ledger-drawer-panel select:focus,.ledger-drawer-panel textarea:focus{border-color:#EAB308 !important;box-shadow:0 0 0 2px rgba(234,179,8,0.2) !important;}body[data-theme="dark"] .ledger-drawer-panel input:not([type="checkbox"]),body[data-theme="dark"] .ledger-drawer-panel select,body[data-theme="dark"] .ledger-drawer-panel textarea{background:#14191D !important;color:#F1F5F9 !important;border:1px solid #2A3644 !important;}body[data-theme="dark"] .ledger-drawer-panel select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238899A6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;background-repeat:no-repeat !important;background-position:right 10px center !important;background-size:14px 14px !important;}body[data-theme="dark"] .ledger-drawer-panel input:focus,body[data-theme="dark"] .ledger-drawer-panel select:focus,body[data-theme="dark"] .ledger-drawer-panel textarea:focus{border-color:#FACC15 !important;box-shadow:0 0 0 1px #FACC15,0 0 14px -2px rgba(250,204,21,0.25) !important;}.ledger-drawer-panel input::placeholder,.ledger-drawer-panel textarea::placeholder{color:#94A3B8 !important;}body[data-theme="dark"] .ledger-drawer-panel input::placeholder,body[data-theme="dark"] .ledger-drawer-panel textarea::placeholder{color:#64748B !important;}.drawer-amount-wrap{position:relative;width:100%;display:flex;align-items:center;}.drawer-amount-wrap .drawer-amount-symbol{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#EAB308;font-weight:700;font-size:13px;line-height:1;pointer-events:none;}body[data-theme="dark"] .drawer-amount-wrap .drawer-amount-symbol{color:#FACC15;}.drawer-amount-wrap input{padding-left:28px !important;font-size:16px !important;font-weight:700 !important;font-feature-settings:"tnum" 1;}.drawer-amount-input{font-variant-numeric:tabular-nums;}.drawer-pricing-row{display:grid;grid-template-columns:minmax(130px,140px) 1fr;gap:10px;align-items:flex-end;}.drawer-pricing-row.is-quantity-pricing{grid-template-columns:minmax(120px,130px) 1fr;gap:8px;}.drawer-quantity-subgrid{display:grid;grid-template-columns:minmax(0,1fr) 68px minmax(0,1.15fr);gap:6px;align-items:flex-end;}.drawer-sub-finance-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #F1F5F9;padding-top:8px;align-items:stretch;}body[data-theme="dark"] .drawer-sub-finance-row{border-top:1px solid rgba(36,48,59,0.6);}.drawer-sub-finance-row .drawer-domain-field{order:1;}.drawer-sub-finance-row .drawer-field-cost-component{order:2;}.drawer-sub-finance-row .drawer-field-priority{order:3;}.drawer-sub-finance-row .drawer-field select{padding:6px 10px !important;font-size:12px !important;padding-right:26px !important;background-position:right 8px center !important;}.drawer-base-toggle{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:14px;color:#475569;cursor:pointer;white-space:nowrap;user-select:none;padding:1px 5px;border-radius:4px;background:rgba(241,245,249,0.85);border:1px solid #E2E8F0;transition:all 0.15s ease;}.drawer-base-toggle:hover{background:#F1F5F9;border-color:#CBD5E1;color:#0F172A;}.drawer-base-toggle input[type="checkbox"]{width:12px;height:12px;min-width:12px;min-height:12px;margin:0;padding:0;cursor:pointer;accent-color:#FFD026;}.drawer-base-toggle[hidden]{display:none !important;}body[data-theme="dark"] .drawer-base-toggle{color:#94A3B8;background:rgba(36,48,59,0.5);border-color:#283542;}body[data-theme="dark"] .drawer-base-toggle:hover{background:rgba(36,48,59,0.9);border-color:#38485B;color:#F1F5F9;}.drawer-chips-wrap{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;}.room-pill-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:5px 12px;font-size:12px;font-weight:500;border-radius:6px;cursor:pointer;user-select:none;transition:all 0.2s cubic-bezier(0.34,1.56,0.64,1);background:#F1F5F9;color:#475569;border:1px solid #E2E8F0;overflow:hidden;}.room-pill-btn:hover{transform:translateY(-1px);color:#0F172A;border-color:#CBD5E1;}.room-pill-btn.pill-active,.room-pill-btn:has(.room-pill-checkbox:checked){background:#FACC15 !important;color:#020617 !important;font-weight:700 !important;border-color:#EAB308 !important;box-shadow:0 2px 6px rgba(234,179,8,0.25);}body[data-theme="dark"] .room-pill-btn{background:#14191D;color:#8899A6;border:1px solid #2A3644;}body[data-theme="dark"] .room-pill-btn:hover{color:#DFE3E8;border-color:#3E4F61;}body[data-theme="dark"] .room-pill-btn.pill-active,body[data-theme="dark"] .room-pill-btn:has(.room-pill-checkbox:checked){background:#FACC15 !important;color:#020617 !important;border-color:#FACC15 !important;box-shadow:0 0 10px rgba(250,204,21,0.35);}.room-pill-checkbox{position:absolute;inset:0;width:100% !important;height:100% !important;opacity:0.001 !important;margin:0 !important;padding:0 !important;cursor:pointer;z-index:2;}.drawer-quick-select-link{font-size:11px;color:#CA8A04;background:transparent;border:none;cursor:pointer;padding:0;font-weight:600;transition:opacity 0.15s ease;}body[data-theme="dark"] .drawer-quick-select-link{color:#FACC15;}.drawer-quick-select-link:hover{text-decoration:underline;}.drawer-collapsible-card{padding:0 !important;overflow:hidden;}.drawer-collapsible-card summary{list-style:none;padding:10px 14px;background:#F8FAFC;border-bottom:1px solid transparent;cursor:pointer;display:flex;align-items:center;justify-content:space-between;user-select:none;transition:background 0.15s ease;}.drawer-collapsible-card summary::-webkit-details-marker{display:none;}.drawer-collapsible-card[open] summary{border-bottom-color:#E2E8F0;}body[data-theme="dark"] .drawer-collapsible-card summary{background:#161D23;}body[data-theme="dark"] .drawer-collapsible-card[open] summary{border-bottom-color:#24303B;}.drawer-summary-title{font-size:12px;font-weight:600;color:#0F172A;display:flex;align-items:center;gap:6px;}body[data-theme="dark"] .drawer-summary-title{color:#DFE3E8;}body[data-theme="dark"] .drawer-summary-icon{color:#38BDF8;}.drawer-summary-right{display:flex;align-items:center;gap:6px;}.drawer-summary-hint{font-size:10px;color:#64748B;}body[data-theme="dark"] .drawer-summary-hint{color:#8899A6;}.drawer-summary-chevron{display:inline-flex;transition:transform 0.2s ease;}.drawer-collapsible-card[open] .drawer-summary-chevron{transform:rotate(180deg);}.drawer-card-content{padding:14px;display:flex;flex-direction:column;gap:12px;}.drawer-zero-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;user-select:none;font-size:11px;color:#64748B;transition:color 0.15s ease;}.ledger-drawer-panel .drawer-zero-toggle.ledger-zero-choice{min-height:0;align-self:auto;padding:0;border:0 !important;border-radius:0;background:transparent !important;box-shadow:none !important;font-size:11px;line-height:14px;white-space:nowrap;}.ledger-drawer-panel .drawer-zero-toggle.ledger-zero-choice > input{flex:0 0 14px;width:14px;min-width:14px;height:14px;min-height:14px;margin:0;padding:0;}.drawer-zero-toggle:hover{color:#0F172A;}body[data-theme="dark"] .drawer-zero-toggle{color:#8899A6;}body[data-theme="dark"] .drawer-zero-toggle:hover{color:#DFE3E8;}.drawer-spring-checkbox{accent-color:#EAB308;width:14px;height:14px;margin:0;cursor:pointer;}body[data-theme="dark"] .drawer-spring-checkbox{accent-color:#FACC15;}.drawer-checkbox-chip{height:32px;padding:0 10px;background:#FFFFFF;border:1px solid #CBD5E1;border-radius:8px;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#334155;font-weight:500;cursor:pointer;transition:all 0.15s ease;user-select:none;box-sizing:border-box;}.drawer-checkbox-chip:hover{border-color:#94A3B8;}body[data-theme="dark"] .drawer-checkbox-chip{background:#14191D;border:1px solid #2A3644;color:#DFE3E8;}body[data-theme="dark"] .drawer-checkbox-chip:hover{border-color:#3E4F61;}.drawer-continuous-toggle{display:inline-flex;align-items:center;gap:10px;cursor:pointer;user-select:none;}.drawer-continuous-toggle input[type="checkbox"]{accent-color:#EAB308;width:16px;height:16px;margin:0;cursor:pointer;}body[data-theme="dark"] .drawer-continuous-toggle input[type="checkbox"]{accent-color:#FACC15;}.drawer-continuous-toggle .toggle-text{display:flex;flex-direction:column;}.drawer-continuous-toggle .toggle-text strong{font-size:12px;font-weight:600;color:#1E293B;line-height:1.3;}body[data-theme="dark"] .drawer-continuous-toggle .toggle-text strong{color:#DFE3E8;}.drawer-continuous-toggle:hover .toggle-text strong{color:#CA8A04;}body[data-theme="dark"] .drawer-continuous-toggle:hover .toggle-text strong{color:#FACC15;}.drawer-continuous-toggle .toggle-text small{font-size:10px;color:#64748B;line-height:1.2;}body[data-theme="dark"] .drawer-continuous-toggle .toggle-text small{color:#8899A6;}.ledger-drawer-footer{padding:14px 24px;border-top:1px solid #E2E8F0;background:#FFFFFF;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;}body[data-theme="dark"] .ledger-drawer-footer{border-top:1px solid #24303B;background:#161D23;}.drawer-actions-right{display:flex;align-items:center;gap:10px;}.btn-drawer-cancel,.ledger-drawer-footer button.btn-drawer-cancel{padding:8px 18px !important;border-radius:10px !important;font-size:12px !important;font-weight:500 !important;color:#475569 !important;background:#F8FAFC !important;border:1px solid #CBD5E1 !important;cursor:pointer !important;transition:all 0.15s ease !important;min-height:38px !important;min-width:auto !important;}.btn-drawer-cancel:hover,.ledger-drawer-footer button.btn-drawer-cancel:hover{color:#0F172A !important;background:#E2E8F0 !important;border-color:#94A3B8 !important;}body[data-theme="dark"] .btn-drawer-cancel,body[data-theme="dark"] .ledger-drawer-footer button.btn-drawer-cancel{color:#8899A6 !important;background:transparent !important;border:1px solid #2A3644 !important;}body[data-theme="dark"] .btn-drawer-cancel:hover,body[data-theme="dark"] .ledger-drawer-footer button.btn-drawer-cancel:hover{color:#F1F5F9 !important;background:#25303C !important;border-color:#3E4F61 !important;}body[data-theme="dark"] .budget-v4-secondary,body[data-theme="dark"] .ledger-drawer-footer button.budget-v4-secondary{background:#1E262F !important;border:1px solid #2A3644 !important;color:#DFE3E8 !important;border-radius:10px !important;padding:8px 14px !important;font-size:12px !important;font-weight:500 !important;cursor:pointer !important;transition:all 0.15s ease !important;}body[data-theme="dark"] .budget-v4-secondary:hover,body[data-theme="dark"] .ledger-drawer-footer button.budget-v4-secondary:hover{background:#25303C !important;color:#F1F5F9 !important;border-color:#3E4F61 !important;}.btn-drawer-save,.ledger-drawer-footer button.btn-drawer-save,.ledger-drawer-footer button[type="submit"],.ledger-drawer-footer button[data-v4-detail-save]{padding:8px 20px !important;border-radius:10px !important;font-size:12px !important;font-weight:700 !important;color:#020617 !important;background:#FACC15 !important;border:none !important;cursor:pointer !important;display:inline-flex !important;align-items:center !important;gap:6px !important;box-shadow:0 2px 8px rgba(250,204,21,0.25) !important;transition:all 0.22s cubic-bezier(0.16,1,0.3,1) !important;min-height:38px !important;min-width:auto !important;}.btn-drawer-save:hover,.ledger-drawer-footer button.btn-drawer-save:hover,.ledger-drawer-footer button[type="submit"]:hover,.ledger-drawer-footer button[data-v4-detail-save]:hover{filter:brightness(1.08) !important;box-shadow:0 6px 20px rgba(250,204,21,0.35) !important;transform:translateY(-1px) !important;}.btn-drawer-save:active,.ledger-drawer-footer button.btn-drawer-save:active,.ledger-drawer-footer button[type="submit"]:active,.ledger-drawer-footer button[data-v4-detail-save]:active{}.btn-enter-arrow{font-family:monospace;font-weight:900;font-size:13px;}.ledger-detailed-drawer .ledger-item-created{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-radius:8px;font-size:11px;margin-top:14px;margin-bottom:0;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b;}.ledger-detailed-drawer .ledger-item-created time{color:#334155;font-weight:500;font-family:monospace;}html.dark .ledger-detailed-drawer .ledger-item-created,body.theme-dark .ledger-detailed-drawer .ledger-item-created,[data-theme="dark"] .ledger-detailed-drawer .ledger-item-created{background:#14191d;border:1px dashed #2a3644;color:#8899a6;}html.dark .ledger-detailed-drawer .ledger-item-created time,body.theme-dark .ledger-detailed-drawer .ledger-item-created time,[data-theme="dark"] .ledger-detailed-drawer .ledger-item-created time{color:#dfe3e8;}.budget-v4-name-cell{position:relative;display:flex;align-items:center;width:100%;max-width:100%;box-sizing:border-box;border:1px solid transparent;border-radius:8px;background:transparent;transition:border-color 0.15s ease,background-color 0.15s ease,box-shadow 0.15s ease;}.budget-v4-name-cell:hover{border-color:rgba(203,213,225,0.8);background:rgba(255,255,255,0.75);}.budget-v4-name-cell:focus-within{border-color:#2c5f87 !important;background:#ffffff !important;box-shadow:0 0 0 2px rgba(44,95,135,0.14) !important;}.budget-v4-name-input{flex:1 1 auto;min-width:0;height:30px;padding:0 4px 0 8px;border:0 !important;outline:none !important;background:transparent !important;color:var(--budget-ink,#172731);font:inherit;font-size:13px;font-weight:600;box-shadow:none !important;}.budget-v4-name-picker-btn{flex:0 0 24px;width:24px;height:24px;margin-right:4px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;padding:0;color:#788994;background:transparent;cursor:pointer;transition:all 0.15s ease;}.budget-v4-name-picker-btn:hover{color:#172731;background:rgba(0,0,0,0.08);}.budget-v4-name-picker-btn .ledger-select-chevron{width:13px;height:13px;}body[data-theme="dark"] .budget-v4-name-cell:hover{border-color:rgba(71,85,105,0.8);background:rgba(30,41,59,0.6);}body[data-theme="dark"] .budget-v4-name-cell:focus-within{border-color:#38bdf8 !important;background:#1e293b !important;box-shadow:0 0 0 2px rgba(56,189,248,0.2) !important;}body[data-theme="dark"] .budget-v4-name-input{color:#f1f5f9;}body[data-theme="dark"] .budget-v4-name-picker-btn{color:#94a3b8;}body[data-theme="dark"] .budget-v4-name-picker-btn:hover{color:#f1f5f9;background:rgba(255,255,255,0.12);}.budget-v4-table .budget-v4-actual{display:inline-flex !important;align-items:center !important;gap:6px !important;text-decoration:none !important;border:0;background:transparent;cursor:pointer;padding:3px 6px;border-radius:6px;transition:background-color 0.15s ease;}.budget-v4-table .budget-v4-actual:hover{background:rgba(44,95,135,0.08);}.budget-v4-table .budget-v4-actual strong{font-size:13px;font-weight:700;color:var(--budget-ink,#172731);font-variant-numeric:tabular-nums;}.budget-v4-table .budget-v4-actual-badge{display:inline-flex !important;align-items:center !important;position:static !important;width:auto !important;height:auto !important;overflow:visible !important;clip-path:none !important;font-size:10px !important;font-weight:600 !important;line-height:1.2 !important;padding:2px 6px !important;border-radius:4px !important;color:#0284c7 !important;background:#f0f9ff !important;border:1px solid rgba(125,211,252,0.7) !important;transition:all 0.15s ease !important;white-space:nowrap !important;}.budget-v4-table .budget-v4-actual:hover .budget-v4-actual-badge{color:#0369a1 !important;background:#e0f2fe !important;border-color:#38bdf8 !important;transform:translateY(-1px);}body[data-theme="dark"] .budget-v4-table .budget-v4-actual strong{color:#f1f5f9;}body[data-theme="dark"] .budget-v4-table .budget-v4-actual-badge{color:#38bdf8 !important;background:rgba(56,189,248,0.12) !important;border-color:rgba(56,189,248,0.3) !important;}body[data-theme="dark"] .budget-v4-table .budget-v4-actual:hover .budget-v4-actual-badge{background:rgba(56,189,248,0.22) !important;border-color:#38bdf8 !important;}aside.budget-v4-detail.ledger-record{background:#FFFFFF !important;border-left:1px solid #E2E8F0 !important;box-shadow:-10px 0 36px rgba(15,23,42,0.14) !important;padding:20px 24px !important;overflow-y:auto !important;color:#0F172A !important;}aside.budget-v4-detail.ledger-record > header{position:sticky;top:0;z-index:2;background:#FFFFFF !important;padding-bottom:12px;border-bottom:1px solid #F1F5F9;}aside.budget-v4-detail.ledger-record > header h2{margin:0;font-size:18px;font-weight:700;color:#0F172A;}aside.budget-v4-detail.ledger-record > footer{position:sticky;bottom:0;z-index:2;background:#FFFFFF !important;margin-top:18px;padding-top:14px;border-top:1px solid #F1F5F9;}aside.budget-v4-detail.ledger-record .budget-v4-detail-grid :is(input,select,textarea){height:40px;min-height:40px;box-sizing:border-box;padding:0 13px;font-size:13px;line-height:20px;border:1px solid #CBD5E1 !important;border-radius:8px !important;background:#FFFFFF !important;color:#0F172A !important;box-shadow:none !important;outline:none !important;}aside.budget-v4-detail.ledger-record .budget-v4-detail-grid select{padding-right:32px;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2352616b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;background-repeat:no-repeat !important;background-position:right 10px center !important;}aside.budget-v4-detail.ledger-record .budget-v4-detail-grid textarea{height:auto;min-height:88px;padding:10px 13px;}aside.budget-v4-detail.ledger-record .budget-v4-detail-grid :is(input,select,textarea):focus{border-color:#2c5f87 !important;box-shadow:0 0 0 2px rgba(44,95,135,0.15) !important;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record{background:#171C20 !important;border-left:1px solid #283542 !important;box-shadow:-12px 0 40px rgba(0,0,0,0.6) !important;color:#DFE3E8 !important;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record > header,body[data-theme="dark"] aside.budget-v4-detail.ledger-record > footer{background:#171C20 !important;border-color:#24303B !important;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record > header h2{color:#F1F5F9;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record .budget-v4-detail-grid :is(input,select,textarea){border-color:#374759 !important;background:#1E252B !important;color:#F1F5F9 !important;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record .budget-v4-detail-grid select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record .budget-v4-detail-grid :is(input,select,textarea):focus{border-color:#38bdf8 !important;box-shadow:0 0 0 2px rgba(56,189,248,0.2) !important;}.budget-v4-total-budget > input,.budget-v4-total-budget > input:focus,.budget-v4-total-budget > input:focus-visible{outline:none !important;box-shadow:none !important;border:0 !important;-webkit-tap-highlight-color:transparent !important;}.budget-v4-topbar label.budget-v4-total-budget{transition:border-color 0.15s ease,box-shadow 0.15s ease;}.budget-v4-topbar label.budget-v4-total-budget:focus-within{border-color:rgb(245 158 11 / 90%) !important;box-shadow:0 0 0 2px rgba(245,158,11,0.25) !important;}body[data-theme="dark"] .budget-v4-topbar label.budget-v4-total-budget:focus-within{border-color:#facc15 !important;box-shadow:0 0 0 2px rgba(250,204,21,0.3) !important;}.ledger-picker-header-actions,.ledger-room-setup-header-actions{display:inline-flex;align-items:center;gap:6px;}.ledger-manage-rooms-btn{min-height:36px;display:inline-flex;align-items:center;gap:5px;padding:0 9px;border:1px solid #d8e2e5;border-radius:9px;color:#2c5f87;background:#f4f9fb;font:inherit;font-size:12px;font-weight:650;cursor:pointer;}.ledger-manage-rooms-btn:hover{border-color:#2c5f87;background:#eaf4f8;}.ledger-manage-rooms-btn .ledger-ui-icon{width:15px;height:15px;}.ledger-room-setup-modal{z-index:1310;}.ledger-room-setup-panel{width:min(680px,100%);}.ledger-room-setup-body{display:grid;gap:14px;}.ledger-room-setup-hint{margin:0;color:#60717a;font-size:12px;line-height:19px;}.ledger-room-setup-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}.ledger-room-setup-chip{min-height:42px;padding:7px 10px;border:1px solid #dce1df;border-radius:10px;color:#344751;background:#fff;font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer;}.ledger-room-setup-chip:hover{border-color:#8aaabd;background:#f8fbfc;}.ledger-room-setup-chip.is-selected{border-color:#2c5f87;color:#1f547e;background:#e8f3f8;box-shadow:inset 0 0 0 1px rgb(44 95 135 / 10%);}.ledger-room-setup-chip.is-locked,.ledger-room-setup-chip:disabled{cursor:not-allowed;opacity:.68;}.ledger-room-setup-custom-list{display:flex;flex-wrap:wrap;align-items:center;gap:7px;}.ledger-room-setup-custom-list > span:first-child{color:#718087;font-size:12px;font-weight:600;}.ledger-room-setup-custom-tag{min-height:30px;display:inline-flex;align-items:center;gap:5px;padding:0 7px 0 10px;border-radius:999px;color:#1f547e;background:#edf5f8;font-size:12px;font-weight:600;}.ledger-room-setup-custom-tag button{width:20px;height:20px;padding:0;border:0;border-radius:50%;color:#55707e;background:transparent;font:inherit;font-size:17px;line-height:18px;cursor:pointer;}.ledger-room-setup-custom-tag button:hover{color:#a5452f;background:rgb(165 69 47 / 10%);}.ledger-room-setup-custom-tag.is-locked{color:#65757b;background:#f0f2f1;}.ledger-room-setup-custom-form{display:flex;gap:8px;}.ledger-room-setup-custom-form input{min-width:0;min-height:42px;flex:1 1 auto;padding:0 11px;border:1px solid #d7deda;border-radius:10px;color:#24313a;background:#fff;font:inherit;font-size:13px;}.ledger-room-setup-custom-form input:focus{outline:0;border-color:#2c5f87;box-shadow:0 0 0 3px rgb(44 95 135 / 12%);}.ledger-room-setup-custom-form button{min-width:68px;min-height:42px;padding:0 12px;border:1px solid #2c5f87;border-radius:10px;color:#2c5f87;background:#fff;font:inherit;font-size:13px;font-weight:650;cursor:pointer;}.ledger-room-setup-custom-form button:hover{color:#fff;background:#2c5f87;}.ledger-room-setup-error{margin:-4px 0 0;color:#a5452f;font-size:12px;font-weight:600;}.ledger-room-setup-count{margin-right:auto;color:#60717a;font-size:12px;font-weight:600;}.ledger-room-setup-panel > footer .budget-v4-primary{color:#17212a;border-color:#edc900;background:#ffdb1d;}.ledger-room-setup-panel > footer .budget-v4-primary:disabled{cursor:not-allowed;opacity:.5;}.ledger-room-setup-help-wrap{position:relative;display:inline-flex;}.ledger-room-setup-help-wrap [role="tooltip"]{position:absolute;z-index:2;top:calc(100% + 8px);right:0;width:min(260px,70vw);padding:9px 10px;border-radius:9px;color:#fff;background:#24313a;box-shadow:0 8px 24px rgb(36 49 58 / 20%);font-size:12px;font-weight:500;line-height:18px;opacity:0;pointer-events:none;transform:translateY(-3px);transition:opacity 140ms ease,transform 140ms ease;}.ledger-room-setup-help-wrap:hover [role="tooltip"],.ledger-room-setup-help-wrap:focus-within [role="tooltip"]{opacity:1;transform:translateY(0);}.budget-v4-table tr[data-v4-pricing-mode="total"] :is(.budget-v4-quantity-cell,.budget-v4-unit-cell,.budget-v4-unit-price-cell){background-color:rgb(245 246 244 / 52%);}.budget-v4-table .budget-v4-pricing-note{display:inline-flex;align-items:center;min-height:26px;padding:0 8px;border-radius:999px;color:#78858b;background:rgb(219 225 223 / 58%);font-size:10px;font-weight:600;line-height:1;white-space:nowrap;}.budget-v4-table .budget-v4-money-input{display:flex;align-items:center;min-width:0;min-height:38px;padding:0 10px;border:1px solid transparent;border-radius:9px;color:#52616b;background:transparent;transition:border-color 150ms ease,background-color 150ms ease,box-shadow 150ms ease;}.budget-v4-table .budget-v4-money-input > span{flex:0 0 auto;color:#7a878c;font-size:11px;font-variant-numeric:tabular-nums;}.budget-v4-table .budget-v4-money-input > input{width:100%;min-width:0;min-height:28px;padding:0 0 0 3px !important;border:0 !important;border-radius:0 !important;color:#24313a;background:transparent !important;box-shadow:none !important;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;text-align:right;}.budget-v4-table tbody tr:hover .budget-v4-money-input,.budget-v4-table .budget-v4-money-input:focus-within{border-color:rgb(44 95 135 / 28%);background:rgb(255 255 255 / 82%);}.budget-v4-table .budget-v4-money-input:focus-within{border-color:#2c5f87;box-shadow:0 0 0 2px rgb(44 95 135 / 12%);}.budget-v4-table .budget-v4-actual{display:inline-flex !important;justify-content:flex-end;gap:0 !important;max-width:100%;padding:4px 6px;}.budget-v4-table .budget-v4-actual-badge{position:absolute !important;width:1px !important;height:1px !important;overflow:hidden !important;clip-path:inset(50%) !important;padding:0 !important;border:0 !important;white-space:nowrap !important;}.budget-v4-table .budget-v4-actual:focus-visible .budget-v4-actual-badge{position:static !important;width:auto !important;height:auto !important;overflow:visible !important;clip-path:none !important;margin-left:6px;padding:2px 6px !important;border:1px solid rgb(125 211 252 / 70%) !important;}@media (hover:hover){.budget-v4-table .budget-v4-actual:hover .budget-v4-actual-badge{position:static !important;width:auto !important;height:auto !important;overflow:visible !important;clip-path:none !important;margin-left:6px;padding:2px 6px !important;border:1px solid rgb(125 211 252 / 70%) !important;}}.ledger-quick-entry-dock .ledger-quick-entry > label{min-height:58px;height:58px;padding-block:8px;font-size:10px;line-height:15px;}.ledger-quick-entry-dock .ledger-quick-entry :is(input,select){min-height:24px;font-size:12px;line-height:18px;}.ledger-quick-lead strong{font-size:14px;}.ledger-quick-entry-dock .ledger-quick-entry .ledger-quick-lead [role="status"]{font-size:10px;}body[data-theme="dark"] .budget-v4-table tr[data-v4-pricing-mode="total"] :is(.budget-v4-quantity-cell,.budget-v4-unit-cell,.budget-v4-unit-price-cell){background-color:rgb(22 30 35 / 60%);}body[data-theme="dark"] .budget-v4-table .budget-v4-pricing-note{color:#9aaab2;background:rgb(98 116 123 / 26%);}body[data-theme="dark"] .budget-v4-table .budget-v4-money-input > span{color:#97a9b1;}body[data-theme="dark"] .budget-v4-table .budget-v4-money-input > input{color:#f1f5f9;}body[data-theme="dark"] .budget-v4-table tbody tr:hover .budget-v4-money-input{background:rgb(32 43 50 / 86%);}.budget-v4-table :is(th,td).budget-v4-project-column{position:sticky;left:0;z-index:3;background:#fffdf9 !important;box-shadow:10px 0 14px -15px rgb(36 49 58 / 72%);}.budget-v4-table thead .budget-v4-project-column{z-index:5;background:#f4f1e9 !important;}.budget-v4-table tbody tr:hover .budget-v4-project-column{background:rgb(232 241 246 / 94%) !important;}.budget-v4-table .budget-v4-unit-cell{position:relative;}.budget-v4-table .budget-v4-formula-times{position:absolute;z-index:2;top:50%;right:-5px;display:inline-flex;align-items:center;justify-content:center;width:12px;height:20px;border:0;border-radius:0;color:#65747b;background:transparent;font-size:15px;font-weight:500;line-height:1;}.budget-v4-table .budget-v4-derived{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding-left:12px;}.budget-v4-table .budget-v4-formula-equals{color:#7b888d;font-size:12px;font-weight:600;}body[data-theme="dark"] .budget-v4-table :is(th,td).budget-v4-project-column{background:#182127 !important;}body[data-theme="dark"] .budget-v4-table thead .budget-v4-project-column{background:#1f2a30 !important;}body[data-theme="dark"] .budget-v4-table tbody tr:hover .budget-v4-project-column{background:#23343b !important;}body[data-theme="dark"] .budget-v4-table .budget-v4-formula-times{color:#afc0c8;background:transparent;}body[data-theme="dark"] .budget-v4-table .budget-v4-formula-equals{color:#9dabb2;}.budget-v4-table .budget-v4-derived{display:block;width:100%;box-sizing:border-box;padding:0 12px 0 0;text-align:right;}body[data-current-page="budget"] #budget-v3-root .budget-v4-table td > input,body[data-current-page="budget"] #budget-v3-root .budget-v4-table td > input:focus,body[data-current-page="budget"] #budget-v3-root .budget-v4-table td > input:focus-visible,body[data-current-page="budget"] #budget-v3-root .budget-v4-table tbody tr:hover td > input{border-color:transparent !important;background:transparent !important;box-shadow:none !important;outline:0 !important;}body[data-current-page="budget"] #budget-v3-root .budget-v4-table .budget-v4-name-cell:focus-within{border-color:transparent !important;background:transparent !important;box-shadow:none !important;}.budget-v4-table .budget-v4-quantity-cell{text-align:center !important;}.budget-v4-table .budget-v4-quantity-cell > .budget-v4-quantity-input{display:block !important;width:100% !important;box-sizing:border-box !important;margin:0 !important;padding-inline:0 !important;text-align:center !important;font-variant-numeric:tabular-nums !important;font-feature-settings:'tnum' 1 !important;}.budget-v4-table .budget-v4-quantity-cell .budget-v4-helper-link{text-align:center;}@media (min-width:1440px){body[data-current-page="budget"] .budget-v4-table-wrap{overflow:visible;}body[data-current-page="budget"] .ledger-table-heading{position:sticky;z-index:8;top:0;border-bottom:1px solid rgb(214 209 194 / 72%);overflow:hidden;isolation:isolate;background:#fffefb;}body[data-current-page="budget"] .budget-v4-table thead th{position:sticky;z-index:7;top:54px;isolation:isolate;background:#f4f1e9 !important;background-clip:padding-box;box-shadow:0 1px rgb(214 209 194 / 72%);}body[data-current-page="budget"] .budget-v4-table thead .budget-v4-project-column{z-index:9;}body[data-theme="dark"][data-current-page="budget"] .ledger-table-heading{background:#0d131c;}body[data-theme="dark"][data-current-page="budget"] .budget-v4-table thead th{background:#0d131c !important;}}@media (max-width:767px){.ledger-room-setup-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}.ledger-room-setup-chip{min-height:40px;padding-inline:8px;font-size:12px;}.ledger-manage-rooms-btn{min-height:34px;padding-inline:7px;font-size:11px;}.ledger-room-setup-panel > footer{flex-wrap:wrap;}.ledger-room-setup-count{flex-basis:100%;}.ledger-room-setup-panel > footer button{flex:1 1 0;}}.budget-v4-table thead th{padding-block:9px;font-variant-numeric:tabular-nums;}.budget-v4-table thead th:nth-child(1){padding-inline-start:26px;text-align:left;}.budget-v4-table thead th:nth-child(2),.budget-v4-table thead th:nth-child(3),.budget-v4-table thead th:nth-child(5){padding-inline-start:26px;text-align:left;}.budget-v4-table :is(th,td):nth-child(4),.budget-v4-table :is(th,td):nth-child(10),.budget-v4-table :is(th,td):nth-child(11){text-align:center;}.budget-v4-table :is(th,td):nth-child(6),.budget-v4-table :is(th,td):nth-child(7),.budget-v4-table :is(th,td):nth-child(8),.budget-v4-table :is(th,td):nth-child(9){padding-inline-end:8px;text-align:right;}@media (min-width:1181px){.budget-v4-table-wrap{overflow-x:auto;}.budget-v4-table-wrap > .ledger-table-heading,.budget-v4-table-wrap > .budget-v4-table{min-width:1200px;}}.budget-v4-transaction-list article{display:grid;grid-template-columns:minmax(160px,1fr) 96px 104px 64px minmax(150px,185px);align-items:center;column-gap:12px;min-height:48px;box-sizing:border-box;}.budget-v4-transaction-list .budget-v4-transaction-summary{min-width:0;}.budget-v4-transaction-list .budget-v4-transaction-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.budget-v4-transaction-list > article > b{text-align:right;white-space:nowrap;}.budget-v4-transaction-list .budget-v4-transaction-kind{text-align:center;justify-self:center;white-space:nowrap;}.budget-v4-transaction-list .budget-v4-transaction-action{justify-self:center;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;position:relative;z-index:2;}.budget-v4-transaction-list .budget-v4-transaction-action button{min-width:48px;height:28px;padding:0 8px;}.budget-v4-transaction-list .budget-v4-transaction-attachment{justify-self:end;display:inline-flex;align-items:center;justify-content:flex-end;white-space:nowrap;min-width:0;}.budget-v4-transaction-list .budget-v4-transaction-action .budget-v4-attachment-records > small{white-space:nowrap;}aside.budget-v4-detail.ledger-management > .ledger-management-panel{width:100%;max-width:none;}.ledger-management-panel .ledger-management-content{display:grid;gap:14px;min-height:0;overflow:auto;padding:20px 24px 28px;}.ledger-management-panel .ledger-management-content > p{margin:0;color:#64748b;font-size:13px;line-height:1.6;}.ledger-management-panel .ledger-payee-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr) auto;align-items:end;background:#f8fafc;border-color:#dbe4ee;}.ledger-management-panel .ledger-payee-row :is(input,button){box-sizing:border-box;}.ledger-management-panel .ledger-payee-row input{width:100%;min-height:40px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;background:#fff;font:inherit;}.ledger-management-panel .ledger-payee-row button{align-self:end;}[data-v4-template-dialog] > section{display:flex;flex-direction:column;box-sizing:border-box;width:min(720px,calc(100vw - 32px));height:min(720px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;}[data-v4-template-dialog] > section > header{align-items:flex-start;margin-bottom:14px;}[data-v4-template-dialog] > section > header h2{margin-top:4px !important;font-size:19px;letter-spacing:-.02em;}[data-v4-template-dialog] > section > header div > span{display:block;margin-top:5px;color:var(--budget-muted);font-size:11px;}[data-v4-template-dialog] .budget-v4-tier-cards{gap:7px;}[data-v4-template-dialog] .budget-v4-tier-cards button{min-height:94px;gap:4px;padding:11px;border-radius:11px;}[data-v4-template-dialog] .budget-v4-tier-cards button strong{font-size:14px;}[data-v4-template-dialog] .budget-v4-tier-cards button :is(span,small){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}[data-v4-template-dialog] .budget-v4-tier-cards button small{margin-top:auto;-webkit-line-clamp:1;opacity:.78;}[data-v4-template-dialog] .budget-v4-template-dialog-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 3px 0 0;}[data-v4-template-dialog] .budget-v4-template-stats{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:12px 0 10px;padding:10px 12px;border:1px solid var(--budget-line);border-radius:10px;background:color-mix(in srgb,var(--budget-accent-soft) 42%,var(--budget-surface));}[data-v4-template-dialog] .budget-v4-template-stats > *{position:relative;padding:0;border:0;background:transparent;color:var(--budget-muted);font-size:11px;line-height:18px;}[data-v4-template-dialog] .budget-v4-template-stats > * + *::before{content:'';position:absolute;top:4px;left:-8px;width:1px;height:10px;background:var(--budget-line-strong);}[data-v4-template-dialog] .budget-v4-template-stats strong{color:var(--budget-ink);}[data-v4-template-dialog] .budget-v4-template-stats strong b{margin-right:2px;color:var(--budget-accent);font-size:17px;}[data-v4-template-dialog] .budget-v4-template-picker{overflow:hidden;border-radius:12px;}[data-v4-template-dialog] .budget-v4-template-picker > summary{justify-content:space-between;min-height:40px;padding:0 12px;color:var(--budget-ink);background:var(--budget-field);}[data-v4-template-dialog] .budget-v4-template-picker > summary small{color:var(--budget-accent);font-size:11px;font-weight:600;}[data-v4-template-dialog] .budget-v4-template-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:min(31dvh,258px);padding:7px;border:0;background:color-mix(in srgb,var(--budget-line) 52%,transparent);}[data-v4-template-dialog] .budget-v4-template-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:54px;gap:8px;padding:8px 9px;border:1px solid var(--budget-line);border-radius:8px;background:var(--budget-field);cursor:pointer;}[data-v4-template-dialog] .budget-v4-template-item:hover{border-color:var(--budget-accent);background:var(--budget-accent-soft);}[data-v4-template-dialog] .budget-v4-template-item input{width:15px;height:15px;margin:0;accent-color:var(--budget-accent);}[data-v4-template-dialog] .budget-v4-template-item span{min-width:0;}[data-v4-template-dialog] .budget-v4-template-item strong,[data-v4-template-dialog] .budget-v4-template-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}[data-v4-template-dialog] .budget-v4-template-item strong{display:block;color:var(--budget-ink);font-size:13px;}[data-v4-template-dialog] .budget-v4-template-item small{display:block;margin-top:3px;color:var(--budget-muted);font-size:10px;}[data-v4-template-dialog] .budget-v4-template-item em{color:var(--budget-muted);font-size:10px;font-style:normal;white-space:nowrap;}[data-v4-template-dialog] .budget-v4-template-note{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:10px 0 2px;padding:8px 10px;border-left:3px solid var(--budget-success);border-radius:0 7px 7px 0;color:var(--budget-muted);background:color-mix(in srgb,var(--budget-success-soft) 45%,var(--budget-surface));line-height:1.5;}[data-v4-template-dialog] .budget-v4-template-note button{min-height:auto;padding:0;border:0;color:var(--budget-accent);background:transparent;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;}[data-v4-template-dialog] .budget-v4-template-note button:hover{text-decoration:underline;}[data-v4-template-dialog] > section > footer{flex:0 0 auto;margin-top:10px;margin-bottom:0;background:inherit;}[data-v4-template-dialog]{z-index:2001;}body:has([data-v4-template-dialog]) .page-content{z-index:auto;}body:has([data-ledger-managed-panels] .budget-v4-detail) .page-content{z-index:auto;}body[data-theme="dark"] .ledger-category-expand{border-color:#3a4a5c;color:#c7d4df;background:#1c2732;box-shadow:none;}body[data-theme="dark"] .ledger-category-expand:hover{border-color:#4b91bb;color:#e0f2fe;background:#233646;}body[data-theme="dark"] .ledger-management-panel .ledger-management-content > p{color:#a8b7c5;}body[data-theme="dark"] .ledger-management-panel .ledger-payee-row{border-color:#2d3c4c;background:#1b252d;}body[data-theme="dark"] .ledger-management-panel .ledger-payee-row input{border-color:#3a4b5c;color:#eef5fa;background:#111820;}body[data-theme="dark"] [data-v4-template-dialog] > section{color:#e5edf3;background:#171f27;border-color:#344554;box-shadow:0 26px 72px rgb(0 0 0 / 58%);}body[data-theme="dark"] [data-v4-template-dialog] :is(.budget-v4-tier-cards button,.budget-v4-template-stats > *,.budget-v4-template-items label,.budget-v4-modal details,.budget-v4-modal > section > footer button){color:#dce7ef;border-color:#344554;background:#1d2832;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-tier-cards button.is-selected{border-color:#51c793;background:#153f35;}body[data-theme="dark"] [data-v4-template-dialog] :is(.budget-v4-template-items small,.budget-v4-template-note,.ledger-template-source){color:#a9b9c7;}body[data-theme="dark"] [data-v4-template-dialog] > section{color:#edf5fa;background:#131e28;border-color:#3a5266;}body[data-theme="dark"] [data-v4-template-dialog] > section > header :is(p,h2){color:#f4f8fb;}body[data-theme="dark"] [data-v4-template-dialog] > section > header div > span{color:#afc1cd;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-tier-cards button{color:#eaf3f8;border-color:#3b566b;background:#1b2a36;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-tier-cards button :is(span,small){color:#b5c8d4;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-tier-cards button.is-selected{color:#f3fffa;border-color:#56d4a2;background:#123d35;box-shadow:inset 0 0 0 1px #56d4a2;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-stats{border-color:#5a8db3;background:#142a3b;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-stats > *{color:#c4d7e3;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-stats strong,body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-stats strong b{color:#8fd0ff;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-stats > * + *::before{background:#5d7688;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-picker{border-color:#3b586c;background:#20313e;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-picker > summary{color:#f0f7fb;border-bottom-color:#3b586c;background:#1a2a36;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-picker > summary small{color:#86cbff;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-items{background:#263b49;scrollbar-color:#7890a0 #263b49;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-items::-webkit-scrollbar-track{background:#263b49;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-items::-webkit-scrollbar-thumb{border:3px solid #263b49;border-radius:999px;background:#7890a0;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-item{border-color:#38556a;background:#172733;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-item:hover{border-color:#70bce9;background:#1d3544;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-item strong{color:#f2f8fc;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-item small{color:#a9cee8;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-item em{color:#bed0dc;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-note{color:#d0e1e9;border-left-color:#58d6a3;background:#123640;}body[data-theme="dark"] [data-v4-template-dialog] .budget-v4-template-note button{color:#8fd0ff;}body[data-theme="dark"] [data-v4-template-dialog] > section > footer{border-top-color:#3a5266;}body[data-theme="dark"] [data-v4-template-dialog] > section > footer button:not(.budget-v4-primary){color:#d9e7ef;border-color:#4c687c;background:#1b2a36;}body[data-theme="dark"] .ledger-space-picker .ledger-manage-rooms-btn{width:auto;min-width:112px;min-height:36px;justify-content:center;padding:0 10px;border:1px solid #4c6b82;border-radius:10px;color:#e3f1fa;background:#1b3346;white-space:nowrap;}body[data-theme="dark"] .ledger-space-picker .ledger-manage-rooms-btn:hover{border-color:#7dc6f2;color:#ffffff;background:#254a63;}body[data-theme="dark"] .ledger-space-picker .budget-v4-picker-panel > footer{border-top-color:#3a556a;}body[data-theme="dark"] .ledger-space-picker .budget-v4-picker-panel > footer button:not(.budget-v4-primary){color:#dcebf4;border-color:#4b687d;background:#1a2c3a;}body[data-theme="dark"] .ledger-space-picker .budget-v4-picker-panel > footer button:not(.budget-v4-primary):hover{border-color:#7dc6f2;color:#ffffff;background:#26465b;}body[data-theme="dark"] .ledger-space-picker .budget-v4-picker-panel > footer .budget-v4-primary{color:#17212a;border-color:#edc900;background:#ffdb1d;}body[data-theme="dark"] .ledger-space-picker .budget-v4-picker-panel > footer .budget-v4-primary:hover{border-color:#ffe55c;background:#ffe142;}.ledger-drawer-panel .drawer-amount-wrap{display:grid;grid-template-columns:13px minmax(0,1fr);align-items:center;column-gap:6px;}.ledger-drawer-panel .drawer-amount-wrap .drawer-amount-symbol{position:static;transform:none;justify-self:center;}.ledger-drawer-panel .drawer-amount-wrap input{min-width:0;padding-left:11px !important;}.ledger-detailed-drawer .ledger-drawer-body{min-height:0;overflow-y:scroll;scrollbar-gutter:stable;padding-bottom:32px;scroll-padding-bottom:32px;}.ledger-detailed-drawer .drawer-collapsible-card{flex:0 0 auto;}.ledger-drawer-panel .ledger-select-shell{position:relative;}.ledger-drawer-panel .ledger-select-shell.is-open{z-index:20;}.ledger-drawer-panel .ledger-select-trigger{height:40px;min-height:40px;padding:8px 30px 8px 11px;border-color:#cbd5e1;border-radius:8px;color:#0f172a;background:#fff;font-size:12px;font-weight:500;}.ledger-drawer-panel .ledger-select-trigger:hover,.ledger-drawer-panel .ledger-select-shell.is-open .ledger-select-trigger{border-color:#eab308;background:#fff;box-shadow:0 0 0 2px rgb(234 179 8 / 20%);}.ledger-drawer-panel .ledger-select-chevron{color:#64748b;}.ledger-drawer-panel .ledger-select-popover{z-index:30;width:100%;max-width:none;border-color:#cbd5e1;border-radius:10px;color:#0f172a;background:#fff;box-shadow:0 14px 30px rgb(15 23 42 / 18%);backdrop-filter:none;}.ledger-drawer-panel .ledger-select-popover > button:hover,.ledger-drawer-panel .ledger-select-popover > button:focus-visible{background:#f8fafc;}.ledger-drawer-panel .ledger-select-popover > button.is-selected{color:#1f5f86;background:#eaf5fa;font-weight:650;}body[data-theme="dark"] .ledger-drawer-panel .ledger-select-trigger{border-color:#2a3644;color:#f1f5f9;background:#14191d;}body[data-theme="dark"] .ledger-drawer-panel .ledger-select-trigger:hover,body[data-theme="dark"] .ledger-drawer-panel .ledger-select-shell.is-open .ledger-select-trigger{border-color:#facc15;background:#14191d;box-shadow:0 0 0 1px #facc15,0 0 14px -2px rgb(250 204 21 / 25%);}body[data-theme="dark"] .ledger-drawer-panel .ledger-select-chevron{color:#8899a6;}body[data-theme="dark"] .ledger-drawer-panel .ledger-select-popover{border-color:#344554;color:#e5edf3;background:#1b252d;box-shadow:0 16px 34px rgb(0 0 0 / 52%);}body[data-theme="dark"] .ledger-drawer-panel .ledger-select-popover > button:hover,body[data-theme="dark"] .ledger-drawer-panel .ledger-select-popover > button:focus-visible{background:#24323e;}body[data-theme="dark"] .ledger-drawer-panel .ledger-select-popover > button.is-selected{color:#fde047;background:rgb(250 204 21 / 14%);}@media (min-width:1181px){.budget-v4-table :is(th,td).budget-v4-project-column{position:static;left:auto;z-index:auto;box-shadow:none;}.budget-v4-table tbody tr:not(.ledger-category-divider,.budget-v4-mismatch) .budget-v4-project-column{background:transparent !important;}body[data-theme="dark"] .budget-v4-table tbody tr:not(.ledger-category-divider,.budget-v4-mismatch) .budget-v4-project-column{background:rgba(255,255,255,0.018) !important;}}body[data-theme="dark"] .budget-v4-table .budget-v4-actual{border-color:transparent;color:#78bdf2;background:transparent;}body[data-theme="dark"] .budget-v4-table .budget-v4-actual:hover,body[data-theme="dark"] .budget-v4-table .budget-v4-actual:focus-visible{border-color:rgb(56 189 248 / 34%);background:rgb(56 189 248 / 10%);}body[data-theme="dark"] #local-project-dialog{--local-project-yellow:#ffd515;--local-project-yellow-hover:#f2c900;--local-project-navy:#78bdf2;--local-project-navy-hover:#a5d5fa;--local-project-sand:#111a26;--local-project-border:#31465d;--local-project-ink:#f4f7fb;--local-project-muted:#9aabbd;border-color:#31465d;color:#f4f7fb;background:#0e1722;box-shadow:0 28px 72px rgb(0 0 0 / 62%),inset 0 1px rgb(255 255 255 / 5%);}body[data-theme="dark"] #local-project-dialog::backdrop{background:rgb(2 6 12 / 72%);}body[data-theme="dark"] #local-project-dialog button:focus-visible,body[data-theme="dark"] #local-project-dialog input:focus-visible{outline-color:rgb(120 189 242 / 58%);}body[data-theme="dark"] .local-project-header{border-color:#26394d;background:linear-gradient(135deg,rgb(24 39 56 / 96%),rgb(14 23 34 / 96%));}body[data-theme="dark"] .local-project-header h2,body[data-theme="dark"] .local-project-card-title,body[data-theme="dark"] .local-project-attribution > label,body[data-theme="dark"] .local-project-name-field label{color:#f4f7fb;}body[data-theme="dark"] .local-project-storage-badge{border-color:rgb(255 213 21 / 38%);color:#ffe784;background:rgb(255 213 21 / 12%);}body[data-theme="dark"] .local-project-storage-badge i{background:#ffd515;}body[data-theme="dark"] .local-project-close-icon{border-color:#3a5068;color:#a9bbce;background:#182737;}body[data-theme="dark"] .local-project-close-icon:hover{color:#f4f7fb;background:#22364b;}body[data-theme="dark"] .local-project-body{scrollbar-color:#435b74 transparent;}body[data-theme="dark"] .local-project-notice{border-color:rgb(255 213 21 / 28%);color:#f3d979;background:rgb(96 73 12 / 24%);}body[data-theme="dark"] .local-project-notice svg{color:#ffd515;}body[data-theme="dark"] .local-project-notice strong{color:#fff1af;}body[data-theme="dark"] .local-project-section-heading h3{color:#b7c6d5;}body[data-theme="dark"] .local-project-section-heading h3 small,body[data-theme="dark"] #local-project-name-count,body[data-theme="dark"] .local-project-quick-names > span{color:#8295aa;}body[data-theme="dark"] .local-project-refresh,body[data-theme="dark"] .local-project-status{color:#8dcbfa;}body[data-theme="dark"] .local-project-card{border-color:#30445a;color:#f4f7fb;background:rgb(22 35 50 / 90%);}body[data-theme="dark"] .local-project-card:hover{border-color:#55718c;background:#1b2b3d;box-shadow:0 12px 28px -8px rgb(0 0 0 / 44%);}body[data-theme="dark"] .local-project-card.is-selected{border-color:#ffd515;background:linear-gradient(100deg,rgb(67 57 17 / 68%),rgb(25 39 54 / 96%));}body[data-theme="dark"] .local-project-avatar{border-color:rgb(255 213 21 / 54%);color:#ffe273;background:rgb(255 213 21 / 12%);}body[data-theme="dark"] .local-project-card:not(.is-selected) .local-project-avatar{border-color:#3a5068;color:#c2cfdb;background:#243548;}body[data-theme="dark"] .local-project-card-title em{color:#2c2609;background:#ffd515;}body[data-theme="dark"] .local-project-card-mark{border-color:#536a82;color:#15202b;}body[data-theme="dark"] .local-project-card.is-selected .local-project-card-mark{border-color:#ffd515;background:#ffd515;}body[data-theme="dark"] .local-project-switch{color:#c7d4df;background:#243548;}body[data-theme="dark"] .local-project-switch:not(:disabled):hover{background:#2e455d;}body[data-theme="dark"] .local-project-divider{border-color:#2c4055;}body[data-theme="dark"] .local-project-divider span{color:#8295aa;background:#0e1722;}body[data-theme="dark"] .local-project-create-panel{border-color:#31465d;background:rgb(20 32 46 / 92%);box-shadow:0 12px 28px -18px rgb(0 0 0 / 68%),inset 0 1px rgb(255 255 255 / 4%);}body[data-theme="dark"] .local-project-readonly input,body[data-theme="dark"] .local-project-name-field input{border-color:#40566d;color:#eef5fb;background:#0f1c29;}body[data-theme="dark"] .local-project-readonly input{background:#172636;}body[data-theme="dark"] .local-project-readonly span,body[data-theme="dark"] .local-project-input-icon{color:#8fa4b8;}body[data-theme="dark"] .local-project-confirm{color:#bdcad6;}body[data-theme="dark"] .local-project-confirm input{accent-color:#78bdf2;}body[data-theme="dark"] .local-project-name-field input::placeholder{color:#71869b;}body[data-theme="dark"] .local-project-name-field input:focus{border-color:#78bdf2;box-shadow:0 0 0 3px rgb(120 189 242 / 18%);}body[data-theme="dark"] .local-project-quick-names button{color:#c6d5e1;background:#26394d;}body[data-theme="dark"] .local-project-quick-names button:hover{background:#334b63;}body[data-theme="dark"] .local-project-create{color:#0b1925;background:#78bdf2;box-shadow:0 9px 20px -11px rgb(120 189 242 / 78%);}body[data-theme="dark"] .local-project-create:not(:disabled):hover{background:#a5d5fa;}body[data-theme="dark"] .local-project-error,body[data-theme="dark"] .local-project-failure [role="alert"]{color:#ff9d91;}body[data-theme="dark"] .local-project-storage-note{border-color:#3a5068;color:#b7c7d5;background:#172636;}body[data-theme="dark"] .local-project-footer{border-color:#26394d;color:#8fa4b8;background:#111d2a;}body[data-theme="dark"] .local-project-footer kbd{border-color:#40566d;color:#c8d5df;background:#203143;box-shadow:none;}body[data-theme="dark"] .local-project-footer button,body[data-theme="dark"] .local-project-failure button{border-color:#40566d;color:#d9e4ed;background:#203143;}body[data-theme="dark"] .local-project-footer button:hover,body[data-theme="dark"] .local-project-failure button:hover{background:#2b4157;}@media (max-width:760px){.budget-v4-transaction-list article{grid-template-columns:minmax(0,1fr) auto;row-gap:8px;}.budget-v4-transaction-list .budget-v4-transaction-kind,.budget-v4-transaction-list .budget-v4-transaction-action{justify-self:start;}.ledger-management-panel .ledger-payee-row{grid-template-columns:1fr;}.ledger-management-panel .ledger-payee-row button{width:100%;}}@media (prefers-reduced-motion:no-preference){aside.budget-v4-detail.ledger-detailed-drawer,dialog.ledger-new-dialog.ledger-detailed-drawer{animation:none !important;transform:none !important;}aside.budget-v4-detail.ledger-detailed-drawer > .ledger-drawer-panel,dialog.ledger-new-dialog.ledger-detailed-drawer > .ledger-drawer-panel{animation:ledger-drawer-enter 220ms cubic-bezier(0.16,1,0.3,1) both !important;will-change:transform,opacity;}}@keyframes ledger-drawer-enter{from{opacity:0;transform:translate3d(20px,0,0);}to{opacity:1;transform:translate3d(0,0,0);}}.budget-v4-shell[data-v4-tab-current="analysis"]{--analysis-accent:#FFD026;--analysis-accentHover:#F5C71D;--analysis-onAccent:#191C1E;--analysis-canvas:#F6F4ED;--analysis-sidebar:#FFFFFF;--analysis-surface:#FFFFFF;--analysis-surfaceSubtle:#F9F8F4;--analysis-border:#EFECE4;--analysis-borderStrong:#B8B5AD;--analysis-text:#191C1E;--analysis-textSecondary:#62676D;--analysis-textMuted:#6F7479;--analysis-success:#167D46;--analysis-successSurface:#EAF7EF;--analysis-danger:#B83C2B;--analysis-dangerSurface:#FFF0EB;--analysis-info:#235F87;--analysis-infoSurface:#EAF3FA;--analysis-focus:#235F87;}body[data-theme="dark"] .budget-v4-shell[data-v4-tab-current="analysis"]{--analysis-accent:#FACC15;--analysis-accentHover:#EAB308;--analysis-onAccent:#12171B;--analysis-canvas:#12171B;--analysis-sidebar:#161D23;--analysis-surface:#1E262F;--analysis-surfaceSubtle:#182027;--analysis-border:#283542;--analysis-borderStrong:#61717E;--analysis-text:#F1F5F9;--analysis-textSecondary:#B7C2CC;--analysis-textMuted:#96A5B2;--analysis-success:#6AD59A;--analysis-successSurface:#15372B;--analysis-danger:#FF9B89;--analysis-dangerSurface:#3B2421;--analysis-info:#8DC9F0;--analysis-infoSurface:#1D3445;--analysis-focus:#8DC9F0;}.budget-v4-analysis .ledger-analysis-insights{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:16px;}.budget-v4-analysis .ledger-domain-donut,.budget-v4-analysis .ledger-risk-panel{min-height:360px;box-sizing:border-box;padding:20px;border:1px solid var(--analysis-border);border-radius:18px;background:var(--analysis-surface);box-shadow:0 2px 10px rgb(25 28 30 / 3%);}.budget-v4-analysis .ledger-domain-donut > header{min-height:52px;display:flex;align-items:start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--analysis-border);}.budget-v4-analysis .ledger-domain-donut header strong,.ledger-risk-panel > h3{color:var(--analysis-text);font-size:17px;font-weight:600;letter-spacing:-.025em;}.budget-v4-analysis .ledger-domain-donut header span{margin-top:4px;color:var(--analysis-textMuted);font-size:12px;line-height:18px;}.ledger-domain-legend{display:flex;flex-wrap:wrap;justify-content:end;gap:10px;color:var(--analysis-textMuted);font-size:11px;font-weight:600;white-space:nowrap;}.ledger-domain-legend span{display:inline-flex;align-items:center;gap:5px;}.ledger-domain-legend i,.ledger-domain-donut dt i{width:9px;height:9px;flex:0 0 auto;border-radius:3px;background:var(--analysis-text);}.ledger-domain-legend i.is-soft,.ledger-domain-donut dt i.is-soft{background:var(--analysis-accent);}.ledger-domain-legend i.is-other,.ledger-domain-donut dt i.is-other{background:var(--analysis-borderStrong);}.budget-v4-analysis .ledger-domain-donut-body{grid-template-columns:42% minmax(0,1fr);gap:22px;margin-top:18px;}.budget-v4-analysis .ledger-donut{width:min(188px,100%);margin-inline:auto;background:conic-gradient(var(--analysis-text) 0 var(--hard-angle),var(--analysis-accent) var(--hard-angle) var(--hard-soft-angle),var(--analysis-borderStrong) var(--hard-soft-angle) 360deg);box-shadow:none;}.budget-v4-analysis .ledger-donut::before{width:112px;background:var(--analysis-surface);}.budget-v4-analysis .ledger-donut b{color:var(--analysis-text);font-size:24px;letter-spacing:-.04em;}.budget-v4-analysis .ledger-donut small{color:var(--analysis-textMuted);font-size:11px;}.budget-v4-analysis .ledger-domain-donut dl{gap:10px;}.budget-v4-analysis .ledger-domain-donut dl > div{align-items:center;min-height:56px;box-sizing:border-box;padding:9px 12px;border:1px solid var(--analysis-border);border-radius:12px;background:var(--analysis-surfaceSubtle);}.budget-v4-analysis .ledger-domain-donut dt{min-width:0;}.budget-v4-analysis .ledger-domain-donut dt > span{display:grid;gap:2px;color:var(--analysis-text);font-size:12px;font-weight:600;}.budget-v4-analysis .ledger-domain-donut dt small,.budget-v4-analysis .ledger-domain-donut dd small{color:var(--analysis-textMuted);font-size:10px;font-weight:500;}.budget-v4-analysis .ledger-domain-donut dd{display:grid;gap:1px;color:var(--analysis-text);font-size:12px;}.budget-v4-analysis .ledger-domain-donut dd b{font-size:13px;}.budget-v4-analysis .ledger-domain-donut .is-base{min-height:auto;margin-top:2px;border:0;background:var(--analysis-surfaceSubtle);}.budget-v4-analysis .ledger-domain-donut .is-base dt i{width:7px;height:7px;border-radius:50%;background:var(--analysis-success);}.ledger-risk-panel{display:flex;flex-direction:column;border-color:var(--analysis-border);background:var(--analysis-dangerSurface);}.ledger-risk-panel > header{display:flex;align-items:center;gap:8px;color:var(--analysis-danger);font-size:12px;font-weight:600;}.ledger-risk-icon{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:9px;color:var(--analysis-text);background:var(--analysis-accent);}.ledger-risk-icon .ledger-ui-icon{width:17px;height:17px;}.ledger-risk-panel > header em{margin-left:auto;padding:4px 8px;border-radius:999px;color:var(--analysis-danger);background:var(--analysis-dangerSurface);font-size:10px;font-style:normal;}.ledger-risk-panel > h3{margin:22px 0 8px;max-width:360px;line-height:1.35;}.ledger-risk-panel > p{margin:0;color:var(--analysis-textMuted);font-size:12px;line-height:1.65;}.ledger-risk-panel ol{display:grid;gap:9px;margin:18px 0;padding:0;list-style:none;}.ledger-risk-panel li{min-height:56px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--analysis-dangerSurface);border-radius:12px;background:var(--analysis-surface);}.ledger-risk-panel li > b{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;color:var(--analysis-danger);background:var(--analysis-dangerSurface);font-size:10px;}.ledger-risk-panel li span{min-width:0;display:grid;gap:2px;}.ledger-risk-panel li strong{color:var(--analysis-text);font-size:12px;}.ledger-risk-panel li small{overflow:hidden;color:var(--analysis-textMuted);font-size:10px;text-overflow:ellipsis;white-space:nowrap;}.ledger-risk-panel li button,.ledger-risk-panel footer button{border:0;color:var(--analysis-danger);background:transparent;font:inherit;font-size:11px;font-weight:600;cursor:pointer;}.ledger-risk-panel .ledger-risk-empty{margin:18px 0;padding:13px;border-radius:10px;color:var(--analysis-textMuted);background:rgb(255 255 255 / 72%);font-size:12px;line-height:1.6;}.ledger-risk-panel > footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid var(--analysis-dangerSurface);color:var(--analysis-danger);font-size:11px;}.ledger-risk-panel > footer button{padding:9px 12px;border-radius:999px;color:var(--analysis-surface);background:var(--analysis-text);white-space:nowrap;}.ledger-risk-panel.is-healthy{border-color:var(--analysis-border);background:var(--analysis-successSurface);}.ledger-risk-panel.is-healthy > header{color:var(--analysis-success);}.ledger-risk-panel.is-healthy > header em{color:var(--analysis-success);background:var(--analysis-successSurface);}.budget-v4-analysis .ledger-analysis-breakdown{padding:22px;border:1px solid var(--analysis-border);border-radius:18px;background:var(--analysis-surface);box-shadow:0 2px 10px rgb(25 28 30 / 2%);}.budget-v4-analysis .ledger-analysis-breakdown > header{min-height:50px;padding-bottom:15px;border-bottom:1px solid var(--analysis-border);}.ledger-analysis-actions{display:flex;align-items:center;gap:9px;}.ledger-analysis-actions > button{min-height:30px;padding:0 11px;border:1px solid var(--analysis-border);border-radius:8px;color:var(--analysis-textMuted);background:var(--analysis-surfaceSubtle);font:inherit;font-size:11px;cursor:pointer;}.ledger-analysis-actions > span{color:var(--analysis-borderStrong);font-size:12px;}.ledger-analysis-actions > div{display:inline-flex;padding:2px;border-radius:8px;background:var(--analysis-border);}.ledger-analysis-actions > div button{min-height:26px;padding:0 10px;border:0;border-radius:6px;color:var(--analysis-textMuted);background:transparent;font:inherit;font-size:11px;}.ledger-analysis-actions > div .is-active{color:var(--analysis-text);background:var(--analysis-surface);box-shadow:0 1px 3px rgb(25 28 30 / 10%);font-weight:600;}.ledger-analysis-actions > div button:disabled{cursor:not-allowed;opacity:.66;}.budget-v4-analysis .ledger-analysis-controls{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:17px;}.budget-v4-analysis .ledger-analysis-controls > label{color:var(--analysis-textMuted);font-size:11px;font-weight:600;}.budget-v4-analysis .ledger-analysis-controls .ledger-select-shell{width:100%;}.budget-v4-analysis .ledger-analysis-controls .ledger-select-trigger{width:100%;min-height:38px;height:38px;border-color:var(--analysis-border);border-radius:11px;background:var(--analysis-surfaceSubtle);color:var(--analysis-text);font-size:11px;}.budget-v4-analysis .ledger-analysis-context{display:flex;align-items:center;gap:7px;margin-top:13px;color:var(--analysis-textMuted);}.budget-v4-analysis .ledger-analysis-context::before{content:'ⓘ';color:var(--analysis-textMuted);font-size:13px;}.ledger-analysis-pivots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px;}.ledger-analysis-pivot{min-width:0;display:flex;flex-direction:column;padding:15px;border:1px solid var(--analysis-border);border-radius:13px;background:var(--analysis-surfaceSubtle);}.ledger-analysis-pivot > header{min-height:30px;display:flex;align-items:start;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--analysis-border);}.ledger-analysis-pivot > header > div{display:flex;min-width:0;align-items:center;gap:7px;}.ledger-analysis-pivot > header i{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:var(--analysis-text);}.ledger-analysis-pivot--room > header i{background:var(--analysis-accent);}.ledger-analysis-pivot--priority > header i{background:var(--analysis-success);}.ledger-analysis-pivot h3{margin:0;color:var(--analysis-text);font-size:11px;font-weight:600;letter-spacing:.035em;line-height:16px;}.ledger-analysis-pivot > header small{color:var(--analysis-textMuted);font-size:10px;white-space:nowrap;}.ledger-analysis-pivot-list{display:grid;gap:8px;margin-top:11px;}.ledger-analysis-pivot-list > :is(div,button){position:relative;min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--analysis-border);border-radius:9px;color:var(--analysis-text);background:var(--analysis-surface);text-align:left;font:inherit;}.ledger-analysis-pivot-list > button{width:100%;cursor:pointer;}.ledger-analysis-pivot-list > button:hover{border-color:var(--analysis-border);background:var(--analysis-surfaceSubtle);}.ledger-analysis-pivot-list > :is(div,button):first-child{border-color:var(--analysis-dangerSurface);background:var(--analysis-surfaceSubtle);}.ledger-analysis-pivot-list span{min-width:0;display:grid;gap:3px;}.ledger-analysis-pivot-list span b{overflow:hidden;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;}.ledger-analysis-pivot-list span small{overflow:hidden;color:var(--analysis-textMuted);font-size:10px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;}.ledger-analysis-pivot-list > :is(div,button) > strong{color:var(--analysis-text);font-size:13px;font-variant-numeric:tabular-nums;}.ledger-analysis-pivot-list > :is(div,button):first-child > strong{color:var(--analysis-danger);}.ledger-analysis-pivot-list > :is(div,button) > i{position:absolute;right:10px;bottom:6px;width:48px;height:3px;overflow:hidden;border-radius:99px;background:var(--analysis-border);}.ledger-analysis-pivot-list > :is(div,button) > i::after{content:'';display:block;width:var(--ledger-share);height:100%;border-radius:inherit;background:var(--analysis-text);}.ledger-analysis-pivot-list > :is(div,button):first-child > i::after{background:var(--analysis-danger);}.ledger-analysis-pivot-list em{position:absolute;top:7px;right:10px;padding:1px 5px;border-radius:4px;color:var(--analysis-onAccent);background:var(--analysis-accent);font-size:9px;font-style:normal;font-weight:600;}.ledger-analysis-pivot footer{margin-top:11px;color:var(--analysis-textMuted);font-size:10px;line-height:1.5;text-align:right;}.ledger-analysis-pivot--priority footer{padding:8px;border:1px solid var(--analysis-dangerSurface);border-radius:8px;color:var(--analysis-danger);background:var(--analysis-surfaceSubtle);text-align:left;}.budget-v4-analysis .ledger-ranking{grid-column:1 / -1;overflow:hidden;border:1px solid var(--analysis-border);border-radius:18px;background:var(--analysis-surface);box-shadow:0 2px 10px rgb(25 28 30 / 2%);}.budget-v4-analysis .ledger-ranking > header{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 22px;border-bottom:1px solid var(--analysis-border);}.budget-v4-analysis .ledger-ranking > header > div:first-child{display:grid;gap:4px;}.budget-v4-analysis .ledger-ranking .ledger-ranking-title{display:flex;align-items:center;gap:9px;}.budget-v4-analysis .ledger-ranking h3{color:var(--analysis-text);font-size:16px;font-weight:600;letter-spacing:-.02em;}.budget-v4-analysis .ledger-ranking .ledger-ranking-title span{padding:3px 8px;border-radius:999px;color:var(--analysis-textMuted);background:var(--analysis-surfaceSubtle);font-size:10px;font-weight:600;}.budget-v4-analysis .ledger-ranking > header > div:first-child > small{color:var(--analysis-textMuted);font-size:11px;}.budget-v4-analysis .ledger-ranking > header > div:last-child{gap:12px;}.budget-v4-analysis .ledger-ranking header label{width:auto;display:flex;align-items:center;gap:6px;color:var(--analysis-textMuted);font-size:11px;}.budget-v4-analysis .ledger-ranking .ledger-select-shell{width:105px;}.budget-v4-analysis .ledger-ranking .ledger-select-trigger{min-height:30px;height:30px;border-color:var(--analysis-border);border-radius:8px;background:var(--analysis-surfaceSubtle);font-size:10px;}.budget-v4-analysis .ledger-ranking table{min-width:720px;}.budget-v4-analysis .ledger-ranking th{padding:11px 14px;color:var(--analysis-textMuted);background:var(--analysis-surfaceSubtle);font-size:10px;}.budget-v4-analysis .ledger-ranking td{padding:13px 14px;border-color:var(--analysis-border);font-size:11px;}.budget-v4-analysis .ledger-ranking tbody tr:hover{background:var(--analysis-surfaceSubtle);}.budget-v4-analysis .ledger-ranking td:first-child b{width:24px;height:24px;display:inline-grid;place-items:center;border-radius:7px;color:var(--analysis-danger);background:var(--analysis-dangerSurface);font-size:10px;}@media (max-width:1180px){.budget-v4-analysis .ledger-analysis-controls{grid-template-columns:repeat(3,minmax(0,1fr));}}@media (max-width:980px){.budget-v4-analysis .ledger-analysis-insights{grid-template-columns:1fr;}.budget-v4-analysis .ledger-domain-donut,.budget-v4-analysis .ledger-risk-panel{min-height:0;}.ledger-analysis-pivots{grid-template-columns:1fr;}}@media (max-width:640px){.budget-v4-analysis .ledger-domain-donut,.budget-v4-analysis .ledger-risk-panel{padding:15px;border-radius:14px;}.budget-v4-analysis .ledger-domain-donut > header{display:grid;}.ledger-domain-legend{justify-content:start;}.budget-v4-analysis .ledger-domain-donut-body{grid-template-columns:1fr;}.budget-v4-analysis .ledger-donut{width:154px;}.budget-v4-analysis .ledger-donut::before{width:88px;}.ledger-risk-panel li{grid-template-columns:28px minmax(0,1fr);}.ledger-risk-panel li button{grid-column:2;justify-self:start;}.ledger-risk-panel > footer{align-items:start;flex-direction:column;}.budget-v4-analysis .ledger-analysis-breakdown{padding:15px;border-radius:14px;}.budget-v4-analysis .ledger-analysis-breakdown > header,.budget-v4-analysis .ledger-ranking > header{align-items:start;flex-direction:column;}.ledger-analysis-actions{width:100%;justify-content:space-between;}.budget-v4-analysis .ledger-analysis-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.budget-v4-analysis .ledger-ranking{border-radius:14px;}.budget-v4-analysis .ledger-ranking > header{padding:15px;}.budget-v4-analysis .ledger-ranking > header > div:last-child{width:100%;justify-content:space-between;}}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-analysis{color:var(--analysis-text);padding:0;border:0;background:transparent;}.page-content:has([data-v4-detail-panel],[data-v4-record-panel]){z-index:20;}body .budget-v4-shell[data-v4-tab-current="analysis"] :is(.ledger-domain-donut,.ledger-analysis-breakdown,.ledger-ranking,.budget-v4-analysis-details,.ledger-key-tables .budget-v4-analysis-table){color:var(--analysis-text);background:var(--analysis-surface);border-color:var(--analysis-border);}body .budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel{background:var(--analysis-dangerSurface);border-color:var(--analysis-border);}body .budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel.is-healthy{background:var(--analysis-successSurface);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-analysis :is(h3,strong,dt,dd){color:var(--analysis-text);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-analysis :is(p,small){color:var(--analysis-textMuted);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-analysis :is(th,td){border-color:var(--analysis-border);color:var(--analysis-text);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-analysis th{background:var(--analysis-surfaceSubtle);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-analysis tbody tr:hover{background:var(--analysis-surfaceSubtle);}.budget-v4-analysis [hidden]{display:none !important;}body .budget-v4-shell[data-v4-tab-current="analysis"] .ledger-donut{position:relative;aspect-ratio:1;background:none;border:0;overflow:visible;}body .budget-v4-shell[data-v4-tab-current="analysis"] .ledger-donut::before{display:none;}.ledger-donut svg{display:block;width:100%;height:100%;overflow:visible;transform:rotate(-90deg);}.ledger-donut circle{fill:none;stroke-width:14;}.ledger-donut-track{stroke:var(--analysis-border);}.ledger-donut-segment{cursor:pointer;stroke:var(--analysis-text);transform-origin:center;}.ledger-donut-segment.is-soft{stroke:var(--analysis-accent);}.ledger-donut-segment.is-other{stroke:var(--analysis-borderStrong);}.ledger-donut-segment:is(:hover,:focus-visible,.is-highlighted){stroke-width:18;}.ledger-donut-segment:focus-visible{outline:2px solid var(--analysis-focus);outline-offset:5px;}.ledger-donut > span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;}.ledger-domain-donut dt button{display:grid;gap:4px;min-height:44px;padding:0;border:0;color:var(--analysis-text);background:transparent;text-align:left;font:inherit;cursor:pointer;}.ledger-domain-donut dt button b{font-weight:600;}.ledger-domain-donut dl > div:has(button:is(:hover,:focus-visible)){border-color:var(--analysis-borderStrong);}.ledger-base-note{grid-column:1 / -1;display:grid;gap:5px;padding:12px;border-radius:12px;background:var(--analysis-surfaceSubtle);color:var(--analysis-textSecondary);font-size:12px;}.ledger-base-note small{font-size:11px;}.ledger-base-note b{font-weight:600;}.ledger-analysis-pivot-list em{position:static;justify-self:start;grid-column:1 / -1;}.ledger-analysis-pivot-list > :is(div,button):first-child{background:var(--analysis-surface);border-color:var(--analysis-border);}.ledger-analysis-pivot-list > :is(div,button):first-child > strong{color:var(--analysis-text);}.ledger-analysis-pivot-list > :is(div,button) > i{bottom:5px;}.ledger-analysis-pivot-list > :is(div,button) > i::after,.ledger-analysis-pivot-list > :is(div,button):first-child > i::after{background:var(--analysis-textSecondary);}.ledger-pivot-expand{width:100%;min-height:44px;margin-top:8px;border:1px solid var(--analysis-borderStrong);border-radius:9px;color:var(--analysis-text);background:var(--analysis-surface);font:inherit;font-size:12px;cursor:pointer;}.budget-v4-analysis .ledger-key-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px;}.budget-v4-analysis .ledger-key-tables > section{overflow:auto;min-width:0;padding:12px;border:1px solid var(--analysis-border);border-radius:12px;}.budget-v4-analysis .ledger-key-tables table{min-width:380px;}.budget-v4-analysis .ledger-key-tables th,.budget-v4-analysis .ledger-key-tables td{padding:10px 8px;font-size:12px;white-space:nowrap;}.budget-v4-analysis .ledger-analysis-advanced{grid-column:1 / -1;}.budget-v4-analysis .ledger-analysis-advanced > summary{min-height:44px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--analysis-border);border-radius:11px;color:var(--analysis-text);background:var(--analysis-surface);font-size:12px;font-weight:700;list-style:none;cursor:pointer;}.budget-v4-analysis .ledger-analysis-advanced > summary::-webkit-details-marker{display:none;}.budget-v4-analysis .ledger-analysis-advanced > summary small{margin-left:auto;color:var(--analysis-textMuted);font-size:10px;font-weight:500;}.budget-v4-analysis .ledger-analysis-advanced[open] > summary{margin-bottom:8px;}.budget-v4-analysis .ledger-ranking{overflow-x:auto;}.budget-v4-analysis .ledger-ranking > [data-ledger-analysis-ranking-all]{min-height:44px;width:100%;border:0;color:var(--analysis-text);background:var(--analysis-surfaceSubtle);font:inherit;cursor:pointer;}body .budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel footer button{color:var(--analysis-onAccent);background:var(--analysis-accent);}.budget-v4-analysis :is(button,select,[role="button"]):focus-visible{outline:2px solid var(--analysis-focus);outline-offset:3px;}body .budget-v4-shell[data-v4-tab-current="analysis"] .ledger-select-trigger{border-color:var(--analysis-borderStrong);color:var(--analysis-text);background:var(--analysis-surfaceSubtle);}body .budget-v4-shell[data-v4-tab-current="analysis"] .ledger-select-popover{border-color:var(--analysis-borderStrong);color:var(--analysis-text);background:var(--analysis-surface);}body .budget-v4-shell[data-v4-tab-current="analysis"] [data-ledger-select-index]{color:var(--analysis-text);background:var(--analysis-surface);}body .budget-v4-shell[data-v4-tab-current="analysis"] [data-ledger-select-index]:is(:hover,[aria-selected="true"]){color:var(--analysis-text);background:var(--analysis-surfaceSubtle);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > div{min-height:152px;background:var(--analysis-surface);border-color:var(--analysis-border);box-shadow:none;}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > div :is(span,strong,small){color:var(--analysis-text);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > .is-total{background:var(--analysis-accent);border-color:var(--analysis-accent);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > .is-total :is(span,strong,small){color:var(--analysis-onAccent);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > div > span{display:flex;justify-content:space-between;align-items:center;gap:8px;}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview em{padding:3px 8px;border-radius:8px;color:inherit;background:color-mix(in srgb,currentColor 8%,transparent);font-style:normal;font-size:11px;}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview em.is-alert{color:var(--analysis-danger);background:var(--analysis-dangerSurface);}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > .is-danger strong{color:var(--analysis-danger);}.ledger-analysis-progress{width:100%;height:6px;border-radius:99px;background:var(--analysis-border);overflow:hidden;}.ledger-analysis-progress i{display:block;width:var(--spent-progress);height:100%;border-radius:inherit;background:var(--analysis-success);}body[data-theme="dark"] .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > div strong{color:var(--analysis-text) !important;}body[data-theme="dark"] .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > .is-total :is(span,strong,small){color:var(--analysis-onAccent) !important;}body[data-theme="dark"] .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > .is-danger strong{color:var(--analysis-danger) !important;}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > div:not(.is-total) > small{color:var(--analysis-textMuted);white-space:normal;}.budget-v4-analysis .ledger-analysis-breakdown > header > .ledger-analysis-actions{display:flex;flex-wrap:wrap;justify-content:end;}.budget-v4-analysis .ledger-analysis-breakdown > header > .ledger-analysis-actions > div{display:flex;}.budget-v4-analysis .ledger-risk-icon{color:var(--analysis-onAccent);background:var(--analysis-accent);}.budget-v4-analysis .budget-v4-analysis-details > summary,.budget-v4-analysis .budget-v4-analysis-details button{color:var(--analysis-text);}@media (prefers-reduced-motion:no-preference){.ledger-donut-segment{transition:stroke-width 180ms ease;}.budget-v4-analysis :is(.ledger-domain-donut,.ledger-risk-panel,.ledger-analysis-pivot-list > button){transition:transform 200ms ease,box-shadow 200ms ease;}.budget-v4-analysis button{transition:transform 150ms ease,background-color 150ms ease;}.budget-v4-analysis button:active{transform:scale(.98);}.ledger-analysis-enter .budget-v4-overview > div,.ledger-analysis-enter .ledger-analysis-insights > section,.ledger-analysis-enter .ledger-analysis-breakdown,.ledger-analysis-enter .ledger-ranking{animation:ledger-analysis-rise 400ms cubic-bezier(.16,1,.3,1) both;}.ledger-analysis-enter .budget-v4-overview > div:nth-child(2){animation-delay:40ms;}.ledger-analysis-enter .budget-v4-overview > div:nth-child(3){animation-delay:80ms;}.ledger-analysis-enter .budget-v4-overview > div:nth-child(4){animation-delay:120ms;}.ledger-analysis-enter .ledger-analysis-insights > section{animation-delay:160ms;}.ledger-analysis-enter .ledger-analysis-breakdown{animation-delay:200ms;}.ledger-analysis-enter .ledger-ranking{animation-delay:240ms;}.ledger-analysis-enter .ledger-analysis-progress i{animation:ledger-analysis-bar 700ms ease both;transform-origin:left;}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.budget-v4-analysis :is(.ledger-domain-donut,.ledger-risk-panel):hover{transform:translateY(-2px);box-shadow:0 10px 24px rgb(25 28 30 / 6%);}.ledger-analysis-pivot-list > button:hover{transform:translateY(-1px);}}@keyframes ledger-analysis-rise{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}@keyframes ledger-analysis-bar{from{transform:scaleX(0);}to{transform:scaleX(1);}}@media (prefers-reduced-motion:reduce){.budget-v4-shell[data-v4-tab-current="analysis"] *,.budget-v4-shell[data-v4-tab-current="analysis"] *::before,.budget-v4-shell[data-v4-tab-current="analysis"] *::after{animation:none !important;transition:none !important;}}.budget-v4-transaction-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:8px;align-items:stretch;margin:12px 0;}.budget-v4-transaction-stats > div{display:grid;gap:3px;padding:9px 11px;border:1px solid var(--ledger-line,#efece4);border-radius:11px;background:var(--ledger-surface,#fff);}.budget-v4-transaction-stats span{color:var(--ledger-muted,#6f7479);font-size:10px;}.budget-v4-transaction-stats strong{color:var(--ledger-ink,#191c1e);font-family:Bahnschrift,DIN Alternate,sans-serif;font-size:15px;font-variant-numeric:tabular-nums;}.budget-v4-transaction-stats strong small{color:var(--ledger-muted,#6f7479);font:inherit;font-size:10px;}.budget-v4-transaction-stats > button{min-height:44px;padding:0 12px;border:0;border-radius:11px;color:#191c1e;background:#ffd026;font:inherit;font-size:11px;font-weight:750;white-space:nowrap;}.budget-v4-transaction-filter-disclosure{margin:8px 0 12px;border:1px solid var(--ledger-line,#efece4);border-radius:11px;background:var(--ledger-surface,#fff);}.budget-v4-transaction-filter-disclosure > summary{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--ledger-ink,#191c1e);cursor:pointer;list-style:none;font-size:12px;font-weight:700;}.budget-v4-transaction-filter-disclosure > summary::-webkit-details-marker{display:none;}.budget-v4-transaction-filter-disclosure > summary small{margin-left:auto;color:var(--ledger-muted,#6f7479);font-size:10px;font-weight:500;}.budget-v4-transaction-filter-disclosure > summary b{min-width:18px;height:18px;display:inline-grid;place-items:center;border-radius:99px;color:#191c1e;background:#ffd026;font-size:10px;}.budget-v4-transaction-filter-disclosure:not([open]) > summary b{visibility:hidden;}.budget-v4-transaction-filter-disclosure .budget-v4-transaction-filters{margin:0;padding:0 10px 10px;border-top:1px solid var(--ledger-line,#efece4);}@media (max-width:768px){.budget-v4-hero-header{flex-wrap:wrap !important;gap:8px !important;}.budget-v4-hero-budget-tag{min-width:0 !important;flex:1 1 180px !important;}.budget-v4-hero-total-pill{max-width:132px !important;}.budget-v4-hero-total-pill input{width:70px !important;}.budget-v4-hero-header-actions{flex:0 0 auto !important;}.budget-v4-hero-balance-dec{font-size:12px !important;}.budget-v4-mobile-tools{gap:7px !important;}.budget-v4-mobile-add-btn{min-width:76px !important;padding-inline:12px !important;}.budget-v4-mobile-card-top{display:grid !important;grid-template-columns:36px minmax(0,1fr) auto !important;gap:9px !important;}.budget-v4-mobile-title-col{min-width:0 !important;}.budget-v4-mobile-meta-tags{flex-wrap:wrap !important;max-height:44px !important;overflow:hidden !important;row-gap:3px !important;}.budget-v4-mobile-meta-tags .budget-v4-picker-trigger{max-width:100%;}.budget-v4-mobile-price-col{min-width:70px !important;}.budget-v4-mobile-card-bottom{align-items:flex-end !important;}.budget-v4-mobile-card-summary{flex:1 1 auto !important;overflow:hidden !important;}.budget-v4-mobile-card-actions{gap:5px !important;}.budget-v4-mobile-quick-btn{min-height:36px !important;height:36px !important;padding-inline:10px !important;}.budget-v4-mobile-detail-link{min-height:36px !important;width:36px !important;height:36px !important;}.ledger-new-dialog .ledger-drawer-header{padding:14px 16px !important;}.ledger-new-dialog .ledger-drawer-header h2{font-size:17px !important;}.ledger-new-dialog .ledger-drawer-header p{max-width:285px;font-size:11px !important;}.ledger-new-dialog .ledger-drawer-body{padding:14px 14px 118px !important;gap:10px !important;}.ledger-new-dialog .drawer-section-card{padding:11px !important;gap:9px !important;border-radius:12px !important;}.ledger-new-dialog .drawer-grid-2,.ledger-new-dialog .drawer-grid-3,.ledger-new-dialog .drawer-sub-finance-row{gap:8px !important;}.ledger-new-dialog .drawer-card-title{font-size:12px !important;}.ledger-new-dialog .drawer-chips-wrap{gap:6px !important;margin-top:2px !important;}.ledger-new-dialog .room-pill-btn{min-height:34px !important;padding:5px 10px !important;}.ledger-new-dialog .drawer-pricing-row{gap:8px !important;}.ledger-new-dialog .drawer-sub-finance-row{padding-top:8px !important;}.ledger-new-dialog .ledger-drawer-footer{position:absolute !important;right:0;bottom:0;left:0;min-height:74px !important;padding:10px 14px !important;gap:8px !important;}.ledger-new-dialog .drawer-continuous-toggle{min-width:0 !important;flex:1 1 auto !important;gap:7px !important;}.ledger-new-dialog .drawer-continuous-toggle .toggle-text small{max-width:130px;white-space:normal;}.ledger-new-dialog .drawer-actions-right{flex:0 0 auto !important;gap:7px !important;}.ledger-new-dialog .ledger-drawer-footer button{min-height:44px !important;padding-inline:13px !important;}aside.budget-v4-detail.ledger-record{top:auto !important;right:0 !important;bottom:0 !important;left:0 !important;width:100vw !important;height:min(706px,calc(100dvh - 12px)) !important;max-height:calc(100dvh - 12px) !important;padding:0 !important;border-radius:18px 18px 0 0 !important;overflow:hidden !important;}aside.budget-v4-detail.ledger-record > header{padding:16px 16px 12px !important;}aside.budget-v4-detail.ledger-record > header h2{font-size:17px !important;}.ledger-record-body{flex:1 1 auto !important;min-height:0 !important;padding:14px 16px !important;overflow-y:auto !important;}.ledger-record-amount{padding:14px !important;border:1px solid #efece4;border-radius:14px;background:#f9f8f4;}.ledger-record-amount > label{display:grid;gap:7px;color:#62676d;font-size:11px;font-weight:700;}.ledger-record-amount-input{display:flex;align-items:center;gap:5px;border:1px solid #b8b5ad;border-radius:11px;background:#fff;}.ledger-record-amount-input > span{padding-left:13px;color:#b58a00;font-size:18px;font-weight:800;}.ledger-record-amount-input input{width:100%;height:52px;min-height:52px;padding:0 12px 0 2px;border:0 !important;outline:0;color:#191c1e;background:transparent;font-family:Bahnschrift,DIN Alternate,sans-serif;font-size:26px;font-weight:800;}.ledger-record-amount-help{display:block;margin-top:7px;color:#6f7479;font-size:10px;line-height:1.4;}.ledger-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.ledger-record-grid > label,.ledger-record-note{display:grid;gap:6px;color:#62676d;font-size:11px;font-weight:700;}.ledger-record-grid :is(input,select),.ledger-record-note textarea{width:100%;min-height:44px;box-sizing:border-box;padding:0 12px;border:1px solid #b8c6d2;border-radius:10px;color:#191c1e;background:#fff;font:inherit;font-size:13px;}.ledger-record-note textarea{min-height:76px;padding-block:10px;resize:vertical;}.ledger-record .ledger-date-field{position:relative;display:block;}.ledger-record .ledger-date-field input{padding-right:36px;}.ledger-record .ledger-date-field button{position:absolute;top:2px;right:3px;width:38px;height:38px;border:0;background:transparent;color:#235f87;}.ledger-tx-prefill-toggle{display:flex !important;align-items:center;gap:8px;margin-top:1px;color:#62676d;font-size:11px;font-weight:500;}.ledger-tx-prefill-toggle input{width:17px;height:17px;min-height:17px;accent-color:#ffd026;}.ledger-record-footnote{margin:0;color:#6f7479;font-size:10px;}aside.budget-v4-detail.ledger-record > footer{position:static;flex:0 0 auto;display:grid;grid-template-columns:1fr 1.35fr;gap:8px;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #efece4;}aside.budget-v4-detail.ledger-record > footer button{min-height:44px;border-radius:10px;font:inherit;font-size:13px;font-weight:750;}.ledger-record-cancel{border:1px solid #b8b5ad;color:#191c1e;background:#f9f8f4;}.ledger-record-save{border:0;color:#191c1e;background:#ffd026;}.budget-v4-modal[data-v4-template-dialog]{align-items:end;padding:0;}.budget-v4-modal[data-v4-template-dialog] > section{width:100%;max-height:92dvh;padding:14px;border-radius:18px 18px 0 0;}[data-v4-template-dialog] .budget-v4-tier-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}[data-v4-template-dialog] .budget-v4-tier-cards button{min-height:82px;padding:9px;border-radius:10px;gap:3px;}[data-v4-template-dialog] .budget-v4-tier-cards button strong{font-size:12px;}[data-v4-template-dialog] .budget-v4-tier-cards button span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:10px;}[data-v4-template-dialog] .budget-v4-tier-cards button small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:9px;}[data-v4-template-dialog] .budget-v4-template-stats{gap:4px 9px;margin:8px 0;padding:8px 10px;}[data-v4-template-dialog] .budget-v4-template-items{max-height:30dvh;}[data-v4-template-dialog] > section > footer{position:sticky;bottom:-14px;margin:8px -14px -14px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:var(--budget-surface);}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > div{min-height:84px !important;padding:10px 11px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview strong{font-size:16px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-insights{grid-template-columns:1fr !important;gap:9px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut,.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel{min-height:0 !important;padding:12px !important;border-radius:13px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut > header{display:flex !important;align-items:center;gap:8px;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut > header > div:first-child span{display:none;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut-body{grid-template-columns:132px minmax(0,1fr) !important;gap:10px !important;margin-top:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-donut{width:126px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-donut b{font-size:20px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dl{gap:6px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dl > div{min-height:42px !important;padding:6px 8px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut .ledger-base-note{padding:8px !important;font-size:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel header{min-height:24px;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel h3{margin:8px 0 4px;font-size:15px;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel p{margin:0 0 8px;font-size:11px;line-height:1.45;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel ol{gap:6px;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel li{min-height:42px;padding:7px 8px;}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-composition{margin-top:0 !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-composition > header{min-height:44px !important;padding-bottom:8px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-composition > header > div:first-child span{display:none;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-controls{gap:7px !important;margin-top:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-context{margin-top:8px !important;font-size:10px !important;}}body[data-theme="dark"] .budget-v4-transaction-stats > div,body[data-theme="dark"] .budget-v4-transaction-filter-disclosure{border-color:#283542;background:#1e262f;}body[data-theme="dark"] .budget-v4-transaction-stats span,body[data-theme="dark"] .budget-v4-transaction-filter-disclosure > summary small{color:#96a5b2;}body[data-theme="dark"] .budget-v4-transaction-stats strong,body[data-theme="dark"] .budget-v4-transaction-filter-disclosure > summary{color:#f1f5f9;}body[data-theme="dark"] .budget-v4-transaction-stats > button{color:#12171b;background:#facc15;}body[data-theme="dark"] .ledger-record-amount{border-color:#283542;background:#182027;}body[data-theme="dark"] .ledger-record-amount-input,body[data-theme="dark"] .ledger-record-grid :is(input,select),body[data-theme="dark"] .ledger-record-note textarea{border-color:#61717e;color:#f1f5f9;background:#1e262f;}body[data-theme="dark"] .ledger-record-amount-input input{background:transparent;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record > footer{background:#1e262f;border-color:#283542;}body[data-theme="dark"] .ledger-record-cancel{border-color:#61717e;color:#f1f5f9;background:#182027;}body[data-theme="dark"] .ledger-record-save{color:#12171b;background:#facc15;}@media (max-width:767px){.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced{grid-column:1 / -1;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced > summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;border:1px solid var(--analysis-border);border-radius:11px;color:var(--analysis-text);background:var(--analysis-surface);font-size:12px;font-weight:700;list-style:none;cursor:pointer;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced > summary::-webkit-details-marker{display:none;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced > summary::after{content:'展开';color:var(--analysis-textMuted);font-size:10px;font-weight:500;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced[open] > summary{margin-bottom:8px;border-radius:11px 11px 0 0;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced[open] > summary::after{content:'收起';}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced > summary small{color:var(--analysis-textMuted);font-size:10px;font-weight:500;margin-left:auto;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-advanced > .ledger-analysis-breakdown{margin-top:0;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut,.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel{padding:10px !important;border-radius:12px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut > header{min-height:38px !important;padding-bottom:8px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut header strong{font-size:14px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut header span{display:none;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut-body{grid-template-columns:112px minmax(0,1fr) !important;gap:8px !important;margin-top:8px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-donut{width:108px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dl{gap:4px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dl > div{min-height:34px !important;padding:4px 6px !important;border-radius:8px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dt button{min-height:30px !important;gap:2px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dt button b{font-size:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dt button small,.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dd small{font-size:9px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dd b{font-size:11px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut .ledger-base-note{padding:6px !important;font-size:9px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel > header{min-height:22px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel > h3{margin:8px 0 4px !important;font-size:14px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel > p{font-size:10px !important;line-height:1.4 !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel ol{gap:5px !important;margin:9px 0 !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel li{min-height:36px !important;padding:6px 7px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel > footer{padding-top:8px !important;font-size:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivots{gap:8px !important;margin-top:12px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivot{padding:10px !important;border-radius:11px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivot > header{min-height:24px !important;padding-bottom:6px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivot-list{gap:5px !important;margin-top:7px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivot-list > :is(div,button){min-height:40px !important;padding:6px 8px !important;border-radius:8px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivot-list span b{font-size:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivot-list span small{font-size:9px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-analysis-pivot-list > :is(div,button) > strong{font-size:12px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-pivot-expand{min-height:36px !important;margin-top:6px !important;font-size:11px !important;}}@media (max-width:900px){.budget-v4-analysis .ledger-key-tables{grid-template-columns:1fr;}}@media (max-width:768px){.budget-v4-analysis :is(button,.ledger-select-trigger){min-height:44px;}.budget-v4-analysis .ledger-ranking > header > div:last-child{flex-wrap:wrap;}body .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview > div{min-height:130px;}.budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview em{font-size:10px;padding:2px 4px;}}@media (min-width:1440px){body[data-current-page="budget"] .budget-v4-table-wrap > .ledger-table-heading{border-start-start-radius:inherit;border-start-end-radius:inherit;}}.ledger-drawer-panel{container:ledger-drawer / inline-size;}.drawer-pricing-row > .drawer-field,.drawer-pricing-row > .drawer-quantity-wrap,.drawer-quantity-subgrid > .drawer-field{min-width:0;}.drawer-field-sublabel{white-space:nowrap;}.drawer-quantity-subgrid{grid-template-columns:minmax(0,1fr) minmax(64px,.75fr) minmax(0,1.15fr);}@container ledger-drawer (max-width:360px){.drawer-pricing-row{grid-template-columns:1fr;}.drawer-sub-finance-row{grid-template-columns:1fr;}.drawer-quantity-subgrid{width:100%;}}@media (min-width:768px){.budget-v4-table th:nth-child(5){width:72px;min-width:72px;}.budget-v4-table thead th:nth-child(5){padding-inline:12px;white-space:nowrap;}.budget-v4-table td:nth-child(5){padding-inline:8px;}.budget-v4-table .budget-v4-unit-cell{overflow:visible;}.budget-v4-table .budget-v4-unit-cell .budget-v4-picker-trigger{padding-inline:8px 22px;}}.budget-v4-attachment-cluster{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:nowrap;vertical-align:middle;}.budget-v4-attachment-cluster.is-drag-over,.budget-v4-attachment-dropzone.is-drag-over,article.is-drag-over{outline:2px dashed #eab308 !important;outline-offset:2px;background-color:rgba(234,179,8,0.08) !important;border-radius:6px;}.budget-v4-attachment-btn{display:inline-flex;align-items:center;justify-content:center;gap:2px;padding:0 6px;height:24px;font-size:11px;font-weight:500;color:#475569;background:#f1f5f9;border:1px dashed #cbd5e1;border-radius:4px;cursor:pointer;user-select:none;white-space:nowrap;transition:all 0.15s ease;}.budget-v4-attachment-btn.is-compact{padding:0 4px;width:22px;min-width:22px;}.budget-v4-attachment-btn:hover{background:#e2e8f0;border-color:#94a3b8;color:#0f172a;}body[data-theme="dark"] .budget-v4-attachment-btn{background:#1e293b;border-color:#334155;color:#94a3b8;}body[data-theme="dark"] .budget-v4-attachment-btn:hover{background:#334155;border-color:#475569;color:#f1f5f9;}.budget-v4-attachment-chips{display:inline-flex;align-items:center;gap:3px;flex-wrap:nowrap;}.budget-v4-attachment-chip{display:inline-flex;align-items:center;gap:2px;height:24px;padding:0 3px 0 5px;font-size:11px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:4px;color:#334155;white-space:nowrap;transition:border-color 0.15s ease;}.budget-v4-attachment-chip:hover{border-color:#94a3b8;}body[data-theme="dark"] .budget-v4-attachment-chip{background:#14191d;border-color:#2a3644;color:#dfe3e8;}.budget-v4-attachment-view-btn{display:inline-flex;align-items:center;gap:2px;background:none;border:none;padding:0;font-size:11px;color:inherit;cursor:pointer;white-space:nowrap;}.budget-v4-attachment-view-btn:hover{color:#0284c7;text-decoration:underline;}.budget-v4-attachment-del-btn{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;margin-left:2px;background:none;border:none;border-radius:3px;font-size:13px;line-height:1;color:#94a3b8;cursor:pointer;}.budget-v4-attachment-del-btn:hover{background:#fee2e2;color:#ef4444;}body[data-theme="dark"] .budget-v4-attachment-del-btn:hover{background:#450a0a;color:#f87171;}.budget-v4-attachment-local-note{margin-top:16px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;color:#64748b;display:flex;flex-direction:column;gap:8px;}body[data-theme="dark"] .budget-v4-attachment-local-note{background:#14191d;border-color:#24303b;color:#8899a6;}.budget-v4-attachment-local-note p{margin:0;}.budget-v4-attachment-dir-btn{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:500;background:#ffffff;border:1px solid #cbd5e1;border-radius:6px;color:#1e293b;cursor:pointer;transition:all 0.15s ease;}.budget-v4-attachment-dir-btn:hover{border-color:#eab308;background:#fefce8;color:#854d0e;}body[data-theme="dark"] .budget-v4-attachment-dir-btn{background:#1e293b;border-color:#334155;color:#dfe3e8;}body[data-theme="dark"] .budget-v4-attachment-dir-btn:hover{border-color:#facc15;background:#2a2c20;color:#fef08a;}.ledger-drawer-panel .drawer-grid-2 > .drawer-field{min-width:0;width:100%;}.ledger-drawer-panel .drawer-field-header{height:20px !important;min-height:20px !important;line-height:20px !important;align-items:center !important;}.ledger-drawer-panel .drawer-field-header .drawer-field-hint{line-height:20px !important;font-family:inherit !important;}.ledger-drawer-panel .drawer-field-input-wrap{min-width:0;width:100%;height:40px !important;min-height:40px !important;max-height:40px !important;box-sizing:border-box !important;}.ledger-drawer-panel .drawer-field-input-wrap input{height:40px !important;min-height:40px !important;max-height:40px !important;box-sizing:border-box !important;width:100% !important;margin:0 !important;}.ledger-drawer-panel .drawer-field-input-wrap .ledger-select-shell{width:100%;min-width:0;height:40px !important;min-height:40px !important;max-height:40px !important;display:block !important;margin:0 !important;}.ledger-drawer-panel .drawer-field-input-wrap .ledger-select-trigger{height:40px !important;min-height:40px !important;max-height:40px !important;border-radius:8px !important;box-sizing:border-box !important;width:100% !important;margin:0 !important;}.ledger-item-created-group{display:flex;flex-direction:column;gap:4px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:12px;}body[data-theme="dark"] .ledger-item-created-group{background:#14191d;border-color:#24303b;}.ledger-item-created{display:flex;align-items:center;margin:0;font-size:12px;color:#334155;}body[data-theme="dark"] .ledger-item-created{color:#dfe3e8;}.ledger-item-created time{margin-left:4px;font-weight:500;}.ledger-save-count{margin-left:8px;font-size:11px;padding:1px 6px;border-radius:10px;background:rgba(234,179,8,0.15);color:#b45309;font-weight:600;}body[data-theme="dark"] .ledger-save-count{background:rgba(250,204,21,0.2);color:#facc15;}.ledger-item-created-sub{margin:0;font-size:11px;color:#64748b;}body[data-theme="dark"] .ledger-item-created-sub{color:#8899a6;}.ledger-multi-select-footer{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-top:1px solid #e2e8f0;margin-top:4px;background:#f8fafc;border-radius:0 0 8px 8px;}body[data-theme="dark"] .ledger-multi-select-footer{border-top-color:#2a3644;background:#14191d;}.ledger-multi-clear-btn{background:none;border:none;font-size:11px;color:#64748b;cursor:pointer;padding:2px 6px;border-radius:4px;transition:all 0.15s ease;}.ledger-multi-clear-btn:hover{color:#0f172a;background:#e2e8f0;}body[data-theme="dark"] .ledger-multi-clear-btn:hover{color:#f1f5f9;background:#2a3644;}.ledger-multi-apply-btn{background:#eab308;border:none;color:#0f172a;font-size:11px;font-weight:600;padding:3px 10px;border-radius:4px;cursor:pointer;transition:background 0.15s ease;}.ledger-multi-apply-btn:hover{background:#facc15;}.ledger-multi-options{max-height:220px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;padding:2px;}.ledger-multi-options > button{width:100%;min-height:34px;display:flex;align-items:center;gap:8px;padding:6px 10px;border:0;border-radius:7px;color:inherit;background:transparent;font:inherit;font-size:13px;line-height:20px;text-align:left;cursor:pointer;transition:background-color 0.15s ease;}.ledger-multi-options > button:hover,.ledger-multi-options > button:focus-visible{outline:0;background:#f1f5f9;}body[data-theme="dark"] .ledger-multi-options > button:hover,body[data-theme="dark"] .ledger-multi-options > button:focus-visible{background:#1e293b;}.ledger-multi-check-box{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1.5px solid #94a3b8;border-radius:4px;background:transparent;flex-shrink:0;transition:all 0.15s ease;}.ledger-multi-options > button.is-selected .ledger-multi-check-box{background:#eab308;border-color:#eab308;color:#0f172a;}.ledger-multi-check-box svg{width:12px;height:12px;stroke-width:2.5;opacity:0;transform:scale(0.7);transition:all 0.15s ease;}.ledger-multi-options > button.is-selected .ledger-multi-check-box svg{opacity:1;transform:scale(1);}.ledger-date-field{position:relative;display:inline-flex;align-items:center;width:100%;}.ledger-date-field input[type="date"]{width:100%;box-sizing:border-box;padding-right:32px !important;}.ledger-date-field button[data-ledger-date-today]{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;transition:all 0.15s ease;}.ledger-date-field button[data-ledger-date-today]:hover{background:rgba(234,179,8,0.18);color:#ca8a04;}body[data-theme="dark"] .ledger-date-field button[data-ledger-date-today]:hover{background:rgba(250,204,21,0.2);color:#facc15;}.budget-v4-inline-icon{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}.budget-v4-total-budget > span::after{content:none;}.budget-v4-total-budget > span:first-child::after{content:' ¥';}@media (max-width:767px){.ledger-new-dialog > form.ledger-drawer-panel{height:100% !important;grid-template-rows:auto minmax(0,1fr) auto !important;}.ledger-new-dialog .ledger-drawer-body{min-height:0 !important;padding:14px !important;overflow-y:auto !important;overscroll-behavior:contain;}.ledger-new-dialog .ledger-drawer-footer{position:static !important;min-height:74px !important;flex-shrink:0 !important;padding:10px 14px calc(10px + env(safe-area-inset-bottom)) !important;}aside.budget-v4-detail.ledger-record{height:auto !important;max-height:calc(100dvh - 12px) !important;min-height:0 !important;top:auto !important;bottom:0 !important;}aside.budget-v4-detail.ledger-record > header{position:static !important;}aside.budget-v4-detail.ledger-record .ledger-record-body{flex:0 1 auto !important;max-height:calc(100dvh - 190px) !important;min-height:0 !important;overflow-y:auto !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut,.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel{min-height:0 !important;padding:10px !important;border-radius:12px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut > header{min-height:32px !important;padding-bottom:6px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut-body{grid-template-columns:96px minmax(0,1fr) !important;gap:8px !important;margin-top:7px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-donut{width:92px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-donut b{font-size:18px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dl{gap:3px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dl > div{min-height:31px !important;flex-direction:row !important;align-items:center !important;padding:4px 6px !important;border-radius:8px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dl > div dd{margin-left:auto !important;text-align:right !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dt > span{font-size:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dt small,.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dd small{font-size:9px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut dd b{font-size:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-domain-donut .ledger-base-note{margin-top:5px !important;padding:5px 6px !important;font-size:9px !important;line-height:1.35 !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel > h3{margin:7px 0 3px !important;font-size:14px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel > p{margin-bottom:6px !important;font-size:10px !important;line-height:1.35 !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel ol{gap:4px !important;margin:7px 0 !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel li{min-height:38px !important;grid-template-columns:25px minmax(0,1fr) auto !important;gap:7px !important;padding:5px 6px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel li button{grid-column:auto !important;min-height:30px !important;font-size:10px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel li small{font-size:9px !important;}.budget-v4-shell[data-v4-tab-current="analysis"] .ledger-risk-panel > footer{margin-top:6px !important;padding-top:7px !important;font-size:10px !important;}}@media (max-width:767px){.budget-v4-transactions{padding:12px !important;border-radius:15px !important;}.budget-v4-transactions > header{display:grid !important;grid-template-columns:minmax(0,1fr) auto;align-items:start !important;gap:8px !important;}.budget-v4-transactions h2{max-width:190px;font-size:16px !important;line-height:1.35 !important;}.ledger-transaction-tools{display:grid !important;justify-items:end;gap:3px !important;align-content:start;}.ledger-transaction-tools > span{color:var(--ledger-muted,#6f7479);font-size:10px;white-space:nowrap;}.ledger-management-menu summary{min-height:30px !important;padding:0 2px !important;color:var(--ledger-info,#235f87);font-size:12px;font-weight:650;}.budget-v4-transaction-stats{gap:6px !important;margin:10px 0 !important;}.budget-v4-transaction-stats > div{padding:8px 9px !important;border-radius:10px !important;}.budget-v4-transaction-stats > button{min-width:56px;padding-inline:9px !important;border-radius:10px !important;}.budget-v4-transaction-list article{row-gap:6px !important;padding:10px 0 !important;}.budget-v4-attachment-local-note{margin-top:10px !important;padding:8px 10px !important;gap:4px !important;border-radius:10px !important;font-size:10px !important;line-height:1.4 !important;}}@media (max-width:767px){aside.budget-v4-detail.ledger-record > footer .ledger-record-cancel{border:1px solid #b8b5ad !important;color:#191c1e !important;background:#f9f8f4 !important;}aside.budget-v4-detail.ledger-record > footer .ledger-record-save{border:1px solid #ffd026 !important;color:#191c1e !important;background:#ffd026 !important;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record > footer .ledger-record-cancel{border-color:#61717e !important;color:#f1f5f9 !important;background:#182027 !important;}body[data-theme="dark"] aside.budget-v4-detail.ledger-record > footer .ledger-record-save{border-color:#facc15 !important;color:#12171b !important;background:#facc15 !important;}body[data-theme="dark"] .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview .is-total{border-color:#283542 !important;color:#f1f5f9 !important;background:#1e262f !important;}body[data-theme="dark"] .budget-v4-shell[data-v4-tab-current="analysis"] .budget-v4-overview .is-total :is(span,strong,small){color:#f1f5f9 !important;}}