:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17191e;background:#eef1f4;font-synthesis:none;--black: #08090b;--graphite: #20242b;--line: #d9dee5;--muted: #68717d;--orange: #f58220;--orange-dark: #d96c11;--cyan: #18c8ef;--danger: #a31f2d}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#eef1f4}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.center-screen,.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.center-screen{gap:10px;align-content:center;background:var(--black);color:#fff}.login-page{background:linear-gradient(130deg,#08090bf7,#2e333bf0),#101216}.login-panel{width:min(440px,100%);padding:30px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#fff;background:linear-gradient(145deg,#08090b,#23272e);box-shadow:0 24px 70px #0000006b}.login-panel img{width:190px;height:86px;margin-bottom:26px;border:1px solid rgba(255,255,255,.12);border-radius:7px;object-fit:contain;background:#000}h1,h2,p{margin-top:0}h1{margin-bottom:8px;font-size:28px;letter-spacing:0}h2{letter-spacing:0}.eyebrow{margin-bottom:5px;color:var(--orange);font-size:12px;font-weight:900;letter-spacing:0;text-transform:uppercase}.muted{color:#cbd1d8;line-height:1.5}.primary,.secondary,.icon-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;border:0;font-weight:750}.primary{padding:0 15px;color:#17191e;background:var(--orange)}.primary:hover{background:var(--orange-dark)}.primary:disabled{cursor:wait;opacity:.65}.secondary{padding:0 13px;color:#242830;background:#fff;border:1px solid var(--line)}.wide{width:100%;margin-top:18px}.feedback{padding:11px 13px;border-left:3px solid var(--cyan);color:#164e63;background:#ecfbff}.feedback.error{color:#8b1825;border-color:#e04a5b;background:#fff0f2}.app-shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{min-height:100vh;display:flex;flex-direction:column;padding:22px 16px 16px;color:#fff;background:linear-gradient(180deg,var(--black),var(--graphite));border-right:3px solid var(--orange)}.brand-logo{width:160px;height:72px;margin:0 auto 28px;border-radius:7px;border:1px solid rgba(255,255,255,.12);object-fit:contain;background:#000}.sidebar nav{display:grid;gap:7px}.sidebar nav button,.sidebar-user button{min-height:44px;display:flex;align-items:center;gap:10px;padding:0 12px;border:0;border-radius:6px;color:#cfd5dc;background:transparent;font-weight:700;text-align:left}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#323740}.sidebar nav button.active{box-shadow:inset 3px 0 var(--cyan)}.sidebar-user{margin-top:auto;display:grid;gap:3px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);overflow:hidden}.sidebar-user strong,.sidebar-user span{overflow:hidden;text-overflow:ellipsis}.sidebar-user span{color:#aeb6c0;font-size:12px}.sidebar-user button{margin-top:8px;padding:0}.content{width:min(1240px,100%);padding:28px 30px 42px}.page-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #cfd5dc}.systems-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,360px));gap:16px}.system-card{min-height:220px;display:grid;grid-template-rows:auto 1fr auto;gap:18px;padding:20px;border:1px solid var(--line);border-top:3px solid var(--orange);border-radius:8px;background:#fff;box-shadow:0 12px 26px #1e263112}.system-card h2{margin-bottom:7px;font-size:19px}.system-card p{color:var(--muted);line-height:1.45}.system-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:7px;color:#121418;background:#edf1f5}.system-icon.orange{color:#7f3700;background:#fff1e5}.system-icon.cyan{color:#07566b;background:#e2f9ff}.system-card a{min-height:40px;display:inline-flex;align-items:center;justify-content:space-between;padding:0 12px;border-radius:6px;color:#fff;background:#242830;font-weight:750;text-decoration:none}.system-card a:hover{background:#08090b}.empty-state,.empty-selection{min-height:280px;display:grid;place-items:center;align-content:center;gap:6px;padding:28px;color:var(--muted);text-align:center;border:1px dashed #bdc5cf;border-radius:8px;background:#ffffff73}.empty-state h2,.empty-selection h2{margin:8px 0 0;color:#262a31}.admin-layout{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:18px;align-items:start}.users-panel,.access-panel,.empty-selection{border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 10px 24px #1e26310f}.panel-toolbar{min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 16px;border-bottom:1px solid var(--line)}.icon-button{width:36px;min-height:36px;padding:0;color:#353a43;background:#f2f5f7}.user-list{max-height:calc(100vh - 190px);overflow-y:auto}.user-list>button{width:100%;min-height:68px;display:grid;grid-template-columns:38px minmax(0,1fr) 12px;align-items:center;gap:10px;padding:8px 13px;border:0;border-bottom:1px solid #edf0f3;color:#252931;background:#fff;text-align:left}.user-list>button:hover,.user-list>button.selected{background:#f3f7fa}.user-list>button.selected{box-shadow:inset 3px 0 var(--orange)}.user-list strong,.user-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-list small{margin-top:3px;color:var(--muted)}.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#12546a;background:#dff8ff;font-weight:850}.status-dot{width:9px;height:9px;border-radius:50%;background:#b8bec6}.status-dot.enabled{background:#19a35b}.access-panel{padding:20px}.user-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.user-heading h2{margin-bottom:4px}.user-heading p:last-child{color:var(--muted)}fieldset{margin:18px 0 0;padding:16px;border:1px solid var(--line);border-radius:7px}legend{padding:0 6px;font-weight:800}.check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}.check-grid.compact{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.check-grid label,.admin-toggle{min-height:40px;display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:5px;background:#f5f7f9}input[type=checkbox]{width:17px;height:17px;accent-color:var(--orange)}.save-button{margin-top:18px}.dialog-backdrop{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:18px;background:#07090c94}.dialog{width:min(580px,100%);max-height:calc(100vh - 36px);overflow-y:auto;padding:20px;border-radius:8px;background:#fff;box-shadow:0 28px 80px #00000059}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}.dialog form,.dialog label{display:grid;gap:7px}.dialog form{gap:13px}.dialog label{font-weight:700}.dialog input:not([type=checkbox]){min-height:43px;width:100%;padding:0 11px;border:1px solid var(--line);border-radius:6px}.dialog input:focus{outline:3px solid rgba(24,200,239,.18);border-color:var(--cyan)}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px;border-right:0;border-bottom:3px solid var(--orange)}.brand-logo{width:92px;height:44px;margin:0}.sidebar nav{display:flex}.sidebar nav button{min-height:42px;padding:0 10px}.sidebar-user{margin:0;padding:0;border:0}.sidebar-user strong,.sidebar-user span{display:none}.sidebar-user button{width:42px;min-height:42px;justify-content:center;margin:0;font-size:0}.content{padding:20px 14px 30px}.admin-layout{grid-template-columns:1fr}.user-list{max-height:300px}}@media(max-width:520px){.page-header{align-items:stretch;flex-direction:column}.page-header .primary{width:100%}.sidebar{grid-template-columns:1fr auto}.brand-logo{display:none}.two-columns{grid-template-columns:1fr}.user-heading{flex-direction:column}.user-heading .secondary{width:100%}}
