
:root{
  --bg:#030b18;
  --bg-2:#071323;
  --panel:#0b1627;
  --panel-2:#0d1b31;
  --panel-3:#101f38;
  --text:#eff5ff;
  --muted:#9aa8bf;
  --muted-2:#7e8aa2;
  --line:rgba(255,255,255,.09);
  --line-soft:rgba(255,255,255,.05);
  --blue:#1f80ff;
  --blue-2:#4e8dff;
  --violet:#815dff;
  --violet-2:#9e84ff;
  --green:#28c76f;
  --shadow:0 28px 80px rgba(0,0,0,.48);
  --radius:22px;
  --radius-sm:16px;
  --container:1440px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 84% 8%, rgba(129,93,255,.11), transparent 18%),
    radial-gradient(circle at 18% 12%, rgba(31,128,255,.06), transparent 16%),
    radial-gradient(circle at 28% 86%, rgba(129,93,255,.05), transparent 18%),
    linear-gradient(180deg, #030c18 0%, #020916 100%);
  min-height:100vh;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(39,107,255,.04) 22%, transparent 38%, rgba(129,93,255,.04) 100%);
  mix-blend-mode:screen;
  opacity:.9;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--container), calc(100% - 64px)); margin:0 auto}
.header{
  position:sticky; top:0; z-index:30;
  backdrop-filter: blur(18px);
  background:rgba(3,11,24,.72);
  border-bottom:1px solid var(--line-soft);
}
.header__inner{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{display:flex;align-items:center;gap:18px;min-width:260px}
.brand__logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:auto;
  flex:0 0 auto;
  background:transparent;
  border:none;
  box-shadow:none;
  border-radius:0;
  overflow:visible;
}
.brand__title{font-size:20px;font-weight:800;line-height:1.05}
.brand__subtitle{font-size:12px;color:var(--muted);margin-top:6px}
.nav{display:flex;align-items:center;gap:42px;justify-content:center;flex:1}
.nav a{
  font-size:15px;color:#c2cce0;position:relative;padding:10px 0
}
.nav a.is-active{color:#fff}
.nav a.is-active::after{
  content:""; position:absolute; left:0; right:0; bottom:-20px; height:2px;
  border-radius:999px; background:linear-gradient(90deg, var(--blue), var(--violet));
}
.header__actions{display:flex;align-items:center;gap:12px}
.lang-select,.btn,.input,.select{
  border:1px solid var(--line);
  border-radius:14px;
  outline:none;
}
.lang-select,.select,.input{
  background:rgba(255,255,255,.02);
  color:var(--text);
}
.lang-select{padding:12px 16px; min-width:132px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  height:48px;padding:0 20px;
  color:var(--text); font-weight:700; font-size:15px;
  cursor:pointer;
  background:rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.btn:hover{transform:translateY(-1px)}
.btn--primary{
  background:linear-gradient(135deg, var(--blue), var(--blue-2));
  border-color:rgba(255,255,255,.08);
  box-shadow:0 20px 50px rgba(31,128,255,.24), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--violet{
  background:linear-gradient(135deg, var(--violet), var(--blue-2));
  border-color:rgba(255,255,255,.08);
  box-shadow:0 20px 50px rgba(129,93,255,.2), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--ghost{background:rgba(255,255,255,.015)}
.main-page{padding-bottom:56px}
.hero{
  padding:54px 0 32px;
  display:grid;grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr);
  align-items:center;gap:42px;
}
.hero__badge{
  display:inline-flex;align-items:center;gap:10px;
  height:42px;padding:0 18px;border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  color:#dce7ff;
  margin-bottom:22px;
}
.hero__badge::before{
  content:""; width:8px; height:8px; border-radius:999px;
  background:linear-gradient(135deg,var(--blue),var(--violet));
}
.hero__title{
  margin:0;
  font-size:74px;
  line-height:.98;
  letter-spacing:-.05em;
  max-width:760px;
}
.hero__title span{display:block}
.hero__title .accent{
  background:linear-gradient(90deg, #ffffff 0%, #d9ebff 12%, #59a3ff 48%, #4f89ff 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero__text{
  max-width:720px;
  margin:30px 0 0;
  font-size:21px;
  line-height:1.65;
  color:var(--muted);
}
.hero__actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:28px}
.hero__quick{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
  margin-top:42px;
}
.quick-item{display:flex;gap:12px;align-items:flex-start}
.quick-item__icon{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(31,128,255,.16), rgba(129,93,255,.14));
  border:1px solid var(--line);
  flex:0 0 34px;
}
.quick-item__title{font-size:16px;font-weight:700}
.quick-item__text{font-size:13px;color:var(--muted);margin-top:4px;line-height:1.45}
.hero-mock{
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
  box-shadow:var(--shadow);
  padding:22px;
  position:relative;
  overflow:hidden;
}
.hero-mock::before{
  content:""; position:absolute; inset:-1px;
  border-radius:inherit;
  background:
    radial-gradient(circle at 80% 8%, rgba(129,93,255,.12), transparent 18%),
    radial-gradient(circle at 24% 18%, rgba(31,128,255,.08), transparent 18%);
  pointer-events:none;
}
.browser-dots{display:flex;gap:8px;margin-bottom:18px}
.browser-dots span{width:10px;height:10px;border-radius:999px}
.dot-red{background:#ff6b6b}.dot-yellow{background:#ffc857}.dot-green{background:#3ad29f}
.mock-app{
  position:relative;
  display:grid;grid-template-columns:180px 1fr;gap:18px;
  min-height:388px;
}
.mock-side,.mock-main{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(7,15,28,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.mock-side{padding:18px}
.mock-brand{font-size:22px;font-weight:800;margin-bottom:18px}
.mock-add{
  height:44px;display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight:700;margin-bottom:16px
}
.mock-menu{display:grid;gap:12px}
.mock-menu .item{
  height:42px;border-radius:12px;border:1px solid var(--line);
  display:flex;align-items:center;padding:0 14px;background:rgba(255,255,255,.02)
}
.mock-main{padding:18px}
.mock-main__top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.mock-main__title{font-size:34px;font-weight:800}
.mock-main__sub{font-size:14px;color:var(--muted);margin-top:8px}
.mock-button-small{
  min-width:134px;height:40px;border-radius:12px;border:1px solid var(--line);
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg, var(--blue), var(--blue-2));font-weight:700
}
.mock-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}
.mock-card{
  min-height:90px;border-radius:16px;border:1px solid var(--line);
  background:rgba(255,255,255,.02);padding:14px
}
.mock-card__label{font-size:14px;color:var(--muted)}
.mock-card__value{font-size:34px;font-weight:800;margin-top:10px}
.mock-table{margin-top:18px;border-radius:18px;border:1px solid var(--line);overflow:hidden}
.mock-table__head,.mock-table__row{
  display:grid;grid-template-columns:1.35fr .7fr .7fr 1.1fr 1fr;gap:14px;align-items:center
}
.mock-table__head{
  padding:14px 16px;background:rgba(255,255,255,.025);font-size:12px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase
}
.mock-table__row{
  padding:18px 16px;background:rgba(255,255,255,.015)
}
.section-title{
  text-align:center;font-size:40px;letter-spacing:-.03em;margin:0 0 24px
}
.features{padding:18px 0 0}
.feature-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px
}
.feature-card,.why-panel,.cta-panel,.auth-panels .panel,.dashboard-panel,.table-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
}
.feature-card{
  padding:22px 22px 20px;
  display:flex;gap:18px;align-items:flex-start
}
.icon-tile{
  width:62px;height:62px;border-radius:18px;display:grid;place-items:center;
  border:1px solid var(--line);
  background:linear-gradient(135deg, rgba(31,128,255,.16), rgba(129,93,255,.16));
  font-size:24px;flex:0 0 62px
}
.feature-card h3,.why-item h3{margin:0;font-size:24px;letter-spacing:-.02em}
.feature-card p,.why-item p,.footer p,.footer li,.auth-note,.notice,.table-empty{margin:10px 0 0;color:var(--muted);line-height:1.6}
.why{padding:18px 0 0}
.why-panel{
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;
  overflow:hidden
}
.why-item{padding:28px 28px 26px;position:relative}
.why-item + .why-item{border-left:1px solid var(--line-soft)}
.cta{padding:16px 0 0}
.cta-panel{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:30px 34px
}
.cta-panel__title{font-size:42px;font-weight:800;letter-spacing:-.03em}
.cta-panel__text{margin-top:10px;font-size:17px;color:var(--muted)}
.footer{
  margin-top:18px;
  border-top:1px solid var(--line-soft);
  padding:28px 0 18px;
}
.footer__grid{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1.1fr;gap:28px
}
.footer h4{margin:0 0 14px;font-size:18px}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;color:var(--muted)}
.footer .brand__title{font-size:32px}
.footer__copy{text-align:center;color:var(--muted-2);padding-top:24px;font-size:14px}

.auth-section{padding-top:24px}
.auth-panels{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.panel{padding:28px}
.panel h2{margin:0 0 18px;font-size:34px}
.input,.select{
  width:100%;height:52px;padding:0 16px;margin-bottom:12px;
  font-size:15px
}
.notice{
  padding:14px 16px;border-radius:14px;border:1px solid var(--line);margin-bottom:12px
}
.notice--error{background:rgba(255,107,107,.11);border-color:rgba(255,107,107,.16);color:#ffd8d8}
.notice--success{background:rgba(40,199,111,.11);border-color:rgba(40,199,111,.16);color:#d0ffe1}
.auth-note{font-size:14px}
.user-chip{
  min-height:48px;padding:0 16px;border-radius:14px;border:1px solid var(--line);
  display:inline-flex;align-items:center;background:rgba(255,255,255,.02)
}

.dashboard-layout{
  display:grid;grid-template-columns:280px 1fr;gap:28px;
  min-height:100vh;padding:28px 0
}
.sidebar{
  padding:24px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.015));
  box-shadow:var(--shadow);
  height:fit-content;position:sticky;top:110px
}
.side-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
.side-stat,.server-card,.summary-card,.table-panel,.dashboard-panel{
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.02)
}
.side-stat{padding:16px;min-height:130px}
.side-stat__label{color:var(--muted);margin-top:12px}
.side-stat__value{font-size:40px;font-weight:800;margin-top:8px}
.server-card{padding:18px;margin-top:20px}
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.badge{
  min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);
  display:inline-flex;align-items:center;background:rgba(255,255,255,.025);font-size:14px
}
.badge--success{background:rgba(40,199,111,.12);border-color:rgba(40,199,111,.22);color:#c9ffe0}
.dashboard-top{
  border:1px solid var(--line);border-radius:24px;padding:32px 34px;
  background:linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.015));
  box-shadow:var(--shadow)
}
.kicker{color:var(--violet-2);font-size:15px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.page-title{margin:12px 0 0;font-size:64px;letter-spacing:-.05em}
.page-sub{margin-top:12px;color:var(--muted);font-size:19px}
.action-row{display:flex;gap:14px;flex-wrap:wrap}
.dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:18px}
.summary-card{padding:22px;min-height:150px}
.summary-card__label{font-size:18px;color:var(--muted)}
.summary-card__value{font-size:52px;font-weight:800;margin-top:14px;letter-spacing:-.03em}
.summary-card__value--success{color:#7dffb1}
.table-panel{padding:26px;margin-top:18px}
.table-headline{font-size:17px;font-weight:800;letter-spacing:.08em;color:var(--violet-2);text-transform:uppercase}
.table-title{font-size:52px;font-weight:800;letter-spacing:-.04em;margin-top:10px}
.table-desc{font-size:18px;color:var(--muted);margin-top:12px}
.data-table{width:100%;border-collapse:collapse;margin-top:22px}
.data-table th,.data-table td{padding:20px 18px;border-top:1px solid var(--line-soft);text-align:left}
.data-table th{font-size:13px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.table-actions{display:flex;gap:12px;flex-wrap:wrap}
.table-btn{
  height:44px;padding:0 18px;border-radius:14px;border:1px solid var(--line);
  display:inline-flex;align-items:center;background:rgba(255,255,255,.02);font-weight:700
}
.table-btn--primary{background:linear-gradient(135deg, var(--violet), var(--blue-2))}
.form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.form-grid .input,.form-grid .select{margin:0}
.form-grid .btn{height:52px}

@media (max-width: 1360px){
  .hero{grid-template-columns:1fr}
  .hero__title{font-size:62px}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .footer__grid{grid-template-columns:1.3fr 1fr 1fr}
  .dashboard-layout{grid-template-columns:1fr}
  .sidebar{position:relative;top:0}
}
@media (max-width: 960px){
  .container{width:min(var(--container), calc(100% - 32px))}
  .header__inner{flex-wrap:wrap;padding:14px 0}
  .nav{order:3;justify-content:flex-start;width:100%;overflow:auto;gap:28px}
  .nav a.is-active::after{bottom:-10px}
  .hero__title{font-size:48px}
  .hero__quick,.auth-panels,.why-panel,.summary-grid,.mock-cards,.form-grid,.feature-grid{grid-template-columns:1fr}
  .cta-panel,.dashboard-head{flex-direction:column;align-items:flex-start}
  .footer__grid{grid-template-columns:1fr}
  .page-title{font-size:44px}
  .table-title{font-size:36px}
  .mock-app{grid-template-columns:1fr}
}

.brand__logo-image{width:auto;height:58px;object-fit:contain;display:block;}

.hero-mock__frame{
  position:relative;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:rgba(7,15,28,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.hero-mock__image{
  display:block;
  width:100%;
  height:auto;
  border-radius:18px;
}


/* SaaS-style dashboard refresh */
.dashboard-shell{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  min-height:100vh;
  background:transparent;
}
.dashboard-sidebar{
  background:rgba(35,44,70,.78);
  border-right:1px solid rgba(255,255,255,.06);
  padding:22px 18px;
  display:flex;
  flex-direction:column;
  gap:18px;
  position:sticky;
  top:0;
  height:100vh;
}
.dashboard-sidebar .brand{
  min-width:0;
  gap:14px;
}
.dashboard-sidebar .brand__logo{
  width:44px;height:44px;flex-basis:44px;border-radius:12px;
}
.dashboard-sidebar .brand__title{font-size:18px}
.dashboard-sidebar .brand__subtitle{font-size:11px}
.sidebar-group-title{
  color:var(--muted-2);
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.08em;
  margin:12px 0 0;
}
.sidebar-nav{display:grid;gap:8px}
.sidebar-link{
  height:42px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 14px;
  border-radius:12px;
  color:#cfd9ec;
  border:1px solid transparent;
}
.sidebar-link:hover,.sidebar-link.is-active{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.06);
}
.sidebar-icon{width:18px;text-align:center;opacity:.9}
.dashboard-main{min-width:0;display:flex;flex-direction:column}
.dashboard-topbar{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 24px;
  background:rgba(42,50,78,.78);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px}
.topbar-search{flex:1;max-width:560px;position:relative}
.topbar-search input{
  width:100%;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:0 18px 0 42px;
}
.topbar-search::before{
  content:"🔎";
  position:absolute;
  left:14px;
  top:8px;
  font-size:16px;
  opacity:.75;
}
.topbar-user{display:flex;align-items:center;gap:10px;color:#d8e2f5}
.topbar-avatar{
  width:36px;height:36px;border-radius:999px;
  background:linear-gradient(135deg, rgba(31,128,255,.35), rgba(129,93,255,.32));
  display:grid;place-items:center;
  font-size:14px;font-weight:800;
}
.dashboard-content{padding:24px}
.dashboard-kicker{
  color:#fff;
  text-transform:uppercase;
  font-size:14px;
  letter-spacing:.04em;
  font-weight:800;
}
.stats-banner{
  margin-top:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.05);
  border-radius:18px;
  padding:20px;
  display:grid;
  grid-template-columns:1.1fr .7fr 1fr;
  gap:18px;
}
.stats-banner__box{min-height:88px}
.stats-banner__title{color:#dce5f8;font-size:15px;font-weight:700}
.stats-banner__value{margin-top:8px;font-size:34px;font-weight:800}
.stats-banner__muted{color:var(--muted);margin-top:6px}
.ring{
  width:120px;height:120px;border-radius:50%;
  border:12px solid rgba(255,255,255,.06);
  border-top-color:#000;
  display:grid;place-items:center;
  color:#dce5f8;
  margin-left:auto;
}
.saas-card-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.saas-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.05);
  border-radius:16px;
  padding:20px;
}
.saas-card__top{display:flex;align-items:center;gap:12px;color:#fff;font-weight:700}
.saas-icon{
  width:34px;height:34px;border-radius:999px;
  display:grid;place-items:center;
  background:rgba(79,137,255,.18);
  color:#8cb8ff;
}
.saas-value{margin-top:26px;font-size:38px;font-weight:800}
.saas-sub{margin-top:6px;color:var(--muted)}
.saas-trend{display:inline-flex;gap:8px;align-items:center;margin-top:10px;color:#dfe9fb}
.saas-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:24px;
  border-radius:8px;
  padding:0 8px;
  background:rgba(40,199,111,.18);
  color:#7cffbc;
  font-size:12px;
  font-weight:700;
}
.saas-chip--warn{background:rgba(255,184,77,.16);color:#ffc86c}
.server-table-panel{
  margin-top:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.05);
  border-radius:16px;
  padding:20px;
}
.server-table-title{font-size:26px;font-weight:800;margin-bottom:16px}
.server-table{width:100%;border-collapse:collapse;overflow:hidden}
.server-table thead th{
  color:#aac0e5;
  font-size:14px;
  font-weight:700;
  background:rgba(255,255,255,.03);
}
.server-table th,.server-table td{
  padding:14px 12px;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.server-table tbody tr:hover{background:rgba(255,255,255,.02)}
.status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:68px;
  height:32px;
  border-radius:999px;
  padding:0 12px;
  background:rgba(40,199,111,.14);
  border:1px solid rgba(40,199,111,.18);
  color:#87f1ba;
  font-weight:700;
}
.action-inline{display:flex;gap:10px;flex-wrap:wrap}
.action-inline .table-btn{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  border-radius:10px;
  padding:10px 12px;
  color:#ebf2ff;
}
.dashboard-bottom-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:380px 1fr;
  gap:22px;
}
.form-panel,.players-panel{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.05);
  border-radius:16px;
  padding:20px;
}
.panel-title{margin:0 0 16px;font-size:24px;font-weight:800}
.players-table{width:100%;border-collapse:collapse}
.players-table th,.players-table td{
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,.05);
  text-align:left;
}
.players-table th{color:#aac0e5;font-size:13px}
@media (max-width: 1180px){
  .saas-card-grid{grid-template-columns:1fr}
  .stats-banner{grid-template-columns:1fr}
  .dashboard-bottom-grid{grid-template-columns:1fr}
}
@media (max-width: 900px){
  .dashboard-shell{grid-template-columns:1fr}
  .dashboard-sidebar{
    position:fixed;
    left:0;
    top:0;
    z-index:40;
    width:min(280px, 86vw);
    height:100vh;
    transform:translateX(-100%);
    transition:transform .22s ease;
    box-shadow:0 18px 48px rgba(0,0,0,.35);
  }
  .dashboard-shell.sidebar-is-open .dashboard-sidebar{transform:translateX(0)}
  .dashboard-shell.sidebar-is-open .sidebar-overlay{
    opacity:1;
    pointer-events:auto;
  }
  .dashboard-topbar{flex-wrap:wrap}
  .topbar-search{max-width:none;width:100%}
  .support-layout{grid-template-columns:1fr}
  .support-form__row{grid-template-columns:1fr}
  .support-list{max-height:none}
}
@media (min-width: 901px){
  .sidebar-overlay{display:none}
}


/* Dashboard SaaS / team management */
.brand__logo-image{
  width:56px;
  height:auto;
  display:block;
}
.dashboard-body{
  background:#232b42;
}
.app-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:250px 1fr;
  background:#232b42;
}
.app-sidebar{
  background:#2a3148;
  border-right:1px solid rgba(255,255,255,.05);
  padding:18px 14px 22px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.brand--sidebar{
  min-width:0;
  padding:0 6px 14px;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.sidebar-block{padding:0 6px}
.sidebar-block--bottom{margin-top:auto}
.sidebar-caption{
  font-size:14px;
  color:#9ca8c3;
  margin-bottom:12px;
}
.sidebar-menu{display:grid;gap:6px}
.sidebar-menu__item{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:0 14px;
  border-radius:12px;
  color:#c4cee4;
}
.sidebar-menu__item:hover,
.sidebar-menu__item.is-current{
  background:#313954;
  color:#fff;
}
.app-main{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.app-topbar{
  min-height:78px;
  background:#2a3148;
  border-bottom:1px solid rgba(0,0,0,.28);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 26px;
}
.app-topbar__left,
.app-topbar__right{
  display:flex;
  align-items:center;
  gap:14px;
}
.menu-toggle{
  background:transparent;
  border:none;
  color:#dbe4fb;
  font-size:24px;
  cursor:pointer;
}
.app-topbar__label{
  color:#dbe4fb;
  font-size:15px;
}
.top-search{
  flex:1;
  max-width:560px;
  position:relative;
}
.top-search__icon{
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  color:#8fa0c2;
}
.top-search__input{
  width:100%;
  height:42px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  background:#303754;
  color:#eff5ff;
  padding:0 16px 0 46px;
  outline:none;
  box-shadow:0 0 0 1px rgba(255,216,128,.65);
}
.app-select{
  min-width:132px;
  height:42px;
  background:#303754;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:0 14px;
}
.icon-pill{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#303754;
}
.profile-chip{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
}
.profile-chip__avatar,
.avatar{
  object-fit:cover;
  border-radius:999px;
}
.profile-chip__avatar{
  width:38px;
  height:38px;
}
.profile-chip__fallback,
.avatar--fallback{
  background:linear-gradient(135deg, #4e8dff, #6c63ff);
  color:#fff;
  font-weight:800;
  display:grid;
  place-items:center;
}
.profile-chip__fallback{
  width:38px;
  height:38px;
  border-radius:999px;
}
.dashboard-content{
  padding:32px 26px 40px;
}
.notice{
  padding:14px 16px;
  border-radius:14px;
  margin-bottom:18px;
}
.notice--success{
  background:rgba(40,199,111,.12);
  border:1px solid rgba(40,199,111,.2);
  color:#d5ffe8;
}
.notice--error{
  background:rgba(255,107,107,.12);
  border:1px solid rgba(255,107,107,.2);
  color:#ffd8d8;
}
.dashboard-head,
.subpage-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.eyebrow{
  font-size:14px;
  font-weight:800;
  letter-spacing:.05em;
  color:#f1f4ff;
}
.dashboard-title,
.subpage-head h1{
  margin:8px 0 0;
  font-size:40px;
  line-height:1.1;
}
.dashboard-subtitle,
.subpage-head__meta{
  margin:10px 0 0;
  color:#c4cee4;
}
.top-actions{display:flex;gap:12px}
.stats-banner,
.metric-grid,
.metric-strip{
  display:grid;
  gap:24px;
  margin-bottom:24px;
}
.stats-banner{
  grid-template-columns:repeat(3,1fr);
  padding:20px 22px;
  background:#2d3550;
  border-radius:8px;
}
.stats-banner__label,
.metric-strip__label{
  color:#b6c3df;
  font-size:15px;
}
.stats-banner__value,
.metric-strip__value{
  margin-top:8px;
  font-size:44px;
  font-weight:800;
  color:#fff;
}
.stats-banner__hint{
  margin-top:6px;
  color:#b6c3df;
  font-size:14px;
}
.metric-grid{
  grid-template-columns:repeat(3,1fr);
}
.metric-card,
.panel,
.metric-strip{
  background:#2d3550;
  border-radius:6px;
}
.metric-card{
  padding:22px 20px;
}
.metric-card__icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#3a67c9;
  margin-bottom:16px;
}
.metric-card__title{
  color:#fff;
  font-weight:700;
}
.metric-card__value{
  font-size:42px;
  margin-top:24px;
  font-weight:800;
}
.metric-card__delta{
  color:#b6c3df;
  margin-top:8px;
}
.metric-card__delta.is-positive{
  color:#7de29f;
}
.panel{
  padding:22px;
  margin-bottom:24px;
}
.panel--narrow{max-width:760px}
.panel--danger{
  border:1px solid rgba(255,101,101,.6);
}
.panel__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.panel__header h2{
  margin:0;
  font-size:18px;
}
.table-wrap{
  overflow:auto;
}
.data-table{
  width:100%;
  border-collapse:collapse;
}
.data-table th,
.data-table td{
  padding:14px 12px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:middle;
}
.data-table th{
  color:#c4cee4;
  font-size:14px;
  font-weight:700;
}
.status-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(40,199,111,.14);
  color:#9af1bb;
  border:1px solid rgba(40,199,111,.24);
}
.table-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.btn--tiny{
  height:38px;
  padding:0 14px;
  border-radius:10px;
  font-size:14px;
}
.btn--danger{
  background:#f26a6a;
  border-color:#f26a6a;
  color:#fff;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.form-grid--search{
  grid-template-columns:1fr 220px;
}
.stack-form{
  display:grid;
  gap:14px;
}
.input{
  width:100%;
  min-height:46px;
  padding:0 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:#303754;
  color:#fff;
}
.inline-form,
.inline-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.member-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.avatar--small{
  width:34px;
  height:34px;
}
.avatar--large{
  width:96px;
  height:96px;
}
.muted-text{
  color:#b6c3df;
  font-size:14px;
}
.team-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.team-summary__id{
  font-size:18px;
  font-weight:800;
  border-bottom:2px dotted rgba(255,200,100,.7);
  display:inline-block;
  padding-bottom:4px;
}
.team-summary__meta{
  margin-top:8px;
  color:#c4cee4;
}
.metric-strip{
  grid-template-columns:repeat(2,1fr);
  padding:22px;
}
.metric-strip__item{
  text-align:center;
}
.empty-state{
  min-height:140px;
  display:grid;
  place-items:center;
  color:#d6def4;
  font-size:18px;
  text-align:center;
}
.subpage-layout{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:24px;
}
.subpage-side{
  padding-top:8px;
  display:grid;
  align-content:start;
  gap:8px;
}
.subpage-side__link{
  font-weight:800;
  color:#eaf0ff;
  letter-spacing:.02em;
}
.subpage-side__link.is-current{
  color:#fff;
}
.search-panel{
  border:1px solid rgba(255,255,255,.22);
  border-radius:4px;
  padding:16px;
}
.search-panel__title{
  color:#c4cee4;
  font-size:14px;
  margin-bottom:12px;
}
.search-panel__title span{
  display:inline-block;
  padding:2px 8px;
  border-radius:6px;
  background:#4a87f6;
  color:#fff;
  font-size:12px;
}
.role-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:6px;
  font-weight:700;
}
.role-badge--owner{
  background:#f0c36b;
  color:#2d1f00;
}
.role-badge--manager{
  background:#91d36d;
  color:#1d3412;
}
.role-badge--member{
  background:#4f8bff;
  color:#fff;
}
.profile-settings{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.danger-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.danger-title{
  font-size:18px;
  font-weight:800;
  color:#ff6c6c;
  margin-bottom:8px;
}
@media (max-width: 1100px){
  .app-shell{grid-template-columns:1fr}
  .app-sidebar{display:none}
  .stats-banner,.metric-grid,.form-grid,.subpage-layout,.metric-strip{grid-template-columns:1fr}
  .top-search{max-width:none}
}


/* dashboard user menu + profile */
.brand__logo-image{display:block;max-width:56px;height:auto}
.user-menu{position:relative}
.user-menu__summary{
  list-style:none;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  padding:0 4px;
  color:#d8e2f5;
}
.user-menu__summary::-webkit-details-marker{display:none}
.user-menu__dropdown{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:220px;
  background:#2d3550;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  z-index:50;
}
.user-menu__dropdown a{
  display:block;
  padding:12px 14px;
  color:#eef3ff;
}
.user-menu__dropdown a:hover{background:rgba(255,255,255,.05)}
.topbar-bell{
  width:36px;height:36px;border-radius:999px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}
.avatar--fallback{
  width:100%;
  height:100%;
}
.profile-grid{
  display:grid;
  grid-template-columns: 340px minmax(0,1fr);
  gap:24px;
  margin-bottom:24px;
}
.prefs-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}
.pref-item{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:10px;
  padding:18px;
}
.pref-item__title{font-weight:700;margin-bottom:8px}
.pref-item__text{color:#c4cee4}
.subpage-layout{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:24px;
}
.search-panel__title{
  font-weight:700;
  margin-bottom:14px;
}
@media (max-width: 1100px){
  .profile-grid,.subpage-layout{grid-template-columns:1fr}
  .prefs-grid{grid-template-columns:1fr}
}


/* Roles management */
.roles-layout{
  display:grid;
  grid-template-columns:minmax(320px, 420px) minmax(0, 1fr);
  gap:24px;
  align-items:start;
}
.roles-list{display:grid;gap:14px}
.role-card-link{display:block}
.role-card-link.is-current .role-card{
  border-color:rgba(78,141,255,.55);
  box-shadow:0 0 0 1px rgba(78,141,255,.22) inset;
}
.role-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  border-radius:18px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.role-card__left{display:flex;align-items:center;gap:16px}
.role-card__name{font-size:18px;font-weight:800}
.role-swatch{
  width:18px;
  height:18px;
  border-radius:999px;
  display:inline-block;
  box-shadow:0 0 0 4px rgba(255,255,255,.04);
}
.role-pill{
  --role-color:#4e8dff;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  border:1px solid color-mix(in srgb, var(--role-color) 45%, rgba(255,255,255,.08));
  background:color-mix(in srgb, var(--role-color) 18%, rgba(255,255,255,.02));
  color:#fff;
}
.label{display:block;margin-bottom:10px;color:var(--muted);font-size:14px}
.input--color{
  min-height:54px;
  padding:8px 10px;
}
.panel__header--split{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.create-role-dropdown{position:relative}
.create-role-dropdown summary{list-style:none}
.create-role-dropdown summary::-webkit-details-marker{display:none}
.create-role-dropdown[open] .create-role-dropdown__panel{
  display:block;
}
.create-role-dropdown__panel{
  display:none;
  position:absolute;
  right:0;
  top:58px;
  width:340px;
  z-index:30;
  padding:18px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#172239;
  box-shadow:var(--shadow);
}
.perm-head{margin-bottom:12px}
.panel__title-sm{font-size:22px;font-weight:800;margin-bottom:6px}
.perm-group{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.02);
  margin-top:16px;
}
.perm-group__head{
  padding:16px 18px;
  background:rgba(255,255,255,.04);
  font-size:18px;
  font-weight:800;
}
.perm-group__body{padding:12px 18px}
.perm-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.perm-row:last-child{border-bottom:none}
.perm-row__title{font-size:16px;font-weight:800}
.perm-row__desc{font-size:13px;color:var(--muted);margin-top:4px;line-height:1.45}
.perm-toggle{
  position:relative;
  width:72px;
  height:36px;
  flex:0 0 72px;
}
.perm-toggle input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.perm-toggle__slider{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  transition:.2s ease;
}
.perm-toggle__slider::before{
  content:"Off";
  position:absolute;
  width:28px;
  height:28px;
  left:4px;
  top:4px;
  border-radius:999px;
  background:#fff;
  color:#e66;
  font-size:12px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
}
.perm-toggle input:checked + .perm-toggle__slider{
  background:#2fd09a;
}
.perm-toggle input:checked + .perm-toggle__slider::before{
  content:"On";
  left:40px;
  color:#1b8f68;
}
.role-edit-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}
.btn--success{
  background:linear-gradient(135deg,#27c690,#43d39e);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 20px 50px rgba(39,198,144,.2), inset 0 1px 0 rgba(255,255,255,.18);
}
@media (max-width: 1200px){
  .roles-layout{grid-template-columns:1fr}
  .create-role-dropdown__panel{position:static;width:100%;margin-top:12px}
}


body.drawer-open{overflow:hidden}
.topbar-bell{
  position:relative;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.topbar-bell__badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--blue), var(--violet));
  color:#fff;
  font-size:11px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
}
.notif-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  opacity:0;
  visibility:hidden;
  transition:.2s ease;
  z-index:49;
}
.notif-overlay.is-visible{opacity:1;visibility:visible}
.notif-drawer{
  position:fixed;
  top:0;
  right:0;
  width:min(420px, 100vw);
  height:100vh;
  background:linear-gradient(180deg, #0c1628 0%, #101c31 100%);
  border-left:1px solid var(--line);
  box-shadow:-18px 0 50px rgba(0,0,0,.35);
  transform:translateX(100%);
  transition:transform .25s ease;
  z-index:50;
  padding:22px;
  overflow:auto;
}
.notif-drawer.is-open{transform:translateX(0)}
.notif-drawer__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.notif-drawer__header h3{margin:8px 0 0;font-size:28px}
.notif-close{
  width:38px;height:38px;border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);color:var(--text);
  cursor:pointer;font-size:24px;line-height:1;
}
.notif-drawer__section{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.02);
  padding:16px;
  margin-bottom:16px;
}
.notif-drawer__section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.notif-drawer__section-head h4{margin:0;font-size:18px}
.notif-link{
  border:none;background:none;color:#8fb4ff;font-weight:700;cursor:pointer;padding:0;
}
.notif-list{display:grid;gap:12px}
.notif-item{
  display:flex;
  gap:12px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,.018);
}
.notif-item--unread{border-color:rgba(78,141,255,.35); background:rgba(78,141,255,.08)}
.notif-item__icon{
  width:38px;height:38px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.04);
  flex:0 0 38px;
}
.notif-item__title{font-weight:800}
.notif-item__text{margin-top:6px;color:var(--muted);line-height:1.45}
.notif-item__meta{margin-top:8px;font-size:12px;color:var(--muted-2)}
.notif-item__link{display:inline-block;margin-top:10px;color:#9ec1ff;font-weight:700}
.notif-item__body{flex:1}
.notif-actions{display:flex;gap:10px;margin-top:12px}
.notif-empty{
  color:var(--muted);
  border:1px dashed var(--line);
  border-radius:16px;
  padding:18px;
}

.topbar-title-link{color:#eef3ff;font-size:15px;font-weight:700}
.notice-banner{margin-bottom:18px;padding:14px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.08)}
.notice-banner--success{background:rgba(40,199,111,.12);border-color:rgba(40,199,111,.22);color:#d1ffe6}
.notice-banner--error{background:rgba(255,98,98,.12);border-color:rgba(255,98,98,.25);color:#ffd7d7}

.sidebar-overlay{
  position:fixed;
  inset:0;
  background:rgba(5,10,22,.58);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:30;
}
.sidebar-toggle{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.06);
  color:#eef3ff;
  font-size:18px;
  line-height:1;
}
.sidebar-toggle:hover{
  background:rgba(255,255,255,.1);
}
.support-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(320px, .8fr);
  gap:24px;
  margin-bottom:24px;
  align-items:start;
}
.support-create{
  margin-bottom:0;
}
.support-list{
  max-height:524px;
  overflow:auto;
}
.ticket-row{
  align-items:flex-start;
}
.ticket-row__title{
  font-weight:700;
  font-size:15px;
  line-height:1.45;
}
.ticket-row .badge{
  flex-shrink:0;
  white-space:nowrap;
}
.support-create,.support-list,.support-thread{padding:24px}
.section-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}
.section-title{font-size:40px;font-weight:800;letter-spacing:-.03em;margin:10px 0 18px}
.support-form,.support-reply-form{display:grid;gap:14px}
.support-form__row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}
.support-form label,.muted-text{color:var(--muted)}
.textarea{width:100%;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.03);color:var(--text);padding:14px 16px;resize:vertical;min-height:120px}
.support-form__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.upload-field{display:inline-flex;align-items:center;gap:10px;padding:11px 14px;border-radius:14px;border:1px dashed var(--line);background:rgba(255,255,255,.02);cursor:pointer}
.upload-field input{display:none}
.ticket-list{display:grid;gap:12px}
.ticket-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-radius:16px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.02)}
.ticket-row:hover,.ticket-row.is-active{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.12)}
.ticket-row__title{font-weight:700}
.ticket-row__meta{color:var(--muted);font-size:13px;margin-top:6px}
.badge--info{background:rgba(78,141,255,.16);border-color:rgba(78,141,255,.24);color:#dbe7ff}
.badge--warning{background:rgba(255,193,79,.16);border-color:rgba(255,193,79,.24);color:#ffecc1}
.badge--muted{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.08);color:#d3d9e5}
.support-thread__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.message-thread{display:grid;gap:16px;max-height:520px;overflow:auto;padding-right:8px}
.message-bubble{padding:16px 18px;border-radius:18px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.message-bubble.is-admin{border-color:rgba(78,141,255,.18);background:rgba(78,141,255,.08)}
.message-bubble__top{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);margin-bottom:10px}
.message-bubble__body{line-height:1.7}
.message-bubble__attachment{margin-top:12px}
.support-status-form{display:flex;gap:10px;align-items:center}
.topbar-filter{width:220px}
@media (max-width: 1180px){
  .support-layout{grid-template-columns:1fr}
  .support-form__row{grid-template-columns:1fr}
}


/* Stable recovery overrides */
select, .lang-select, .select {
  color-scheme: dark;
}
select option, .lang-select option, .select option {
  background:#1f2841;
  color:#eff5ff;
}
.support-grid {
  grid-template-columns: minmax(420px, 520px) 1fr;
}
.support-form textarea,
.ticket-reply textarea,
.support-textarea {
  min-height: 220px;
}
.sidebar-link, .hamburger, .ticket-list__item {
  cursor:pointer;
}


.subscription-mini-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px 26px;
  margin-bottom:22px;
}
.subscription-mini-card__name{font-size:28px;font-weight:800;margin-top:6px}
.subscription-mini-card__meta{color:var(--muted);margin-top:8px}

.subscription-hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  margin-bottom:24px;
}
.subscription-current{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  min-height:100%;
}
.subscription-current__name{font-size:34px;font-weight:800;margin-top:8px}
.subscription-current__meta{
  display:grid;
  gap:8px;
  margin-top:14px;
  color:var(--muted);
}
.plan-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.plan-card{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.plan-card.is-featured{
  border-color:rgba(40,199,111,.65);
  box-shadow:0 0 0 1px rgba(40,199,111,.15) inset;
}
.plan-card__name{font-size:28px;font-weight:800}
.plan-card__price{font-size:40px;font-weight:900;margin-top:10px}
.plan-card__per{color:var(--muted);margin-top:6px}
.plan-card__stats{
  display:grid;
  gap:8px;
  margin-top:18px;
  color:#d6e3ff;
}
.plan-card__desc{
  color:var(--muted);
  line-height:1.6;
  min-height:48px;
  margin:18px 0 0;
}
.plan-card__features{
  margin:18px 0 0;
  padding-left:18px;
  display:grid;
  gap:10px;
  color:#dfe9ff;
  flex:1;
}
.plan-card__features li{line-height:1.5}
.plan-card__action{margin-top:22px}

@media (max-width: 1280px){
  .plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .subscription-hero{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .plan-grid{grid-template-columns:1fr}
  .subscription-mini-card{flex-direction:column;align-items:flex-start}
}


.user-chip__avatar{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;object-fit:cover;background:rgba(255,255,255,.06);font-weight:800}
.user-chip__avatar img{width:100%;height:100%;object-fit:cover}
.user-chip__avatar--fallback{background:linear-gradient(135deg,var(--blue),var(--violet));color:#fff}

.notifications-drawer{position:fixed;top:0;right:0;width:min(420px,100vw);height:100vh;background:linear-gradient(180deg,#0c1628 0%,#101c31 100%);border-left:1px solid var(--line);box-shadow:-18px 0 50px rgba(0,0,0,.35);transform:translateX(100%);transition:transform .25s ease;z-index:50;padding:22px;overflow:auto}
.notifications-drawer.is-open{transform:translateX(0)}
.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.drawer-header h3{margin:8px 0 0;font-size:28px}
.drawer-card{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.02);padding:16px;margin-bottom:16px}
.drawer-card__title{font-weight:800;margin-bottom:8px}
.drawer-card__text{color:var(--muted);line-height:1.5}


.topbar-title-link{
  color:#f2f6ff;
  font-size:22px;
  font-weight:800;
}

.topbar-bell{
  position:relative;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}
.topbar-bell__badge,
.icon-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--blue),var(--violet));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:800;
  color:#fff;
}

.sidebar-servers-card{
  margin-top:auto;
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  background:rgba(255,255,255,.035);
  overflow:hidden;
}
.sidebar-servers-card__head{
  min-height:46px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted-2);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.sidebar-servers-card__actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.sidebar-servers-card__icon{
  border:none;
  background:transparent;
  color:#dbe6fb;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  padding:0;
}
.sidebar-servers-card__body{
  padding:12px;
  display:grid;
  gap:10px;
}
.sidebar-servers-card__empty{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}
.sidebar-server-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.05);
}
.sidebar-server-row__name{
  font-size:14px;
  font-weight:700;
  color:#eef4ff;
}
.sidebar-server-row__meta{
  margin-top:4px;
  font-size:12px;
  color:var(--muted);
}
.sidebar-server-row__status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.08);
}
.sidebar-server-row__status.is-online{
  background:rgba(40,199,111,.12);
  border-color:rgba(40,199,111,.24);
  color:#c8ffe1;
}
.sidebar-server-row__status.is-offline{
  background:rgba(255,255,255,.06);
  color:#dbe5f8;
}
.sidebar-server-row__status.is-maintenance{
  background:rgba(255,184,77,.14);
  border-color:rgba(255,184,77,.24);
  color:#ffd28f;
}
.panel__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.panel__header-meta{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  text-align:right;
}

@media (max-width: 900px){
  .dashboard-shell{
    grid-template-columns:1fr;
  }
  .dashboard-sidebar{
    position:relative;
    height:auto;
  }
  .sidebar-servers-card{
    margin-top:0;
  }
}



/* Refined subscription + support sizing */
.subscription-hero{
  grid-template-columns:minmax(0, 1.1fr) minmax(320px, .9fr);
  gap:18px;
  align-items:start;
}
.subscription-hero__left h1{
  margin:0 0 10px;
  font-size:32px;
  letter-spacing:-.03em;
}
.subscription-hero__left p{
  margin:0;
  max-width:820px;
  color:#d2ddf2;
  line-height:1.6;
  font-size:15px;
}
.subscription-current{
  border-radius:20px;
  padding:20px 22px;
  min-height:auto;
}
.subscription-current__name{
  font-size:28px;
  line-height:1.1;
  margin-top:6px;
}
.subscription-current__meta{
  gap:6px;
  margin-top:12px;
  font-size:14px;
}
.plan-grid{
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.plan-card{
  border-radius:20px;
  padding:20px 20px 18px;
  min-height:auto;
}
.plan-card__header{
  display:grid;
  gap:2px;
}
.plan-card__name{
  font-size:22px;
  line-height:1.1;
}
.plan-card__price{
  font-size:32px;
  line-height:1.05;
  margin-top:8px;
}
.plan-card__per{
  font-size:14px;
  margin-top:2px;
}
.plan-card__stats{
  gap:6px;
  margin-top:14px;
  font-size:14px;
}
.plan-card__stats strong{
  font-size:18px;
}
.plan-card__desc{
  margin-top:14px;
  min-height:auto;
  font-size:14px;
  line-height:1.55;
}
.plan-card__features{
  margin-top:14px;
  gap:8px;
  padding-left:18px;
  font-size:14px;
  line-height:1.45;
}
.plan-card__features li::marker{
  font-size:.9em;
}
.plan-card__action{
  margin-top:16px;
}
.plan-card .btn{
  width:100%;
  height:42px;
  font-size:14px;
  border-radius:12px;
}
.support-layout{
  grid-template-columns:minmax(0, 1.45fr) minmax(300px, .55fr);
  gap:20px;
  align-items:start;
}
.support-create,
.support-list,
.support-thread{
  border-radius:20px;
  padding:20px 22px;
}
.support-create .section-title{
  font-size:30px;
  margin:8px 0 18px;
}
.support-form{
  gap:12px;
}
.support-form__row{
  grid-template-columns:minmax(0,1.7fr) minmax(180px,.65fr) minmax(180px,.65fr);
  gap:12px;
}
.support-form label,
.support-thread .muted-text{
  font-size:14px;
}
.support-form .input,
.support-form .select{
  height:50px;
  padding:0 16px;
  font-size:15px;
}
.textarea{
  min-height:220px;
  padding:16px;
  font-size:15px;
  line-height:1.6;
}
.support-form__footer .btn{
  min-width:140px;
  height:48px;
}
.upload-field{
  min-height:46px;
  padding:10px 14px;
  font-size:14px;
}
.support-list{
  max-width:420px;
  justify-self:end;
}
.ticket-list{
  gap:10px;
}
.ticket-row{
  gap:10px;
  padding:14px;
  border-radius:15px;
}
.ticket-row__title{
  font-size:14px;
  line-height:1.35;
}
.ticket-row__meta{
  font-size:12px;
  margin-top:4px;
}
.ticket-row .badge{
  min-height:34px;
  padding:0 12px;
  font-size:12px;
}
.support-thread__header{
  margin-bottom:16px;
}
.support-thread__header h2{
  margin:0;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.message-thread{
  gap:14px;
  max-height:460px;
}
.message-bubble{
  padding:14px 16px;
  border-radius:16px;
}
.message-bubble__body{
  line-height:1.6;
  font-size:15px;
}
@media (max-width: 1380px){
  .plan-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 1180px){
  .support-layout{
    grid-template-columns:1fr;
  }
  .support-list{
    max-width:none;
    justify-self:stretch;
  }
}
@media (max-width: 720px){
  .subscription-hero{
    grid-template-columns:1fr;
  }
  .plan-grid{
    grid-template-columns:1fr;
  }
  .support-create .section-title{
    font-size:26px;
  }
  .support-thread__header h2{
    font-size:24px;
  }
  .textarea{
    min-height:180px;
  }
}


/* Application-like visual alignment */
:root{
  --app-bg:#050a15;
  --app-bg-2:#081223;
  --app-shell:rgba(10,18,34,.92);
  --app-panel:rgba(12,20,38,.82);
  --app-panel-2:rgba(16,26,48,.76);
  --app-stroke:rgba(149,174,255,.10);
  --app-stroke-soft:rgba(255,255,255,.06);
  --app-glow-blue:rgba(60,121,255,.28);
  --app-glow-violet:rgba(146,86,255,.24);
  --app-text:#edf3ff;
  --app-muted:#91a0bc;
  --app-muted-2:#6d7890;
  --app-success:#55dd88;
}
body.dashboard-body,
.dashboard-shell,
body:has(.dashboard-shell){
  background:
    radial-gradient(circle at 18% 12%, rgba(49,105,255,.13), transparent 22%),
    radial-gradient(circle at 82% 9%, rgba(144,89,255,.16), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(31,128,255,.08), transparent 34%),
    linear-gradient(180deg, #030814 0%, #040c18 100%);
}
.dashboard-shell{
  grid-template-columns:290px minmax(0,1fr);
  gap:22px;
  padding:12px;
}
.dashboard-sidebar,
.dashboard-main{
  border:1px solid var(--app-stroke);
  background:linear-gradient(180deg, rgba(8,16,30,.94), rgba(8,16,30,.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 30px 90px rgba(0,0,0,.45);
  backdrop-filter:blur(22px);
}
.dashboard-sidebar{
  border-radius:26px;
  padding:20px 16px 18px;
  position:relative;
}
.dashboard-main{
  border-radius:26px;
  overflow:hidden;
  position:relative;
}
.dashboard-main::before,
.dashboard-sidebar::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 0% 0%, rgba(46,98,255,.12), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(159,92,255,.11), transparent 18%);
  z-index:0;
}
.dashboard-sidebar > *,
.dashboard-main > *{
  position:relative;
  z-index:1;
}
.dashboard-sidebar .brand{
  padding:8px 10px 14px;
}
.dashboard-sidebar .brand__logo{
  width:34px;
  height:34px;
  min-width:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.dashboard-sidebar .brand__logo-image{
  width:100%;
  height:100%;
  object-fit:contain;
}
.dashboard-sidebar .brand__title{font-size:18px;font-weight:800}
.dashboard-sidebar .brand__subtitle{font-size:11px;color:var(--app-muted)}
.sidebar-nav{
  gap:10px;
  margin-top:2px;
}
.sidebar-link{
  min-height:46px;
  height:auto;
  border-radius:14px;
  padding:12px 14px;
  color:#dbe5fb;
  background:transparent;
  border:1px solid transparent;
  transition:.2s ease;
}
.sidebar-link:hover{
  background:rgba(255,255,255,.03);
  border-color:var(--app-stroke-soft);
}
.sidebar-link.is-active{
  background:
    linear-gradient(180deg, rgba(123,82,255,.18), rgba(60,121,255,.12));
  border-color:rgba(162,138,255,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 12px 30px rgba(22,34,62,.35);
}
.sidebar-icon{
  width:28px;height:28px;
  border-radius:10px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.03);
  border:1px solid var(--app-stroke-soft);
  font-size:13px;
}
.sidebar-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.sidebar-summary-card{
  min-height:78px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--app-stroke-soft);
  background:linear-gradient(180deg, rgba(12,22,42,.92), rgba(8,16,31,.92));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.sidebar-summary-card__label{
  color:var(--app-muted);
  font-size:12px;
  margin-bottom:8px;
}
.sidebar-summary-card__value{
  font-size:28px;
  font-weight:800;
  letter-spacing:-.03em;
}
.sidebar-servers-card{
  border-radius:20px;
  padding:14px;
  background:linear-gradient(180deg, rgba(10,19,35,.96), rgba(8,16,31,.95));
  border:1px solid var(--app-stroke-soft);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.sidebar-servers-card__head{
  color:var(--app-muted);
  font-size:12px;
  letter-spacing:.08em;
}
.sidebar-servers-card__icon{
  width:32px;height:32px;border-radius:10px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--app-stroke-soft);
}
.sidebar-server-row{
  border-radius:14px;
  padding:12px;
  background:rgba(255,255,255,.022);
  border:1px solid transparent;
}
.sidebar-server-row:hover{
  border-color:var(--app-stroke-soft);
  background:rgba(255,255,255,.035);
}
.sidebar-server-row__name{font-weight:700}
.sidebar-server-row__meta{font-size:12px;color:var(--app-muted)}
.sidebar-server-row__status{
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
}
.dashboard-topbar{
  min-height:88px;
  padding:18px 24px;
  background:rgba(9,17,32,.72);
  border-bottom:1px solid var(--app-stroke-soft);
  position:relative;
  z-index:20;
}
.topbar-title-link{
  font-size:15px;
  font-weight:700;
  color:#f3f7ff;
}
.topbar-search input,
.lang-select,
.select,
.input{
  background:rgba(255,255,255,.03);
  border-color:var(--app-stroke-soft);
  color:var(--app-text);
}
.topbar-search input{
  height:46px;
  border-radius:14px;
}
.topbar-search::before{top:11px}
.topbar-bell,
.user-menu__summary,
.hamburger{
  border:1px solid var(--app-stroke-soft);
  background:rgba(255,255,255,.03);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  position:relative;
  z-index:22;
}
.dashboard-content{
  padding:28px;
  background:
    radial-gradient(circle at 14% 12%, rgba(43,99,255,.08), transparent 18%),
    radial-gradient(circle at 86% 14%, rgba(150,89,255,.10), transparent 14%);
}
.subpage-head{
  margin-bottom:20px;
}
.subpage-head--app{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.subpage-head--app h1{
  margin:6px 0 0;
  font-size:38px;
  letter-spacing:-.04em;
}
.subpage-head__meta{
  color:var(--app-muted);
  margin-top:8px;
}
.subpage-head__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn--control{
  min-width:104px;
  height:44px;
  border-radius:12px;
  font-size:14px;
}
.stats-banner,
.metric-card,
.panel,
.workspace-panel,
.settings-card,
.ticket-card,
.subscription-plan,
.profile-card,
.role-card,
.search-panel{
  background:linear-gradient(180deg, rgba(12,21,39,.9), rgba(9,16,30,.9));
  border:1px solid var(--app-stroke-soft);
  border-radius:22px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 24px 60px rgba(0,0,0,.25);
}
.stats-banner{
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding:22px;
}
.stats-banner--app{
  margin-bottom:18px;
}
.stats-banner__label,
.metric-card__label,
.panel__header-meta,
.table-empty,
.muted-text,
.role-card__meta{
  color:var(--app-muted);
}
.stats-banner__value,
.metric-card__value{
  letter-spacing:-.04em;
}
.gauge-box{
  margin-left:auto;
  width:108px;
  height:108px;
  border-radius:24px;
  border:1px solid rgba(130,148,255,.18);
  background:
    radial-gradient(circle at 50% 30%, rgba(92,151,255,.28), transparent 54%),
    linear-gradient(180deg, rgba(130,92,255,.16), rgba(41,84,211,.08));
  display:grid;
  place-items:center;
}
.gauge-box__value{
  font-size:34px;
  font-weight:800;
}
.metric-grid{
  gap:14px;
}
.metric-grid--app{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.metric-card{
  min-height:150px;
  padding:22px;
  position:relative;
  overflow:hidden;
}
.metric-card::before{
  content:"";
  position:absolute;
  inset:auto -30px -30px auto;
  width:120px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(92,151,255,.18), transparent 68%);
  pointer-events:none;
}
.metric-card__value{
  margin-top:16px;
  font-size:36px;
}
.metric-card__value--success{color:var(--app-success)}
.metric-card__hint{
  margin-top:8px;
  color:var(--app-muted);
}
.panel--app{
  padding:24px;
}
.panel__header{
  margin-bottom:20px;
}
.panel__header h2{
  font-size:28px;
  letter-spacing:-.03em;
}
.data-table{
  border-collapse:separate;
  border-spacing:0 10px;
  margin-top:0;
}
.data-table thead th{
  border:none;
  padding:0 16px 8px;
  color:#7f91b4;
  font-size:11px;
  letter-spacing:.1em;
}
.data-table tbody td{
  padding:18px 16px;
  border-top:1px solid var(--app-stroke-soft);
  border-bottom:1px solid var(--app-stroke-soft);
  background:rgba(255,255,255,.02);
}
.data-table tbody td:first-child{
  border-left:1px solid var(--app-stroke-soft);
  border-top-left-radius:14px;
  border-bottom-left-radius:14px;
}
.data-table tbody td:last-child{
  border-right:1px solid var(--app-stroke-soft);
  border-top-right-radius:14px;
  border-bottom-right-radius:14px;
}
.status-badge,
.status-pill{
  background:rgba(85,221,136,.12);
  border:1px solid rgba(85,221,136,.2);
  color:#81f5ad;
}
.table-actions .btn,
.table-btn{
  height:36px;
  padding:0 14px;
  border-radius:10px;
  font-size:13px;
}
.user-menu__dropdown,
.notif-drawer{
  background:linear-gradient(180deg, rgba(12,20,38,.98), rgba(9,16,30,.98));
  border:1px solid var(--app-stroke-soft);
  box-shadow:0 30px 80px rgba(0,0,0,.4);
}
.notif-item,
.member-row,
.role-card,
.team-summary,
.invite-card,
.ticket-card{
  border-color:var(--app-stroke-soft);
}
@media (max-width: 1180px){
  .dashboard-shell{grid-template-columns:1fr;padding:10px}
  .dashboard-sidebar{position:relative;height:auto}
  .metric-grid--app{grid-template-columns:repeat(2,minmax(0,1fr))}
  .subpage-head--app{flex-direction:column}
}
@media (max-width: 720px){
  .dashboard-content{padding:18px}
  .metric-grid--app,
  .stats-banner,
  .sidebar-summary-grid{grid-template-columns:1fr}
  .dashboard-topbar{padding:16px}
  .topbar-search{display:none}
  .subpage-head--app h1{font-size:28px}
}

/* Compact density pass across all app/admin pages */
html{
  font-size:14px;
}
body{
  line-height:1.45;
}
.btn,
.lang-select,
.select,
.input{
  min-height:40px;
  height:40px;
  font-size:13px;
  border-radius:12px;
}
.btn{
  padding:0 16px;
}
.badge,
.status-badge,
.status-pill,
.sidebar-server-row__status,
.role-badge,
.table-btn,
.topbar-bell,
.user-chip,
.notice-banner,
.notice{
  font-size:12px;
}
.dashboard-shell{
  grid-template-columns:260px minmax(0,1fr);
  gap:18px;
  padding:10px;
}
.dashboard-sidebar{
  border-radius:22px;
  padding:16px 14px;
  gap:14px;
}
.dashboard-sidebar .brand{
  padding:6px 8px 10px;
}
.dashboard-sidebar .brand__logo-image{height:28px}
.dashboard-sidebar .brand__title{font-size:16px}
.dashboard-sidebar .brand__subtitle{font-size:10px}
.sidebar-link{
  min-height:40px;
  padding:9px 12px;
  border-radius:12px;
  font-size:14px;
}
.sidebar-icon{
  width:24px;
  height:24px;
  border-radius:8px;
  font-size:12px;
}
.sidebar-summary-grid{gap:8px}
.sidebar-summary-card{
  min-height:68px;
  padding:12px;
  border-radius:16px;
}
.sidebar-summary-card__label{font-size:11px;margin-bottom:6px}
.sidebar-summary-card__value{font-size:22px}
.sidebar-servers-card{
  border-radius:16px;
  padding:12px;
}
.sidebar-servers-card__head{
  min-height:40px;
  font-size:11px;
}
.sidebar-server-row{
  padding:10px;
  border-radius:12px;
}
.sidebar-server-row__name{font-size:13px}
.sidebar-server-row__meta{font-size:11px}
.dashboard-main,
.app-main{
  min-width:0;
}
.dashboard-topbar,
.app-topbar{
  min-height:72px;
  padding:14px 18px;
}
.topbar-title-link,
.app-topbar__label{font-size:14px}
.topbar-search{max-width:480px}
.topbar-search input,
.top-search__input{
  height:40px;
  border-radius:12px;
  font-size:13px;
}
.topbar-search::before{top:8px;font-size:14px}
.topbar-bell,
.user-menu__summary,
.sidebar-toggle,
.icon-pill,
.profile-chip__avatar,
.profile-chip__fallback,
.topbar-avatar{
  width:38px;
  height:38px;
}
.dashboard-content{
  padding:20px;
}
.subpage-head,
.dashboard-head{
  margin-bottom:16px;
  gap:14px;
}
.eyebrow,
.dashboard-kicker,
.kicker,
.section-kicker{
  font-size:11px;
  letter-spacing:.08em;
}
.dashboard-title,
.subpage-head h1,
.subpage-head--app h1,
.page-title,
.section-title{
  font-size:28px;
  line-height:1.08;
}
.dashboard-subtitle,
.subpage-head__meta,
.page-sub,
.table-desc,
.subscription-hero__left p,
.pref-item__text,
.muted-text,
.message-bubble__body,
.ticket-row__meta,
.support-form label,
.label{
  font-size:13px;
}
.subpage-head__actions,
.top-actions,
.action-row,
.table-actions,
.inline-actions,
.inline-form{
  gap:8px;
}
.btn--control,
.btn--tiny,
.table-btn,
.table-actions .btn,
.plan-card .btn,
.support-form__footer .btn{
  min-width:auto;
  height:38px;
  padding:0 14px;
  border-radius:10px;
  font-size:12px;
}
.stats-banner,
.stats-banner--app,
.metric-strip,
.panel,
.panel--app,
.search-panel,
.support-create,
.support-list,
.support-thread,
.subscription-current,
.plan-card,
.profile-card,
.pref-item,
.role-card,
.feature-card,
.cta-panel,
.why-item,
.table-panel,
.server-table-panel{
  border-radius:18px;
}
.stats-banner,
.metric-strip{
  gap:16px;
  padding:16px 18px;
  margin-bottom:18px;
}
.stats-banner__label,
.metric-strip__label,
.metric-card__label,
.summary-card__label,
.plan-card__per,
.plan-card__stats,
.plan-card__desc,
.plan-card__features,
.table-headline,
.data-table th,
.server-table thead th,
.players-table th,
.ticket-row__title,
.notif-item__meta,
.notice,
.notice-banner{
  font-size:12px;
}
.stats-banner__value,
.metric-strip__value,
.summary-card__value,
.metric-card__value,
.plan-card__price,
.table-title,
.server-table-title,
.panel-title,
.subscription-current__name{
  font-size:24px;
}
.gauge-box{
  width:82px;
  height:82px;
  border-radius:18px;
}
.gauge-box__value{font-size:24px}
.metric-grid,
.metric-grid--app,
.summary-grid,
.plan-grid,
.feature-grid,
.profile-grid,
.prefs-grid,
.support-layout,
.dashboard-bottom-grid,
.roles-layout,
.subpage-layout{
  gap:16px;
}
.metric-grid--app{grid-template-columns:repeat(4,minmax(0,1fr))}
.metric-card,
.summary-card,
.saas-card{
  min-height:112px;
  padding:16px;
  border-radius:18px;
}
.metric-card__value{
  margin-top:12px;
}
.metric-card__hint,
.stats-banner__hint,
.saas-sub,
.summary-card__label,
.notification-item__text{
  margin-top:6px;
}
.metric-card::before{
  width:88px;
  height:88px;
}
.saas-card{padding:16px}
.saas-card__top{font-size:13px}
.saas-icon{
  width:30px;
  height:30px;
}
.saas-value{margin-top:18px;font-size:28px}
.panel,
.panel--app,
.table-panel,
.server-table-panel,
.form-panel,
.players-panel{
  padding:18px;
}
.panel__header{margin-bottom:16px}
.panel__header h2,
.support-thread__header h2,
.support-create .section-title,
.subscription-hero__left h1{
  font-size:22px;
}
.data-table thead th,
.server-table thead th,
.players-table th{
  letter-spacing:.08em;
}
.data-table tbody td,
.server-table th,
.server-table td,
.players-table th,
.players-table td,
.data-table th,
.data-table td{
  padding:14px 12px;
}
.data-table{border-spacing:0 8px}
.subscription-mini-card,
.subscription-current,
.plan-card,
.support-create,
.support-list,
.support-thread{
  padding:18px;
}
.subscription-mini-card__name,
.plan-card__name,
.subscription-current__name{font-size:22px}
.ticket-row,
.message-bubble,
.notif-item,
.drawer-card{
  border-radius:14px;
  padding:12px 14px;
}
.textarea{
  min-height:180px;
  padding:14px;
  font-size:14px;
}
.footer h4{font-size:16px}
.footer .brand__title{font-size:24px}
.footer p,
.footer li,
.footer__copy,
.auth-note{font-size:13px}
.auth-panels .panel,
.panel{padding:20px}
.panel h2{font-size:28px}
.hero{
  gap:28px;
  padding:40px 0 24px;
}
.hero__title{font-size:56px}
.hero__text{font-size:18px}
.hero__quick,.mock-cards{gap:14px}
.feature-card h3,.why-item h3{font-size:20px}
.cta-panel__title{font-size:32px}
@media (max-width: 1180px){
  .metric-grid--app,
  .summary-grid,
  .plan-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 720px){
  html{font-size:13px}
  .dashboard-content{padding:16px}
  .dashboard-title,
  .subpage-head h1,
  .subpage-head--app h1,
  .page-title,
  .section-title{font-size:24px}
}


.btn.is-active{
  background:linear-gradient(135deg, rgba(123,82,255,.22), rgba(60,121,255,.14));
  border-color:rgba(162,138,255,.28);
}


/* User menu header fix */
.user-menu{
  position:relative;
}
.user-menu__summary{
  width:auto !important;
  min-width:120px;
  height:44px !important;
  padding:0 12px !important;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.user-menu__summary span:last-child{
  display:inline-block;
  max-width:140px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  font-weight:700;
  color:#eef4ff;
}
.user-menu__summary .user-chip__avatar{
  width:32px;
  height:32px;
  min-width:32px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  object-fit:cover;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.user-menu__summary img.user-chip__avatar{
  display:block;
}
.user-menu__summary .user-chip__avatar--fallback{
  background:linear-gradient(135deg,var(--blue),var(--violet));
  color:#fff;
  font-size:13px;
  font-weight:800;
}
@media (max-width: 720px){
  .user-menu__summary{
    min-width:unset;
    padding:0 10px !important;
  }
  .user-menu__summary span:last-child{
    max-width:92px;
  }
}


/* CMS / web admin extras */
.cms-tabbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 18px;
}
.cms-tabbar .btn.is-active{
  background:linear-gradient(135deg, var(--violet), var(--blue-2));
  border-color:rgba(255,255,255,.08);
}
.cms-admin-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:16px;
  align-items:start;
}
.cms-check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 16px;
}
.cms-page-content{
  margin-top:18px;
  color:#d9e4fb;
  line-height:1.75;
  font-size:15px;
}
@media (max-width: 1100px){
  .cms-admin-grid,
  .cms-check-grid{
    grid-template-columns:1fr;
  }
}

/* Sidebar server card polish */
.sidebar-servers-card__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.sidebar-servers-card__icon span{
  display:block;
  transform:translateY(-.5px);
}
.sidebar-server-row{
  align-items:stretch;
}
.sidebar-server-row__body{
  width:100%;
  min-width:0;
}
.sidebar-server-row__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.sidebar-server-row__name{
  min-width:0;
  line-height:1.25;
  word-break:break-word;
}
.sidebar-server-row__status{
  flex:0 0 auto;
}
.sidebar-servers-card__body{
  gap:6px;
  max-height:none;
  overflow:visible;
}
.sidebar-server-row{
  min-height:44px;
  padding:10px 12px;
}
.sidebar-server-row__top{
  align-items:center;
}
.sidebar-server-row__name{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar-server-row__chips,
.server-mini__chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.sidebar-chip,
.server-mini__chip{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#dce6fb;
  font-size:11px;
  font-weight:700;
}
.server-cell-title{
  font-weight:800;
  color:#f4f7ff;
}
.server-cell-meta{
  margin-top:4px;
  font-size:12px;
  color:var(--app-muted);
}
.server-cell-live{
  font-weight:700;
  color:#eef4ff;
  line-height:1.45;
  word-break:break-word;
}
.status-badge.is-online{
  background:rgba(40,199,111,.14);
  color:#9af1bb;
  border:1px solid rgba(40,199,111,.24);
}
.status-badge.is-offline{
  background:rgba(255,255,255,.06);
  color:#dbe5f8;
  border:1px solid rgba(255,255,255,.08);
}
.server-mini__body{
  min-width:0;
}
.server-mini__body strong{
  display:block;
  line-height:1.25;
  word-break:break-word;
}

/* Mobile dashboard hardening */
@media (max-width: 860px){
  body:has(.dashboard-shell){overflow-x:hidden;}
  .dashboard-shell{display:block;min-height:100vh;padding:0;}
  .dashboard-sidebar{position:relative;inset:auto;width:100%;height:auto;transform:none;border-radius:0;border-width:0 0 1px;padding:12px;overflow:visible;}
  .dashboard-sidebar .brand{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;margin-bottom:12px;}
  .dashboard-sidebar .brand__subtitle{white-space:normal;}
  .sidebar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .sidebar-link{min-height:44px;padding:10px;border-radius:12px;}
  .sidebar-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;}
  .sidebar-summary-card{min-width:0;padding:10px 8px;}
  .sidebar-summary-card__label{font-size:10px;}
  .sidebar-summary-card__value{font-size:20px;}
  .sidebar-servers-card{margin-top:12px;}
  .sidebar-servers-card__body{display:grid;gap:8px;max-height:none;overflow:visible;}
  .dashboard-main{min-width:0;width:100%;}
  .dashboard-topbar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr;gap:10px;padding:12px;border-radius:0;}
  .topbar-left,.topbar-right{min-width:0;width:100%;justify-content:space-between;}
  .topbar-search{order:3;width:100%;}
  .topbar-search input{width:100%;min-height:44px;}
  .user-menu__summary span{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .dashboard-content{padding:14px;width:100%;max-width:100%;}
  .subpage-head,.subpage-head--app{display:grid;grid-template-columns:1fr;gap:14px;padding:16px;}
  .subpage-head h1,.subpage-head--app h1{font-size:clamp(24px,8vw,34px);line-height:1.05;overflow-wrap:anywhere;}
  .subpage-head__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;}
  .subpage-head__actions .btn,.btn--control{width:100%;min-height:42px;padding:10px 12px;}
  .stats-banner,.stats-banner--app,.metric-grid,.metric-strip,.form-grid,.two-col,.subpage-layout{grid-template-columns:1fr !important;gap:12px;}
  .stats-banner{padding:14px;}
  .stats-banner__value{font-size:clamp(24px,9vw,36px);}
  .dashboard-panel,.summary-card,.server-card,.table-panel,.server-table-panel,.form-card,.section-card{padding:14px;border-radius:14px;max-width:100%;}
  .server-table-panel,.table-panel,.log-table-shell{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .server-table,.log-table{min-width:680px;}
  .notif-drawer{width:min(100vw,420px);}
}

@media (max-width: 520px){
  .sidebar-nav{grid-template-columns:1fr;}
  .sidebar-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .subpage-head__actions{grid-template-columns:1fr;}
  .topbar-right{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;}
  .lang-select{width:100%;}
}

/* Final dashboard header safeguards */
.dashboard-sidebar .brand__logo{
  width:34px;
  height:34px;
  min-width:34px;
}
.dashboard-sidebar .brand__logo-image{
  width:100%;
  height:100%;
  object-fit:contain;
}
.dashboard-topbar,
.dashboard-content,
.notif-overlay,
.notif-drawer{
  position:relative;
}
.notif-overlay,
.notif-drawer{
  position:fixed;
}
.dashboard-main{
  overflow:visible;
}
.dashboard-main .notif-overlay,
.dashboard-main .notif-drawer,
.notif-overlay,
.notif-drawer{
  position:fixed;
}
.dashboard-main .notif-overlay,
.notif-overlay{
  z-index:9000;
}
.dashboard-main .notif-drawer,
.notif-drawer{
  z-index:9001;
}

/* Team web presence */
.team-presence-panel{
  display:grid;
  gap:18px;
}
.team-presence-panel--compact{
  gap:12px;
  padding:16px 18px;
  margin-bottom:18px;
}
.team-presence-panel--compact .eyebrow{
  font-size:10px;
}
.team-presence-panel--compact .panel__header h2{
  margin-top:3px;
  font-size:20px;
}
.team-presence-panel--compact .panel__header-meta{
  margin-top:2px;
  font-size:11px;
}
.team-presence-panel__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:0;
}
.team-presence-panel__summary{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border:1px solid rgba(58,211,137,.22);
  border-radius:8px;
  background:rgba(58,211,137,.08);
  color:#a8b8d8;
  white-space:nowrap;
}
.team-presence-panel__summary strong{
  color:#f4f8ff;
  font-size:18px;
}
.team-presence-panel__pulse{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#36d68c;
  box-shadow:0 0 0 5px rgba(54,214,140,.12);
}
.team-presence-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.team-presence-member{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:9px 10px;
  border:1px solid var(--app-stroke-soft);
  border-radius:8px;
  background:rgba(255,255,255,.025);
}
.team-presence-member[data-team-chat-user]{cursor:pointer}
.team-presence-member[data-team-chat-user]:hover{
  border-color:rgba(104,132,255,.34);
  background:rgba(72,98,190,.12);
}
.team-message-badge{
  display:none;min-width:19px;height:19px;padding:0 5px;place-items:center;
  border-radius:10px;background:#ff5578;color:#fff;font-size:10px;font-weight:900;
}
.team-message-badge.is-visible{display:grid}
.team-chat{
  position:fixed;right:22px;bottom:18px;z-index:120;display:none;
  grid-template-rows:auto minmax(180px,1fr) auto;width:min(370px,calc(100vw - 32px));
  height:min(520px,calc(100vh - 110px));overflow:hidden;border:1px solid rgba(115,126,255,.32);
  border-radius:14px;background:#0b1530;box-shadow:0 24px 70px rgba(0,0,0,.48);
}
.team-chat.is-open{display:grid}
.team-chat__head{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:#111e40}
.team-chat__avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border-radius:8px;background:#26365d;color:#fff;font-weight:900}
.team-chat__avatar img{width:100%;height:100%;object-fit:cover}
.team-chat__identity{display:grid;min-width:0;gap:1px}
.team-chat__identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.team-chat__identity span{color:#8ee8b8;font-size:12px}
.team-chat__close{width:32px;height:32px;margin-left:auto;border:0;border-radius:7px;background:rgba(255,255,255,.06);color:#dce6ff;font-size:20px;cursor:pointer}
.team-chat__messages{display:flex;flex-direction:column;gap:8px;overflow-y:auto;padding:14px;scrollbar-color:#42538c transparent}
.team-chat__empty{margin:auto;color:#7f90b5;font-size:13px;text-align:center}
.team-chat__message{align-self:flex-start;max-width:84%;padding:8px 10px;border-radius:10px;background:#172647;color:#eaf0ff;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.team-chat__message.is-mine{align-self:flex-end;background:#3d55b5}
.team-chat__time{display:block;margin-top:4px;color:#aab9dd;font-size:10px}
.team-chat__form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;border-top:1px solid rgba(255,255,255,.08);background:#101c39}
.team-chat__form input{min-width:0;height:40px;padding:0 11px;border:1px solid rgba(149,174,255,.16);border-radius:8px;background:#09142c;color:#fff}
.team-chat__send{height:40px;padding:0 14px;border:0;border-radius:8px;background:#586dff;color:#fff;font-weight:800;cursor:pointer}
.team-chat__error{grid-column:1/-1;color:#ff9cae;font-size:11px}
.team-message-toast{
  position:fixed;right:22px;bottom:18px;z-index:130;display:none;max-width:320px;
  padding:12px 14px;border:1px solid rgba(115,126,255,.35);border-radius:10px;
  background:#14234a;color:#fff;box-shadow:0 18px 50px rgba(0,0,0,.4);cursor:pointer;
}
.team-message-toast.is-visible{display:block}
.team-message-toast strong{display:block;margin-bottom:3px}
.team-message-toast span{color:#afbee0;font-size:12px}
@media (max-width:640px){
  .team-chat{right:8px;bottom:8px;width:calc(100vw - 16px);height:min(520px,calc(100vh - 80px))}
  .team-message-toast{right:8px;bottom:8px;max-width:calc(100vw - 16px)}
}
.team-presence-member.is-offline{
  opacity:.7;
}
.team-presence-member__avatar{
  position:relative;
  width:36px;
  height:36px;
  border-radius:8px;
  display:grid;
  place-items:center;
  overflow:visible;
  background:#26365d;
  color:#f5f8ff;
  font-weight:900;
}
.team-presence-member__avatar img{
  width:100%;
  height:100%;
  border-radius:8px;
  object-fit:cover;
}
.team-presence-member__avatar i{
  position:absolute;
  right:-2px;
  bottom:-2px;
  width:12px;
  height:12px;
  border-radius:50%;
  border:2px solid #101a31;
  background:#65728d;
}
.team-presence-member.is-online .team-presence-member__avatar i{
  background:#36d68c;
  box-shadow:0 0 8px rgba(54,214,140,.55);
}
.team-presence-member__body{
  min-width:0;
  display:grid;
  gap:4px;
}
.team-presence-member__body strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f4f7ff;
}
.team-presence-member__body span{
  color:var(--presence-role-color,#8da8e8);
  font-size:12px;
  font-weight:800;
}
.team-presence-member__state{
  display:grid;
  gap:3px;
  text-align:right;
}
.team-presence-member__state strong{
  color:#aab8d4;
  font-size:12px;
}
.team-presence-member.is-online .team-presence-member__state strong{
  color:#7aefb4;
}
.team-presence-member__state span{
  color:#7789ad;
  font-size:11px;
  white-space:nowrap;
}
.team-presence-panel__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#8092b6;
  font-size:12px;
}
.team-presence-panel__footer a{
  color:#8eacff;
  font-weight:800;
  text-decoration:none;
}
.team-member-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#8c9dbc;
  font-size:12px;
  font-weight:800;
}
.team-member-status i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#65728d;
}
.team-member-status.is-online{
  color:#7aefb4;
}
.team-member-status.is-online i{
  background:#36d68c;
  box-shadow:0 0 7px rgba(54,214,140,.5);
}
@media (max-width:1100px){
  .team-presence-list{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  .team-presence-panel__header,
  .team-presence-panel__footer{align-items:flex-start;flex-direction:column;}
  .team-presence-list{grid-template-columns:1fr;}
  .team-presence-member{grid-template-columns:36px minmax(0,1fr);}
  .team-presence-member__state{grid-column:2;text-align:left;}
}

/* Admin user/server ownership */
.admin-server-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.admin-server-summary article{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:72px;
  padding:14px 18px;
  border:1px solid var(--app-stroke-soft);
  border-radius:8px;
  background:rgba(255,255,255,.025);
}
.admin-server-summary span{color:var(--app-muted);font-size:13px}
.admin-server-summary strong{color:#f5f8ff;font-size:25px}
.admin-user-server-list{display:grid;gap:12px}
.admin-user-server-card{
  border:1px solid var(--app-stroke-soft);
  border-radius:8px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(12,21,39,.92),rgba(8,16,30,.94));
}
.admin-user-server-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border-bottom:1px solid var(--app-stroke-soft);
}
.admin-user-server-card__badges{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.admin-user-server-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.admin-user-server-groups>section{min-width:0;padding:14px 16px}
.admin-user-server-groups>section+section{border-left:1px solid var(--app-stroke-soft)}
.admin-user-server-group__title{
  margin-bottom:9px;
  color:#829cff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.admin-server-row-list{display:grid;gap:6px}
.admin-server-row{
  display:grid;
  grid-template-columns:9px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:9px 10px;
  border:1px solid rgba(164,190,255,.08);
  border-radius:7px;
  background:rgba(255,255,255,.022);
}
.admin-server-row.is-shared{background:rgba(78,134,255,.045)}
.admin-server-row__status{width:8px;height:8px;border-radius:50%;background:#65728d}
.admin-server-row__status.is-online{background:#36d68c;box-shadow:0 0 7px rgba(54,214,140,.5)}
.admin-server-row__body{min-width:0;display:grid;gap:2px}
.admin-server-row__body strong,.admin-server-row__body span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-server-row__body strong{color:#f2f6ff;font-size:13px}
.admin-server-row__body span{color:#7f91b4;font-size:11px}
.admin-server-row__meta{display:flex;align-items:center;gap:9px;color:#9eb0d3;font-size:11px;font-weight:800}
.admin-server-row__meta a{color:#89a9ff}
.admin-user-server-empty{padding:10px;color:#7586aa;font-size:12px}
@media (max-width:900px){
  .admin-user-server-groups{grid-template-columns:1fr}
  .admin-user-server-groups>section+section{border-left:0;border-top:1px solid var(--app-stroke-soft)}
}
@media (max-width:650px){
  .admin-server-summary{grid-template-columns:1fr}
  .admin-user-server-card__head{align-items:flex-start;flex-direction:column}
  .admin-user-server-card__badges{justify-content:flex-start}
  .admin-server-row{grid-template-columns:9px minmax(0,1fr)}
  .admin-server-row__meta{grid-column:2}
}
