
:root{--turquoise:#168997;--teal-dark:#126a7b;--navy:#16485a;--text:#263c47;--muted:#6f858f;--border:#dfe8ec;--surface:#fff;--bg:#f5f8fa;--success:#1f8560;--danger:#bc5044;--radius:13px}
*{box-sizing:border-box}html,body{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.48 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:#117d91}.hidden{display:none!important}
.layout{min-height:100vh;display:flex}.sidebar{width:245px;flex:0 0 245px;background:var(--navy);color:#d8ebef;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:10}.sidebar-logo{padding:30px 20px 19px;border-bottom:1px solid #ffffff24}.sidebar-logo img{display:block;width:174px;height:auto;max-height:80px;object-fit:contain}.brand-subtitle{font-size:10px;letter-spacing:.21em;color:#a9cbd3;margin-top:10px;font-weight:800}.nav-heading{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#91b7c1;padding:23px 22px 7px;font-weight:800}.navbutton{display:flex;align-items:center;gap:12px;width:calc(100% - 22px);margin:3px 11px;padding:12px 13px;border-radius:8px;background:transparent;border:0;color:#d3e7eb;text-align:left;font-weight:550;font-size:13px}.navbutton:hover{background:#ffffff18}.navbutton.active{background:#ffffff24;color:#fff;font-weight:750}.navglyph{display:grid;place-items:center;width:22px;height:22px;font-size:20px}.nav-foot{margin-top:auto;padding:19px 22px;border-top:1px solid #ffffff23;font-size:11px;color:#b2d0d6}.nav-foot i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#76d8aa;margin-right:7px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:73px;background:var(--surface);display:flex;align-items:center;gap:20px;padding:0 30px;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:9}.crumb{font-size:13px;color:#90a4ac}.crumb strong{color:#254a5b;font-weight:750}.top-right{margin-left:auto;display:flex;align-items:center;gap:10px}.iconbutton{display:grid;place-items:center;width:41px;height:41px;border:0;border-radius:50%;background:transparent;color:#426978}.iconbutton:hover{background:#edf4f6}.iconbutton svg{width:21px;height:21px}.accountbutton{display:flex;align-items:center;gap:9px;border:1px solid #e7eff1;background:#fff;border-radius:10px;padding:5px 8px}.accountbutton:hover{background:#f4f8f9}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e0f0f3;color:#117d91;font-size:12px;font-weight:800}.account-text{text-align:left;line-height:1.24}.account-text b{display:block;font-size:12px}.account-text small{color:#859da6;font-size:10px}.popover-wrap{position:relative}.popup{position:absolute;right:0;top:calc(100% + 10px);width:260px;border:1px solid #d9e7eb;background:#fff;border-radius:12px;box-shadow:0 14px 40px #17475924;z-index:20;padding:13px}.popup h3{font-size:13px;margin:0 0 10px;padding:3px 6px}.popup button,.popup a{display:block;border:0;text-decoration:none;background:#fff;color:#426576;width:100%;text-align:left;padding:10px;border-radius:6px;font-size:13px}.popup button:hover,.popup a:hover{background:#edf5f7}.popup .danger-text{color:#b35248}.popup-empty{text-align:center;padding:23px 14px;color:#7b939c}.popup-empty b{display:block;margin-top:6px;color:#446472}.popup-empty small{display:block;line-height:1.5;margin-top:6px}.main{width:100%;max-width:1500px;margin:0 auto;padding:30px 34px 90px}.page-title{font-size:28px;font-weight:750;letter-spacing:-.03em;line-height:1.15;margin:0 0 8px}.page-desc{margin:0 0 23px;color:var(--muted);font-size:13px}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 18px #1d506308}.pad{padding:22px}.stats{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;margin:19px 0 24px}.stat{padding:20px}.stat small{display:block;color:#7c939e;font-size:12px}.stat strong{display:block;font-size:30px;font-weight:750;line-height:1.2;margin:7px 0}.stat em{font-size:11px;color:#98aab1;font-style:normal}.cols{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel h2{font-size:18px;margin:0 0 10px}.panel p{color:var(--muted)}.btn{border-radius:8px;padding:10px 14px;border:1px solid transparent;font-weight:700;font-size:12px}.primary{background:var(--turquoise);color:#fff}.primary:hover{background:var(--teal-dark)}.secondary{background:#e9f5f7;border-color:#bddce2;color:#167182}.secondary:hover{background:#dceef2}.neutral{background:#fff;border-color:#cfdee3;color:#65818c}.linkbtn{background:transparent;border:0;color:#147d90;text-decoration:underline;text-underline-offset:2px;font-size:12px;padding:2px}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tab{border:1px solid #dae6e9;background:#fff;color:#69818a;border-radius:8px;padding:8px 14px;font-size:12px;font-weight:750}.tab.sel{background:#e3f2f5;border-color:#a9d5dc;color:#116d7e}.table-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px 20px;border-bottom:1px solid var(--border)}.tool-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.input,.select{background:white;border:1px solid #c8dbe0;padding:10px 12px;border-radius:8px;color:var(--text);outline:0;max-width:100%}.input:focus,.select:focus{border-color:#5bb6c4;box-shadow:0 0 0 3px #bcf0f544}.search{width:280px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:13px 16px;border-bottom:1px solid #ebf0f2;font-size:12px;white-space:nowrap}th{font-weight:750;color:#708791;background:#f7fafb}tbody tr:hover{background:#f6fbfc}tr:last-child td{border-bottom:0}.name{font-weight:700;color:#315364}.badge{display:inline-block;border-radius:30px;background:#e3f5ec;color:var(--success);font-size:11px;font-weight:750;padding:4px 10px}.badge.off{background:#fdf1e2;color:#9e6c2a}.pager{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;color:#8298a1;gap:12px;font-size:12px}.placeholder{min-height:400px;border:1px dashed #bfd8de;background:linear-gradient(160deg,#fff,#f7fbfc);display:flex;align-items:center;justify-content:center;text-align:center;border-radius:16px;padding:30px}.placeholder .glyph{height:74px;width:74px;border-radius:19px;background:#e5f3f6;color:#147b8d;display:grid;place-items:center;font-size:35px;margin:0 auto 20px}.placeholder h2{font-size:22px;margin:0 0 10px}.placeholder p{max-width:480px;margin:0 auto;color:#7e929a;line-height:1.75}.status-note{display:inline-block;margin-top:20px;color:#698893;background:#edf5f7;border-radius:30px;padding:7px 14px;font-size:11px;font-weight:750}.note{border-radius:9px;padding:13px 16px;background:#eef7f8;border-left:4px solid var(--turquoise);margin:15px 0;color:#3e6c78}.fieldgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.field{border-bottom:1px solid #edf1f3;padding:10px 0}.field small{color:#8499a2;display:block}.field span{display:block;overflow-wrap:anywhere}.subtabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.subtabs button{border:1px solid #dce9ed;background:#fff;border-radius:8px;padding:9px 14px;color:#65818b;font-weight:700;font-size:12px}.subtabs button.sel{background:#e4f2f5;color:#13778a;border-color:#abd8df}.roles-grid{display:grid;grid-template-columns:.9fr 1.2fr;gap:18px}.form-label{display:block;color:#526e79;font-weight:750;font-size:12px;margin:14px 0 6px}.form-row{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f4}.form-row:last-child{border:0}.form-row span{font-size:12px}.result-list{border:1px solid #dce9ed;border-radius:9px;margin-top:10px;max-height:235px;overflow:auto}.result-list button{display:block;width:100%;padding:10px 12px;text-align:left;border:0;background:#fff;border-bottom:1px solid #edf2f4}.result-list button:hover{background:#f0f8fa}.result-list small{color:#8499a3}.empty-result{padding:14px;color:#83949c}.bottom-space{margin-top:17px}.modal-backdrop{position:fixed;inset:0;background:#0e2d3aa8;z-index:50;display:flex;align-items:center;justify-content:center;padding:15px}.dialog{width:min(820px,100%);max-height:91vh;overflow:auto;background:#fff;border-radius:16px;padding:25px;box-shadow:0 18px 60px #0c34484b}.dialog header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.dialog h2{font-size:21px;margin:0}.dialog footer{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:24px}.toast{position:fixed;bottom:25px;right:25px;z-index:60;max-width:440px;color:white;background:#19495a;border-radius:10px;box-shadow:0 10px 28px #18415455;padding:13px 18px}.muted{color:var(--muted)}.m-0{margin:0}.pt20{padding-top:20px}
body.compact td,body.compact th{padding:8px 12px}body.sidebar-small .sidebar{width:88px;flex-basis:88px}body.sidebar-small .nav-text,body.sidebar-small .nav-heading,body.sidebar-small .nav-foot,body.sidebar-small .brand-subtitle{display:none}body.sidebar-small .sidebar-logo img{width:65px}body.sidebar-small .navbutton{justify-content:center;padding:12px 4px}
@media(max-width:1000px){.sidebar{width:215px;flex-basis:215px}.main{padding:26px 22px 70px}.stats{grid-template-columns:repeat(2,minmax(150px,1fr))}.roles-grid{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar{position:fixed;left:0;transform:translateX(-110%);transition:transform .2s;height:100vh;width:245px!important;flex-basis:245px!important;z-index:40;box-shadow:0 0 25px #193c5159}body.menu-open .sidebar{transform:translateX(0)}body.sidebar-small .nav-text,body.sidebar-small .nav-heading,body.sidebar-small .nav-foot{display:initial}body.sidebar-small .sidebar-logo img{width:170px}body.sidebar-small .navbutton{justify-content:flex-start;padding:12px 13px}.topbar{height:66px;padding:0 13px}.main{padding:19px 13px 65px}.crumb{font-size:12px}.account-text{display:none}.cols,.fieldgrid{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:26px}.search{width:100%}.tool-row{width:100%}.form-row{grid-template-columns:1fr 1fr}.form-row>span:first-child{grid-column:span 2}.dialog{padding:18px}}
