/* Permission settings only; keep existing form handlers and authorization. */
.personnel-config-page{background:#f5f7fb!important;color:#293b55;min-height:100vh;padding:24px!important}
.personnel-config-page>div{max-width:960px!important;margin-inline:auto}
.personnel-config-page .config-names{display:none!important}
.personnel-config-page .config-heading{margin-bottom:20px}
.personnel-config-page .config-heading>div:first-child{display:flex;align-items:center;gap:12px}
.personnel-config-page .config-heading h1{font-size:22px;line-height:1.4;margin:0}
.personnel-config-page .config-heading p,.personnel-config-page .config-heading a[aria-label="打开统一人员管理"]{display:none}
.personnel-config-page [role=tablist]{display:flex!important;width:max-content!important;max-width:100%;height:auto;gap:4px;padding:4px;background:#f0f3f8;border:0;border-radius:8px;margin-bottom:16px;justify-content:flex-start}
.personnel-config-page [role=tab]{flex:0 0 auto!important;width:auto!important;min-height:36px;padding:8px 18px;color:#72829a;border:0;border-radius:6px;background:transparent;box-shadow:none;font-size:14px}
.personnel-config-page [role=tab][data-state=active]{color:#2d62d9;background:#fff;box-shadow:0 1px 4px #263c5a12}
.personnel-config-page [role=tabpanel]{border:1px solid #e0e7f1;border-radius:10px;background:#fff;padding:22px;box-shadow:none}
.personnel-config-page .borui-advanced-permissions{border:0;padding:0;margin:0}
.personnel-config-page .borui-advanced-permissions>summary{font-size:16px;color:#354b6b;font-weight:600;padding:0;margin-bottom:20px;cursor:pointer}
.personnel-config-page .borui-advanced-permissions>div:first-of-type,.personnel-config-page .borui-advanced-permissions>p{display:none}
.personnel-config-page .borui-advanced-permissions>div:nth-of-type(2){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;max-width:680px}
.personnel-config-page .borui-advanced-permissions>div:nth-of-type(2)>div{min-width:0}
.personnel-config-page .borui-advanced-permissions>div:nth-of-type(2)>div>div{width:100%;max-width:none}
.personnel-config-page label{font-size:13px;color:#687b95}
.personnel-config-page .borui-advanced-permissions>div:nth-of-type(2) label{display:block;margin-bottom:8px}
.personnel-config-page select{width:100%;min-width:0;min-height:38px;border:1px solid #dce5f1;border-radius:6px;background:#fff;font-size:14px}
.personnel-config-page .borui-advanced-permissions>div:nth-of-type(3){display:flex;align-items:center;flex-wrap:wrap;gap:20px;width:100%;max-width:680px;margin-top:22px;padding-top:18px;border-top:1px solid #edf1f6}
.personnel-config-page .borui-advanced-permissions>div:nth-of-type(3)>label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap}
.personnel-config-page .borui-advanced-permissions>div:nth-of-type(3)>button:last-child{margin-left:auto}
.personnel-config-page button:not([role=switch]){border-radius:6px}
.personnel-config-page [role=tab]:focus-visible{outline:2px solid #82a8fa;outline-offset:2px}
@media(max-width:700px){.personnel-config-page{padding:16px!important}.personnel-config-page [role=tab],.personnel-config-page select,.personnel-config-page button:not([role=switch]){min-height:44px}.personnel-config-page [role=tabpanel]{padding:16px}.personnel-config-page .borui-advanced-permissions>div:nth-of-type(2){grid-template-columns:1fr;gap:16px}.personnel-config-page .borui-advanced-permissions>div:nth-of-type(3){gap:16px}.personnel-config-page .borui-advanced-permissions>div:nth-of-type(3)>button:last-child{width:100%;margin:0}}
