:root{--accent:#b3863e;--accent-light:#faf4e8;--ink:#182c40;--muted:#728194;--line:#e1e7ed;--surface:#fff;--blue:#19675f}
body{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#f4f6f8;font-size:14px}
.sidebar{background:#122a2c;width:240px;border-right:0}.main-area{margin-left:240px}.brand{padding:26px 16px 22px;border-color:#ffffff14}.brand b{font-size:16px;letter-spacing:.1px;color:#f4eee2}.brand small{color:#9baead;letter-spacing:1px}.brand-logo{width:38px;height:38px}.nav-group-title{color:#a4b7b4;font-size:12px;letter-spacing:1.5px;margin:12px 17px 7px}.nav-item{font-size:14px;margin:3px 12px;padding:11px 12px;border-radius:7px;color:#bdcbc8;width:calc(100% - 24px);min-height:40px}.nav-item.active{background:#d4b275;color:#162c2b;font-weight:650;box-shadow:none}.nav-item:hover{background:#ffffff14;color:#fff}.nav-item.active:hover{background:#e0bd80;color:#132a2b}.nav-icon{width:19px;height:19px}.sidebar-foot{color:#9db3ae;border-color:#ffffff16;padding:16px 24px;font-size:12px}#sidebar-nav{padding-bottom:12px}
.topbar{min-height:90px;box-shadow:none;background:#fff;border-bottom:1px solid var(--line);padding:18px 30px}.page-heading h1{font-size:23px;letter-spacing:.2px}.page-heading p{font-size:13px;color:#788693;margin-top:5px}.top-actions{gap:10px}.organization-chip{background:#faf6ee;border-color:#ebd9b8;color:#765820}.date-chip{border-color:#dce4e9;color:#456071;font-size:12px}.profile-button{border:0;border-left:1px solid #e1e7ed;padding-left:16px}.avatar{background:#19675f}.content{max-width:none;padding:24px 30px 30px}.button{border-radius:6px;font-size:13px;min-height:36px;box-shadow:none;gap:6px;border-color:#dce3e9;white-space:nowrap}.button.primary{background:#17645c;border-color:#17645c;color:white;box-shadow:none}.button.primary:hover{background:#104e47}.button svg{height:15px;width:15px}.button:disabled{opacity:.45;cursor:not-allowed}.button.danger{border-color:#ecc8c7;color:#a83a39}.button.small{min-height:30px}.cell-link{border:0;background:transparent;padding:0;font:inherit;color:#1b7066;cursor:pointer;text-align:left;white-space:nowrap}.cell-link:hover{text-decoration:underline}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#8a9a9d}.workspace-intro{display:flex;justify-content:space-between;align-items:center;padding:0 0 25px}.workspace-intro h2{font-size:26px;font-weight:600;margin:12px 0}.workspace-intro p{color:#72838e;font-size:13px}.workspace-seal{border:1px solid #ceb387;padding:13px 20px;color:#8d6b33;font-size:15px;letter-spacing:5px;border-radius:3px;transform:rotate(-3deg)}
.query-panel{border:1px solid #dfe6ec;background:white;border-radius:10px;margin-bottom:18px;padding:20px 22px 14px}.query-grid{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:15px 16px}.query-field{display:flex;flex-direction:column;gap:7px;min-width:0}.query-field>span{font-size:12px;font-weight:600;color:#506577}.query-field input,.query-field select{height:36px;width:100%;min-width:0;border:1px solid #dce3e9;border-radius:5px;color:#243f53;background:#fff;padding:7px 10px;font:inherit;font-size:13px}.query-field input::placeholder{color:#a4afb9}.query-field input:focus,.query-field select:focus{outline:2px solid #19675f22;border-color:#3d8177}.query-actions{display:flex;gap:9px;align-items:center;margin-top:17px;border-top:1px dashed #e1e7ed;padding-top:13px}.query-note{font-size:12px;color:#8995a0;flex:1}.v2-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:14px}.v2-kpi{border:1px solid #dfe6ec;border-radius:9px;background:white;padding:18px 22px;position:relative;overflow:hidden}.v2-kpi:first-child{background:#173e3b;color:#fff;border-color:#173e3b}.kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#5a6e7d;margin-bottom:16px}.kpi-top span{font-size:12px;color:#b5c0c5;font-weight:300}.v2-kpi strong{display:block;font-size:27px;font-weight:650;letter-spacing:-.6px;font-variant-numeric:tabular-nums;margin-bottom:10px}.v2-kpi small{color:#81909a;font-size:11px}.v2-kpi:first-child .kpi-top,.v2-kpi:first-child small{color:#b5cac4}.v2-kpi:first-child .kpi-top span{color:#d1b47e}.unit-strip{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:11px 16px;background:#edf2f1;color:#4e7068;border-radius:6px;font-size:12px;margin:0 0 18px}.unit-strip b{font-weight:600;color:#214d46}.unit-separator{color:#a6b8b2}.v2-table-panel{border:1px solid #dfe6ec;background:#fff;border-radius:10px;overflow:hidden}.table-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line)}.table-heading h2{font-size:17px;margin:5px 0 0;font-weight:650}.table-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.data-table.v2-table{font-size:13px;min-width:100%;width:max-content}.v2-table th{background:#f3f6f8;color:#6b7c89;font-size:12px;font-weight:600;padding:15px 15px;white-space:nowrap;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1}.v2-table td{padding:16px 15px;border-bottom:1px solid #edf0f3;white-space:nowrap;max-width:360px;overflow:hidden;text-overflow:ellipsis}.v2-table th:first-child,.v2-table td:first-child{padding-left:22px}.v2-table tr:hover td{background:#f8fbfa}.v2-table .number{font-family:Inter,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.1px}.table-scroll{max-height:65vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#bdc8ce #f4f6f8}.status-tag{padding:4px 9px;border-radius:4px;background:#f1f4f6;color:#526875;font-size:11px;display:inline-block;line-height:1.5}.status-tag.normal,.status-tag.posted,.status-tag.active,.status-tag.income,.status-tag.paid{background:#eaf4ef;color:#247858}.status-tag.low,.status-tag.partial,.status-tag.draft{background:#fbf2de;color:#a1782d}.status-tag.zero,.status-tag.high{background:#edf2f8;color:#627c99}.status-tag.negative,.status-tag.expense,.status-tag.void{background:#fceeee;color:#b95151}.v2-pagination{display:flex;justify-content:space-between;align-items:center;padding:14px 22px;font-size:12px;color:#8996a0;border-top:1px solid var(--line)}.v2-pagination>span{display:flex;align-items:center;gap:12px}.v2-pagination b{font-size:12px;font-weight:500;color:#516b7a}.v2-pagination select{padding:5px;border:1px solid #dde4e9;border-radius:4px;background:#fff;color:#4c6473}.v2-empty{padding:60px 20px;display:flex;flex-direction:column;align-items:center;gap:12px}.v2-empty svg{height:30px;width:30px;color:#b5c1cb}.v2-empty strong{font-size:14px;color:#536e7f}.v2-empty p{font-size:12px;color:#8b9aa5;margin:0}.report-note{font-size:12px;color:#8c9aa4;line-height:1.8;padding:0 4px;margin:12px 0}.page-error{padding:40px;background:#fff7f5;color:#934433}.page-error p{white-space:normal;word-break:break-word}.master-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px;border-bottom:1px solid var(--line);padding-bottom:10px}.master-tabs button{padding:10px 17px;border:0;background:none;color:#5b7281;font-size:14px;border-radius:5px;cursor:pointer}.master-tabs button.active{background:#e6eeeb;color:#15594f;font-weight:650}.column-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.column-choices label{display:flex;align-items:center;gap:6px}.document-modal{width:min(1450px,97vw)!important;max-width:1450px!important}.modal{border-radius:12px}.modal-overlay{backdrop-filter:blur(3px);background:#142d3e60}.modal-body{padding:22px;max-height:76vh;overflow:auto}.modal-header{background:#f9fbfb;border-bottom:1px solid var(--line)}.modal-header h2{font-size:20px}.field input,.field select,.field textarea{border-radius:5px;border-color:#dbe3e7;color:#274353;font-size:14px}.field label,.field{font-size:13px}.field{gap:7px}.form-grid{gap:16px}.form-error{color:#ab4242;background:#fff3f0;line-height:1.7;padding:0 12px;margin-top:10px;white-space:pre-wrap}.form-error:not(:empty){padding:10px 12px}.entry-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px}.entry-heading p{font-size:12px;color:#84949e;margin:6px 0}.entry-heading>div:last-child{display:flex;gap:8px}.entry-scroll{border:1px solid #dfe6ec;border-radius:6px}.entry-table{min-width:1240px;width:100%;font-size:13px}.entry-table th{background:#f3f6f8;color:#617887;white-space:nowrap;font-size:12px}.entry-table td{padding:10px 8px}.entry-table input{border:1px solid #dce3e8;border-radius:4px;padding:8px;width:110px;font-size:13px}.entry-table .material-search{width:245px}.entry-table .entry-note{width:140px}.entry-table .entry-qty{width:100px}.entry-table .entry-price{width:110px}.entry-table input[readonly]{background:#f4f7f8;color:#778b96}.entry-amount{min-width:95px}.entry-spec{max-width:140px}.entry-unit{min-width:45px}.entry-total{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;font-size:12px;color:#7b8f9a}.entry-total strong,.entry-total b{color:#235e51;font-size:18px;font-weight:650}.source-search{display:flex;gap:8px}.source-search input{flex:1;min-width:80px}.source-search select{flex:2;min-width:120px}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 25px;margin-bottom:22px;padding:18px;background:#f7faf9;border:1px solid #e6eeea;border-radius:7px}.detail-grid>div{display:flex;flex-direction:column;gap:7px}.detail-grid small{color:#8a9b9e;font-size:12px}.detail-grid b{font-weight:500;color:#254a4c;font-size:14px;overflow-wrap:anywhere}.detail-settlement{display:flex;gap:20px;justify-content:space-between;border-top:1px solid #e2e9e6;padding:14px 3px;font-size:13px}.detail-settlement b{font-weight:500;color:#317461}.fee-live-preview{padding:12px;background:#eef6f1;color:#286655;border-radius:5px;font-size:13px}.site-filing{font-size:11px;background:#f4f6f8;color:#a0acb2;border-top:0;padding:12px}.site-filing a{color:#93a2ab}.kpi-card,.panel,.table-card{box-shadow:none;border-color:#dfe6ec;border-radius:9px}.report-grid .panel-body{min-height:0}.login-visual{background:radial-gradient(ellipse at 20% 90%,#43716633,transparent 55%),linear-gradient(140deg,#132f30,#172d2e)}.login-submit{background:linear-gradient(100deg,#e5c893,#c39955)!important;color:#203b39!important;border-color:#caa86b!important}.login-mode-tabs button.active{color:#936e31;border-color:#b4975b;background:#faf5eb}.login-page .site-filing{background:white}#print-sheet{display:none}
@media(min-width:1700px){.query-grid{grid-template-columns:repeat(6,minmax(100px,1fr))}.content{padding:28px 38px}.topbar{padding:18px 38px}}
@media(max-width:1200px){.query-grid{grid-template-columns:repeat(3,minmax(90px,1fr))}.content{padding:20px}.table-heading{align-items:flex-start}.table-actions{max-width:65%}.v2-kpi{padding:16px}.v2-kpi strong{font-size:22px}.detail-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.sidebar{width:220px}.main-area{margin-left:0}.topbar{padding:14px 16px}.page-heading h1{font-size:20px}.page-heading p{display:none}.v2-kpis{grid-template-columns:repeat(2,1fr)}.organization-chip{max-width:125px;overflow:hidden;text-overflow:ellipsis}.table-heading{display:block}.table-actions{max-width:none;justify-content:flex-start;margin-top:14px}.content{padding:16px}.query-grid{grid-template-columns:repeat(2,minmax(80px,1fr))}.query-panel{padding:16px}.query-note{display:none}.query-actions{justify-content:flex-end}.workspace-seal{display:none}.workspace-intro h2{font-size:22px}.detail-grid{grid-template-columns:repeat(2,1fr)}.source-search{flex-wrap:wrap}.column-choices{grid-template-columns:repeat(2,1fr)}.v2-pagination{padding:12px;gap:12px;flex-wrap:wrap}.document-modal{width:97vw!important}.form-grid.cols-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:550px){#global-period{display:none}.profile-button span:nth-child(2){display:none}.top-actions{gap:4px}.query-grid{grid-template-columns:1fr 1fr}.v2-kpi strong{font-size:20px}.v2-kpi small{font-size:10px}.table-actions .button{font-size:12px}.form-grid.cols-3{grid-template-columns:1fr}.entry-heading{display:block}.entry-heading>div:last-child{margin-top:12px}.detail-settlement{display:block}.v2-table td{padding:14px 12px}}
@media print{@page{size:A4 landscape;margin:12mm}body> *{display:none!important}body>#print-sheet{display:block!important;background:white;color:#111}#print-sheet h1{font-size:18px;margin:0 0 10px}#print-sheet p{font-size:10px}#print-sheet .table-scroll{max-height:none!important;overflow:visible!important}#print-sheet .data-table{width:100%;min-width:0!important;table-layout:auto;font-size:8px;border-collapse:collapse}#print-sheet .data-table th,#print-sheet .data-table td{white-space:normal;overflow-wrap:anywhere;position:static!important;padding:5px 3px;font-size:8px;border:1px solid #ccc;max-width:none}#print-sheet tr{break-inside:avoid}#print-sheet thead{display:table-header-group}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);border:0;padding:0}.detail-grid b{font-size:11px}.print-meta{color:#777}.detail-settlement{font-size:11px}.status-tag{font-size:9px;background:none;color:#111}}

:root{--sidebar-width:260px}.sidebar{width:260px}.main-area{margin-left:260px}.brand{height:90px;flex-shrink:0;padding:16px 18px;gap:10px}.brand b{font-size:15px}.brand small{font-size:10px;letter-spacing:1px}#sidebar-nav{padding-left:0;padding-right:0}.sidebar-foot{flex-shrink:0}@media(max-width:900px){.main-area{margin-left:0}.sidebar{width:260px;transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}}

/* Material codes and category editor, V2.0.3 */
.material-inline{display:flex;align-items:center;gap:7px;min-width:0}.material-inline>input,.material-inline>select{min-width:0;flex:1;width:100%}.material-inline>.button{flex:none;white-space:nowrap}.field>small,.material-category-inline small{font-size:11px;line-height:1.6;color:#7a8b92;display:block}.material-category-inline{padding:12px;background:#f4f8f6;border:1px solid #e0e9e4;border-radius:6px;margin-top:5px}.material-category-inline[hidden]{display:none}.material-category-inline label{display:block;font-size:12px;margin-bottom:7px}.material-category-inline .material-inline{flex-wrap:wrap}.material-category-inline .material-inline>input{flex-basis:100%;margin-bottom:4px}#material-category-error{color:#af3c38;margin-top:5px}@media(max-width:600px){.material-inline>.button{font-size:11px;padding:6px 8px}}
