:root{font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;color:#24382d;background:#f8faf8;line-height:1.6}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid #dce4dd;background:#fff;border-radius:7px;padding:9px 14px;color:inherit}button:disabled{opacity:.5;cursor:default}button.primary{background:#235c40;color:#fff;border-color:#235c40}button.danger{color:#a12d2d}input,select,textarea{width:100%;border:1px solid #d9e1d9;border-radius:6px;padding:10px;background:#fff;color:#24382d}textarea{min-height:90px;resize:vertical}label{display:block}label>span{display:block;margin-bottom:6px}input[type=checkbox]{width:auto}a{color:#235c40}h1{font-size:26px;margin:0}h2{font-size:19px;margin:0 0 18px}h3{font-size:16px;margin:24px 0 14px}p{margin:10px 0}.muted{color:#5d6d61}.loading{padding:35px}.login{max-width:390px;margin:12vh auto;padding:30px;border:1px solid #e0e7e0;border-radius:12px;background:white}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700}.brand img{width:42px;height:42px;object-fit:contain}.login h1{font-size:23px;margin:24px 0}.login label{margin:16px 0}.login button{width:100%;margin-top:12px}.shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:100vh}aside{background:#fff;border-right:1px solid #e0e7e0;padding:25px 16px}aside nav{display:grid;gap:6px;margin-top:30px}nav button{text-align:left;border-color:transparent}nav button.active{background:#e9f2e9;color:#1d5338}main{padding:26px 32px;min-width:0}.topbar,.heading,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.topbar{justify-content:flex-end;margin-bottom:28px}.heading{justify-content:space-between;margin-bottom:22px}.panel{background:#fff;border:1px solid #e0e7e0;border-radius:9px;padding:22px;margin:18px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}td,th{padding:13px 14px;border-bottom:1px solid #e8ede8;vertical-align:top}th{font-weight:500;color:#526456;background:#f7faf6}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.full{grid-column:1/-1}.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.details div{overflow-wrap:anywhere}.details small{display:block;color:#607164}.details b{font-weight:500}.tabs{display:flex;gap:10px;overflow:auto;white-space:nowrap;border-bottom:1px solid #e0e7e0;margin:16px 0}.tabs button{border:0;border-radius:0;border-bottom:2px solid transparent}.tabs .active{border-color:#235c40}.search{max-width:340px;margin:12px 0}.row-editor{border:1px solid #e0e7e0;border-radius:7px;padding:14px;margin:10px 0}.files{display:grid;gap:8px}.file{display:flex;justify-content:space-between;gap:10px;align-items:center;overflow-wrap:anywhere}.file span{min-width:0}.choices{display:flex;flex-wrap:wrap;gap:12px}.choices label{display:flex;gap:6px;align-items:center}.choices label span{margin:0}.status{background:#edf3ed;color:#28583b;padding:3px 9px;border-radius:4px;display:inline-block}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#253b2b;color:#fff;border-radius:7px;padding:12px 20px;z-index:9;max-width:90vw}#notice:empty{display:none}dialog{border:1px solid #dfe6dd;border-radius:12px;width:900px;max-width:calc(100vw - 28px);max-height:90vh;padding:28px;color:inherit}dialog::backdrop{background:#132a225c}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.modal-head h2{margin:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.error{color:#a12d2d}.empty{padding:25px;color:#617064;text-align:center}.welcome{margin:25px 0}.amount{font-variant-numeric:tabular-nums}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #3d8760;outline-offset:3px}
@media(max-width:760px){.shell{grid-template-columns:minmax(0,1fr)}aside{min-width:0}aside{padding:14px 16px;border-right:0;border-bottom:1px solid #e0e7e0}aside nav{display:flex;margin-top:12px;overflow:auto;white-space:nowrap}aside .brand{font-size:20px}main{padding:18px 16px}.topbar{margin-bottom:20px;justify-content:flex-start}.grid,.details{grid-template-columns:1fr}.panel{padding:16px}dialog{padding:20px}h1{font-size:23px}.file{flex-wrap:wrap}.form-actions{position:sticky;bottom:0;background:#fff;padding:12px 0}.login{margin:8vh 14px;max-width:420px}.choices{gap:14px}}
