:root{font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif;color:#26354a;background:#eef1f5;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums;--navy:#243b5c;--blue:#3d6ba2;--muted:#64748a;--line:#dce2eb;--green:#226b55;--amber:#866327}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:var(--blue)}button,a,input,select{touch-action:manipulation}button,input,select{min-height:36px}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b68c42;outline-offset:3px}aside{position:fixed;width:222px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column}.brand{font-size:25px;font-weight:750;text-decoration:none;color:var(--navy);letter-spacing:-1px}.brand span{display:block;font-size:12px;letter-spacing:0;font-weight:500;color:var(--muted);margin-top:2px}nav{margin-top:44px;display:grid;gap:5px}nav a{text-decoration:none;color:#506079;padding:11px 10px;font-weight:600;border-radius:5px}nav a:first-child{background:#eaf0f8;color:var(--navy)}nav a:hover{background:#f0f3f8}.rail-note{margin-top:auto;padding-top:30px;color:var(--muted);font-size:12px}main{margin-left:222px;max-width:1580px;padding:32px 38px 44px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}h1{font-size:31px;letter-spacing:-1.2px;line-height:1.2;margin:6px 0 8px;font-weight:650}header p{margin:0;color:var(--muted)}.preview-label{color:var(--amber);font-size:12px;font-weight:650}.header-actions{display:flex;gap:8px}button{border:1px solid #cbd4e0;border-radius:5px;background:white;color:var(--navy);padding:6px 10px}.context{display:flex;align-items:center;gap:22px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);margin-bottom:28px}.context label{color:var(--navy);font-weight:650;display:flex;align-items:center;gap:8px}.draft-status{margin-left:auto;color:var(--green)}select,input{border:1px solid #d3dae5;background:#fff;color:inherit;border-radius:4px;padding:5px 8px;max-width:100%}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}h2{font-size:22px;letter-spacing:-.55px;margin:0;scroll-margin-top:28px}h3{font-size:16px;margin:0 0 12px}.section-heading p{color:var(--muted);font-size:12px;margin:4px 0 0}.coverage,.local-badge{font-size:11px;color:var(--amber);white-space:nowrap}.coverage:before{content:'●';margin-right:6px;font-size:9px}.local-badge{color:var(--green);background:#edf6f1;padding:5px 9px;border-radius:4px}.cash-layout{display:grid;grid-template-columns:1.2fr 1fr;background:var(--navy);border-radius:10px;color:#fff;overflow:hidden}.cash-summary{padding:25px 30px;border-right:1px solid #52637b}.cash-summary>span{color:#c7d4e6;font-size:13px}.cash-value{display:block;font-size:45px;font-weight:600;letter-spacing:-1.6px;line-height:1.25;margin:6px 0 12px}.cash-accounts{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:12px;color:#d8e1ed}.cash-summary p{font-size:11px;color:#b6c7dd;max-width:58ch;margin:15px 0 0}.commitments{display:grid;grid-template-columns:1fr 1fr;padding:24px;gap:22px}.commitments>div:last-child{grid-column:1/-1;padding-top:12px;border-top:1px solid #52637b;display:grid;grid-template-columns:1fr auto}.commitments span,.commitments small{display:block;font-size:11px;color:#c4d0e2}.commitments strong{display:block;font-size:24px;font-weight:550;margin:4px 0}.commitments>div:last-child strong{font-size:20px;margin:0}.pulse-strip{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:7px;margin-top:14px}.pulse-strip>div,.pulse-strip>a{padding:18px 20px;border-right:1px solid var(--line);color:inherit;text-decoration:none}.pulse-strip>:last-child{border:0;background:#f7f9fc}.pulse-strip span,.pulse-strip small{display:block;font-size:11px;color:var(--muted)}.pulse-strip strong{display:block;font-size:23px;font-weight:600;letter-spacing:-.5px;margin:4px 0}.pulse-strip strong .amount{font-size:inherit;color:inherit}.workspace{margin-top:38px}.toolbar{display:flex;align-items:end;gap:16px;background:#fff;padding:14px 16px;border:1px solid var(--line);border-bottom:0;border-radius:7px 7px 0 0}.segmented{display:flex}.segmented button{border-radius:0;white-space:nowrap}.segmented button:first-child{border-radius:4px 0 0 4px}.segmented button:last-child{border-radius:0 4px 4px 0}.segmented button[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}.toolbar label{display:grid;gap:3px;font-size:11px;color:var(--muted)}.search{flex:1}.search input{width:100%}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line)}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:11px;font-weight:600;color:#607087;background:#f8fafc;padding:12px 10px;white-space:nowrap}td{padding:11px 10px;border-top:1px solid #e8edf3}td strong{font-weight:550;display:block}small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.number{text-align:right;white-space:nowrap}.positive{color:var(--green)}.reconciliation{min-width:940px}.reconciliation input[type=checkbox]{accent-color:var(--green);min-height:20px;width:16px;height:16px}.reconciliation select{font-size:11px;width:132px}.reconciliation .memo{font-size:11px;width:145px}.reconciliation .tax{white-space:nowrap;font-size:10px;min-width:120px}.tax.pre{color:#7e612c;background:#fff9ef;border-color:#e8dbc3}.tax.post{color:var(--green);background:#f3f8f5;border-color:#d3e4da}.reviewed td:first-child{border-left:2px solid #a4c9b6}.movement{font-size:10px;color:var(--muted);background:#f0f3f6;padding:4px 8px;border-radius:4px}.table-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted);padding:10px 0}.business-layout{display:grid;grid-template-columns:minmax(0,2.1fr) 1fr;gap:18px}.pivot th:first-child{min-width:130px}.pivot td button{border:0;padding:3px 6px;background:transparent;color:var(--blue);font-weight:600}.pivot tbody th{background:#fff;border-top:1px solid var(--line);text-align:left}.pivot{min-width:540px}.business-notes{padding:20px;background:#e4ebf4;border-radius:6px}.business-notes dl{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:12px}.business-notes dd{margin:0;text-align:right;font-weight:600}.business-notes p,.planning-note p,.spending-detail p{font-size:12px;color:var(--muted)}.drilldown{padding:15px 18px;background:#fff;border:1px solid var(--line);border-top:0;min-height:76px}.drilldown p{margin:8px 0;color:var(--muted);font-size:12px}.detail-row{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-row:last-child{border:0}.detail-row b{white-space:nowrap}.spending-layout,.planning-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:25px;background:#fff;padding:24px;border:1px solid var(--line);border-radius:7px}.split{display:flex;justify-content:space-between;gap:10px;padding-bottom:16px;border-bottom:3px solid #d9e3ef;font-size:12px;font-weight:600}.category-list{margin-top:10px}.category-row{display:grid;grid-template-columns:150px 1fr 70px;align-items:center;gap:16px;text-align:left;border:0;border-bottom:1px solid #edf0f5;border-radius:0;padding:12px 0;width:100%;font-size:12px}.category-row[aria-pressed=true]{background:#f2f6fc}.category-row b{text-align:right}.bar-track{height:7px;background:#edf1f6;border-radius:4px;overflow:hidden}.bar-track i{display:block;height:100%;width:var(--part);background:#7896bc;border-radius:4px}.spending-detail{border-left:1px solid var(--line);padding-left:25px}.insight{margin-top:22px;background:#f5f7fa;padding:15px;font-size:12px}.insight p{margin-bottom:0}.planning-note{padding-left:24px;border-left:1px solid var(--line)}.planning-note li{font-size:12px;margin-bottom:8px}.planning-note ul{padding-left:18px}.planning-note a{font-size:12px}.tool-links{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tool-links a{padding:14px;background:#fff;border:1px solid var(--line);text-decoration:none;border-radius:5px;font-weight:600}.tool-links span{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:4px}.muted,footer{color:var(--muted);font-size:11px}footer{margin-top:35px;padding-top:15px;border-top:1px solid var(--line)}.masked .amount{filter:blur(7px);user-select:none}.skip{position:absolute;left:240px;top:-100px;background:white;padding:10px;z-index:9}.skip:focus{top:0}@media(max-width:1150px){aside{width:190px;padding:28px 13px}main{margin-left:190px;padding:25px}.brand{font-size:23px}.business-layout{grid-template-columns:1fr}.business-notes{display:none}.pulse-strip>div,.pulse-strip>a{padding:14px}.pulse-strip strong{font-size:20px}.category-row{grid-template-columns:125px 1fr 65px}.context{flex-wrap:wrap;gap:10px}.draft-status{margin-left:0}.header-actions{flex-direction:column}.cash-summary{padding:22px}.commitments{padding:20px}}@media(max-width:760px){aside{position:sticky;top:0;width:auto;padding:8px 14px;z-index:5;border-right:0;border-bottom:1px solid var(--line)}.brand,.rail-note{display:none}nav{display:flex;gap:5px;margin:0;overflow-x:auto}nav a{font-size:11px;white-space:nowrap;padding:10px 8px;min-height:38px}main{margin:0;padding:22px 16px}h1{font-size:27px}header{align-items:start;gap:8px}header p{font-size:12px;max-width:24ch}.header-actions button{font-size:10px;min-height:34px;padding:5px 8px}h2{font-size:20px;scroll-margin-top:75px}.context{margin-bottom:22px}.context>span{font-size:10px}.section-heading{align-items:start;gap:10px}.section-heading p{font-size:11px}.coverage{font-size:9px;white-space:normal;text-align:right}.cash-layout{grid-template-columns:1fr}.cash-summary{border-right:0;border-bottom:1px solid #52637b;padding:20px}.cash-value{font-size:40px}.commitments{padding:18px 20px;gap:14px}.commitments>div:last-child{padding-top:9px}.commitments strong{font-size:22px}.pulse-strip{grid-template-columns:1fr 1fr}.pulse-strip>div,.pulse-strip>a{padding:13px;border-bottom:1px solid var(--line)}.pulse-strip>div:nth-child(2){border-right:0}.pulse-strip small{font-size:10px}.workspace{margin-top:29px}.local-badge{white-space:normal;font-size:9px;max-width:86px}.toolbar{flex-wrap:wrap;gap:10px;padding:12px}.segmented{flex-basis:100%}.segmented button{flex:1;font-size:11px}.search{min-width:150px}.toolbar input,.toolbar select{font-size:12px}.table-footer{display:block;font-size:10px}.table-footer span{display:block;margin-bottom:4px}.business-layout{gap:12px}.business-notes{display:block;padding:16px}.spending-layout,.planning-layout{grid-template-columns:1fr;padding:17px;gap:20px}.spending-detail,.planning-note{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.category-row{grid-template-columns:125px 1fr 65px;gap:10px}.tool-links{grid-template-columns:1fr 1fr}.tool-links a{font-size:12px}.skip{left:10px}.reconciliation td{padding:10px 8px}.reconciliation th{padding:10px 8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
meter{width:100%;height:10px}meter::-webkit-meter-bar{background:#edf1f6;border:0;border-radius:4px}meter::-webkit-meter-optimum-value{background:#7896bc;border-radius:4px}
@media(max-width:760px){.reconciliation{min-width:0;display:block}.reconciliation thead{display:none}.reconciliation tbody{display:block}.reconciliation tr{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(0,1fr);padding:14px 12px;border-bottom:1px solid var(--line);gap:8px}.reconciliation td{display:block;border:0;padding:0;min-width:0}.reconciliation td:first-child{grid-column:1;grid-row:1}.reconciliation td:nth-child(2){grid-column:2/4;padding-right:80px;min-height:42px}.reconciliation td:nth-child(3){grid-column:3;grid-row:1;align-self:start}.reconciliation td:nth-child(4){grid-column:2}.reconciliation td:nth-child(5){grid-column:3}.reconciliation td:nth-child(6){grid-column:2/4}.reconciliation select,.reconciliation .tax,.reconciliation .memo{width:100%;min-width:0;min-height:40px}.reconciliation td:nth-child(4):before{content:'Source / category';display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.reconciliation td:nth-child(5):before{content:'Planning treatment';display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.reconciliation td:nth-child(2) small{font-size:9px}.reconciliation td:nth-child(2) strong{font-size:11px}.reconciliation .number{font-size:12px}.reviewed td:first-child{border:0}.category-row{grid-template-columns:115px minmax(0,1fr) 65px}.category-row small{font-size:9px}}
/* Keep comparison tables locally scrollable without widening the phone page. */
[hidden]{display:none!important}fieldset{min-width:0;margin:0;padding:0;border:0}.cash-summary a{color:#d4e4fa}.reconciliation input:not([type=checkbox]){width:100%;min-width:0}.reconciliation td:nth-child(3){text-align:right;white-space:nowrap}
.business-layout>div,.spending-layout>div,.planning-layout>div{min-width:0}
.dark-workbench{color:#e2e9f1;background:#141d2a;--navy:#d6e4f5;--blue:#a9cafa;--muted:#a4b3c6;--line:#344256;--green:#8fd5c4;--amber:#e3c38e;color-scheme:dark}
.dark-workbench aside{background:#1a2636;border-color:var(--line)}
.dark-workbench main{max-width:1700px;padding-top:28px}
.dark-workbench header{margin-bottom:20px}.dark-workbench h1{font-size:29px;letter-spacing:-.8px}
.dark-workbench nav a{color:#b8c8db}.dark-workbench nav a:first-child{background:transparent;color:#b8c8db}.dark-workbench nav a[aria-current=page]{background:#354965;color:#f5f8fc;box-shadow:inset 3px 0 #b2cef2}.dark-workbench nav a:hover{background:#2b3c52}
.dark-workbench button,.dark-workbench input,.dark-workbench select{background:#1e2c3e;border-color:#465872;color:#e2e9f1}.dark-workbench button:hover{background:#334963}.dark-workbench button:disabled{opacity:.5;cursor:default}
.dark-workbench .context{background:#1b293a;padding:14px 18px;border:1px solid var(--line);border-radius:8px;margin-bottom:26px}.dark-workbench .context label{color:#c4d4e8}.dark-workbench #entity{font-weight:700;min-width:135px}
.dark-workbench .workspace{margin-top:0}.dark-workbench .section-heading{align-items:center;margin-bottom:8px}.dark-workbench h2{font-size:25px;letter-spacing:-.65px}.dark-workbench .source-note,.edit-note{font-size:11px;color:var(--muted)}
.dark-workbench .pulse-strip{background:#1c2a3b;border-color:var(--line);margin:18px 0 24px}.dark-workbench .pulse-strip>:last-child{background:#26364a}.dark-workbench .pulse-strip strong{font-size:25px}.dark-workbench .pulse-strip em{font-size:15px;color:var(--muted);font-style:normal;font-weight:400}
.dark-workbench .toolbar{background:none;border:0;padding:0;gap:18px;align-items:end}.dark-workbench .toolbar input,.dark-workbench .toolbar select{min-height:42px}.dark-workbench .toolbar .search{max-width:620px}
.category-chips{display:flex;gap:8px;overflow-x:auto;padding:16px 0 3px}.category-chips button{white-space:nowrap;border-radius:18px;font-size:12px;padding:7px 13px}.category-chips span{color:#91a9c8;margin-left:6px}.edit-note{margin:10px 0 20px}
.review-group{border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:22px;scroll-margin-top:25px;background:#1b2839}.group-heading{display:flex;align-items:center;gap:14px;background:#2a3a50;padding:15px 19px}.group-heading h3{margin:0;font-size:16px}.group-heading>span{font-size:11px;color:var(--muted)}.group-heading>strong{margin-left:auto;font-size:17px}.income-group .group-heading{background:#26423f}.month-heading{display:flex;justify-content:space-between;background:#172334;color:#aabed7;padding:7px 19px;font-size:11px;font-weight:600}
.review-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:8px 13px;padding:17px 19px;border-bottom:1px solid #304056;scroll-margin-top:90px}.review-row:last-child{border:0}.review-row:focus{outline:2px solid #b3cdef;outline-offset:-3px;background:#24384f}.review-row.reviewed .record-name>strong{color:#a7b7ca}.review-check input{width:19px;height:19px;min-height:0;accent-color:#8cc7b8;margin:2px 0}.review-check>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.record-name strong{font-size:14px;font-weight:600}.record-name small{font-size:11px;margin-top:4px}.account-chip{color:#a7bad2;margin-left:8px}.record-amount{font-size:17px;white-space:nowrap}.record-amount.income{color:#a0ddcd}.record-controls{grid-column:2/4;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.record-controls label{display:grid;gap:4px;flex:1;min-width:105px;color:#acbdd2;font-size:10px}.record-controls input,.record-controls select{font-size:12px;width:100%;min-height:37px}.record-controls .record-note{flex:1.5;min-width:170px}.treatment-note{font-size:11px;padding:5px;color:#bfcce0}.treatment-note small{font-size:10px}.empty-state{padding:30px;background:#1c2a3b;border:1px solid var(--line);border-radius:9px}
.dark-workbench .table-wrap,.dark-workbench .drilldown,.dark-workbench .spending-layout,.dark-workbench .tool-links a{background:#1b293b;border-color:var(--line)}.dark-workbench th,.dark-workbench .pivot tbody th{background:#25364c;color:#b5c8e1}.dark-workbench td{border-color:var(--line)}.dark-workbench .cash-layout{background:#273d58}.dark-workbench .category-row{background:transparent;border-color:var(--line)}.dark-workbench .workspace>h2{margin-bottom:14px}.dark-workbench .workspace>p{color:var(--muted)}
@media(min-width:1350px){.dark-workbench main{padding-left:45px;padding-right:45px}.record-controls{flex-wrap:nowrap}.record-controls label{max-width:215px}.record-controls .record-note{max-width:none}}
@media(max-width:760px){.dark-workbench main{padding:20px 14px}.dark-workbench h1{font-size:24px}.dark-workbench h2{font-size:22px}.dark-workbench .section-heading{align-items:start;flex-direction:column;gap:10px}.dark-workbench .context{padding:12px;gap:10px;margin-bottom:22px}.dark-workbench .context label{font-size:11px;flex-wrap:wrap}.dark-workbench .pulse-strip{margin-top:14px;margin-bottom:20px}.dark-workbench .pulse-strip strong{font-size:23px}.review-group{scroll-margin-top:65px}.group-heading{padding:13px;gap:8px}.group-heading h3{font-size:15px}.group-heading>strong{font-size:15px}.group-heading>span{font-size:10px}.month-heading{padding:7px 13px}.review-row{padding:15px 12px;gap:9px;grid-template-columns:23px minmax(0,1fr) auto}.record-name strong{font-size:13px}.record-name small{font-size:10px}.account-chip{display:block;margin-left:0}.record-amount{font-size:14px}.record-controls{gap:10px;display:grid;grid-template-columns:1fr 1fr}.record-controls label{min-width:0}.record-controls .record-note{grid-column:1/-1;min-width:0}.record-controls input,.record-controls select{min-height:42px;font-size:12px}.dark-workbench .header-actions{gap:5px}.dark-workbench .header-actions button{min-height:36px}.dark-workbench .source-note{line-height:1.7}.dark-workbench nav a{font-size:12px}.category-chips button{min-height:40px}.dark-workbench .table-wrap{max-width:100%}}
@media(max-width:760px){.reconciliation td:nth-child(2){grid-row:1}.reconciliation td:nth-child(3){z-index:1}}
/* Analysis only: brass ledger, month columns, and traceable record detail. */
.financial-analysis{--analysis-paper:#efe7d4;--analysis-muted:#b1ab9d;--analysis-line:#343340;--analysis-accent:#c8a86b;background:#0e1017;color:var(--analysis-paper);border:1px solid var(--analysis-line);border-radius:12px;padding:28px;margin:0 0 28px;min-width:0}
.financial-analysis.analysis-income{--analysis-accent:#94bde0}
.financial-analysis .analysis-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;border-bottom:2px solid var(--analysis-accent);padding-bottom:22px}
.financial-analysis .analysis-heading p{margin:0 0 7px;color:var(--analysis-accent);font-size:13px}
.financial-analysis .analysis-heading h2{margin:0;font-size:clamp(25px,3vw,37px);letter-spacing:-1px;line-height:1.15;font-weight:600}
.financial-analysis .analysis-headline{text-align:right;flex-shrink:0}.financial-analysis .analysis-headline>span{font-size:11px;color:var(--analysis-muted)}.financial-analysis .analysis-headline strong{display:block;font-size:27px;font-weight:550;letter-spacing:-.5px}
.financial-analysis .analysis-scope,.financial-analysis .analysis-foot{color:var(--analysis-muted);font-size:11px;line-height:1.7;max-width:78ch;margin:16px 0 22px}.financial-analysis .analysis-foot{margin:20px 0 0}
.financial-analysis .analysis-buckets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:24px 0 30px}.financial-analysis .analysis-buckets>div{padding-left:12px;border-left:2px solid var(--analysis-accent);min-width:0}.financial-analysis .analysis-buckets span:not(.amount){font-size:11px;color:var(--analysis-muted)}.financial-analysis .analysis-buckets strong{display:block;font-size:17px;font-weight:550;margin-top:4px}.financial-analysis .analysis-buckets .analysis-bucket-fixed{border-color:#6a9bd1}.financial-analysis .analysis-buckets .analysis-bucket-obligation{border-color:#d79494}.financial-analysis .analysis-buckets .analysis-bucket-investment{border-color:#7fb78d}
.financial-analysis .analysis-scroll{overflow:auto;max-width:100%;border:1px solid var(--analysis-line);border-radius:8px;scrollbar-color:#716752 #14151e}.financial-analysis .analysis-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;min-width:540px}.financial-analysis .analysis-table caption{text-align:left;padding:13px 16px;background:#191923;color:var(--analysis-muted);font-size:11px}.financial-analysis .analysis-table th,.financial-analysis .analysis-table td{padding:11px 12px;text-align:right;border:0;border-bottom:1px solid #2a2a36;background:#10121a;white-space:nowrap;color:var(--analysis-paper)}.financial-analysis .analysis-table thead th{color:var(--analysis-muted);font-size:11px;font-weight:500;background:#191923}.financial-analysis .analysis-table th:first-child{position:sticky;left:0;text-align:left;min-width:150px;max-width:200px;z-index:1;border-right:1px solid var(--analysis-line)}.financial-analysis .analysis-table tbody th{font-weight:500}.financial-analysis .analysis-table button{background:transparent;border:0;border-radius:4px;color:inherit;padding:5px 7px;min-height:38px;font-size:12px}.financial-analysis .analysis-table th button{padding-left:0;text-align:left;white-space:normal;overflow-wrap:anywhere;max-width:175px}.financial-analysis .analysis-table button:hover,.financial-analysis .analysis-table button[aria-pressed=true]{background:#342e24;color:#f4dba3}.financial-analysis .analysis-table .analysis-total{background:#1c1c24;font-weight:600}.financial-analysis .analysis-table tfoot th,.financial-analysis .analysis-table tfoot td{background:#24232b;border:0;font-weight:650;color:var(--analysis-accent)}
.financial-analysis meter{display:block;width:100%;height:6px;margin:5px 0 2px}.financial-analysis meter::-webkit-meter-bar{background:#2b2a33;border:0}.financial-analysis meter::-webkit-meter-optimum-value{background:var(--analysis-accent)}.financial-analysis meter::-moz-meter-bar{background:var(--analysis-accent)}.financial-analysis.analysis-income meter{display:none}.masked .financial-analysis meter{visibility:hidden}
.financial-analysis .analysis-detail{margin-top:24px;padding:22px;background:#191923;border-left:3px solid var(--analysis-accent);border-radius:0 8px 8px 0}.financial-analysis .analysis-detail-title{display:flex;justify-content:space-between;align-items:baseline;gap:15px}.financial-analysis .analysis-detail h3{font-size:19px;line-height:1.3;margin:0;overflow-wrap:anywhere}.financial-analysis .analysis-detail-title>span{font-size:11px;text-align:right}.financial-analysis .analysis-detail-title .amount{display:block;font-size:20px;color:var(--analysis-accent)}.financial-analysis .analysis-detail p{font-size:12px;color:var(--analysis-muted);margin:8px 0;max-width:75ch}.financial-analysis .analysis-detail ul{list-style:none;margin:15px 0 0;padding:0;max-height:430px;overflow:auto}.financial-analysis .analysis-detail li{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:14px 0;border-top:1px solid var(--analysis-line)}.financial-analysis .analysis-detail li>div{min-width:0}.financial-analysis .analysis-detail li strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.financial-analysis .analysis-detail small{display:block;color:var(--analysis-muted);font-size:11px;margin-top:3px;overflow-wrap:anywhere}.financial-analysis .analysis-detail li b{font-size:13px;white-space:nowrap;font-weight:550}.financial-analysis .analysis-empty{padding:30px 0;max-width:60ch;color:var(--analysis-muted)}
@media(max-width:1000px){.financial-analysis .analysis-buckets{grid-template-columns:repeat(3,minmax(0,1fr))}.financial-analysis{padding:22px}}
@media(max-width:760px){.financial-analysis{padding:17px 12px;border-radius:8px}.financial-analysis .analysis-heading{align-items:start;flex-direction:column;gap:16px;padding-bottom:18px}.financial-analysis .analysis-headline{text-align:left}.financial-analysis .analysis-headline strong{font-size:29px}.financial-analysis .analysis-buckets{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 10px}.financial-analysis .analysis-buckets strong{font-size:16px}.financial-analysis .analysis-table th:first-child{min-width:120px;max-width:130px}.financial-analysis .analysis-table th button{max-width:110px}.financial-analysis .analysis-detail{padding:16px 12px}.financial-analysis .analysis-detail-title{display:block}.financial-analysis .analysis-detail-title>span{display:block;text-align:left;margin-top:10px}.financial-analysis .analysis-detail-title .amount{display:inline;margin-left:10px}.financial-analysis .analysis-detail li{gap:10px}.financial-analysis .analysis-detail li b{font-size:12px}}
/* Original reconciliation rhythm: one compact transaction row, not an editor card. */
.original-reconcile{background:#1b2839;border:1px solid var(--line);border-radius:9px;padding:20px}
.dark-workbench .original-reconcile h2{font-size:19px;letter-spacing:-.3px}.original-reconcile h2>span{font-size:12px;font-weight:400;color:var(--muted)}
.original-reconcile .rc-reviewed-count{font-size:11px;white-space:nowrap;color:var(--green)}
.original-reconcile .source-note{margin:6px 0 14px}.original-reconcile .toolbar{gap:10px}.original-reconcile .toolbar input,.original-reconcile .toolbar select{min-height:32px;font-size:12px}.original-reconcile #next-unreviewed{font-size:11px;white-space:nowrap;min-height:32px}.original-reconcile .toolbar .search{max-width:none}
.original-reconcile .category-chips{padding:12px 0 0;gap:6px;flex-wrap:wrap;overflow:visible}.original-reconcile .category-chips button{font-size:11px;padding:4px 9px;min-height:29px;border-radius:6px}.original-reconcile .edit-note{font-size:10px;margin:9px 0 14px}
.original-reconcile .rc-list-big{max-height:72vh;overflow:auto;scrollbar-gutter:stable;padding-right:7px}
.original-reconcile .rc-next-header{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;background:#1b2839;padding:4px 0;border-bottom:1px solid var(--line);font-size:11px}
.original-reconcile .rc-group{border:0;border-left:3px solid var(--line);border-radius:0;background:none;padding-left:10px;margin-bottom:16px;overflow:visible;scroll-margin-top:4px}
.original-reconcile .rc-ghead{position:sticky;top:0;z-index:2;padding:6px 8px;margin-bottom:5px;border-radius:6px;background:#26364a;gap:8px}.original-reconcile .rc-ghead h3{font-size:12px}.original-reconcile .rc-ghead strong{font-size:12px}.original-reconcile .rc-ghead>span{font-size:10px}
.original-reconcile .income-group{border-left-color:#8fd5c4}.original-reconcile .income-group .rc-ghead{background:#263d3d}.original-reconcile .bkt-fixed{border-left-color:#6a9bd1}.original-reconcile .bkt-disc{border-left-color:#e3c38e}.original-reconcile .bkt-investment{border-left-color:#8fd5c4}.original-reconcile .bkt-obligation{border-left-color:#dd9b9b}.original-reconcile .bkt-exclude{border-left-color:#71849b}
.original-reconcile .rc-month{padding:2px 0;margin:7px 0 3px;background:none;border-bottom:1px dashed var(--line);font-size:10px}
.original-reconcile .rc-row{display:grid;grid-template-columns:26px 48px minmax(120px,1fr) auto 190px;align-items:center;gap:9px;padding:3px 0;border:0;font-size:13px;scroll-margin-top:35px}
.original-reconcile .inc-row{grid-template-columns:26px 48px minmax(120px,1fr) auto 140px 75px}
.original-reconcile .rc-date{font-size:10px;color:var(--muted)}.original-reconcile .rc-name{min-width:0;overflow-wrap:anywhere}.original-reconcile .rc-name strong{font-size:13px;font-weight:500}.original-reconcile .account-chip{display:inline;margin-left:4px;font-size:9px;color:#9aacc3}.original-reconcile .rc-amt{font-size:13px;text-align:right;white-space:nowrap}.original-reconcile .rc-amt.income{color:var(--green)}.original-reconcile .rc-amt small{font-size:9px;margin:0}.original-reconcile .rc-amt small>span:last-child{display:block}
.original-reconcile .rc-rev{display:grid;place-items:center;width:26px;height:30px}.original-reconcile .rc-rev input{appearance:none;border:1.5px solid #667c97;border-radius:50%;background:none;width:21px;height:21px;margin:0;padding:0;cursor:pointer}.original-reconcile .rc-rev input:checked{background:var(--green);border-color:var(--green)}.original-reconcile .rc-rev input:checked:after{content:'✓';display:block;text-align:center;color:#102b23;line-height:18px;font-size:13px;font-weight:800}.original-reconcile .reviewed .rc-name>strong{text-decoration:line-through;color:#96a7bb}.original-reconcile .rc-excl .rc-name,.original-reconcile .rc-excl .rc-amt{opacity:.55}
.original-reconcile .rc-cat,.original-reconcile .inc-src{width:100%;min-width:0;font-size:11px;padding:4px 6px;min-height:30px}.original-reconcile .rc-memo{color:var(--amber);font-size:11px;font-style:italic}.original-reconcile .rc-memo-btn,.original-reconcile .rc-cad{border:0;background:transparent;min-height:28px;padding:2px 5px;font-size:12px;vertical-align:middle}.original-reconcile .rc-cad{font-size:10px;color:#9aacc3}.original-reconcile .cad-yearly{color:var(--amber)}.original-reconcile .cad-onetime{color:#dd9b9b}.original-reconcile .inc-tax{font-size:10px;padding:4px;min-height:30px}.original-reconcile .inc-tax.pre{color:var(--amber)}.original-reconcile .inc-tax.post{color:var(--green)}.original-reconcile .biz-tax{font-size:10px;text-align:center}.original-reconcile .biz-tax small{font-size:9px}.original-reconcile .inc-memo{grid-column:3/-1;min-height:25px;font-size:11px;padding:2px 6px;background:transparent;border-color:transparent}.original-reconcile .inc-memo:hover,.original-reconcile .inc-memo:focus{border-color:var(--line)}.original-reconcile .rc-movement{font-size:10px;color:var(--muted)}
@media(max-width:1000px){.original-reconcile .rc-row{grid-template-columns:24px 40px minmax(95px,1fr) auto 130px;gap:6px}.original-reconcile .inc-row{grid-template-columns:24px 40px minmax(95px,1fr) auto 105px 62px}}
.original-reconcile{background:#08080d;color:#efe7d4;--line:#2a2f3f;--muted:#9a9587;--green:#7fb78d;--amber:#c8a86b;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif}
.original-reconcile .rc-ghead,.original-reconcile .income-group .rc-ghead{background:#161821}.original-reconcile .rc-ghead h3{text-transform:uppercase;letter-spacing:.03em}.original-reconcile .income-group .rc-ghead h3{color:var(--green)}.original-reconcile .rc-amt,.original-reconcile .rc-date,.original-reconcile .rc-month{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.original-reconcile .rc-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.original-reconcile .rc-cat,.original-reconcile .inc-src,.original-reconcile .inc-tax,.original-reconcile .inc-memo{background:#161821;border-color:#2a2f3f;color:#d6ceba}.original-reconcile .inc-memo{grid-column:1/-1;border-color:#1f2330}.original-reconcile .rc-memo-btn,.original-reconcile .rc-cad{background:transparent}.original-reconcile .rc-memo-btn:hover,.original-reconcile .rc-cad:hover{color:#e88c4a}.original-reconcile .category-chips button{background:#161821;border-color:#2a2f3f;color:#d6ceba;border-radius:18px}.original-reconcile #next-unreviewed{color:#e88c4a;background:#21150d;border-color:#8a4d22;border-radius:18px}.original-reconcile .account-chip{border:1px solid #2a2f3f;border-radius:4px;padding:0 3px;color:#9a9587}

/* Overview only: reconciliation's original dark palette and sticky controls stay intact. */
.financial-overview strong .amount{font-size:inherit;color:inherit}
.financial-overview{--surface:#1b293a;--ink:#f2eee4;--earnings:#9dc7f4;--reserve:#e3c38e;color:var(--ink)}
.overview-title{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:30px 0 24px}.financial-overview .eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:700;color:var(--muted);margin:0 0 9px}.dark-workbench .overview-title h2{font-size:clamp(28px,3vw,43px);font-weight:550;letter-spacing:-1.3px}.summary-asof{font-size:11px;color:var(--muted);text-align:right}.position-band{display:grid;grid-template-columns:1.6fr 1fr;background:#21344a;border-top:3px solid var(--earnings);padding:30px 34px;gap:35px}.position-main>span,.position-side span{font-size:12px;color:#bdcede}.position-value{display:block;font-size:clamp(32px,4.5vw,62px);letter-spacing:-2px;font-weight:550;line-height:1.2;margin:10px 0}.position-main p{max-width:50ch;font-size:11px;color:#b5c5d7}.financial-overview a{color:var(--earnings);font-size:12px;text-underline-offset:4px}.position-side{border-left:1px solid #46596d;padding-left:34px;display:grid;gap:22px;align-content:center}.position-side strong{display:block;font-size:25px;font-weight:500}.position-side small{font-size:10px}.overview-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:42px;margin:35px 0}.panel-title h3{font-size:23px;letter-spacing:-.5px;font-weight:550;margin-bottom:5px}.panel-title h3>span{font-size:12px;color:var(--muted);font-weight:400}.income-total{font-size:35px;letter-spacing:-1px;margin:18px 0 0;color:var(--earnings)}.income-total>span:last-child:not(.amount){display:block;font-size:11px;letter-spacing:0;color:var(--muted)}.summary-note,.tax-scope,.manual-note{font-size:11px;line-height:1.65;color:var(--muted)}.earning-row{padding:13px 0;border-bottom:1px solid var(--line)}.earning-row>div{display:flex;justify-content:space-between;gap:18px;font-size:13px}.earning-row strong{font-weight:550;white-space:nowrap}.earning-row meter{display:block;height:9px;margin:8px 0 3px;max-width:100%}.earning-row meter::-webkit-meter-bar{background:#2a3b4e}.earning-row meter::-webkit-meter-optimum-value{background:var(--earnings)}.earning-row meter::-moz-meter-bar{background:var(--earnings)}.annual-income{margin-top:35px;padding-top:28px;border-top:1px solid #64748a}.tax-panel{padding:26px;background:#1b2734;border-top:3px solid var(--reserve)}.tax-panel .eyebrow{color:var(--reserve)}.tax-year{margin-top:22px}.tax-year-title{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:8px}.tax-year-title h3{margin:0;font-size:22px}.tax-year-title>span{font-size:10px;color:var(--muted)}.tax-year dl,.annual-totals{margin:8px 0}.tax-year dl>div,.annual-totals>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0;font-size:12px}.financial-overview dd{margin:0;white-space:nowrap}.tax-year .tax-reserve{color:var(--reserve);font-size:16px;border-top:1px solid var(--line);margin-top:6px;padding-top:12px}.after-tax{margin:26px -26px 16px;padding:20px 26px;background:#302c25}.after-tax>span{font-size:11px;color:var(--reserve)}.after-tax strong{display:block;font-size:27px;font-weight:500;margin:3px 0}.after-tax p{font-size:10px;line-height:1.6;color:#c9bdab}.unavailable{font-size:.7em;color:var(--muted);letter-spacing:0}.summary-empty{font-size:12px;color:var(--muted);padding:18px 0}.overview-next{border-top:1px solid var(--line);display:grid;grid-template-columns:1.3fr 1fr;gap:30px;padding:25px 0}.overview-next h3{font-size:22px;margin:5px 0}.overview-next p:not(.eyebrow){font-size:11px;color:var(--muted)}.overview-next>div:last-child{display:grid;gap:12px;align-content:center}.masked .earning-row meter{visibility:hidden}
@media(max-width:1050px){.overview-columns{gap:24px}.position-band{padding:24px;gap:24px}.position-side{padding-left:24px}.tax-panel{padding:20px}.after-tax{margin-left:-20px;margin-right:-20px;padding:20px}}
@media(max-width:760px){.overview-title{display:block;margin-top:20px}.summary-asof{text-align:left}.position-band{grid-template-columns:1fr;padding:22px;gap:22px}.position-side{border-left:0;border-top:1px solid #46596d;padding:20px 0 0;grid-template-columns:1fr 1fr;gap:14px}.position-side strong{font-size:22px}.overview-columns{grid-template-columns:1fr;gap:30px}.tax-panel{grid-row:1}.overview-next{grid-template-columns:1fr;gap:12px}.panel-title h3{font-size:21px}.position-value{letter-spacing:-1px}.earning-row>div>span{overflow-wrap:anywhere;min-width:0}}
@media(max-width:760px){.original-reconcile{padding:13px 8px}.dark-workbench .original-reconcile .section-heading{flex-direction:row;align-items:baseline;gap:6px}.original-reconcile h2>span{display:block;font-size:10px;margin-top:3px}.dark-workbench .original-reconcile h2{font-size:17px}.original-reconcile .toolbar{flex-wrap:wrap}.original-reconcile .toolbar .search{flex-basis:100%}.original-reconcile .toolbar>label:not(.search){flex:1}.original-reconcile .category-chips button{min-height:30px}.original-reconcile .rc-list-big{max-height:80vh;padding-right:3px}.original-reconcile .rc-group{padding-left:5px}.original-reconcile .rc-row{grid-template-columns:22px 32px minmax(0,1fr) auto 105px;gap:5px;padding:4px 0}.original-reconcile .inc-row{grid-template-columns:22px 32px minmax(0,1fr) auto 66px 48px;gap:4px}.original-reconcile .rc-name strong{font-size:12px}.original-reconcile .account-chip{font-size:9px}.original-reconcile .rc-amt{font-size:11px}.original-reconcile .rc-cat,.original-reconcile .inc-src,.original-reconcile .inc-tax{font-size:10px;padding:4px;min-height:32px}.original-reconcile .inc-memo{grid-column:1/-1;min-height:28px}.original-reconcile .rc-date{font-size:9px}.original-reconcile .rc-ghead{gap:5px}.original-reconcile .rc-ghead h3{font-size:11px}.original-reconcile .rc-ghead strong{font-size:11px}.original-reconcile .rc-amt small{font-size:8px}.original-reconcile .biz-tax{font-size:8px}.original-reconcile .biz-tax small{font-size:8px}}
/* Stable feedback and generous tap targets: saves never change row geometry. */
.original-reconcile .rc-row{grid-template-columns:44px 48px minmax(120px,1fr) auto 190px}
.original-reconcile .inc-row{grid-template-columns:44px 48px minmax(120px,1fr) auto 140px 75px}
.original-reconcile .rc-rev{width:44px;height:44px;cursor:pointer;touch-action:manipulation}
.original-reconcile .rc-name [data-save-message]{display:block;height:16px;line-height:16px;font-size:10px;color:var(--green);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.original-reconcile .rc-name [data-save-message][hidden]{display:block;visibility:hidden}
.original-reconcile .rc-row[aria-busy=true] [data-save-message]{color:var(--amber)}
@media(max-width:1000px){.original-reconcile .rc-row{grid-template-columns:44px 40px minmax(95px,1fr) auto 130px}.original-reconcile .inc-row{grid-template-columns:44px 40px minmax(95px,1fr) auto 105px 62px}}
@media(max-width:760px){.original-reconcile .rc-row{grid-template-columns:44px 32px minmax(0,1fr) auto 105px}.original-reconcile .inc-row{grid-template-columns:44px 32px minmax(0,1fr) auto 66px 48px}}
/* Meal-only review queue. Never changes reconciliation selectors. */
.workbench-meals .meal-saved-pending{border-top:1px solid #484554;margin-top:24px}
.workbench-meals .meal-saved-pending>summary{font-size:18px;padding:20px 0}
.workbench-meals .meal-saved-pending>p{font-size:13px;color:#bdb59e;line-height:1.6}
.workbench-meals .meal-print-report th{background:#eee;color:#222}.workbench-meals .meal-print-report{scroll-margin-top:72px}
@media print{body:has(.meal-print-report) main>footer{display:none!important}}
@media print{html:has(.meal-print-report),body:has(.meal-print-report) main,body:has(.meal-print-report) #content{background:white!important}.workbench-meals .meal-print-report tfoot{display:table-row-group}}
.workbench-meals .meal-export{padding:20px;border:1px solid #484554;background:#191923;margin-bottom:26px}.workbench-meals .meal-export fieldset{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.workbench-meals .meal-export legend{font-size:18px;padding:0 0 10px}.workbench-meals .meal-export label{flex:1;min-width:130px;margin:0}.workbench-meals input:not([type=checkbox]),.workbench-meals select{display:block;width:100%;margin-top:7px;background:#10121a;color:#efe7d4;border:1px solid #62606c;min-height:44px}.workbench-meals .meal-export small,.workbench-meals .meal-export [role=status]{flex-basis:100%}.workbench-meals .meal-remember{display:flex;align-items:start;gap:8px}.workbench-meals .meal-remember input{min-height:18px;margin-top:2px}.workbench-meals .meal-facts{border-top:1px solid #484554;margin-top:20px}.workbench-meals .meal-facts p,.workbench-meals .meal-gaps{font-size:12px;color:#bdb59e;line-height:1.6}.workbench-meals .meal-completed{border-top:1px solid #484554;margin-top:32px}.workbench-meals .meal-completed>summary{font-size:18px;padding:20px 0}.workbench-meals .meal-print-report{background:#fff;color:#222;padding:24px;margin-bottom:28px;overflow-x:auto}.workbench-meals .meal-print-report table{min-width:520px}.workbench-meals .meal-print-report p{font-size:12px}.workbench-meals .meal-print-actions{display:flex;gap:10px;margin-bottom:20px}.workbench-meals .meal-print-report th{color:#222}.workbench-meals .meal-print-report td{overflow-wrap:anywhere;vertical-align:top}.workbench-meals .meal-print-report td:last-child{white-space:nowrap}.workbench-meals .meal-print-report h2{font-size:24px}.workbench-meals .meal-export button{max-width:100%}
@media print{@page{size:letter;margin:15mm}body:has(.meal-print-report){background:white!important;color:#222!important}body:has(.meal-print-report)>aside,body:has(.meal-print-report) main>header,body:has(.meal-print-report) main>.context,body:has(.meal-print-report) main>#status{display:none!important}body:has(.meal-print-report) main{margin:0!important;padding:0!important;max-width:none!important}.workbench-meals:has(.meal-print-report){background:white!important;margin:0!important;padding:0!important}.workbench-meals:has(.meal-print-report)>:not(.meal-print-report){display:none!important}.workbench-meals .meal-print-report{padding:0;margin:0;overflow:visible}.workbench-meals .meal-print-actions{display:none!important}.workbench-meals .meal-print-report table{min-width:0;table-layout:fixed;font-size:9pt}.workbench-meals .meal-print-report th{white-space:normal;background:#eee!important}.workbench-meals .meal-print-report th:last-child{width:17%}.workbench-meals .meal-print-report tr{break-inside:avoid}.workbench-meals .meal-print-report thead{display:table-header-group}.workbench-meals .meal-print-report .amount{filter:none!important}}
.workbench-meals{color:#efe7d4;background:#10121a}.workbench-meals .meal-intro{max-width:75ch;margin-bottom:28px}.workbench-meals .meal-intro h2{font-size:32px;letter-spacing:-.6px}.workbench-meals .meal-intro p,.workbench-meals .meal-count{color:#b0ac9e;line-height:1.6;font-size:13px}.workbench-meals a{color:#d5b77c}.workbench-meals .meal-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.workbench-meals .meal-record{min-width:0;border:1px solid #363644;border-top:3px solid #a88f62;border-radius:8px;padding:22px;background:#191923;overflow-wrap:anywhere}.workbench-meals .meal-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.workbench-meals .meal-heading h3{font-size:21px;font-weight:550;line-height:1.3;margin:6px 0}.workbench-meals .meal-heading p{font-size:12px;color:#b0ac9e}.workbench-meals .meal-heading>strong{white-space:nowrap;font-size:18px}.workbench-meals .meal-status{font-size:12px;color:#d5b77c}.workbench-meals .meal-saved{margin:20px 0;font-size:13px}.workbench-meals dt{color:#aaa699;margin-top:12px;font-size:11px}.workbench-meals dd{margin:4px 0;line-height:1.6}.workbench-meals .meal-suggestion{border-left:2px solid #9a845e;background:#25232a;padding:14px 16px;margin:18px 0;font-size:13px}.workbench-meals .meal-suggestion p{margin:8px 0;line-height:1.5}.workbench-meals small,.workbench-meals .meal-note{color:#b0ac9e;font-size:11px;line-height:1.6}.workbench-meals summary{padding:12px 0;cursor:pointer;color:#d5b77c;font-size:13px}.workbench-meals fieldset{border:0;margin:0;padding:0;min-width:0}.workbench-meals label{display:block;margin:12px 0;font-size:12px;color:#ded5c2}.workbench-meals textarea{display:block;box-sizing:border-box;min-width:0;width:100%;resize:vertical;margin:8px 0;padding:10px;background:#10121a;color:#efe7d4;border:1px solid #62606c;border-radius:4px;font:inherit;line-height:1.6}.workbench-meals button{min-height:44px;color:#171721;background:#d5b77c;border-color:#d5b77c;font-size:13px}.workbench-meals [data-meal-message]{font-size:12px;line-height:1.6;color:#e5c990}.workbench-meals :focus-visible{outline:2px solid #9dc7f4;outline-offset:3px}
@media(max-width:1000px){.workbench-meals .meal-records{grid-template-columns:1fr}}@media(max-width:450px){.workbench-meals .meal-record{padding:16px}.workbench-meals .meal-heading{display:block}.workbench-meals .meal-heading>strong{display:block;margin-top:8px}.workbench-meals .meal-intro h2{font-size:25px}}

/* Horizontal command center. Original reconciliation structure above is retained. */
.ledger-shell{font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif;background:#081725;color:#edf4ff;--navy:#edf4ff;--blue:#79baff;--muted:#a7bdd3;--line:#29465f;--green:#68afff;--amber:#ffb45c;--earnings:#68afff;--reserve:#ffb45c;color-scheme:dark}
.command-topbar{display:flex;align-items:center;gap:30px;margin:20px 24px 0;padding:12px 22px;border:1px solid var(--line);border-radius:12px;background:#0c2032;min-height:76px}
.command-brand{font-size:30px;line-height:1;font-weight:750;letter-spacing:-1.3px;text-decoration:none;color:#edf4ff;white-space:nowrap}
.command-brand span{color:#2687ff}
.command-shell .command-nav{display:flex;flex:1;gap:5px;margin:0;overflow-x:auto}
.command-shell .command-nav a{padding:12px 16px;white-space:nowrap;font-size:13px;border:1px solid transparent;color:#c4d5e8;font-weight:550}
.command-shell .command-nav a[aria-current=page]{background:#103865;color:#fff;border-color:#2264a7;box-shadow:inset 0 -2px #338fff}
.command-shell .command-nav a:hover{background:#16344f}
.original-link{font-size:11px;white-space:nowrap;color:var(--muted)}
.ledger-shell>main{margin:0 auto;max-width:1880px;padding:25px 24px 40px}
.ledger-shell .ledger-masthead{margin-bottom:20px;align-items:center}
.ledger-shell .ledger-masthead h1{font-size:25px;letter-spacing:-.7px;margin:3px 0 5px}
.ledger-shell .preview-label{font-size:10px;color:var(--muted);font-weight:450}
.ledger-shell .ledger-masthead p{font-size:12px;max-width:70ch}
.ledger-shell .header-actions{flex-direction:row;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.ledger-shell .header-actions button{min-height:40px;padding:7px 13px;font-size:12px;border-color:#375875;background:#10283d;color:#e7f1ff}
.ledger-shell .header-actions #signin{background:#115dbb;border-color:#2c85f3;color:#fff}
.ledger-shell .context{padding:14px 18px;margin-bottom:26px;background:#0c2032;border:1px solid var(--line);border-radius:8px;align-items:center;gap:26px}
.ledger-shell .context label{display:grid;grid-template-columns:auto auto;gap:3px 12px;align-items:center;font-size:12px}
.ledger-shell .context small{grid-column:2;font-weight:400}
.ledger-shell .context input,.ledger-shell .context select{background:#10283d;border-color:#375875;color:#fff;min-height:40px}
.ledger-shell .context>p{margin:0 0 0 auto;color:var(--muted);font-size:11px;text-align:right}
.ledger-shell>.skip{left:24px;background:#fff;color:#123;z-index:10}
.ledger-shell #status:not(:empty){padding:12px 16px;border-left:3px solid #ffb45c;background:#142e43}
.ledger-shell :focus-visible{outline:2px solid #98ccff;outline-offset:4px}
.ledger-shell footer{color:var(--muted);line-height:1.7}
.ledger-shell[data-workspace=overview]>main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;padding-top:14px}.ledger-shell[data-workspace=overview] .ledger-masthead{grid-column:2;grid-row:1;margin:0;min-width:0}.ledger-shell[data-workspace=overview] .ledger-masthead>div:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ledger-shell[data-workspace=overview] .context{grid-column:1;grid-row:1;margin:0;padding:9px 14px;gap:22px}.ledger-shell[data-workspace=overview] .context>p{display:none}.ledger-shell[data-workspace=overview] #content,.ledger-shell[data-workspace=overview] footer,.ledger-shell[data-workspace=overview] #status{grid-column:1/-1;min-width:0}.ledger-shell[data-workspace=overview] #status:empty{display:none}.ledger-shell[data-workspace=overview] #status:not(:empty){grid-row:2;margin:0}
.command-overview{--ink:#edf4ff;--earnings:#68afff;--reserve:#ffb45c}
.overview-month-strip{display:flex;align-items:center;gap:8px;padding:8px;background:#0b1c2d;border-radius:10px;margin:0 0 14px;min-width:0}
.overview-month-options{display:flex;flex:1;min-width:0;overflow-x:auto;gap:6px}
.overview-month-strip button{background:transparent;color:#c6d8ef;border:1px solid transparent;min-height:44px;padding:9px 15px;white-space:nowrap;flex:1}
.overview-month-strip>button{flex:0 0 auto}.overview-month-strip button[aria-pressed=true]{background:linear-gradient(#133f81,#103367);border-color:#2465bc;color:#fff;font-weight:650;box-shadow:inset 0 1px 8px #1757b955}
.overview-month-strip button:disabled{opacity:.35;cursor:default}
.command-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1.3fr) minmax(0,.95fr) minmax(0,.93fr);gap:14px;align-items:stretch}
.command-panel{min-width:0;border:1px solid #2a435a;border-radius:12px;background:linear-gradient(125deg,#132536,#102030);padding:22px;overflow-wrap:anywhere}
.command-panel h3{font-size:18px;font-weight:650;letter-spacing:-.3px;margin:0 0 14px}
.activity-position{grid-column:1;grid-row:1;padding:24px 28px}
.scope-badge{margin:0 0 10px;font-size:11px;color:#9fb9d6}
.command-shell .activity-position h2{font-size:clamp(33px,3.35vw,56px);font-weight:700;letter-spacing:-1.7px;line-height:1.06;margin:0 0 16px}
.overview-intro{font-size:13px;line-height:1.6;color:#c1d7f0;margin:0 0 16px}
.summary-asof{margin:0;line-height:1.65}
.activity-totals{margin:0}
.activity-totals>div{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:19px 0;border-bottom:1px solid #2b435b}
.activity-totals>div:last-child{border-bottom:0;padding-bottom:0}
.activity-totals dt{font-size:14px;font-weight:600}.activity-totals dt small{font-size:10px;font-weight:400;line-height:1.5;max-width:23ch;margin-top:3px}
.activity-totals dd{font-size:clamp(24px,2.05vw,37px);font-weight:700;letter-spacing:-1px;line-height:1.2;margin:0!important;white-space:nowrap}
.stat-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font-size:24px;color:white;background:linear-gradient(135deg,#3387ff,#1d5cda);border:1px solid #4694ff}
.spending-stat .stat-symbol{background:linear-gradient(135deg,#ff952c,#bd5608);border-color:#ff9c3c}.net-stat .stat-symbol{background:#324966;border-color:#567293}
.comparison-panel{grid-column:2/4;grid-row:1;display:flex;flex-direction:column;padding:27px 22px 20px}
.comparison-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.comparison-title h3{margin:0}.comparison-title>span{font-size:11px;color:#c4d6ed;white-space:nowrap}
.comparison-panel .comparison-title>span{border:1px solid #29455f;border-radius:5px;padding:7px 11px}
.chart-legend{display:flex;gap:25px;justify-content:flex-end;font-size:11px;margin:22px 15px 2px;color:#d4e3f4}
.chart-legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px}
.income-key:before{background:#2687ff}.spending-key:before{background:#ff9e42}
.activity-chart{display:block;width:100%;height:auto;min-height:260px;flex:1;margin:4px 0 9px}
.chart-grid{stroke:#2a4158;stroke-width:1}.chart-baseline{stroke:#7890a5;stroke-width:1}
.chart-income{fill:#307eff}.chart-spending{fill:#ff982f}
.chart-income-area{fill:url(#income-fill)}.chart-spending-area{fill:url(#spending-fill)}
.chart-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.chart-income-line{stroke:#307eff}.chart-spending-line{stroke:#ff982f}
.chart-point{stroke:#c9e1ff;stroke-width:1}
.chart-month,.chart-axis{fill:#b7cce2;font-size:12px}.chart-gap{fill:#a4b5c9;font-size:12px}
.chart-values summary{font-size:11px;color:#9bcaff;cursor:pointer}.chart-values table{margin-top:10px;table-layout:fixed}
.chart-values th{background:#153047;color:#bcd2e9;white-space:normal}.chart-values td{border-color:var(--line);font-size:11px}
.command-panel .summary-note{font-size:10px;line-height:1.6;margin-bottom:0}
.command-tax{grid-column:4;grid-row:1/3;background:linear-gradient(150deg,#06286c,#041d4d 65%,#031a43);border-color:#2476ef;display:flex;flex-direction:column;padding:22px 20px}
.tax-target{font-size:40px;line-height:1;color:#eff7ff;margin-bottom:16px}
.command-tax h3{font-size:18px;line-height:1.4;margin-bottom:8px}
.tax-hero{font-size:clamp(32px,3vw,49px);letter-spacing:-1.5px;line-height:1.2;display:block;margin:3px 0}
.command-tax .summary-note{color:#b6cef3}
.tax-rail-details{border-top:4px solid #2e74dc;margin:18px 0 7px;padding-top:12px}
.tax-rail-details>div,.ads-overview-details>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:6px 0}
.tax-rail-details dd,.ads-overview-details dd{margin:0;font-weight:600}
.actual-reserve{border-top:1px solid #27477a;padding-top:15px;margin:22px 0 0;font-size:11px}
.actual-reserve>div{display:flex;justify-content:space-between;gap:12px}.actual-reserve dd{color:#c5d9f9;margin:0}
.command-action,.attention-list a{display:inline-flex;align-items:center;justify-content:center;gap:16px;border:1px solid #2869bb;border-radius:7px;background:#113665;color:#f0f6ff!important;padding:10px 14px;text-decoration:none;min-height:44px;font-weight:600}
.command-action{display:flex;margin-top:20px;font-size:13px!important}
.command-tax>.command-action{background:linear-gradient(#155bda,#1550ba);border-color:#3182fd;min-height:50px}
.attention-list{list-style:none;padding:0;margin:0}.attention-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;border-top:1px solid #27477a}
.attention-list strong{font-size:12px;font-weight:600}.attention-list small{font-size:11px;line-height:1.5;color:#b6cef3}
.attention-list a{font-size:11px;white-space:nowrap;padding:6px 10px}
.tax-shortcuts{margin-top:24px}.tax-shortcuts a{background:transparent;border:0;padding:0;min-width:32px}
.tax-rail-foot{margin:auto 0 0;padding-top:30px;font-size:19px;line-height:1.4;color:#9cc1fa;font-style:italic}
.command-sources{grid-column:1;grid-row:2}
.command-sources .comparison-title strong{font-size:15px}
.command-sources .earning-row{display:grid;grid-template-columns:minmax(65px,.8fr) minmax(0,1.15fr) auto;gap:4px 14px;padding:17px 0 9px;align-items:center;border:0}
.command-sources .earning-row a{overflow-wrap:anywhere;font-size:12px;text-decoration:none;color:#d6e8ff}
.command-sources .earning-row strong{font-size:13px;white-space:nowrap}
.command-sources .earning-row meter{width:100%;height:24px;margin:0}.command-sources .earning-row small{grid-column:2/-1;font-size:9px}
.command-sources meter::-webkit-meter-bar{background:#152b42;border:0;border-radius:4px}.command-sources meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#2972ed,#488ffc);border-radius:4px}.command-sources meter::-moz-meter-bar{background:#307eff}
.command-meals{grid-column:2;grid-row:2}.command-ads{grid-column:3;grid-row:2;display:flex;flex-direction:column}
.meal-overview-callout{display:flex;gap:13px;align-items:center;border:1px solid #2b455f;border-radius:7px;background:#172c41;padding:15px;margin:20px 0 14px}
.meal-overview-callout>span{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;flex:none;background:#fa871f;font-size:22px;color:white}
.meal-overview-callout strong{font-size:12px}.meal-overview-callout small{font-size:11px;color:#b5c9e3}
.meals-action{background:linear-gradient(110deg,#894215,#aa541d);border-color:#ff951f;margin-top:0}
.meal-review-note{display:flex;gap:14px;align-items:center;margin-top:24px}.meal-review-note>span{display:grid;place-items:center;border-radius:50%;width:42px;height:42px;flex:none;background:#173c6b;color:#73afff;font-size:23px}
.meal-review-note p{font-size:12px;margin:0}.meal-review-note small{font-size:11px;line-height:1.6;color:#b5c9e3;margin-top:6px}
.ads-overview-heading{display:flex;align-items:center;gap:14px;margin:6px 0 10px}.ads-overview-heading>span{color:#4c95ff;font-size:40px;line-height:1}.ads-overview-heading strong{font-size:25px;line-height:1.3}.ads-overview-heading small{font-size:11px;color:#b5c9e3}
.ads-overview-details{margin:8px 0}.ads-overview-details>div{flex-wrap:wrap}.command-ads .command-action{margin-top:auto}
.overview-provenance{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#91acc8;padding:15px 3px 0}
.masked .command-overview meter{visibility:hidden}
@media(max-width:1350px) and (min-width:1001px){.activity-position{padding:22px 20px}.activity-totals>div{grid-template-columns:36px minmax(0,1fr);gap:10px}.stat-symbol{width:36px;height:36px;font-size:20px}.activity-totals dd{grid-column:2}.activity-totals dt small{max-width:none}.command-panel{padding:20px 16px}.command-panel h3{font-size:16px}.comparison-title{flex-wrap:wrap}.command-sources .earning-row{grid-template-columns:minmax(0,1fr) auto}.command-sources .earning-row meter{grid-row:2;grid-column:1/-1}.command-sources .earning-row small{grid-column:1/-1}}
.command-disclosure{margin-top:22px;border:1px solid var(--line);border-radius:8px;background:#0c2032;padding:17px 22px}
.command-disclosure>summary{cursor:pointer;color:#b9d8fa;font-size:13px}
.command-disclosure>.financial-overview{margin-top:25px}.command-disclosure .position-band{border-radius:8px;background:#122e45}
.command-disclosure .tax-panel{background:#12283b}.command-disclosure .after-tax{background:#253040}
.command-disclosure .overview-title h2{font-size:24px}
.ledger-shell .ledger-welcome{display:grid;grid-template-columns:130px minmax(0,1fr);gap:30px;align-items:center;background:#0d2234;border:1px solid var(--line);border-radius:12px;padding:65px 7%;min-height:380px}
.welcome-monogram{font-size:110px;font-weight:700;letter-spacing:-12px;color:#2687ff;line-height:1}
.ledger-welcome h2{font-size:35px;max-width:22ch;letter-spacing:-1px}.ledger-welcome p{max-width:62ch;line-height:1.8;color:var(--muted)}
.ledger-welcome ul{grid-column:2;display:flex;flex-wrap:wrap;gap:16px 25px;list-style:none;padding:0;color:var(--muted);font-size:12px}
.ledger-shell .financial-analysis{--analysis-paper:#edf4ff;--analysis-muted:#a7bdd3;--analysis-line:#29465f;--analysis-accent:#ffb45c;background:#0d2234}
.ledger-shell .analysis-income{--analysis-accent:#68afff}
.ledger-shell .analysis-table th,.ledger-shell .analysis-table td,.ledger-shell .analysis-table tbody th{background:#0d2234;color:#edf4ff;border-color:var(--line)}
.ledger-shell .analysis-table thead th,.ledger-shell .analysis-table caption,.ledger-shell .analysis-table tfoot td,.ledger-shell .analysis-table tfoot th{background:#153047;color:#b9d4ef}
/* Keep month bands aligned across the matrix and timeline. */
.financial-analysis .analysis-table td.month-alt{background:#171a25}
.financial-analysis .analysis-table thead th.month-alt{background:#22222e}
.financial-analysis .analysis-table tfoot td.month-alt{background:#2c2b35}
.ledger-shell .analysis-table tbody td.month-alt{background:#143049}
.ledger-shell .analysis-table thead th.month-alt,.ledger-shell .analysis-table tfoot td.month-alt{background:#1d3d5b}
.ledger-months li.month-alt{background:rgba(255,255,255,.04)}
.ledger-shell .analysis-table button[aria-pressed=true]{background:#174a79;color:#fff}
.ledger-shell .analysis-detail{background:#122e45}.ledger-shell .analysis-buckets strong .amount{font-size:inherit;color:inherit}
.ledger-months{display:flex;list-style:none;overflow-x:auto;padding:16px 0;margin:0 0 18px;border-bottom:1px solid var(--line)}
.ledger-months li{flex:1;min-width:120px;padding:0 15px;border-left:1px solid var(--line)}
.ledger-months time{font-size:11px;color:var(--muted)}.ledger-months strong{font-size:19px;display:block;font-weight:550}
.ledger-shell .original-reconcile{background:#0d2234;color:#edf4ff;--line:#29465f;--muted:#a7bdd3;--green:#68afff;--amber:#ffb45c}
.ledger-shell .original-reconcile .rc-ghead,.ledger-shell .original-reconcile .income-group .rc-ghead{background:#153047}
.ledger-shell .original-reconcile .rc-ghead h3{text-transform:none;letter-spacing:0}
.ledger-shell .original-reconcile .rc-next-header{background:#0d2234}
.ledger-shell .original-reconcile :is(.rc-cat,.inc-src,.inc-tax,.inc-memo,.category-chips button){background:#10283d;color:#d8e9fb;border-color:#375875}
.ledger-shell .original-reconcile #next-unreviewed{background:#1355a1;color:#fff;border-color:#3582d4;border-radius:6px}
.ledger-shell .workbench-meals{background:transparent;color:#edf4ff}
.ledger-shell .workbench-meals :is(.meal-export,.meal-record){background:#0d2234;border-color:#29465f;border-radius:9px}
.ledger-shell .workbench-meals .meal-record{border-top-color:#ffb45c}
.ledger-shell .workbench-meals :is(textarea,input:not([type=checkbox]),select){background:#10283d;border-color:#526e89;color:#edf4ff}
.ledger-shell .workbench-meals button{background:#15579a;border-color:#3985ce;color:#fff}
.ledger-shell .workbench-meals :is(label,summary,.meal-status){color:#c3def9}
.ledger-shell .workbench-meals :is(small,dt,.meal-heading p,.meal-intro p,.meal-count,.meal-note,.meal-facts p,.meal-gaps){color:#a7bdd3}
.ledger-shell .workbench-meals .meal-suggestion{background:#1d3041;border-color:#ffb45c}
.ledger-shell .workbench-meals a{color:#79baff}
.ledger-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.ledger-tool-grid>a{padding:24px;background:#0d2234;border:1px solid var(--line);border-radius:9px;text-decoration:none;color:#edf4ff}
.ledger-tool-grid h3{font-size:20px}.ledger-tool-grid p,.ledger-destination>p{max-width:70ch;color:var(--muted);line-height:1.7}
.ledger-tool-grid span{font-size:11px;color:#79baff}
.ledger-destination:has(#taxes){padding:28px;border:1px solid #29465f;border-radius:12px;background:#0d2234}.ledger-destination:has(#taxes)>a{display:inline-block;margin-bottom:18px}.ledger-destination:has(#taxes) .ledger-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-destination:has(#taxes) .ledger-tool-grid>.workspace{padding:24px;border:1px solid #2e5888;border-radius:10px;background:#102b49;margin:0}.ledger-destination:has(#taxes) .detail-row dd{margin:0;font-size:18px;font-weight:600}.ledger-destination:has(#taxes) .detail-row:last-child{border-top:2px solid #307eff;margin-top:12px;padding-top:20px}@media(max-width:760px){.ledger-destination:has(#taxes){padding:18px}.ledger-destination:has(#taxes) .ledger-tool-grid{grid-template-columns:1fr}.ledger-destination:has(#taxes) .ledger-tool-grid>.workspace{padding:18px}}
.masked .activity-chart{visibility:hidden}.masked .ledger-months meter{visibility:hidden}
@media(max-width:1200px){.command-topbar{gap:18px;padding:12px 16px}.command-shell .command-nav a{padding:11px 12px}.original-link{display:none}}
@media(max-width:760px){.command-topbar{display:block;margin:10px 12px 0;padding:16px 12px 8px}.command-brand{display:block;font-size:28px;margin:0 4px 12px}.command-shell .command-nav{gap:4px}.command-shell .command-nav a{font-size:12px;padding:11px 12px;min-height:44px}.ledger-shell>main{padding:20px 12px 32px}.ledger-shell .ledger-masthead{display:block}.ledger-shell .header-actions{justify-content:flex-start;margin-top:16px}.ledger-shell .header-actions button{min-height:42px;font-size:11px}.ledger-shell .context{padding:12px;gap:16px;align-items:start}.ledger-shell .context label{grid-template-columns:1fr;gap:5px;min-width:0}.ledger-shell .context small{grid-column:1;max-width:18ch;font-size:9px}.ledger-shell .context>p{display:none}.ledger-shell .context #month{width:150px;min-width:0}.ledger-shell .context #entity{width:105px;min-width:0}.command-grid{grid-template-columns:1fr}.command-grid>article{grid-column:1;grid-row:auto}.command-panel{padding:19px}.command-shell .command-overview>.overview-title h2{font-size:29px}.command-overview>.overview-title{display:block}.summary-asof{margin-top:10px;text-align:left}.comparison-title{align-items:start}.comparison-title h3{font-size:16px}.chart-month{font-size:14px}.attention-list{display:block}.attention-list li{border-top:1px solid var(--line);align-items:center}.attention-list li:first-child{padding-top:3px}.command-disclosure{padding:15px}.ledger-shell .ledger-welcome{display:block;padding:32px 25px;min-height:0}.welcome-monogram{font-size:75px;letter-spacing:-8px;margin-bottom:25px}.ledger-welcome h2{font-size:29px}.ledger-welcome ul{display:block}.ledger-welcome li{margin-top:10px}.ledger-tool-grid{grid-template-columns:1fr}.command-disclosure .tax-panel{grid-row:auto}.ledger-shell>.skip{left:12px}}
@media print{.command-topbar{display:none!important}.ledger-shell>main{margin:0;padding:0}.ledger-shell .workbench-meals .meal-print-report{color:#222}}
@media(max-width:760px){.ledger-shell[data-workspace=overview]>main{grid-template-columns:minmax(0,1fr);gap:10px;padding-top:10px}.ledger-shell[data-workspace=overview] .ledger-masthead{grid-column:1;grid-row:1}.ledger-shell[data-workspace=overview] .header-actions{margin-top:0}.ledger-shell[data-workspace=overview] .context{grid-column:1;grid-row:2;gap:15px;padding:10px}.ledger-shell[data-workspace=overview] #status:not(:empty){grid-row:auto}.ledger-shell[data-workspace=overview] .context small{max-width:none}.overview-month-options button{padding:8px;font-size:10px}.command-overview .activity-totals>div{grid-template-columns:36px minmax(0,1fr);gap:4px 12px;padding:13px 0}.command-overview .activity-totals dt{grid-column:2;grid-row:auto;text-align:left}.command-overview .activity-totals dd{grid-column:2;text-align:left;font-size:28px}.command-overview .activity-totals dt small{max-width:none}.command-overview .activity-totals .stat-symbol{grid-row:span 2}}
@media(prefers-reduced-motion:reduce){.command-shell *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:1000px) and (min-width:761px){.command-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.activity-position{grid-column:1;grid-row:1}.comparison-panel{grid-column:2;grid-row:1}.command-tax{grid-column:2;grid-row:2/5}.command-sources{grid-column:1;grid-row:2}.command-meals{grid-column:1;grid-row:3}.command-ads{grid-column:1;grid-row:4}.activity-totals>div{grid-template-columns:36px minmax(0,1fr)}.activity-totals dd{grid-column:2}.stat-symbol{width:36px;height:36px}.activity-chart{min-height:220px}.comparison-title{flex-wrap:wrap}}
@media(max-width:760px){.overview-month-strip{padding:5px;gap:0}.overview-month-strip button{padding:8px 10px;font-size:11px}.overview-month-strip>button:last-child{display:none}.command-shell .activity-position h2{font-size:43px}.activity-totals>div{grid-template-columns:36px minmax(0,1fr) auto;gap:10px}.activity-totals dd{font-size:25px}.activity-totals dt{font-size:12px}.stat-symbol{width:36px;height:36px;font-size:21px}.activity-chart{min-height:0}.command-tax{min-height:0}.tax-rail-foot{padding-top:24px}.overview-provenance{display:block}.overview-provenance span{display:block;margin-top:6px}.command-sources .earning-row{grid-template-columns:minmax(65px,.7fr) minmax(0,1fr) auto;gap:5px 10px}.command-sources .earning-row meter{height:22px}.command-ads .command-action{margin-top:20px}.activity-totals dt small{font-size:9px}}
@media(max-width:380px){.activity-totals>div{grid-template-columns:30px minmax(0,1fr);gap:7px 10px}.activity-totals dd{grid-column:2;font-size:28px}.stat-symbol{width:30px;height:30px;font-size:18px}.command-sources .earning-row{grid-template-columns:minmax(0,1fr) auto}.command-sources .earning-row meter{grid-column:1/-1;grid-row:auto}.command-sources .earning-row strong{grid-column:2;grid-row:auto}.command-sources .earning-row small{grid-column:1/-1}.command-shell .activity-position h2{font-size:38px}}
.ledger-shell .business-position{border:1px solid #315574;background:linear-gradient(140deg,#102c43,#0c1f31);padding:28px;border-radius:14px}
.ledger-shell .business-position h3{margin-top:30px;font-size:18px}
.ledger-shell .business-position .pulse-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;background:transparent;border:0;margin:18px 0}
.ledger-shell .business-position .pulse-strip>div{min-width:0;display:flex;flex-direction:column;gap:10px;padding:18px;background:#10283d;border:1px solid #294a66;border-radius:10px}
.ledger-shell .business-position .pulse-strip strong{font-size:25px;color:#eaf4ff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ledger-shell .business-position .pulse-strip small{color:#a6c0d4;font-size:12px;line-height:1.55}
.ledger-shell .business-position .pulse-strip>button{white-space:normal;min-height:70px;background:#246bd6;color:white;border:1px solid #5799ff;border-radius:10px;padding:16px}
@media(max-width:760px){.ledger-shell .business-position{padding:18px}.ledger-shell .business-position .pulse-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-shell .business-position .pulse-strip>div{padding:12px}.ledger-shell .business-position .pulse-strip strong{font-size:20px}}

/* Financial desk: a calm control dock and an unmistakable monthly statement.
   Scoped to the authenticated shell; the original and fictional workbenches stay intact. */
.ledger-shell {
  --desk-bg:#101923; --desk-panel:#172432; --desk-raised:#203244;
  --desk-ink:#edf3f9; --desk-soft:#b1c2d2; --desk-income:#91c7f2;
  --desk-plan:#e9be85; --line:#354b60; --muted:var(--desk-soft);
  --blue:var(--desk-income); --green:#9cd9c5; --amber:var(--desk-plan);
  background:var(--desk-bg); color:var(--desk-ink); line-height:1.6; min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
.ledger-shell :is(button,input,select,textarea,summary,a){-webkit-tap-highlight-color:#91c7f233}
.ledger-shell :is(button,input,select,textarea):focus-visible,
.ledger-shell :is(a,summary,[tabindex]):focus-visible{outline:3px solid #d2e9ff;outline-offset:3px}
.ledger-shell ::selection{background:#91c7f2;color:#101923}
.ledger-shell .command-topbar{max-width:1816px;margin:0 auto;padding:23px 32px 18px;gap:36px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;min-height:92px}
.ledger-shell .command-brand{font-size:32px;letter-spacing:-1.7px;color:var(--desk-ink)}
.ledger-shell .command-brand span{color:var(--desk-income)}
.ledger-shell .command-nav{gap:4px;min-width:0;padding:4px;scroll-padding:6px}
.ledger-shell .command-nav a{min-height:46px;padding:11px 15px;border-radius:7px;font-size:13px;font-weight:600;color:var(--desk-soft)}
.ledger-shell .command-nav a[aria-current=page]{background:#d4e8f6;color:#142332;border-color:#d4e8f6;box-shadow:none}
.ledger-shell .command-nav a:hover:not([aria-current=page]){background:var(--desk-raised);color:#fff}
.ledger-shell>main{max-width:1816px;padding:24px 32px 48px}
.ledger-shell .ledger-masthead h1{font-size:30px;letter-spacing:-1px;font-weight:600}
.ledger-shell .ledger-masthead p{font-size:13px}
.ledger-shell .preview-label{font-size:12px}
.ledger-shell .header-actions button{min-height:44px;font-size:12px;background:transparent;border-color:var(--line);border-radius:7px}
.ledger-shell .header-actions #signin{background:#d4e8f6;border-color:#d4e8f6;color:#142332;font-weight:650}
.ledger-shell .header-actions button:hover{background:var(--desk-raised)}
.ledger-shell .header-actions #signin:hover{background:#edf3f9}
.ledger-shell .context,.ledger-shell[data-workspace=overview] .context{padding:16px 20px;gap:24px;background:var(--desk-raised);border:1px solid #4d6980;border-radius:10px;box-shadow:inset 4px 0 var(--desk-income)}
.ledger-shell .context label{font-size:13px;font-weight:600;color:var(--desk-ink);gap:4px 12px}
.ledger-shell .context :is(input,select){font-size:16px;min-height:48px;padding:8px 12px;background:#111f2b;color:#edf3f9;border:1px solid #648099;border-radius:6px}
.ledger-shell .context #month{min-width:205px;font-weight:600}
.ledger-shell .context #entity{min-width:160px;font-weight:600}
.ledger-shell .context small{font-size:11px;color:#bdccda}
.ledger-shell[data-workspace=overview]>main{gap:20px 24px;padding-top:24px}
.ledger-shell .overview-month-strip{border-radius:0;background:transparent;border-bottom:1px solid var(--line);padding:0 0 14px;margin-bottom:24px;gap:10px}
.ledger-shell .overview-month-options{gap:8px;padding:4px}
.ledger-shell .overview-month-strip button{border-radius:6px;min-height:44px;font-size:13px;padding:9px 15px;color:var(--desk-soft)}
.ledger-shell .overview-month-strip button[aria-pressed=true]{background:#2a4259;color:#f2f8ff;border-color:#83b1d5;box-shadow:inset 0 -3px var(--desk-income)}
.ledger-shell .overview-month-strip button:disabled{opacity:.45}
.ledger-shell .command-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.05fr);gap:20px}
.ledger-shell .command-panel{background:var(--desk-panel);border:1px solid var(--line);border-radius:10px;padding:26px;box-shadow:none}
.ledger-shell .command-panel h3{font-size:19px;font-weight:600;letter-spacing:-.4px}
.ledger-shell .activity-position{background:#1b2e3e;border-color:#57758e;border-top:4px solid var(--desk-income);padding:25px 28px}
.ledger-shell .scope-badge{font-size:12px;color:#bdcfdf}
.ledger-shell .activity-position h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(40px,3.3vw,58px);line-height:1.08;letter-spacing:-1.7px;margin:16px 0}
.ledger-shell .overview-intro{font-size:13px;max-width:43ch;color:#bdcfdf;line-height:1.65}
.ledger-shell .activity-totals>div{grid-template-columns:32px minmax(0,1fr);gap:4px 12px;padding:18px 0;border-color:#3a5166}
.ledger-shell .activity-totals .stat-symbol{grid-column:1;grid-row:span 2;width:30px;height:30px;font-size:20px;background:transparent;border:0;border-radius:0;color:var(--desk-income);align-self:start;margin-top:2px}
.ledger-shell .activity-totals .spending-stat .stat-symbol{color:var(--desk-plan)}
.ledger-shell .activity-totals .net-stat .stat-symbol{color:#b3c8d9}
.ledger-shell .activity-totals dt{grid-column:2;font-size:13px;font-weight:500}
.ledger-shell .activity-totals dt small{font-size:11px;max-width:36ch;line-height:1.5}
.ledger-shell .activity-totals dd{grid-column:2;text-align:left;font-weight:600;font-size:clamp(25px,2.5vw,39px);letter-spacing:-1px;white-space:normal;overflow-wrap:anywhere;margin-top:3px!important}
.ledger-shell .comparison-panel{padding:26px 24px 22px}
.ledger-shell .comparison-title{align-items:baseline;flex-wrap:wrap;gap:8px 14px}
.ledger-shell .comparison-title>span{font-size:12px;color:var(--desk-soft)}
.ledger-shell .comparison-panel .comparison-title>span{padding:0;border:0}
.ledger-shell .chart-legend{justify-content:flex-start;gap:24px;font-size:13px;margin:22px 0 0}
.ledger-shell .chart-legend span:before{width:18px;height:3px;border-radius:0;vertical-align:middle}
.ledger-shell .income-key:before{background:var(--desk-income)}
.ledger-shell .spending-key:before{background:var(--desk-plan)}
.ledger-shell .activity-chart{min-height:260px;margin:18px 0 12px}
.ledger-shell .chart-axis,.ledger-shell .chart-month{font-size:18px;fill:#cfdeeb}
.ledger-shell .chart-grid{stroke:#3a4e60;stroke-dasharray:3 5}
.ledger-shell .chart-income-line{stroke:var(--desk-income);stroke-width:3}
.ledger-shell .chart-spending-line{stroke:var(--desk-plan);stroke-width:3;stroke-dasharray:7 4}
.ledger-shell .chart-income{fill:var(--desk-income)}
.ledger-shell .chart-spending{fill:var(--desk-plan)}
.ledger-shell .chart-area{opacity:.4}
.ledger-shell .chart-values summary{min-height:44px;align-content:center;font-size:13px;color:var(--desk-income);padding:8px 0}
.ledger-shell .chart-values :is(th,td){font-size:12px;padding:12px 9px}
.ledger-shell .command-panel .summary-note{font-size:12px;line-height:1.65;color:var(--desk-soft)}
.ledger-shell .command-tax{background:#242d35;border-color:#877357;border-top:4px solid var(--desk-plan);padding:24px}
.ledger-shell .tax-target{color:var(--desk-plan);font-size:34px;margin-bottom:20px}
.ledger-shell .tax-hero{font-size:clamp(29px,2.6vw,45px);font-weight:600;letter-spacing:-1.2px;color:#f5d4a9;overflow-wrap:anywhere}
.ledger-shell .tax-rail-details{border-top:1px solid #6e624e;padding-top:15px;margin-top:24px}
.ledger-shell :is(.tax-rail-details,.ads-overview-details)>div{font-size:12px;padding:8px 0;flex-wrap:wrap}
.ledger-shell .actual-reserve{border-color:#655e52;font-size:12px}
.ledger-shell .actual-reserve>div{flex-wrap:wrap}
.ledger-shell .command-action{background:#263e52;border-color:#52728b;border-radius:6px;font-size:13px!important;min-height:46px}
.ledger-shell .command-tax>.command-action{background:#e9be85;border-color:#e9be85;color:#1c242d!important;font-weight:700;min-height:48px}
.ledger-shell .command-action:hover{background:#35546e}
.ledger-shell .command-tax>.command-action:hover{background:#f5d4a9}
.ledger-shell .attention-list li{border-color:#5a584f;padding:17px 0}
.ledger-shell .attention-list :is(strong,small){font-size:12px}
.ledger-shell .tax-shortcuts a{min-width:44px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.ledger-shell .tax-rail-foot{font-size:17px;font-style:normal;color:#c7baa7;padding-top:26px}
.ledger-shell .command-sources .earning-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:16px 0;border-bottom:1px solid var(--line)}
.ledger-shell .command-sources .earning-row>a{grid-column:1;grid-row:1;font-size:13px;min-height:36px;align-content:center;text-decoration:underline;text-decoration-color:#597b95;text-underline-offset:4px}
.ledger-shell .command-sources .earning-row>strong{grid-column:2;grid-row:1;font-size:14px}
.ledger-shell .command-sources .earning-row>meter{grid-column:1/-1;grid-row:2;height:8px}
.ledger-shell .command-sources .earning-row>small{grid-column:1/-1;grid-row:3;font-size:11px}
.ledger-shell .command-sources meter::-webkit-meter-bar{background:#31485c;border-radius:2px}
.ledger-shell .command-sources meter::-webkit-meter-optimum-value{background:var(--desk-income);border-radius:2px}
.ledger-shell .command-sources meter::-moz-meter-bar{background:var(--desk-income)}
.ledger-shell .meal-overview-callout{background:#2c3437;border:0;border-left:3px solid var(--desk-plan);border-radius:0;padding:15px 12px}
.ledger-shell .meal-overview-callout>span{background:transparent;color:var(--desk-plan);width:22px;border-radius:0;font-weight:650}
.ledger-shell .meal-overview-callout strong{font-size:15px}
.ledger-shell .meals-action{background:#3d3932;border-color:#887250}
.ledger-shell .meal-review-note>span{background:transparent;color:var(--desk-soft);border-radius:0;width:30px}
.ledger-shell .meal-review-note small{font-size:12px}
.ledger-shell .ads-overview-heading>span{color:var(--desk-income)}
.ledger-shell .overview-provenance{font-size:11px;padding-top:20px}
.ledger-shell .command-disclosure{background:transparent;border-radius:6px;padding:12px 20px}
.ledger-shell .command-disclosure>summary{min-height:44px;align-content:center;font-size:14px}
.ledger-shell .financial-overview .eyebrow{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500}

/* Dense financial work keeps its rows, with reachable controls and clear grouping. */
.ledger-shell .original-reconcile{padding:26px;border-radius:10px}
.ledger-shell .original-reconcile h2{font-size:27px}
.ledger-shell .original-reconcile :is(.source-note,.edit-note){font-size:12px;line-height:1.65}
.ledger-shell .original-reconcile .toolbar :is(input,select){min-height:44px;font-size:14px}
.ledger-shell .original-reconcile .category-chips{gap:8px;padding:18px 0 4px}
.ledger-shell .original-reconcile .category-chips button{min-height:44px;font-size:12px;padding:8px 12px;border-radius:6px}
.ledger-shell .original-reconcile .rc-next-header{min-height:58px;font-size:12px;padding:7px 0;margin-bottom:16px}
.ledger-shell .original-reconcile #next-unreviewed{min-height:44px;font-size:12px;padding:8px 13px;background:#294a65;border-color:#7197b6}
/* Keep the original compact ledger density, independent of the larger overview. */
.ledger-shell .original-reconcile .rc-rev{position:relative}
.ledger-shell .original-reconcile .rc-row:focus-within{background:#193349}
.ledger-shell .financial-analysis{border-radius:10px;padding:28px;--analysis-muted:#b8c9d9}
.ledger-shell .financial-analysis :is(.analysis-scope,.analysis-foot){font-size:12px}
.ledger-shell .financial-analysis .analysis-table :is(th,td){font-size:13px}
.ledger-shell .financial-analysis .analysis-table button{min-height:44px;font-size:13px}
.ledger-shell .ledger-months time{font-size:12px}
.ledger-shell .business-position{background:var(--desk-panel);border-color:var(--line);border-radius:10px}

/* Meal records read as a review document, not another set of financial metrics. */
.ledger-shell .workbench-meals .meal-records{gap:26px}
.ledger-shell .workbench-meals .meal-record{background:var(--desk-panel);padding:28px;border:1px solid var(--line);border-top:3px solid var(--desk-plan);border-radius:10px}
.ledger-shell .workbench-meals .meal-heading{padding-bottom:18px;border-bottom:1px solid var(--line)}
.ledger-shell .workbench-meals .meal-heading h3{font-size:25px;letter-spacing:-.5px;font-weight:600}
.ledger-shell .workbench-meals .meal-heading>strong{font-size:23px;font-weight:550}
.ledger-shell .workbench-meals .meal-status{display:inline-block;font-size:12px;border-radius:4px;background:#3c3934;color:#f1d6af;padding:3px 8px}
.ledger-shell .workbench-meals .meal-saved{padding:2px 0 12px}
.ledger-shell .workbench-meals dt{font-size:12px;color:var(--desk-soft)}
.ledger-shell .workbench-meals dd{font-size:14px}
.ledger-shell .workbench-meals :is(label,summary){font-size:14px;line-height:1.6}
.ledger-shell .workbench-meals summary{min-height:48px;padding:12px 0}
.ledger-shell .workbench-meals :is(textarea,input:not([type=checkbox]),select){font-size:15px;line-height:1.6;padding:10px 12px;border-color:#607e96;background:#101f2d;border-radius:6px}
.ledger-shell .workbench-meals :is(.meal-suggestion,.meal-gaps){background:#303638;color:#e7d7bf;border-left:3px solid #b18c58;padding:14px 16px;border-radius:0;font-size:13px}
.ledger-shell .workbench-meals .meal-export{background:var(--desk-raised);padding:24px;border-radius:8px;border-color:#516d84}
.ledger-shell .workbench-meals .meal-export legend{font-size:20px}
.ledger-shell .workbench-meals button{background:#cee3f3;color:#162635;border-color:#cee3f3;min-height:46px;padding:9px 16px;font-weight:600}
.ledger-shell .workbench-meals button:hover{background:#edf3f9}
.ledger-shell .workbench-meals .meal-remember{min-height:44px;align-items:center;padding:8px 0;font-size:12px}
.ledger-shell .workbench-meals .meal-remember input{width:20px;height:20px;flex:none;accent-color:var(--desk-income)}
.ledger-shell .workbench-meals .meal-facts form{padding:6px 0 12px;border-bottom:1px solid var(--line)}
.ledger-shell .workbench-meals .meal-facts form:last-child{border:0}
.ledger-shell .workbench-meals :is(small,.meal-facts p,.meal-note){font-size:12px;color:var(--desk-soft)}

@media(max-width:1200px){
  .ledger-shell .chart-axis,.ledger-shell .chart-month{font-size:30px}
  .ledger-shell .command-topbar{padding:18px 24px;gap:24px;flex-wrap:wrap}
  .ledger-shell .command-nav{flex-basis:100%;order:2}
  .ledger-shell .command-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .ledger-shell .activity-position{grid-column:1;grid-row:1}
  .ledger-shell .comparison-panel{grid-column:2;grid-row:1}
  .ledger-shell .command-sources{grid-column:1;grid-row:2}
  .ledger-shell .command-tax{grid-column:2;grid-row:2/5}
  .ledger-shell .command-meals{grid-column:1;grid-row:3}
  .ledger-shell .command-ads{grid-column:1;grid-row:4}
  .ledger-shell[data-workspace=overview]>main{grid-template-columns:minmax(0,1fr)}
  .ledger-shell[data-workspace=overview] .ledger-masthead{grid-column:1;grid-row:1}
  .ledger-shell[data-workspace=overview] .context{grid-column:1;grid-row:2}
  .ledger-shell[data-workspace=overview] #status:not(:empty){grid-row:auto}
}
@media(max-width:760px){
  .ledger-shell .command-topbar{margin:0;padding:20px 14px 10px;display:block}
  .ledger-shell .command-brand{font-size:30px;margin:0 4px 16px}
  .ledger-shell .command-nav{padding:4px 3px 8px;gap:5px}
  .ledger-shell .command-nav a{font-size:13px;min-height:46px;padding:11px 14px}
  .ledger-shell>main,.ledger-shell[data-workspace=overview]>main{padding:18px 14px 32px;gap:14px}
  .ledger-shell .header-actions{justify-content:flex-start;gap:7px}
  .ledger-shell .header-actions button{font-size:12px;min-height:44px}
  .ledger-shell .context,.ledger-shell[data-workspace=overview] .context{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);padding:16px 12px;gap:12px;align-items:start}
  .ledger-shell .context label{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;font-size:13px;min-width:0}
  .ledger-shell .context #month,.ledger-shell .context #entity{width:100%;min-width:0;font-size:16px;padding:8px;min-height:48px}
  .ledger-shell .context small{grid-column:1;font-size:11px;max-width:22ch}
  .ledger-shell .overview-month-strip{gap:4px;padding-bottom:12px;margin-bottom:18px;flex-wrap:wrap}
  .ledger-shell .overview-month-options{order:1;flex-basis:calc(100% - 92px);padding:4px 2px}
  .ledger-shell .overview-month-strip>button:first-child{order:0}
  .ledger-shell .overview-month-strip>button:nth-last-child(2){order:2}
  .ledger-shell .overview-month-strip>button:last-child{display:block;order:3;margin-left:auto}
  .ledger-shell .overview-month-strip button{font-size:12px;padding:9px 11px;flex:none}
  .ledger-shell .command-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .ledger-shell .command-grid>article{grid-column:1;grid-row:auto}
  .ledger-shell .command-panel{padding:22px}
  .ledger-shell .activity-position h2{font-size:46px;max-width:14ch}
  .ledger-shell .activity-totals dd{font-size:34px}
  .ledger-shell .activity-chart{min-height:0;margin:14px -8px 10px;width:calc(100% + 16px)}
  .ledger-shell .chart-axis,.ledger-shell .chart-month{font-size:21px}
  .ledger-shell .chart-values summary{font-size:13px}
  .ledger-shell .command-tax .tax-hero{font-size:42px}
  .ledger-shell .tax-rail-foot{padding-top:24px}
  .ledger-shell .original-reconcile{padding:18px 12px}
  .ledger-shell .original-reconcile h2{font-size:23px}
  .ledger-shell .original-reconcile .section-heading{align-items:start;flex-wrap:wrap}
  .ledger-shell .original-reconcile .toolbar :is(input,select){font-size:16px}
  .ledger-shell .original-reconcile .rc-next-header{flex-wrap:wrap;gap:8px}
  .ledger-shell .financial-analysis{padding:20px 12px}
  .ledger-shell .financial-analysis .analysis-table th:first-child{min-width:120px}
  .ledger-shell .workbench-meals .meal-record{padding:21px 18px}
  .ledger-shell .workbench-meals .meal-export{padding:20px 16px}
  .ledger-shell .workbench-meals .meal-heading h3{font-size:23px}
  .ledger-shell .workbench-meals :is(textarea,input:not([type=checkbox]),select){font-size:16px}
  .ledger-shell .workbench-meals .meal-export label{min-width:100%;flex-basis:100%}
  .ledger-shell .workbench-meals .meal-heading{display:flex;flex-wrap:wrap}
  .ledger-shell .workbench-meals .meal-heading>strong{font-size:22px;margin:0}
}
@media(max-width:480px){
  /* SVG text uses viewBox units: compensate for phone-scale rendering. */
  .ledger-shell .chart-axis,.ledger-shell .chart-month{font-size:30px}
  .ledger-shell .chart-gap{font-size:26px}
}
@media(prefers-reduced-motion:reduce){.ledger-shell *,.ledger-shell *:before,.ledger-shell *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.ledger-shell .workbench-meals .meal-print-report :is(th,td,p){color:#222;background:#fff}}

/* Pending approval is a compact, visible form; optional tools stay folded. */
.ledger-shell .workbench-meals .meal-editor[open]>summary{display:none}
.ledger-shell .workbench-meals .meal-editor fieldset{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.5fr);gap:8px 14px;align-items:start}
.ledger-shell .workbench-meals .meal-editor fieldset>label{margin:0}
.ledger-shell .workbench-meals .meal-editor textarea{margin:4px 0;min-height:44px;padding:7px 10px;font-size:14px}
.ledger-shell .workbench-meals .meal-editor fieldset>button{justify-self:end;align-self:start;min-height:44px}
.ledger-shell .workbench-meals .meal-editor .meal-options>summary,.ledger-shell .workbench-meals .meal-facts>summary{min-height:44px;padding:8px 0;font-size:12px}
.ledger-shell .workbench-meals .meal-facts{margin-top:8px}
.ledger-shell .workbench-meals .meal-suggestion{margin:0 0 8px;padding:6px 10px;font-size:12px}
.ledger-shell .workbench-meals .meal-suggestion p{display:inline;margin:0 0 0 6px}
.ledger-shell .workbench-meals .meal-gaps{padding:6px 10px}
.ledger-shell .workbench-meals [data-meal-message]:empty{display:none}
@media(max-width:600px){
 .ledger-shell .workbench-meals .meal-editor fieldset{grid-template-columns:minmax(0,1fr)}
 .ledger-shell .workbench-meals .meal-editor textarea{font-size:16px}
 .ledger-shell .workbench-meals .meal-editor fieldset>button{justify-self:stretch}
}
/* Dense meal queue: pending approval fields remain visible. */
.ledger-shell .workbench-meals .meal-intro h2{font-size:26px;margin-bottom:8px}
.ledger-shell .workbench-meals .meal-intro p{font-size:13px;line-height:1.5;margin:4px 0}
.ledger-shell .workbench-meals .meal-export-panel{margin:10px 0 16px}
.ledger-shell .workbench-meals .meal-export-panel>summary{font-size:13px;min-height:44px;padding:10px 0}
.ledger-shell .workbench-meals .meal-records{grid-template-columns:1fr;gap:8px}
.ledger-shell .workbench-meals .meal-record{padding:0;border-top:1px solid var(--line);border-radius:6px}
.ledger-shell .workbench-meals .meal-row-details>summary{padding:10px 14px;min-height:44px;list-style:none;display:flex;align-items:center;gap:14px}
.ledger-shell .workbench-meals .meal-row-details>summary::-webkit-details-marker{display:none}
.ledger-shell .workbench-meals .meal-row-details>summary:before{content:'▸';color:var(--desk-soft)}
.ledger-shell .workbench-meals .meal-row-details[open]>summary:before{content:'▾'}
.ledger-shell .workbench-meals .meal-row-details>summary:hover{background:#193349}
.ledger-shell .workbench-meals .meal-heading{flex:1;display:flex;flex-wrap:nowrap;align-items:center;padding:0;border:0;min-width:0}
.ledger-shell .workbench-meals .meal-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.ledger-shell .workbench-meals .meal-heading h3{font-size:15px;letter-spacing:0;margin:0;order:-1}
.ledger-shell .workbench-meals .meal-heading p{font-size:12px;margin:0}
.ledger-shell .workbench-meals .meal-heading>strong{font-size:15px;margin:0;font-variant-numeric:tabular-nums}
.ledger-shell .workbench-meals .meal-status{font-size:11px;padding:1px 6px}
.ledger-shell .workbench-meals .meal-row-hint{font-size:11px;white-space:nowrap;color:var(--desk-soft)}
.ledger-shell .workbench-meals .meal-row-body{border-top:1px solid var(--line);padding:12px 18px;max-width:850px}
.ledger-shell .workbench-meals .meal-saved{margin:0;padding:0;display:grid;grid-template-columns:140px 1fr;gap:4px 12px}
.ledger-shell .workbench-meals .meal-saved :is(dt,dd){margin:0;font-size:12px;line-height:1.5}
.ledger-shell .workbench-meals .meal-row-body .meal-gaps{font-size:12px;margin:8px 0}
.ledger-shell .workbench-meals .meal-intro{margin-bottom:12px}
.ledger-shell .workbench-meals .meal-excluded{margin-bottom:12px;font-size:12px}
@media(max-width:600px){
 .ledger-shell .workbench-meals .meal-row-hint{display:none}
 .ledger-shell .workbench-meals .meal-heading>div{gap:3px 8px}
 .ledger-shell .workbench-meals .meal-heading h3{width:100%;font-size:14px}
 .ledger-shell .workbench-meals .meal-row-details>summary{padding:9px 10px;gap:8px}
 .ledger-shell .workbench-meals .meal-row-body{padding:10px}
 .ledger-shell .workbench-meals .meal-saved{grid-template-columns:110px 1fr}
}

/* Review counts summarize available records without changing compact ledger rows. */
.transaction-review-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;margin-left:5px;padding:1px 5px;border-radius:12px;background:#a52332;color:#fff;font-size:11px;font-weight:750;line-height:1.3;font-variant-numeric:tabular-nums}
.transaction-review-badge[hidden]{display:none!important}
#transaction-review-state{font-size:11px;color:var(--muted);margin-left:5px}
#meal-attention-state{font-size:11px;color:var(--muted);margin-left:5px}
.meal-attention-queue{margin:12px 0 16px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#132b3f;font-size:12px}
.meal-attention-queue h3{margin:0 0 8px;font-size:15px}
.meal-attention-queue p{margin:6px 0;line-height:1.5}
.meal-attention-count{margin-left:6px;font-variant-numeric:tabular-nums}
.meal-attention-actions{display:flex;flex-wrap:wrap;gap:8px}
.meal-attention-actions button{min-height:44px;padding:7px 12px;font-size:12px;border-radius:6px;white-space:normal}
.meal-attention-actions button[aria-pressed=true]{border-color:#a9cafa;box-shadow:inset 0 0 0 1px #a9cafa}
.meal-attention-queue [data-meal-attention-save-status]{color:var(--amber)}
.meal-attention-queue [data-meal-attention-save-status]:empty{display:none}
@media(max-width:600px){.meal-attention-actions button{flex:1 1 130px}.meal-attention-queue{padding:10px}}
.transaction-review-queue{margin:12px 0 16px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#132b3f;font-size:12px}
.transaction-review-heading,.transaction-review-scopes,.transaction-review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.transaction-review-heading{justify-content:space-between}.transaction-review-heading>strong{font-size:15px}.transaction-review-heading>span{color:var(--muted);font-size:11px}
.transaction-review-scopes{margin-top:9px}.transaction-review-scopes button,.transaction-review-actions button{min-height:44px;padding:7px 12px;font-size:12px;border-radius:6px}.transaction-review-scopes strong{margin-left:6px}
.transaction-review-current{margin:10px 0 8px;line-height:1.6}.transaction-review-actions button[aria-pressed=true]{border-color:#a9cafa;box-shadow:inset 0 0 0 1px #a9cafa}
.transaction-review-coverage,.transaction-review-queue [data-review-save-status]{margin:8px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
.transaction-review-queue [data-review-save-status]{color:var(--amber)}
@media(max-width:760px){.transaction-review-queue{padding:10px}.transaction-review-heading{align-items:flex-start;flex-direction:column;gap:3px}.transaction-review-scopes button,.transaction-review-actions button{flex:1;white-space:normal}.transaction-review-actions{align-items:stretch}}

/* Session-only personal expense scenarios. */
.planning-expenses{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:8px}
.planning-expense-row{display:grid;grid-template-columns:auto 2fr 1fr 1fr auto;gap:12px;align-items:end;border:1px solid var(--line);padding:12px;margin:12px 0;min-width:0}
.planning-expense-row label{display:grid;gap:6px;min-width:0}.planning-expense-row input{width:100%;min-width:0;min-height:44px}.planning-expense-row .planning-expense-enabled{display:flex;align-items:center;min-height:44px}.planning-expense-enabled input{width:20px}
.planning-expense-actions{display:flex;flex-wrap:wrap;gap:10px}.planning-expenses button{min-height:44px}.planning-comparison caption{text-align:left;padding:10px 0}.planning-workspace .table-wrap:has(.planning-comparison){max-height:480px;overflow:auto}
@media(max-width:760px){.planning-expense-row{grid-template-columns:1fr 1fr}.planning-expense-row input{font-size:16px}.planning-expense-row label:nth-of-type(n+2){grid-column:1/-1}.planning-expense-row button{grid-column:1/-1}}

/* Descriptive decision context, scoped separately from transaction controls. */
.ledger-shell .decision-support{margin:28px 0;border-top:1px solid var(--line);padding-top:24px}
.ledger-shell .decision-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.ledger-shell .decision-heading h2{font-size:26px;letter-spacing:-.5px;margin:4px 0}
.ledger-shell .decision-heading>a{font-size:13px;color:var(--amber);padding:12px 0}
.ledger-shell .decision-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.ledger-shell .decision-columns>section{min-width:0;padding:20px;border:1px solid var(--line);border-radius:8px;background:#132b3f}
.ledger-shell .decision-columns h3{font-size:18px;margin:0 0 12px}
.ledger-shell .decision-columns p{font-size:12px;line-height:1.6;color:var(--desk-soft)}
.ledger-shell .decision-columns summary{font-size:13px;min-height:44px;padding:12px 0;cursor:pointer}
.ledger-shell .decision-range{display:flex;gap:24px;flex-wrap:wrap;margin:20px 0}
.ledger-shell .decision-range dt{font-size:11px;color:var(--desk-soft)}
.ledger-shell .decision-range dd{font-size:24px;font-variant-numeric:tabular-nums;margin:7px 0;color:var(--desk-ink)}
.ledger-shell .decision-columns ul{padding:0;list-style:none;max-height:420px;overflow:auto}
.ledger-shell .decision-columns li{border-top:1px solid var(--line);padding:12px 0;font-size:13px;overflow-wrap:anywhere}
.ledger-shell .decision-sources li{display:grid;grid-template-columns:1fr auto;gap:8px}
.ledger-shell .decision-sources li>span:last-child{grid-column:1/-1;font-size:11px;color:var(--desk-soft)}
.ledger-shell .repeat-expense-review button{min-height:44px;white-space:normal;text-align:left;font-size:12px;padding:8px 12px}
.ledger-shell .planning-buffer{border-left:3px solid var(--amber);padding:12px 18px;margin:20px 0;background:#132b3f}
@media(max-width:760px){.ledger-shell .decision-columns{grid-template-columns:1fr;gap:16px}.ledger-shell .decision-heading{align-items:flex-start;flex-direction:column;gap:4px}.ledger-shell .decision-heading h2{font-size:23px}.ledger-shell .decision-columns>section{padding:16px}.ledger-shell .decision-range dd{font-size:22px}}
/* Needs-you strip + project board (board-view.mjs), ledger Overview. */
.ledger-shell .board{display:grid;gap:26px;margin:4px 0 34px}
.ledger-shell .board header{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:12px}
.ledger-shell .board h2{font-size:21px;font-weight:600;letter-spacing:-.4px;margin:0}
.ledger-shell .board header small,.ledger-shell .board-dim{font-size:11px;color:var(--muted);margin:0}
.ledger-shell .board-needs{background:#1f2a2c;border-left:4px solid #ffb45c;border-radius:8px;padding:18px 22px}
.ledger-shell .board-needs.quiet{background:#0d2234;border-left-color:#29465f}
.ledger-shell .board-needs.off{background:#0d2234;border-left-color:#29465f}
.ledger-shell .board-count{display:inline-block;min-width:22px;padding:1px 7px;margin-left:6px;border-radius:11px;background:#ffb45c;color:#081725;font-size:13px;text-align:center;vertical-align:2px}
.ledger-shell .board-asks{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:12px}
.ledger-shell .board-asks li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:start}
.ledger-shell .board-num{font-size:20px;color:#ffb45c;line-height:1.3}
.ledger-shell .board-asks p{margin:0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.ledger-shell .board-asks small{font-size:11px;color:var(--muted);margin-top:3px}
.ledger-shell .board-proj{font-weight:700;color:#edf4ff}
.ledger-shell .board-next{margin:0;font-size:13px}
.ledger-shell .board-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.ledger-shell .board-card{background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:13px 15px;min-width:0}
.ledger-shell .board-card.amber{border-color:#ffb45c}
.ledger-shell .board-card.red{border-color:#ff7a70}
.ledger-shell .board-card h3{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;margin:0 0 5px}
.ledger-shell .board-line{margin:0 0 5px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.ledger-shell .board-card small{font-size:11px;color:var(--muted);margin:0}
.ledger-shell .board-dot{width:10px;height:10px;border-radius:50%;flex:none;background:#6d8196}
.ledger-shell .board-dot.green{background:#5fd39a}.ledger-shell .board-dot.amber{background:#ffb45c}.ledger-shell .board-dot.red{background:#ff7a70}
@media(max-width:760px){.ledger-shell .board-needs{padding:15px 16px}.ledger-shell .board-asks li{grid-template-columns:36px minmax(0,1fr)}.ledger-shell .board-grid{grid-template-columns:1fr}.ledger-shell .board header{flex-direction:column;gap:2px}}
/* Coming-up calendar beside Needs you (board-view.mjs). */
.ledger-shell .board-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px;align-items:start}
.ledger-shell .board-cal{background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:18px 20px}
.ledger-shell .board-cal h4{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:14px 0 6px}
.ledger-shell .board-cal ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ledger-shell .board-cal li{display:grid;grid-template-columns:118px minmax(0,1fr);gap:8px;font-size:13px;line-height:1.4}
.ledger-shell .board-cal li.board-dim{display:block}
.ledger-shell .board-cal time{color:var(--muted);font-size:12px;white-space:nowrap}
.ledger-shell .board-cal li span{overflow-wrap:anywhere}
.ledger-shell .board-acct{font-style:normal;font-size:10px;color:#a7bdd3;border:1px solid #29465f;border-radius:4px;padding:0 5px;margin-left:4px;justify-self:start}
.ledger-shell .board-next-ev{margin:0;font-size:15px}.ledger-shell .board-next-ev b{color:#68afff}
@media(max-width:900px){.ledger-shell .board-top{grid-template-columns:1fr}}
@media(max-width:760px){.ledger-shell .board-cal{padding:15px 16px}.ledger-shell .board-cal li{grid-template-columns:96px minmax(0,1fr)}}
/* Next 6 months (forecast-view.mjs) */
.ledger-shell .forecast-workspace{max-width:1100px}
.ledger-shell .fc-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.ledger-shell .fc-head h2{font-size:26px;margin:0}
.ledger-shell .fc-scope{display:flex}.ledger-shell .fc-scope button{border-radius:0;min-height:38px;padding:6px 14px}
.ledger-shell .fc-scope button:first-child{border-radius:6px 0 0 6px}.ledger-shell .fc-scope button:last-child{border-radius:0 6px 6px 0}
.ledger-shell .fc-scope button[aria-pressed=true]{background:#68afff;color:#081725;border-color:#68afff;font-weight:650}
.ledger-shell .fc-sentence{font-size:19px;line-height:1.45;margin:6px 0 18px;max-width:62ch}
.ledger-shell .fc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.ledger-shell .fc-stats>div{background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:12px 14px}
.ledger-shell .fc-stats span,.ledger-shell .fc-stats small{display:block;font-size:11px;color:var(--muted);margin:0}
.ledger-shell .fc-stats b{display:block;font-size:22px;font-weight:600;margin:3px 0}
.ledger-shell .fc-neg{color:#ff7a70}
.ledger-shell .fc-accounts{background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:16px 18px;margin-bottom:18px}
.ledger-shell .fc-accounts-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.ledger-shell .fc-accounts-head h3{margin:0;font-size:17px}.ledger-shell .fc-accounts-head>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ledger-shell .fc-accounts-head small{font-size:11px;color:var(--muted);margin:0}
.ledger-shell .fc-acct-group h4{display:flex;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:14px 0 4px}
.ledger-shell .fc-acct-group h4 span{letter-spacing:0;color:#edf4ff;font-size:13px;text-transform:none}
.ledger-shell .fc-acct-group ul{list-style:none;margin:0;padding:0}
.ledger-shell .fc-acct-group li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #1b3348;font-size:13px}
.ledger-shell .fc-acct-group li small{display:block;font-size:10px;color:var(--muted);margin:0}
.ledger-shell .fc-acct-group li b{font-weight:550;white-space:nowrap}
.ledger-shell .fc-tax{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-left:4px solid #ffb45c;background:#1f2a2c;border-radius:8px;padding:12px 16px;margin-bottom:18px}
.ledger-shell .fc-tax p{margin:0;font-size:14px}.ledger-shell .fc-tax.done{display:block;font-size:13px;color:var(--muted)}
.ledger-shell .fc-chart{margin:0 0 18px;background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:12px 12px 4px}
.ledger-shell .fc-chart figcaption{font-size:13px;font-weight:600;margin:0 0 4px 4px}
.ledger-shell .fc-chart svg{width:100%;height:auto;display:block;overflow:visible}
.ledger-shell .fc-zero{stroke:#3a5670;stroke-width:1}
.ledger-shell .fc-bar path{fill:#68afff}.ledger-shell .fc-bar.today path{fill:#4a6a88}.ledger-shell .fc-bar.neg path{fill:#ff7a70}
.ledger-shell .fc-bar .fc-hit{fill:transparent}.ledger-shell .fc-bar:hover path,.ledger-shell .fc-bar:focus path{filter:brightness(1.15)}
.ledger-shell .fc-bar:focus{outline:none}.ledger-shell .fc-bar:focus .fc-hit{stroke:#b68c42;stroke-width:2}
.ledger-shell .fc-val{fill:#edf4ff;font-size:12px;font-weight:600}.ledger-shell .fc-x{fill:#a7bdd3;font-size:12px}
.ledger-shell .fc-table-wrap{background:#0d2234;border:1px solid #29465f;border-radius:8px;margin-bottom:22px}
.ledger-shell .fc-table{min-width:720px;font-size:13px}
.ledger-shell .fc-table th,.ledger-shell .fc-table td{text-align:right;padding:7px 10px;white-space:nowrap;background:transparent;border-top:1px solid #1b3348}
.ledger-shell .fc-table th[scope=row],.ledger-shell .fc-table thead th:first-child{text-align:left;font-weight:500;color:#edf4ff}
.ledger-shell .fc-table thead th{color:var(--muted);font-weight:600}
.ledger-shell .fc-table .fc-sub th{padding-left:22px;color:#a7bdd3}.ledger-shell .fc-table .fc-sub td{color:#c9d6e3}
.ledger-shell .fc-table .fc-group th,.ledger-shell .fc-table .fc-group td{padding-top:12px}
.ledger-shell .fc-table .fc-net th,.ledger-shell .fc-table .fc-net td{border-top:2px solid #29465f}
.ledger-shell .fc-table .fc-end th,.ledger-shell .fc-table .fc-end td{background:#132b3f;font-size:14px}
.ledger-shell .fc-changes{background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:18px 20px}
.ledger-shell .fc-changes h3{margin:0 0 4px;font-size:18px}.ledger-shell .fc-changes h4{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:18px 0 8px}
.ledger-shell .fc-hint{font-size:12px;color:var(--muted);margin:4px 0}
.ledger-shell .fc-change-list{display:grid;gap:6px}
.ledger-shell .fc-change{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:10px;align-items:end;padding:6px 0;border-bottom:1px solid #1b3348}
.ledger-shell .fc-change label{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:2px 12px;align-items:center;font-size:13px}
.ledger-shell .fc-change label small{grid-column:1;font-size:11px;color:var(--muted);margin:0}
.ledger-shell .fc-change label .amount{grid-column:2;grid-row:1/3}.ledger-shell .fc-change input{width:100%}
.ledger-shell .fc-change.on{border-left:3px solid #ffb45c;padding-left:8px}
.ledger-shell .fc-undo{background:transparent;border-color:#29465f;color:#a7bdd3}
.ledger-shell .fc-bill{display:grid;grid-template-columns:minmax(0,1.4fr) 130px 120px 130px auto;gap:8px;align-items:center;margin-bottom:6px}
.ledger-shell .fc-bill input{width:100%}
.ledger-shell .fc-more summary{cursor:pointer;font-size:13px;margin-top:12px;color:#a7bdd3}
.ledger-shell .fc-save{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}
.ledger-shell .fc-save [data-fc-save]{background:#68afff;color:#081725;border-color:#68afff;font-weight:650}
.ledger-shell .fc-save p{margin:0;font-size:12px;color:var(--muted)}
.ledger-shell .fc-unsaved{color:#ffb45c;font-size:13px}
.ledger-shell .fc-foot{font-size:11px;color:var(--muted);margin-top:18px;max-width:80ch}
@media(max-width:760px){.ledger-shell .fc-stats{grid-template-columns:1fr 1fr}.ledger-shell .fc-sentence{font-size:17px}.ledger-shell .fc-change{grid-template-columns:1fr 1fr}.ledger-shell .fc-change label{grid-column:1/-1}.ledger-shell .fc-bill{grid-template-columns:1fr 1fr}.ledger-shell .fc-bill input[data-fc-bill-field=label]{grid-column:1/-1}.ledger-shell .fc-changes{padding:15px 14px}}
.ledger-shell .fc-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ledger-shell .fc-head{justify-content:flex-end}
.ledger-shell .fc-stats b .amount,.ledger-shell .fc-stats small .amount,.ledger-shell .fc-sentence .amount,.ledger-shell .fc-tax .amount{font-size:inherit;color:inherit;display:inline}
.ledger-shell .fc-stats>div{align-self:start}
@media(max-width:760px){.ledger-shell .fc-val{font-size:21px}.ledger-shell .fc-x{font-size:20px}}
.ledger-shell .fc-head{gap:10px}
.ledger-shell .fc-head .fc-scope+.fc-scope{margin-left:6px}
.ledger-shell .fc-members{display:inline;font-size:11px;color:var(--muted);margin:0;white-space:normal}
.ledger-shell .fc-table th[scope=row]{white-space:normal;min-width:190px}
.ledger-shell .fc-ending{background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:16px 18px;margin-bottom:22px}
.ledger-shell .fc-ending h3{margin:0 0 4px;font-size:17px}.ledger-shell .fc-ending .fc-table{min-width:560px}
.ledger-shell .fc-coming{background:#0d2234;border:1px solid #29465f;border-radius:8px;padding:14px 18px;margin-bottom:18px}
.ledger-shell .fc-coming h3{margin:0;font-size:17px}
.ledger-shell .fc-coming ul{list-style:none;margin:10px 0 0;padding:0}
.ledger-shell .fc-coming li{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:10px;padding:7px 0;border-bottom:1px solid #1b3348;font-size:14px;align-items:baseline}
.ledger-shell .fc-coming .fc-when{color:var(--muted);font-size:12px}.ledger-shell .fc-coming small{display:inline;font-size:10px;color:var(--muted)}
/* Taxes tab (2026-09-29) */
.ledger-shell .tx-ref{font-size:12px;color:var(--muted);max-width:80ch;margin:0 0 14px}
.ledger-shell .tx-next{background:#2a2112;border:1px solid #6b5327;border-radius:8px;padding:14px 18px;margin-bottom:18px}
.ledger-shell .tx-next h3{margin:0 0 6px;font-size:16px;color:#ffcf8a}.ledger-shell .tx-next ul{margin:0;padding-left:18px}.ledger-shell .tx-next li{margin:5px 0;line-height:1.55}
.ledger-shell .tx-opps{margin-bottom:22px}
.ledger-shell .tx-opp{border-top:1px solid #1b3348;padding:14px 0}.ledger-shell .tx-opp:first-of-type{border-top:0}
.ledger-shell .tx-opp header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 16px;align-items:start}
.ledger-shell .tx-opp h4{margin:0;font-size:15px;text-transform:none;letter-spacing:0;color:#edf4ff}
.ledger-shell .tx-save-wrap{text-align:right}.ledger-shell .tx-save{display:block;color:#7fd3a6;font-size:15px}.ledger-shell .tx-save-wrap small{color:var(--muted);font-size:11px}
.ledger-shell .tx-tick{font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center;min-height:32px;cursor:pointer}
.ledger-shell .tx-tick input{width:18px;height:18px}
.ledger-shell .tx-opp p{margin:6px 0 0;max-width:86ch;line-height:1.6;font-size:13px}.ledger-shell .tx-q{color:#c9d6e3}.ledger-shell .tx-rule{font-size:11px;color:var(--muted)}
.ledger-shell .tx-on{background:#10283d;margin:0 -12px;padding:14px 12px;border-radius:6px}
.ledger-shell .tx-note h4{font-size:14px}
.ledger-shell .tx-mix{background:#12324a;border-radius:6px;padding:10px 12px;margin:10px 0}
.ledger-shell .tx-h{font-size:18px;margin:26px 0 10px}
.ledger-shell .tx-calcs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:10px;align-items:start}
.ledger-shell .tx-calc{min-width:0;width:100%;background:#0d2234;border:1px solid #29465f;border-radius:8px}
.ledger-shell .tx-calc caption{text-align:left;font-weight:600;padding:10px 10px 4px;font-size:15px;color:#edf4ff}
.ledger-shell .tx-calc th[scope=row]{min-width:0;white-space:normal}
.ledger-shell .tx-inputs td.tx-src{text-align:left;white-space:normal;min-width:260px;color:#c9d6e3;font-size:12px}.ledger-shell .tx-inputs td.tx-src small{display:block;color:var(--muted);margin-top:3px}
.ledger-shell .tx-badge{font-size:11px;padding:2px 7px;border-radius:10px;border:1px solid #29465f}
.ledger-shell .tx-verified{color:#7fd3a6;border-color:#2f6b50}.ledger-shell .tx-derived{color:#9dc7f4}.ledger-shell .tx-estimate{color:#ffcf8a;border-color:#6b5327}.ledger-shell .tx-unknown{color:#ff9d8a}
@media(max-width:760px){.ledger-shell .tx-calcs{grid-template-columns:1fr}.ledger-shell .tx-opp header{grid-template-columns:1fr auto}.ledger-shell .tx-tick{grid-column:1/-1}.ledger-shell .tx-on{margin:0 -6px;padding:14px 6px}}
.ledger-shell .tx-plan{margin-bottom:18px;border-color:#2f6b50}.ledger-shell .tx-plan p{max-width:86ch;line-height:1.6}
.ledger-shell .tx-mini{min-width:0;width:auto;max-width:520px;margin:8px 0}.ledger-shell .tx-mini th[scope=row]{min-width:0}
.ledger-shell .tx-next-year{margin:18px 0}
