:root{--bg:#0f1013;--panel:#16171b;--panel2:#1f2025;--muted:#98a1b3;--text:#f4f7fb;--line:#2b2d34;--accent:#7c5cff;--accent2:#5f91ff;--good:#46d782;--bad:#ff5364;--shadow:0 24px 70px rgba(0,0,0,.35);--radius:18px}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#101115,#17151f 55%,#101115);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;color:var(--text);min-height:100vh}.hidden{display:none!important}.app{display:grid;grid-template-columns:290px 1fr;min-height:100vh}aside{padding:24px 20px;border-right:1px solid var(--line);background:rgba(10,10,13,.62);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:22px;letter-spacing:-.04em;line-height:1}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--accent),#00d4ff);display:grid;place-items:center;box-shadow:0 12px 30px rgba(124,92,255,.3)}nav{display:grid;gap:20px}.nav-group{display:grid;gap:8px}.nav-heading{margin:4px 10px 2px;color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.nav-group.admin-only{padding-top:16px;border-top:1px solid var(--line)}.nav{border:0;text-align:left;width:100%;font:inherit;padding:13px 14px;border-radius:12px;color:#cfd4df;background:transparent;display:flex;align-items:center;gap:10px;cursor:pointer}.nav.active,.nav:hover{background:var(--panel2);color:white}.dot{width:9px;height:9px;border-radius:99px;background:var(--accent);opacity:0}.nav.active .dot{opacity:1}.script-watch{margin-top:auto;background:#15161b;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow)}.script-watch h3{margin:0 0 4px;font-size:15px}.hint{font-size:12px;color:var(--muted);line-height:1.45}.script-list{display:grid;gap:9px;max-height:300px;overflow:auto}.script-item{border:1px solid #2d3039;background:#1d1e25;border-radius:13px;padding:10px;cursor:pointer}.script-item b{display:block;font-size:13px;margin-bottom:3px}.script-item small{display:block;color:var(--muted);line-height:1.35}.script-meta{display:flex;justify-content:space-between;gap:8px;margin-top:8px}.script-price{font-weight:850}main{padding:28px;max-width:1500px;width:100%;margin:0 auto}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.title h1{margin:0;font-size:30px;letter-spacing:-.04em}.title p{margin:6px 0 0;color:var(--muted)}.actions,.tools{display:flex;gap:10px;flex-wrap:wrap}.btn{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:12px;padding:11px 14px;font-weight:800;cursor:pointer;text-decoration:none}.btn.primary{border:0;background:linear-gradient(135deg,var(--accent),var(--accent2))}.btn:hover{filter:brightness(1.08)}.fullbtn{width:100%;margin-top:18px}.cards{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:16px;margin-bottom:18px}.card{background:rgba(22,23,27,.88);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.label{font-size:13px;color:var(--muted)}.value{font-size:28px;font-weight:900;letter-spacing:-.04em;margin-top:8px;white-space:nowrap}.trend{margin-top:8px;font-size:13px;color:#cbd2dd}.grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.grid.equal{grid-template-columns:1fr 1fr}.panel{background:rgba(22,23,27,.9);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:18px}.panel-head{padding:18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.panel-head h2{font-size:18px;margin:0}.panel-body{padding:18px}.input,.select{background:#22232a;border:1px solid #31333d;color:var(--text);border-radius:11px;padding:11px 12px;outline:none}.input::placeholder{color:#8e95a7}.select{min-width:150px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);font-size:14px}th{color:var(--muted);font-weight:800;background:rgba(255,255,255,.015)}tr:hover td{background:rgba(124,92,255,.07)}.money{font-weight:900}.pill{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;display:inline-flex}.pill.paid{background:rgba(70,215,130,.13);color:var(--good)}.pill.free{background:rgba(141,148,163,.14);color:#c9ced8}.pill.refunded{background:rgba(255,83,100,.13);color:var(--bad)}.page{display:none}.page.active{display:block}.barrow{margin:15px 0}.bar-meta{display:flex;justify-content:space-between;font-weight:800;font-size:14px;margin-bottom:8px}.bar{height:10px;background:#252730;border-radius:99px;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--accent),#00d4ff)}.mini-list{display:grid;gap:10px;margin-top:12px}.mini-item{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line);background:#1b1c22;border-radius:14px}.muted,.mini-item span{color:var(--muted)}.clickable-row{cursor:pointer}.form{display:grid;gap:10px}.form .split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.textarea{min-height:92px;resize:vertical;font-family:inherit}dialog{border:1px solid var(--line);border-radius:20px;background:#17181e;color:var(--text);box-shadow:var(--shadow);max-width:760px;width:calc(100% - 24px);padding:0}dialog::backdrop{background:rgba(0,0,0,.65)}.modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:16px 18px}.modal-head h3{margin:0}.modal-body{padding:18px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.login-screen{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,rgba(124,92,255,.22),transparent 32%),linear-gradient(135deg,#101115,#17151f 55%,#101115)}.login-card{width:min(460px,100%);background:rgba(22,23,27,.95);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:28px}.login-card .brand{margin-bottom:22px}.login-card h1{font-size:28px;letter-spacing:-.04em;margin:0 0 8px}.login-card p{margin:0 0 22px;color:var(--muted)}.login-card label{display:block;font-size:13px;font-weight:800;color:#cfd4df;margin:14px 0 7px}.login-card input{width:100%;background:#22232a;border:1px solid #31333d;color:var(--text);border-radius:12px;padding:13px 14px;outline:none}.login-error{display:none;margin-top:12px;color:var(--bad);font-weight:800;font-size:13px}@media(max-width:1050px){.app{grid-template-columns:1fr}aside{height:auto;position:relative}.cards{grid-template-columns:repeat(2,1fr)}.grid,.grid.equal{grid-template-columns:1fr}}@media(max-width:650px){main{padding:16px}.cards{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.form .split{grid-template-columns:1fr}th:nth-child(3),td:nth-child(3),th:nth-child(6),td:nth-child(6){display:none}}
.improved-login{padding:0;overflow:hidden}.improved-login>.brand{padding:26px 28px 0}.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 28px 16px}.login-tab{border:1px solid var(--line);background:#20212a;color:var(--muted);border-radius:12px;padding:11px 12px;font-weight:900;cursor:pointer}.login-tab.active{background:linear-gradient(135deg,rgba(124,92,255,.25),rgba(95,145,255,.2));color:white;border-color:#5f91ff}.auth-panel{display:none;padding:0 28px 28px}.auth-panel.active{display:block}.login-help{font-size:12px!important;line-height:1.5;margin-top:14px!important}.successish{color:var(--good)!important}.strength{margin:8px 0 10px}.strength-bar{height:9px;background:#292b34;border-radius:99px;overflow:hidden;border:1px solid #343743}.strength-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff5364,#ffd166,#46d782);transition:width .2s ease}.strength #strengthText{font-size:12px;color:var(--muted);margin-top:6px}.strength-pill{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:#2a2c36;color:#cfd4df}.strength-pill.score-0,.strength-pill.score-1{background:rgba(255,83,100,.13);color:var(--bad)}.strength-pill.score-2{background:rgba(255,209,102,.14);color:#ffd166}.strength-pill.score-3,.strength-pill.score-4{background:rgba(70,215,130,.13);color:var(--good)}

/* Access request confirmation page */
.auth-success-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:
    radial-gradient(circle at top left, rgba(124,92,255,.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(69,161,255,.14), transparent 38%),
    #12111a;
}
.success-card{
  width:min(520px,100%);
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border-radius:28px;
  padding:38px;
  box-shadow:0 28px 80px rgba(0,0,0,.45);
  text-align:center;
}
.success-icon{
  width:70px;
  height:70px;
  border-radius:24px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  font-size:34px;
  font-weight:900;
  box-shadow:0 16px 45px rgba(124,92,255,.35);
}
.success-card h1{margin:0 0 10px;font-size:34px;}
.success-lead{margin:0 0 12px;color:#fff;font-size:17px;line-height:1.55;}
.success-actions{margin-top:24px;display:flex;justify-content:center;}
.success-actions .btn{min-width:180px;text-decoration:none;}
.small-select{min-width:130px;padding:8px 10px;border-radius:10px}
.user-status{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#2a2c36;color:#cfd4df;text-transform:capitalize}
.user-status.active,.user-status.approved{background:rgba(70,215,130,.13);color:var(--good)}
.user-status.pending{background:rgba(255,209,102,.14);color:#ffd166}
.user-status.deactivated{background:rgba(141,148,163,.15);color:#c9ced8}
.user-status.suspended{background:rgba(255,83,100,.13);color:var(--bad)}

.btn.danger{border-color:rgba(255,83,100,.38);background:rgba(255,83,100,.14);color:#ff7583}.btn.danger:hover{background:#ff5364;color:#fff;filter:none}.confirm-dialog{max-width:430px}.confirm-message{color:#cfd4df;line-height:1.55;margin:0}.confirm-dialog .modal-actions{justify-content:flex-end}
aside::after{content:"";display:block;margin-top:auto;min-height:24px}
.view-only-banner{position:fixed;right:28px;bottom:28px;z-index:40;max-width:420px;border:1px solid rgba(255,209,102,.38);background:rgba(255,209,102,.12);color:#ffd166;border-radius:14px;padding:12px 14px;font-weight:800;box-shadow:var(--shadow)}
.view-only input:disabled,.view-only select:disabled,.view-only textarea:disabled{opacity:.85;cursor:not-allowed;background:#1c1d23;color:#d9dee8}
.permission-pill{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:rgba(141,148,163,.15);color:#c9ced8}.permission-pill.editor{background:rgba(124,92,255,.18);color:#cfc6ff}.permission-pill.admin{background:rgba(70,215,130,.13);color:var(--good)}
.user-admin-panel{overflow:hidden}.stacked-head{align-items:flex-start}.stacked-head>div:first-child{display:grid;gap:4px}.stacked-head p{margin:0}.user-subnav{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.user-tab{border:1px solid var(--line);background:#20212a;color:var(--muted);border-radius:12px;padding:10px 13px;font-weight:900;cursor:pointer}.user-tab.active,.user-tab:hover{background:linear-gradient(135deg,rgba(124,92,255,.25),rgba(95,145,255,.18));color:#fff;border-color:#5f91ff}.user-subpage{display:none}.user-subpage.active{display:block}.subpage-title{margin-bottom:16px}.subpage-title h3{margin:0 0 4px;font-size:17px}.subpage-title p{margin:0}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:6px;padding:0 7px;border-radius:999px;background:rgba(124,92,255,.25);color:#fff;font-size:12px}

.nav-group.admin-only{display:grid!important}.nav-group.admin-only[style*="none"]{display:none!important}

/* Improved request access form */
.login-card.request-mode{width:min(760px,100%)}
.request-access-panel{padding:0 28px 28px}
.request-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.request-hero h1{margin:0 0 8px}
.request-hero p{max-width:520px;line-height:1.45;margin:0!important}
.request-badge{display:inline-flex;white-space:nowrap;border:1px solid rgba(95,145,255,.42);background:rgba(95,145,255,.13);color:#dbe6ff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}
.request-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.request-section{border:1px solid var(--line);background:rgba(255,255,255,.025);border-radius:16px;padding:14px;margin-bottom:14px}
.section-title{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.section-title span{width:28px;height:28px;border-radius:9px;background:linear-gradient(135deg,var(--accent),var(--accent2));display:grid;place-items:center;font-weight:950;font-size:13px}
.section-title b{display:block;color:#fff;font-size:14px}
.section-title small{display:block;color:var(--muted);font-size:12px;margin-top:2px;line-height:1.3}
.request-access-panel label{margin-top:12px!important}
.request-access-panel input,.request-access-panel select,.request-access-panel textarea{width:100%;font:inherit}
.reason-section{margin-bottom:0}
.reason-section .textarea{min-height:108px}
.improved-strength{margin:10px 0 0}
.improved-strength .strength-bar{height:10px}
.request-submit{margin-top:14px!important;padding:14px 16px!important}
@media(max-width:720px){.login-card.request-mode{width:min(460px,100%)}.request-grid{grid-template-columns:1fr}.request-hero{display:block}.request-badge{margin-top:12px}.request-section{padding:12px}}
.report-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.report-toolbar h2{margin:0 0 6px}.inline-filter{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-weight:800;min-width:180px}.inline-filter .select{width:100%}@media(max-width:800px){.report-toolbar{align-items:stretch;flex-direction:column}.inline-filter{min-width:0}}


.btn.danger{background:rgba(255,83,100,.14);border-color:rgba(255,83,100,.35);color:#ff9aa5}.btn.danger:hover{background:rgba(255,83,100,.2)}
.modal-subtitle{margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.45}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#98a6bf;font-weight:900;margin-bottom:6px}
.tx-dialog{max-width:1040px}.tx-modal-head{padding:20px 22px}.tx-form{gap:16px;padding:20px 22px 22px}.tx-hero-card{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 20px;border:1px solid #2d3140;border-radius:18px;background:linear-gradient(135deg,rgba(124,92,255,.16),rgba(95,145,255,.08))}.tx-hero-label{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#aab6d1;font-weight:900}.tx-hero-title{font-size:24px;font-weight:900;letter-spacing:-.04em;margin-top:6px}.tx-hero-meta{margin-top:6px;color:#c8d0de;line-height:1.45}.tx-hero-side{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.chip{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;border:1px solid rgba(255,255,255,.08)}.chip.soft{background:rgba(255,255,255,.08);color:#d7dff0}.tx-view-banner{padding:12px 14px;border-radius:14px;background:rgba(255,209,102,.08);border:1px solid rgba(255,209,102,.2);color:#ffe29a;font-weight:700;font-size:13px}.tx-section{border:1px solid var(--line);border-radius:18px;padding:16px 16px 18px;background:rgba(255,255,255,.02)}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.section-heading h4{margin:0 0 4px;font-size:16px}.section-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.tx-grid{display:grid;gap:12px}.tx-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tx-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:7px}.field span{font-size:12px;font-weight:900;letter-spacing:.02em;color:#cfd6e6}.field-full{grid-column:1 / -1}.tall-textarea{min-height:120px}.tx-grid .input,.tx-grid .select{width:100%}.tx-modal-actions{margin-top:2px;padding-top:6px}.small-select{min-width:140px}.report-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.inline-filter{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800;color:#cfd4df}.inline-filter .select{min-width:170px}
@media(max-width:900px){.tx-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-hero-card{flex-direction:column}.tx-hero-side{justify-content:flex-start}}
@media(max-width:650px){.tx-form{padding:16px}.tx-modal-head{padding:16px}.tx-grid-2,.tx-grid-4{grid-template-columns:1fr}.tx-hero-title{font-size:20px}.tx-modal-actions{flex-direction:column-reverse}.tx-modal-actions .btn{width:100%}}

.product-lines{display:grid;gap:12px}.product-line{border:1px solid #343846;background:rgba(255,255,255,.025);border-radius:16px;padding:14px}.product-line-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.product-line-head b{font-size:14px}.small-danger{padding:7px 10px;border-radius:10px;font-size:12px}.product-help{margin:10px 0 0}.empty-products{border:1px dashed #3a3d49;border-radius:14px;padding:14px;background:rgba(255,255,255,.015)}.product-section .section-heading{align-items:center}.product-section .section-heading .btn{white-space:nowrap}


.toast-area{position:fixed;right:22px;top:22px;z-index:9999;display:grid;gap:12px;width:min(420px,calc(100vw - 32px));pointer-events:none}.toast{pointer-events:auto;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:14px 14px;border-radius:16px;background:#181a20;border:1px solid var(--line);box-shadow:0 18px 60px rgba(0,0,0,.45);animation:toastIn .22s ease-out}.toast.success{border-color:rgba(70,215,130,.35);background:linear-gradient(135deg,rgba(70,215,130,.16),#181a20)}.toast.error{border-color:rgba(255,83,100,.42);background:linear-gradient(135deg,rgba(255,83,100,.18),#181a20)}.toast-icon{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;font-weight:950}.toast.success .toast-icon{background:rgba(70,215,130,.2);color:var(--good)}.toast.error .toast-icon{background:rgba(255,83,100,.22);color:var(--bad)}.toast b{display:block;margin-top:1px}.toast p{margin:4px 0 0;color:#c8d0de;line-height:1.35;font-size:13px}.toast button{border:0;background:transparent;color:#c8d0de;font-size:20px;line-height:1;cursor:pointer;padding:0 2px}.toast.leaving{opacity:0;transform:translateY(-6px);transition:opacity .22s ease,transform .22s ease}.btn:disabled{opacity:.65;cursor:not-allowed;filter:none}@keyframes toastIn{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}


.locked-user td{opacity:.62;background:rgba(255,255,255,.018)}
.locked-user:hover td{background:rgba(255,255,255,.025)!important}
.locked-user select:disabled{cursor:not-allowed;filter:grayscale(1);opacity:.75;background:#24252b;color:#8e96a8;border-color:#343641}
.protected-note{display:inline-flex;align-items:center;border:1px solid #3a3d48;background:#25272f;color:#aeb7ca;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.mobile-protected{margin-top:7px;white-space:normal;width:max-content;max-width:320px}


/* User panel redesign */
.user-page-shell{display:grid;gap:18px}
.user-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px 24px;border:1px solid rgba(95,145,255,.18);background:linear-gradient(135deg,rgba(22,23,27,.96),rgba(19,20,26,.92));border-radius:24px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.user-hero::before{content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(124,92,255,.24),transparent 65%);pointer-events:none}
.user-hero h2{margin:4px 0 8px;font-size:34px;letter-spacing:-.04em}
.user-hero p{max-width:720px;margin:0;line-height:1.55}
.user-hero-badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.hero-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;border:1px solid rgba(95,145,255,.28);background:rgba(95,145,255,.12);color:#e6eeff;font-weight:900;font-size:12px;white-space:nowrap}
.hero-chip.soft{background:rgba(255,255,255,.04);border-color:var(--line);color:#c6cfdd}
.user-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.user-kpi{padding:18px;border-radius:20px;border:1px solid var(--line);background:rgba(22,23,27,.9);box-shadow:var(--shadow);display:grid;gap:6px}
.user-kpi.primary{background:linear-gradient(135deg,rgba(124,92,255,.16),rgba(95,145,255,.09) 65%,rgba(22,23,27,.95));border-color:rgba(95,145,255,.35)}
.kpi-label{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#9ea8ba}
.user-kpi strong{font-size:30px;letter-spacing:-.04em}
.user-kpi small{color:var(--muted);font-size:13px;line-height:1.4}
.user-panel-top{padding:20px 22px;background:linear-gradient(180deg,rgba(255,255,255,.02),transparent)}
.user-subpage-body{padding:22px}
.subpage-header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px}
.user-legend{display:flex;flex-wrap:wrap;gap:12px;align-items:center;border:1px solid var(--line);background:rgba(255,255,255,.03);border-radius:999px;padding:10px 12px;color:#bcc5d4;font-size:12px;font-weight:800}
.user-legend span{display:inline-flex;align-items:center;gap:7px}
.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#7d8594}
.legend-dot.active{background:#46d782;box-shadow:0 0 0 4px rgba(70,215,130,.12)}
.legend-dot.pending{background:#ffd166;box-shadow:0 0 0 4px rgba(255,209,102,.12)}
.legend-dot.suspended{background:#ff5364;box-shadow:0 0 0 4px rgba(255,83,100,.12)}
.request-meta-pill{display:inline-flex;align-items:center;padding:10px 12px;border-radius:999px;border:1px solid rgba(124,92,255,.22);background:rgba(124,92,255,.11);color:#ded7ff;font-size:12px;font-weight:900}
.table-shell{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:rgba(15,16,22,.45)}
.user-table{width:100%;border-collapse:separate;border-spacing:0}
.user-table thead th{position:sticky;top:0;z-index:1;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));backdrop-filter:blur(6px);font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9ea8ba;padding:16px}
.user-table tbody td{padding:18px 16px;vertical-align:middle;border-bottom:1px solid rgba(255,255,255,.06)}
.user-table tbody tr:last-child td{border-bottom:none}
.user-table tbody tr:hover td{background:rgba(124,92,255,.06)}
.user-identity{display:flex;align-items:flex-start;gap:14px;min-width:240px}
.user-avatar{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-weight:900;box-shadow:0 12px 24px rgba(124,92,255,.24)}
.request-avatar{background:linear-gradient(135deg,#5f91ff,#7c5cff)}
.role-badge{display:inline-flex;align-items:center;max-width:240px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);font-weight:800;color:#e3e8f1}
.row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.request-inline-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:7px;color:#9ea8ba;font-size:12px;font-weight:700}
.request-inline-meta span{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.05)}
.request-reason{max-width:340px;line-height:1.5;color:#d7deea}
.locked-user td{opacity:.72;background:rgba(255,255,255,.016)}
.locked-user .user-avatar{filter:grayscale(.15);opacity:.88}
.locked-user .role-badge{opacity:.84}
.protected-note{border-color:#3b3e4d;background:rgba(255,255,255,.035)}
@media (max-width: 1200px){.user-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 900px){.user-hero,.subpage-header{flex-direction:column;align-items:flex-start}.user-hero h2{font-size:29px}.user-hero-badges{justify-content:flex-start}.table-shell{overflow:auto}.user-table{min-width:980px}}
@media (max-width: 640px){.user-kpis{grid-template-columns:1fr}.user-hero,.user-subpage-body,.user-panel-top{padding:18px}.user-legend,.request-meta-pill{width:100%}.user-tab{width:100%;justify-content:center}}


/* Protected owner/main accounts: keep the row readable, only lock the controls */
.locked-user td,.protected-user td{opacity:1;background:transparent}
.locked-user:hover td,.protected-user:hover td{background:rgba(124,92,255,.06)!important}
.protected-user select:disabled,.locked-user select:disabled{cursor:not-allowed;opacity:.72;background:#23242b;color:#aeb7ca;border-color:#343641;filter:none}
.protected-user .user-avatar,.locked-user .user-avatar{filter:none;opacity:1}
.protected-user .role-badge,.locked-user .role-badge{opacity:1}
.protected-note{border-color:rgba(95,145,255,.22);background:rgba(95,145,255,.08);color:#cbd8f3}
