:root{font-family:system-ui,-apple-system,'Microsoft YaHei',sans-serif;color:#162b49;background:#f5f8fd;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.top{background:#fff;border-bottom:1px solid #dfe7f3;padding:15px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-weight:800;text-decoration:none;color:#1558b6;font-size:20px}.brand span{color:#4b607c;font-size:14px;font-weight:500;margin-left:12px}.tools{display:flex;gap:16px;align-items:center}.tools select{border:1px solid #d1deec;border-radius:8px;padding:8px}.demo{color:#986323;font-size:12px;background:#fff3dc;border-radius:99px;padding:6px 10px}.shell{display:grid;grid-template-columns:265px minmax(0,1fr);max-width:1500px;margin:auto;min-height:calc(100vh - 67px)}.sidebar{background:#fff;border-right:1px solid #e0e9f4;padding:20px 16px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin:5px 0 20px}.sidebar-foot{color:#718097;line-height:1.8;font-size:12px;margin-top:25px}.tree-node{margin-bottom:3px}.tree-line{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 10px;color:#48617f;background:transparent;border:0;border-radius:10px;width:100%;text-align:left}.tree-line.active,.tree-line:hover{background:#e9f2ff;color:#1264c7}.tree-children{padding-left:13px;border-left:1px solid #edf0f5;margin-left:13px}.badge{font-size:11px;background:#e7edf5;padding:3px 7px;border-radius:9px}.content{padding:25px 32px 70px;min-width:0}.hero{margin-bottom:23px}.eyebrow{font-size:11px;color:#2475db;font-weight:800;letter-spacing:2px}.hero h1{font-size:28px;margin:9px 0}.hero p,.muted{color:#667c98;font-size:14px}.nav{display:flex;gap:8px;overflow-x:auto;margin-bottom:19px}.nav button{border:1px solid transparent;border-radius:9px;background:transparent;padding:11px 16px;color:#48617e;font-weight:700;white-space:nowrap}.nav .active{background:#195fc7;color:#fff}.card{background:#fff;border:1px solid #e4eaf4;border-radius:15px;padding:21px;margin:0 0 17px}.card h2{font-size:18px;margin:0 0 15px}.two{display:grid;grid-template-columns:minmax(220px,1fr) minmax(290px,1.06fr);gap:17px}.row{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f6}.row:last-child{border:0}.row strong{display:block}.row small{display:block;color:#6b809b;margin-top:5px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#526783;font-weight:700}.field input,.field select,.field textarea{width:100%;padding:10px 11px;border-radius:9px;border:1px solid #d4dfee;outline:none;background:#fff}.field input:focus,.field select:focus,.field textarea:focus{border-color:#2272d6}.field.wide{grid-column:1/-1}.actions{display:flex;align-items:center;gap:9px;margin-top:15px;flex-wrap:wrap}.primary,.secondary,.danger,.ghost{border:0;border-radius:9px;padding:9px 13px;font-weight:700;background:#1766d2;color:#fff}.secondary,.ghost{background:#eaf2fe;color:#1b65bc}.danger{background:#fff0ed;color:#b43d31}.hint{padding:12px;background:#eaf5ff;border-radius:10px;color:#39648c;line-height:1.7;font-size:13px;margin:14px 0}.warning{background:#fff5e4;color:#965f1d}.label-status{display:inline-block;padding:3px 8px;border-radius:7px;background:#eff3fb;color:#526780;font-size:11px}.toast{position:fixed;right:25px;bottom:30px;background:#173b6b;color:#fff;padding:13px 18px;max-width:450px;border-radius:10px;box-shadow:0 9px 30px #a2b3c340;z-index:10}.hidden{display:none}.field select[multiple]{min-height:105px}.mini-btn{padding:6px 10px;font-size:12px}.pill{display:inline-block;background:#e9f3ff;color:#246ab8;border-radius:99px;padding:5px 10px;font-size:12px;font-weight:700}pre{white-space:pre-wrap;word-break:break-word;font-size:12px;background:#f2f6fc;padding:14px;border-radius:10px;max-height:360px;overflow:auto}@media(max-width:950px){.shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #e7eef7}.content{padding:20px 14px}.two{grid-template-columns:1fr}}@media(max-width:650px){.top{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.hero h1{font-size:22px}}

#tree{max-height:72vh;overflow:auto}.people-search{display:flex;flex-wrap:wrap;gap:8px}.people-search input{min-width:180px;flex:1;border:1px solid #d4dfee;padding:10px;border-radius:9px}.people-search select{border:1px solid #d4dfee;border-radius:9px}.people-list{max-height:65vh;overflow:auto}.people-list .row>div{min-width:0;overflow-wrap:anywhere}.people-list button{flex-shrink:0}button:disabled{opacity:.45;cursor:default}
