:root{--ink:#163238;--muted:#718389;--teal:#087f78;--deep:#104849;--line:#e3eaeb;--bg:#f3f6f6;--white:#fff;--red:#c14845;--amber:#9f6a16;--shadow:0 12px 40px #17383c0c;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--teal);text-decoration:none}h1,h2,h3,p{margin:0}button svg,nav svg,.icon svg{width:19px;height:19px;flex:none;vertical-align:middle}svg{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 14px;border-radius:7px;transition:.15s}button:hover{background:#f3f7f7;border-color:#b6d4d1}button.primary{background:var(--teal);color:white;border-color:var(--teal)}button.primary:hover{background:#086b66}button.danger{color:var(--red);border-color:#edc7c4}button.ghost{border:0;background:transparent;padding:7px}button.small{font-size:12px;padding:6px 10px}button.icon-btn{padding:8px}button.link{border:0;background:none;padding:0;color:var(--teal);font-weight:600;text-align:left}input,select,textarea{border:1px solid #d5e0e2;border-radius:6px;background:#fff;color:var(--ink);padding:10px 11px;min-width:0;width:100%;line-height:1.4}textarea{resize:vertical;min-height:78px}input:focus,select:focus,textarea:focus{border-color:var(--teal);outline:2px solid #0e8c7919}input[readonly]{background:#f4f7f7}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500}.required{color:var(--red)}.hint,.muted{color:var(--muted);font-size:12px;line-height:1.7}.boot{display:grid;min-height:100vh;place-items:center}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:#fff;border-right:1px solid var(--line);z-index:20;display:flex;flex-direction:column;padding:26px 15px 16px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 28px}.brand-mark{width:39px;height:39px;flex:none;border-radius:11px;display:grid;place-items:center;background:var(--teal);color:white;font-weight:800;font-size:20px;letter-spacing:-2px}.brand strong{font-size:19px;letter-spacing:2px}.brand small{display:block;font-size:10px;color:#7a8e93;letter-spacing:1.8px;margin-top:3px}.nav-group{font-size:10px;letter-spacing:1.5px;color:#99a7aa;padding:18px 16px 9px}.sidebar nav{overflow-y:auto}.sidebar nav button{width:100%;justify-content:flex-start;gap:13px;border:0;padding:11px 16px;margin:2px 0;background:transparent;color:#61777c;font-size:13px}.sidebar nav button:hover{background:#f5f8f8}.sidebar nav button.active{background:#e8f4f1;color:#08786f;font-weight:600}.sidebar nav button.active:after{content:"";margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--teal)}.sidebar-bottom{margin-top:auto;padding:22px 12px 0}.local-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#87989d}.dot{width:6px;height:6px;border-radius:50%;background:#27a884;display:inline-block}.workspace{margin-left:222px;min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffd9;padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:var(--ink);font-weight:500;margin-left:12px}.top-actions{display:flex;align-items:center;gap:18px}.today{font-size:12px;color:#809096}.user-chip{display:flex;gap:9px;align-items:center;border-left:1px solid var(--line);padding-left:20px}.avatar{width:31px;height:31px;display:grid;place-items:center;background:#e4f2ef;border-radius:50%;font-size:12px;color:var(--teal);font-weight:700}.user-chip strong{font-size:12px;font-weight:500}.user-chip small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.content{padding:31px 34px 45px;max-width:1740px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:18px}.page-head h1{font-size:25px;font-weight:650;letter-spacing:.3px}.page-head p{font-size:12px;color:var(--muted);margin-top:9px;line-height:1.6}.head-actions{display:flex;gap:9px;flex-wrap:wrap}.eyebrow{color:var(--teal);font-size:10px;letter-spacing:2px;font-weight:650;margin-bottom:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.stat{padding:22px;background:white;border:1px solid var(--line);border-radius:10px;position:relative;min-height:136px}.stat.highlight{background:var(--deep);color:#fff;border-color:var(--deep)}.stat-title{font-size:12px;color:#7a9095;display:flex;justify-content:space-between;align-items:center}.highlight .stat-title{color:#a8cfca}.stat-title .icon{color:#8fb2ae}.stat-value{font-size:29px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.8px;margin:15px 0 9px}.stat-value small{font-size:13px;font-weight:400;letter-spacing:0;margin-right:5px;color:#8ba5a8}.stat-foot{font-size:11px;color:#90a2a6}.highlight .stat-foot{color:#9cc4bd}.grid-main{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:23px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 23px;border-bottom:1px solid #eff3f3}.panel-head h2{font-size:15px;font-weight:600}.panel-head p{font-size:11px;color:var(--muted);margin-top:6px}.panel-body{padding:23px}.pill{border-radius:4px;display:inline-flex;padding:4px 8px;font-size:10px;white-space:nowrap;background:#eff3f4;color:#71868c;line-height:1.3}.pill.approved,.pill.active,.pill.green{background:#e8f4ee;color:#238761}.pill.pending,.pill.amber{background:#fff2da;color:#a67925}.pill.draft{background:#edf2f5;color:#678196}.pill.void,.pill.red{background:#fbeeed;color:#be6259}.pill.inactive{background:#f1f1f1;color:#999}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:17px 22px;border-bottom:1px solid var(--line)}.filters input{width:250px;padding:9px 11px}.filters select{width:160px;padding:9px 11px}.filters .count{margin-left:auto;color:var(--muted);font-size:12px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{background:#f8fafa;text-align:left;font-size:11px;font-weight:500;color:#7d9095;padding:13px 20px;border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #eff3f3;color:#415d64}tbody tr:last-child td{border-bottom:0}tbody tr[data-open]{cursor:pointer}tbody tr[data-open]:hover{background:#f9fcfb}td strong{font-size:12px;font-weight:550;color:var(--ink)}td small{display:block;font-size:10px;color:#8a9ba0;margin-top:5px}.num{text-align:right;font-variant-numeric:tabular-nums}.positive{color:#148a6f}.negative{color:#bf6557}.empty{padding:45px 25px;text-align:center;white-space:normal}.empty .empty-icon{display:grid;place-items:center;background:#eff6f4;width:48px;height:48px;border-radius:14px;color:#6a9e91;margin:0 auto 17px}.empty h3{font-size:14px;font-weight:550;margin-bottom:8px}.empty p{font-size:12px;color:var(--muted);line-height:1.9;max-width:460px;margin:0 auto 17px}.notice{background:#eff7f5;border:1px solid #d7eae3;padding:14px 17px;border-radius:7px;line-height:1.9;font-size:12px;color:#537b71;margin-bottom:20px}.notice.warn{background:#fff8eb;border-color:#f4e8c8;color:#957642}.onboarding{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 23px;background:#edf6f3;border:1px solid #d7e9e1;border-radius:10px;padding:20px 23px}.onboarding h3{font-size:14px;font-weight:600;margin-bottom:7px}.onboarding p{font-size:12px;color:#76908a;line-height:1.6}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.step{border:1px solid var(--line);border-radius:7px;padding:13px;background:#fff;justify-content:flex-start;text-align:left;font-size:12px;gap:9px}.step .number{width:22px;height:22px;border-radius:50%;background:#edf5f2;color:var(--teal);display:grid;place-items:center;font-size:10px}.step.done .number{background:#16836e;color:white}.steps .step:hover{background:#f5fbf8}.task-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #eef2f2}.task-row:last-child{border-bottom:0}.task-icon{width:33px;height:33px;border-radius:8px;background:#f0f5f3;color:#72958c;display:grid;place-items:center}.task-text{flex:1;min-width:0}.task-text strong{display:block;font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-text small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.task-amount{font-size:12px;font-variant-numeric:tabular-nums}.activity{padding-left:18px;border-left:1px solid #e2ece8;position:relative;padding-bottom:22px;margin-left:5px}.activity:last-child{padding-bottom:0}.activity:before{content:"";position:absolute;left:-4px;top:4px;width:7px;height:7px;border-radius:50%;background:#b4d2c7;border:2px solid white}.activity p{font-size:12px;line-height:1.6}.activity small{font-size:10px;color:#97a6aa}.legend{display:flex;align-items:center;gap:17px;color:#84999d;font-size:10px}.legend i{width:7px;height:7px;border-radius:2px;display:inline-block;margin-right:5px}.chart-row{margin-bottom:20px}.chart-row:last-child{margin-bottom:0}.chart-label{display:flex;justify-content:space-between;font-size:11px;color:#70898c;margin-bottom:8px}.bar-track{background:#f1f5f4;height:7px;border-radius:3px;overflow:hidden;margin:5px 0}.bar{height:100%;background:#318f7c;border-radius:3px;min-width:0}.bar.light{background:#b0cdbf}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:21px}.tabs button{border:0;border-radius:0;background:none;padding:0 1px 13px;color:#86979b;font-size:13px;border-bottom:2px solid transparent}.tabs button.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:600}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:23px}.accounts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.account-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:23px}.account-card h3{font-size:14px}.account-card p{font-size:11px;color:var(--muted);margin-top:9px}.account-card .amount{font-size:26px;margin-top:25px;font-weight:600}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-card{border:1px solid var(--line);background:white;border-radius:9px;padding:23px;cursor:pointer}.project-card:hover{border-color:#afd2c6}.project-card .project-title{display:flex;align-items:start;gap:10px;justify-content:space-between}.project-card h3{font-size:15px;line-height:1.7}.project-card .project-sub{color:#91a3a7;font-size:11px;margin:8px 0 23px}.project-values{display:grid;grid-template-columns:1fr 1fr;gap:17px}.project-values span{font-size:11px;color:#8a9da1;display:block;margin-bottom:7px}.project-values b{font-size:16px;font-weight:550;font-variant-numeric:tabular-nums}.progress{height:5px;border-radius:5px;background:#edf3f1;overflow:hidden;margin:12px 0 8px}.progress i{display:block;height:100%;background:#49a08a}.project-foot{display:flex;justify-content:space-between;color:#8ca09f;font-size:10px;margin-top:6px}.table-foot{display:flex;justify-content:space-between;align-items:center;padding:14px 22px;color:var(--muted);font-size:11px}.table-foot button{font-size:11px;padding:5px 9px}.mobile-menu{display:none}.auth-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.auth-story{background:#103f42;color:#fff;padding:60px 8vw;display:flex;flex-direction:column;justify-content:center;position:relative}.auth-story .brand{padding:0;margin-bottom:90px}.auth-story .brand small{color:#91b4b4}.auth-story h1{font-size:40px;line-height:1.6;font-weight:500;letter-spacing:2px}.auth-story p{color:#92b7b8;font-size:13px;line-height:2.2;margin:25px 0 45px}.auth-flow{border-top:1px solid #31585a;border-bottom:1px solid #31585a;display:flex;justify-content:space-between;padding:25px 0;font-size:12px;color:#c1d6d3;gap:10px}.auth-story .auth-bottom{margin-top:65px;color:#688f91;font-size:10px;letter-spacing:1px}.auth-form-area{display:flex;align-items:center;justify-content:center;padding:50px}.auth-form{width:360px;max-width:100%}.auth-form h2{font-size:25px;margin:12px 0}.auth-form .intro{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:30px}.auth-form label{margin-bottom:20px}.auth-form button.primary{width:100%;padding:12px;margin-top:5px}.error-box{color:var(--red);background:#fcf0ef;border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.7;margin:10px 0}.error-box:empty{display:none}dialog{border:0;border-radius:12px;padding:0;width:800px;max-width:calc(100vw - 30px);max-height:calc(100vh - 40px);color:var(--ink);box-shadow:0 30px 100px #1839382b}dialog::backdrop{background:#173d4355;backdrop-filter:blur(2px)}.dialog-head{padding:22px 27px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:3}.dialog-head h2{font-size:18px}.dialog-head p{font-size:11px;color:var(--muted);margin-top:6px}.dialog-body{padding:25px 27px}.dialog-footer{padding:17px 27px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:white;z-index:3}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .full{grid-column:1/-1}.section-label{font-size:12px;font-weight:600;margin:26px 0 13px;display:flex;align-items:center;justify-content:space-between}.line-table th{padding:10px 8px}.line-table td{padding:8px 5px}.line-table input,.line-table select{padding:8px;font-size:12px}.line-table select{min-width:150px}.line-table input{min-width:70px}.line-table td:first-child{width:42%}.line-table .line-total{min-width:80px;display:block;font-size:12px}.line-total-footer{text-align:right;padding:15px 10px;font-size:12px;color:var(--muted)}.line-total-footer strong{font-size:18px;color:var(--teal);margin-left:12px}.small-dialog{width:430px}.small-dialog .dialog-body p{line-height:1.9;color:#637d83;font-size:13px;margin-bottom:16px}.drawer{margin:0 0 0 auto;height:100vh;max-height:100vh;border-radius:0;width:740px;max-width:95vw}.detail-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.detail-title h2{font-size:21px;line-height:1.7}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin-bottom:26px}.detail-meta dt{font-size:11px;color:var(--muted);margin-bottom:7px}.detail-meta dd{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.detail-meta .full{grid-column:1/-1}.detail-actions{display:flex;flex-wrap:wrap;gap:9px;padding:20px 0;border-top:1px solid var(--line)}.file-row{display:flex;justify-content:space-between;align-items:center;padding:12px;border:1px solid var(--line);border-radius:6px;margin-bottom:7px;font-size:12px}.file-row a{overflow-wrap:anywhere}.details-history{font-size:11px;color:var(--muted);line-height:2}.settings-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px}.settings-list{display:flex;flex-direction:column;gap:18px}.settings-list button{align-self:flex-start}.backup-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.import-preview{max-height:300px;overflow:auto;margin-top:18px}.key-value{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #eef2f2;font-size:12px;gap:12px}.key-value span{color:var(--muted)}#toasts{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;align-items:center;gap:10px}.toast{background:#193e40;color:#fff;padding:13px 23px;border-radius:8px;box-shadow:0 8px 40px #14373330;font-size:13px;max-width:90vw}.toast.error{background:#9e4945}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.no-wrap{white-space:nowrap}.spacer{height:20px}.help-list{font-size:12px;line-height:2.2;color:#637e82;padding-left:20px}.footer-note{font-size:10px;color:#a0afb1;text-align:center;margin-top:22px;line-height:1.8}.tag-num{font-size:10px;margin-left:8px;min-width:18px;border-radius:4px;background:#e2f0ed;display:inline-block;text-align:center;padding:2px 5px;color:#498579}.form-help{padding:10px 13px;background:#f3f7f6;border-radius:5px;color:#759087;font-size:11px;line-height:1.8;margin-top:16px}
@media(min-width:1550px){.content{padding:36px 44px}.topbar{padding:0 44px}.stat{padding:25px}.stat-value{font-size:33px}}
@media(max-width:1150px){.sidebar{width:190px;padding-left:10px;padding-right:10px}.workspace{margin-left:190px}.topbar{padding:0 23px}.content{padding:25px 23px}.stats{gap:12px}.stat{padding:18px}.stat-value{font-size:24px}.grid-main{grid-template-columns:1.4fr 1fr}.project-grid,.accounts-grid{grid-template-columns:repeat(2,1fr)}.top-actions .today{display:none}.head-actions button{font-size:12px;padding:8px 11px}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:.2s;box-shadow:var(--shadow);width:222px}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:flex}.breadcrumb{display:none}.topbar{height:64px}.stats{grid-template-columns:repeat(2,1fr)}.grid-main,.two-col,.settings-grid{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}.auth-page{grid-template-columns:1fr}.auth-story{display:none}.auth-form-area{min-height:100vh;padding:30px}.page-head{align-items:flex-start}.page-head h1{font-size:22px}.head-actions{justify-content:flex-end}.onboarding{align-items:flex-start}.filters input{width:100%}.filters select{width:calc(50% - 6px)}}
@media(max-width:550px){.content{padding:22px 16px}.topbar{padding:0 16px}.stat{padding:17px 13px;min-height:126px}.stat-value{font-size:22px}.stat-title,.stat-foot{font-size:10px}.page-head{flex-direction:column;gap:15px}.project-grid,.accounts-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.dialog-body{padding:20px}.dialog-head{padding:18px 20px}.dialog-footer{padding:15px 20px}.detail-meta{gap:18px}.user-chip{padding-left:10px}.top-actions{gap:10px}.panel-head{padding:18px}.panel-body{padding:18px}.tabs{gap:19px}.tabs button{font-size:12px}.onboarding{flex-direction:column}.stat-value small{font-size:11px}.line-table td:first-child{width:auto}th,td{padding:13px 15px}}
.preview-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:23px;border:1px solid #d6e8e1;background:#eaf5f0;border-radius:7px;font-size:12px;color:#4f8172}.checkbox-label{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:12px;line-height:1.8}.checkbox-label input{width:16px;height:16px;accent-color:var(--teal)}.feedback-details{white-space:normal;max-width:540px;margin-top:8px;font-size:11px;color:#70888b}.feedback-details summary{cursor:pointer;color:var(--teal)}.feedback-details p{margin-top:7px;line-height:1.9;overflow-wrap:anywhere}
.grid-main>div,.settings-grid>div,.panel,.stat{min-width:0}.chart-label .link{display:block;max-width:63%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-label>span{flex-shrink:0;margin-left:8px}.panel-head{flex-wrap:wrap}
@media print{.sidebar,.topbar,.head-actions,.filters,.tabs,button,.footer-note{display:none!important}.workspace{margin:0}.content{padding:0}.panel,.stat{break-inside:avoid;box-shadow:none}.table-scroll{overflow:visible}.stats{grid-template-columns:repeat(4,1fr)}body{background:white}.panel{border:1px solid #ccc}dialog{display:none}}
