:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#22352f;background:#f4f6f4;font-size:14px;font-synthesis:none;--green:#1e6554;--line:#e1e7e2;--muted:#75827a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:9px 15px;background:white;color:inherit;font-weight:600}button:hover{background:#edf3ef}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#164c3e}.danger{color:#a83f32;border-color:#e8c6c0}.link-button{border:0;background:transparent;color:var(--green);padding:4px 8px}.shell{display:grid;grid-template-columns:232px 1fr;min-height:100vh}.sidebar{background:#143d33;color:#c9d9d1;padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 34px;color:white;font-size:18px;font-weight:700}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#88b1a2;margin-top:6px;font-weight:400}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#356c58;color:#dcf3e5;font-size:22px}.nav-caption{font-size:10px;letter-spacing:2px;color:#86a79a;padding:0 14px;margin:16px 0 8px}.nav-button{display:flex;align-items:center;gap:12px;width:100%;border:0;color:#bdd1c6;background:none;text-align:left;margin:3px 0;padding:12px 14px;font-weight:400}.nav-button:hover,.nav-button.active{background:#2b594a;color:#fff}.nav-button.active{box-shadow:inset 3px 0 #b8d8ba}.nav-icon{width:20px;text-align:center;font-size:17px}.sidebar-foot{margin-top:auto;padding:25px 12px 0;font-size:12px;line-height:1.9;color:#8eb2a2}.online-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b3d5aa;margin-right:7px}.main{min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{color:#87938b;font-size:12px}.breadcrumb strong{color:#344e40;font-weight:500;margin-left:10px}.user-block{display:flex;align-items:center;gap:12px;font-size:12px}.avatar{display:grid;place-items:center;width:34px;height:34px;background:#e4eee4;border-radius:50%;font-weight:700;color:#426b4e}.user-role{color:var(--muted);font-size:10px;margin-top:3px}.content{padding:34px 38px 50px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#819488;margin-bottom:10px}.page-heading h1{font-size:27px;letter-spacing:-.5px;margin:0 0 9px;font-weight:650}.subtitle{color:var(--muted);font-size:12px;line-height:1.8}.actions,.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filters{margin-bottom:20px}.filters input[type=search]{flex:1;min-width:190px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.card,.panel{border:1px solid var(--line);background:#fff;border-radius:12px}.card{padding:23px}.card-label{font-size:12px;color:#758378;display:flex;justify-content:space-between}.card-value{font-size:29px;letter-spacing:-1px;font-weight:650;margin:18px 0 12px;color:#284537}.currency{font-size:16px;margin-right:5px;font-weight:400}.card-note{font-size:11px;color:#9aa69d}.card.accent{background:#e4eee3;border-color:#cddfce}.card.accent .card-value{color:#255e40}.panel{padding:23px;margin-bottom:22px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:14px}.panel-title h2{font-size:16px;margin:0;font-weight:650}.muted{color:var(--muted)}.small{font-size:12px}.table-wrap{overflow-x:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{color:#8a978e;font-size:11px;font-weight:500;background:#f7f9f6;padding:13px 12px;border-bottom:1px solid var(--line)}td{padding:17px 12px;border-bottom:1px solid #edf1ed}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf9}.strong{font-weight:600}.subcell{display:block;font-size:10px;color:#89998e;margin-top:6px}.money{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.badge{display:inline-block;font-size:11px;padding:5px 9px;border-radius:5px;background:#eef1ef;color:#6e7e73}.badge.pending{background:#fff4dd;color:#a37827}.badge.approved{background:#e8effb;color:#5174a6}.badge.paid{background:#e2f0e5;color:#458058}.badge.returned{background:#fae9e5;color:#a76556}.late{color:#ba6a3d;font-size:10px;display:block;margin-top:5px}.empty{text-align:center;color:#8d9a91;padding:45px 20px;line-height:2}.empty .empty-icon{font-size:30px;color:#bccbc0;margin-bottom:10px}.split{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.workflow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 0 6px}.step{font-size:12px;text-align:center}.step b{display:grid;place-items:center;margin:0 auto 10px;width:33px;height:33px;background:#edf2ec;border:1px solid #dce5da;border-radius:50%;color:#5b8060}.step.current b{background:#2c6a50;color:white}.connector{height:1px;background:#dce5da;flex:1;margin-bottom:25px}.hint{background:#f4f7f2;border:1px solid #e2e9df;border-radius:8px;padding:13px 16px;color:#70816c;font-size:12px;line-height:1.9}.warning{background:#fff6e9;border-color:#f0ddbc;color:#8b6935}.error{color:#a63e32;background:#fff2ef;border-radius:7px;padding:12px;font-size:12px;line-height:1.7;margin:12px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.field label{font-size:12px;font-weight:600;color:#53695b}.field small{color:#8b988f;font-size:11px;line-height:1.6}.required{color:#bf7959}input,select,textarea{border:1px solid #dce4dc;background:white;border-radius:7px;padding:10px 12px;color:#314837;min-width:0}input:focus,select:focus,textarea:focus{border-color:#6b9577;outline:2px solid #dceadb}input[type=file]{padding:10px;background:#f7faf5;font-size:12px;width:100%}textarea{min-height:100px;resize:vertical}.span-two{grid-column:1/-1}.form-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.loading{padding:80px;text-align:center;color:#7e8b82}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#173f34;padding:11vh 8vw;color:white;display:flex;flex-direction:column;justify-content:center}.auth-story .overline{color:#a5c5b2;letter-spacing:3px;font-size:11px}.auth-story h1{font-size:46px;line-height:1.4;font-weight:500;margin:25px 0}.auth-story p{color:#abc6b8;font-size:14px;line-height:2}.auth-line{height:1px;background:#3b6151;margin:35px 0}.auth-points{display:flex;gap:22px;font-size:11px;letter-spacing:1px;color:#93b39f}.auth-side{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:365px}.auth-box h2{font-size:25px;margin-bottom:10px}.auth-box>p{color:#89978d;font-size:12px;margin-bottom:32px;line-height:1.9}.auth-box button.primary{width:100%;margin-top:12px;padding:12px}.auth-footer{font-size:10px;color:#9ba79e;margin-top:28px;text-align:center}dialog{border:1px solid var(--line);border-radius:14px;padding:0;max-width:940px;width:calc(100% - 40px);max-height:90vh;box-shadow:0 25px 100px #143d3333;color:#263d2d}dialog::backdrop{background:#12271e66;backdrop-filter:blur(3px)}.modal-header{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line);z-index:1}.modal-header h2{margin:0;font-size:20px}.modal-body{padding:26px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:24px}.detail-grid label{display:block;font-size:11px;color:#8a978f;margin-bottom:7px}.detail-grid p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.attachments{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.attachment{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f7f9f6}.attachment img{width:100%;height:130px;object-fit:contain;background:#edf2eb}.pdf-icon{height:130px;display:grid;place-items:center;color:#a5715e;font-size:28px;background:#f5ede8}.attachment-info{padding:12px;font-size:11px;overflow-wrap:anywhere}.attachment-info a{color:#44735b;text-decoration:none;display:inline-block;margin-top:8px;margin-right:9px}.timeline{padding:0;list-style:none}.timeline li{padding:12px 0 12px 18px;border-left:2px solid #dce9dc;position:relative;margin-left:4px}.timeline li:before{content:'';width:8px;height:8px;border-radius:50%;background:#7ca180;position:absolute;left:-5px;top:17px}.timeline p{margin:4px 0;color:#7c8f80;font-size:11px;white-space:pre-wrap}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:18px;font-size:12px;color:#849286}.report-bars{display:flex;flex-direction:column;gap:20px}.bar-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.bar-track{height:6px;background:#eff4ec;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#7a9e78;border-radius:4px}.section-note{font-size:11px;color:#92a092;line-height:1.8;margin-top:14px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);border-radius:9px;background:#244d3e;color:white;padding:13px 24px;z-index:10;display:none;box-shadow:0 5px 20px #15332622;max-width:90vw}.mobile-menu{display:none}.button-row{display:flex;flex-wrap:wrap;gap:8px}.mono{font-family:ui-monospace,monospace;font-size:11px}.wrap{white-space:normal;min-width:180px}.preview-frame{height:65vh;width:100%;border:1px solid var(--line)}
@media(max-width:1150px){.cards{grid-template-columns:repeat(2,1fr)}.content{padding:26px}.topbar{padding:0 26px}.split{grid-template-columns:1fr}.shell{grid-template-columns:205px 1fr}.sidebar{padding:25px 10px}.brand{font-size:16px}.auth-story h1{font-size:35px}}
@media(max-width:720px){.shell{display:block}.sidebar{display:none;position:fixed;z-index:5;width:230px}.shell.menu-open .sidebar{display:flex;box-shadow:10px 0 60px #173f3440}.mobile-menu{display:block}.topbar{height:65px;padding:0 16px}.breadcrumb{display:none}.content{padding:24px 16px}.page-heading h1{font-size:23px}.page-heading{flex-wrap:wrap}.card{padding:18px 14px}.card-value{font-size:23px}.cards{gap:10px}.panel{padding:16px}.form-grid{grid-template-columns:1fr}.span-two{grid-column:auto}.auth-screen{display:block}.auth-story{display:none}.auth-side{min-height:100vh;padding:25px}.detail-grid{grid-template-columns:1fr 1fr;gap:18px}.attachments{grid-template-columns:1fr 1fr}.modal-body{padding:18px}.modal-header{padding:18px}.user-block{gap:8px}.filters{align-items:stretch}.filters select,.filters input{max-width:100%}.auth-box{width:100%}}

.notice-banner{margin:20px 28px 0}.notice-banner[hidden]{display:none}
.st-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.st-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.st-metric{background:#f4f7f5;border:1px solid #e1e8e3;padding:18px;border-radius:12px}.st-metric span{display:block;color:#64756a;font-size:13px}.st-metric strong{display:block;margin-top:8px;font-size:22px}.st-scroll{overflow-x:auto}.st-scroll td{max-width:350px;overflow-wrap:anywhere}.st-scroll button{margin:4px}.st-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.st-span{grid-column:1/-1}.st-json{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:380px;overflow:auto;background:#f5f7f6;padding:16px;border-radius:8px}.st-proof{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:12px auto}.st-proof[hidden]{display:none}fieldset{border:1px solid #dce4de;border-radius:8px;padding:14px}@media(max-width:700px){.st-form-grid{grid-template-columns:1fr}.st-metrics{grid-template-columns:1fr 1fr}.st-metric{padding:12px}.st-metric strong{font-size:18px}}
.pi-check{display:flex;align-items:center;gap:8px;margin:10px 0}.pi-check input{width:auto;min-height:0}#pi-form fieldset{border:1px solid #dbe4e0;border-radius:8px;padding:16px}#pi-form .hint{margin:0}
