    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       1. DESIGN TOKENS  â€”  one block to retheme everything
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    :root {
      /* Core palette */
      --rr-ink:         #0c110e;     /* sidebar background              */
      --rr-ink-2:       #162119;     /* sidebar hover / divider panels  */
      --rr-ink-3:       #1e2e24;     /* sidebar section headers         */
      --rr-green-deep:  #1a3a2a;     /* topbar, logo bg                 */
      --rr-neon:        #c8ff00;     /* primary accent â€” CTA, active    */
      --rr-neon-dim:    rgba(200,255,0,.12); /* neon glow tint           */
      --rr-neon-text:   #8ab300;     /* neon at lower contrast on white */

      --rr-surface:     #f3f5f0;     /* page background                 */
      --rr-card:        #ffffff;     /* card / panel bg                 */
      --rr-border:      #e4e8e2;     /* hairline dividers               */

      --rr-text-900:    #0c110e;     /* headings                        */
      --rr-text-600:    #354a3e;     /* body                            */
      --rr-text-400:    #6e857a;     /* labels / muted                  */
      --rr-text-200:    #a8bcb2;     /* placeholder / disabled          */

      --rr-sidebar-muted: #607a6c;   /* sidebar inactive text           */
      --rr-sidebar-text:  #d4e8dc;   /* sidebar active / hover text     */

      /* Shape */
      --rr-radius:    10px;
      --rr-radius-sm:  6px;
      --rr-radius-xs:  4px;

      /* Dimensions */
      --rr-sidebar-w: 240px;
      --rr-topbar-h:  56px;

      /* Shadows */
      --rr-shadow-card: 0 1px 2px rgba(12,17,14,.06), 0 3px 12px rgba(12,17,14,.04);
      --rr-shadow-neon: 0 0 0 3px rgba(200,255,0,.25);

      /* Fonts */
      --rr-font-head: 'Google Sans Flex', 'Google Sans', system-ui, sans-serif;
      --rr-font-body: 'Google Sans Flex', 'Google Sans', system-ui, sans-serif;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       2. RESET & BASE
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      font-family: var(--rr-font-body);
      font-size: 14px;
      background: var(--rr-green-deep);
      color: var(--rr-text-600);
      -webkit-font-smoothing: antialiased;
    }

    ::-webkit-scrollbar          { width: 4px; height: 4px; }
    ::-webkit-scrollbar-track    { background: transparent; }
    ::-webkit-scrollbar-thumb    { background: var(--rr-border); border-radius: 99px; }

    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; font-family: var(--rr-font-body); }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       3. LAYOUT  â€”  sidebar + main, full viewport height
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-layout {
      display: flex;
      position: fixed;
      inset: 0;
      height: auto;
      overflow: hidden;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       4. SIDEBAR
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-sidebar {
      width: var(--rr-sidebar-w);
      min-width: var(--rr-sidebar-w);
      height: 100%;
      background: var(--rr-ink);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
      z-index: 200;
      transition: transform .28s cubic-bezier(.4,0,.2,1);
    }

    /* â”€â”€ Logo / brand â”€â”€ */
    .rr-sidebar__brand {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      padding: 20px 16px 18px;
      border-bottom: 1px solid rgba(255,255,255,.06);
      flex-shrink: 0;
    }
    .rr-sidebar__brand-mark {
      display: block;
      width: 100%;
    }
    .rr-brand-logo--sidebar-wide {
      width: 100%;
      max-width: 200px;
      height: auto;
      display: block;
    }
    .rr-sidebar__logo-box {
      width: 40px;
      height: 40px;
      background: transparent;
      border-radius: var(--rr-radius-sm);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      overflow: hidden;
    }
    .rr-brand-logo--sidebar {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
    .rr-sidebar__brand-text {}
    .rr-sidebar__brand-name {
      font-family: var(--rr-font-head);
      font-weight: 700;
      font-size: 15px;
      color: #fff;
      letter-spacing: -.2px;
      line-height: 1.2;
    }
    .rr-sidebar__brand-sub {
      font-size: 9.5px;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--rr-sidebar-muted);
      padding-left: 2px;
    }

    /* â”€â”€ Nav section â”€â”€ */
    .rr-nav-section {
      padding: 18px 0 4px;
    }
    .rr-nav-section__label {
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--rr-ink-3);
      color: #3a5244;
      padding: 0 20px 6px;
      display: block;
    }

    .rr-nav { list-style: none; padding: 0 10px; }
    .rr-nav__item { position: relative; }

    .rr-nav__link {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border-radius: var(--rr-radius-sm);
      font-size: 13px;
      font-weight: 500;
      color: var(--rr-sidebar-muted);
      transition: background .14s, color .14s;
      user-select: none;
      white-space: nowrap;
      position: relative;
    }
    .rr-nav__link:hover {
      background: var(--rr-ink-2);
      color: var(--rr-sidebar-text);
    }

    /* Active state â€” neon left bar + neon text */
    .rr-nav__link.is-active {
      background: var(--rr-neon-dim);
      color: var(--rr-neon);
      font-weight: 600;
    }
    .rr-nav__link.is-active::before {
      content: '';
      position: absolute;
      left: 0; top: 4px; bottom: 4px;
      width: 3px;
      background: var(--rr-neon);
      border-radius: 0 3px 3px 0;
    }
    .rr-nav__link.is-active .rr-nav__icon { color: var(--rr-neon); }

    .rr-nav__icon {
      font-size: 18px;
      width: 20px;
      text-align: center;
      flex-shrink: 0;
      color: #3a5244;
      transition: color .14s;
    }
    .rr-nav__link:hover .rr-nav__icon { color: var(--rr-sidebar-text); }

    /* Badge pill (e.g. count) */
    .rr-nav__badge {
      margin-left: auto;
      font-size: 10px;
      font-weight: 700;
      background: var(--rr-neon-dim);
      color: var(--rr-neon);
      border-radius: 20px;
      padding: 1px 7px;
      flex-shrink: 0;
    }

    /* Chevron for sub-nav */
    .rr-nav__chevron {
      margin-left: auto;
      font-size: 12px;
      color: #3a5244;
      transition: transform .2s;
      flex-shrink: 0;
    }
    .rr-nav__item.is-open > .rr-nav__link .rr-nav__chevron { transform: rotate(180deg); }

    /* Sub-nav */
    .rr-nav__sub {
      list-style: none;
      padding: 2px 0 4px 42px;
      max-height: 0;
      overflow: hidden;
      transition: max-height .22s ease;
    }
    .rr-nav__item.is-open > .rr-nav__sub { max-height: 200px; }

    .rr-nav__sub-link {
      display: block;
      padding: 6px 10px;
      border-radius: var(--rr-radius-xs);
      font-size: 12.5px;
      color: var(--rr-sidebar-muted);
      transition: color .12s;
    }
    .rr-nav__sub-link:hover { color: var(--rr-neon); }

    /* â”€â”€ Sidebar divider â”€â”€ */
    .rr-sidebar__divider {
      height: 1px;
      background: rgba(255,255,255,.06);
      margin: 8px 16px;
      flex-shrink: 0;
    }

    /* â”€â”€ Sidebar user profile (bottom) â”€â”€ */
    .rr-sidebar__user {
      margin-top: auto;
      padding: 16px 16px 20px;
      border-top: 1px solid rgba(255,255,255,.06);
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    /* Avatar with neon ring */
    .rr-sidebar__avatar {
      position: relative;
      flex-shrink: 0;
    }
    .rr-sidebar__avatar-img {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      border: 2px solid var(--rr-neon);
      /* Neon glow ring */
      box-shadow: 0 0 0 3px rgba(200,255,0,.2), 0 0 12px rgba(200,255,0,.15);
    }
    .rr-sidebar__avatar-status {
      position: absolute;
      bottom: 1px; right: 1px;
      width: 9px; height: 9px;
      background: #22c55e;
      border: 2px solid var(--rr-ink);
      border-radius: 50%;
    }
    .rr-sidebar__user-info { flex: 1; min-width: 0; }
    .rr-sidebar__user-name {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--rr-sidebar-text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .rr-sidebar__user-role {
      font-size: 10.5px;
      color: var(--rr-sidebar-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .rr-sidebar__logout-btn {
      background: none;
      border: none;
      padding: 6px;
      border-radius: var(--rr-radius-xs);
      color: var(--rr-sidebar-muted);
      font-size: 17px;
      display: grid;
      place-items: center;
      transition: color .14s, background .14s;
      flex-shrink: 0;
    }
    .rr-sidebar__logout-btn:hover { color: var(--rr-neon); background: var(--rr-neon-dim); }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       5. MAIN PANEL
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-main {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      height: 100%;
      overflow: hidden;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       6. TOPBAR
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-topbar {
      height: var(--rr-topbar-h);
      min-height: var(--rr-topbar-h);
      background: var(--rr-green-deep);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 28px;
      gap: 16px;
      flex-shrink: 0;
    }
    .rr-topbar__left { display: flex; align-items: center; gap: 12px; }

    /* Mobile hamburger */
    .rr-topbar__hamburger {
      display: none;
      background: none;
      border: none;
      color: rgba(255,255,255,.7);
      font-size: 22px;
      padding: 4px;
      border-radius: var(--rr-radius-xs);
    }
    .rr-topbar__hamburger:hover { color: #fff; }
    .rr-topbar__logo {
      display: none;
      align-items: center;
      flex-shrink: 0;
    }
    .rr-brand-logo--topbar {
      height: 28px;
      width: auto;
      display: block;
    }

    /* Breadcrumb / page context — title shown in page header below */
    .rr-topbar__context {
      display: none;
    }
    .rr-topbar__eyebrow {
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(200,255,0,.55);
    }
    .rr-topbar__page {
      font-family: var(--rr-font-head);
      font-size: 15px;
      font-weight: 600;
      color: #fff;
      letter-spacing: -.2px;
    }

    .rr-topbar__right {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Topbar icon button */
    .rr-topbar-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.1);
      display: grid;
      place-items: center;
      color: rgba(255,255,255,.7);
      font-size: 17px;
      transition: background .14s, color .14s;
      position: relative;
    }
    .rr-topbar-btn:hover { background: rgba(200,255,0,.15); color: var(--rr-neon); }
    .rr-topbar-btn__dot {
      position: absolute;
      top: 6px; right: 7px;
      width: 7px; height: 7px;
      background: var(--rr-neon);
      border-radius: 50%;
      border: 1.5px solid var(--rr-green-deep);
    }

    /* User info chip (topbar right) */
    .rr-topbar__user {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 5px 12px 5px 5px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 30px;
      cursor: pointer;
      transition: background .14s;
    }
    .rr-topbar__user:hover { background: rgba(200,255,0,.1); }
    .rr-topbar__user-avatar {
      width: 28px; height: 28px;
      border-radius: 50%;
      overflow: hidden;
      border: 1.5px solid var(--rr-neon);
      flex-shrink: 0;
    }
    .rr-topbar__user-avatar svg,
    .rr-topbar__user-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .rr-topbar__user-meta { display: flex; flex-direction: column; gap: 0; }
    .rr-topbar__user-name {
      font-size: 12px;
      font-weight: 600;
      color: #fff;
      white-space: nowrap;
    }
    .rr-topbar__user-email {
      font-size: 10px;
      color: rgba(255,255,255,.45);
      white-space: nowrap;
    }

    /* Logout button in topbar */
    .rr-logout-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 8px;
      font-size: 12.5px;
      font-weight: 500;
      color: rgba(255,255,255,.75);
      transition: background .14s, color .14s, border-color .14s;
    }
    .rr-logout-btn:hover {
      background: rgba(200,255,0,.12);
      border-color: rgba(200,255,0,.3);
      color: var(--rr-neon);
    }
    .rr-logout-btn .ti { font-size: 15px; }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       7. SCROLLABLE BODY
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-body {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      background: var(--rr-surface);
      padding: 0 32px 32px;
    }

    .rr-body > .rr-alert:first-child,
    .rr-body > .rr-impersonation-banner:first-child {
      margin-top: 12px;
    }

    /* Page header row */
    .rr-page-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin: 0 0 12px;
      padding-top: 12px;
    }
    .rr-page-header__eyebrow {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--rr-text-400);
      margin-bottom: 2px;
    }
    .rr-page-header__title {
      font-family: var(--rr-font-head);
      font-size: 22px;
      font-weight: 700;
      color: var(--rr-text-900);
      letter-spacing: -.5px;
      line-height: 1.15;
      margin: 0;
    }

    /* â”€â”€ Upload CTA button â”€â”€ */
    .rr-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 11px 20px;
      background: var(--rr-neon);
      color: var(--rr-ink);
      font-family: var(--rr-font-head);
      font-size: 13.5px;
      font-weight: 700;
      border: none;
      border-radius: var(--rr-radius-sm);
      white-space: nowrap;
      flex-shrink: 0;
      letter-spacing: -.1px;
      transition: background .15s, box-shadow .15s, transform .15s;
      box-shadow: 0 4px 14px rgba(200,255,0,.3);
    }
    .rr-cta-btn:hover {
      background: #d8ff20;
      box-shadow: 0 6px 20px rgba(200,255,0,.45);
      transform: translateY(-1px);
    }
    .rr-cta-btn:active { transform: translateY(0); }
    .rr-cta-btn .ti { font-size: 17px; }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       8. STAT CARDS
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 24px;
    }

    .rr-stat {
      background: var(--rr-card);
      border: 1px solid var(--rr-border);
      border-radius: var(--rr-radius);
      overflow: hidden;
      box-shadow: var(--rr-shadow-card);
      transition: box-shadow .2s, transform .2s;
    }
    .rr-stat:hover {
      box-shadow: 0 4px 20px rgba(12,17,14,.1);
      transform: translateY(-1px);
    }

    /* Top strip with label + icon */
    .rr-stat__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      background: var(--rr-green-deep);
      border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .rr-stat__label {
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(200,255,0,.6);
    }
    .rr-stat__icon {
      font-size: 18px;
      color: rgba(200,255,0,.5);
    }

    /* Body: big number + sub-label */
    .rr-stat__body {
      padding: 16px 16px 18px;
    }
    .rr-stat__value {
      font-family: var(--rr-font-head);
      font-size: 36px;
      font-weight: 700;
      color: var(--rr-text-900);
      line-height: 1;
      letter-spacing: -.5px;
    }
    .rr-stat__sub {
      font-size: 11.5px;
      color: var(--rr-text-400);
      margin-top: 5px;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       9. MINI CHART SPARKLINES  (inside stat cards)
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-stat__spark {
      padding: 0 16px 14px;
      height: 44px;
      position: relative;
    }
    .rr-stat__spark canvas { width: 100% !important; height: 44px !important; }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       10. REPORTS TABLE PANEL
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-panel {
      background: var(--rr-card);
      border: 1px solid var(--rr-border);
      border-radius: var(--rr-radius);
      box-shadow: var(--rr-shadow-card);
    }

    /* Panel header */
    .rr-panel__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 22px 16px;
      border-bottom: 1px solid var(--rr-border);
      gap: 16px;
      flex-wrap: wrap;
    }
    .rr-panel__head-left {}
    .rr-panel__title {
      font-family: var(--rr-font-head);
      font-size: 16px;
      font-weight: 700;
      color: var(--rr-text-900);
      letter-spacing: -.2px;
    }
    .rr-panel__sub {
      font-size: 11.5px;
      color: var(--rr-text-400);
      margin-top: 2px;
    }

    /* Search input */
    .rr-search-wrap { position: relative; }
    .rr-search-input {
      height: 38px;
      width: 260px;
      background: var(--rr-surface);
      border: 1px solid var(--rr-border);
      border-radius: var(--rr-radius-sm);
      padding: 0 12px 0 36px;
      font-size: 13px;
      font-family: var(--rr-font-body);
      color: var(--rr-text-600);
      outline: none;
      transition: border-color .14s, box-shadow .14s;
    }
    .rr-search-input::placeholder { color: var(--rr-text-200); }
    .rr-search-input:focus {
      border-color: var(--rr-neon-text);
      box-shadow: 0 0 0 3px rgba(200,255,0,.15);
    }
    .rr-search-ico {
      position: absolute;
      left: 11px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 15px;
      color: var(--rr-text-200);
      pointer-events: none;
    }

    /* Filter row */
    .rr-filter-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 22px;
      border-bottom: 1px solid var(--rr-border);
      flex-wrap: wrap;
    }
    .rr-filter-label {
      font-size: 11.5px;
      color: var(--rr-text-400);
      font-weight: 500;
      margin-right: 4px;
    }
    .rr-filter-chip {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 11.5px;
      font-weight: 500;
      border: 1px solid var(--rr-border);
      background: var(--rr-surface);
      color: var(--rr-text-400);
      transition: all .14s;
    }
    .rr-filter-chip:hover { border-color: var(--rr-neon-text); color: var(--rr-neon-text); }
    .rr-filter-chip.is-active {
      background: var(--rr-neon);
      border-color: var(--rr-neon);
      color: var(--rr-ink);
      font-weight: 700;
    }
    .rr-filter-spacer { margin-left: auto; }
    .rr-report-filter {
      padding: 0;
      overflow: hidden;
    }
    .rr-report-filter .rr-filter-row {
      border-bottom: none;
      padding: 14px 18px 0;
    }
    .rr-filter-custom {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      padding: 12px 18px 16px;
      border-top: 1px solid var(--rr-border);
      margin-top: 12px;
    }
    .rr-filter-select {
      width: auto;
      min-width: 120px;
      padding: 6px 10px;
      font-size: 13px;
    }
    .rr-filter-apply {
      padding: 6px 14px;
      font-size: 13px;
    }
    .rr-filter-hint {
      font-size: 12px;
      color: var(--rr-text-400);
    }
    .rr-impersonation-banner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 14px;
      margin-bottom: 12px;
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-radius: var(--rr-radius-sm);
      font-size: 13px;
      color: #92400e;
    }
    .rr-icon-btn {
      width: 34px;
      height: 34px;
      border-radius: var(--rr-radius-sm);
      border: 1px solid var(--rr-border);
      background: var(--rr-surface);
      display: grid;
      place-items: center;
      color: var(--rr-text-400);
      font-size: 16px;
      transition: all .14s;
    }
    .rr-icon-btn:hover { border-color: var(--rr-neon-text); color: var(--rr-neon-text); }

    /* â”€â”€ Table â”€â”€ */
    .rr-table-wrap { overflow-x: auto; }

    .rr-table {
      width: 100%;
      border-collapse: collapse;
    }
    .rr-table thead th {
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .07em;
      color: var(--rr-text-400);
      padding: 12px 16px;
      border-bottom: 1px solid var(--rr-border);
      white-space: nowrap;
      background: var(--rr-surface);
    }
    .rr-table thead th:first-child { padding-left: 22px; }
    .rr-table thead th:last-child  { padding-right: 22px; text-align: right; }

    .rr-table tbody tr {
      border-bottom: 1px solid var(--rr-border);
      transition: background .1s;
    }
    .rr-table tbody tr:last-child { border-bottom: none; }
    .rr-table tbody tr:hover { background: #f7f9f5; }

    .rr-table td {
      padding: 13px 16px;
      font-size: 13px;
      color: var(--rr-text-600);
      vertical-align: middle;
    }
    .rr-table td:first-child { padding-left: 22px; }
    .rr-table td:last-child  { padding-right: 22px; }

    /* Order ID â€” monospace pill */
    .rr-order-id {
      font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
      font-size: 11.5px;
      background: var(--rr-surface);
      border: 1px solid var(--rr-border);
      border-radius: var(--rr-radius-xs);
      padding: 3px 8px;
      color: var(--rr-text-600);
      white-space: nowrap;
    }

    /* Client cell with avatar */
    .rr-client-cell {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .rr-client-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      border: 1.5px solid var(--rr-border);
      flex-shrink: 0;
      background: var(--rr-surface);
      overflow: hidden;
    }
    .rr-client-avatar svg,
    .rr-client-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .rr-client-name {
      font-size: 13px;
      font-weight: 500;
      color: var(--rr-text-900);
    }
    .rr-client-handle {
      font-size: 11px;
      color: var(--rr-text-400);
    }

    /* Report title cell */
    .rr-report-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--rr-text-900);
    }
    .rr-report-file {
      font-size: 11px;
      color: var(--rr-text-400);
      margin-top: 2px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .rr-report-file .ti { font-size: 12px; }

    /* Files badge */
    .rr-files-badge {
      display: inline-flex;
      flex-direction: column;
      gap: 0;
    }
    .rr-files-count {
      font-size: 13px;
      font-weight: 600;
      color: var(--rr-text-900);
    }
    .rr-files-size {
      font-size: 11px;
      color: var(--rr-text-400);
    }

    /* Link cell */
    .rr-link-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 500;
      color: var(--rr-neon-text);
      background: none;
      border: none;
      padding: 0;
      transition: color .12s;
    }
    .rr-link-btn:hover { color: var(--rr-green-deep); }
    .rr-link-btn .ti { font-size: 13px; }

    .rr-dash-text { color: var(--rr-text-200); font-size: 14px; }

    /* Uploaded timestamp */
    .rr-timestamp { font-size: 12px; color: var(--rr-text-400); white-space: nowrap; }

    /* Status badge */
    .rr-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      border-radius: 20px;
      padding: 3px 10px;
      white-space: nowrap;
    }
    .rr-badge--active  { background: #dcfce7; color: #15803d; }
    .rr-badge--pending { background: #fef9c3; color: #a16207; }
    .rr-badge--draft   { background: #f1f5f9; color: #475569; }
    .rr-badge .ti      { font-size: 11px; }

    /* Row action buttons */
    .rr-actions { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
    .rr-action-btn {
      width: 32px;
      height: 32px;
      border-radius: var(--rr-radius-sm);
      border: 1px solid var(--rr-border);
      background: var(--rr-surface);
      display: grid;
      place-items: center;
      font-size: 15px;
      color: var(--rr-text-400);
      transition: all .14s;
    }
    .rr-action-btn:hover {
      border-color: var(--rr-neon-text);
      color: var(--rr-neon-text);
      background: rgba(138,179,0,.08);
    }
    .rr-action-btn--danger:hover {
      border-color: #fca5a5;
      color: #dc2626;
      background: #fef2f2;
    }

    /* â”€â”€ Empty state â”€â”€ */
    .rr-empty {
      text-align: center;
      padding: 52px 20px;
    }
    .rr-empty__icon {
      font-size: 40px;
      color: var(--rr-text-200);
      margin-bottom: 12px;
    }
    .rr-empty__title {
      font-family: var(--rr-font-head);
      font-size: 15px;
      font-weight: 600;
      color: var(--rr-text-600);
      margin-bottom: 5px;
    }
    .rr-empty__sub { font-size: 12.5px; color: var(--rr-text-400); }

    /* â”€â”€ Panel footer / pagination â”€â”€ */
    .rr-panel__foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 22px;
      border-top: 1px solid var(--rr-border);
      flex-wrap: wrap;
      gap: 10px;
    }
    .rr-panel__count { font-size: 12px; color: var(--rr-text-400); }
    .rr-pagination { display: flex; gap: 4px; }
    .rr-page-btn {
      width: 32px;
      height: 32px;
      border-radius: var(--rr-radius-sm);
      border: 1px solid var(--rr-border);
      background: var(--rr-surface);
      display: grid;
      place-items: center;
      font-size: 12.5px;
      font-weight: 500;
      color: var(--rr-text-600);
      transition: all .14s;
    }
    .rr-page-btn:hover { border-color: var(--rr-neon-text); color: var(--rr-neon-text); }
    .rr-page-btn.is-current {
      background: var(--rr-neon);
      border-color: var(--rr-neon);
      color: var(--rr-ink);
      font-weight: 700;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       11. MOBILE OVERLAY
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .rr-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(12,17,14,.55);
      z-index: 199;
      backdrop-filter: blur(2px);
    }
    .rr-overlay.is-active { display: block; }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       12. RESPONSIVE
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    @media (max-width: 1100px) {
      .rr-stats-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 720px) {
      .rr-sidebar {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        transform: translateX(-100%);
        box-shadow: 8px 0 32px rgba(0,0,0,.35);
      }
      .rr-sidebar.is-open { transform: translateX(0); }
      .rr-topbar__hamburger { display: grid; place-items: center; }
      .rr-topbar__logo { display: flex; }
      .rr-stats-grid { grid-template-columns: 1fr 1fr; }
      .rr-body { padding: 0 16px 32px; }
      .rr-topbar { padding: 0 16px; }
      .rr-topbar__user-email { display: none; }
      .rr-search-input { width: 180px; }
    }
    @media (max-width: 480px) {
      .rr-stats-grid { grid-template-columns: 1fr; }
      .rr-page-header { flex-direction: column; align-items: stretch; }
      .rr-cta-btn { justify-content: center; }
    }
  
/* Forms & auth extras */
.rr-form-label { font-size: 12px; font-weight: 600; color: var(--rr-text-600); margin-bottom: 6px; display: block; }
.rr-form-control { width: 100%; height: 42px; background: var(--rr-surface); border: 1px solid var(--rr-border); border-radius: var(--rr-radius-sm); padding: 0 14px; font-size: 13px; font-family: var(--rr-font-body); color: var(--rr-text-900); outline: none; transition: border-color .14s, box-shadow .14s; }
.rr-form-control:focus { border-color: var(--rr-neon-text); box-shadow: var(--rr-shadow-neon); }
textarea.rr-form-control { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.rr-form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e857a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.rr-form-group { margin-bottom: 16px; }
.rr-form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--rr-text-600); }
.rr-form-check input { accent-color: var(--rr-neon-text); }
.rr-alert { padding: 12px 16px; border-radius: var(--rr-radius-sm); font-size: 13px; margin-bottom: 16px; border: 1px solid; }
.rr-alert--success { background: #dcfce7; border-color: #86efac; color: #15803d; }
.rr-alert--danger { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.rr-alert--info { background: var(--rr-neon-dim); border-color: rgba(200,255,0,.3); color: var(--rr-text-600); }
.rr-chart-panel { padding: 20px 22px; }
.rr-chart-wrap { height: 280px; position: relative; }
.rr-tabs { display: flex; gap: 6px; padding: 0 22px 16px; border-bottom: 1px solid var(--rr-border); flex-wrap: wrap; }
.rr-tab { padding: 8px 14px; border-radius: var(--rr-radius-sm); font-size: 12.5px; font-weight: 600; color: var(--rr-text-400); border: 1px solid transparent; transition: all .14s; }
.rr-tab:hover { color: var(--rr-neon-text); }
.rr-tab.is-active { background: var(--rr-neon-dim); color: var(--rr-neon-text); border-color: rgba(200,255,0,.25); }
.rr-auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.rr-auth-brand { background: var(--rr-ink); display: flex; flex-direction: column; justify-content: center; padding: 60px; position: relative; overflow: hidden; }
.rr-auth-brand::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(200,255,0,.12) 0%, transparent 70%); top: -100px; right: -100px; }
.rr-auth-brand__logo { width: auto; height: auto; background: none; border-radius: 0; display: block; margin-bottom: 24px; }
.rr-brand-logo--auth { max-width: 280px; width: 100%; height: auto; display: block; }
.rr-brand-logo { max-width: 100%; height: auto; }
.rr-auth-brand h1 { font-family: var(--rr-font-head); font-size: 42px; font-weight: 700; color: #fff; letter-spacing: -.5px; line-height: 1.1; margin-bottom: 16px; }
.rr-auth-brand p { font-size: 15px; color: var(--rr-sidebar-muted); line-height: 1.7; max-width: 400px; }
.rr-auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--rr-surface); }
.rr-auth-card { width: 100%; max-width: 420px; background: var(--rr-card); border: 1px solid var(--rr-border); border-radius: var(--rr-radius); padding: 36px 32px; box-shadow: var(--rr-shadow-card); }
.rr-auth-card h2 { font-family: var(--rr-font-head); font-size: 24px; font-weight: 700; color: var(--rr-text-900); margin-bottom: 6px; }
.rr-auth-card .sub { font-size: 13px; color: var(--rr-text-400); margin-bottom: 28px; }
.rr-auth-tabs { display: flex; gap: 0; margin-bottom: 24px; background: var(--rr-surface); border-radius: var(--rr-radius-sm); padding: 4px; border: 1px solid var(--rr-border); }
.rr-auth-tab { flex: 1; text-align: center; padding: 10px; font-size: 13px; font-weight: 600; border-radius: var(--rr-radius-xs); color: var(--rr-text-400); transition: all .14s; }
.rr-auth-tab.is-active { background: var(--rr-neon); color: var(--rr-ink); }
.rr-btn-secondary { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--rr-surface); border: 1px solid var(--rr-border); border-radius: var(--rr-radius-sm); font-size: 13px; font-weight: 600; color: var(--rr-text-600); transition: all .14s; }
.rr-btn-secondary:hover { border-color: var(--rr-neon-text); color: var(--rr-neon-text); }
.rr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rr-feed { list-style: none; padding: 0; }
.rr-feed li { display: flex; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--rr-border); }
.rr-feed li:last-child { border-bottom: none; }
.rr-feed__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--rr-neon-dim); display: grid; place-items: center; color: var(--rr-neon-text); flex-shrink: 0; }
.rr-improve-up { color: #15803d; font-weight: 600; }
.rr-improve-down { color: #dc2626; font-weight: 600; }
.rr-kw-link { background: none; border: none; padding: 0; font: inherit; font-weight: 600; color: var(--rr-text-900); cursor: pointer; text-align: left; display: inline-flex; align-items: center; gap: 6px; }
.rr-kw-link:hover { color: var(--rr-neon-text); }
.rr-kw-link .ti { font-size: 14px; opacity: .6; }
.rr-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.rr-modal.is-open { display: flex; }
.rr-modal__backdrop { position: absolute; inset: 0; background: rgba(12,17,14,.55); }
.rr-modal__dialog { position: relative; width: 100%; max-width: 720px; background: var(--rr-card); border: 1px solid var(--rr-border); border-radius: var(--rr-radius); box-shadow: var(--rr-shadow-card); padding: 24px; max-height: 90vh; overflow: auto; }
.rr-modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.rr-modal__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--rr-text-400); margin-bottom: 4px; }
.rr-modal__title { font-family: var(--rr-font-head); font-size: 20px; font-weight: 700; color: var(--rr-text-900); margin: 0; }
.rr-modal__close { background: var(--rr-surface); border: 1px solid var(--rr-border); border-radius: 8px; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }
.rr-modal__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rr-chart-wrap--modal { height: 320px; }
@media (max-width: 900px) { .rr-auth-page { grid-template-columns: 1fr; } .rr-auth-brand { display: none; } .rr-grid-2 { grid-template-columns: 1fr; } }


img.rr-brand-logo {
    width: 100%;
    max-width: 130px;
}
.rr-sidebar__brand-sub {
    display: none;
}
.rr-auth-brand__logo img.rr-brand-logo.rr-brand-logo--auth {
    max-width: 250px;
}
.rr-auth-page {
    position: fixed;
    width: 100%;
    top: 0;
}