    :root {
      --rs-bg: #050607;
      --rs-bg-soft: #080a11;
      --rs-panel: rgba(14, 17, 27, 0.82);
      --rs-panel-strong: rgba(19, 23, 36, 0.94);
      --rs-card: rgba(255, 255, 255, 0.065);
      --rs-card-soft: rgba(255, 255, 255, 0.035);
      --rs-border: rgba(255, 255, 255, 0.12);
      --rs-border-strong: rgba(255, 255, 255, 0.22);
      --rs-text: #f8fff9;
      --rs-muted: #aeb7c9;
      --rs-muted-2: #758096;
      --rs-green: #91ff5f;
      --rs-green-2: #19f69b;
      --rs-purple: #c073ff;
      --rs-purple-2: #7d4dff;
      --rs-red: #ff517c;
      --rs-yellow: #ecff8f;
      --rs-radius: 28px;
      --rs-radius-sm: 18px;
      --rs-sidebar: 292px;
      --rs-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
      --rs-glow-green: 0 0 28px rgba(145, 255, 95, 0.28), 0 0 90px rgba(25, 246, 155, 0.12);
      --rs-glow-purple: 0 0 28px rgba(192, 115, 255, 0.30), 0 0 90px rgba(125, 77, 255, 0.14);
      --rs-transition: 220ms ease;
    }

    html.theme-light {
      --rs-bg: #eef3fb;
      --rs-bg-soft: #e5ebf7;
      --rs-panel: rgba(255, 255, 255, 0.86);
      --rs-panel-strong: rgba(255, 255, 255, 0.96);
      --rs-card: rgba(15, 31, 63, 0.06);
      --rs-card-soft: rgba(15, 31, 63, 0.035);
      --rs-border: rgba(24, 44, 82, 0.16);
      --rs-border-strong: rgba(24, 44, 82, 0.28);
      --rs-text: #111a2c;
      --rs-muted: #43516c;
      --rs-muted-2: #5a6781;
      --rs-shadow: 0 20px 70px rgba(24, 44, 82, 0.18);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      overflow-x: hidden;
      color: var(--rs-text);
      background:
        radial-gradient(circle at 12% 16%, rgba(145, 255, 95, 0.16), transparent 28rem),
        radial-gradient(circle at 85% 6%, rgba(192, 115, 255, 0.22), transparent 34rem),
        radial-gradient(circle at 55% 90%, rgba(25, 246, 155, 0.08), transparent 32rem),
        linear-gradient(135deg, #040506 0%, #080912 46%, #050607 100%);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    html.theme-light body {
      background:
        radial-gradient(circle at 12% 16%, rgba(25, 246, 155, 0.16), transparent 28rem),
        radial-gradient(circle at 85% 6%, rgba(125, 77, 255, 0.18), transparent 34rem),
        linear-gradient(135deg, #f4f7ff 0%, #ecf2fb 46%, #e9eef9 100%);
      color-scheme: light;
    }

    body::selection {
      color: #071006;
      background: var(--rs-green);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    .admin-bg-grid,
    .admin-scanline,
    .admin-orb {
      pointer-events: none;
      position: fixed;
    }

    .admin-bg-grid {
      inset: 0;
      z-index: -4;
      opacity: .42;
      background-image:
        linear-gradient(rgba(145, 255, 95, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 115, 255, .075) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
    }

    .admin-scanline {
      inset: 0;
      z-index: -3;
      opacity: .09;
      background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, .07) 0,
        rgba(255, 255, 255, .07) 1px,
        transparent 1px,
        transparent 8px
      );
    }

    .admin-orb {
      border-radius: 999px;
      filter: blur(90px);
      z-index: -5;
      opacity: .36;
    }

    .orb-green {
      width: 25rem;
      height: 25rem;
      left: -11rem;
      top: 8rem;
      background: var(--rs-green-2);
    }

    .orb-purple {
      width: 30rem;
      height: 30rem;
      right: -12rem;
      top: 2rem;
      background: var(--rs-purple-2);
    }

    .orb-center {
      width: 24rem;
      height: 24rem;
      left: 38%;
      bottom: -12rem;
      background: rgba(145, 255, 95, .38);
    }

    .glass-panel {
      border: 1px solid var(--rs-border);
      background:
        linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028)),
        var(--rs-panel);
      box-shadow: var(--rs-shadow);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
    }

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  font-weight: 950;
  letter-spacing: -.045em;
}

    .brand-mark {
      display: grid;
      place-items: center;
      width: clamp(118px, 12vw, 154px);
      height: clamp(44px, 4.2vw, 56px);
      border: 0;
      border-radius: 0;
      color: inherit;
      background: transparent;
      box-shadow: none;
      font-size: 1rem;
    }

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
}

    .brand-fallback {
      display: none;
      font-size: .84rem;
      line-height: 1;
      font-weight: 900;
      letter-spacing: .01em;
      color: var(--rs-text);
      text-transform: uppercase;
      text-align: center;
      padding-inline: .1rem;
    }

    .brand-text {
      display: grid;
      line-height: 1;
      font-size: 1.2rem;
    }

    .brand-text span {
      color: var(--rs-green);
      text-shadow: 0 0 20px rgba(145, 255, 95, .45);
    }

    .brand-text small {
      margin-top: .25rem;
      color: var(--rs-muted-2);
      font-size: .65rem;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .admin-sidebar {
      position: fixed;
      top: 18px;
      bottom: 18px;
      left: 18px;
      z-index: 1040;
      width: var(--rs-sidebar);
      flex-direction: column;
      border-radius: 30px;
      overflow: hidden;
    }

.sidebar-inner {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.25rem;
}

.admin-sidebar .brand-lockup,
.admin-offcanvas .brand-lockup {
  width: 100%;
  justify-content: center;
}

.admin-topbar > .brand-lockup {
  justify-content: center;
}

    .sidebar-status {
      margin-top: 1.3rem;
      padding: 1rem;
      border: 1px solid rgba(145, 255, 95, .2);
      border-radius: 22px;
      background:
        radial-gradient(circle at 10% 0%, rgba(145, 255, 95, .22), transparent 14rem),
        rgba(145, 255, 95, .045);
    }

    .sidebar-status strong {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      color: var(--rs-green);
      font-size: .78rem;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .sidebar-status p {
      margin: .55rem 0 0;
      color: var(--rs-muted);
      font-size: .9rem;
    }

    .pulse-dot {
      display: inline-flex;
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--rs-green);
      box-shadow: 0 0 0 0 rgba(145, 255, 95, .65);
      animation: pulseDot 1.8s infinite;
    }

    @keyframes pulseDot {
      0% { box-shadow: 0 0 0 0 rgba(145, 255, 95, .65); }
      70% { box-shadow: 0 0 0 10px rgba(145, 255, 95, 0); }
      100% { box-shadow: 0 0 0 0 rgba(145, 255, 95, 0); }
    }

    .admin-nav {
      display: grid;
      gap: .65rem;
      margin-top: calc(1.4rem + 20px);
    }

    .admin-nav a,
    .admin-nav button {
      position: relative;
      display: flex;
      align-items: center;
      gap: .8rem;
      min-height: 48px;
      padding: .75rem .9rem;
      overflow: hidden;
      border: 1px solid transparent;
      border-radius: 17px;
      color: var(--rs-muted);
      background: transparent;
      text-align: left;
      transition: transform var(--rs-transition), color var(--rs-transition), border-color var(--rs-transition), background var(--rs-transition);
    }

    .admin-nav a i,
    .admin-nav button i {
      display: grid;
      place-items: center;
      width: 30px;
      height: 30px;
      border-radius: 12px;
      color: var(--rs-green);
      background: rgba(145, 255, 95, .08);
    }

    .admin-nav a:hover,
    .admin-nav a.active,
    .admin-nav button:hover,
    .admin-nav button.active {
      transform: translateX(3px);
      border-color: rgba(145, 255, 95, .26);
      color: #fff;
      background: linear-gradient(135deg, rgba(145, 255, 95, .14), rgba(192, 115, 255, .09));
      box-shadow: 0 0 30px rgba(145, 255, 95, .10);
    }

    .admin-nav a.active::after,
    .admin-nav button.active::after {
      content: "";
      position: absolute;
      right: .85rem;
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--rs-green);
      box-shadow: 0 0 18px rgba(145, 255, 95, .82);
    }

    .sidebar-footer {
      margin-top: auto;
      padding: 1rem;
      border: 1px solid rgba(192, 115, 255, .18);
      border-radius: 22px;
      background:
        radial-gradient(circle at 100% 0%, rgba(192, 115, 255, .20), transparent 12rem),
        rgba(255, 255, 255, .035);
    }

    .sidebar-footer small {
      display: block;
      color: var(--rs-muted-2);
    }

    .sidebar-footer strong {
      display: block;
      margin-top: .2rem;
      color: var(--rs-purple);
      text-shadow: 0 0 18px rgba(192, 115, 255, .40);
    }

    .admin-main {
      min-height: 100vh;
      padding: 18px 18px 18px calc(var(--rs-sidebar) + 36px);
    }

    .admin-topbar {
      position: sticky;
      top: 18px;
      z-index: 1020;
      display: flex;
      align-items: center;
      gap: 1rem;
      min-height: 76px;
      padding: .75rem;
      border-radius: 28px;
    }

    .mobile-menu-btn,
    .icon-btn {
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      width: 46px;
      height: 46px;
      border: 1px solid var(--rs-border);
      border-radius: 16px;
      color: #fff;
      background: rgba(255, 255, 255, .055);
      transition: transform var(--rs-transition), border-color var(--rs-transition), background var(--rs-transition);
    }

    .mobile-menu-btn:hover,
    .icon-btn:hover {
      transform: translateY(-2px);
      border-color: rgba(145, 255, 95, .35);
      background: rgba(145, 255, 95, .09);
    }

    .notification-btn {
      position: relative;
      overflow: visible;
    }

    .notification-btn.has-notifications {
      border-color: rgba(145, 255, 95, .52);
      box-shadow: 0 0 0 1px rgba(145, 255, 95, .24), 0 0 24px rgba(145, 255, 95, .22);
    }

    .notification-badge {
      position: absolute;
      top: -7px;
      right: -7px;
      min-width: 21px;
      height: 21px;
      padding: 0 .35rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, .45);
      border-radius: 999px;
      color: #041106;
      background: linear-gradient(135deg, var(--rs-green), var(--rs-green-2));
      font-size: .68rem;
      font-weight: 900;
      line-height: 1;
      box-shadow: 0 0 16px rgba(145, 255, 95, .32);
      pointer-events: none;
    }

    .top-search {
      position: relative;
      flex: 1 1 auto;
      min-width: 180px;
    }

    .top-search i {
      position: absolute;
      left: 1rem;
      top: 50%;
      color: var(--rs-green);
      transform: translateY(-50%);
    }

    .top-search input {
      width: 100%;
      min-height: 48px;
      padding: .8rem 1rem .8rem 2.7rem;
      border: 1px solid var(--rs-border);
      border-radius: 999px;
      color: #fff;
      outline: none;
      background: rgba(255, 255, 255, .05);
      transition: border-color var(--rs-transition), box-shadow var(--rs-transition), background var(--rs-transition);
    }

    .top-search input:focus {
      border-color: rgba(145, 255, 95, .55);
      background: rgba(145, 255, 95, .055);
      box-shadow: 0 0 0 .2rem rgba(145, 255, 95, .10), var(--rs-glow-green);
    }

    .top-search-results {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + .45rem);
      z-index: 1200;
      max-height: min(58vh, 420px);
      overflow: auto;
      padding: .55rem;
      border: 1px solid var(--rs-border);
      border-radius: 18px;
      background: rgba(10, 14, 22, .96);
      backdrop-filter: blur(16px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
    }

    .top-search-result {
      width: 100%;
      display: block;
      margin: 0;
      padding: .62rem .68rem;
      border: 1px solid transparent;
      border-radius: 12px;
      color: var(--rs-text);
      background: transparent;
      text-align: left;
      transition: border-color var(--rs-transition), background var(--rs-transition);
    }

    .top-search-result + .top-search-result {
      margin-top: .4rem;
    }

    .top-search-result:hover,
    .top-search-result.is-active {
      border-color: rgba(145, 255, 95, .28);
      background: rgba(145, 255, 95, .10);
    }

    .top-search-result strong {
      display: block;
      font-size: .92rem;
    }

    .top-search-result small {
      display: block;
      margin-top: .15rem;
      color: var(--rs-muted-2);
      font-size: .78rem;
      line-height: 1.35;
    }

    .top-search-empty {
      padding: .65rem;
      border: 1px dashed var(--rs-border);
      border-radius: 12px;
      color: var(--rs-muted);
      font-size: .86rem;
      text-align: center;
    }

    .admin-profile {
      display: inline-flex;
      align-items: center;
      gap: .75rem;
      min-height: 50px;
      padding: .4rem .6rem .4rem .45rem;
      border: 1px solid var(--rs-border);
      border-radius: 999px;
      background: rgba(255, 255, 255, .055);
    }

    .admin-avatar {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 999px;
      color: #13051f;
      background: linear-gradient(135deg, var(--rs-purple), var(--rs-green));
      box-shadow: 0 0 24px rgba(192, 115, 255, .28);
      font-weight: 950;
    }

    .admin-profile span {
      display: grid;
      line-height: 1.05;
      font-size: .9rem;
      font-weight: 850;
    }

    .admin-profile small {
      margin-top: .2rem;
      color: var(--rs-muted-2);
      font-size: .72rem;
      font-weight: 700;
    }

    .admin-content {
      padding: 18px 0 0;
    }

    .dashboard-hero {
      position: relative;
      overflow: hidden;
      padding: clamp(1.2rem, 3vw, 2rem);
      border-radius: 34px;
      background:
        radial-gradient(circle at 90% 12%, rgba(192, 115, 255, .28), transparent 30rem),
        radial-gradient(circle at 5% 10%, rgba(145, 255, 95, .20), transparent 26rem),
        linear-gradient(135deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
    }

    .dashboard-hero::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg, rgba(145, 255, 95, .62), rgba(192, 115, 255, .48), rgba(255, 255, 255, .08));
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      mask-composite: exclude;
      pointer-events: none;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      padding: .5rem .85rem;
      border: 1px solid rgba(145, 255, 95, .28);
      border-radius: 999px;
      color: var(--rs-green);
      background: rgba(145, 255, 95, .07);
      font-size: .78rem;
      font-weight: 900;
      letter-spacing: .14em;
      text-transform: uppercase;
      box-shadow: 0 0 28px rgba(145, 255, 95, .10);
    }

    .hero-title {
      margin: .9rem 0 .7rem;
      font-size: clamp(2rem, 4vw, 4.15rem);
      font-weight: 950;
      letter-spacing: -.07em;
      line-height: .95;
    }

    .text-gradient {
      color: transparent;
      background: linear-gradient(90deg, var(--rs-green), var(--rs-purple) 62%, #fff);
      -webkit-background-clip: text;
      background-clip: text;
      filter: drop-shadow(0 0 24px rgba(145, 255, 95, .20));
    }

    .hero-copy {
      max-width: 680px;
      color: var(--rs-muted);
      font-size: clamp(.98rem, 1.6vw, 1.08rem);
      line-height: 1.7;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: .8rem;
      margin-top: 1.3rem;
    }

    .btn-neon,
    .btn-purple,
    .btn-ghost {
      min-height: 46px;
      border-radius: 999px;
      font-weight: 900;
      letter-spacing: -.01em;
    }

    .btn-neon {
      border: 0;
      color: #061006;
      background: linear-gradient(135deg, var(--rs-green), var(--rs-green-2));
      box-shadow: var(--rs-glow-green);
    }

    .btn-neon:hover {
      color: #061006;
      transform: translateY(-2px);
      filter: brightness(1.05);
    }

    .btn-purple {
      border: 1px solid rgba(192, 115, 255, .40);
      color: #fff;
      background: linear-gradient(135deg, rgba(192, 115, 255, .95), rgba(125, 77, 255, .78));
      box-shadow: var(--rs-glow-purple);
    }

    .btn-purple:hover {
      color: #fff;
      transform: translateY(-2px);
      filter: brightness(1.08);
    }

    .btn-ghost {
      border: 1px solid var(--rs-border);
      color: #fff;
      background: rgba(255, 255, 255, .055);
    }

    .btn-ghost:hover {
      border-color: rgba(145, 255, 95, .36);
      color: #fff;
      background: rgba(145, 255, 95, .08);
    }

    .hero-console {
      position: relative;
      min-height: 100%;
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 28px;
      background: rgba(5, 6, 8, .54);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 80px rgba(0, 0, 0, .35);
    }

    .console-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      margin-bottom: 1rem;
    }

    .console-live {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      padding: .35rem .7rem;
      border-radius: 999px;
      color: var(--rs-green);
      background: rgba(145, 255, 95, .08);
      font-size: .76rem;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .mini-wave {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .22rem;
      height: 118px;
      padding: .75rem;
      overflow: hidden;
      border: 1px solid rgba(145, 255, 95, .14);
      border-radius: 24px;
      background:
        linear-gradient(90deg, rgba(145, 255, 95, .08), rgba(192, 115, 255, .08)),
        rgba(255, 255, 255, .035);
    }

    .mini-wave span {
      display: block;
      width: clamp(5px, .8vw, 10px);
      height: var(--h);
      min-height: 16px;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--rs-green), var(--rs-purple));
      box-shadow: 0 0 20px rgba(145, 255, 95, .22);
      animation: wavePulse 1.6s ease-in-out infinite;
      animation-delay: calc(var(--i) * -90ms);
    }

    @keyframes wavePulse {
      0%, 100% { transform: scaleY(.72); opacity: .65; }
      50% { transform: scaleY(1.08); opacity: 1; }
    }

    .console-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: .75rem;
      margin-top: .75rem;
    }

    .console-tile {
      padding: .85rem;
      border: 1px solid var(--rs-border);
      border-radius: 20px;
      background: rgba(255, 255, 255, .046);
    }

    .console-tile small {
      display: block;
      color: var(--rs-muted-2);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .console-tile strong {
      display: block;
      margin-top: .3rem;
      font-size: 1.15rem;
    }

    .kpi-card,
    .content-card {
      position: relative;
      height: 100%;
      overflow: hidden;
      border-radius: var(--rs-radius);
    }

    .kpi-card {
      padding: 1.15rem;
      transition: transform var(--rs-transition), border-color var(--rs-transition), box-shadow var(--rs-transition);
    }

    .kpi-card:hover,
    .content-card:hover {
      transform: translateY(-3px);
      border-color: rgba(145, 255, 95, .24);
      box-shadow: 0 24px 70px rgba(0, 0, 0, .36), 0 0 42px rgba(145, 255, 95, .08);
    }

    .kpi-card::after {
      content: "";
      position: absolute;
      width: 130px;
      height: 130px;
      right: -46px;
      bottom: -56px;
      border-radius: 999px;
      background: rgba(145, 255, 95, .12);
      filter: blur(4px);
    }

    .kpi-card.purple::after {
      background: rgba(192, 115, 255, .15);
    }

    .kpi-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: .85rem;
    }

    .kpi-icon {
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      width: 48px;
      height: 48px;
      border-radius: 17px;
      color: #061006;
      background: linear-gradient(135deg, var(--rs-green), var(--rs-green-2));
      box-shadow: var(--rs-glow-green);
      font-size: 1.25rem;
    }

    .kpi-card.purple .kpi-icon {
      color: #fff;
      background: linear-gradient(135deg, var(--rs-purple), var(--rs-purple-2));
      box-shadow: var(--rs-glow-purple);
    }

    .kpi-card small {
      color: var(--rs-muted-2);
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .kpi-value {
      margin: .7rem 0 .25rem;
      font-size: clamp(1.7rem, 3vw, 2.35rem);
      font-weight: 950;
      letter-spacing: -.06em;
    }

    .kpi-meta {
      display: flex;
      align-items: center;
      gap: .45rem;
      color: var(--rs-muted);
      font-size: .9rem;
    }

    .trend-up {
      color: var(--rs-green);
    }

    .trend-purple {
      color: var(--rs-purple);
    }

    .section-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .section-title h2 {
      margin: 0;
      font-size: clamp(1.15rem, 2vw, 1.45rem);
      font-weight: 950;
      letter-spacing: -.045em;
    }

    .section-title p {
      margin: .25rem 0 0;
      color: var(--rs-muted-2);
      font-size: .93rem;
    }

    .content-card {
      padding: clamp(1rem, 2vw, 1.25rem);
    }

    .badge-soft {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      padding: .38rem .66rem;
      border: 1px solid rgba(145, 255, 95, .22);
      border-radius: 999px;
      color: var(--rs-green);
      background: rgba(145, 255, 95, .08);
      font-size: .78rem;
      font-weight: 850;
    }

    .badge-purple-soft {
      border-color: rgba(192, 115, 255, .25);
      color: var(--rs-purple);
      background: rgba(192, 115, 255, .09);
    }

    .table-wrap {
      overflow: auto;
      border: 1px solid var(--rs-border);
      border-radius: 22px;
      background: rgba(0, 0, 0, .15);
    }

    .admin-table {
      min-width: 760px;
      margin: 0;
      color: var(--rs-text);
      vertical-align: middle;
    }

    .admin-table thead th {
      padding: 1rem;
      border-bottom: 1px solid var(--rs-border);
      color: var(--rs-muted-2);
      background: rgba(255, 255, 255, .035);
      font-size: .76rem;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .admin-table tbody td {
      padding: 1rem;
      border-color: rgba(255, 255, 255, .075);
    }

    .client-mini {
      display: flex;
      align-items: center;
      gap: .75rem;
    }

    .client-mini .avatar {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 14px;
      color: #061006;
      background: linear-gradient(135deg, var(--rs-green), var(--rs-purple));
      font-weight: 950;
    }

    .client-mini strong {
      display: block;
      font-size: .95rem;
    }

    .client-mini small {
      display: block;
      color: var(--rs-muted-2);
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      gap: .38rem;
      padding: .38rem .65rem;
      border-radius: 999px;
      font-size: .78rem;
      font-weight: 850;
      white-space: nowrap;
    }

    .status-pill.green {
      color: var(--rs-green);
      background: rgba(145, 255, 95, .10);
    }

    .status-pill.purple {
      color: var(--rs-purple);
      background: rgba(192, 115, 255, .11);
    }

    .status-pill.yellow {
      color: var(--rs-yellow);
      background: rgba(236, 255, 143, .09);
    }

    .status-pill.red {
      color: var(--rs-red);
      background: rgba(255, 81, 124, .10);
    }

    .status-pill i {
      font-size: .65rem;
    }

    .queue-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .85rem;
      padding: 1rem;
      border: 1px solid var(--rs-border);
      border-radius: 22px;
      background: rgba(255, 255, 255, .045);
    }

    .queue-card + .queue-card {
      margin-top: .75rem;
    }

    .queue-card strong {
      display: block;
      margin-bottom: .2rem;
      font-weight: 900;
    }

    .queue-card small {
      color: var(--rs-muted-2);
    }

    .meter-stack {
      display: grid;
      gap: .75rem;
    }

    .meter-row {
      padding: .9rem;
      border: 1px solid var(--rs-border);
      border-radius: 20px;
      background: rgba(255, 255, 255, .045);
    }

    .meter-label {
      display: flex;
      justify-content: space-between;
      gap: .75rem;
      margin-bottom: .55rem;
      color: var(--rs-muted);
      font-size: .9rem;
      font-weight: 800;
    }

    .meter-track {
      height: 9px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255, 255, 255, .08);
    }

    .meter-track span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--rs-green), var(--rs-purple));
      box-shadow: 0 0 24px rgba(145, 255, 95, .24);
    }

    .project-board {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: .85rem;
    }

    .project-column {
      min-height: 280px;
      padding: .85rem;
      border: 1px solid var(--rs-border);
      border-radius: 24px;
      background: rgba(255, 255, 255, .035);
    }

    .project-column h3 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 0 0 .75rem;
      color: var(--rs-muted);
      font-size: .78rem;
      font-weight: 950;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .mini-project {
      padding: .85rem;
      border: 1px solid rgba(255, 255, 255, .10);
      border-radius: 18px;
      background: rgba(0, 0, 0, .20);
    }

    .mini-project + .mini-project {
      margin-top: .7rem;
    }

    .mini-project strong {
      display: block;
      margin-bottom: .35rem;
      font-weight: 900;
    }

    .mini-project small {
      display: block;
      color: var(--rs-muted-2);
      line-height: 1.45;
    }

    .mini-project .progress {
      height: 7px;
      margin-top: .75rem;
      background: rgba(255, 255, 255, .08);
    }

    .mini-project .progress-bar {
      background: linear-gradient(90deg, var(--rs-green), var(--rs-purple));
    }

    .activity-list {
      display: grid;
      gap: .75rem;
    }

    .activity-item {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: .75rem;
      padding: .85rem;
      border: 1px solid var(--rs-border);
      border-radius: 20px;
      background: rgba(255, 255, 255, .045);
    }

    .activity-icon {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 14px;
      color: #061006;
      background: linear-gradient(135deg, var(--rs-green), var(--rs-green-2));
    }

    .activity-icon.purple {
      color: #fff;
      background: linear-gradient(135deg, var(--rs-purple), var(--rs-purple-2));
    }

    .activity-item strong {
      display: block;
      margin-bottom: .15rem;
      font-size: .95rem;
    }

    .activity-item span {
      display: block;
      color: var(--rs-muted-2);
      font-size: .86rem;
      line-height: 1.45;
    }

    .future-box {
      position: relative;
      overflow: hidden;
      padding: clamp(1.2rem, 3vw, 1.6rem);
      border: 1px dashed rgba(145, 255, 95, .28);
      border-radius: 28px;
      background:
        radial-gradient(circle at 95% 0%, rgba(192, 115, 255, .16), transparent 22rem),
        rgba(145, 255, 95, .035);
    }

    .future-box h2 {
      margin: 0 0 .45rem;
      font-size: clamp(1.25rem, 2.3vw, 1.75rem);
      font-weight: 950;
      letter-spacing: -.05em;
    }

    .future-box p {
      max-width: 760px;
      margin: 0;
      color: var(--rs-muted);
      line-height: 1.7;
    }

    .admin-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem .2rem 0;
      color: var(--rs-muted-2);
      font-size: .9rem;
    }

    .offcanvas.admin-offcanvas {
      width: min(88vw, 340px);
      border-right: 1px solid var(--rs-border);
      background:
        radial-gradient(circle at 0% 0%, rgba(145, 255, 95, .16), transparent 22rem),
        radial-gradient(circle at 100% 15%, rgba(192, 115, 255, .16), transparent 22rem),
        #070911;
      color: var(--rs-text);
    }

    .offcanvas.settings-offcanvas {
      width: min(92vw, 380px);
      border-left: 1px solid var(--rs-border);
      background:
        radial-gradient(circle at 100% 0%, rgba(192, 115, 255, .18), transparent 22rem),
        radial-gradient(circle at 0% 30%, rgba(145, 255, 95, .14), transparent 22rem),
        #090d17;
      color: var(--rs-text);
    }

    .offcanvas.account-offcanvas {
      width: min(92vw, 430px);
      border-left: 1px solid var(--rs-border);
      background:
        radial-gradient(circle at 100% 0%, rgba(145, 255, 95, .16), transparent 22rem),
        radial-gradient(circle at 0% 20%, rgba(192, 115, 255, .16), transparent 22rem),
        #0a101a;
      color: var(--rs-text);
    }

    .offcanvas.manage-offcanvas {
      width: min(95vw, 680px);
      border-left: 1px solid var(--rs-border);
      background:
        radial-gradient(circle at 100% 0%, rgba(145, 255, 95, .10), transparent 30rem),
        radial-gradient(circle at 0% 15%, rgba(192, 115, 255, .14), transparent 28rem),
        #08101a;
      color: var(--rs-text);
    }

    .offcanvas.project-chat-offcanvas {
      width: min(96vw, 560px);
      border-left: 1px solid var(--rs-border);
      background:
        radial-gradient(circle at 100% 0%, rgba(145, 255, 95, .14), transparent 24rem),
        radial-gradient(circle at 0% 20%, rgba(192, 115, 255, .16), transparent 24rem),
        #09111c;
      color: var(--rs-text);
    }

    .settings-stack {
      display: grid;
      gap: .75rem;
    }

    .settings-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .9rem;
      padding: .9rem;
      border: 1px solid var(--rs-border);
      border-radius: 16px;
      background: rgba(255, 255, 255, .04);
    }

    .settings-item strong {
      display: block;
      margin-bottom: .2rem;
      font-size: .95rem;
    }

    .settings-item small {
      color: var(--rs-muted-2);
      line-height: 1.35;
    }

    .settings-item .form-check-input {
      border-color: rgba(255, 255, 255, .25);
      background-color: rgba(255, 255, 255, .12);
    }

    .settings-item .form-check-input:checked {
      background-color: var(--rs-green);
      border-color: var(--rs-green);
    }

    .btn-close-white {
      filter: invert(1) grayscale(100%) brightness(200%);
    }

    .toast {
      border: 1px solid rgba(145, 255, 95, .25);
      border-radius: 18px;
      color: #fff;
      background: rgba(10, 13, 19, .92);
      box-shadow: var(--rs-glow-green);
      backdrop-filter: blur(18px);
    }

    .dropdown-menu {
      border: 1px solid var(--rs-border);
      border-radius: 18px;
      background: rgba(12, 15, 24, .96);
      backdrop-filter: blur(18px);
    }

    .quick-user-menu {
      min-width: 230px;
    }

    .dropdown-item {
      color: var(--rs-muted);
      border-radius: 12px;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
      color: #fff;
      background: rgba(145, 255, 95, .10);
    }

    @media (max-width: 1399.98px) {
      :root {
        --rs-sidebar: 268px;
      }

      .admin-main {
        padding-left: calc(var(--rs-sidebar) + 30px);
      }

      .project-board {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 1199.98px) {
      .admin-main {
        padding-left: 18px;
      }

      .admin-topbar {
        top: 12px;
      }
    }

    @media (max-width: 991.98px) {
      .admin-main {
        padding: 12px;
      }

      .admin-topbar {
        align-items: stretch;
        flex-wrap: wrap;
        min-height: auto;
        border-radius: 24px;
      }

      .top-search {
        flex-basis: 100%;
        order: 10;
      }

      .dashboard-hero {
        border-radius: 28px;
      }

      .hero-console {
        margin-top: .25rem;
      }

      .admin-profile span {
        display: none;
      }
    }

    @media (max-width: 767.98px) {
      .admin-main {
        padding: 10px;
      }

      .dashboard-hero,
      .content-card,
      .kpi-card {
        border-radius: 24px;
      }

      .hero-actions .btn {
        width: 100%;
      }

      .console-grid {
        grid-template-columns: 1fr;
      }

      .section-title {
        align-items: flex-start;
        flex-direction: column;
      }

      .queue-card {
        align-items: flex-start;
        flex-direction: column;
      }

      .admin-footer {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 575.98px) {
      .admin-topbar {
        gap: .65rem;
        padding: .65rem;
      }

      .mobile-menu-btn,
      .icon-btn {
        width: 43px;
        height: 43px;
        border-radius: 15px;
      }

      .brand-mark {
        width: 108px;
        height: 38px;
      }

      .hero-title {
        font-size: clamp(2rem, 14vw, 3rem);
      }

      .mini-wave {
        height: 96px;
      }

      .kpi-card {
        padding: 1rem;
      }
    }

/* Integrated functional admin forms */
.admin-form-card .form-label,
.admin-form-card legend {
  color: var(--rs-muted);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.admin-form-card .form-control,
.admin-form-card .form-select,
.admin-form-card textarea {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #f4fffa;
}

.admin-form-card .form-control::placeholder,
.admin-form-card textarea::placeholder {
  color: var(--rs-muted-2);
}

.admin-form-card .form-control:focus,
.admin-form-card .form-select:focus,
.admin-form-card textarea:focus {
  border-color: rgba(145, 255, 95, 0.48);
  box-shadow: 0 0 0 0.2rem rgba(145, 255, 95, 0.12), var(--rs-glow-green);
  background: rgba(145, 255, 95, 0.05);
  color: #fff;
}

.admin-form-card .mail-field-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-form-card .mail-help-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(157, 255, 173, 0.45);
  background: rgba(157, 255, 173, 0.1);
  color: #ccffd7;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.admin-form-card .mail-help-icon:hover,
.admin-form-card .mail-help-icon:focus {
  background: rgba(157, 255, 173, 0.24);
  color: #ffffff;
  box-shadow: 0 0 0 0.15rem rgba(145, 255, 95, 0.18);
}

.admin-form-card .form-text {
  color: var(--rs-muted-2);
  font-size: 0.78rem;
}

.feature-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.feature-grid .form-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.feature-grid .form-check-input {
  margin: 0;
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.1);
}

.feature-grid .form-check-input:checked {
  background-color: var(--rs-green);
  border-color: var(--rs-green);
}

.feature-grid .form-check-label {
  color: #e6edf9;
  font-size: 0.9rem;
}

.admin-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-editor-header strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
}

.admin-editor-form {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-danger-zone {
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(255, 117, 117, 0.35);
  border-radius: 14px;
  background: rgba(255, 65, 65, 0.06);
}

.admin-danger-zone summary {
  cursor: pointer;
  list-style: none;
  color: #ffb6b6;
  font-weight: 800;
}

.admin-danger-zone summary::-webkit-details-marker {
  display: none;
}

.admin-editor-footnote {
  line-height: 1.5;
}

.admin-list-zone {
  min-height: 160px;
  max-height: 360px;
  overflow: auto;
  padding: 0.8rem;
  border: 1px solid var(--rs-border);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--rs-muted);
}

.admin-list-zone .btn {
  border-radius: 999px;
}

.admin-editor-zone {
  max-height: none;
}

.admin-manager-toolbar {
  padding: 0.75rem;
  border: 1px solid var(--rs-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-mini-stats span {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(145, 255, 95, 0.2);
  border-radius: 999px;
  background: rgba(145, 255, 95, 0.08);
  color: #dfffe8;
  font-size: 0.82rem;
}

.admin-mini-stats strong {
  color: var(--rs-green);
}

.admin-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-client-card {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(8, 13, 22, 0.72);
  cursor: pointer;
  transition: border-color var(--rs-transition), box-shadow var(--rs-transition), transform var(--rs-transition);
}

.admin-client-card:hover {
  transform: translateY(-1px);
  border-color: rgba(145, 255, 95, 0.32);
}

.admin-client-card.is-active {
  border-color: rgba(145, 255, 95, 0.55);
  box-shadow: 0 0 0 1px rgba(145, 255, 95, 0.24), 0 0 24px rgba(145, 255, 95, 0.15);
}

.admin-client-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-client-ident {
  display: grid;
  line-height: 1.15;
}

.admin-client-ident strong {
  font-size: 0.95rem;
}

.admin-client-ident small {
  color: var(--rs-muted-2);
}

.admin-client-main {
  margin-top: 0.6rem;
  font-size: 1.02rem;
  font-weight: 850;
}

.admin-client-meta {
  margin-top: 0.35rem;
  color: var(--rs-muted);
  font-size: 0.88rem;
}

.admin-client-features {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-project-list {
  display: grid;
  gap: 0.65rem;
}

.admin-project-editor-grid {
  display: grid;
  gap: 0.9rem;
}

.admin-project-form {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-project-process {
  padding: 0.75rem;
  border: 1px solid rgba(145, 255, 95, 0.28);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(145, 255, 95, 0.08), rgba(52, 197, 255, 0.08));
}

.admin-project-process-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-project-process-head small {
  color: var(--rs-muted-2);
}

.project-stage-rail {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-stage-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--rs-muted-2);
  background: rgba(255, 255, 255, 0.04);
}

.project-stage-pill.is-done {
  border-color: rgba(145, 255, 95, 0.36);
  color: #eaffd8;
  background: rgba(145, 255, 95, 0.12);
}

.project-stage-pill.is-active {
  border-color: rgba(52, 197, 255, 0.52);
  color: #e6f8ff;
  background: rgba(52, 197, 255, 0.18);
}

.admin-project-block {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.admin-chat-cta-block {
  position: relative;
  overflow: hidden;
  min-height: 128px;
}

.admin-chatbot-fab {
  position: absolute;
  right: 14px;
  bottom: 14px;
  height: 48px;
  border: 1px solid rgba(145, 255, 95, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(145, 255, 95, 0.26), rgba(52, 197, 255, 0.22));
  color: #f4fff7;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 48px;
  padding: 0 12px 0 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42), 0 0 24px rgba(145, 255, 95, 0.2);
  transition: width 0.26s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
  z-index: 3;
}

.admin-chatbot-fab:hover,
.admin-chatbot-fab:focus-visible {
  width: 286px;
  transform: translateY(-1px);
  border-color: rgba(145, 255, 95, 0.7);
  background: linear-gradient(135deg, rgba(145, 255, 95, 0.34), rgba(52, 197, 255, 0.3));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48), 0 0 26px rgba(145, 255, 95, 0.26);
}

.admin-chatbot-fab-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, rgba(190, 255, 153, 0.28), rgba(0, 0, 0, 0.22));
  color: #ffffff;
  font-size: 1.1rem;
}

.admin-chatbot-fab-text {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.admin-chatbot-fab:hover .admin-chatbot-fab-text,
.admin-chatbot-fab:focus-visible .admin-chatbot-fab-text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 760px) {
  .admin-chatbot-fab {
    width: 48px;
    right: 10px;
    bottom: 10px;
  }

  .admin-chatbot-fab:hover,
  .admin-chatbot-fab:focus-visible {
    width: 48px;
  }

  .admin-chatbot-fab-text {
    display: none;
  }
}

.admin-project-block h3 {
  margin: 0 0 0.65rem;
  font-size: 0.96rem;
  font-weight: 850;
}

.admin-project-file-list,
.admin-project-chat-thread {
  max-height: 270px;
  overflow: auto;
  display: grid;
  gap: 0.5rem;
}

.admin-project-file-list.is-timeline {
  gap: 0.4rem;
}

.admin-file-menu {
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-upload-drop {
  display: grid;
  gap: 0.2rem;
  place-items: center;
  text-align: center;
  padding: 0.82rem 0.8rem;
  border: 1px dashed rgba(145, 255, 95, 0.42);
  border-radius: 12px;
  background: rgba(145, 255, 95, 0.08);
  cursor: pointer;
  transition: border-color var(--rs-transition), background var(--rs-transition), transform var(--rs-transition), box-shadow var(--rs-transition);
}

.admin-upload-drop i {
  font-size: 1.06rem;
  color: var(--rs-green);
}

.admin-upload-drop strong {
  font-size: 0.89rem;
}

.admin-upload-drop small {
  color: var(--rs-muted-2);
  font-size: 0.78rem;
}

.admin-upload-drop:hover,
.admin-upload-drop:focus-visible,
.admin-upload-drop.is-dragover {
  transform: translateY(-1px);
  border-color: rgba(145, 255, 95, 0.78);
  background: rgba(145, 255, 95, 0.14);
  box-shadow: 0 0 0 1px rgba(145, 255, 95, 0.24), 0 0 20px rgba(145, 255, 95, 0.15);
}

.admin-upload-drop.has-file {
  border-style: solid;
  border-color: rgba(192, 115, 255, 0.56);
  background: rgba(192, 115, 255, 0.12);
}

.admin-file-date-divider {
  position: relative;
  margin: 0.2rem 0;
  text-align: center;
}

.admin-file-date-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.admin-file-date-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 14, 22, 0.95);
  color: var(--rs-muted-2);
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-project-file-chat-item {
  max-width: 92%;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-project-file-chat-item.from-client {
  justify-self: flex-start;
  border-color: rgba(145, 255, 95, 0.32);
  background: rgba(145, 255, 95, 0.08);
}

.admin-project-file-chat-item.from-engineer {
  justify-self: flex-end;
  border-color: rgba(192, 115, 255, 0.34);
  background: rgba(192, 115, 255, 0.1);
}

.admin-project-file-chat-item.from-admin {
  justify-self: center;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.admin-project-file-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.admin-project-file-chat-head strong {
  font-size: 0.9rem;
}

.admin-project-file-chat-head small {
  color: var(--rs-muted-2);
}

.project-chat-offcanvas .admin-project-chat-thread {
  max-height: calc(100vh - 270px);
}

.admin-project-file-item,
.admin-project-chat-item {
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-project-chat-item.support {
  border-color: rgba(192, 115, 255, 0.35);
  background: rgba(192, 115, 255, 0.1);
}

.admin-project-chat-item.client {
  border-color: rgba(145, 255, 95, 0.3);
  background: rgba(145, 255, 95, 0.08);
}

.admin-project-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  color: var(--rs-muted-2);
}

.admin-project-meta {
  color: var(--rs-muted);
  font-size: 0.84rem;
}

.feature-tag {
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(192, 115, 255, 0.35);
  border-radius: 999px;
  color: #ebddff;
  background: rgba(192, 115, 255, 0.12);
  font-size: 0.75rem;
}

.feature-tag-muted {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--rs-muted-2);
  background: rgba(255, 255, 255, 0.05);
}

.admin-sound-row.is-active {
  border-color: rgba(145, 255, 95, 0.42) !important;
  background: rgba(145, 255, 95, 0.08);
  border-radius: 12px;
}

.admin-sound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.7rem;
}

.admin-sound-card {
  min-height: 170px;
}

.admin-platform-row {
  margin: 0.55rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 255, 95, 0.26);
  background: rgba(145, 255, 95, 0.08);
  color: #e6ffe9;
  font-size: 0.72rem;
  font-weight: 600;
}

.platform-pill i {
  font-size: 0.72rem;
}

.platform-pill-muted {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--rs-muted);
}

.notification-list {
  display: grid;
  gap: 0.55rem;
}

.notification-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--rs-text);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: border-color var(--rs-transition), background var(--rs-transition), transform var(--rs-transition);
}

.notification-item:hover {
  transform: translateY(-1px);
  border-color: rgba(145, 255, 95, 0.32);
  background: rgba(145, 255, 95, 0.07);
}

.notification-item.is-unread {
  border-color: rgba(145, 255, 95, 0.42);
  background:
    linear-gradient(135deg, rgba(145, 255, 95, 0.11), rgba(192, 115, 255, 0.07)),
    rgba(255, 255, 255, 0.03);
}

.notification-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #061006;
  background: linear-gradient(135deg, var(--rs-green), var(--rs-green-2));
  box-shadow: 0 0 16px rgba(145, 255, 95, 0.22);
}

.notification-body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.notification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.notification-head strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.notification-time {
  white-space: nowrap;
  color: var(--rs-muted-2);
  font-size: 0.74rem;
}

.notification-message {
  color: var(--rs-muted);
  font-size: 0.84rem;
  line-height: 1.38;
}

.notification-meta .status-pill {
  font-size: 0.68rem;
  padding: 0.26rem 0.48rem;
}

.admin-form-card .alert {
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(3, 11, 22, 0.85);
  color: #ecf5ff;
}

@media (max-width: 767.98px) {
  .admin-client-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .admin-editor-actions .btn {
    width: 100%;
  }
}

/* White mode corrections for readable typography and balanced layer colors */
html.theme-light body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.theme-light .glass-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.5)),
    var(--rs-panel);
}

html.theme-light .admin-nav a:hover,
html.theme-light .admin-nav a.active,
html.theme-light .admin-nav button:hover,
html.theme-light .admin-nav button.active {
  color: var(--rs-text);
}

html.theme-light .mobile-menu-btn,
html.theme-light .icon-btn,
html.theme-light .btn-ghost,
html.theme-light .admin-profile {
  color: var(--rs-text);
  background: rgba(24, 44, 82, 0.06);
}

html.theme-light .top-search input {
  color: var(--rs-text);
  background: rgba(255, 255, 255, 0.9);
}

html.theme-light .top-search input::placeholder {
  color: var(--rs-muted-2);
}

html.theme-light .top-search-results {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(24, 44, 82, 0.2);
}

html.theme-light .top-search-result:hover,
html.theme-light .top-search-result.is-active {
  background: rgba(145, 255, 95, 0.12);
}

html.theme-light .btn-purple,
html.theme-light .btn-purple:hover {
  color: #fff;
}

html.theme-light .hero-console,
html.theme-light .table-wrap,
html.theme-light .mini-project,
html.theme-light .admin-list-zone,
html.theme-light .admin-project-block,
html.theme-light .admin-project-form,
html.theme-light .admin-client-card,
html.theme-light .admin-file-menu,
html.theme-light .admin-project-file-item,
html.theme-light .admin-project-chat-item,
html.theme-light .admin-project-file-chat-item,
html.theme-light .admin-form-card .alert {
  background: rgba(255, 255, 255, 0.72);
}

html.theme-light .hero-console,
html.theme-light .table-wrap {
  box-shadow: 0 18px 44px rgba(24, 44, 82, 0.16);
}

html.theme-light .admin-table thead th,
html.theme-light .project-column,
html.theme-light .activity-item,
html.theme-light .queue-card,
html.theme-light .meter-row,
html.theme-light .settings-item {
  background: rgba(255, 255, 255, 0.62);
}

html.theme-light .offcanvas.admin-offcanvas,
html.theme-light .offcanvas.settings-offcanvas,
html.theme-light .offcanvas.account-offcanvas,
html.theme-light .offcanvas.manage-offcanvas,
html.theme-light .offcanvas.project-chat-offcanvas,
html.theme-light .dropdown-menu {
  background:
    radial-gradient(circle at 100% 0%, rgba(125, 77, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 0% 25%, rgba(25, 246, 155, 0.1), transparent 24rem),
    rgba(255, 255, 255, 0.95);
}

html.theme-light .dropdown-item {
  color: var(--rs-text);
}

html.theme-light .dropdown-item:hover,
html.theme-light .dropdown-item:focus {
  color: var(--rs-text);
  background: rgba(145, 255, 95, 0.16);
}

html.theme-light .status-pill.green {
  color: #1a6b32;
  background: rgba(111, 224, 120, 0.22);
}

html.theme-light .status-pill.purple {
  color: #5a3aa7;
  background: rgba(161, 124, 255, 0.2);
}

html.theme-light .status-pill.yellow {
  color: #6d6312;
  background: rgba(236, 255, 143, 0.42);
}

html.theme-light .status-pill.red {
  color: #9f2548;
  background: rgba(255, 81, 124, 0.2);
}

html.theme-light .admin-form-card .form-control,
html.theme-light .admin-form-card .form-select,
html.theme-light .admin-form-card textarea {
  border: 1px solid rgba(24, 44, 82, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: var(--rs-text);
}

html.theme-light .admin-form-card .form-control:focus,
html.theme-light .admin-form-card .form-select:focus,
html.theme-light .admin-form-card textarea:focus {
  background: #fff;
  color: var(--rs-text);
}

html.theme-light .feature-grid .form-check,
html.theme-light .admin-editor-form,
html.theme-light .admin-manager-toolbar,
html.theme-light .admin-project-file-chat-item.from-admin,
html.theme-light .feature-tag-muted,
html.theme-light .platform-pill-muted,
html.theme-light .notification-item {
  background: rgba(255, 255, 255, 0.66);
}

html.theme-light .admin-upload-drop {
  border-color: rgba(24, 44, 82, 0.24);
  background: rgba(255, 255, 255, 0.86);
}

html.theme-light .admin-upload-drop:hover,
html.theme-light .admin-upload-drop:focus-visible,
html.theme-light .admin-upload-drop.is-dragover {
  border-color: rgba(25, 246, 155, 0.48);
  background: rgba(145, 255, 95, 0.14);
}

html.theme-light .admin-upload-drop.has-file {
  border-color: rgba(125, 77, 255, 0.48);
  background: rgba(192, 115, 255, 0.14);
}

html.theme-light .feature-grid .form-check-label,
html.theme-light .platform-pill,
html.theme-light .feature-tag {
  color: var(--rs-text);
}

html.theme-light .notification-item:hover {
  background: rgba(145, 255, 95, 0.12);
}

html.theme-light .toast {
  color: var(--rs-text);
  background: rgba(255, 255, 255, 0.96);
}

html.theme-light .btn-outline-light {
  color: var(--rs-text);
  border-color: rgba(24, 44, 82, 0.32);
  background: rgba(255, 255, 255, 0.72);
}

html.theme-light .btn-outline-light:hover,
html.theme-light .btn-outline-light:focus {
  color: var(--rs-text);
  border-color: rgba(25, 246, 155, 0.46);
  background: rgba(145, 255, 95, 0.12);
}

html.theme-light .link-light {
  color: #2f5db4 !important;
}

html.theme-light .btn-close-white {
  filter: none;
}

/* White mode polish: typography contrast + cleaner layer hierarchy */
html.theme-light .admin-bg-grid {
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(24, 44, 82, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 44, 82, 0.08) 1px, transparent 1px);
}

html.theme-light .admin-scanline {
  opacity: 0.03;
}

html.theme-light .admin-orb {
  opacity: 0.2;
}

html.theme-light .admin-form-card,
html.theme-light .content-card {
  color: #13213a;
}

html.theme-light .admin-form-card .form-label,
html.theme-light .admin-form-card legend,
html.theme-light .admin-project-meta,
html.theme-light .admin-client-meta,
html.theme-light .kpi-meta,
html.theme-light .notification-message {
  color: #4b5e7e;
}

html.theme-light .admin-client-ident small,
html.theme-light .top-search-result small,
html.theme-light .admin-project-process-head small,
html.theme-light .admin-form-card .form-text {
  color: #5f7190;
}

html.theme-light .admin-list-zone,
html.theme-light .admin-project-block,
html.theme-light .admin-project-form,
html.theme-light .admin-client-card,
html.theme-light .admin-file-menu,
html.theme-light .admin-project-file-item,
html.theme-light .admin-project-chat-item,
html.theme-light .admin-project-file-chat-item,
html.theme-light .admin-form-card .alert {
  border-color: rgba(28, 52, 94, 0.2);
  background: rgba(255, 255, 255, 0.86);
  color: #13213a;
}

html.theme-light .admin-project-file-chat-item.from-client {
  border-color: rgba(44, 140, 68, 0.3);
  background: rgba(90, 193, 105, 0.14);
}

html.theme-light .admin-project-file-chat-item.from-engineer,
html.theme-light .admin-project-chat-item.support {
  border-color: rgba(98, 72, 186, 0.32);
  background: rgba(144, 118, 227, 0.16);
}

html.theme-light .admin-project-file-chat-item.from-admin {
  border-color: rgba(28, 52, 94, 0.18);
  background: rgba(255, 255, 255, 0.94);
}

html.theme-light .admin-project-process {
  border-color: rgba(35, 129, 76, 0.28);
  background: linear-gradient(140deg, rgba(90, 193, 105, 0.14), rgba(67, 149, 227, 0.12));
}

html.theme-light .project-stage-pill {
  border-color: rgba(28, 52, 94, 0.18);
  color: #4f6281;
  background: rgba(255, 255, 255, 0.78);
}

html.theme-light .project-stage-pill.is-done {
  border-color: rgba(35, 129, 76, 0.32);
  color: #1d5d37;
  background: rgba(90, 193, 105, 0.16);
}

html.theme-light .project-stage-pill.is-active {
  border-color: rgba(53, 118, 206, 0.36);
  color: #1b4f8f;
  background: rgba(90, 162, 241, 0.18);
}

html.theme-light .admin-mini-stats span {
  border-color: rgba(35, 129, 76, 0.28);
  background: rgba(90, 193, 105, 0.12);
  color: #1f5133;
}

html.theme-light .admin-mini-stats strong {
  color: #20643e;
}

html.theme-light .feature-grid .form-check {
  border-color: rgba(28, 52, 94, 0.18);
  background: rgba(255, 255, 255, 0.84);
}

html.theme-light .feature-grid .form-check-label {
  color: #1b2d4b;
}

html.theme-light .top-search-result {
  color: #13213a;
}

html.theme-light .top-search-result:hover,
html.theme-light .top-search-result.is-active {
  border-color: rgba(35, 129, 76, 0.28);
  background: rgba(90, 193, 105, 0.16);
}

html.theme-light .mobile-menu-btn,
html.theme-light .icon-btn,
html.theme-light .btn-ghost,
html.theme-light .admin-profile {
  border-color: rgba(28, 52, 94, 0.2);
  color: #1b2d4b;
  background: rgba(255, 255, 255, 0.82);
}

html.theme-light .mobile-menu-btn:hover,
html.theme-light .icon-btn:hover,
html.theme-light .btn-ghost:hover {
  border-color: rgba(35, 129, 76, 0.34);
  background: rgba(90, 193, 105, 0.13);
}

html.theme-light .admin-chatbot-fab {
  border-color: rgba(35, 129, 76, 0.4);
  color: #123824;
  background: linear-gradient(135deg, rgba(90, 193, 105, 0.35), rgba(90, 162, 241, 0.28));
  box-shadow: 0 10px 22px rgba(24, 44, 82, 0.16), 0 0 16px rgba(90, 193, 105, 0.2);
}

html.theme-light .admin-chatbot-fab:hover,
html.theme-light .admin-chatbot-fab:focus-visible {
  border-color: rgba(35, 129, 76, 0.58);
  background: linear-gradient(135deg, rgba(90, 193, 105, 0.42), rgba(90, 162, 241, 0.34));
}

html.theme-light .admin-chatbot-fab-icon {
  color: #113521;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.82), rgba(90, 193, 105, 0.24));
}

html.theme-light .admin-form-card .alert {
  border-color: rgba(28, 52, 94, 0.24);
  color: #13213a;
}

html.theme-light .admin-form-card .alert.alert-danger {
  border-color: rgba(173, 45, 74, 0.34);
  background: rgba(255, 233, 239, 0.92);
  color: #81263b;
}

html.theme-light .admin-form-card .alert.alert-success {
  border-color: rgba(35, 129, 76, 0.34);
  background: rgba(232, 255, 239, 0.92);
  color: #1e5a36;
}

html.theme-light .admin-form-card .form-control,
html.theme-light .admin-form-card .form-select,
html.theme-light .admin-form-card textarea {
  border-color: rgba(28, 52, 94, 0.24);
  background: rgba(255, 255, 255, 0.98);
  color: #13213a;
}

html.theme-light .admin-form-card .form-control::placeholder,
html.theme-light .admin-form-card textarea::placeholder {
  color: #697d9d;
}

html.theme-light .admin-form-card .form-control:focus,
html.theme-light .admin-form-card .form-select:focus,
html.theme-light .admin-form-card textarea:focus {
  border-color: rgba(35, 129, 76, 0.46);
  box-shadow: 0 0 0 0.18rem rgba(90, 193, 105, 0.2);
  background: #ffffff;
  color: #13213a;
}

html.theme-light .admin-nav a i,
html.theme-light .admin-nav button i {
  color: #1e5a36;
  background: rgba(90, 193, 105, 0.16);
}

html.theme-light .admin-nav a:hover,
html.theme-light .admin-nav a.active,
html.theme-light .admin-nav button:hover,
html.theme-light .admin-nav button.active {
  border-color: rgba(35, 129, 76, 0.28);
  background: linear-gradient(135deg, rgba(90, 193, 105, 0.15), rgba(90, 162, 241, 0.14));
}

html.theme-light .text-gradient {
  background: linear-gradient(90deg, #1d5d37, #355cba 62%, #7f4dc9);
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}
