:root{--ink:#17282c;--ink-2:#233a3e;--paper:#f5f4ef;--card:#fff;--gold:#e3ad55;--gold-soft:#f7e8c9;--mint:#dce9e5;--green:#2f7d63;--red:#ae4a3e;--muted:#748084;--line:#e4e6e3;--shadow:0 16px 40px rgba(19,36,39,.08);font-family:"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);min-width:320px}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:242px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:var(--ink);color:#fff;padding:28px 18px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 31px}.brand-mark{width:38px;height:38px;border-radius:11px;background:var(--gold);color:var(--ink);font-size:18px;font-weight:800;display:grid;place-items:center}.brand strong{display:block;font-size:16px;letter-spacing:.04em}.brand span{display:block;color:#829296;font-size:10px;letter-spacing:.09em;margin-top:2px}.nav{display:grid;gap:7px}.nav-item{position:relative;width:100%;border:0;background:transparent;color:#9eabad;padding:12px 13px;border-radius:10px;text-align:left;cursor:pointer;font-size:14px;font-weight:600;display:flex;align-items:center;gap:12px}.nav-item>span{font-size:18px;width:20px;text-align:center}.nav-item b{margin-left:auto;font-size:11px;background:#d49b42;color:#fff;border-radius:10px;min-width:21px;padding:3px 6px;text-align:center}.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.1);color:#fff}.nav-item.active:before{content:"";position:absolute;left:-18px;width:3px;height:25px;border-radius:0 3px 3px 0;background:var(--gold)}.sidebar-foot{margin-top:auto}.month-goal{padding:15px 14px;margin-bottom:17px;border-radius:12px;background:rgba(255,255,255,.055)}.month-goal span,.month-goal strong{font-size:11px}.month-goal strong{float:right;color:var(--gold)}.month-goal i{display:block;height:4px;background:#34484b;border-radius:10px;margin-top:11px;overflow:hidden}.month-goal em{display:block;width:68.4%;height:100%;background:var(--gold);border-radius:10px}.user-card{border-top:1px solid #304448;padding:18px 5px 0;display:flex;gap:10px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;background:#e8dac0;color:var(--ink);display:grid;place-items:center;font-weight:700}.user-card strong,.user-card span{display:block;font-size:12px}.user-card span{font-size:10px;color:#89989b;margin-top:2px}.user-card button{margin-left:auto;background:none;border:0;color:#7f9093}.workspace{padding:0 36px 48px;min-width:0}.topbar{height:105px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe1de}.eyebrow{margin:0 0 6px;color:#9a783e;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.14em}.topbar h1{margin:0;font-family:"Songti SC","STSong",serif;font-size:25px;letter-spacing:.01em}.top-actions{display:flex;align-items:center;gap:10px}.search{height:40px;width:235px;background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;padding:0 12px;color:#91a0a2}.search input{width:100%;border:0;outline:0;padding-left:8px;background:transparent;font-size:13px;color:var(--ink)}.icon-button{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px;position:relative}.icon-button i{position:absolute;right:9px;top:8px;width:6px;height:6px;border-radius:50%;background:#d49442;border:2px solid #fff}.primary-button,.secondary-button{border:0;border-radius:9px;padding:11px 17px;font-weight:700;font-size:13px;cursor:pointer}.primary-button{background:var(--ink);color:#fff}.primary-button:hover{background:#294247}.secondary-button{background:#f0f1ee;color:var(--ink)}.view{display:none}.view.active{display:block}.period-row{display:flex;justify-content:space-between;align-items:center;padding:24px 0 18px}.period{border:0;background:transparent;color:#899396;font-size:12px;padding:7px 14px;cursor:pointer;border-radius:8px}.period.active{background:#fff;color:var(--ink);box-shadow:0 3px 12px rgba(20,40,43,.06);font-weight:700}.date-range{font-size:12px;color:#59676a}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metric-card{min-height:169px;background:var(--card);border-radius:14px;padding:19px 20px;position:relative;box-shadow:0 2px 3px rgba(20,40,43,.02);overflow:hidden}.metric-card.dark{background:var(--ink);color:#fff}.metric-head{display:flex;justify-content:space-between;align-items:center;color:#778487;font-size:12px}.dark .metric-head{color:#aab7b9}.metric-head i{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#e4f0e9;color:var(--green);font-style:normal;font-weight:700}.metric-head i.orange{background:#f8ead2;color:#aa7131}.metric-card>strong{font-family:Georgia,"Songti SC",serif;font-size:24px;display:block;margin-top:20px;letter-spacing:-.02em}.metric-card p{font-size:11px;color:#8a9698;margin:9px 0 0}.metric-card p b{color:#58a886}.metric-card p b.neutral{color:#677578}.metric-card p b.warning{color:#b37935}.spark{position:absolute;height:38px;right:17px;bottom:16px;display:flex;align-items:flex-end;gap:4px}.spark span{display:block;width:5px;background:#8c6f3e;border-radius:3px}.spark span:nth-child(6),.spark span:nth-child(7){background:var(--gold)}.donut{position:absolute;right:18px;bottom:17px;width:52px;height:52px;border-radius:50%;background:conic-gradient(var(--gold) calc(var(--p)*1%),#edf0ed 0);display:grid;place-items:center}.donut:before{content:"";position:absolute;width:39px;height:39px;border-radius:50%;background:#fff}.donut span{position:relative;font-size:9px;font-weight:700}.mini-bars{position:absolute;right:18px;bottom:20px;height:42px;display:flex;gap:5px;align-items:end}.mini-bars i{display:block;width:6px;background:#8eb4a8;border-radius:5px 5px 2px 2px}.mini-bars i:nth-child(1){height:16px}.mini-bars i:nth-child(2){height:24px}.mini-bars i:nth-child(3){height:20px}.mini-bars i:nth-child(4){height:34px}.mini-bars i:nth-child(5){height:42px;background:var(--ink)}.text-button{border:0;background:none;padding:0;color:#9a6b29;font-size:11px;font-weight:700;cursor:pointer}.metric-card>.text-button{position:absolute;left:20px;bottom:19px}.dashboard-grid{display:grid;grid-template-columns:1.75fr .85fr;gap:15px;margin-top:15px}.panel{background:#fff;border-radius:14px;box-shadow:0 2px 3px rgba(20,40,43,.02)}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;padding:19px 21px}.panel-head h2,.section-toolbar h2{margin:0;font-size:15px}.panel-head p,.section-toolbar p{margin:5px 0 0;color:#899497;font-size:11px}.legend{display:flex;gap:15px;color:#687679;font-size:10px}.legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.income-dot{background:var(--gold)}.cost-dot{background:#658680}.chart-wrap{height:208px;display:flex;padding:0 20px 20px}.y-axis{width:38px;display:flex;flex-direction:column;justify-content:space-between;color:#a1aaab;font-size:9px;padding-bottom:20px}.chart{position:relative;flex:1}.grid-lines{position:absolute;inset:0 0 20px;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{border-top:1px dashed #e9eae7}.chart svg{position:absolute;inset:0 0 20px;width:100%;height:calc(100% - 20px);overflow:visible}.chart path{fill:none;vector-effect:non-scaling-stroke}.chart .area{fill:url(#area)}.income-line{stroke:var(--gold);stroke-width:2.2}.cost-line{stroke:#658680;stroke-width:2;stroke-dasharray:5 5}.x-axis{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;color:#98a1a3;font-size:9px}.composition-panel .panel-head button{border:0;background:none;color:#899}.big-donut{margin:3px auto 12px;width:118px;height:118px;border-radius:50%;background:conic-gradient(var(--ink) 0 42%,var(--gold) 42% 70%,#89a8a2 70% 89%,#d9ded9 89%);display:grid;place-items:center;position:relative}.big-donut:before{content:"";position:absolute;width:77px;height:77px;background:#fff;border-radius:50%}.big-donut div{position:relative;text-align:center}.big-donut strong,.big-donut span{display:block}.big-donut strong{font:700 15px Georgia,serif}.big-donut span{font-size:9px;color:#8c9698;margin-top:3px}.cost-list{padding:0 22px 16px;display:grid;gap:8px}.cost-list div{display:flex;justify-content:space-between;font-size:10px;color:#647174}.cost-list span i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:7px}.cost-list b{color:var(--ink)}.recent-panel{margin-top:15px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#929c9e;font-size:10px;font-weight:600;padding:10px 20px;border-top:1px solid #eef0ed;border-bottom:1px solid #eef0ed}td{font-size:11px;padding:13px 20px;border-bottom:1px solid #eef0ed;color:#48575a}tbody tr:last-child td{border-bottom:0}.person{display:flex;align-items:center;gap:8px}.person-avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e7ebe8;color:#526467;font-size:10px;font-weight:700}.amount{font-family:Georgia,serif;font-weight:700;color:var(--ink)}.status{display:inline-flex;align-items:center;gap:5px;border-radius:12px;padding:4px 8px;font-size:9px;font-weight:700}.status:before{content:"";width:5px;height:5px;border-radius:50%}.status.pending{background:#fff2dc;color:#9c6a27}.status.pending:before{background:#d89b42}.status.approved{background:#e2f1eb;color:#32745d}.status.approved:before{background:#4f9679}.status.rejected{background:#f7e3df;color:#9d473c}.status.rejected:before{background:#c35b4d}.row-action{border:0;background:none;color:#987039;cursor:pointer}.section-toolbar{min-height:100px;display:flex;justify-content:space-between;align-items:center}.filter-group{display:flex;gap:10px}.filter-group select{border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 30px 9px 12px;color:#566467;font-size:12px}.data-panel{min-height:400px}.data-panel th{padding-top:14px;padding-bottom:14px}.data-panel td{padding-top:16px;padding-bottom:16px}.finance-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:15px}.finance-summary article{background:#fff;border-radius:13px;padding:17px 19px;min-height:96px}.finance-summary span{display:block;color:#849093;font-size:11px}.finance-summary strong{display:block;font:700 21px Georgia,serif;margin-top:12px}.finance-summary .accent{background:var(--gold-soft)}.finance-summary .dark-summary{background:var(--ink);color:#fff;position:relative}.dark-summary span{color:#a9b4b6}.dark-summary b{position:absolute;right:18px;bottom:20px;color:var(--gold);font-size:13px}.approval-count{display:flex;align-items:center;gap:8px}.approval-count strong{font:700 26px Georgia,serif;color:#9a6d2e}.approval-count span{font-size:11px;color:#7c898b}.approval-list{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.approval-card{background:#fff;border-radius:14px;padding:21px;box-shadow:0 2px 3px rgba(20,40,43,.02)}.approval-card-head{display:flex;justify-content:space-between;align-items:flex-start}.approval-card h3{font-size:14px;margin:0}.approval-card .id{color:#9aa3a5;font-size:10px;margin-top:5px}.approval-amount{font:700 20px Georgia,serif}.approval-meta{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:19px 0;padding:15px;background:#f7f8f5;border-radius:10px}.approval-meta span{display:block;color:#919b9d;font-size:9px;margin-bottom:4px}.approval-meta b{font-size:11px}.approval-actions{display:flex;gap:9px}.approval-actions button{flex:1}.reject-button{background:#fff;color:var(--red);border:1px solid #efd4d0}.approve-button{background:var(--ink);color:#fff}.modal{position:fixed;inset:0;z-index:20;display:none;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(12,27,30,.62);backdrop-filter:blur(3px)}.modal-card{position:relative;background:#fff;border-radius:18px;width:min(620px,100%);max-height:92vh;overflow:auto;padding:28px;box-shadow:0 25px 70px rgba(0,0,0,.25)}.modal-card h2{margin:0 0 22px;font-family:"Songti SC",serif;font-size:23px}.modal-close{position:absolute;right:20px;top:18px;width:32px;height:32px;border:0;border-radius:50%;background:#f0f2ef;color:#637174;font-size:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label{display:grid;gap:7px;color:#4d5a5d;font-size:11px;font-weight:700}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid #dfe3df;border-radius:9px;padding:11px 12px;outline:0;color:var(--ink);background:#fff;font-size:13px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#d2a04b;box-shadow:0 0 0 3px rgba(227,173,85,.15)}.upload-box{position:relative;border:1px dashed #ccd3cf;background:#f8f9f7;border-radius:10px;padding:15px;display:flex;align-items:center;gap:12px}.upload-box>span{width:33px;height:33px;border-radius:8px;background:var(--gold-soft);display:grid;place-items:center;color:#9a6e2e;font-size:18px}.upload-box strong,.upload-box small{display:block}.upload-box small{font-weight:400;color:#97a0a2;margin-top:3px}.upload-box input{position:absolute;inset:0;opacity:0;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.toast{position:fixed;z-index:50;right:28px;bottom:28px;background:var(--ink);color:#fff;padding:13px 18px;border-radius:10px;font-size:12px;box-shadow:var(--shadow);transform:translateY(20px);opacity:0;pointer-events:none;transition:.25s}.toast.show{transform:none;opacity:1}
.live-data-note{display:flex;align-items:center;gap:7px;color:#657477;font-size:11px}.live-data-note i{width:7px;height:7px;border-radius:50%;background:#4f9679;box-shadow:0 0 0 4px rgba(79,150,121,.12)}.metric-selectable{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;outline:0}.metric-selectable:hover{transform:translateY(-2px);box-shadow:0 11px 28px rgba(19,36,39,.1)}.metric-selectable:focus-visible{box-shadow:0 0 0 3px rgba(227,173,85,.38)}.metric-selectable.is-selected{background:var(--ink);color:#fff;box-shadow:0 12px 28px rgba(23,40,44,.2)}.metric-selectable.is-selected .metric-head,.metric-selectable.is-selected p{color:#aab7b9}.metric-selectable.is-selected .metric-link{color:var(--gold)}.pending-card:hover{border-color:#d9a34e}.metric-link{position:absolute;left:20px;bottom:18px;color:#9a6b29;font-size:10px;font-weight:700}.trend-head{gap:16px}.trend-controls{display:flex;gap:4px;padding:3px;background:#f2f3f0;border-radius:9px}.trend-controls button{border:0;background:transparent;color:#778487;border-radius:7px;padding:6px 9px;font-size:9px;cursor:pointer;white-space:nowrap}.trend-controls button.active{background:#fff;color:var(--ink);box-shadow:0 2px 7px rgba(20,40,43,.08);font-weight:700}.trend-panel{--trend-color:#d49b42}.trend-panel .chart-wrap{height:238px}.trend-panel .y-axis{width:52px}.trend-panel .chart svg{color:var(--trend-color)}.chart .trend-area{fill:url(#trendAreaGradient)}.chart .trend-line{fill:none;stroke:var(--trend-color);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.chart #trendPoints circle{fill:#fff;stroke:var(--trend-color);stroke-width:2;vector-effect:non-scaling-stroke}.chart.is-animating .trend-line{stroke-dasharray:1;stroke-dashoffset:1;animation:trend-draw .72s cubic-bezier(.22,.75,.28,1) forwards}.chart.is-animating .trend-area{opacity:0;animation:trend-area-in .55s ease .22s forwards}.chart.is-animating #trendPoints circle{opacity:0;transform-box:fill-box;transform-origin:center;animation:trend-point-in .32s cubic-bezier(.2,.8,.3,1.35) var(--point-delay) forwards}.chart.is-animating .x-axis span,.chart.is-animating+.x-axis span{animation:trend-label-in .35s ease both}.chart-empty{position:absolute;inset:0 0 20px;display:grid;place-items:center;color:#9aa4a6;font-size:11px;background:rgba(255,255,255,.7);z-index:2}.user-count{display:flex;align-items:baseline;gap:6px;color:#879396}.user-count strong{font:700 27px Georgia,serif;color:var(--ink)}.user-count span{font-size:11px}.user-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:15px}.user-summary article{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 3px rgba(20,40,43,.02)}.user-summary span,.user-summary strong,.user-summary small{display:block}.user-summary span{font-size:11px;color:#849093}.user-summary strong{font:700 25px Georgia,serif;margin:13px 0 6px}.user-summary small{font-size:10px;color:#98a2a4}.user-panel .panel-head{border-bottom:1px solid #eef0ed}.user-id{display:block;color:#9aa3a5;font-size:9px;margin-top:3px}.username-code{background:#f1f3f0;color:#405155;border-radius:6px;padding:5px 8px;font-size:11px}.role-pill{display:inline-block;border-radius:12px;padding:5px 9px;font-size:9px;font-weight:700}.role-pill.admin{background:#f7e8c9;color:#946827}.role-pill.employee{background:#e8eeec;color:#527168}.empty-cell{text-align:center!important;color:#8d999b!important;padding:45px!important}
@keyframes trend-draw{to{stroke-dashoffset:0}}@keyframes trend-area-in{to{opacity:1}}@keyframes trend-point-in{from{opacity:0;transform:scale(.25)}to{opacity:1;transform:scale(1)}}@keyframes trend-label-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.chart.is-animating .trend-line,.chart.is-animating .trend-area,.chart.is-animating #trendPoints circle,.chart.is-animating .x-axis span{animation:none;opacity:1;stroke-dashoffset:0}.metric-selectable{transition:none}}
.ledger-filter-panel{padding:18px 20px;margin-bottom:15px}.ledger-search-row{display:flex;align-items:center;gap:12px}.ledger-search{height:43px;flex:1;display:flex;align-items:center;gap:9px;border:1px solid #dfe3df;background:#f8f9f7;border-radius:10px;padding:0 13px;color:#8c989a;transition:border-color .18s,box-shadow .18s}.ledger-search:focus-within{border-color:#d2a04b;box-shadow:0 0 0 3px rgba(227,173,85,.14);background:#fff}.ledger-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}.filter-reset{height:43px;border:1px solid #dfe3df;background:#fff;color:#687578;border-radius:9px;padding:0 14px;font-size:11px;font-weight:700;cursor:pointer}.filter-reset:hover{border-color:#d2a04b;color:#916725}.ledger-filter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.ledger-filter-grid label{display:grid;gap:6px}.ledger-filter-grid label>span{color:#879295;font-size:9px;font-weight:700}.ledger-filter-grid select,.ledger-filter-grid input{width:100%;height:38px;border:1px solid #e0e4e0;border-radius:8px;background:#fff;color:#4d5c5f;padding:0 10px;font-size:11px;outline:0}.ledger-filter-grid select:focus,.ledger-filter-grid input:focus{border-color:#d2a04b;box-shadow:0 0 0 3px rgba(227,173,85,.12)}.ledger-results .panel-head{border-bottom:1px solid #eef0ed}.result-count{color:#899497;font-size:10px}.result-count strong{font:700 18px Georgia,serif;color:#9a6b29;margin:0 3px}.ledger-invoice,.ledger-id{display:block;color:#98a2a4;margin-top:4px;font-size:9px}.ledger-id{color:#b0b7b8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.dashboard-range{display:flex;align-items:center;gap:7px;color:#7b888b;font-size:10px}.dashboard-range>span{font-weight:700;color:#536367}.dashboard-range label{display:flex}.dashboard-range input{height:34px;border:1px solid #dfe3df;border-radius:8px;background:#fff;color:#435255;padding:0 8px;font-size:10px;outline:0}.dashboard-range input:focus{border-color:#d2a04b;box-shadow:0 0 0 3px rgba(227,173,85,.12)}.dashboard-range b{font-weight:400;color:#9aa4a6}.dashboard-range button{height:34px;border:1px solid #e1e4e1;border-radius:8px;background:#fff;color:#916725;padding:0 10px;font-size:10px;font-weight:700;cursor:pointer}.dashboard-range button:hover{border-color:#d2a04b;background:#fffaf0}.metric-card>strong.number-changing{animation:number-change .65s cubic-bezier(.2,.75,.25,1)}@keyframes number-change{0%{opacity:.35;transform:translateY(5px);filter:blur(2px)}45%{opacity:1;filter:blur(0)}100%{transform:none}}
@media(max-width:1100px){.ledger-filter-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.ledger-search-row{align-items:stretch;flex-direction:column}.filter-reset{width:100%}.ledger-filter-grid{grid-template-columns:1fr}.result-count{white-space:nowrap}}
@media(max-width:900px){.period-row{align-items:flex-start;gap:13px;flex-direction:column}.dashboard-range{width:100%;flex-wrap:wrap}.dashboard-range>span{width:100%}}
@media(prefers-reduced-motion:reduce){.metric-card>strong.number-changing{animation:none}}
.dark-summary small{display:block;color:var(--gold);font-size:10px;margin-top:7px}
@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.composition-panel{display:grid;grid-template-columns:1fr 1fr}.composition-panel .panel-head{grid-column:1/-1}.cost-list{align-content:center}.search{display:none}.finance-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;z-index:12;left:0;right:0;bottom:0;top:auto;height:68px;padding:8px 8px;background:rgba(23,40,44,.98);overflow-x:auto}.brand,.sidebar-foot{display:none}.nav{display:grid;grid-template-columns:repeat(7,minmax(70px,1fr));gap:2px}.nav-item{justify-content:center;flex-direction:column;gap:1px;padding:5px;font-size:9px}.nav-item>span{font-size:16px}.nav-item b{position:absolute;right:18%;top:2px}.nav-item.active:before{left:30%;right:30%;top:-8px;width:40%;height:3px;border-radius:0 0 3px 3px}.workspace{padding:0 15px 90px}.topbar{height:90px}.topbar h1{font-size:20px}.top-actions .icon-button{display:none}.primary-button{padding:10px 12px}.period-row{align-items:flex-end}.date-range{font-size:10px}.metric-grid,.approval-list,.user-summary{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1fr}.composition-panel{display:block}.finance-summary{grid-template-columns:1fr 1fr}.section-toolbar{align-items:flex-start;padding:21px 0;gap:14px}.filter-group{flex-direction:column}.form-grid{grid-template-columns:1fr}.modal-card{padding:23px 19px}.top-actions .primary-button span{display:none}}
.ledger-toolbar-actions,.preview-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.import-all-button{background:#fff3dc;color:#936423;border:1px solid #efd29d}.import-all-button:hover{background:#f9e5bf}.import-all-button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:760px){.ledger-toolbar-actions,.preview-actions{width:100%;flex-direction:column;align-items:stretch}.ledger-toolbar-actions button,.preview-actions button{width:100%}}
@media(max-width:760px){.trend-head{display:grid}.trend-controls{overflow-x:auto;width:100%}.trend-controls button{flex:1}.trend-panel .chart-wrap{padding-left:10px;padding-right:10px}.live-data-note{max-width:58%}}

/* Wide financial tables must always fit inside the visible workspace. */
.ledger-results,.import-table-card{min-width:0;overflow:hidden}
.ledger-results .table-wrap,.import-table-card .table-wrap{width:100%;overflow-x:hidden}
.ledger-results table,.import-table-card table{width:100%;table-layout:fixed;white-space:normal}
.ledger-results th,.ledger-results td,.import-table-card th,.import-table-card td{padding-left:8px;padding-right:8px;overflow-wrap:anywhere;word-break:break-word;line-height:1.45}
.ledger-results th,.import-table-card th{font-size:9px}
.ledger-results td,.import-table-card td{font-size:10px}
.ledger-results .row-actions{flex-wrap:wrap}
.ledger-results .row-actions button{margin-left:0;padding:5px 7px}
.import-table-card .import-invalid{min-width:0}
.ledger-results th:nth-child(1){width:8%}.ledger-results th:nth-child(2){width:24%}.ledger-results th:nth-child(3),.ledger-results th:nth-child(4),.ledger-results th:nth-child(5){width:8%}.ledger-results th:nth-child(6){width:7%}.ledger-results th:nth-child(7){width:10%}.ledger-results th:nth-child(8){width:10%}.ledger-results th:nth-child(9){width:17%}
.import-table-card th:nth-child(1){width:13%}.import-table-card th:nth-child(2){width:10%}.import-table-card th:nth-child(3){width:22%}.import-table-card th:nth-child(4),.import-table-card th:nth-child(5),.import-table-card th:nth-child(6),.import-table-card th:nth-child(7){width:8%}.import-table-card th:nth-child(8){width:10%}.import-table-card th:nth-child(9){width:13%}

@media(max-width:1100px){
 .ledger-results .table-wrap,.import-table-card .table-wrap{padding:0 12px 14px}
 .ledger-results table,.ledger-results tbody,.import-table-card table,.import-table-card tbody{display:block}
 .ledger-results thead,.import-table-card thead{display:none}
 .ledger-results tbody,.import-table-card tbody{display:grid;gap:10px}
 .ledger-results tbody tr,.import-table-card tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;padding:13px 14px;border:1px solid #e8ece8;border-radius:11px;background:#fff}
 .ledger-results tbody td,.import-table-card tbody td{display:block;width:auto!important;padding:8px 0;border:0;min-width:0;white-space:normal}
 .ledger-results tbody td:before,.import-table-card tbody td:before{display:block;margin-bottom:4px;color:#98a1a3;font-size:8px;font-weight:700;letter-spacing:.04em}
 .ledger-results tbody td:nth-child(1):before{content:"日期"}.ledger-results tbody td:nth-child(2):before{content:"项目 / 对方单位"}.ledger-results tbody td:nth-child(3):before{content:"收入"}.ledger-results tbody td:nth-child(4):before{content:"支出"}.ledger-results tbody td:nth-child(5):before{content:"成本金额"}.ledger-results tbody td:nth-child(6):before{content:"退款"}.ledger-results tbody td:nth-child(7):before{content:"确认状态"}.ledger-results tbody td:nth-child(8):before{content:"毛利"}.ledger-results tbody td:nth-child(9):before{content:"操作"}
 .import-table-card tbody td:nth-child(1):before{content:"来源工作表 / 行号"}.import-table-card tbody td:nth-child(2):before{content:"日期"}.import-table-card tbody td:nth-child(3):before{content:"项目 / 对方单位"}.import-table-card tbody td:nth-child(4):before{content:"收入"}.import-table-card tbody td:nth-child(5):before{content:"支出"}.import-table-card tbody td:nth-child(6):before{content:"成本"}.import-table-card tbody td:nth-child(7):before{content:"退款"}.import-table-card tbody td:nth-child(8):before{content:"状态"}.import-table-card tbody td:nth-child(9):before{content:"校验"}
 .ledger-results tbody td:nth-child(2),.ledger-results tbody td:nth-child(9),.import-table-card tbody td:nth-child(1),.import-table-card tbody td:nth-child(3),.import-table-card tbody td:nth-child(9){grid-column:1/-1}
 .ledger-results tbody td.empty-cell,.import-table-card tbody td.empty-cell{grid-column:1/-1;text-align:center;padding:22px 0}
 .ledger-results tbody td.empty-cell:before,.import-table-card tbody td.empty-cell:before{content:none}
 .ledger-results .row-actions{gap:8px}.ledger-results .row-actions button{flex:1;padding:8px}
}

@media(max-width:520px){
 .ledger-results tbody tr,.import-table-card tbody tr{grid-template-columns:1fr}
 .ledger-results tbody td,.import-table-card tbody td,.ledger-results tbody td:nth-child(2),.ledger-results tbody td:nth-child(9),.import-table-card tbody td:nth-child(1),.import-table-card tbody td:nth-child(3),.import-table-card tbody td:nth-child(9){grid-column:1}
}

/* The project ledger is always rendered as complete cards so the new tax model never requires horizontal scrolling. */
.ledger-results .table-wrap{padding:0 14px 16px;overflow:hidden}
.ledger-results table,.ledger-results tbody{display:block;width:100%;white-space:normal}
.ledger-results thead{display:none}
.ledger-results tbody{display:grid;gap:12px}
.ledger-results tbody tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 16px;padding:15px 16px;border:1px solid #e6ebe7;border-radius:12px;background:#fff}
.ledger-results tbody td{display:block;width:auto!important;min-width:0;padding:8px 0;border:0;overflow-wrap:anywhere}
.ledger-results tbody td:before{display:block;margin-bottom:4px;color:#98a1a3;font-size:8px;font-weight:700;letter-spacing:.04em}
.ledger-results tbody td:nth-child(1):before{content:"日期"}.ledger-results tbody td:nth-child(2):before{content:"项目 / 对方单位"}.ledger-results tbody td:nth-child(3):before{content:"税率"}.ledger-results tbody td:nth-child(4):before{content:"开票金额"}.ledger-results tbody td:nth-child(5):before{content:"结算金额"}.ledger-results tbody td:nth-child(6):before{content:"会计成本"}.ledger-results tbody td:nth-child(7):before{content:"成本税额"}.ledger-results tbody td:nth-child(8):before{content:"结算成本"}.ledger-results tbody td:nth-child(9):before{content:"实际毛利"}.ledger-results tbody td:nth-child(10):before{content:"真实毛利"}.ledger-results tbody td:nth-child(11):before{content:"项目收益"}.ledger-results tbody td:nth-child(12):before{content:"毛利率"}.ledger-results tbody td:nth-child(13):before{content:"确认状态"}.ledger-results tbody td:nth-child(14):before{content:"操作"}
.ledger-results tbody td:nth-child(2){grid-column:span 3}.ledger-results tbody td:nth-child(9){grid-column:auto}.ledger-results tbody td:nth-child(14){grid-column:1/-1}.ledger-results tbody td.empty-cell{grid-column:1/-1;text-align:center;padding:24px}.ledger-results tbody td.empty-cell:before{content:none}
.ledger-results .negative-margin{color:#b43d34}.ledger-results .row-actions{gap:8px}.ledger-results .row-actions button{min-width:80px}
.ledger-entry-card{width:min(720px,100%)}
.ledger-entry-card .form-grid label small{color:#98a1a3;font-size:9px;font-weight:400}
.ledger-live-calculation{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:20px;padding:14px;background:#f4f7f4;border-radius:11px}
.ledger-live-calculation div{min-width:0;padding:10px;background:#fff;border-radius:8px}.ledger-live-calculation span,.ledger-live-calculation strong,.ledger-live-calculation small{display:block}.ledger-live-calculation span{color:#879294;font-size:9px}.ledger-live-calculation strong{margin-top:7px;font:700 14px Georgia,serif;overflow-wrap:anywhere}.ledger-live-calculation small{margin-top:4px;color:#9ba4a5;font-size:8px;line-height:1.4}.ledger-form-error{min-height:17px;margin:10px 0 0;color:#b43d34;font-size:10px}
.history-import-error{display:none;margin:12px 0 0;padding:11px 13px;border:1px solid #e4b8b1;border-radius:9px;background:#fff0ed;color:#a33125;font-size:11px;font-weight:700;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.history-import-error:not(:empty){display:block}
.import-selection-head{gap:16px}.import-select-all{display:flex;align-items:center;gap:8px;color:#435356;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.import-select-all input,.import-row-check{width:17px;height:17px;accent-color:var(--ink);cursor:pointer}.import-row-check:disabled{cursor:not-allowed}
.import-table-card .table-wrap{padding:0 14px 16px;overflow:hidden}.import-table-card table,.import-table-card tbody{display:block;width:100%;white-space:normal}.import-table-card thead{display:none}.import-table-card tbody{display:grid;gap:12px}.import-table-card tbody tr{display:grid;grid-template-columns:42px 2fr repeat(4,minmax(90px,1fr));gap:0 14px;padding:14px 16px;border:1px solid #e6ebe7;border-radius:12px;background:#fff}.import-table-card tbody td{display:block;width:auto!important;min-width:0;padding:8px 0;border:0;overflow-wrap:anywhere}.import-table-card tbody td:before{display:block;margin-bottom:4px;color:#98a1a3;font-size:8px;font-weight:700;letter-spacing:.04em}.import-table-card tbody td:nth-child(1):before{content:"选择"}.import-table-card tbody td:nth-child(2):before{content:"项目 / 来源"}.import-table-card tbody td:nth-child(3):before{content:"日期 / 状态"}.import-table-card tbody td:nth-child(4):before{content:"开票金额"}.import-table-card tbody td:nth-child(5):before{content:"结算金额"}.import-table-card tbody td:nth-child(6):before{content:"结算成本"}.import-table-card tbody td:nth-child(7):before{content:"名义毛利"}.import-table-card tbody td:nth-child(8):before{content:"实际毛利"}.import-table-card tbody td:nth-child(9):before{content:"毛利率"}.import-table-card tbody td:nth-child(10):before{content:"会计成本"}.import-table-card tbody td:nth-child(11):before{content:"校验"}.import-table-card tbody td:nth-child(2){grid-column:span 2}.import-table-card tbody td:nth-child(11){grid-column:span 2}.import-table-card .import-row-invalid{background:#fff8f6;border-color:#efd7d2}
@media(max-width:1050px){.import-table-card tbody tr{grid-template-columns:42px repeat(3,minmax(0,1fr))}.import-table-card tbody td:nth-child(2){grid-column:span 2}.import-table-card tbody td:nth-child(11){grid-column:1/-1}}
@media(max-width:650px){.import-selection-head{display:grid}.import-select-all{white-space:normal}.import-table-card tbody tr{grid-template-columns:42px 1fr}.import-table-card tbody td:nth-child(2),.import-table-card tbody td:nth-child(11){grid-column:span 1}}
.analysis-workspace{padding:26px;overflow:hidden}.analysis-file-head{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:center}.analysis-file-icon{width:52px;height:52px;border-radius:13px;background:#1f694f;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800;letter-spacing:.08em}.analysis-file-head span,.analysis-file-head p{display:block;margin:0;color:#8b9799;font-size:10px}.analysis-file-head h2{margin:4px 0;font-size:17px;overflow-wrap:anywhere}.analysis-file-head>strong{font:700 24px Georgia,serif;color:#9a6d2e}.analysis-progress{height:8px;margin:22px 0 26px;border-radius:10px;background:#edf0ec;overflow:hidden}.analysis-progress i{display:block;width:0;height:100%;border-radius:10px;background:linear-gradient(90deg,#bd8d3f,var(--gold));transition:width .65s cubic-bezier(.2,.8,.2,1)}.analysis-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.analysis-flow article{position:relative;min-width:0;padding:15px 13px 14px;border-radius:11px;background:#f5f6f3;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;transition:.35s}.analysis-flow article>b{width:26px;height:26px;border-radius:8px;background:#e4e8e4;color:#8d9899;display:grid;place-items:center;font-size:9px}.analysis-flow article strong,.analysis-flow article span{display:block}.analysis-flow article strong{font-size:11px}.analysis-flow article span{margin-top:5px;color:#929c9e;font-size:9px;line-height:1.45}.analysis-flow article>i{position:absolute;left:0;right:0;bottom:0;height:3px;background:transparent}.analysis-flow article.active{background:#fff5e3;transform:translateY(-2px)}.analysis-flow article.active>b{background:var(--gold);color:var(--ink)}.analysis-flow article.active>i{background:var(--gold);animation:analysis-pulse 1.2s ease-in-out infinite}.analysis-flow article.complete{background:#e9f3ee}.analysis-flow article.complete>b{background:#4d8f72;color:#fff}.analysis-flow article.complete>i{background:#4d8f72}.analysis-field-map{margin-top:22px;padding:18px 19px;border-radius:12px;background:var(--ink);color:#fff;display:flex;justify-content:space-between;gap:18px;align-items:center}.analysis-field-map span{font-size:9px;color:#98a8aa}.analysis-field-map h3{margin:5px 0 0;font-size:13px}.analysis-field-chips{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}.analysis-field-chips span{padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.09);color:#dce5e6;font-size:9px}.analysis-result,.analysis-error{margin-top:18px;padding:17px 18px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.analysis-result{background:#e9f3ee}.analysis-result span,.analysis-result strong,.analysis-result small{display:block}.analysis-result span{color:#438066;font-size:9px}.analysis-result strong{margin-top:4px;font-size:15px}.analysis-result small{margin-top:3px;color:#748783;font-size:9px}.analysis-error{background:#fff0ed;color:#963c31}.analysis-error p{margin:5px 0 0;font-size:10px;overflow-wrap:anywhere}.analysis-error.hidden,.analysis-result.hidden{display:none}@keyframes analysis-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.analysis-progress i,.analysis-flow article{transition:none}.analysis-flow article.active>i{animation:none}}
@media(max-width:900px){.analysis-flow{grid-template-columns:1fr}.analysis-field-map,.analysis-result,.analysis-error{align-items:flex-start;flex-direction:column}.analysis-field-chips{justify-content:flex-start}}
@media(max-width:520px){.analysis-workspace{padding:18px}.analysis-file-head{grid-template-columns:auto 1fr}.analysis-file-head>strong{grid-column:1/-1}.analysis-result button,.analysis-error button{width:100%}}
@media(max-width:900px){.ledger-results tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-results tbody td:nth-child(2){grid-column:span 1}.ledger-results tbody td:nth-child(14){grid-column:1/-1}.ledger-live-calculation{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.ledger-results tbody tr{grid-template-columns:1fr}.ledger-results tbody td,.ledger-results tbody td:nth-child(2),.ledger-results tbody td:nth-child(14){grid-column:1}.ledger-live-calculation{grid-template-columns:1fr}}

.nav-item em{font-style:normal}.employee-mode .nav{margin-bottom:0}
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3a4f53 transparent}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:#3a4f53;border-radius:4px}
.sidebar-projects{flex:0 0 auto;display:flex;flex-direction:column;margin:20px 0 4px;padding-top:17px;border-top:1px solid #2c4044}
.sidebar-projects-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 9px}
.sidebar-projects-head span{color:#8d9a9c;font-size:10px;font-weight:700;letter-spacing:.08em}
.sidebar-add-project{width:22px;height:22px;border:0;border-radius:7px;background:rgba(255,255,255,.08);color:var(--gold);font-size:13px;cursor:pointer;line-height:1}
.sidebar-add-project:hover{background:rgba(227,173,85,.22)}
.sidebar-search{display:flex;align-items:center;gap:7px;height:32px;padding:0 10px;border-radius:9px;background:rgba(255,255,255,.06);color:#7f8e91;font-size:11px}
.sidebar-search input{width:100%;border:0;outline:0;background:transparent;color:#e6ecec;font-size:11px}
.sidebar-search input::placeholder{color:#6d7d80}
.sidebar-project-list{flex:0 0 auto;height:317px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:3px;margin-top:8px;padding-right:3px;scrollbar-width:thin;scrollbar-color:#3a4f53 transparent}
.sidebar-project-list::-webkit-scrollbar{width:5px}
.sidebar-project-list::-webkit-scrollbar-thumb{background:#3a4f53;border-radius:4px}
.project-chip{flex:0 0 auto;display:flex;overflow:hidden;align-items:center;gap:8px;width:100%;border:0;background:transparent;color:#9eabad;border-radius:8px;padding:6px 9px;cursor:pointer;text-align:left;font-size:12px}
.project-chip:hover,.project-chip.is-active{background:rgba(255,255,255,.1);color:#fff}
.project-chip-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.project-chip-date{flex:none;color:#78878a;font-size:10px;letter-spacing:.02em}
.project-chip.is-active .project-chip-date{color:#95a3a5}
.project-chip-flag{display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:6px;vertical-align:middle;background:#d89b42}
.project-chip-flag.rejected{background:#c35b4d}
.sidebar-empty{margin:10px 4px;color:#71807f;font-size:10px;line-height:1.7}
.project-summary{grid-template-columns:repeat(3,1fr)}
.finance-summary small{display:block;color:#95a1a3;font-size:10px;margin-top:7px}
.finance-summary .dark-summary small{color:#a9b4b6}
.project-detail-panel{margin-top:15px}
.project-approval-block{margin-bottom:20px}
.project-approval-block .panel-head{padding:0 2px 14px}
.expense-project{display:block;color:#98a2a4;margin-top:4px;font-size:9px}
.income-direct-note{margin:16px 0 0;padding:11px 13px;border-radius:9px;background:var(--mint);color:#39625a;font-size:11px}
#projectDetailName{margin-top:9px}
#backToProjects{display:block}
.section-toolbar .filter-group button:disabled{opacity:.45;cursor:not-allowed}
.backend-down-screen{position:fixed;inset:0;z-index:999;display:none;align-items:center;justify-content:center;padding:24px;background:var(--ink)}
.backend-down-screen.show{display:flex}
.backend-down-card{width:min(430px,100%);text-align:center;color:#dfe6e6}
.backend-down-mark{width:58px;height:58px;margin:0 auto 22px;border-radius:50%;display:grid;place-items:center;background:rgba(227,173,85,.16);color:var(--gold);font-size:24px}
.backend-down-card h2{margin:0 0 14px;font-family:"Songti SC","STSong",serif;font-size:22px;color:#fff}
.backend-down-card p{margin:0;color:#97a6a8;font-size:12px;line-height:1.85}
.backend-down-hint{margin-top:12px!important;padding:11px 13px;border-radius:9px;background:rgba(255,255,255,.06);color:#b9c4c5!important}
.backend-down-card button{margin-top:24px;background:var(--gold);color:var(--ink)}
.backend-down-card button:hover{background:#f0c274}
.backend-down .ai-assistant-float{display:none}

.member-list{display:flex;flex-wrap:wrap;gap:10px;padding:16px 20px 20px}
.member-card{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fbfbf9}
.member-card .person-avatar{width:28px;height:28px;font-size:11px}
.member-card b{font-size:13px;color:var(--ink)}
.member-role{font-size:11px;color:var(--muted)}
.member-owner{font-size:11px;color:var(--green);font-weight:700}
.member-remove{border:0;background:none;color:var(--red);cursor:pointer;font-size:14px;line-height:1;padding:2px 4px;border-radius:6px}
.member-remove:hover{background:#f6e3e0}
.member-empty{margin:0;padding:4px 0;color:var(--muted);font-size:13px}
.sub-tabs{display:flex;gap:4px;padding:4px;margin-bottom:16px;background:#f2f3f0;border-radius:11px;overflow-x:auto}.sub-tabs button{flex:1;border:0;background:transparent;color:#77858a;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:7px}.sub-tabs button:hover{color:var(--ink)}.sub-tabs button.is-active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(20,40,43,.09)}.sub-tabs button i{font-style:normal;min-width:19px;padding:2px 6px;border-radius:9px;background:#d49b42;color:#fff;font-size:10px}.sub-pane{display:none}.sub-pane.is-active{display:block}
.section-subhead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.section-subhead h3{margin:0;font-size:15px}.section-subhead p{margin:5px 0 0;color:#899497;font-size:11px}
.company-metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:15px}.company-metric-row article{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 3px rgba(20,40,43,.02)}.company-metric-row span,.company-metric-row strong,.company-metric-row small{display:block}.company-metric-row span{font-size:11px;color:#849093}.company-metric-row strong{font:700 25px Georgia,serif;margin:13px 0 6px}.company-metric-row small{font-size:10px;color:#98a2a4}
.company-filter-panel{display:flex;align-items:center;gap:12px;padding:18px 20px;margin-bottom:15px}.company-filter-panel .ledger-search{flex:1}.company-name{font-size:12px;color:var(--ink)}.source-pill{display:inline-block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;border-radius:11px;padding:4px 9px;font-size:9px;font-weight:700;background:#e8eeec;color:#527168}.company-empty-card{padding:40px;text-align:center;color:#879396;grid-column:1/-1}
.company-submit-card{text-align:left;padding:32px}.company-submit-card .import-icon{margin:0 0 15px}.company-submit-card>p{max-width:none;margin:0 0 22px}.company-submit-card .form-grid{margin-bottom:16px}.company-submit-card form>.primary-button{width:100%}
@media(max-width:1100px){.company-metric-row{grid-template-columns:1fr}}
@media(max-width:760px){.sub-tabs button{flex:0 0 auto;padding:9px 12px;font-size:11px}.section-subhead{flex-direction:column;align-items:flex-start}.company-filter-panel{flex-direction:column;align-items:stretch}.company-submit-card{padding:22px}}

.ledger-head-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}
.bulk-confirm-button{padding:9px 15px;font-size:12px;white-space:nowrap}
.bulk-confirm-button:disabled{background:#eef0ed;color:#9aa4a6;cursor:default}
.bulk-confirm-button:disabled:hover{background:#eef0ed}
@media(max-width:760px){.ledger-results .panel-head{flex-direction:column;gap:14px}.ledger-head-actions{width:100%;justify-content:space-between}.bulk-confirm-button{flex:1}}
