/* Alternative theme: Neo. Keep classic theme untouched. */
.rb-theme-neo{
  --neo-bg:#eef3f8;
  --neo-surface:#ffffff;
  --neo-border:#d9e3ef;
  --neo-shadow:0 18px 40px rgba(15,23,42,.08);
  --neo-ink:#111827;
  --neo-muted:#667085;
  --neo-primary:#5b5cf0;
  --neo-primary-2:#7c3aed;
  --neo-sidebar:#06142f;
  --neo-sidebar-2:#081a3e;
  --neo-success:#16a34a;
  --neo-danger:#ef4444;
  background:var(--neo-bg);
}
.rb-theme-neo body{background:var(--neo-bg)}
.rb-theme-neo .site-wrap{background:linear-gradient(180deg,#f7faff 0,#edf3fa 100%)}
.rb-theme-neo .site-navbar-wrap{position:sticky;top:0;z-index:1000}
.rb-theme-neo .site-navbar{background:rgba(255,255,255,.92);backdrop-filter:blur(20px);border-bottom:1px solid rgba(217,227,239,.9);box-shadow:0 10px 28px rgba(15,23,42,.05)}
.rb-theme-neo .rb-header-shell{max-width:1600px;padding:14px 28px}
.rb-theme-neo .rb-logo-badge{background:linear-gradient(135deg,var(--neo-primary),var(--neo-primary-2));color:#fff;box-shadow:0 12px 28px rgba(91,92,240,.35)}
.rb-theme-neo .rb-logo-copy strong{color:#0f172a}
.rb-theme-neo .rb-logo-copy span{color:#64748b}
.rb-theme-neo .rb-nav a{color:#475569;background:transparent;border:1px solid transparent}
.rb-theme-neo .rb-nav a:hover{background:#f5f3ff;color:#312e81;border-color:#ddd6fe}
.rb-theme-neo .rb-nav a.is-active{background:linear-gradient(135deg,#5b5cf0,#7c3aed);color:#fff;box-shadow:0 10px 22px rgba(91,92,240,.22)}
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip{background:#fff;border:1px solid var(--neo-border);box-shadow:0 8px 22px rgba(15,23,42,.06);color:#0f172a}
.rb-theme-neo .rb-theme-switch{display:flex;align-items:center;gap:8px;margin-right:8px}
.rb-theme-neo .rb-theme-switch a{padding:10px 14px;border-radius:999px;border:1px solid var(--neo-border);background:#fff;color:#475569;font-size:13px;font-weight:700;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.rb-theme-neo .rb-theme-switch a.is-active{background:linear-gradient(135deg,var(--neo-primary),var(--neo-primary-2));border-color:transparent;color:#fff}
.rb-theme-neo .rb-page{padding-top:16px}
.rb-theme-neo .container{max-width:1520px}
.rb-theme-neo .rb-page-head{align-items:flex-start}
.rb-theme-neo .rb-page-kicker{background:#eef2ff;color:#4338ca;border:1px solid #ddd6fe}
.rb-theme-neo .rb-page-title,.rb-theme-neo .rb-section-title{color:#0f172a}
.rb-theme-neo .rb-page-subtitle{color:#64748b}
.rb-theme-neo .rb-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .company-card,
.rb-theme-neo .rb-company-card,
.rb-theme-neo .rb-shot-card,
.rb-theme-neo .rb-feature-card,
.rb-theme-neo .rb-landing-panel,
.rb-theme-neo .rb-meta-card,
.rb-theme-neo .rb-summary-surface,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .stats-summary-box,
.rb-theme-neo .card{
  background:var(--neo-surface)!important;
  border:1px solid var(--neo-border)!important;
  box-shadow:var(--neo-shadow)!important;
}
.rb-theme-neo .rb-landing-grid{grid-template-columns:1.05fr .95fr;gap:22px}
.rb-theme-neo .rb-landing-hero{background:linear-gradient(135deg,#07142f 0,#0e2050 48%,#5b5cf0 100%);overflow:hidden;position:relative;border-radius:30px;border:1px solid rgba(255,255,255,.08);box-shadow:0 30px 60px rgba(15,23,42,.22)}
.rb-theme-neo .rb-landing-hero::after{content:"";position:absolute;right:-80px;top:-80px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),rgba(255,255,255,0));pointer-events:none}
.rb-theme-neo .rb-landing-hero h1{max-width:760px;color:#fff}
.rb-theme-neo .rb-landing-hero p{max-width:700px;color:#dbeafe!important}
.rb-theme-neo .rb-landing-panel{padding:22px 22px 18px}
.rb-theme-neo .rb-product-shot{display:grid;grid-template-columns:1fr;gap:14px}
.rb-theme-neo .rb-dashboard-preview{border-radius:24px;overflow:hidden;border:1px solid #d6e0ec;box-shadow:var(--neo-shadow);background:#fff;margin-top:12px}
.rb-theme-neo .rb-dashboard-preview img{display:block;width:100%;height:auto}
.rb-theme-neo .rb-preview-caption{padding:14px 16px;border-top:1px solid #e8eef5;color:#64748b;font-size:13px}
.rb-theme-neo .rb-mini-nav a{background:#fff;border:1px solid #e5ebf3}
.rb-theme-neo .rb-cta-band{background:linear-gradient(135deg,#0a1a3c,#273f92 55%,#5b5cf0);box-shadow:0 24px 50px rgba(15,23,42,.18)}
.rb-theme-neo .rb-chip.dark{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.14)}

/* User shell with left sidebar feeling */
.rb-theme-neo .company-stats-page>.container,
.rb-theme-neo .site-section>.container{max-width:1640px}
.rb-theme-neo .company-stats-sidebar{flex:0 0 280px;max-width:280px}
.rb-theme-neo .company-stats-main{flex:1 1 calc(100% - 280px);max-width:calc(100% - 280px)}
.rb-theme-neo .company-stats-shell{max-width:none;padding:0 12px 0 20px}
.rb-theme-neo .profile-sidebar-col{display:block!important;max-width:none;padding:0 24px 0 0!important}
.rb-theme-neo .profile-sidebar{position:sticky;top:112px;background:linear-gradient(180deg,var(--neo-sidebar),var(--neo-sidebar-2));border-radius:28px;padding:18px;border:1px solid rgba(255,255,255,.07);box-shadow:0 28px 56px rgba(2,6,23,.22)}
.rb-theme-neo .profile-sidebar .list-group-item{background:transparent;border:0;color:#d6e2ff;border-radius:16px;font-weight:600;padding:14px 16px;margin-bottom:6px}
.rb-theme-neo .profile-sidebar .list-group-item.active,
.rb-theme-neo .profile-sidebar .list-group-item:hover{background:linear-gradient(135deg,var(--neo-primary),var(--neo-primary-2));color:#fff;box-shadow:0 10px 22px rgba(91,92,240,.26)}
.rb-theme-neo .profile-sidebar .img-rubr-mini-profile{background:transparent!important;box-shadow:none!important;color:inherit;margin-right:10px}
.rb-theme-neo .profile-sidebar .sidebar-admin-link{margin-top:8px;background:rgba(255,255,255,.05)}
.rb-theme-neo .profile-sidebar .logout{color:#f8c4c4}

/* Monitoring alt blocks */
.rb-theme-neo .rb-summary-surface{padding:18px 20px;border-radius:26px}
.rb-theme-neo .rb-summary-surface .summary-item{padding:12px 10px}
.rb-theme-neo .rb-summary-surface .summary-value{font-size:32px}
.rb-theme-neo .neo-analytics-wrap{margin-bottom:20px;background:#fff;border:1px solid var(--neo-border);border-radius:28px;box-shadow:var(--neo-shadow);padding:20px}
.rb-theme-neo .neo-analytics-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;color:#0f172a;margin-bottom:18px}
.rb-theme-neo .neo-analytics-title .dot{width:28px;height:28px;border-radius:999px;background:#fff1f2;color:#ef4444;display:grid;place-items:center;font-weight:800}
.rb-theme-neo .neo-analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.rb-theme-neo .neo-analytics-card{border-radius:22px;padding:18px 18px 14px;border:1px solid var(--neo-border);min-height:280px;display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.rb-theme-neo .neo-analytics-card.is-blue{background:#eff6ff}
.rb-theme-neo .neo-analytics-card.is-amber{background:#fff7ed}
.rb-theme-neo .neo-analytics-card.is-rose{background:#fff1f2}
.rb-theme-neo .neo-analytics-card.is-green{background:#f0fdf4}
.rb-theme-neo .neo-analytics-card h4{margin:0;font-size:18px;font-weight:800;color:#111827}
.rb-theme-neo .neo-analytics-card p{margin:0;color:#64748b;font-size:13px;line-height:1.5}
.rb-theme-neo .neo-analytics-main{font-size:42px;font-weight:900;line-height:1;color:#111827;display:flex;align-items:flex-end;gap:10px}
.rb-theme-neo .neo-analytics-main .small{font-size:15px;color:#64748b;font-weight:700;line-height:1.35}
.rb-theme-neo .neo-starline{display:flex;align-items:center;gap:8px;color:#f59e0b;font-size:20px}
.rb-theme-neo .neo-list{display:grid;gap:10px}
.rb-theme-neo .neo-list-row{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#334155}
.rb-theme-neo .neo-list-row strong{color:#111827}
.rb-theme-neo .neo-image{display:block;width:100%;max-height:108px;object-fit:cover;border-radius:18px;border:1px solid rgba(15,23,42,.06);background:#fff}
.rb-theme-neo .neo-card-footer{display:flex;justify-content:center;align-items:center;padding:11px 14px;border-radius:14px;background:rgba(255,255,255,.7);border:1px solid rgba(15,23,42,.06);font-size:13px;font-weight:700;color:#475569}
.rb-theme-neo .rb-platform-card{border-radius:28px;overflow:hidden}
.rb-theme-neo .rb-platform-card .table{margin-bottom:0}
.rb-theme-neo .rb-platform-card thead th{font-size:12px;color:#64748b;text-transform:none;border-color:#edf2f7;background:#f8fafc}
.rb-theme-neo .rb-platform-card tbody td{border-color:#eef2f7;vertical-align:middle}
.rb-theme-neo .rb-platform-card .btn-outline-primary{border-radius:14px}

/* Generic forms and tables */
.rb-theme-neo .form-control,
.rb-theme-neo .rb-input,
.rb-theme-neo .rb-select,
.rb-theme-neo .rb-textarea,
.rb-theme-neo .sk-input,
.rb-theme-neo textarea,
.rb-theme-neo select{background:#fff!important;border:1px solid #d6e0ec!important;border-radius:16px;color:#111827!important;min-height:52px}
.rb-theme-neo textarea{min-height:140px}
.rb-theme-neo .form-control:focus,
.rb-theme-neo .rb-input:focus,
.rb-theme-neo .rb-select:focus,
.rb-theme-neo .rb-textarea:focus,
.rb-theme-neo .sk-input:focus,
.rb-theme-neo textarea:focus,
.rb-theme-neo select:focus{border-color:#8b5cf6!important;box-shadow:0 0 0 4px rgba(139,92,246,.12)!important}
.rb-theme-neo .sk-btn,
.rb-theme-neo .btn-primary,
.rb-theme-neo .action-btn{background:linear-gradient(135deg,var(--neo-primary),var(--neo-primary-2));border:0;color:#fff;border-radius:16px;box-shadow:0 12px 28px rgba(91,92,240,.22)}
.rb-theme-neo .sk-btn-secondary,
.rb-theme-neo .btn-outline-secondary,
.rb-theme-neo .btn-outline-primary,
.rb-theme-neo .unified-back-btn{background:#fff;border:1px solid var(--neo-border);color:#0f172a;border-radius:16px;box-shadow:none}
.rb-theme-neo .table,.rb-theme-neo table{background:transparent}
.rb-theme-neo .table td,.rb-theme-neo .table th{border-color:#ecf1f7}

@media (max-width: 1200px){
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 991px){
  .rb-theme-neo .rb-header-shell{padding:14px 16px;gap:12px}
  .rb-theme-neo .rb-theme-switch{order:3;width:100%;margin-right:0}
  .rb-theme-neo .rb-landing-grid{grid-template-columns:1fr}
  .rb-theme-neo .company-stats-sidebar{display:none}
  .rb-theme-neo .company-stats-main{max-width:100%;flex-basis:100%}
  .rb-theme-neo .company-stats-shell{padding:0}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:1fr}
}

/* v13 reference-like user shell */
.rb-theme-neo.rb-area-user .site-wrap{background:#eef3f8}
.rb-theme-neo.rb-area-user .site-navbar-wrap{background:transparent;border-bottom:0}
.rb-theme-neo.rb-area-user .site-navbar{background:#f7faff;backdrop-filter:none;border-bottom:1px solid #dde6f0;box-shadow:none}
.rb-theme-neo.rb-area-user .rb-header-shell{max-width:1600px;min-height:88px;padding:18px 20px}
.rb-theme-neo.rb-area-user .rb-nav{display:none}
.rb-theme-neo.rb-area-user .rb-logo-copy strong{font-size:20px;letter-spacing:-.02em}
.rb-theme-neo.rb-area-user .rb-logo-copy span{font-size:12px;color:#8aa0bd}
.rb-theme-neo .rb-neo-balance-group{display:flex;align-items:center;gap:10px}
.rb-theme-neo .rb-balance-chip{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:16px;background:#fff;border:1px solid #d9e3ef;min-width:148px;justify-content:space-between}
.rb-theme-neo .rb-balance-chip strong{font-size:14px;color:#0f172a}
.rb-theme-neo .rb-balance-label{font-size:12px;color:#64748b;font-weight:700}
.rb-theme-neo .rb-topup-chip,.rb-theme-neo .neo-ghost-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:14px;background:#fff;border:1px solid #d9e3ef;color:#0f172a;font-weight:700}
.rb-theme-neo .rb-bell-chip{width:46px;height:46px;border-radius:14px;border:1px solid #d9e3ef;background:#fff;color:#0f172a;display:grid;place-items:center;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.rb-theme-neo .rb-user-chip-detailed{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 10px;border-radius:16px}
.rb-theme-neo .rb-user-avatar{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#5b5cf0,#7c3aed);color:#fff;display:grid;place-items:center;font-weight:800;flex-shrink:0}
.rb-theme-neo .rb-user-meta{display:flex;flex-direction:column;line-height:1.2}
.rb-theme-neo .rb-user-meta strong{font-size:13px;color:#0f172a}
.rb-theme-neo .rb-user-meta small{font-size:11px;color:#64748b;text-transform:capitalize}

.rb-theme-neo .company-stats-page{padding-top:20px!important}
.rb-theme-neo .company-stats-page > .container{max-width:1600px;padding-left:18px;padding-right:18px}
.rb-theme-neo .company-stats-sidebar{flex:0 0 230px;max-width:230px}
.rb-theme-neo .company-stats-main{flex:1 1 calc(100% - 230px);max-width:calc(100% - 230px);padding-left:12px!important}
.rb-theme-neo .profile-sidebar-col{padding-right:18px!important}
.rb-theme-neo .profile-sidebar{padding:18px 16px 16px;border-radius:26px;gap:0}
.rb-theme-neo .rb-sidebar-brand{display:flex;align-items:center;gap:12px;padding:6px 8px 18px;color:#fff}
.rb-theme-neo .rb-sidebar-brand-badge{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#5b5cf0,#7c3aed);font-weight:800;box-shadow:0 12px 24px rgba(91,92,240,.35)}
.rb-theme-neo .rb-sidebar-brand strong{display:block;font-size:16px}
.rb-theme-neo .rb-sidebar-brand span{display:block;font-size:12px;color:#9db2d6}
.rb-theme-neo .rb-sidebar-section-title{padding:10px 10px 8px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#6f86ad}
.rb-theme-neo .rb-sidebar-promo,.rb-theme-neo .rb-sidebar-help{margin-top:12px;padding:16px;border-radius:20px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.045)}
.rb-theme-neo .rb-sidebar-promo-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(124,58,237,.24);color:#ddd6fe;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.rb-theme-neo .rb-sidebar-promo strong,.rb-theme-neo .rb-sidebar-help strong{display:block;color:#fff;font-size:15px;line-height:1.35}
.rb-theme-neo .rb-sidebar-promo p,.rb-theme-neo .rb-sidebar-help span{margin:8px 0 0;color:#a9bddc;font-size:13px;line-height:1.5}
.rb-theme-neo .rb-sidebar-promo-btn{display:inline-flex;margin-top:14px;padding:11px 14px;border-radius:14px;background:#fff;color:#0f172a;font-weight:800}
.rb-theme-neo .rb-sidebar-help-links{display:flex;gap:10px;margin-top:14px}
.rb-theme-neo .rb-sidebar-help-links a{width:40px;height:40px;border-radius:12px;background:#fff;color:#0f172a;display:grid;place-items:center}

.rb-theme-neo .neo-monitor-wrap{display:block}
.rb-theme-neo .neo-breadcrumbs{display:flex;align-items:center;gap:10px;color:#8aa0bd;font-size:12px;font-weight:700}
.rb-theme-neo .neo-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:10px 0 2px}
.rb-theme-neo .neo-page-header h1{margin:0;font-size:38px;line-height:1.05;letter-spacing:-.03em;color:#0f172a}
.rb-theme-neo .neo-page-company-meta{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}
.rb-theme-neo .neo-company-select-card{display:flex;flex-direction:column;gap:4px;padding:14px 18px;border-radius:18px;border:1px solid #dbe4ef;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);min-width:320px}
.rb-theme-neo .neo-company-select-card strong{font-size:15px;color:#0f172a}
.rb-theme-neo .neo-company-select-card span{font-size:13px;color:#64748b}
.rb-theme-neo .neo-status-chip{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;font-weight:800;font-size:13px}
.rb-theme-neo .neo-status-chip.is-active{background:#ecfdf5;color:#15803d}
.rb-theme-neo .neo-status-chip.is-muted{background:#f1f5f9;color:#475569}
.rb-theme-neo .neo-page-header-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rb-theme-neo .neo-period-chip{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border-radius:14px;background:#fff;border:1px solid #dbe4ef;color:#475569;font-weight:700}

.rb-theme-neo .neo-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.rb-theme-neo .neo-kpi-card{background:#fff;border:1px solid #dbe4ef;border-radius:22px;padding:18px 18px 16px;box-shadow:0 16px 30px rgba(15,23,42,.05)}
.rb-theme-neo .neo-kpi-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;margin-bottom:14px;font-size:18px}
.rb-theme-neo .neo-kpi-icon.is-indigo{background:#eef2ff;color:#4f46e5}
.rb-theme-neo .neo-kpi-icon.is-green{background:#ecfdf5;color:#16a34a}
.rb-theme-neo .neo-kpi-icon.is-rose{background:#fff1f2;color:#e11d48}
.rb-theme-neo .neo-kpi-icon.is-amber{background:#fffbeb;color:#d97706}
.rb-theme-neo .neo-kpi-icon.is-sky{background:#eff6ff;color:#2563eb}
.rb-theme-neo .neo-kpi-icon.is-red{background:#fef2f2;color:#dc2626}
.rb-theme-neo .neo-kpi-value{font-size:34px;font-weight:900;line-height:1;color:#0f172a;letter-spacing:-.03em;margin-bottom:8px}
.rb-theme-neo .neo-kpi-label{font-size:13px;font-weight:700;color:#334155;margin-bottom:10px}
.rb-theme-neo .neo-kpi-change{font-size:12px;font-weight:800;color:#64748b}
.rb-theme-neo .neo-kpi-change.is-positive{color:#16a34a}
.rb-theme-neo .neo-kpi-change.is-negative{color:#dc2626}

.rb-theme-neo .neo-layout-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.rb-theme-neo .neo-main-column{display:grid;gap:20px}
.rb-theme-neo .neo-side-column{display:grid;gap:18px}
.rb-theme-neo .neo-side-card{background:#fff;border:1px solid #dbe4ef;border-radius:22px;padding:18px;box-shadow:0 16px 30px rgba(15,23,42,.05)}
.rb-theme-neo .neo-side-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.rb-theme-neo .neo-side-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#64748b;font-weight:800}
.rb-theme-neo .neo-link-inline{font-size:13px;color:#4f46e5;font-weight:800}
.rb-theme-neo .neo-company-mini{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.rb-theme-neo .neo-company-mini-logo{width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#eef2ff,#f5f3ff);display:grid;place-items:center;overflow:hidden;border:1px solid #dbe4ef;color:#4338ca;font-weight:900}
.rb-theme-neo .neo-company-mini-logo img{width:100%;height:100%;object-fit:cover}
.rb-theme-neo .neo-company-mini strong{display:block;font-size:15px;color:#0f172a}
.rb-theme-neo .neo-company-mini span{display:block;font-size:13px;color:#64748b}
.rb-theme-neo .neo-side-stat-list{display:grid;gap:12px}
.rb-theme-neo .neo-side-stat-list div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf2f7}
.rb-theme-neo .neo-side-stat-list div:last-child{padding-bottom:0;border-bottom:0}
.rb-theme-neo .neo-side-stat-list span{font-size:13px;color:#64748b}
.rb-theme-neo .neo-side-stat-list strong{font-size:13px;color:#0f172a}
.rb-theme-neo .neo-mini-chart-card{display:grid;gap:14px}
.rb-theme-neo .neo-mini-chart-row{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#334155;font-weight:700}
.rb-theme-neo .neo-progress{height:10px;border-radius:999px;background:#eef2ff;overflow:hidden}
.rb-theme-neo .neo-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(135deg,#5b5cf0,#7c3aed)}
.rb-theme-neo .neo-progress.is-red{background:#ffe4e6}
.rb-theme-neo .neo-progress.is-red span{background:linear-gradient(135deg,#fb7185,#ef4444)}
.rb-theme-neo .neo-alert-list{display:grid;gap:12px}
.rb-theme-neo .neo-alert-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #edf2f7}
.rb-theme-neo .neo-alert-item:last-child{border-bottom:0;padding-bottom:0}
.rb-theme-neo .neo-alert-item i{width:36px;height:36px;border-radius:12px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center;flex-shrink:0}
.rb-theme-neo .neo-alert-item strong{display:block;font-size:14px;color:#0f172a}
.rb-theme-neo .neo-alert-item span{display:block;font-size:12px;color:#64748b;line-height:1.5}
.rb-theme-neo .neo-quick-actions{display:grid;gap:10px}
.rb-theme-neo .neo-action-tile{display:flex;align-items:center;gap:12px;padding:14px 14px;border:1px solid #dbe4ef;border-radius:16px;background:#f8fafc;color:#0f172a;font-weight:800}
.rb-theme-neo .neo-action-tile i{width:34px;height:34px;border-radius:12px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center}

.rb-theme-neo .neo-block-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:4px 2px 18px}
.rb-theme-neo .neo-block-head h3{margin:0;font-size:24px;letter-spacing:-.02em;color:#0f172a}
.rb-theme-neo .neo-block-head p{margin:6px 0 0;color:#64748b;font-size:13px}
.rb-theme-neo .neo-platforms-card,.rb-theme-neo .neo-design-preview-card{background:#fff;border:1px solid #dbe4ef;border-radius:26px;padding:20px 20px 18px;box-shadow:0 16px 30px rgba(15,23,42,.05)}
.rb-theme-neo .neo-platforms-table{width:100%;border-collapse:collapse}
.rb-theme-neo .neo-platforms-table th,.rb-theme-neo .neo-platforms-table td{padding:16px 12px;border-top:1px solid #edf2f7;font-size:14px;vertical-align:middle;text-align:left;white-space:nowrap}
.rb-theme-neo .neo-platforms-table thead th{padding-top:0;border-top:0;font-size:12px;font-weight:800;color:#64748b;text-transform:none;background:transparent}
.rb-theme-neo .neo-platform-cell{display:flex;align-items:center;gap:12px;min-width:220px}
.rb-theme-neo .neo-platform-icon{width:42px;height:42px;border-radius:14px;background:#f8fafc;border:1px solid #edf2f7;display:grid;place-items:center;font-size:18px}
.rb-theme-neo .neo-platform-link{font-size:12px;color:#94a3b8;margin-top:2px;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.rb-theme-neo .neo-delta{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}
.rb-theme-neo .neo-delta.is-positive{background:#ecfdf5;color:#15803d}
.rb-theme-neo .neo-delta.is-negative{background:#fff1f2;color:#dc2626}
.rb-theme-neo .neo-table-actions{display:flex;align-items:center;gap:8px}
.rb-theme-neo .neo-table-btn,.rb-theme-neo .neo-icon-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border-radius:12px;border:1px solid #dbe4ef;background:#fff;color:#0f172a;font-weight:700}
.rb-theme-neo .neo-icon-btn{width:36px;padding:0}
.rb-theme-neo .neo-design-image{display:block;width:100%;height:auto;border-radius:18px;border:1px solid #e2e8f0;background:#fff}

@media (max-width: 1400px){
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 1199px){
  .rb-theme-neo .company-stats-sidebar{flex:0 0 210px;max-width:210px}
  .rb-theme-neo .company-stats-main{flex-basis:calc(100% - 210px);max-width:calc(100% - 210px)}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 991px){
  .rb-theme-neo .rb-header-shell{padding:14px 16px}
  .rb-theme-neo .rb-logo-copy span,.rb-theme-neo .rb-user-meta small{display:none}
  .rb-theme-neo .rb-neo-balance-group{display:none}
  .rb-theme-neo .company-stats-main{max-width:100%;flex-basis:100%;padding-left:0!important}
  .rb-theme-neo .neo-page-header{flex-direction:column;align-items:flex-start}
  .rb-theme-neo .neo-company-select-card{min-width:0;width:100%}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rb-theme-neo .neo-side-column{grid-template-columns:1fr}
}
@media (max-width: 767px){
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:1fr}
  .rb-theme-neo .neo-platforms-table{display:block;overflow:auto}
}

/* dashboard detail pass */
.rb-theme-neo .user-dashboard-main{padding-left:8px!important}
.rb-theme-neo .user-dashboard-page .company-stats-shell{align-items:flex-start}
.rb-theme-neo .user-dashboard-page .neo-page-header{padding-top:4px;margin-bottom:2px}
.rb-theme-neo .neo-overview-card{background:#fff;border:1px solid #dbe4ef;border-radius:28px;padding:20px;box-shadow:0 16px 30px rgba(15,23,42,.05)}
.rb-theme-neo .neo-analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rb-theme-neo .neo-analytics-card{border-radius:22px;padding:18px;min-height:250px;display:flex;flex-direction:column;gap:14px;border:1px solid rgba(148,163,184,.14)}
.rb-theme-neo .neo-analytics-card.is-soft-blue{background:linear-gradient(180deg,#f6f9ff,#eff5ff)}
.rb-theme-neo .neo-analytics-card.is-soft-sand{background:linear-gradient(180deg,#fff9ef,#fff5e6)}
.rb-theme-neo .neo-analytics-card.is-soft-rose{background:linear-gradient(180deg,#fff4f5,#feeaee)}
.rb-theme-neo .neo-analytics-card.is-soft-green{background:linear-gradient(180deg,#f4fbf7,#eef9f3)}
.rb-theme-neo .neo-analytics-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.rb-theme-neo .neo-analytics-label{display:block;font-size:13px;font-weight:700;color:#475569;margin-bottom:8px}
.rb-theme-neo .neo-analytics-head strong{display:block;font-size:42px;line-height:1;letter-spacing:-.04em;color:#0f172a}
.rb-theme-neo .neo-analytics-badge{width:44px;height:44px;border-radius:16px;background:#fff;border:1px solid rgba(148,163,184,.18);display:grid;place-items:center;color:#4f46e5;box-shadow:0 10px 20px rgba(15,23,42,.04)}
.rb-theme-neo .neo-stars{display:flex;gap:6px;color:#f59e0b;font-size:15px}
.rb-theme-neo .neo-analytics-meta{font-size:14px;color:#475569}
.rb-theme-neo .neo-analytics-meta strong{color:#0f172a}
.rb-theme-neo .neo-sparkline{display:flex;align-items:flex-end;gap:8px;height:58px;margin-top:auto}
.rb-theme-neo .neo-sparkline span{flex:1;border-radius:999px 999px 4px 4px;background:linear-gradient(180deg,#4ade80,#22c55e);opacity:.92;min-height:14px}
.rb-theme-neo .neo-growth-bars{display:flex;align-items:flex-end;gap:10px;height:76px;margin-top:auto}
.rb-theme-neo .neo-growth-bars span{flex:1;min-height:18px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#93c5fd,#22c55e)}
.rb-theme-neo .neo-analytics-stack{display:grid;gap:12px}
.rb-theme-neo .neo-analytics-stack div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(148,163,184,.14);font-size:14px;color:#475569}
.rb-theme-neo .neo-analytics-stack div:last-child{border-bottom:0;padding-bottom:0}
.rb-theme-neo .neo-analytics-stack strong{color:#0f172a;font-size:15px}
.rb-theme-neo .neo-analytics-stack strong.is-positive{color:#16a34a}
.rb-theme-neo .neo-analytics-stack strong.is-negative{color:#dc2626}
.rb-theme-neo .neo-card-action{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:14px;background:rgba(255,255,255,.78);border:1px solid rgba(148,163,184,.2);font-weight:700;color:#334155}
.rb-theme-neo .neo-transactions-table .neo-transaction-type{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-weight:800;font-size:12px}
.rb-theme-neo .neo-platforms-table strong{color:#0f172a}
.rb-theme-neo .neo-platforms-table td .neo-platform-link{max-width:220px}

@media (max-width: 1400px){
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 991px){
  .rb-theme-neo .user-dashboard-main{padding-left:0!important}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:1fr}
}



/* ===== phase 3 dashboard polish ===== */
.rb-theme-neo .neo-dashboard-container{max-width:1540px}
.rb-theme-neo .neo-dashboard-shell{gap:24px;align-items:flex-start}
.rb-theme-neo .neo-dashboard-main{min-width:0}
.rb-theme-neo .neo-sidebar-col{flex:0 0 262px;max-width:262px}
.rb-theme-neo .profile-sidebar{min-height:calc(100vh - 136px)}
.rb-theme-neo .rb-sidebar-brand{display:flex;align-items:center;gap:14px;padding:6px 6px 18px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}
.rb-theme-neo .rb-sidebar-brand:hover{text-decoration:none}
.rb-theme-neo .rb-sidebar-brand strong{display:block;font-size:30px;letter-spacing:-.04em;color:#fff;line-height:1.05}
.rb-theme-neo .rb-sidebar-brand span{display:block;font-size:12px;color:#93a8d3;letter-spacing:.08em;text-transform:uppercase}
.rb-theme-neo .rb-sidebar-brand-badge{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#7c3aed);display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 14px 30px rgba(37,99,235,.35)}
.rb-theme-neo .rb-sidebar-section-title{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#7f93be;padding:12px 8px 8px;font-weight:800}
.rb-theme-neo .profile-sidebar .list-group-item{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid transparent}
.rb-theme-neo .profile-sidebar .list-group-item.active{padding-right:14px}
.rb-theme-neo .neo-nav-main{display:flex;align-items:center;gap:12px;min-width:0}
.rb-theme-neo .neo-nav-main span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rb-theme-neo .neo-nav-arrow{font-size:12px;opacity:.9}
.rb-theme-neo .rb-sidebar-promo{margin-top:auto;background:linear-gradient(180deg,rgba(91,92,240,.24),rgba(124,58,237,.30));border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:18px 16px 16px;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.rb-theme-neo .rb-sidebar-promo strong{display:block;font-size:16px;line-height:1.35;margin-bottom:10px}
.rb-theme-neo .rb-sidebar-promo p{font-size:13px;color:#d8ddff;line-height:1.5;margin:0 0 14px}
.rb-theme-neo .rb-sidebar-promo-btn{display:flex;align-items:center;justify-content:center;height:42px;border-radius:12px;background:#fff;color:#4f46e5;font-weight:800}
.rb-theme-neo .rb-sidebar-help{margin-top:16px;border-radius:18px;padding:16px;background:rgba(7,17,40,.55);border:1px solid rgba(255,255,255,.08)}
.rb-theme-neo .rb-sidebar-help-head strong{display:block;color:#fff;font-size:15px}
.rb-theme-neo .rb-sidebar-help-head span{display:block;color:#8fa6d6;font-size:12px;margin-top:4px}
.rb-theme-neo .rb-sidebar-help-links{display:flex;gap:10px;margin-top:14px}
.rb-theme-neo .rb-sidebar-help-links a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#0c1d44;color:#fff;font-size:20px;border:1px solid rgba(255,255,255,.1)}
.rb-theme-neo .rb-sidebar-help-links a:first-child{background:#0f8f55}
.rb-theme-neo .rb-sidebar-help-links a:last-child{background:#2494ff}
.rb-theme-neo .profile-sidebar .logout{margin-top:14px;background:rgba(255,255,255,.03)}

.rb-theme-neo .rb-header-shell.rb-header-shell-user{padding:10px 20px 10px 24px;gap:18px}
.rb-theme-neo .rb-logo{min-width:240px}
.rb-theme-neo .rb-logo-copy strong{text-transform:uppercase;letter-spacing:-.03em}
.rb-theme-neo .rb-header-actions{gap:12px}
.rb-theme-neo .rb-neo-balance-group{display:flex;align-items:center;gap:8px}
.rb-theme-neo .rb-balance-chip{display:flex;align-items:center;height:42px;border-radius:12px;padding:0 14px}
.rb-theme-neo .rb-balance-copy{display:flex;flex-direction:column;line-height:1.1}
.rb-theme-neo .rb-balance-label{font-size:10px;text-transform:none;color:#64748b;margin-bottom:2px}
.rb-theme-neo .rb-balance-chip strong{font-size:18px;letter-spacing:-.02em}
.rb-theme-neo .rb-topup-chip{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#22c55e;color:#fff;border:0;box-shadow:0 10px 18px rgba(34,197,94,.22);font-size:12px}
.rb-theme-neo .rb-bell-chip{position:relative;width:38px;height:38px;border-radius:12px;border:1px solid transparent;background:transparent;color:#334155;display:grid;place-items:center}
.rb-theme-neo .rb-bell-badge{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;border:2px solid #fff}
.rb-theme-neo .rb-user-chip-detailed{gap:10px;padding:8px 12px 8px 10px}
.rb-theme-neo .rb-user-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#ffb454,#3b82f6);color:#fff;font-weight:900}
.rb-theme-neo .rb-user-meta strong{font-size:14px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-theme-neo .rb-user-meta small{font-size:12px;color:#64748b}
.rb-theme-neo .rb-user-caret{font-size:12px;color:#64748b}

.rb-theme-neo .neo-page-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:8px 2px 0}
.rb-theme-neo .neo-page-header h1{font-size:40px;line-height:1.05;letter-spacing:-.04em;margin:0 0 10px;color:#101828}
.rb-theme-neo .neo-breadcrumbs{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#94a3b8}
.rb-theme-neo .neo-page-company-meta-wide{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.rb-theme-neo .neo-company-select-card-wide{display:flex;align-items:center;gap:12px;min-width:300px;padding:12px 16px}
.rb-theme-neo .neo-company-select-icon{width:40px;height:40px;border-radius:12px;background:#f8fafc;border:1px solid #dbe4ef;display:grid;place-items:center;color:#64748b;flex:0 0 auto}
.rb-theme-neo .neo-company-select-copy{display:flex;flex-direction:column}
.rb-theme-neo .neo-company-select-copy strong{font-size:15px}
.rb-theme-neo .neo-company-select-copy span{font-size:13px;color:#64748b}
.rb-theme-neo .neo-page-header-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rb-theme-neo .neo-header-action.sk-btn{height:42px;border-radius:12px;padding:0 16px;font-weight:800}
.rb-theme-neo .neo-period-chip{display:flex;align-items:center;gap:10px;height:42px;border-radius:12px;padding:0 14px;background:#fff;border:1px solid #dbe4ef;box-shadow:0 10px 24px rgba(15,23,42,.04);font-size:13px;font-weight:700;color:#334155}
.rb-theme-neo .neo-period-caret{font-size:12px;color:#94a3b8}

.rb-theme-neo .neo-kpi-grid{gap:14px}
.rb-theme-neo .neo-kpi-card{border-radius:18px;padding:16px 16px 14px}
.rb-theme-neo .neo-kpi-icon{width:42px;height:42px;border-radius:50%}
.rb-theme-neo .neo-kpi-value{font-size:20px;letter-spacing:-.02em}
.rb-theme-neo .neo-kpi-label{font-size:12px}
.rb-theme-neo .neo-kpi-change{font-size:11px;line-height:1.4}

.rb-theme-neo .neo-layout-grid{grid-template-columns:minmax(0,1fr) 284px;gap:18px}
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-table-card,
.rb-theme-neo .neo-transactions-card,
.rb-theme-neo .neo-side-card{border-radius:18px;border:1px solid #e6ebf2;box-shadow:0 10px 22px rgba(15,23,42,.04)}
.rb-theme-neo .neo-block-head{margin-bottom:16px}
.rb-theme-neo .neo-block-head h3{font-size:26px;letter-spacing:-.03em;color:#0f172a}
.rb-theme-neo .neo-block-head p{font-size:13px;color:#64748b;max-width:720px}
.rb-theme-neo .neo-analytics-grid{gap:14px}
.rb-theme-neo .neo-analytics-card{border-radius:16px;min-height:0;padding:16px}
.rb-theme-neo .neo-analytics-head{margin-bottom:14px}
.rb-theme-neo .neo-analytics-label{font-size:13px;font-weight:700;color:#475569}
.rb-theme-neo .neo-analytics-head strong{font-size:18px;color:#0f172a}
.rb-theme-neo .neo-stars i{font-size:16px}
.rb-theme-neo .neo-analytics-meta{font-size:13px}
.rb-theme-neo .neo-sparkline{margin-top:10px;margin-bottom:12px;height:34px;align-items:flex-end}
.rb-theme-neo .neo-card-action{height:36px;border-radius:10px;border:1px solid #dbe4ef;background:rgba(255,255,255,.6);font-size:13px;font-weight:700;color:#4f46e5}
.rb-theme-neo .neo-analytics-stack span{font-size:12px;color:#64748b}
.rb-theme-neo .neo-analytics-stack strong{font-size:15px}
.rb-theme-neo .neo-growth-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}

.rb-theme-neo .neo-table-title{font-size:24px;letter-spacing:-.03em}
.rb-theme-neo .neo-platforms-table th,
.rb-theme-neo .neo-platforms-table td,
.rb-theme-neo .neo-transactions-table th,
.rb-theme-neo .neo-transactions-table td{padding:14px 12px;border-color:#eef2f6}
.rb-theme-neo .neo-platforms-table th,
.rb-theme-neo .neo-transactions-table th{font-size:12px;text-transform:none;color:#64748b;font-weight:700;background:#fcfdff}
.rb-theme-neo .neo-platforms-table tbody tr:hover,
.rb-theme-neo .neo-transactions-table tbody tr:hover{background:#fafbff}
.rb-theme-neo .neo-platform-link{font-size:12px}
.rb-theme-neo .neo-platform-icon{width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid #e6ebf2;display:grid;place-items:center;font-size:14px}
.rb-theme-neo .neo-delta{font-size:13px;font-weight:800}
.rb-theme-neo .neo-table-actions{justify-content:flex-end}
.rb-theme-neo .neo-table-btn,.rb-theme-neo .neo-icon-btn{height:32px;border-radius:10px}

.rb-theme-neo .neo-side-card-head h3{font-size:20px;letter-spacing:-.02em;color:#111827}
.rb-theme-neo .neo-side-kicker{font-size:10px;color:#94a3b8}
.rb-theme-neo .neo-link-inline-block{display:inline-block;margin-top:12px}
.rb-theme-neo .neo-side-stat-list div{font-size:13px}
.rb-theme-neo .neo-mini-chart-card{display:grid;gap:14px}
.rb-theme-neo .neo-mini-stat-card{display:grid;gap:8px}
.rb-theme-neo .neo-mini-chart-row strong{display:flex;align-items:center;gap:8px;font-size:22px;letter-spacing:-.03em;color:#0f172a}
.rb-theme-neo .neo-mini-chart-row em{font-style:normal;font-size:12px;font-weight:800}
.rb-theme-neo .neo-mini-chart-row em.is-positive{color:#16a34a}
.rb-theme-neo .neo-mini-chart-row em.is-negative{color:#ef4444}
.rb-theme-neo .neo-progress{height:6px;border-radius:999px;background:#edf1f7}
.rb-theme-neo .neo-progress span{border-radius:inherit}
.rb-theme-neo .neo-progress.is-indigo span{background:linear-gradient(90deg,#6366f1,#8b5cf6)}
.rb-theme-neo .neo-alert-list{display:grid;gap:12px}
.rb-theme-neo .neo-alert-item{align-items:flex-start;padding:0 0 12px;border-bottom:1px solid #eef2f6}
.rb-theme-neo .neo-alert-item:last-child{padding-bottom:0;border-bottom:0}
.rb-theme-neo .neo-alert-item i{width:18px;font-size:10px;margin-top:5px;color:#7c3aed}
.rb-theme-neo .neo-alert-item strong{font-size:13px;color:#111827}
.rb-theme-neo .neo-alert-item span{font-size:12px;color:#94a3b8}
.rb-theme-neo .neo-quick-actions-stacked{display:grid;gap:10px}
.rb-theme-neo .neo-action-tile{height:40px;border-radius:10px;justify-content:flex-start;padding:0 14px;font-size:13px;font-weight:700}
.rb-theme-neo .neo-action-tile i{width:18px;text-align:center}
.rb-theme-neo .neo-action-tile.is-primary{background:linear-gradient(135deg,#6d28d9,#7c3aed);color:#fff;border-color:transparent}
.rb-theme-neo .neo-action-tile.is-success{background:#ecfdf3;color:#166534;border-color:#bbf7d0}
.rb-theme-neo .neo-action-tile.is-muted{background:#f8fafc;color:#334155;border-color:#e2e8f0}

@media (max-width: 1399.98px){
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 1199.98px){
  .rb-theme-neo .neo-dashboard-shell{display:block!important}
  .rb-theme-neo .neo-sidebar-col{max-width:none}
  .rb-theme-neo .profile-sidebar{position:relative;top:0;min-height:0;margin-bottom:18px}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr}
}
@media (max-width: 767.98px){
  .rb-theme-neo .neo-page-header{padding-top:0}
  .rb-theme-neo .neo-page-header h1{font-size:30px}
  .rb-theme-neo .neo-page-company-meta-wide,
  .rb-theme-neo .neo-page-header-tools{width:100%}
  .rb-theme-neo .neo-company-select-card-wide{width:100%;min-width:0}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:1fr}
}


/* ===== phase 4 visual detailing + placeholders ===== */
.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .neo-analytics-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card{position:relative;overflow:hidden}
.rb-theme-neo .neo-kpi-card::after,
.rb-theme-neo .neo-analytics-card::after,
.rb-theme-neo .neo-side-card::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 28%);pointer-events:none}
.rb-theme-neo .neo-kpi-card:hover,
.rb-theme-neo .neo-analytics-card:hover,
.rb-theme-neo .neo-platforms-card:hover,
.rb-theme-neo .neo-side-card:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(15,23,42,.08)}
.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .neo-analytics-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-action-tile,
.rb-theme-neo .neo-header-action.sk-btn,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip{transition:all .22s ease}
.rb-theme-neo .neo-header-action.sk-btn{background:linear-gradient(135deg,#6d28d9,#7c3aed);border:0;color:#fff;box-shadow:0 14px 24px rgba(124,58,237,.28)}
.rb-theme-neo .neo-header-action.sk-btn:hover{transform:translateY(-1px);box-shadow:0 18px 28px rgba(124,58,237,.34)}
.rb-theme-neo .neo-period-chip:hover,
.rb-theme-neo .rb-balance-chip:hover,
.rb-theme-neo .rb-user-chip:hover{border-color:#cfd8e6;box-shadow:0 12px 24px rgba(15,23,42,.08)}
.rb-theme-neo .neo-table-btn:hover,.rb-theme-neo .neo-icon-btn:hover,.rb-theme-neo .neo-card-action:hover{background:#fff;color:#4338ca;border-color:#c7d2fe;box-shadow:0 10px 18px rgba(79,70,229,.12)}
.rb-theme-neo .neo-action-tile:hover{transform:translateY(-1px);box-shadow:0 12px 22px rgba(15,23,42,.08)}
.rb-theme-neo .neo-platforms-table tbody tr{transition:background .18s ease, box-shadow .18s ease}
.rb-theme-neo .neo-platforms-table tbody tr:hover{box-shadow:inset 0 0 0 1px #edf2ff}
.rb-theme-neo .neo-side-stat-list strong,.rb-theme-neo .neo-mini-chart-row strong{letter-spacing:-.02em}
.rb-theme-neo .neo-company-mini{align-items:flex-start}
.rb-theme-neo .neo-company-mini-logo.is-placeholder{background:linear-gradient(135deg,#eef2ff,#f5f3ff);color:#4f46e5;box-shadow:inset 0 0 0 1px rgba(99,102,241,.12)}
.rb-theme-neo .neo-company-mini-logo.is-placeholder span{font-size:22px;font-weight:900}
.rb-theme-neo .neo-missing-note{display:block;margin-top:8px;font-size:11px;line-height:1.45;color:#7c8699;max-width:250px}
.rb-theme-neo .neo-media-frame{margin-top:auto;border-radius:16px;overflow:hidden;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.72)}
.rb-theme-neo .neo-media-frame.is-image{padding:0}
.rb-theme-neo .neo-media-frame .neo-image{display:block;width:100%;height:116px;object-fit:cover}
.rb-theme-neo .neo-media-frame.is-placeholder{padding:12px 12px 10px;display:grid;gap:10px;min-height:116px;align-content:space-between}
.rb-theme-neo .neo-media-art{display:grid;grid-template-columns:1.2fr .95fr .8fr;gap:8px;align-items:end;height:58px}
.rb-theme-neo .neo-media-art span{display:block;border-radius:12px 12px 4px 4px;background:linear-gradient(180deg,#93c5fd,#60a5fa)}
.rb-theme-neo .neo-media-art span:nth-child(1){height:34px}
.rb-theme-neo .neo-media-art span:nth-child(2){height:50px;background:linear-gradient(180deg,#f9a8d4,#fb7185)}
.rb-theme-neo .neo-media-art span:nth-child(3){height:42px;background:linear-gradient(180deg,#86efac,#22c55e)}
.rb-theme-neo .neo-media-frame.is-placeholder.is-shield .neo-media-art,
.rb-theme-neo .neo-media-frame.is-placeholder.is-rating .neo-media-art{grid-template-columns:1fr 1fr 1fr}
.rb-theme-neo .neo-media-frame.is-placeholder.is-shield .neo-media-art span:nth-child(2){height:56px;background:linear-gradient(180deg,#fdba74,#f97316)}
.rb-theme-neo .neo-media-frame.is-placeholder.is-rating .neo-media-art span:nth-child(1){height:26px;background:linear-gradient(180deg,#c4b5fd,#8b5cf6)}
.rb-theme-neo .neo-media-frame.is-placeholder.is-rating .neo-media-art span:nth-child(2){height:52px;background:linear-gradient(180deg,#93c5fd,#3b82f6)}
.rb-theme-neo .neo-media-frame.is-placeholder.is-rating .neo-media-art span:nth-child(3){height:38px;background:linear-gradient(180deg,#fcd34d,#f59e0b)}
.rb-theme-neo .neo-media-copy{display:grid;gap:4px}
.rb-theme-neo .neo-media-copy strong{font-size:11px;letter-spacing:.02em;text-transform:uppercase;color:#475569}
.rb-theme-neo .neo-media-copy span{font-size:11px;line-height:1.45;color:#64748b}
.rb-theme-neo .neo-card-footer{font-size:12px;line-height:1.45;color:#64748b}
.rb-theme-neo .neo-analytics-card .neo-card-action{margin-top:0}
.rb-theme-neo .neo-analytics-card .neo-list,.rb-theme-neo .neo-analytics-card .neo-analytics-stack{margin-bottom:2px}
.rb-theme-neo .neo-alert-item::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.45;position:absolute;left:4px;top:11px}
.rb-theme-neo .neo-alert-item{position:relative;padding-left:14px}
.rb-theme-neo .neo-alert-item i{background:transparent!important;width:auto;height:auto;border-radius:0}
.rb-theme-neo .rb-sidebar-promo::before{content:'🎁';display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.12);margin-bottom:12px;font-size:20px}
.rb-theme-neo .rb-sidebar-help::before{content:none;display:none}
.rb-theme-neo .rb-sidebar-help-head strong{display:none}
.rb-theme-neo .rb-sidebar-promo-btn:hover{background:#eef2ff;color:#4338ca}
.rb-theme-neo .profile-sidebar .list-group-item:hover{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.04)}
.rb-theme-neo .profile-sidebar .list-group-item.active{box-shadow:0 14px 24px rgba(124,58,237,.26)}
@media (max-width: 767.98px){
  .rb-theme-neo .neo-media-frame .neo-image,.rb-theme-neo .neo-media-frame.is-placeholder{min-height:102px;height:auto}
  .rb-theme-neo .neo-missing-note{max-width:none}
}


/* ===== phase 5 responsive width and visual default ===== */
.rb-theme-neo.rb-area-user .site-wrap{overflow-x:clip}
.rb-theme-neo .neo-dashboard-container,
.rb-theme-neo .company-stats-page > .container,
.rb-theme-neo .rb-header-shell{max-width:1720px}
.rb-theme-neo .neo-app-shell,
.rb-theme-neo .company-stats-shell{
  display:grid!important;
  grid-template-columns:258px minmax(0,1fr);
  gap:24px;
  align-items:start!important;
  padding:0 6px 28px 6px;
}
.rb-theme-neo .profile-sidebar-col,
.rb-theme-neo .neo-sidebar-col{max-width:none!important;padding:0!important;width:auto!important}
.rb-theme-neo .company-stats-main,
.rb-theme-neo .user-dashboard-main,
.rb-theme-neo .neo-dashboard-main{max-width:none!important;flex-basis:auto!important;min-width:0;padding-left:0!important}
.rb-theme-neo .profile-sidebar{top:104px;max-height:calc(100vh - 122px);overflow:auto;scrollbar-width:thin}
.rb-theme-neo .profile-sidebar::-webkit-scrollbar{width:8px}
.rb-theme-neo .profile-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.14);border-radius:999px}

.rb-theme-neo .neo-page-header{gap:20px;align-items:flex-start}
.rb-theme-neo .neo-page-header > *{min-width:0}
.rb-theme-neo .neo-page-header-tools{justify-content:flex-end}
.rb-theme-neo .neo-company-select-card-wide{min-width:min(100%,420px)}
.rb-theme-neo .neo-period-chip,.rb-theme-neo .neo-header-action{min-height:48px}

.rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(6,minmax(160px,1fr));align-items:stretch}
.rb-theme-neo .neo-kpi-card{min-width:0;min-height:170px;display:flex;flex-direction:column}
.rb-theme-neo .neo-kpi-value{font-size:clamp(28px,2vw,34px)}

.rb-theme-neo .neo-layout-grid{grid-template-columns:minmax(0,1fr) 336px;gap:22px}
.rb-theme-neo .neo-main-column,.rb-theme-neo .neo-side-column{min-width:0}
.rb-theme-neo .neo-side-column{position:relative;align-content:start}
.rb-theme-neo .neo-side-column > .neo-side-card:first-child{position:sticky;top:104px}
.rb-theme-neo .neo-overview-card,.rb-theme-neo .neo-platforms-card,.rb-theme-neo .neo-design-preview-card,.rb-theme-neo .neo-side-card{overflow:hidden}

.rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(4,minmax(220px,1fr));gap:18px}
.rb-theme-neo .neo-analytics-card{min-width:0;min-height:272px;position:relative}
.rb-theme-neo .neo-analytics-head strong{font-size:clamp(34px,2.1vw,42px)}
.rb-theme-neo .neo-card-action{transition:transform .18s ease, box-shadow .18s ease, background .18s ease}
.rb-theme-neo .neo-card-action:hover{transform:translateY(-1px);background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.06)}

.rb-theme-neo .neo-side-card{border-radius:24px;padding:18px 18px 16px;box-shadow:0 16px 34px rgba(15,23,42,.05)}
.rb-theme-neo .neo-side-card-head{align-items:flex-start}
.rb-theme-neo .neo-company-mini{align-items:flex-start}
.rb-theme-neo .neo-company-mini-logo{flex:0 0 58px;width:58px;height:58px}
.rb-theme-neo .neo-company-mini strong{display:block;font-size:16px;color:#0f172a}
.rb-theme-neo .neo-company-mini span{display:block;line-height:1.5}
.rb-theme-neo .neo-side-stat-list div{grid-template-columns:minmax(0,1fr) auto;gap:12px}
.rb-theme-neo .neo-action-tile{min-height:48px;border-radius:14px;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.rb-theme-neo .neo-action-tile:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,23,42,.08);border-color:#cfd9e7}
.rb-theme-neo .neo-quick-actions-stacked .neo-action-tile.is-primary{background:linear-gradient(135deg,#5b5cf0,#7c3aed);color:#fff;border-color:transparent}
.rb-theme-neo .neo-quick-actions-stacked .neo-action-tile.is-primary i{background:rgba(255,255,255,.14);color:#fff}
.rb-theme-neo .neo-quick-actions-stacked .neo-action-tile.is-success{background:linear-gradient(135deg,#ecfdf5,#f0fdf4);color:#166534;border-color:#ccebd7}
.rb-theme-neo .neo-quick-actions-stacked .neo-action-tile.is-success i{background:#dcfce7;color:#16a34a}
.rb-theme-neo .neo-quick-actions-stacked .neo-action-tile.is-muted{background:#f8fafc}

.rb-theme-neo .neo-platforms-card{padding:20px 20px 16px}
.rb-theme-neo .neo-platforms-table{table-layout:fixed}
.rb-theme-neo .neo-platforms-table th,
.rb-theme-neo .neo-platforms-table td{padding:14px 10px}
.rb-theme-neo .neo-platforms-table th:nth-child(1),
.rb-theme-neo .neo-platforms-table td:nth-child(1){width:22%}
.rb-theme-neo .neo-platforms-table th:nth-child(2),
.rb-theme-neo .neo-platforms-table td:nth-child(2),
.rb-theme-neo .neo-platforms-table th:nth-child(3),
.rb-theme-neo .neo-platforms-table td:nth-child(3){width:12%}
.rb-theme-neo .neo-platforms-table th:nth-child(4),
.rb-theme-neo .neo-platforms-table td:nth-child(4),
.rb-theme-neo .neo-platforms-table th:nth-child(5),
.rb-theme-neo .neo-platforms-table td:nth-child(5){width:9%}
.rb-theme-neo .neo-platforms-table th:nth-child(6),
.rb-theme-neo .neo-platforms-table td:nth-child(6),
.rb-theme-neo .neo-platforms-table th:nth-child(7),
.rb-theme-neo .neo-platforms-table td:nth-child(7),
.rb-theme-neo .neo-platforms-table th:nth-child(8),
.rb-theme-neo .neo-platforms-table td:nth-child(8){width:8%}
.rb-theme-neo .neo-platforms-table th:last-child,
.rb-theme-neo .neo-platforms-table td:last-child{width:12%}
.rb-theme-neo .neo-platform-cell{min-width:0}
.rb-theme-neo .neo-platform-cell > div{min-width:0}
.rb-theme-neo .neo-platform-link{max-width:none}

.rb-theme-neo .neo-media-frame{border-radius:18px}
.rb-theme-neo .neo-media-frame .neo-image,
.rb-theme-neo .neo-media-frame.is-placeholder{min-height:124px}

@media (max-width: 1560px){
  .rb-theme-neo .neo-layout-grid{grid-template-columns:minmax(0,1fr) 320px}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}
}
@media (max-width: 1280px){
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:236px minmax(0,1fr);gap:18px}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rb-theme-neo .neo-side-column > .neo-side-card:first-child{position:relative;top:auto}
  .rb-theme-neo .neo-platforms-card{overflow:auto}
  .rb-theme-neo .neo-platforms-table{min-width:980px}
}
@media (max-width: 1024px){
  .rb-theme-neo .rb-header-shell{padding:16px 14px;min-height:76px}
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:1fr;gap:16px;padding-bottom:22px}
  .rb-theme-neo .profile-sidebar{position:relative;top:auto;max-height:none;overflow:visible}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rb-theme-neo .neo-page-header{flex-direction:column}
  .rb-theme-neo .neo-page-header-tools{justify-content:flex-start;width:100%}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 767px){
  .rb-theme-neo .company-stats-page{padding-top:14px!important}
  .rb-theme-neo .company-stats-page > .container{padding-left:12px;padding-right:12px}
  .rb-theme-neo .rb-header-actions{width:100%;justify-content:space-between;flex-wrap:wrap;gap:10px}
  .rb-theme-neo .rb-user-chip-detailed{flex:1 1 auto;min-width:0}
  .rb-theme-neo .neo-company-select-card-wide{width:100%;min-width:0}
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid,
  .rb-theme-neo .neo-side-column{grid-template-columns:1fr}
  .rb-theme-neo .neo-kpi-card{min-height:auto}
  .rb-theme-neo .neo-side-card,.rb-theme-neo .neo-overview-card,.rb-theme-neo .neo-platforms-card{padding:16px}
  .rb-theme-neo .neo-platforms-card{overflow:visible}
  .rb-theme-neo .neo-platforms-table{display:block;min-width:760px;overflow:auto}
}


/* ===== phase 6 final visual main design ===== */
.rb-theme-neo{
  --neo-bg:#f4f6fb;
  --neo-card:#ffffff;
  --neo-stroke:#e6ebf3;
  --neo-text:#101828;
  --neo-muted:#667085;
  --neo-violet:#6f55ff;
  --neo-violet-2:#8b5cf6;
  --neo-green:#16a34a;
  --neo-red:#ef4444;
  --neo-blue:#2563eb;
  --neo-shadow:0 14px 36px rgba(15,23,42,.06);
}
.rb-theme-neo.rb-area-user body,
.rb-theme-neo.rb-area-user .site-wrap,
.rb-theme-neo .company-stats-page,
.rb-theme-neo .user-dashboard-page{background:var(--neo-bg)}
.rb-theme-neo .site-navbar{background:rgba(244,246,251,.78);backdrop-filter:blur(12px);border-bottom:1px solid rgba(230,235,243,.8)}
.rb-theme-neo .rb-header-shell{padding:18px 0;gap:20px}
.rb-theme-neo .rb-header-actions{margin-left:auto;gap:12px;align-items:center;flex-wrap:nowrap}
.rb-theme-neo .rb-logo{gap:14px;min-width:0}
.rb-theme-neo .rb-logo-badge{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 16px 34px rgba(79,70,229,.28)}
.rb-theme-neo .rb-logo-copy strong{font-size:18px;letter-spacing:-.03em;color:#0f172a}
.rb-theme-neo .rb-logo-copy span{font-size:12px;color:#64748b}
.rb-theme-neo .rb-theme-switch{display:none}
.rb-theme-neo .rb-balance-chip,.rb-theme-neo .rb-user-chip,.rb-theme-neo .rb-bell-chip,.rb-theme-neo .neo-period-chip{background:rgba(255,255,255,.92)}
.rb-theme-neo .rb-balance-chip,.rb-theme-neo .rb-user-chip{box-shadow:0 10px 24px rgba(15,23,42,.05)}
.rb-theme-neo .rb-balance-chip{min-width:126px;justify-content:space-between;padding:10px 14px;border-radius:14px;border-color:var(--neo-stroke)}
.rb-theme-neo .rb-topup-chip{width:34px;height:34px;border-radius:10px}
.rb-theme-neo .rb-user-chip-detailed{min-width:190px;border-radius:16px;border:1px solid var(--neo-stroke)}
.rb-theme-neo .rb-user-avatar{box-shadow:0 12px 20px rgba(59,130,246,.16)}

.rb-theme-neo .neo-dashboard-container,
.rb-theme-neo .company-stats-page > .container{max-width:1880px!important;width:min(100%,1880px)!important}
.rb-theme-neo .neo-app-shell,
.rb-theme-neo .company-stats-shell{grid-template-columns:272px minmax(0,1fr)!important;gap:28px;padding:6px 0 30px}
.rb-theme-neo .profile-sidebar{background:linear-gradient(180deg,#06142f 0%,#071a3c 58%,#07142d 100%);border:1px solid rgba(255,255,255,.06);border-radius:26px;padding:18px 14px 14px;box-shadow:0 24px 48px rgba(2,8,23,.22)}
.rb-theme-neo .rb-sidebar-brand{padding:4px 6px 18px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08);display:grid;gap:10px}
.rb-theme-neo .rb-sidebar-brand-mark{display:flex;align-items:center;gap:6px;line-height:1}
.rb-theme-neo .rb-brand-word{font-size:31px;font-weight:900;letter-spacing:-.06em;color:#ffffff}
.rb-theme-neo .rb-brand-word--accent{background:linear-gradient(135deg,#3b82f6,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}
.rb-theme-neo .rb-sidebar-brand-copy strong{display:block;font-size:14px;color:#ffffff}
.rb-theme-neo .rb-sidebar-brand-copy span{display:block;font-size:12px;line-height:1.45;color:#8ea1c9}
.rb-theme-neo .profile-sidebar .list-group-item{min-height:46px;border-radius:14px;padding:10px 12px;color:#dbe7ff;background:transparent}
.rb-theme-neo .profile-sidebar .list-group-item i{font-size:15px}
.rb-theme-neo .profile-sidebar .list-group-item:hover{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.06)}
.rb-theme-neo .profile-sidebar .list-group-item.active{background:linear-gradient(135deg,#5b5cf0,#7c3aed);color:#fff;border-color:transparent;box-shadow:0 14px 28px rgba(124,58,237,.28)}
.rb-theme-neo .profile-sidebar .logout{margin-top:10px;background:rgba(255,255,255,.03)}
.rb-theme-neo .rb-sidebar-promo{padding:18px;border-radius:20px}
.rb-theme-neo .rb-sidebar-promo-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px}
.rb-theme-neo .rb-sidebar-help-links a{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.08);display:grid;place-items:center}

.rb-theme-neo .neo-monitor-wrap{display:grid;gap:20px}
.rb-theme-neo .neo-page-header{padding-top:6px}
.rb-theme-neo .neo-page-header h1{font-size:44px;margin-bottom:12px}
.rb-theme-neo .neo-company-select-card-wide,
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .neo-period-chip{min-height:52px;border-radius:16px}
.rb-theme-neo .neo-company-select-card-wide{background:#fff;border:1px solid var(--neo-stroke);box-shadow:0 10px 24px rgba(15,23,42,.04)}
.rb-theme-neo .neo-status-chip{padding:0 16px;background:#eaf8ee;color:#15803d;border:1px solid #cfead8;font-weight:800}
.rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.rb-theme-neo .neo-kpi-card{background:var(--neo-card);border:1px solid var(--neo-stroke);border-radius:18px;min-height:144px;justify-content:flex-start;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.rb-theme-neo .neo-kpi-card:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#dbe4ff,transparent)}
.rb-theme-neo .neo-kpi-card:nth-child(1):before{background:linear-gradient(90deg,#3b82f6,transparent)}
.rb-theme-neo .neo-kpi-card:nth-child(2):before{background:linear-gradient(90deg,#22c55e,transparent)}
.rb-theme-neo .neo-kpi-card:nth-child(3):before{background:linear-gradient(90deg,#ef4444,transparent)}
.rb-theme-neo .neo-kpi-card:nth-child(4):before{background:linear-gradient(90deg,#f59e0b,transparent)}
.rb-theme-neo .neo-kpi-card:nth-child(5):before{background:linear-gradient(90deg,#4f46e5,transparent)}
.rb-theme-neo .neo-kpi-card:nth-child(6):before{background:linear-gradient(90deg,#9333ea,transparent)}
.rb-theme-neo .neo-kpi-icon{width:48px;height:48px;border-radius:16px}
.rb-theme-neo .neo-kpi-value{font-size:34px;font-weight:900;line-height:1.05;margin-top:14px;color:#111827}
.rb-theme-neo .neo-kpi-label{margin-top:8px;font-size:13px;font-weight:700;color:#475467}
.rb-theme-neo .neo-kpi-change{margin-top:4px;font-size:12px;color:#98a2b3}

.rb-theme-neo .neo-layout-grid{grid-template-columns:minmax(0,1fr) 348px!important;gap:22px}
.rb-theme-neo .neo-overview-card,.rb-theme-neo .neo-platforms-card,.rb-theme-neo .neo-side-card{background:#fff;border:1px solid var(--neo-stroke);box-shadow:var(--neo-shadow)}
.rb-theme-neo .neo-overview-card{border-radius:28px;padding:22px}
.rb-theme-neo .neo-block-head h3{font-size:30px}
.rb-theme-neo .neo-block-head p{max-width:840px}
.rb-theme-neo .neo-link-inline,.rb-theme-neo .neo-link-inline-block{font-weight:800;color:#5b5cf0}
.rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rb-theme-neo .neo-analytics-card{border-radius:22px;padding:18px;min-height:282px;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.rb-theme-neo .neo-analytics-card.is-soft-blue{background:linear-gradient(180deg,#f7faff,#eff5ff)}
.rb-theme-neo .neo-analytics-card.is-soft-sand{background:linear-gradient(180deg,#fffaf2,#fff2dc)}
.rb-theme-neo .neo-analytics-card.is-soft-rose{background:linear-gradient(180deg,#fff5f6,#fdecef)}
.rb-theme-neo .neo-analytics-card.is-soft-green{background:linear-gradient(180deg,#f2fbf5,#eaf8ef)}
.rb-theme-neo .neo-analytics-head strong{font-size:38px}
.rb-theme-neo .neo-analytics-badge{width:46px;height:46px;border-radius:16px;background:rgba(255,255,255,.78)}
.rb-theme-neo .neo-media-frame{margin-top:auto;border:1px solid rgba(226,232,240,.8);background:rgba(255,255,255,.65)}
.rb-theme-neo .neo-media-frame .neo-image{object-fit:cover}
.rb-theme-neo .neo-media-frame.is-placeholder{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;padding:16px;min-height:132px}
.rb-theme-neo .neo-media-art{position:relative;height:86px;border-radius:18px;background:radial-gradient(circle at 30% 35%,rgba(124,58,237,.16),transparent 44%),linear-gradient(180deg,#fff,#eef2ff);border:1px dashed #cdd7ea;overflow:hidden}
.rb-theme-neo .neo-media-art span{position:absolute;display:block}
.rb-theme-neo .neo-media-art span:nth-child(1){left:16px;bottom:14px;width:18px;height:30px;border-radius:9px 9px 4px 4px;background:#60a5fa;box-shadow:28px 0 0 #818cf8,56px -8px 0 #22c55e}
.rb-theme-neo .neo-media-art span:nth-child(2){left:14px;right:14px;top:16px;height:2px;background:linear-gradient(90deg,transparent,#34d399 15%,#22c55e 45%,#60a5fa 80%,transparent);transform:rotate(-8deg)}
.rb-theme-neo .neo-media-art span:nth-child(3){right:16px;top:14px;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#ef4444,#f59e0b);box-shadow:-34px 26px 0 -6px rgba(124,58,237,.24)}
.rb-theme-neo .neo-media-frame.is-placeholder.is-reviews .neo-media-art{background:radial-gradient(circle at 65% 28%,rgba(245,158,11,.18),transparent 38%),linear-gradient(180deg,#fff,#fff4e7)}
.rb-theme-neo .neo-media-frame.is-placeholder.is-shield .neo-media-art{background:radial-gradient(circle at 50% 35%,rgba(239,68,68,.16),transparent 34%),linear-gradient(180deg,#fff,#fff0f2)}
.rb-theme-neo .neo-media-frame.is-placeholder.is-growth .neo-media-art{background:radial-gradient(circle at 70% 26%,rgba(34,197,94,.18),transparent 38%),linear-gradient(180deg,#fff,#edfdf3)}
.rb-theme-neo .neo-media-copy{display:grid;gap:6px}
.rb-theme-neo .neo-media-copy strong{font-size:14px;color:#0f172a}
.rb-theme-neo .neo-media-copy span{font-size:12px;line-height:1.5;color:#667085}

.rb-theme-neo .neo-platforms-card{border-radius:24px;padding:22px}
.rb-theme-neo .neo-platforms-table{width:100%;border-collapse:separate;border-spacing:0 8px;table-layout:auto}
.rb-theme-neo .neo-platforms-table thead th{background:transparent;border:0;padding:0 12px 8px}
.rb-theme-neo .neo-platforms-table tbody td{background:#fbfcfe;border-top:1px solid var(--neo-stroke);border-bottom:1px solid var(--neo-stroke)}
.rb-theme-neo .neo-platforms-table tbody td:first-child{border-left:1px solid var(--neo-stroke);border-radius:16px 0 0 16px}
.rb-theme-neo .neo-platforms-table tbody td:last-child{border-right:1px solid var(--neo-stroke);border-radius:0 16px 16px 0}
.rb-theme-neo .neo-platform-icon{width:34px;height:34px;font-weight:800;background:#fff}
.rb-theme-neo .neo-table-btn,.rb-theme-neo .neo-icon-btn{height:36px;border-radius:12px}
.rb-theme-neo .neo-table-btn{background:#fff;color:#5b5cf0;font-weight:800}

.rb-theme-neo .neo-side-column{display:grid;gap:16px}
.rb-theme-neo .neo-side-card{border-radius:22px;padding:18px}
.rb-theme-neo .neo-side-card-head{margin-bottom:12px}
.rb-theme-neo .neo-company-mini{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;align-items:start}
.rb-theme-neo .neo-company-mini-logo{border-radius:18px;background:linear-gradient(180deg,#f8fafc,#eef2ff);border:1px solid var(--neo-stroke);display:grid;place-items:center;overflow:hidden;font-weight:900;color:#5b5cf0}
.rb-theme-neo .neo-company-mini-logo img{width:100%;height:100%;object-fit:cover}
.rb-theme-neo .neo-missing-note{display:block;margin-top:8px;font-size:12px;line-height:1.45;color:#667085;background:#f8fafc;border:1px dashed #d6dbe7;border-radius:12px;padding:10px 12px}
.rb-theme-neo .neo-side-stat-list{display:grid;gap:8px;margin-top:14px}
.rb-theme-neo .neo-side-stat-list div{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:11px 0;border-bottom:1px solid #edf1f7}
.rb-theme-neo .neo-mini-chart-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.rb-theme-neo .neo-mini-chart-row span{font-size:13px;color:#475467}
.rb-theme-neo .neo-progress{height:8px;background:#edf1f7}
.rb-theme-neo .neo-progress span{display:block;height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6)}
.rb-theme-neo .neo-progress.is-red span{background:linear-gradient(90deg,#f97316,#ef4444)}
.rb-theme-neo .neo-alert-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px}

.rb-theme-neo .neo-action-tile{display:flex;align-items:center;gap:12px;padding:0 14px;font-weight:800}
.rb-theme-neo .neo-action-tile i{width:32px;height:32px;border-radius:10px;background:#eef2ff;color:#5b5cf0;display:grid;place-items:center}

@media (max-width:1680px){
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1380px){
  .rb-theme-neo .neo-layout-grid{grid-template-columns:minmax(0,1fr) 316px!important}
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:248px minmax(0,1fr)!important;gap:20px}
}
@media (max-width:1180px){
  .rb-theme-neo .rb-header-shell{flex-wrap:wrap}
  .rb-theme-neo .rb-header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr!important}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rb-theme-neo .neo-side-column>.neo-side-card:first-child{position:relative;top:auto}
}
@media (max-width:980px){
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:1fr!important}
  .rb-theme-neo .profile-sidebar{position:relative;top:auto;max-height:none}
}
@media (max-width:760px){
  .rb-theme-neo .neo-page-header h1{font-size:34px}
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid,
  .rb-theme-neo .neo-side-column{grid-template-columns:1fr!important}
  .rb-theme-neo .neo-company-select-card-wide,
  .rb-theme-neo .neo-period-chip,
  .rb-theme-neo .neo-header-action.sk-btn{width:100%;justify-content:center}
  .rb-theme-neo .profile-sidebar{padding:14px 12px}
  .rb-theme-neo .profile-sidebar .list-group-item{min-height:44px}
  .rb-theme-neo .neo-platforms-card{padding:16px}
  .rb-theme-neo .neo-platforms-table{display:block;overflow:auto;white-space:nowrap}
  .rb-theme-neo .neo-media-frame.is-placeholder{grid-template-columns:1fr;min-height:0}
}

/* ===== phase 7 widescreen render tuning ===== */
.rb-theme-neo .neo-dashboard-container{
  width:min(1760px, calc(100vw - 24px));
  max-width:min(1760px, calc(100vw - 24px));
  padding-left:0;
  padding-right:0;
}
.rb-theme-neo .neo-app-shell,
.rb-theme-neo .company-stats-shell{
  display:grid!important;
  grid-template-columns:272px minmax(0,1fr)!important;
  gap:28px;
  align-items:start!important;
}
.rb-theme-neo .neo-dashboard-main,
.rb-theme-neo .company-stats-main,
.rb-theme-neo .user-dashboard-main{min-width:0;width:100%;max-width:none;flex:none}
.rb-theme-neo .neo-layout-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 308px!important;
  gap:22px;
  align-items:start;
}
.rb-theme-neo .neo-main-column,
.rb-theme-neo .neo-side-column{min-width:0}
.rb-theme-neo .neo-side-column{gap:14px}
.rb-theme-neo .neo-side-column>.neo-side-card:first-child{position:sticky;top:110px}

.rb-theme-neo .profile-sidebar,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .rb-bell-chip,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-header-action.sk-btn,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-action-tile,
.rb-theme-neo .rb-sidebar-promo,
.rb-theme-neo .rb-sidebar-help,
.rb-theme-neo .profile-sidebar .list-group-item,
.rb-theme-neo .neo-missing-note,
.rb-theme-neo .neo-company-mini-logo,
.rb-theme-neo .neo-platform-icon{
  border-radius:14px!important;
}
.rb-theme-neo .neo-analytics-card{border-radius:16px!important}
.rb-theme-neo .neo-kpi-icon,
.rb-theme-neo .neo-analytics-badge,
.rb-theme-neo .rb-balance-plus,
.rb-theme-neo .rb-sidebar-brand-badge{border-radius:12px!important}

.rb-theme-neo .profile-sidebar{
  background:linear-gradient(180deg,#07152c 0%,#071b38 60%,#0a1d3f 100%);
  box-shadow:0 20px 40px rgba(2,6,23,.24);
  padding:16px 14px;
}
.rb-theme-neo .profile-sidebar .list-group-item{
  min-height:46px;
  padding:10px 12px;
  background:transparent;
}
.rb-theme-neo .profile-sidebar .list-group-item.active{
  background:linear-gradient(90deg,#4f46e5 0%,#7c3aed 100%);
  box-shadow:0 12px 24px rgba(79,70,229,.28);
}
.rb-theme-neo .rb-sidebar-promo,
.rb-theme-neo .rb-sidebar-help{border-color:rgba(255,255,255,.08)}

.rb-theme-neo .rb-header-shell.rb-header-shell-user{
  padding:8px 18px 10px 20px;
  min-height:74px;
}
.rb-theme-neo .rb-header-actions{gap:10px}
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .rb-bell-chip,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-header-action.sk-btn,
.rb-theme-neo .neo-company-select-card{
  min-height:48px;
  border:1px solid #d9e2ef;
  box-shadow:0 8px 20px rgba(15,23,42,.045);
}
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-header-action.sk-btn{padding-top:10px;padding-bottom:10px}

.rb-theme-neo .neo-page-header{gap:18px;align-items:flex-start}
.rb-theme-neo .neo-page-header h1{font-size:40px;line-height:1.04;letter-spacing:-.04em;margin-bottom:10px}
.rb-theme-neo .neo-page-company-meta-wide{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.rb-theme-neo .neo-company-select-card-wide{min-width:min(520px,100%);padding:12px 16px}
.rb-theme-neo .neo-status-chip{min-height:44px;padding:0 16px;border-radius:12px}
.rb-theme-neo .neo-period-chip{padding-inline:14px;justify-content:space-between;min-width:250px}

.rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.rb-theme-neo .neo-kpi-card{
  min-height:146px;
  padding:16px;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
  position:relative;
  overflow:hidden;
}
.rb-theme-neo .neo-kpi-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,#4f46e5,#8b5cf6);
  opacity:.88;
}
.rb-theme-neo .neo-kpi-value{font-size:34px;letter-spacing:-.04em}
.rb-theme-neo .neo-kpi-label{font-size:13px;color:#475467}
.rb-theme-neo .neo-kpi-change{font-size:12px}

.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card{
  padding:18px;
  border:1px solid #dbe4ef;
  box-shadow:0 10px 28px rgba(15,23,42,.045);
}
.rb-theme-neo .neo-block-head{padding:2px 0 16px}
.rb-theme-neo .neo-block-head h3{font-size:22px;line-height:1.1}
.rb-theme-neo .neo-block-head p{font-size:13px}
.rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rb-theme-neo .neo-analytics-card{
  min-height:218px;
  padding:16px;
  box-shadow:none;
}
.rb-theme-neo .neo-analytics-head strong{font-size:38px}
.rb-theme-neo .neo-analytics-label{font-size:12px;text-transform:none;letter-spacing:0}
.rb-theme-neo .neo-analytics-stack div{padding:10px 0}
.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .neo-action-tile{transition:all .18s ease}
.rb-theme-neo .neo-card-action:hover,
.rb-theme-neo .neo-table-btn:hover,
.rb-theme-neo .neo-icon-btn:hover,
.rb-theme-neo .neo-action-tile:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,23,42,.08)}

.rb-theme-neo .neo-media-frame{
  aspect-ratio:16 / 8;
  min-height:136px;
  border-radius:12px;
}
.rb-theme-neo .neo-media-frame.is-placeholder{
  grid-template-columns:112px minmax(0,1fr);
  gap:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.42));
  border:1px dashed rgba(148,163,184,.42);
}
.rb-theme-neo .neo-media-art{height:100%;min-height:104px;border-radius:12px}
.rb-theme-neo .neo-media-copy strong{font-size:13px}
.rb-theme-neo .neo-media-copy span{font-size:12px;line-height:1.45}

.rb-theme-neo .neo-platforms-table{
  table-layout:fixed;
  width:100%;
}
.rb-theme-neo .neo-platforms-table th,
.rb-theme-neo .neo-platforms-table td{padding:14px 12px}
.rb-theme-neo .neo-platforms-table th:nth-child(1),
.rb-theme-neo .neo-platforms-table td:nth-child(1){width:30%}
.rb-theme-neo .neo-platforms-table th:nth-child(2),
.rb-theme-neo .neo-platforms-table td:nth-child(2){width:14%}
.rb-theme-neo .neo-platforms-table th:nth-child(3),
.rb-theme-neo .neo-platforms-table td:nth-child(3){width:14%}
.rb-theme-neo .neo-platforms-table th:nth-child(4),
.rb-theme-neo .neo-platforms-table td:nth-child(4){width:12%}
.rb-theme-neo .neo-platforms-table th:nth-child(5),
.rb-theme-neo .neo-platforms-table td:nth-child(5){width:12%}
.rb-theme-neo .neo-platforms-table th:nth-child(6),
.rb-theme-neo .neo-platforms-table td:nth-child(6){width:18%}
.rb-theme-neo .neo-platform-cell{min-width:0}
.rb-theme-neo .neo-platform-link{max-width:none}

.rb-theme-neo .neo-side-card h3{font-size:20px;line-height:1.1}
.rb-theme-neo .neo-side-kicker{font-size:11px;letter-spacing:.12em}
.rb-theme-neo .neo-company-mini-logo{width:58px;height:58px}
.rb-theme-neo .neo-side-stat-list div{padding:10px 0}
.rb-theme-neo .neo-action-tile{min-height:44px}
.rb-theme-neo .neo-action-tile.is-primary{background:linear-gradient(90deg,#5b5cf0,#7c3aed);color:#fff;border-color:transparent}
.rb-theme-neo .neo-action-tile.is-primary i{background:rgba(255,255,255,.18);color:#fff}
.rb-theme-neo .neo-action-tile.is-success{background:#eefaf0;color:#146534;border-color:#d6f0dc}
.rb-theme-neo .neo-action-tile.is-success i{background:#dff4e6;color:#15803d}
.rb-theme-neo .neo-action-tile.is-muted{background:#f8fafc;color:#0f172a}

@media (max-width: 1640px){
  .rb-theme-neo .neo-dashboard-container{width:min(1600px, calc(100vw - 24px));max-width:min(1600px, calc(100vw - 24px))}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 1320px){
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:248px minmax(0,1fr)!important;gap:20px}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr!important}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rb-theme-neo .neo-side-column>.neo-side-card:first-child{position:relative;top:auto}
}
@media (max-width: 1100px){
  .rb-theme-neo .rb-header-shell{flex-wrap:wrap}
  .rb-theme-neo .rb-header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .rb-theme-neo .neo-page-header{flex-direction:column}
  .rb-theme-neo .neo-company-select-card-wide,
  .rb-theme-neo .neo-page-header-tools{width:100%}
}
@media (max-width: 980px){
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:1fr!important}
  .rb-theme-neo .profile-sidebar{position:relative;top:auto;max-height:none}
}
@media (max-width: 760px){
  .rb-theme-neo .neo-dashboard-container{width:calc(100vw - 12px);max-width:calc(100vw - 12px)}
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid,
  .rb-theme-neo .neo-side-column{grid-template-columns:1fr!important}
  .rb-theme-neo .neo-company-select-card-wide,
  .rb-theme-neo .neo-period-chip,
  .rb-theme-neo .neo-header-action.sk-btn{width:100%;justify-content:center;min-width:0}
  .rb-theme-neo .neo-media-frame.is-placeholder{grid-template-columns:1fr}
  .rb-theme-neo .neo-platforms-table{display:block;overflow:auto;white-space:nowrap}
}


/* ===== phase 8 cleanup: widescreen + flatter rendering ===== */
.rb-theme-neo{
  --neo-stroke-flat:#d9e0ea;
  --neo-surface:#ffffff;
  --neo-surface-soft:#fbfcfe;
  --neo-shadow-flat:0 6px 18px rgba(15,23,42,.045);
  --neo-radius-lg:14px;
  --neo-radius-md:10px;
}

.rb-theme-neo .neo-dashboard-container,
.rb-theme-neo .site-navbar .container{
  width:min(1760px, calc(100vw - 28px));
  max-width:min(1760px, calc(100vw - 28px));
}

.rb-theme-neo .site-navbar{
  background:#fff;
  border-bottom:1px solid #e4eaf2;
  box-shadow:none;
}

.rb-theme-neo .rb-header-shell,
.rb-theme-neo .rb-header-shell.rb-header-shell-user{
  min-height:74px;
  padding:10px 6px;
  gap:18px;
}

.rb-theme-neo .rb-logo{
  gap:12px;
}

.rb-theme-neo .rb-logo-badge{
  width:36px;
  height:36px;
  border-radius:10px;
  box-shadow:none;
}

.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-topup-chip,
.rb-theme-neo .rb-bell-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .rb-theme-switch,
.rb-theme-neo .rb-theme-switch a{
  border-radius:10px;
}

.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .rb-bell-chip,
.rb-theme-neo .rb-topup-chip{
  box-shadow:none;
  border:1px solid #dee5ef;
}

.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .neo-app-shell,
.rb-theme-neo .company-stats-shell{
  display:grid!important;
  grid-template-columns:252px minmax(0,1fr);
  gap:20px;
  align-items:start;
}

.rb-theme-neo .neo-sidebar-col,
.rb-theme-neo .profile-sidebar-col,
.rb-theme-neo .company-stats-sidebar{
  width:252px;
  min-width:252px;
  max-width:252px;
}

.rb-theme-neo .profile-sidebar,
.rb-theme-neo .neo-profile-sidebar{
  position:sticky;
  top:96px;
  min-height:calc(100vh - 116px);
  padding:16px 14px;
  border-radius:14px;
  background:linear-gradient(180deg,#06142d 0%,#03112a 100%);
  box-shadow:none;
}

.rb-theme-neo .rb-sidebar-brand{
  padding:4px 4px 16px;
  margin-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.rb-theme-neo .rb-sidebar-brand strong{
  font-size:26px;
}

.rb-theme-neo .profile-sidebar .list-group-item{
  min-height:42px;
  padding:9px 11px;
  margin-bottom:5px;
  border-radius:10px;
  color:#d8e2ff;
}

.rb-theme-neo .profile-sidebar .list-group-item.active{
  background:linear-gradient(90deg,#4f46e5,#7c3aed);
  color:#fff;
  box-shadow:none;
}

.rb-theme-neo .profile-sidebar .list-group-item:hover{
  background:rgba(255,255,255,.05);
}

.rb-theme-neo .neo-dashboard-main,
.rb-theme-neo .user-dashboard-main,
.rb-theme-neo .company-stats-main{
  min-width:0;
  max-width:none;
}

.rb-theme-neo .neo-page-header{
  align-items:flex-start;
  gap:16px;
  margin-bottom:14px!important;
}

.rb-theme-neo .neo-page-header-main h1{
  font-size:22px;
  line-height:1.15;
  margin-bottom:0;
}

.rb-theme-neo .neo-page-header-tools{
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-company-select-card-wide,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .neo-header-action.sk-btn{
  border-radius:10px;
  box-shadow:none;
}

.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-company-select-card-wide{
  min-width:min(620px,100%);
  padding:12px 14px;
  border:1px solid var(--neo-stroke-flat);
  background:var(--neo-surface);
}

.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .neo-header-action.sk-btn{
  min-height:40px;
  padding:0 14px;
  border:1px solid var(--neo-stroke-flat);
  background:#fff;
}

.rb-theme-neo .neo-kpi-grid{
  grid-template-columns:repeat(6,minmax(160px,1fr));
  gap:12px;
  margin-bottom:14px!important;
}

.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .neo-kpi{
  min-height:94px;
  padding:16px 14px 14px;
  border-radius:10px;
  border:1px solid var(--neo-stroke-flat);
  box-shadow:none;
  background:#fff;
}

.rb-theme-neo .neo-kpi-card::before,
.rb-theme-neo .neo-kpi::before{
  height:2px;
}

.rb-theme-neo .neo-kpi-value{
  font-size:30px;
  line-height:1;
}

.rb-theme-neo .neo-kpi-label{
  font-size:12px;
}

.rb-theme-neo .neo-layout-grid{
  grid-template-columns:minmax(0,1fr) 328px!important;
  gap:18px;
  align-items:start;
}

.rb-theme-neo .neo-main-column,
.rb-theme-neo .neo-side-column{min-width:0}

.rb-theme-neo .neo-side-column{
  gap:14px;
}

.rb-theme-neo .neo-side-column > .neo-side-card:first-child{
  position:sticky;
  top:96px;
}

.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-design-preview-card{
  background:#fff;
  border:1px solid var(--neo-stroke-flat);
  border-radius:12px;
  box-shadow:none;
  padding:16px;
  overflow:hidden;
}

.rb-theme-neo .neo-platforms-card:hover,
.rb-theme-neo .neo-side-card:hover,
.rb-theme-neo .neo-overview-card:hover{
  transform:none;
  box-shadow:none;
}

.rb-theme-neo .neo-block-head{
  padding:0 0 14px;
  margin-bottom:0;
  border-bottom:1px solid #edf1f6;
}

.rb-theme-neo .neo-block-head h3{
  font-size:21px;
}

.rb-theme-neo .neo-analytics-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.rb-theme-neo .neo-analytics-card{
  min-height:214px;
  border-radius:10px;
  padding:14px;
  border:1px solid rgba(217,224,234,.9);
  box-shadow:none;
}

.rb-theme-neo .neo-analytics-head strong{
  font-size:34px;
}

.rb-theme-neo .neo-analytics-badge{
  width:40px;
  height:40px;
  border-radius:10px;
  box-shadow:none;
}

.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .neo-action-tile{
  min-height:40px;
  border-radius:9px;
  box-shadow:none!important;
}

.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn{
  border:1px solid #dbe4ef;
}

.rb-theme-neo .neo-action-tile{
  border:1px solid #dbe4ef;
  background:#fff;
}

.rb-theme-neo .neo-action-tile.is-primary{
  background:linear-gradient(90deg,#5a4ff0,#7344ee);
}

.rb-theme-neo .neo-platforms-table{
  table-layout:auto;
  border-collapse:separate;
  border-spacing:0;
}

.rb-theme-neo .neo-platforms-table thead th{
  font-size:11px;
  letter-spacing:.02em;
  color:#667085;
  padding:0 12px 10px;
}

.rb-theme-neo .neo-platforms-table tbody td{
  padding:13px 12px;
  border-top:1px solid #edf1f6;
}

.rb-theme-neo .neo-platform-cell{
  min-width:210px;
}

.rb-theme-neo .neo-platform-icon{
  width:36px;
  height:36px;
  border-radius:10px;
}

.rb-theme-neo .neo-table-actions{
  gap:6px;
}

.rb-theme-neo .neo-media-frame{
  aspect-ratio:16 / 7;
  min-height:126px;
  border-radius:10px;
  border:1px solid #dfe6ef;
  background:#fff;
}

.rb-theme-neo .neo-media-frame .neo-image{
  width:100%;
  height:100%;
  min-height:126px;
  object-fit:cover;
}

.rb-theme-neo .neo-media-frame.is-placeholder{
  grid-template-columns:120px minmax(0,1fr);
  gap:14px;
  min-height:126px;
  padding:14px;
  border-style:dashed;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
}

.rb-theme-neo .neo-media-art,
.rb-theme-neo .neo-media-frame.is-placeholder .neo-media-art{
  min-height:96px;
  border-radius:10px;
}

.rb-theme-neo .neo-side-card-head,
.rb-theme-neo .neo-mini-chart-row,
.rb-theme-neo .neo-side-stat-list div,
.rb-theme-neo .neo-alert-item{
  gap:10px;
}

.rb-theme-neo .neo-side-card h3,
.rb-theme-neo .neo-side-card-head h3{
  font-size:18px;
}

.rb-theme-neo .neo-company-mini-logo{
  border-radius:10px;
}

.rb-theme-neo .neo-progress{
  height:6px;
  border-radius:999px;
}

.rb-theme-neo .neo-alert-item{
  padding:11px 0;
}

.rb-theme-neo .neo-alert-item i{
  width:30px;
  height:30px;
  border-radius:9px;
}

.rb-theme-neo .neo-side-kicker{
  font-size:10px;
  letter-spacing:.14em;
}

@media (max-width: 1680px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .site-navbar .container{width:min(1620px, calc(100vw - 24px));max-width:min(1620px, calc(100vw - 24px));}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width: 1320px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:236px minmax(0,1fr)!important;}
  .rb-theme-neo .neo-sidebar-col,
  .rb-theme-neo .profile-sidebar-col,
  .rb-theme-neo .company-stats-sidebar{width:236px;min-width:236px;max-width:236px;}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr!important;}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2,minmax(0,1fr));}
  .rb-theme-neo .neo-side-column > .neo-side-card:first-child{position:relative;top:auto;}
  .rb-theme-neo .neo-company-select-card,
  .rb-theme-neo .neo-company-select-card-wide{min-width:min(100%,520px);}
}

@media (max-width: 1100px){
  .rb-theme-neo .rb-header-shell,
  .rb-theme-neo .rb-header-shell.rb-header-shell-user{padding:10px 0;}
  .rb-theme-neo .rb-header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap;}
  .rb-theme-neo .neo-page-header,
  .rb-theme-neo .neo-page-header-tools{width:100%;}
  .rb-theme-neo .neo-page-header{flex-direction:column;}
  .rb-theme-neo .neo-company-select-card,
  .rb-theme-neo .neo-company-select-card-wide,
  .rb-theme-neo .neo-period-chip,
  .rb-theme-neo .neo-status-chip,
  .rb-theme-neo .neo-header-action.sk-btn{width:100%;min-width:0;}
}

@media (max-width: 980px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:1fr!important;}
  .rb-theme-neo .neo-sidebar-col,
  .rb-theme-neo .profile-sidebar-col,
  .rb-theme-neo .company-stats-sidebar{width:100%;min-width:0;max-width:none;}
  .rb-theme-neo .profile-sidebar,
  .rb-theme-neo .neo-profile-sidebar{position:relative;top:auto;min-height:0;}
}

@media (max-width: 760px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .site-navbar .container{width:calc(100vw - 12px);max-width:calc(100vw - 12px);}
  .rb-theme-neo .rb-header-actions{gap:8px;}
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid,
  .rb-theme-neo .neo-side-column{grid-template-columns:1fr!important;}
  .rb-theme-neo .neo-media-frame.is-placeholder{grid-template-columns:1fr;}
  .rb-theme-neo .neo-platforms-card{overflow:auto;}
  .rb-theme-neo .neo-platforms-table{display:block;white-space:nowrap;}
}

/* ===== phase 9 final widescreen refinement ===== */
.rb-theme-neo{
  --neo-stroke-strong:#d6deea;
  --neo-surface-main:#ffffff;
  --neo-surface-muted:#f7f9fc;
  --neo-text-main:#0f172a;
  --neo-text-muted:#667085;
  --neo-radius-panel:10px;
  --neo-radius-control:8px;
}

.rb-theme-neo .neo-dashboard-container,
.rb-theme-neo .site-navbar .container{
  width:min(1880px, calc(100vw - 20px));
  max-width:min(1880px, calc(100vw - 20px));
}

.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .neo-app-shell,
.rb-theme-neo .company-stats-shell{
  grid-template-columns:244px minmax(0,1fr)!important;
  gap:24px;
}

.rb-theme-neo .neo-sidebar-col,
.rb-theme-neo .profile-sidebar-col,
.rb-theme-neo .company-stats-sidebar{
  width:244px;
  min-width:244px;
  max-width:244px;
}

.rb-theme-neo .profile-sidebar,
.rb-theme-neo .neo-profile-sidebar{
  top:88px;
  padding:14px 12px;
  border-radius:12px;
  background:linear-gradient(180deg,#051223 0%,#071731 54%,#091b39 100%);
}

.rb-theme-neo .rb-sidebar-brand{
  gap:10px;
  padding:2px 4px 14px;
}

.rb-theme-neo .rb-sidebar-brand strong{font-size:24px}
.rb-theme-neo .rb-sidebar-brand span{font-size:11px;letter-spacing:.06em}
.rb-theme-neo .rb-sidebar-section-title{padding:10px 8px 6px}

.rb-theme-neo .profile-sidebar .list-group-item{
  min-height:40px;
  padding:8px 10px;
  border-radius:8px;
  margin-bottom:4px;
}

.rb-theme-neo .profile-sidebar .list-group-item.active{
  background:linear-gradient(90deg,#5a4ff0 0%,#7344ee 100%);
}

.rb-theme-neo .neo-nav-main{gap:10px}
.rb-theme-neo .neo-nav-main span:last-child{font-size:13px}

.rb-theme-neo .rb-sidebar-promo,
.rb-theme-neo .rb-sidebar-help{
  border-radius:10px!important;
}

.rb-theme-neo .rb-sidebar-promo strong{font-size:15px}
.rb-theme-neo .rb-sidebar-promo p,
.rb-theme-neo .rb-sidebar-help-head span{font-size:12px}

.rb-theme-neo .site-navbar{border-bottom:1px solid #e6ebf3}
.rb-theme-neo .rb-header-shell,
.rb-theme-neo .rb-header-shell.rb-header-shell-user{
  min-height:70px;
  padding:8px 0;
  gap:16px;
}

.rb-theme-neo .rb-logo-copy strong{font-size:18px}
.rb-theme-neo .rb-logo-copy span{font-size:11px}
.rb-theme-neo .rb-logo-badge{width:34px;height:34px;border-radius:8px}

.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-topup-chip,
.rb-theme-neo .rb-bell-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .rb-theme-switch,
.rb-theme-neo .rb-theme-switch a,
.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-company-select-card-wide,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .neo-header-action.sk-btn,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-action-tile,
.rb-theme-neo .neo-company-mini-logo,
.rb-theme-neo .neo-platform-icon,
.rb-theme-neo .neo-analytics-card,
.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-design-preview-card,
.rb-theme-neo .neo-media-frame,
.rb-theme-neo .neo-media-art,
.rb-theme-neo .neo-alert-item i,
.rb-theme-neo .neo-analytics-badge,
.rb-theme-neo .neo-kpi-icon,
.rb-theme-neo .neo-status-chip{
  border-radius:var(--neo-radius-control)!important;
}

.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-design-preview-card,
.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .neo-analytics-card{
  border-color:var(--neo-stroke-strong);
  background:var(--neo-surface-main);
}

.rb-theme-neo .neo-layout-grid{
  grid-template-columns:minmax(0,1fr) 336px!important;
  gap:20px;
}

.rb-theme-neo .neo-side-column{
  grid-auto-rows:min-content;
  align-content:start;
}

.rb-theme-neo .neo-side-column > .neo-side-card:first-child{top:88px}

.rb-theme-neo .neo-page-header{gap:14px;margin-bottom:12px!important}
.rb-theme-neo .neo-page-header-main h1{font-size:20px;font-weight:800}
.rb-theme-neo .neo-page-header-main p{font-size:13px;color:var(--neo-text-muted);margin-top:4px}
.rb-theme-neo .neo-page-header-tools{gap:10px}

.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-company-select-card-wide{
  min-width:min(680px,100%);
  min-height:56px;
  padding:12px 14px;
}

.rb-theme-neo .neo-status-chip,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-header-action.sk-btn{
  min-height:42px;
  font-size:13px;
}

.rb-theme-neo .neo-kpi-grid{
  grid-template-columns:repeat(6,minmax(170px,1fr));
  gap:10px;
}

.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .neo-kpi{
  min-height:108px;
  padding:14px 14px 13px;
}

.rb-theme-neo .neo-kpi-card::before,
.rb-theme-neo .neo-kpi::before{height:2px;opacity:.92}
.rb-theme-neo .neo-kpi-icon{width:34px;height:34px}
.rb-theme-neo .neo-kpi-value{font-size:28px}
.rb-theme-neo .neo-kpi-label{font-size:12px;color:var(--neo-text-muted)}
.rb-theme-neo .neo-kpi-change{font-size:11px}

.rb-theme-neo .neo-block-head h3{font-size:20px}
.rb-theme-neo .neo-block-head p{font-size:12px;color:var(--neo-text-muted)}
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card{padding:14px}
.rb-theme-neo .neo-block-head{padding:0 0 12px}

.rb-theme-neo .neo-analytics-grid{
  grid-template-columns:repeat(4,minmax(220px,1fr));
  gap:10px;
}

.rb-theme-neo .neo-analytics-card{
  min-height:200px;
  padding:13px;
}

.rb-theme-neo .neo-analytics-head strong{font-size:30px}
.rb-theme-neo .neo-analytics-label{font-size:11px;color:#5b6474}
.rb-theme-neo .neo-analytics-meta,
.rb-theme-neo .neo-analytics-stack div{font-size:13px}
.rb-theme-neo .neo-analytics-stack strong{font-size:14px}
.rb-theme-neo .neo-sparkline{height:48px}
.rb-theme-neo .neo-growth-bars{height:64px}

.rb-theme-neo .neo-media-frame{aspect-ratio:16 / 6.5;min-height:118px}
.rb-theme-neo .neo-media-frame .neo-image{min-height:118px}
.rb-theme-neo .neo-media-frame.is-placeholder{grid-template-columns:110px minmax(0,1fr);min-height:118px;padding:12px}
.rb-theme-neo .neo-media-art{min-height:88px}
.rb-theme-neo .neo-media-copy strong{font-size:12px}
.rb-theme-neo .neo-media-copy span{font-size:11px}

.rb-theme-neo .neo-platforms-table thead th{font-size:11px;padding:0 10px 9px}
.rb-theme-neo .neo-platforms-table tbody td{padding:12px 10px}
.rb-theme-neo .neo-platform-icon{width:34px;height:34px;font-size:16px}
.rb-theme-neo .neo-platform-cell{gap:10px}
.rb-theme-neo .neo-platform-link{font-size:11px;color:#778196}

.rb-theme-neo .neo-side-card-head{margin-bottom:10px}
.rb-theme-neo .neo-side-card h3,
.rb-theme-neo .neo-side-card-head h3{font-size:17px}
.rb-theme-neo .neo-side-kicker{font-size:10px;letter-spacing:.12em}
.rb-theme-neo .neo-company-mini{gap:10px}
.rb-theme-neo .neo-company-mini-logo{width:54px;height:54px}
.rb-theme-neo .neo-missing-note{font-size:11px;line-height:1.45}
.rb-theme-neo .neo-side-stat-list div{padding:9px 0}
.rb-theme-neo .neo-mini-chart-row span,
.rb-theme-neo .neo-mini-chart-row strong{font-size:13px}
.rb-theme-neo .neo-progress{height:5px}
.rb-theme-neo .neo-alert-item{padding:10px 0}
.rb-theme-neo .neo-alert-item i{width:28px;height:28px}
.rb-theme-neo .neo-alert-item strong{font-size:13px}
.rb-theme-neo .neo-alert-item span{font-size:11px}

.rb-theme-neo .neo-quick-actions-stacked,
.rb-theme-neo .neo-quick-actions{gap:8px}
.rb-theme-neo .neo-action-tile{
  min-height:42px;
  justify-content:flex-start;
  width:100%;
  padding:0 12px;
  font-size:13px;
}
.rb-theme-neo .neo-action-tile i{width:30px;height:30px;border-radius:8px}
.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn{font-size:13px}
.rb-theme-neo .neo-card-action:hover,
.rb-theme-neo .neo-table-btn:hover,
.rb-theme-neo .neo-icon-btn:hover,
.rb-theme-neo .neo-action-tile:hover{transform:none;box-shadow:none}

@media (max-width: 1720px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .site-navbar .container{
    width:min(1680px, calc(100vw - 18px));
    max-width:min(1680px, calc(100vw - 18px));
  }
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 1360px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:228px minmax(0,1fr)!important;gap:18px}
  .rb-theme-neo .neo-sidebar-col,
  .rb-theme-neo .profile-sidebar-col,
  .rb-theme-neo .company-stats-sidebar{width:228px;min-width:228px;max-width:228px}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr!important}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rb-theme-neo .neo-side-column > .neo-side-card:first-child{position:relative;top:auto}
}

@media (max-width: 1120px){
  .rb-theme-neo .rb-header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .rb-theme-neo .neo-page-header{flex-direction:column}
  .rb-theme-neo .neo-page-header-tools,
  .rb-theme-neo .neo-company-select-card,
  .rb-theme-neo .neo-company-select-card-wide,
  .rb-theme-neo .neo-period-chip,
  .rb-theme-neo .neo-status-chip,
  .rb-theme-neo .neo-header-action.sk-btn{width:100%;min-width:0}
}

@media (max-width: 980px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:1fr!important}
  .rb-theme-neo .neo-sidebar-col,
  .rb-theme-neo .profile-sidebar-col,
  .rb-theme-neo .company-stats-sidebar{width:100%;min-width:0;max-width:none}
  .rb-theme-neo .profile-sidebar,
  .rb-theme-neo .neo-profile-sidebar{position:relative;top:auto;min-height:0}
}

@media (max-width: 780px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .site-navbar .container{
    width:calc(100vw - 10px);
    max-width:calc(100vw - 10px);
  }
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid,
  .rb-theme-neo .neo-side-column{grid-template-columns:1fr!important}
  .rb-theme-neo .neo-media-frame.is-placeholder{grid-template-columns:1fr}
  .rb-theme-neo .neo-platforms-card{overflow:auto}
  .rb-theme-neo .neo-platforms-table{display:block;white-space:nowrap}
}


/* === final widescreen polish === */
.rb-theme-neo{
  --neo-shell-max: 1760px;
  --neo-sidebar-w: 236px;
  --neo-rightbar-w: 348px;
  --neo-radius-xs: 8px;
  --neo-radius-sm: 10px;
  --neo-radius-md: 12px;
  --neo-radius-lg: 14px;
  --neo-panel-border: #dde5ef;
  --neo-panel-shadow: 0 10px 24px rgba(15,23,42,.035);
}

.rb-theme-neo .site-navbar .container,
.rb-theme-neo .neo-dashboard-container{
  width:min(var(--neo-shell-max), calc(100vw - 20px)) !important;
  max-width:min(var(--neo-shell-max), calc(100vw - 20px)) !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.rb-theme-neo .rb-header-shell,
.rb-theme-neo .rb-header-shell.rb-header-shell-user{
  min-height:68px;
  padding:8px 4px 10px;
  gap:14px;
}

.rb-theme-neo .rb-logo-badge,
.rb-theme-neo .rb-theme-switch,
.rb-theme-neo .rb-theme-switch a,
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-topup-chip,
.rb-theme-neo .rb-bell-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .profile-sidebar,
.rb-theme-neo .neo-profile-sidebar,
.rb-theme-neo .profile-sidebar .list-group-item,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-analytics-card,
.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .neo-action-tile,
.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .neo-media-frame,
.rb-theme-neo .neo-platform-icon,
.rb-theme-neo .neo-company-mini-logo{
  border-radius:var(--neo-radius-md) !important;
}

.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .neo-app-shell,
.rb-theme-neo .company-stats-shell{
  grid-template-columns:var(--neo-sidebar-w) minmax(0,1fr) !important;
  gap:22px !important;
}

.rb-theme-neo .neo-sidebar-col,
.rb-theme-neo .profile-sidebar-col,
.rb-theme-neo .company-stats-sidebar{
  width:var(--neo-sidebar-w) !important;
  min-width:var(--neo-sidebar-w) !important;
  max-width:var(--neo-sidebar-w) !important;
  padding-right:0 !important;
}

.rb-theme-neo .profile-sidebar,
.rb-theme-neo .neo-profile-sidebar{
  top:88px;
  min-height:calc(100vh - 104px);
  padding:14px 12px;
  background:linear-gradient(180deg,#05142f 0%,#061126 100%);
  border:1px solid rgba(79,98,146,.22);
}

.rb-theme-neo .rb-sidebar-brand{
  gap:10px;
  padding:2px 2px 14px;
  margin-bottom:12px;
}
.rb-theme-neo .rb-sidebar-brand-mark{font-size:0}
.rb-theme-neo .rb-sidebar-brand-copy strong{font-size:13px}
.rb-theme-neo .rb-sidebar-brand-copy span{font-size:11px;color:#8fa2ca}

.rb-theme-neo .profile-sidebar .list-group-item{
  min-height:40px;
  padding:8px 10px;
  margin-bottom:4px;
  border:1px solid transparent;
}
.rb-theme-neo .profile-sidebar .list-group-item.active{
  background:linear-gradient(90deg,#5b4ef6 0%, #7344ef 100%);
  border-color:rgba(255,255,255,.08);
}
.rb-theme-neo .profile-sidebar .list-group-item:not(.active):hover{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.03);
}

.rb-theme-neo .rb-sidebar-promo,
.rb-theme-neo .rb-sidebar-help{
  border-radius:var(--neo-radius-lg) !important;
  padding:14px 12px;
}

.rb-theme-neo .neo-page-header{gap:16px;align-items:flex-start}
.rb-theme-neo .neo-page-header h1{font-size:38px;letter-spacing:-.04em;line-height:1.02}
.rb-theme-neo .neo-page-header p{max-width:900px}

.rb-theme-neo .neo-page-header-tools{gap:12px;align-items:stretch;flex-wrap:wrap}
.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-company-select-card-wide{
  min-width:320px;
  flex:1 1 420px;
}
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-header-action.sk-btn{min-height:46px}

.rb-theme-neo .neo-kpi-grid{
  grid-template-columns:repeat(6, minmax(150px, 1fr)) !important;
  gap:12px;
}
.rb-theme-neo .neo-kpi-card{
  min-height:144px;
  padding:14px;
  border:1px solid var(--neo-panel-border);
  box-shadow:var(--neo-panel-shadow);
}
.rb-theme-neo .neo-kpi-value{font-size:28px}
.rb-theme-neo .neo-kpi-icon{width:40px;height:40px;margin-bottom:12px}

.rb-theme-neo .neo-layout-grid{
  grid-template-columns:minmax(0,1fr) var(--neo-rightbar-w) !important;
  gap:18px !important;
}
.rb-theme-neo .neo-main-column,
.rb-theme-neo .neo-side-column{gap:16px}

.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card{
  border:1px solid var(--neo-panel-border);
  box-shadow:var(--neo-panel-shadow);
}
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card{padding:18px}
.rb-theme-neo .neo-side-card{padding:16px}

.rb-theme-neo .neo-analytics-grid{
  grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  gap:12px;
}
.rb-theme-neo .neo-analytics-card{
  min-height:210px;
  padding:14px;
  border-radius:var(--neo-radius-lg) !important;
}
.rb-theme-neo .neo-analytics-head strong{font-size:34px}
.rb-theme-neo .neo-analytics-stack div{padding:10px 0}
.rb-theme-neo .neo-sparkline{height:50px}
.rb-theme-neo .neo-growth-bars{height:66px}

.rb-theme-neo .neo-media-frame{
  aspect-ratio:16 / 5.9;
  min-height:110px;
  border:1px dashed #cfd9e6;
}
.rb-theme-neo .neo-media-frame .neo-image{height:100%;min-height:110px}
.rb-theme-neo .neo-media-frame.is-placeholder{
  grid-template-columns:112px minmax(0,1fr);
  min-height:110px;
  padding:12px 14px;
}
.rb-theme-neo .neo-media-copy strong{font-size:12px}
.rb-theme-neo .neo-media-copy span{font-size:11px;line-height:1.45}

.rb-theme-neo .neo-side-column > .neo-side-card:first-child{
  top:96px;
}

.rb-theme-neo .neo-side-card-head{
  margin-bottom:10px;
  align-items:flex-start;
}
.rb-theme-neo .neo-side-card h3,
.rb-theme-neo .neo-side-card-head h3{
  font-size:16px;
  line-height:1.15;
}
.rb-theme-neo .neo-company-mini{gap:10px}
.rb-theme-neo .neo-company-mini-logo{width:48px;height:48px}
.rb-theme-neo .neo-side-stat-list div{padding:8px 0}
.rb-theme-neo .neo-alert-item{padding:9px 0}
.rb-theme-neo .neo-alert-item i{width:30px;height:30px}

.rb-theme-neo .neo-action-tile,
.rb-theme-neo .neo-card-action,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn{
  min-height:38px;
  border:1px solid var(--neo-panel-border);
  box-shadow:none;
}
.rb-theme-neo .neo-action-tile{
  justify-content:flex-start;
  width:100%;
  padding:0 12px;
  gap:10px;
}
.rb-theme-neo .neo-action-tile i{width:28px;height:28px;border-radius:8px}

.rb-theme-neo .neo-platforms-table{table-layout:auto;width:100%}
.rb-theme-neo .neo-platforms-table thead th,
.rb-theme-neo .neo-platforms-table td{white-space:nowrap}
.rb-theme-neo .neo-platforms-table tbody td{padding:12px 10px}
.rb-theme-neo .neo-platform-cell{min-width:210px}

@media (max-width: 1680px){
  .rb-theme-neo{
    --neo-shell-max: 1640px;
    --neo-rightbar-w: 332px;
  }
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3, minmax(0,1fr)) !important;}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2, minmax(0,1fr)) !important;}
}

@media (max-width: 1360px){
  .rb-theme-neo{
    --neo-sidebar-w: 224px;
  }
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr !important;}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2, minmax(0,1fr)) !important;}
  .rb-theme-neo .neo-side-column > .neo-side-card:first-child{position:relative;top:auto;}
}

@media (max-width: 1120px){
  .rb-theme-neo .rb-header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap;}
  .rb-theme-neo .neo-page-header h1{font-size:32px}
  .rb-theme-neo .neo-company-select-card,
  .rb-theme-neo .neo-company-select-card-wide,
  .rb-theme-neo .neo-status-chip,
  .rb-theme-neo .neo-period-chip,
  .rb-theme-neo .neo-header-action.sk-btn{width:100%;min-width:0;}
}

@media (max-width: 980px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell{grid-template-columns:1fr !important;}
  .rb-theme-neo .neo-sidebar-col,
  .rb-theme-neo .profile-sidebar-col,
  .rb-theme-neo .company-stats-sidebar{width:100% !important;min-width:0 !important;max-width:none !important;}
  .rb-theme-neo .profile-sidebar,
  .rb-theme-neo .neo-profile-sidebar{position:relative;top:auto;min-height:0;}
}

@media (max-width: 760px){
  .rb-theme-neo .site-navbar .container,
  .rb-theme-neo .neo-dashboard-container{width:calc(100vw - 10px) !important;max-width:calc(100vw - 10px) !important;}
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid,
  .rb-theme-neo .neo-side-column{grid-template-columns:1fr !important;}
  .rb-theme-neo .neo-media-frame.is-placeholder{grid-template-columns:1fr;}
  .rb-theme-neo .neo-platforms-card{overflow:auto;}
}


/* phase11 consistency and widescreen fixes */
.rb-theme-neo .neo-dashboard-container,
.rb-theme-neo .company-stats-page > .neo-dashboard-container{
  width:min(1720px, calc(100vw - 28px)) !important;
  max-width:min(1720px, calc(100vw - 28px)) !important;
  padding-left:8px !important;
  padding-right:8px !important;
}

.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .company-stats-page > .neo-dashboard-container > .company-stats-row{
  display:grid !important;
  grid-template-columns:236px minmax(0,1fr) !important;
  gap:24px !important;
  align-items:start !important;
  margin:0 !important;
}

.rb-theme-neo .neo-sidebar-col,
.rb-theme-neo .company-stats-sidebar{
  min-width:0;
  width:auto !important;
  max-width:none !important;
  padding:0 !important;
}

.rb-theme-neo .neo-dashboard-main,
.rb-theme-neo .company-stats-main{
  min-width:0;
  width:auto !important;
  max-width:none !important;
  flex:none !important;
  padding:0 !important;
}

.rb-theme-neo .company-stats-content-shell,
.rb-theme-neo .company-stats-inner,
.rb-theme-neo .company-stats-inner-row,
.rb-theme-neo .company-stats-inner-col,
.rb-theme-neo .company-stats-page .partners,
.rb-theme-neo .company-stats-page .partners > .container,
.rb-theme-neo .company-stats-page .partners > .container > .row,
.rb-theme-neo .company-stats-page .partners > .container > .row > [class*="col-"]{
  width:100% !important;
  max-width:none !important;
  flex:none !important;
  margin:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.rb-theme-neo .company-stats-content-shell{
  padding:0 !important;
}

.rb-theme-neo .rb-card,
.rb-theme-neo .card,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-table-card,
.rb-theme-neo .neo-design-preview-card,
.rb-theme-neo .neo-analytics-wrap,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-company-card,
.rb-theme-neo .company-card{
  background:#fff !important;
  border:1px solid #dce4ee !important;
  border-radius:16px !important;
  box-shadow:0 8px 24px rgba(15,23,42,.05) !important;
}

.rb-theme-neo .card .card-body,
.rb-theme-neo .company-card .card-body{padding:18px !important;}

.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-table-card,
.rb-theme-neo .neo-design-preview-card,
.rb-theme-neo .neo-analytics-wrap,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-card{padding:18px !important;}

.rb-theme-neo .neo-overview-card:hover,
.rb-theme-neo .neo-side-card:hover,
.rb-theme-neo .rb-card:hover,
.rb-theme-neo .company-card:hover{
  transform:none !important;
  box-shadow:0 8px 24px rgba(15,23,42,.05) !important;
}

.rb-theme-neo .neo-kpi-grid{
  grid-template-columns:repeat(6, minmax(170px, 1fr)) !important;
  gap:14px !important;
}

.rb-theme-neo .neo-kpi-card,
.rb-theme-neo .rb-kpi,
.rb-theme-neo .dashboard-stat-card{
  min-width:0;
  border-radius:14px !important;
}

.rb-theme-neo .neo-layout-grid{
  grid-template-columns:minmax(0, 1fr) 348px !important;
  gap:20px !important;
}

.rb-theme-neo .neo-main-column,
.rb-theme-neo .neo-side-column{min-width:0;}

.rb-theme-neo .neo-side-column{
  gap:16px !important;
  align-content:start;
}

.rb-theme-neo .neo-side-column > .neo-side-card:first-child{
  position:sticky;
  top:96px;
}

.rb-theme-neo .neo-analytics-grid{
  grid-template-columns:repeat(4, minmax(220px, 1fr)) !important;
  gap:16px !important;
}

.rb-theme-neo .neo-analytics-card{
  min-height:260px !important;
  border-radius:14px !important;
  padding:16px !important;
}

.rb-theme-neo .neo-media-frame,
.rb-theme-neo .neo-image,
.rb-theme-neo .neo-design-image{
  width:100%;
  aspect-ratio:3 / 2;
  object-fit:cover;
  border-radius:12px !important;
}

.rb-theme-neo .neo-table-wrap,
.rb-theme-neo .neo-table-scroll,
.rb-theme-neo .table-responsive{overflow:auto;}

.rb-theme-neo .neo-table-card table,
.rb-theme-neo .rb-table-card table{min-width:980px;}

.rb-theme-neo .neo-table-actions,
.rb-theme-neo .rb-row-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}

.rb-theme-neo .sk-btn,
.rb-theme-neo .btn,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .neo-action-tile,
.rb-theme-neo .unified-back-btn,
.rb-theme-neo .rb-topup-chip,
.rb-theme-neo .neo-ghost-btn{
  border-radius:12px !important;
}

.rb-theme-neo .neo-action-tile{
  min-height:46px;
  border:1px solid #dde5ef;
}

.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip{
  border-radius:12px !important;
}

.rb-theme-neo #companiesGrid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  margin:0 !important;
}

.rb-theme-neo #companiesGrid > .company-card-item,
.rb-theme-neo #companiesGrid > .col-12{
  max-width:none !important;
  width:auto !important;
  flex:none !important;
  margin:0 !important;
  padding:0 !important;
}

.rb-theme-neo .company-card .btn,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn{
  min-height:38px;
}

@media (max-width: 1440px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .company-stats-page > .neo-dashboard-container{
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
  }
  .rb-theme-neo .neo-layout-grid{grid-template-columns:minmax(0, 1fr) 320px !important;}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;}
}

@media (max-width: 1280px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .company-stats-page > .neo-dashboard-container > .company-stats-row{grid-template-columns:220px minmax(0,1fr) !important;gap:18px !important;}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3, minmax(0,1fr)) !important;}
  .rb-theme-neo #companiesGrid{grid-template-columns:1fr !important;}
}

@media (max-width: 1080px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .company-stats-page > .neo-dashboard-container > .company-stats-row{grid-template-columns:1fr !important;}
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr !important;}
  .rb-theme-neo .neo-side-column{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;}
  .rb-theme-neo .neo-side-column > .neo-side-card:first-child{position:relative;top:auto;}
}

@media (max-width: 860px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .company-stats-page > .neo-dashboard-container{
    width:calc(100vw - 12px) !important;
    max-width:calc(100vw - 12px) !important;
    padding-left:4px !important;
    padding-right:4px !important;
  }
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid,
  .rb-theme-neo .neo-side-column,
  .rb-theme-neo #companiesGrid{grid-template-columns:1fr !important;}
  .rb-theme-neo .neo-overview-card,
  .rb-theme-neo .neo-platforms-card,
  .rb-theme-neo .neo-side-card,
  .rb-theme-neo .neo-table-card,
  .rb-theme-neo .neo-design-preview-card,
  .rb-theme-neo .neo-analytics-wrap,
  .rb-theme-neo .rb-table-card,
  .rb-theme-neo .rb-card{padding:14px !important;}
}


/* === phase 12: unified user dashboard layout === */
.rb-theme-neo .site-section.company-stats-page,
.rb-theme-neo .site-section.neo-dashboard-page{padding-top:0;padding-bottom:30px}

.rb-theme-neo .neo-dashboard-container,
.rb-theme-neo .company-stats-page > .container,
.rb-theme-neo .site-navbar .container{
  width:min(1760px, calc(100vw - 28px)) !important;
  max-width:min(1760px, calc(100vw - 28px)) !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .neo-app-shell,
.rb-theme-neo .company-stats-shell,
.rb-theme-neo .company-stats-row{
  display:grid !important;
  grid-template-columns:248px minmax(0, 1fr) !important;
  gap:24px !important;
  align-items:start !important;
}

.rb-theme-neo .profile-sidebar-col,
.rb-theme-neo .company-stats-sidebar,
.rb-theme-neo .neo-sidebar-col{min-width:0;width:auto;max-width:none;flex:none}

.rb-theme-neo .company-stats-main,
.rb-theme-neo .user-dashboard-main,
.rb-theme-neo .neo-dashboard-main,
.rb-theme-neo .tab-content{
  min-width:0 !important;
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  flex:none !important;
}

.rb-theme-neo .company-stats-content-shell,
.rb-theme-neo .company-stats-inner,
.rb-theme-neo .company-stats-inner-row,
.rb-theme-neo .company-stats-inner-col,
.rb-theme-neo .company-stats-page .partners,
.rb-theme-neo .company-stats-page .partners > .container,
.rb-theme-neo .company-stats-page .partners > .container > .row,
.rb-theme-neo .company-stats-page .partners > .container > .row > [class*="col-"]{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

.rb-theme-neo .neo-monitor-wrap,
.rb-theme-neo .rb-page,
.rb-theme-neo .rb-form-layout,
.rb-theme-neo .rb-form-stack{min-width:0}

.rb-theme-neo .rb-page,
.rb-theme-neo .neo-monitor-wrap{display:grid;gap:20px}

.rb-theme-neo .rb-page-head,
.rb-theme-neo .neo-page-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin:0;
}

.rb-theme-neo .rb-page-actions,
.rb-theme-neo .neo-page-header-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

.rb-theme-neo .rb-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-meta-card,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-design-preview-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .company-card,
.rb-theme-neo .card{
  background:#fff !important;
  border:1px solid #e3e8ef !important;
  border-radius:14px !important;
  box-shadow:0 8px 22px rgba(15,23,42,.05) !important;
}

.rb-theme-neo .rb-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-meta-card,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-design-preview-card,
.rb-theme-neo .neo-side-card{padding:18px !important}

.rb-theme-neo .rb-card:hover,
.rb-theme-neo .rb-form-card:hover,
.rb-theme-neo .rb-table-card:hover,
.rb-theme-neo .neo-overview-card:hover,
.rb-theme-neo .neo-platforms-card:hover,
.rb-theme-neo .neo-side-card:hover,
.rb-theme-neo .company-card:hover{transform:none !important;box-shadow:0 8px 22px rgba(15,23,42,.05) !important}

.rb-theme-neo .rb-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 332px;gap:20px}
.rb-theme-neo .rb-form-layout > .rb-form-stack:first-child{min-width:0}

.rb-theme-neo .company-cards-grid,
.rb-theme-neo #companiesGrid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:0 !important;
}
.rb-theme-neo .company-card-item{margin:0 !important;padding:0 !important;max-width:none !important;width:auto !important}

.rb-theme-neo .neo-layout-grid{display:grid !important;grid-template-columns:minmax(0,1fr) 332px !important;gap:20px !important;align-items:start}
.rb-theme-neo .neo-side-column{display:grid;gap:16px;align-content:start}
.rb-theme-neo .neo-side-column > .neo-side-card:first-child{position:sticky;top:88px}

.rb-theme-neo .neo-kpi-grid{display:grid !important;grid-template-columns:repeat(6, minmax(0,1fr)) !important;gap:14px !important}
.rb-theme-neo .neo-analytics-grid{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:16px !important}

.rb-theme-neo .neo-platforms-table,
.rb-theme-neo .rb-history-table{width:100%;table-layout:auto}
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .table-responsive{overflow:auto}

.rb-theme-neo .neo-profile-sidebar,
.rb-theme-neo .profile-sidebar{
  position:sticky;
  top:88px;
  width:100%;
}

.rb-theme-neo .neo-profile-sidebar .list-group-item,
.rb-theme-neo .profile-sidebar .list-group-item{border-radius:12px !important}

@media (max-width: 1480px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .company-stats-page > .container,
  .rb-theme-neo .site-navbar .container{width:min(1600px, calc(100vw - 20px)) !important;max-width:min(1600px, calc(100vw - 20px)) !important}
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

@media (max-width: 1180px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell,
  .rb-theme-neo .company-stats-row{grid-template-columns:220px minmax(0,1fr) !important;gap:18px !important}
  .rb-theme-neo .rb-form-layout,
  .rb-theme-neo .neo-layout-grid{grid-template-columns:1fr !important}
  .rb-theme-neo .neo-side-column > .neo-side-card:first-child,
  .rb-theme-neo .neo-profile-sidebar,
  .rb-theme-neo .profile-sidebar{position:relative;top:auto}
}

@media (max-width: 980px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .neo-app-shell,
  .rb-theme-neo .company-stats-shell,
  .rb-theme-neo .company-stats-row{grid-template-columns:1fr !important}
  .rb-theme-neo .rb-page-head,
  .rb-theme-neo .neo-page-header{flex-direction:column}
  .rb-theme-neo .company-cards-grid,
  .rb-theme-neo #companiesGrid,
  .rb-theme-neo .neo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

@media (max-width: 720px){
  .rb-theme-neo .neo-dashboard-container,
  .rb-theme-neo .company-stats-page > .container,
  .rb-theme-neo .site-navbar .container{width:calc(100vw - 12px) !important;max-width:calc(100vw - 12px) !important}
  .rb-theme-neo .company-cards-grid,
  .rb-theme-neo #companiesGrid,
  .rb-theme-neo .neo-kpi-grid,
  .rb-theme-neo .neo-analytics-grid{grid-template-columns:1fr !important}
  .rb-theme-neo .rb-card,
  .rb-theme-neo .rb-form-card,
  .rb-theme-neo .rb-table-card,
  .rb-theme-neo .rb-summary-box,
  .rb-theme-neo .rb-summary-card,
  .rb-theme-neo .rb-meta-card,
  .rb-theme-neo .neo-overview-card,
  .rb-theme-neo .neo-platforms-card,
  .rb-theme-neo .neo-design-preview-card,
  .rb-theme-neo .neo-side-card{padding:14px !important}
}


/* ===== unified user pages pass ===== */
.neo-dashboard-shell,
.company-stats-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.neo-dashboard-main,
.company-stats-main,
.rb-page-wide {
  min-width: 0;
}
.rb-page-wide {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rb-page-wide > .rb-card,
.rb-page-wide > .rb-form-layout,
.rb-page-wide > #companiesGrid,
.rb-page-wide > .edit-company-shell {
  min-width: 0;
}
.rb-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 18px;
}
.rb-company-card,
.rb-form-card,
.rb-review-toolbar,
.rb-cash-card,
.edit-company-panel,
.edit-company-shell,
.content-container {
  border-radius: 18px !important;
  border: 1px solid #e6ebf2 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
  background: #fff !important;
}
.edit-company-shell { overflow: hidden; }
.edit-company-hero {
  padding: 28px 30px !important;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%) !important;
  border-bottom: 1px solid #e6ebf2 !important;
}
.edit-company-body { padding: 24px 28px !important; }
.edit-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 20px;
  align-items: start;
}
.rb-filter-panel {
  padding: 18px 20px;
}
.rb-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rb-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #dde5ef;
  background: #f8fafc;
  color: #243043;
  text-decoration: none;
  font-weight: 600;
}
.rb-filter-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.07);
  font-size: 12px;
}
.rb-filter-chip.is-active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: transparent;
  color: #fff;
}
.rb-filter-chip.is-active span { background: rgba(255,255,255,.16); }
.rb-filter-chip-danger.is-active {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.rb-data-table th,
.rb-data-table td {
  vertical-align: top;
}
.rb-comment-cell {
  max-width: 420px;
  min-width: 280px;
  white-space: normal;
  color: #415066;
  line-height: 1.55;
}
.rb-empty-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 140px;
}
.rb-empty-inline .rb-empty-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}
.filters {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px !important;
  margin-bottom: 16px !important;
}
.filters .input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filters label {
  font-size: 13px;
  font-weight: 600;
  color: #526277;
  margin: 0 !important;
}
.filters input,
.filters select {
  min-height: 44px;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1px solid #dbe3ee !important;
  background: #fff;
  font-size: 14px;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0 !important;
}
.filter-buttons .filter-btn,
.filter-buttons button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px !important;
  border: 1px solid #dbe3ee !important;
  background: #f8fafc !important;
  color: #243043 !important;
  font-weight: 600;
}
.filter-buttons .filter-btn.active,
.filter-buttons button.active {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.notice-soft.alert {
  border-radius: 14px;
  border: 1px solid #dce8ff;
  background: #f7faff;
  color: #33507a;
}
.content-container {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
@media (max-width: 1480px) {
  .rb-company-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1280px) {
  .edit-company-grid,
  .filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 980px) {
  .neo-dashboard-shell,
  .company-stats-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .filters,
  .edit-company-grid {
    grid-template-columns: 1fr;
  }
  .rb-company-grid {
    grid-template-columns: 1fr;
  }
  .rb-comment-cell {
    min-width: 220px;
    max-width: 100%;
  }
}


/* ===== lk linked pages consistency pass ===== */
.rb-theme-neo .neo-dashboard-page > .neo-dashboard-container,
.rb-theme-neo .site-section.neo-dashboard-page > .neo-dashboard-container,
.rb-theme-neo .site-section .neo-dashboard-container {
  max-width: min(1720px, calc(100vw - 40px)) !important;
  width: 100% !important;
  padding-inline: 16px !important;
}
.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .company-stats-shell,
.rb-theme-neo .neo-app-shell {
  display: grid !important;
  grid-template-columns: 244px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}
.rb-theme-neo .neo-dashboard-main,
.rb-theme-neo .company-stats-main,
.rb-theme-neo .user-dashboard-main {
  min-width: 0 !important;
}
.rb-theme-neo .neo-dashboard-main > .rb-page,
.rb-theme-neo .company-stats-main > .rb-page,
.rb-theme-neo .neo-dashboard-main > .rb-page-wide,
.rb-theme-neo .company-stats-main > .rb-page-wide {
  width: 100%;
}
.rb-theme-neo .rb-page,
.rb-theme-neo .rb-page-wide {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rb-theme-neo .rb-page > *,
.rb-theme-neo .rb-page-wide > * { min-width: 0; }
.rb-theme-neo .rb-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 360px);
  gap: 20px;
  align-items: start;
}
.rb-theme-neo .rb-form-stack { min-width: 0; }
.rb-theme-neo .rb-sticky { position: sticky; top: 112px; }
.rb-theme-neo .rb-summary-grid,
.rb-theme-neo .ads-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rb-theme-neo .rb-summary-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-theme-neo .rb-kpi-grid.rb-kpi-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .rb-meta-card,
.rb-theme-neo .rb-card,
.rb-theme-neo .rb-review-toolbar,
.rb-theme-neo .rb-cash-card,
.rb-theme-neo .edit-company-panel,
.rb-theme-neo .company-card,
.rb-theme-neo .rb-company-card {
  border-radius: 14px !important;
  border: 1px solid #e6ebf2 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045) !important;
  background: #fff !important;
}
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .rb-card { padding: 22px; }
.rb-theme-neo .rb-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.rb-theme-neo .rb-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.rb-theme-neo .rb-table-clean th,
.rb-theme-neo .rb-history-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7a90;
  border-top: 0;
}
.rb-theme-neo .rb-table-clean td,
.rb-theme-neo .rb-history-table td {
  vertical-align: top;
  border-color: #edf2f7;
}
.rb-theme-neo .rb-list-row,
.rb-theme-neo .rb-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.rb-theme-neo .rb-list-row {
  padding: 14px 0;
  border-top: 1px solid #edf2f7;
}
.rb-theme-neo .rb-list-row:first-child { border-top: 0; padding-top: 0; }
.rb-theme-neo .rb-inline-actions {
  display:flex; flex-wrap:wrap; gap:10px;
}
.rb-theme-neo .rb-empty.rb-empty-wide {
  min-height: 300px;
  border: 1px dashed #d7dfeb;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
}
@media (max-width: 1480px) {
  .rb-theme-neo .rb-summary-grid,
  .rb-theme-neo .ads-summary-grid,
  .rb-theme-neo .rb-summary-grid-compact,
  .rb-theme-neo .rb-kpi-grid.rb-kpi-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1220px) {
  .rb-theme-neo .rb-form-layout { grid-template-columns: 1fr; }
  .rb-theme-neo .rb-sticky { position: static; }
}
@media (max-width: 980px) {
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .company-stats-shell,
  .rb-theme-neo .neo-app-shell { grid-template-columns: 1fr !important; }
  .rb-theme-neo .rb-page-head { flex-direction: column; }
  .rb-theme-neo .rb-page-actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .rb-theme-neo .neo-dashboard-page > .neo-dashboard-container,
  .rb-theme-neo .site-section.neo-dashboard-page > .neo-dashboard-container,
  .rb-theme-neo .site-section .neo-dashboard-container {
    max-width: calc(100vw - 16px) !important;
    padding-inline: 4px !important;
  }
  .rb-theme-neo .rb-summary-grid,
  .rb-theme-neo .ads-summary-grid,
  .rb-theme-neo .rb-summary-grid-compact,
  .rb-theme-neo .rb-kpi-grid.rb-kpi-grid-compact { grid-template-columns: 1fr; }
  .rb-theme-neo .rb-table-card,
  .rb-theme-neo .rb-form-card,
  .rb-theme-neo .rb-summary-card,
  .rb-theme-neo .rb-summary-box,
  .rb-theme-neo .rb-card { padding: 16px; }
}

/* === phase 15: linked pages consistency and widescreen normalization === */
.rb-theme-neo .neo-dashboard-container{
  max-width:min(1680px,calc(100vw - 32px));
  width:100%;
  padding-left:16px;
  padding-right:16px;
}
.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .company-stats-shell,
.rb-theme-neo .neo-app-shell{
  display:grid;
  grid-template-columns:236px minmax(0,1fr);
  align-items:start;
  gap:24px;
}
.rb-theme-neo .neo-dashboard-main,
.rb-theme-neo .company-stats-main,
.rb-theme-neo .user-dashboard-main,
.rb-theme-neo .company-stats-content-shell,
.rb-theme-neo .rb-page,
.rb-theme-neo .rb-page-wide{
  min-width:0;
}
.rb-theme-neo .rb-page,
.rb-theme-neo .rb-page-wide,
.rb-theme-neo .company-stats-content-shell.rb-page{
  width:100%;
  max-width:none;
  padding:0;
}
.rb-theme-neo .rb-page-wide{display:flex;flex-direction:column;gap:24px;}
.rb-theme-neo .rb-page-head{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:0;}
.rb-theme-neo .rb-page-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.rb-theme-neo .company-stats-content-shell .rb-page-head{margin-bottom:24px;}
.rb-theme-neo .rb-legacy-shell,
.rb-theme-neo .partners,
.rb-theme-neo .company-stats-inner,
.rb-theme-neo .company-stats-inner-row,
.rb-theme-neo .company-stats-inner-col{
  width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;min-width:0;
}
.rb-theme-neo .company-stats-content-shell .partners{margin-bottom:0 !important;}
.rb-theme-neo .neo-layout-grid,
.rb-theme-neo .rb-form-layout,
.rb-theme-neo .rb-summary-grid,
.rb-theme-neo .ads-summary-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
}
.rb-theme-neo .rb-summary-grid,
.rb-theme-neo .ads-summary-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.rb-theme-neo .rb-kpi-grid.rb-kpi-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr));}
.rb-theme-neo .company-cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.rb-theme-neo .company-card-item,.rb-theme-neo .company-card{min-width:0;height:100%;}
.rb-theme-neo .company-card,
.rb-theme-neo .card.company-card,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-design-preview-card,
.rb-theme-neo .rb-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .rb-meta-card{
  border-radius:14px;
  border:1px solid #dbe4f0;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.rb-theme-neo .neo-platforms-table,
.rb-theme-neo .rb-history-table,
.rb-theme-neo .rb-data-table table,
.rb-theme-neo .rb-table-clean{
  width:100%;
}
.rb-theme-neo .sk-btn,
.rb-theme-neo .unified-back-btn,
.rb-theme-neo .neo-ghost-btn,
.rb-theme-neo .neo-table-btn,
.rb-theme-neo .neo-icon-btn,
.rb-theme-neo .btn,
.rb-theme-neo button.btn{
  border-radius:10px;
}
.rb-theme-neo .form-control,
.rb-theme-neo select.form-control,
.rb-theme-neo textarea.form-control{
  min-height:46px;
  border-radius:10px;
  border-color:#d8e2ee;
  box-shadow:none;
}
.rb-theme-neo textarea.form-control{min-height:120px;}
.rb-theme-neo .rb-filter-chips,
.rb-theme-neo .filter-buttons,
.rb-theme-neo .rb-chip-row{display:flex;gap:10px;flex-wrap:wrap;}
.rb-theme-neo .filter-buttons .filter-btn,
.rb-theme-neo .rb-filter-chip{
  border-radius:999px;
  border:1px solid #dbe4f0;
  background:#fff;
  color:#475569;
  padding:10px 14px;
  font-weight:700;
}
.rb-theme-neo .filter-buttons .filter-btn.active,
.rb-theme-neo .rb-filter-chip.is-active{background:#eef2ff;border-color:#c7d2fe;color:#3730a3;}
.rb-theme-neo .table-responsive{width:100%;overflow-x:auto;}
.rb-theme-neo .rb-sticky,.rb-theme-neo .company-stats-sidebar{position:sticky;top:98px;align-self:start;}
.rb-theme-neo .company-stats-sidebar{top:110px;}
.rb-theme-neo .rb-empty,
.rb-theme-neo .rb-empty-inline{
  border:1px dashed #cbd5e1;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#f8fbff);
}
@media (max-width: 1440px){
  .rb-theme-neo .company-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .rb-theme-neo .rb-summary-grid,
  .rb-theme-neo .ads-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 1280px){
  .rb-theme-neo .neo-layout-grid,
  .rb-theme-neo .rb-form-layout{grid-template-columns:minmax(0,1fr);}
  .rb-theme-neo .rb-kpi-grid.rb-kpi-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 1080px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .company-stats-shell,
  .rb-theme-neo .neo-app-shell{grid-template-columns:minmax(0,1fr);}
  .rb-theme-neo .rb-sticky,
  .rb-theme-neo .company-stats-sidebar{position:static;top:auto;}
}
@media (max-width: 760px){
  .rb-theme-neo .neo-dashboard-container{max-width:none;padding-left:12px;padding-right:12px;}
  .rb-theme-neo .company-cards-grid,
  .rb-theme-neo .rb-summary-grid,
  .rb-theme-neo .ads-summary-grid,
  .rb-theme-neo .rb-kpi-grid.rb-kpi-grid-compact{grid-template-columns:minmax(0,1fr);}
  .rb-theme-neo .rb-page-actions{width:100%;}
  .rb-theme-neo .rb-page-actions > *{flex:1 1 auto;justify-content:center;}
}


/* ===== phase16 reviews active state + flatter geometry ===== */
.rb-theme-neo .rb-card,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .rb-meta-card,
.rb-theme-neo .rb-company-card,
.rb-theme-neo .company-card,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-table-card,
.rb-theme-neo .rb-review-toolbar,
.rb-theme-neo .rb-cash-card,
.rb-theme-neo .edit-company-panel,
.rb-theme-neo .edit-company-shell,
.rb-theme-neo .content-container { border-radius: 8px !important; }

.rb-theme-neo .list-group-item,
.rb-theme-neo .rb-topup-chip,
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .rb-top-icon,
.rb-theme-neo .rb-theme-switch a,
.rb-theme-neo .sk-btn,
.rb-theme-neo .btn,
.rb-theme-neo .btn-primary,
.rb-theme-neo .btn-outline-primary,
.rb-theme-neo .rb-filter-chip,
.rb-theme-neo .filter-buttons .filter-btn,
.rb-theme-neo .filter-buttons button,
.rb-theme-neo .filters input,
.rb-theme-neo .filters select,
.rb-theme-neo .form-control,
.rb-theme-neo .form-select,
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .unified-back-btn { border-radius: 6px !important; }

.rb-theme-neo .rb-filter-chip span,
.rb-theme-neo .rb-badge,
.rb-theme-neo .rb-bell-badge,
.rb-theme-neo .neo-delta,
.rb-theme-neo .neo-transaction-type,
.rb-theme-neo .rb-sidebar-promo-kicker { border-radius: 6px !important; }

.rb-theme-neo .rb-sidebar-promo,
.rb-theme-neo .rb-sidebar-help { border-radius: 8px !important; }

.rb-theme-neo .rb-filter-chip{background:#f4f6fa;border-color:#d9e1ec;}
.rb-theme-neo .rb-filter-chip.is-active{background:#1d4ed8 !important;color:#fff !important;border-color:#1d4ed8 !important;box-shadow:none !important;}
.rb-theme-neo .rb-filter-chip.rb-filter-chip-danger.is-active{background:#dc2626 !important;border-color:#dc2626 !important;}
.rb-theme-neo .list-group-item.active{border-radius:8px !important;}
.rb-theme-neo .rb-card,.rb-theme-neo .rb-table-card,.rb-theme-neo .rb-form-card,.rb-theme-neo .rb-summary-card,.rb-theme-neo .rb-summary-box,.rb-theme-neo .rb-meta-card{box-shadow:0 6px 20px rgba(15,23,42,.04) !important;}


/* ===== phase17 production visuals + flatter geometry ===== */
.rb-theme-neo .rb-card,
.rb-theme-neo .rb-table-card,
.rb-theme-neo .rb-form-card,
.rb-theme-neo .rb-summary-card,
.rb-theme-neo .rb-summary-box,
.rb-theme-neo .rb-meta-card,
.rb-theme-neo .rb-company-card,
.rb-theme-neo .company-card,
.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-table-card,
.rb-theme-neo .rb-review-toolbar,
.rb-theme-neo .rb-cash-card,
.rb-theme-neo .edit-company-panel,
.rb-theme-neo .edit-company-shell,
.rb-theme-neo .content-container,
.rb-theme-neo .neo-design-preview-card{border-radius:6px !important; box-shadow:0 4px 18px rgba(15,23,42,.035) !important;}

.rb-theme-neo .list-group-item,
.rb-theme-neo .rb-topup-chip,
.rb-theme-neo .rb-balance-chip,
.rb-theme-neo .rb-user-chip,
.rb-theme-neo .rb-top-icon,
.rb-theme-neo .rb-theme-switch a,
.rb-theme-neo .sk-btn,
.rb-theme-neo .btn,
.rb-theme-neo .btn-primary,
.rb-theme-neo .btn-outline-primary,
.rb-theme-neo .rb-filter-chip,
.rb-theme-neo .filter-buttons .filter-btn,
.rb-theme-neo .filter-buttons button,
.rb-theme-neo .filters input,
.rb-theme-neo .filters select,
.rb-theme-neo .form-control,
.rb-theme-neo .form-select,
.rb-theme-neo .neo-status-chip,
.rb-theme-neo .unified-back-btn{border-radius:4px !important;}

.rb-theme-neo .rb-sidebar-promo,
.rb-theme-neo .rb-sidebar-help,
.rb-theme-neo .neo-media-frame,
.rb-theme-neo .neo-image,
.rb-theme-neo .neo-design-image{border-radius:6px !important;}

.rb-theme-neo .neo-media-frame{
  aspect-ratio:16/10;
  overflow:hidden;
  background:linear-gradient(180deg,#f7faff 0%,#eef4fb 100%);
  border:1px solid #dbe4ef;
}
.rb-theme-neo .neo-media-frame.is-image img,
.rb-theme-neo .neo-media-frame img.neo-image,
.rb-theme-neo .neo-design-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.rb-theme-neo .neo-media-copy strong{font-size:15px;color:#0f172a;}
.rb-theme-neo .neo-media-copy span{font-size:13px;color:#475569;}
.rb-theme-neo .neo-missing-note{
  display:inline-block;
  margin-top:6px;
  color:#64748b;
  font-size:12px;
  line-height:1.45;
}
.rb-theme-neo .neo-design-preview-card .neo-block-head p,
.rb-theme-neo .neo-side-card p,
.rb-theme-neo .neo-card-footer{color:#475569;}

/* phase 18: ux scenario overrides */
.rb-theme-neo .neo-priority-strip{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:16px;margin:0 0 20px}
.rb-theme-neo .neo-priority-main{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px 22px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.rb-theme-neo .neo-priority-kicker{font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6366f1;margin:0 0 8px}
.rb-theme-neo .neo-priority-main h2{margin:0 0 8px;font-size:26px;line-height:1.15;font-weight:800;color:#0f172a}
.rb-theme-neo .neo-priority-main p{margin:0;color:#475569;max-width:760px}
.rb-theme-neo .neo-priority-main--danger{background:linear-gradient(180deg,#fff,#fff8f8);border-color:#fecaca}
.rb-theme-neo .neo-priority-main--warning{background:linear-gradient(180deg,#fff,#fffaf0);border-color:#fde68a}
.rb-theme-neo .neo-priority-main--success{background:linear-gradient(180deg,#fff,#f6fef9);border-color:#bbf7d0}
.rb-theme-neo .neo-priority-btn{display:inline-flex;align-items:center;justify-content:center;min-width:220px;height:42px;padding:0 18px;border-radius:6px;border:1px solid #dbe4ef;background:#0f172a;color:#fff;font-weight:800;text-decoration:none;white-space:nowrap}
.rb-theme-neo .neo-priority-btn--primary{background:linear-gradient(90deg,#5b5cf0,#7c3aed);border-color:transparent}
.rb-theme-neo .neo-priority-btn--danger{background:#dc2626;border-color:#dc2626}
.rb-theme-neo .neo-priority-btn--warning{background:#f59e0b;border-color:#f59e0b}
.rb-theme-neo .neo-priority-btn--success{background:#15803d;border-color:#15803d}
.rb-theme-neo .neo-priority-list{display:grid;gap:12px}
.rb-theme-neo .neo-priority-item{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px 18px;text-decoration:none;color:#0f172a;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.rb-theme-neo .neo-priority-item strong{display:block;margin:0 0 4px;font-size:14px;line-height:1.35}
.rb-theme-neo .neo-priority-item span{display:block;font-size:13px;line-height:1.45;color:#64748b}
.rb-theme-neo .neo-priority-link{flex:0 0 auto;font-weight:700;color:#4f46e5}
.rb-theme-neo .neo-recommend-card .neo-recommend-text{margin:0 0 14px;color:#475569;font-size:13px;line-height:1.5}
.rb-theme-neo .neo-empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:8px 0;color:#475569}
.rb-theme-neo .neo-empty-state strong{font-size:14px;line-height:1.35;color:#0f172a}
.rb-theme-neo .neo-empty-state span{font-size:13px;line-height:1.5;color:#64748b;max-width:580px}
.rb-theme-neo .neo-inline-action{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;border-radius:6px;border:1px solid #dbe4ef;background:#f8fafc;color:#0f172a;font-weight:700;text-decoration:none}
.rb-theme-neo .neo-empty-state-inline{padding:12px 0}
.rb-theme-neo .neo-platforms-table td .neo-empty-state-inline{padding:10px 0}
@media (max-width: 1280px){
  .rb-theme-neo .neo-priority-strip{grid-template-columns:1fr}
  .rb-theme-neo .neo-priority-main{align-items:flex-start;flex-direction:column}
  .rb-theme-neo .neo-priority-btn{min-width:0;width:100%}
}
@media (max-width: 760px){
  .rb-theme-neo .neo-priority-main{padding:16px}
  .rb-theme-neo .neo-priority-main h2{font-size:22px}
  .rb-theme-neo .neo-priority-item{padding:14px;align-items:flex-start;flex-direction:column}
}


/* --- Phase 19: edge-to-edge widescreen shell and responsive layout --- */
.rb-theme-neo.rb-area-user .site-navbar .container,
.rb-theme-neo.rb-area-user .neo-dashboard-container,
.rb-theme-neo.rb-area-user .container.neo-dashboard-container,
.rb-theme-neo.rb-area-user .rb-page-shell,
.rb-theme-neo.rb-area-user .rb-page-wide{
  width:100%;
  max-width:none !important;
}

.rb-theme-neo.rb-area-user .site-navbar .container,
.rb-theme-neo.rb-area-user .neo-dashboard-container,
.rb-theme-neo.rb-area-user .container.neo-dashboard-container{
  padding-left:24px !important;
  padding-right:24px !important;
}

.rb-theme-neo.rb-area-user .rb-header-shell,
.rb-theme-neo.rb-area-user .neo-dashboard-shell,
.rb-theme-neo.rb-area-user .company-stats-shell{
  width:100%;
  max-width:none !important;
  margin:0;
}

.rb-theme-neo.rb-area-user .neo-dashboard-shell,
.rb-theme-neo.rb-area-user .company-stats-shell{
  display:grid !important;
  grid-template-columns:236px minmax(0,1fr);
  gap:24px;
  align-items:start !important;
  padding:0 !important;
}

.rb-theme-neo.rb-area-user .neo-sidebar-col,
.rb-theme-neo.rb-area-user .profile-sidebar-col{
  width:236px !important;
  min-width:236px !important;
  max-width:236px !important;
  padding:0 !important;
  margin:0 !important;
}

.rb-theme-neo.rb-area-user .neo-dashboard-main,
.rb-theme-neo.rb-area-user .company-stats-main,
.rb-theme-neo.rb-area-user main.company-stats-main,
.rb-theme-neo.rb-area-user .rb-page,
.rb-theme-neo.rb-area-user .rb-page-wide,
.rb-theme-neo.rb-area-user .rb-form-stack{
  min-width:0;
  width:100%;
  max-width:none !important;
}

.rb-theme-neo.rb-area-user .neo-layout-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 332px;
  gap:24px;
  align-items:start;
}

.rb-theme-neo.rb-area-user .rb-form-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 332px;
  gap:24px;
  align-items:start;
}

.rb-theme-neo.rb-area-user .rb-kpi-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
}

.rb-theme-neo.rb-area-user .rb-summary-grid,
.rb-theme-neo.rb-area-user .ads-summary-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.rb-theme-neo.rb-area-user .company-cards-grid,
.rb-theme-neo.rb-area-user .neo-company-list,
.rb-theme-neo.rb-area-user .rb-company-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.rb-theme-neo.rb-area-user .rb-card,
.rb-theme-neo.rb-area-user .rb-form-card,
.rb-theme-neo.rb-area-user .rb-summary-card,
.rb-theme-neo.rb-area-user .rb-table-card,
.rb-theme-neo.rb-area-user .rb-summary-box,
.rb-theme-neo.rb-area-user .rb-meta-card,
.rb-theme-neo.rb-area-user .company-card,
.rb-theme-neo.rb-area-user .rb-company-card,
.rb-theme-neo.rb-area-user .neo-side-card,
.rb-theme-neo.rb-area-user .neo-overview-card,
.rb-theme-neo.rb-area-user .neo-platforms-card,
.rb-theme-neo.rb-area-user .neo-table-card,
.rb-theme-neo.rb-area-user .card{
  border-radius:6px !important;
}

.rb-theme-neo.rb-area-user .profile-sidebar{
  border-radius:10px;
}

.rb-theme-neo.rb-area-user .profile-sidebar .list-group-item,
.rb-theme-neo.rb-area-user .rb-chip,
.rb-theme-neo.rb-area-user .rb-status-pill,
.rb-theme-neo.rb-area-user .rb-balance-chip,
.rb-theme-neo.rb-area-user .rb-topup-chip,
.rb-theme-neo.rb-area-user .rb-user-chip,
.rb-theme-neo.rb-area-user .neo-inline-action,
.rb-theme-neo.rb-area-user .neo-priority-btn{
  border-radius:4px !important;
}

.rb-theme-neo.rb-area-user .rb-table-card,
.rb-theme-neo.rb-area-user .neo-table-card{
  overflow-x:auto;
}

.rb-theme-neo.rb-area-user .rb-history-table,
.rb-theme-neo.rb-area-user .neo-platforms-table,
.rb-theme-neo.rb-area-user table{
  min-width:0;
}

@media (max-width: 1536px){
  .rb-theme-neo.rb-area-user .site-navbar .container,
  .rb-theme-neo.rb-area-user .neo-dashboard-container,
  .rb-theme-neo.rb-area-user .container.neo-dashboard-container{
    padding-left:20px !important;
    padding-right:20px !important;
  }
  .rb-theme-neo.rb-area-user .neo-layout-grid,
  .rb-theme-neo.rb-area-user .rb-form-layout{
    grid-template-columns:minmax(0,1fr) 308px;
    gap:20px;
  }
}

@media (max-width: 1360px){
  .rb-theme-neo.rb-area-user .rb-kpi-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .rb-theme-neo.rb-area-user .rb-summary-grid,
  .rb-theme-neo.rb-area-user .ads-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .rb-theme-neo.rb-area-user .company-cards-grid,
  .rb-theme-neo.rb-area-user .neo-company-list,
  .rb-theme-neo.rb-area-user .rb-company-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .rb-theme-neo.rb-area-user .neo-layout-grid,
  .rb-theme-neo.rb-area-user .rb-form-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width: 1120px){
  .rb-theme-neo.rb-area-user .neo-dashboard-shell,
  .rb-theme-neo.rb-area-user .company-stats-shell{
    grid-template-columns:1fr;
  }
  .rb-theme-neo.rb-area-user .neo-sidebar-col,
  .rb-theme-neo.rb-area-user .profile-sidebar-col{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }
  .rb-theme-neo.rb-area-user .profile-sidebar{
    position:relative;
    top:auto;
  }
}

@media (max-width: 860px){
  .rb-theme-neo.rb-area-user .site-navbar .container,
  .rb-theme-neo.rb-area-user .neo-dashboard-container,
  .rb-theme-neo.rb-area-user .container.neo-dashboard-container{
    padding-left:14px !important;
    padding-right:14px !important;
  }
  .rb-theme-neo.rb-area-user .rb-kpi-grid,
  .rb-theme-neo.rb-area-user .rb-summary-grid,
  .rb-theme-neo.rb-area-user .ads-summary-grid,
  .rb-theme-neo.rb-area-user .company-cards-grid,
  .rb-theme-neo.rb-area-user .neo-company-list,
  .rb-theme-neo.rb-area-user .rb-company-grid{
    grid-template-columns:1fr;
  }
}


/* Phase 20: navigation and action hierarchy */
.neo-quick-actions-stacked {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.neo-quick-actions-stacked .neo-action-tile.is-primary {
  grid-column: span 2;
}
.neo-priority-main,
.neo-side-card,
.rb-page-actions .sk-btn,
.rb-page-actions .unified-back-btn {
  align-items: center;
}
.rb-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rb-page-actions .unified-back-btn {
  order: 2;
}
.rb-page-actions .sk-btn,
.rb-page-actions .btn,
.rb-page-actions .btn-outline-secondary {
  order: 1;
}
@media (max-width: 900px) {
  .neo-quick-actions-stacked {
    grid-template-columns: 1fr;
  }
  .neo-quick-actions-stacked .neo-action-tile.is-primary {
    grid-column: auto;
  }
}


/* phase21: neo-only, flatter sidebar, mobile burger */
.rb-theme-neo .rb-theme-switch{display:none!important}
.rb-theme-neo.rb-area-user .rb-header-actions{gap:12px}
.rb-theme-neo .rb-mobile-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:44px;height:44px;border:1px solid #d9e3ef;background:#fff;color:#0f172a;border-radius:4px;box-shadow:none;padding:0}
.rb-theme-neo .rb-mobile-menu-toggle span{display:block;width:18px;height:2px;background:#0f172a;border-radius:0}
.rb-theme-neo .profile-sidebar{border-radius:0!important;box-shadow:none;min-height:calc(100vh - 120px)}
.rb-theme-neo .profile-sidebar .list-group-item,
.rb-theme-neo .profile-sidebar .list-group-item-action{border-radius:0!important}
.rb-theme-neo .profile-sidebar .list-group-item-action{padding:13px 12px;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.06);margin:0;min-height:50px}
.rb-theme-neo .profile-sidebar .list-group-item-action.active{background:rgba(91,92,240,.14)!important;box-shadow:none}
.rb-theme-neo .rb-sidebar-promo,.rb-theme-neo .rb-sidebar-help{border-radius:6px!important}
.rb-theme-neo .rb-sidebar-promo-btn,.rb-theme-neo .rb-sidebar-help-links a{border-radius:4px!important}
.rb-theme-neo .rb-balance-chip,.rb-theme-neo .rb-topup-chip,.rb-theme-neo .rb-bell-chip,.rb-theme-neo .rb-user-chip-detailed,.rb-theme-neo .neo-period-chip,.rb-theme-neo .neo-company-select-card{border-radius:4px!important}
.rb-theme-neo .neo-kpi-card,.rb-theme-neo .neo-side-card,.rb-theme-neo .rb-card,.rb-theme-neo .rb-form-card,.rb-theme-neo .rb-summary-card,.rb-theme-neo .rb-table-card,.rb-theme-neo .company-card,.rb-theme-neo .rb-company-card,.rb-theme-neo .rb-meta-card,.rb-theme-neo .rb-summary-box,.rb-theme-neo .card{border-radius:6px!important}
.rb-theme-neo .rb-sidebar-close,.rb-theme-neo .rb-sidebar-backdrop{display:none}
.rb-theme-neo .neo-sidebar-col{position:relative}
@media (max-width:1080px){
  .rb-theme-neo .rb-mobile-menu-toggle{display:inline-flex}
  .rb-theme-neo .neo-sidebar-col{position:fixed;left:0;top:0;bottom:0;width:100%;max-width:none;z-index:1200;pointer-events:none}
  .rb-theme-neo .rb-sidebar-backdrop{display:block;position:absolute;inset:0;background:rgba(15,23,42,.48);opacity:0;transition:opacity .22s ease}
  .rb-theme-neo .neo-profile-sidebar{position:absolute;left:0;top:0;bottom:0;width:min(320px,86vw);padding:20px 14px 16px;transform:translateX(-102%);transition:transform .24s ease;overflow:auto;pointer-events:auto}
  .rb-theme-neo .rb-sidebar-close{display:inline-flex;align-items:center;justify-content:center;position:absolute;right:12px;top:12px;width:36px;height:36px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;border-radius:4px}
  body.rb-sidebar-open{overflow:hidden}
  body.rb-sidebar-open .neo-sidebar-col{pointer-events:auto}
  body.rb-sidebar-open .rb-sidebar-backdrop{opacity:1}
  body.rb-sidebar-open .neo-profile-sidebar{transform:translateX(0)}
}
@media (min-width:1081px){
  .rb-theme-neo .neo-sidebar-col{display:block!important}
}



/* phase22: sidebar shell cleanup, edge-aware sidebar, proper burger behavior */
:root{
  --rb-sidebar-w: clamp(228px, 15.5vw, 264px);
  --rb-shell-gap: clamp(16px, 1.4vw, 28px);
}

.rb-theme-neo .neo-dashboard-shell,
.rb-theme-neo .company-stats-shell,
.rb-theme-neo .rb-dashboard-shell{
  display:grid !important;
  grid-template-columns: minmax(0, var(--rb-sidebar-w)) minmax(0, 1fr);
  gap: var(--rb-shell-gap) !important;
  align-items:start;
}

.rb-theme-neo .neo-sidebar-col,
.rb-theme-neo .profile-sidebar-col{
  position:relative !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  padding:0 !important;
}

.rb-theme-neo .neo-dashboard-main,
.rb-theme-neo .company-stats-main,
.rb-theme-neo .rb-dashboard-main{
  min-width:0 !important;
  max-width:none !important;
  width:100% !important;
}

.rb-theme-neo .neo-profile-sidebar,
.rb-theme-neo .profile-sidebar{
  width:100% !important;
  max-width:none !important;
}

.rb-theme-neo .profile-sidebar{
  position:sticky;
  top:96px;
  height:calc(100dvh - 112px);
  min-height:0 !important;
  overflow:auto;
  overscroll-behavior:contain;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:12px 0 0 !important;
  background:linear-gradient(180deg,var(--neo-sidebar),var(--neo-sidebar-2)) !important;
  border:0 !important;
}

.rb-theme-neo .rb-sidebar-brand{
  margin:0 14px 12px;
  padding:0 0 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.rb-theme-neo .profile-sidebar .list-group-item,
.rb-theme-neo .profile-sidebar .list-group-item-action{
  border-radius:0 !important;
  margin:0 !important;
}

.rb-theme-neo .profile-sidebar .list-group-item-action{
  padding:13px 14px !important;
  min-height:48px;
  border-bottom:1px solid rgba(255,255,255,.07);
  display:flex;
  align-items:center;
}

.rb-theme-neo .profile-sidebar .list-group-item-action:last-of-type{
  border-bottom:0;
}

.rb-theme-neo .profile-sidebar .list-group-item-action.active{
  background:rgba(91,92,240,.14) !important;
  border-left:3px solid rgba(138,139,255,.95);
  padding-left:11px !important;
}

.rb-theme-neo .rb-sidebar-promo,
.rb-theme-neo .rb-sidebar-help{
  margin:14px 14px 0;
  border-radius:0 !important;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.rb-theme-neo .rb-sidebar-promo-btn,
.rb-theme-neo .rb-sidebar-help-links a{
  border-radius:0 !important;
}

.rb-theme-neo .rb-sidebar-close{
  display:none;
}

@media (max-width: 1280px){
  :root{ --rb-sidebar-w: 232px; --rb-shell-gap: 18px; }
}

@media (max-width: 1080px){
  .rb-theme-neo .neo-dashboard-shell,
  .rb-theme-neo .company-stats-shell,
  .rb-theme-neo .rb-dashboard-shell{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .rb-theme-neo .neo-sidebar-col,
  .rb-theme-neo .profile-sidebar-col{
    position:fixed !important;
    inset:0 auto 0 0;
    width:100%;
    max-width:none;
    z-index:1200;
    pointer-events:none;
  }

  .rb-theme-neo .rb-sidebar-backdrop{
    display:block;
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.48);
    opacity:0;
    transition:opacity .22s ease;
  }

  .rb-theme-neo .profile-sidebar,
  .rb-theme-neo .neo-profile-sidebar{
    position:absolute !important;
    inset:0 auto 0 0;
    width:min(340px, calc(100vw - 28px)) !important;
    height:100dvh !important;
    top:0 !important;
    transform:translateX(-104%);
    transition:transform .24s ease;
    padding:16px 0 20px !important;
    overflow:auto;
    box-shadow:18px 0 40px rgba(2,6,23,.28) !important;
  }

  .rb-theme-neo .rb-sidebar-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    right:12px;
    top:12px;
    width:36px;
    height:36px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.06);
    color:#fff;
    border-radius:0 !important;
    z-index:2;
  }

  body.rb-sidebar-open{ overflow:hidden; }
  body.rb-sidebar-open .neo-sidebar-col,
  body.rb-sidebar-open .profile-sidebar-col{ pointer-events:auto; }
  body.rb-sidebar-open .rb-sidebar-backdrop{ opacity:1; }
  body.rb-sidebar-open .profile-sidebar,
  body.rb-sidebar-open .neo-profile-sidebar{ transform:translateX(0); }

  .rb-theme-neo .rb-sidebar-brand{
    margin:0 16px 14px;
    padding-right:44px;
  }

  .rb-theme-neo .rb-sidebar-promo,
  .rb-theme-neo .rb-sidebar-help{
    margin:14px 16px 0;
  }
}

@media (max-width: 640px){
  .rb-theme-neo .profile-sidebar,
  .rb-theme-neo .neo-profile-sidebar{
    width:min(320px, calc(100vw - 18px)) !important;
  }
}


/* phase25: sidebar as real left screen column */
@media (min-width: 1081px){
  .rb-theme-neo.rb-area-user .site-navbar .container{
    max-width:none !important;
    width:100% !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }

  .rb-theme-neo.rb-area-user .site-section.company-stats-page,
  .rb-theme-neo.rb-area-user .site-section.neo-dashboard-page{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .rb-theme-neo.rb-area-user .neo-dashboard-container,
  .rb-theme-neo.rb-area-user .rb-page-wide,
  .rb-theme-neo.rb-area-user .company-stats-page .container{
    max-width:none !important;
    width:100% !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:24px !important;
  }

  .rb-theme-neo.rb-area-user .neo-dashboard-shell,
  .rb-theme-neo.rb-area-user .company-stats-shell,
  .rb-theme-neo.rb-area-user .rb-dashboard-shell{
    display:grid !important;
    grid-template-columns:clamp(236px, 18vw, 276px) minmax(0,1fr) !important;
    gap:0 !important;
    align-items:stretch !important;
    min-height:calc(100vh - 88px);
  }

  .rb-theme-neo.rb-area-user .neo-sidebar-col,
  .rb-theme-neo.rb-area-user .profile-sidebar-col{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    align-self:stretch !important;
  }

  .rb-theme-neo.rb-area-user .profile-sidebar,
  .rb-theme-neo.rb-area-user .neo-profile-sidebar{
    position:sticky !important;
    top:88px !important;
    left:0 !important;
    width:100% !important;
    height:calc(100vh - 88px) !important;
    min-height:calc(100vh - 88px) !important;
    max-height:calc(100vh - 88px) !important;
    margin:0 !important;
    padding:18px 0 20px !important;
    border-radius:0 !important;
    border-top:0 !important;
    border-left:0 !important;
    border-bottom:0 !important;
    border-right:1px solid rgba(255,255,255,.08) !important;
    box-shadow:none !important;
    overflow:auto !important;
  }

  .rb-theme-neo.rb-area-user .rb-sidebar-brand,
  .rb-theme-neo.rb-area-user .rb-sidebar-promo,
  .rb-theme-neo.rb-area-user .rb-sidebar-help{
    margin-left:16px !important;
    margin-right:16px !important;
  }

  .rb-theme-neo.rb-area-user .neo-dashboard-main,
  .rb-theme-neo.rb-area-user .company-stats-main,
  .rb-theme-neo.rb-area-user .rb-dashboard-main{
    min-width:0 !important;
    padding-left:28px !important;
    padding-right:0 !important;
  }

  .rb-theme-neo.rb-area-user .rb-sidebar-backdrop,
  .rb-theme-neo.rb-area-user .rb-sidebar-close{
    display:none !important;
  }
}

/* phase26: homepage + interface refinement */
.rb-theme-neo .rb-story-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:20px;
  align-items:stretch;
}

.rb-theme-neo .rb-story-grid-reverse{
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
}

.rb-theme-neo .rb-story-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px;
  border-radius:28px;
  background:#fff;
  border:1px solid #dbe4ef;
  box-shadow:0 18px 42px rgba(15,23,42,.08);
}

.rb-theme-neo .rb-story-panel-dark{
  background:linear-gradient(135deg,#07142f 0,#0d1f4d 52%,#5b5cf0 100%);
  border-color:rgba(255,255,255,.08);
  color:#fff;
}

.rb-theme-neo .rb-story-panel h3{
  margin:0 0 14px;
  font-size:clamp(30px,3vw,44px);
  line-height:1.06;
  letter-spacing:-.045em;
}

.rb-theme-neo .rb-story-panel p{
  margin:0;
  font-size:17px;
  line-height:1.7;
  color:#526072;
}

.rb-theme-neo .rb-story-panel-dark p{
  color:#dce8ff !important;
}

.rb-theme-neo .rb-proof-note,
.rb-theme-neo .rb-highlight-quote{
  margin-top:20px;
  padding:18px 20px;
  border-radius:20px;
  font-size:15px;
  line-height:1.65;
  font-weight:700;
}

.rb-theme-neo .rb-proof-note{
  background:#eef5ff;
  color:#24417a;
  border:1px solid #d7e6fb;
}

.rb-theme-neo .rb-story-panel-dark .rb-proof-note{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.12);
  color:#eff6ff;
}

.rb-theme-neo .rb-highlight-quote{
  background:linear-gradient(135deg,#f8fbff 0,#eef2ff 100%);
  color:#223969;
  border:1px solid #dbe4ef;
}

.rb-theme-neo .rb-story-media{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  overflow:hidden;
  border-radius:28px;
  background:#fff;
  border:1px solid #dbe4ef;
  box-shadow:0 18px 42px rgba(15,23,42,.08);
}

.rb-theme-neo .rb-story-media img{
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:contain;
  border-radius:18px;
}

.rb-theme-neo .rb-story-media-compact img{
  max-height:300px;
}

.rb-theme-neo .rb-landing-hero{
  padding:46px 42px;
}

.rb-theme-neo .rb-landing-hero h1{
  font-size:clamp(42px,4.8vw,66px);
  line-height:.98;
}

.rb-theme-neo .rb-chip.dark{
  border-radius:16px;
  padding:12px 14px;
  font-size:13px;
}

.rb-theme-neo .rb-shot-card,
.rb-theme-neo .rb-feature-card,
.rb-theme-neo .rb-meta-card,
.rb-theme-neo .rb-mini-nav a{
  border-radius:22px !important;
}

.rb-theme-neo .rb-feature-card{
  position:relative;
  overflow:hidden;
}

.rb-theme-neo .rb-feature-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#5b5cf0 0,#7c3aed 60%,#60a5fa 100%);
  opacity:.16;
}

.rb-theme-neo .rb-feature-icon{
  width:56px;
  height:56px;
  border-radius:18px;
}

.rb-theme-neo .rb-mini-nav a{
  min-height:56px;
  display:flex;
  align-items:center;
}

.rb-theme-neo .neo-page-header{
  padding:6px 0 2px !important;
  gap:18px !important;
}

.rb-theme-neo .neo-page-header-main h1{
  margin:0 0 10px !important;
  font-size:42px !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
}

.rb-theme-neo .neo-company-select-card,
.rb-theme-neo .neo-period-chip,
.rb-theme-neo .neo-ghost-btn{
  border-radius:18px !important;
  border:1px solid #dbe4ef !important;
  box-shadow:0 10px 24px rgba(15,23,42,.05) !important;
}

.rb-theme-neo .neo-ghost-btn{
  min-height:48px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#0f172a;
  font-weight:800;
}

.rb-theme-neo .neo-kpi-grid{
  gap:16px !important;
}

.rb-theme-neo .neo-kpi-card{
  position:relative;
  padding:18px 18px 16px !important;
  border-radius:22px !important;
  border:1px solid #dde5ef !important;
  background:linear-gradient(180deg,#ffffff 0,#fbfdff 100%) !important;
  box-shadow:0 16px 34px rgba(15,23,42,.06) !important;
}

.rb-theme-neo .neo-kpi-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  border-radius:22px 22px 0 0;
  background:linear-gradient(90deg,#5b5cf0 0,#7c3aed 60%,#60a5fa 100%);
  opacity:.16;
}

.rb-theme-neo .neo-kpi-icon{
  width:48px !important;
  height:48px !important;
  border-radius:16px !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);
}

.rb-theme-neo .neo-kpi-value{
  font-size:36px !important;
  letter-spacing:-.04em;
}

.rb-theme-neo .neo-layout-grid{
  grid-template-columns:minmax(0,1fr) 300px !important;
  gap:18px !important;
}

.rb-theme-neo .neo-overview-card,
.rb-theme-neo .neo-platforms-card,
.rb-theme-neo .neo-side-card,
.rb-theme-neo .neo-analytics-wrap{
  border-radius:26px !important;
  border:1px solid #dbe4ef !important;
  box-shadow:0 18px 38px rgba(15,23,42,.07) !important;
}

.rb-theme-neo .neo-analytics-wrap{
  padding:20px !important;
  background:#fff !important;
}

.rb-theme-neo .neo-analytics-title{
  margin-bottom:16px !important;
  font-size:19px !important;
  font-weight:800;
  color:#0f172a;
}

.rb-theme-neo .neo-analytics-grid{
  gap:16px !important;
}

.rb-theme-neo .neo-analytics-card{
  min-height:100% !important;
  border-radius:24px !important;
  padding:18px !important;
  border:1px solid rgba(219,228,239,.92) !important;
}

.rb-theme-neo .neo-analytics-card h4{
  font-size:18px !important;
  line-height:1.25;
}

.rb-theme-neo .neo-analytics-main{
  font-size:44px !important;
  letter-spacing:-.05em;
}

.rb-theme-neo .neo-image{
  max-height:132px !important;
  object-fit:contain !important;
  background:rgba(255,255,255,.72) !important;
}

.rb-theme-neo .neo-card-footer{
  justify-content:flex-start !important;
  border-radius:16px !important;
  font-size:12px !important;
  color:#526072 !important;
}

.rb-theme-neo .neo-side-card{
  padding:18px !important;
}

.rb-theme-neo .neo-company-mini-logo{
  width:58px !important;
  height:58px !important;
  border-radius:18px !important;
}

.rb-theme-neo .neo-missing-note{
  display:block;
  margin-top:8px;
  color:#64748b;
  font-size:12px;
  line-height:1.5;
}

.rb-theme-neo .neo-mini-stat-card{
  padding:12px 0;
  border-bottom:1px solid #edf2f7;
}

.rb-theme-neo .neo-mini-stat-card:last-child{
  padding-bottom:0;
  border-bottom:0;
}

.rb-theme-neo .neo-mini-chart-row strong{
  display:flex;
  align-items:center;
  gap:8px;
}

.rb-theme-neo .neo-mini-chart-row em{
  font-style:normal;
  font-size:12px;
  font-weight:800;
}

.rb-theme-neo .neo-mini-chart-row em.is-positive{
  color:#16a34a;
}

.rb-theme-neo .neo-mini-chart-row em.is-negative{
  color:#dc2626;
}

.rb-theme-neo .neo-progress{
  height:8px !important;
  margin-top:8px;
}

.rb-theme-neo .neo-link-inline-block{
  display:inline-flex;
  margin-top:14px;
}

.rb-theme-neo .neo-action-tile{
  border-radius:16px !important;
  padding:14px !important;
}

.rb-theme-neo .neo-action-tile.is-primary{
  background:linear-gradient(135deg,#5b5cf0,#7c3aed) !important;
  color:#fff !important;
  border-color:transparent !important;
}

.rb-theme-neo .neo-action-tile.is-primary i{
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
}

.rb-theme-neo .neo-action-tile.is-success i{
  background:#ecfdf5 !important;
  color:#16a34a !important;
}

.rb-theme-neo .neo-platforms-table{
  border-collapse:separate !important;
  border-spacing:0 8px !important;
}

.rb-theme-neo .neo-platforms-table thead th{
  padding:0 12px 10px !important;
  font-size:11px !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  color:#8aa0bd !important;
}

.rb-theme-neo .neo-platforms-table tbody td{
  padding:14px 12px !important;
  background:#fbfcfe !important;
  border-top:1px solid #ebf0f6 !important;
  border-bottom:1px solid #ebf0f6 !important;
}

.rb-theme-neo .neo-platforms-table tbody td:first-child{
  border-left:1px solid #ebf0f6 !important;
  border-radius:18px 0 0 18px !important;
}

.rb-theme-neo .neo-platforms-table tbody td:last-child{
  border-right:1px solid #ebf0f6 !important;
  border-radius:0 18px 18px 0 !important;
}

.rb-theme-neo .neo-platforms-table tbody tr:hover td{
  background:#f7faff !important;
}

@media (min-width: 1081px){
  .rb-theme-neo.rb-area-user .site-navbar .container{
    max-width:1560px !important;
    width:calc(100% - 32px) !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin:0 auto !important;
  }

  .rb-theme-neo.rb-area-user .company-stats-page .container,
  .rb-theme-neo.rb-area-user .neo-dashboard-container,
  .rb-theme-neo.rb-area-user .rb-page-wide{
    max-width:1560px !important;
    width:calc(100% - 32px) !important;
    margin:0 auto !important;
    padding:0 !important;
  }

  .rb-theme-neo.rb-area-user .company-stats-shell,
  .rb-theme-neo.rb-area-user .neo-dashboard-shell,
  .rb-theme-neo.rb-area-user .rb-dashboard-shell{
    grid-template-columns:236px minmax(0,1fr) !important;
    gap:22px !important;
    align-items:start !important;
    min-height:auto !important;
  }

  .rb-theme-neo.rb-area-user .profile-sidebar,
  .rb-theme-neo.rb-area-user .neo-profile-sidebar{
    top:104px !important;
    height:calc(100vh - 132px) !important;
    min-height:calc(100vh - 132px) !important;
    max-height:calc(100vh - 132px) !important;
    margin-top:8px !important;
    padding:18px 0 20px !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:28px !important;
    box-shadow:0 24px 60px rgba(2,6,23,.24) !important;
    overflow:auto !important;
  }

  .rb-theme-neo.rb-area-user .company-stats-main,
  .rb-theme-neo.rb-area-user .neo-dashboard-main,
  .rb-theme-neo.rb-area-user .rb-dashboard-main{
    padding:8px 0 0 !important;
  }
}

@media (max-width: 1080px){
  .rb-theme-neo .rb-story-grid,
  .rb-theme-neo .rb-story-grid-reverse,
  .rb-theme-neo .neo-layout-grid{
    grid-template-columns:1fr !important;
  }

  .rb-theme-neo .rb-story-panel,
  .rb-theme-neo .rb-story-media{
    padding:20px;
    border-radius:24px;
  }
}

@media (max-width: 767px){
  .rb-theme-neo .rb-story-panel h3{
    font-size:30px;
  }

  .rb-theme-neo .rb-story-panel p{
    font-size:16px;
  }

  .rb-theme-neo .neo-page-header-main h1{
    font-size:32px !important;
  }
}

/* phase27: user cabinet rendering focus */
.rb-theme-neo.rb-area-user{
  --user-shell-max: 1540px;
  --user-gap: 20px;
  --user-side: 248px;
}

.rb-theme-neo.rb-area-user .site-wrap{
  background:
    radial-gradient(circle at top right, rgba(91,92,240,.10), transparent 22%),
    linear-gradient(180deg,#f8fbff 0,#eef3f9 100%);
}

.rb-theme-neo.rb-area-user .site-navbar{
  background:rgba(247,250,255,.92) !important;
  border-bottom:1px solid #dce5f0 !important;
  box-shadow:0 12px 30px rgba(15,23,42,.05) !important;
  backdrop-filter:blur(18px);
}

.rb-theme-neo.rb-area-user .rb-header-shell{
  min-height:84px !important;
  gap:14px !important;
}

.rb-theme-neo.rb-area-user .neo-dashboard-container,
.rb-theme-neo.rb-area-user .container.neo-dashboard-container{
  max-width:var(--user-shell-max) !important;
  width:calc(100% - 32px) !important;
  margin:0 auto !important;
  padding:0 !important;
}

.rb-theme-neo.rb-area-user .neo-dashboard-shell,
.rb-theme-neo.rb-area-user .company-stats-shell,
.rb-theme-neo.rb-area-user .rb-dashboard-shell{
  display:grid !important;
  grid-template-columns:var(--user-side) minmax(0,1fr) !important;
  gap:var(--user-gap) !important;
  align-items:start !important;
}

.rb-theme-neo.rb-area-user .profile-sidebar-col{
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  padding:0 !important;
}

.rb-theme-neo.rb-area-user .profile-sidebar,
.rb-theme-neo.rb-area-user .neo-profile-sidebar{
  position:sticky !important;
  top:102px !important;
  width:100% !important;
  height:calc(100vh - 126px) !important;
  min-height:calc(100vh - 126px) !important;
  max-height:calc(100vh - 126px) !important;
  overflow:auto !important;
  padding:14px 0 16px !important;
  border-radius:28px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg,#07142f 0,#0b1838 100%) !important;
  box-shadow:0 26px 54px rgba(2,6,23,.24) !important;
}

.rb-theme-neo.rb-area-user .rb-sidebar-brand{
  margin:0 14px 12px !important;
  padding:6px 6px 16px !important;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.rb-theme-neo.rb-area-user .rb-sidebar-brand-mark{
  display:grid;
  gap:2px;
}

.rb-theme-neo.rb-area-user .rb-brand-word{
  display:block;
  line-height:1;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  color:#fff;
}

.rb-theme-neo.rb-area-user .rb-brand-word--accent{
  color:#93c5fd;
}

.rb-theme-neo.rb-area-user .rb-sidebar-brand-copy strong{
  font-size:16px;
  letter-spacing:-.02em;
}

.rb-theme-neo.rb-area-user .rb-sidebar-brand-copy span{
  color:#9db2d6;
}

.rb-theme-neo.rb-area-user .rb-sidebar-section-title{
  padding:10px 16px 8px !important;
  color:#6f86ad !important;
}

.rb-theme-neo.rb-area-user .profile-sidebar .list-group-item,
.rb-theme-neo.rb-area-user .profile-sidebar .list-group-item-action{
  border-radius:16px !important;
}

.rb-theme-neo.rb-area-user .profile-sidebar .list-group-item-action{
  margin:0 10px 6px !important;
  padding:13px 14px !important;
  min-height:50px;
  border:1px solid transparent !important;
  background:transparent !important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease !important;
}

.rb-theme-neo.rb-area-user .profile-sidebar .list-group-item-action:hover{
  transform:translateX(2px);
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.08) !important;
  box-shadow:none !important;
}

.rb-theme-neo.rb-area-user .profile-sidebar .list-group-item-action.active{
  background:linear-gradient(135deg,#5b5cf0,#7c3aed) !important;
  border-color:transparent !important;
  box-shadow:0 14px 26px rgba(91,92,240,.28) !important;
}

.rb-theme-neo.rb-area-user .neo-nav-main{
  display:flex;
  align-items:center;
  gap:12px;
}

.rb-theme-neo.rb-area-user .img-rubr-mini-profile{
  width:20px;
  text-align:center;
  opacity:.95;
}

.rb-theme-neo.rb-area-user .neo-nav-arrow{
  color:rgba(255,255,255,.82);
  font-size:12px;
}

.rb-theme-neo.rb-area-user .rb-sidebar-promo,
.rb-theme-neo.rb-area-user .rb-sidebar-help{
  margin:12px 14px 0 !important;
  border-radius:20px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:rgba(255,255,255,.045) !important;
}

.rb-theme-neo.rb-area-user .rb-sidebar-promo-btn{
  min-height:42px;
  border-radius:14px !important;
}

.rb-theme-neo.rb-area-user .rb-sidebar-help-links a{
  border-radius:14px !important;
}

.rb-theme-neo.rb-area-user .logout{
  margin-top:10px !important;
  color:#ffd2d2 !important;
}

.rb-theme-neo.rb-area-user .neo-dashboard-main,
.rb-theme-neo.rb-area-user .company-stats-main,
.rb-theme-neo.rb-area-user .rb-dashboard-main,
.rb-theme-neo.rb-area-user .user-dashboard-main{
  min-width:0 !important;
  padding:6px 0 0 !important;
}

.rb-theme-neo.rb-area-user .neo-page-header,
.rb-theme-neo.rb-area-user .rb-page-head{
  margin-bottom:18px !important;
}

.rb-theme-neo.rb-area-user .neo-page-header-main h1,
.rb-theme-neo.rb-area-user .rb-page-title{
  font-size:40px !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
}

.rb-theme-neo.rb-area-user .neo-page-header p,
.rb-theme-neo.rb-area-user .rb-page-subtitle{
  max-width:920px;
  color:#64748b !important;
}

.rb-theme-neo.rb-area-user .neo-company-select-card,
.rb-theme-neo.rb-area-user .neo-period-chip,
.rb-theme-neo.rb-area-user .neo-ghost-btn,
.rb-theme-neo.rb-area-user .neo-status-chip{
  min-height:48px;
}

.rb-theme-neo.rb-area-user .neo-kpi-grid{
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:16px !important;
}

.rb-theme-neo.rb-area-user .neo-kpi-card{
  min-height:168px;
}

.rb-theme-neo.rb-area-user .neo-kpi-label{
  line-height:1.35;
}

.rb-theme-neo.rb-area-user .neo-priority-strip{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:18px;
  margin:0 0 18px;
}

.rb-theme-neo.rb-area-user .neo-priority-main,
.rb-theme-neo.rb-area-user .neo-priority-item{
  border-radius:24px;
  border:1px solid #dbe4ef;
  box-shadow:0 18px 38px rgba(15,23,42,.07);
}

.rb-theme-neo.rb-area-user .neo-priority-main{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  padding:24px 26px;
  background:linear-gradient(135deg,#0d1f4d 0,#182f71 58%,#5b5cf0 100%);
  color:#fff;
}

.rb-theme-neo.rb-area-user .neo-priority-main h2{
  margin:4px 0 10px;
  font-size:28px;
  line-height:1.1;
  letter-spacing:-.03em;
}

.rb-theme-neo.rb-area-user .neo-priority-main p{
  margin:0;
  max-width:720px;
  color:#dce8ff;
  line-height:1.65;
}

.rb-theme-neo.rb-area-user .neo-priority-kicker{
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#bfdbfe;
}

.rb-theme-neo.rb-area-user .neo-priority-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:16px;
  background:#fff;
  color:#0f172a;
  font-weight:800;
  white-space:nowrap;
}

.rb-theme-neo.rb-area-user .neo-priority-list{
  display:grid;
  gap:12px;
}

.rb-theme-neo.rb-area-user .neo-priority-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:18px;
  background:#fff;
}

.rb-theme-neo.rb-area-user .neo-priority-item strong{
  display:block;
  margin-bottom:6px;
  color:#0f172a;
}

.rb-theme-neo.rb-area-user .neo-priority-item span{
  display:block;
  color:#64748b;
  line-height:1.55;
}

.rb-theme-neo.rb-area-user .neo-priority-link{
  color:#4f46e5 !important;
  font-weight:800;
  white-space:nowrap;
}

.rb-theme-neo.rb-area-user .neo-layout-grid{
  grid-template-columns:minmax(0,1fr) 308px !important;
  gap:18px !important;
}

.rb-theme-neo.rb-area-user .neo-overview-card,
.rb-theme-neo.rb-area-user .neo-platforms-card,
.rb-theme-neo.rb-area-user .neo-side-card,
.rb-theme-neo.rb-area-user .rb-card,
.rb-theme-neo.rb-area-user .rb-form-card,
.rb-theme-neo.rb-area-user .rb-summary-box{
  border-radius:26px !important;
}

.rb-theme-neo.rb-area-user .neo-block-head h3,
.rb-theme-neo.rb-area-user .rb-section-title{
  font-size:24px !important;
}

.rb-theme-neo.rb-area-user .neo-side-card-head{
  margin-bottom:14px !important;
}

.rb-theme-neo.rb-area-user .neo-platform-cell strong{
  display:block;
  margin-bottom:2px;
}

.rb-theme-neo.rb-area-user .neo-platform-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  font-size:16px;
  font-weight:800;
}

.rb-theme-neo.rb-area-user .neo-table-actions{
  flex-wrap:nowrap;
}

.rb-theme-neo.rb-area-user .neo-table-btn,
.rb-theme-neo.rb-area-user .neo-icon-btn{
  border-radius:14px !important;
}

.rb-theme-neo.rb-area-user .neo-empty-state-inline{
  padding:18px 8px !important;
  text-align:left;
}

.rb-theme-neo.rb-area-user .neo-inline-action{
  display:inline-flex;
  margin-top:12px;
  font-weight:800;
  color:#4f46e5;
}

.rb-theme-neo.rb-area-user .rb-form-card .form-group.row,
.rb-theme-neo.rb-area-user .edit-company-shell .form-group.row{
  gap:16px 20px !important;
}

.rb-theme-neo.rb-area-user .rb-form-card .btn,
.rb-theme-neo.rb-area-user .rb-page-actions .btn,
.rb-theme-neo.rb-area-user .rb-page-actions .sk-btn{
  min-height:48px;
}

@media (max-width: 1280px){
  .rb-theme-neo.rb-area-user .neo-kpi-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  .rb-theme-neo.rb-area-user .neo-layout-grid,
  .rb-theme-neo.rb-area-user .neo-priority-strip{
    grid-template-columns:1fr !important;
  }
}

@media (max-width: 1080px){
  .rb-theme-neo.rb-area-user .neo-dashboard-shell,
  .rb-theme-neo.rb-area-user .company-stats-shell,
  .rb-theme-neo.rb-area-user .rb-dashboard-shell{
    grid-template-columns:1fr !important;
  }

  .rb-theme-neo.rb-area-user .profile-sidebar-col{
    position:fixed !important;
    inset:0 auto 0 0;
    width:100%;
    z-index:1200;
    pointer-events:none;
  }

  .rb-theme-neo.rb-area-user .profile-sidebar,
  .rb-theme-neo.rb-area-user .neo-profile-sidebar{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    width:min(340px, calc(100vw - 28px)) !important;
    height:100dvh !important;
    min-height:100dvh !important;
    max-height:100dvh !important;
    margin-top:0 !important;
    border-radius:0 28px 28px 0 !important;
    transform:translateX(-104%);
    transition:transform .24s ease;
  }

  body.rb-sidebar-open .profile-sidebar-col{
    pointer-events:auto;
  }

  body.rb-sidebar-open .profile-sidebar,
  body.rb-sidebar-open .neo-profile-sidebar{
    transform:translateX(0);
  }
}

@media (max-width: 767px){
  .rb-theme-neo.rb-area-user .neo-dashboard-container,
  .rb-theme-neo.rb-area-user .container.neo-dashboard-container{
    width:calc(100% - 20px) !important;
  }

  .rb-theme-neo.rb-area-user .neo-page-header-main h1,
  .rb-theme-neo.rb-area-user .rb-page-title{
    font-size:30px !important;
  }

  .rb-theme-neo.rb-area-user .neo-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .rb-theme-neo.rb-area-user .neo-priority-main{
    padding:20px;
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 560px){
  .rb-theme-neo.rb-area-user .neo-kpi-grid{
    grid-template-columns:1fr !important;
  }
}

/* phase28: user work pages unification */
.rb-theme-neo.rb-area-user .rb-kpi-grid,
.rb-theme-neo.rb-area-user .rb-summary-grid{
  gap:16px !important;
}

.rb-theme-neo.rb-area-user .rb-kpi{
  border-radius:22px !important;
  border:1px solid #dde5ef !important;
  background:linear-gradient(180deg,#ffffff 0,#fbfdff 100%) !important;
  box-shadow:0 16px 34px rgba(15,23,42,.06) !important;
  padding:20px !important;
}

.rb-theme-neo.rb-area-user .rb-kpi .value{
  font-size:34px !important;
  line-height:1;
  letter-spacing:-.04em;
}

.rb-theme-neo.rb-area-user .rb-summary-card,
.rb-theme-neo.rb-area-user .rb-table-card,
.rb-theme-neo.rb-area-user .rb-form-card,
.rb-theme-neo.rb-area-user .rb-card{
  border:1px solid #dbe4ef !important;
  background:#fff !important;
  box-shadow:0 18px 38px rgba(15,23,42,.07) !important;
}

.rb-theme-neo.rb-area-user .rb-card-head,
.rb-theme-neo.rb-area-user .rb-section-head{
  margin-bottom:16px !important;
}

.rb-theme-neo.rb-area-user .rb-card-head h3,
.rb-theme-neo.rb-area-user .rb-section-head h3{
  font-size:24px !important;
  line-height:1.15;
  letter-spacing:-.03em;
}

.rb-theme-neo.rb-area-user .rb-search-field .form-control{
  min-height:56px !important;
  border-radius:18px !important;
  background:#fbfcfe !important;
}

.rb-theme-neo.rb-area-user .rb-search-clear{
  width:34px;
  height:34px;
  border:none;
  border-radius:12px;
  background:#eef2ff;
  color:#4f46e5;
}

.rb-theme-neo.rb-area-user .rb-company-grid{
  gap:18px !important;
}

.rb-theme-neo.rb-area-user .rb-company-card{
  gap:16px !important;
  padding:22px !important;
  border:1px solid #dbe4ef !important;
  background:linear-gradient(180deg,#ffffff 0,#fbfdff 100%) !important;
  box-shadow:0 18px 38px rgba(15,23,42,.07) !important;
}

.rb-theme-neo.rb-area-user .rb-company-head{
  align-items:flex-start;
}

.rb-theme-neo.rb-area-user .rb-company-brand{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.rb-theme-neo.rb-area-user .rb-company-logo{
  width:56px;
  height:56px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid #e2e8f0;
}

.rb-theme-neo.rb-area-user .rb-company-logo-fallback{
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:18px;
  background:linear-gradient(135deg,#eef2ff,#f5f3ff);
  color:#4338ca;
}

.rb-theme-neo.rb-area-user .rb-company-brand h3{
  margin:0 0 4px;
  font-size:20px;
  line-height:1.15;
}

.rb-theme-neo.rb-area-user .rb-company-brand p{
  margin:0;
  color:#64748b;
}

.rb-theme-neo.rb-area-user .rb-company-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.rb-theme-neo.rb-area-user .rb-meta-chip{
  min-height:38px;
  border-radius:999px !important;
  background:#f8fafc !important;
}

.rb-theme-neo.rb-area-user .rb-company-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.rb-theme-neo.rb-area-user .rb-company-actions .btn,
.rb-theme-neo.rb-area-user .rb-company-actions .sk-btn{
  min-height:44px;
  border-radius:14px !important;
}

.rb-theme-neo.rb-area-user .rb-company-foot{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  color:#64748b;
  font-size:13px;
}

.rb-theme-neo.rb-area-user .rb-balance-amount{
  font-size:36px !important;
  line-height:1;
  letter-spacing:-.04em;
}

.rb-theme-neo.rb-area-user .rb-payment-option{
  border-radius:18px !important;
  min-height:100px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.rb-theme-neo.rb-area-user .rb-history-table,
.rb-theme-neo.rb-area-user .rb-table-clean{
  width:100%;
}

.rb-theme-neo.rb-area-user .rb-history-table th,
.rb-theme-neo.rb-area-user .rb-table-clean th{
  font-size:11px !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  color:#8aa0bd !important;
  padding:0 12px 10px !important;
  border-top:none !important;
}

.rb-theme-neo.rb-area-user .rb-history-table td,
.rb-theme-neo.rb-area-user .rb-table-clean td{
  padding:14px 12px !important;
  border-color:#edf2f7 !important;
}

.rb-theme-neo.rb-area-user .rb-table-primary{
  font-weight:800;
  color:#0f172a;
}

.rb-theme-neo.rb-area-user .rb-table-muted{
  color:#64748b;
  font-size:13px;
  margin-top:4px;
}

.rb-theme-neo.rb-area-user .rb-table-alert{
  margin-top:8px;
  padding:8px 10px;
  border-radius:12px;
  background:#fff1f2;
  color:#be123c;
  font-size:12px;
  line-height:1.5;
}

.rb-theme-neo.rb-area-user .rb-row-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.rb-theme-neo.rb-area-user .rb-empty{
  border-radius:24px !important;
  padding:30px 24px !important;
  border:1px dashed #d6e0ec !important;
  background:linear-gradient(180deg,#ffffff 0,#fbfdff 100%) !important;
}

.rb-theme-neo.rb-area-user .rb-empty h3{
  margin:0 0 10px;
  font-size:24px;
  letter-spacing:-.03em;
}

.rb-theme-neo.rb-area-user .rb-empty p{
  margin:0;
  color:#64748b;
  line-height:1.65;
}

@media (max-width: 991px){
  .rb-theme-neo.rb-area-user .rb-company-actions,
  .rb-theme-neo.rb-area-user .rb-row-actions{
    flex-direction:column;
  }

  .rb-theme-neo.rb-area-user .rb-company-actions .btn,
  .rb-theme-neo.rb-area-user .rb-company-actions .sk-btn,
  .rb-theme-neo.rb-area-user .rb-row-actions .btn{
    width:100%;
  }
}
