/* NOWA Main CRM Phase 2A Theme V1D
   Visual-only theme layer. No permissions, data visibility, SQL, payroll, invoices,
   authentication, 2FA, uploads, private files, or business logic are controlled here. */
:root{
  --nowa-bg:#0F151A;
  --nowa-sidebar:#141C22;
  --nowa-surface:#1B252D;
  --nowa-raised:#222D36;
  --nowa-orange:#FF6A13;
  --nowa-orange-hi:#FF8A42;
  --nowa-orange-deep:#D94E00;
  --nowa-text:#F7F9FA;
  --nowa-muted:#A5B0B8;
  --nowa-success:#41CF8A;
  --nowa-warning:#EEB342;
  --nowa-danger:#FF5C5C;
  --nowa-border:rgba(152,169,180,.24);
  --nowa-border-soft:rgba(152,169,180,.14);
  --nowa-shadow:0 18px 44px rgba(0,0,0,.24);
  --nowa-font-body:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  --nowa-font-heading:Sora,Inter,"Segoe UI",system-ui,sans-serif;
  --nowa-font-label:Montserrat,Inter,"Segoe UI",system-ui,sans-serif;
}

/* ---------- Global application shell ---------- */
html,body{background:var(--nowa-bg);}
body.rm-global-sidebar-v7,
body.rm-sidebar-source-master-v15{
  background:var(--nowa-bg)!important;
  color:var(--nowa-text)!important;
  font-family:var(--nowa-font-body)!important;
}
body.rm-global-sidebar-v7 main.main,
body.rm-sidebar-source-master-v15 main.main,
body.rm-global-sidebar-v7 .main,
body.rm-sidebar-source-master-v15 .main{
  background:var(--nowa-bg)!important;
}

/* ---------- Shared header ---------- */
body .rm-global-header-v16{
  background:linear-gradient(180deg,rgba(27,37,45,.98),rgba(20,28,34,.98))!important;
  border:1px solid var(--nowa-border-soft)!important;
  border-top-color:rgba(255,106,19,.34)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.18)!important;
  color:var(--nowa-text)!important;
  backdrop-filter:blur(14px);
}
body .rm-global-header-v16::before{
  background:linear-gradient(90deg,transparent 0%,rgba(255,106,19,.14) 18%,var(--nowa-orange) 50%,rgba(255,106,19,.14) 82%,transparent 100%)!important;
  opacity:.72!important;
}
body .rm-global-header-v16 .rm-gh-title h1{
  color:var(--nowa-text)!important;
  font-family:var(--nowa-font-heading)!important;
  letter-spacing:-.025em!important;
}
body .rm-global-header-v16 .rm-gh-title p,
body .rm-global-header-v16 .rm-gh-user-copy span,
body .rm-global-header-v16 .rm-date-filter-title-v1f,
body .rm-global-header-v16 .rm-live-dropdown .rm-dropdown-item small{
  color:var(--nowa-muted)!important;
}
body .rm-global-header-v16 .rm-gh-user-copy strong,
body .rm-global-header-v16 .rm-date-filter-label-v1f strong,
body .rm-global-header-v16 .rm-live-dropdown .rm-dropdown-title,
body .rm-global-header-v16 .rm-live-dropdown .rm-dropdown-item{
  color:var(--nowa-text)!important;
}
body .rm-global-header-v16 .rm-gh-menu,
body .rm-global-header-v16 .rm-gh-date,
body .rm-global-header-v16 .rm-gh-bell,
body .rm-global-header-v16 .rm-gh-user{
  background:var(--nowa-raised)!important;
  border:1px solid var(--nowa-border-soft)!important;
  color:var(--nowa-text)!important;
  box-shadow:none!important;
}
body .rm-global-header-v16 .rm-gh-menu:hover,
body .rm-global-header-v16 .rm-gh-date:hover,
body .rm-global-header-v16 .rm-gh-bell:hover,
body .rm-global-header-v16 .rm-gh-user:hover{
  background:#27333C!important;
  border-color:rgba(255,106,19,.44)!important;
  box-shadow:0 0 0 3px rgba(255,106,19,.08)!important;
}
body .rm-global-header-v16 .rm-gh-menu svg,
body .rm-global-header-v16 .rm-gh-date svg,
body .rm-global-header-v16 .rm-gh-bell svg,
body .rm-global-header-v16 .rm-gh-chev{
  color:var(--nowa-orange-hi)!important;
  stroke:currentColor!important;
}
body .rm-global-header-v16 .rm-gh-avatar{
  border-color:rgba(255,106,19,.55)!important;
  box-shadow:0 0 0 3px rgba(255,106,19,.10)!important;
}
body .rm-global-header-v16 .rm-gh-bell em,
body .rm-global-header-v16 .crm-bell-has-unread em{
  background:var(--nowa-orange)!important;
  color:#15100C!important;
  border-color:var(--nowa-orange-hi)!important;
}
body .rm-global-header-v16 .rm-date-filter-menu-v1f,
body .rm-global-header-v16 .rm-gh-bell.rm-bell .rm-live-dropdown{
  background:var(--nowa-surface)!important;
  border:1px solid var(--nowa-border)!important;
  box-shadow:var(--nowa-shadow)!important;
}
body .rm-global-header-v16 .rm-date-filter-item-v1f:hover,
body .rm-global-header-v16 .rm-live-dropdown .rm-dropdown-item:hover{
  background:rgba(255,106,19,.10)!important;
}
body .rm-global-header-v16 .rm-date-filter-item-v1f.active,
body .rm-global-header-v16 .rm-live-dropdown .rm-dropdown-item.unread{
  background:rgba(255,106,19,.14)!important;
  border-color:rgba(255,106,19,.30)!important;
  color:var(--nowa-text)!important;
}

/* ---------- Shared sidebar ---------- */
html body aside.sidebar#sidebar,
html body .sidebar#sidebar,
html body .layout>aside.sidebar{
  background:linear-gradient(180deg,#141C22 0%,#11181E 100%)!important;
  background-image:linear-gradient(180deg,#141C22 0%,#11181E 100%)!important;
  border-right:1px solid var(--nowa-border-soft)!important;
  color:var(--nowa-text)!important;
  box-shadow:12px 0 36px rgba(0,0,0,.16)!important;
}
html body aside.sidebar#sidebar .brand,
html body .sidebar#sidebar .brand{
  min-height:148px!important;
  padding:16px 10px 15px!important;
  margin:0 0 10px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-bottom:1px solid var(--nowa-border-soft)!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html body aside.sidebar#sidebar .brand>img.sidebar-main-logo,
html body .sidebar#sidebar .brand>img.sidebar-main-logo,
html body aside.sidebar#sidebar .brand>img.rm-global-sidebar-top-logo,
html body .sidebar#sidebar .brand>img.rm-global-sidebar-top-logo{
  display:block!important;
  width:78px!important;
  max-width:78px!important;
  min-width:78px!important;
  height:72px!important;
  max-height:72px!important;
  min-height:72px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto 2px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  filter:drop-shadow(0 10px 18px rgba(255,106,19,.14))!important;
}
html body aside.sidebar#sidebar .brand>.brand-copy,
html body .sidebar#sidebar .brand>.brand-copy{
  display:none!important;
}
.nowa-sidebar-stacked-copy-v1{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  text-align:center;
  line-height:1;
  pointer-events:none;
}
.nowa-sidebar-stacked-copy-v1 strong{
  color:var(--nowa-text)!important;
  font-family:var(--nowa-font-heading)!important;
  font-size:21px!important;
  font-weight:800!important;
  letter-spacing:.05em!important;
  line-height:1.05!important;
}
.nowa-sidebar-stacked-copy-v1 span{
  color:var(--nowa-orange-hi)!important;
  font-family:var(--nowa-font-label)!important;
  font-size:8.5px!important;
  font-weight:700!important;
  letter-spacing:.28em!important;
  line-height:1.2!important;
  margin-left:.28em!important;
}
html body aside.sidebar#sidebar nav.menu>a,
html body .sidebar#sidebar nav.menu>a,
html body aside.sidebar#sidebar nav.menu>button,
html body .sidebar#sidebar nav.menu>button{
  color:#C7D0D6!important;
  background:transparent!important;
  background-image:none!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-family:var(--nowa-font-body)!important;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
html body aside.sidebar#sidebar nav.menu>a:hover,
html body .sidebar#sidebar nav.menu>a:hover,
html body aside.sidebar#sidebar nav.menu>button:hover,
html body .sidebar#sidebar nav.menu>button:hover{
  color:var(--nowa-text)!important;
  background:rgba(255,255,255,.045)!important;
  background-image:none!important;
  border-color:var(--nowa-border-soft)!important;
  transform:translateX(1px)!important;
}
html body aside.sidebar#sidebar nav.menu>a.active,
html body .sidebar#sidebar nav.menu>a.active,
html body aside.sidebar#sidebar nav.menu>a.active:hover,
html body .sidebar#sidebar nav.menu>a.active:hover{
  color:var(--nowa-text)!important;
  background:var(--nowa-raised)!important;
  background-image:none!important;
  border-color:rgba(255,106,19,.34)!important;
  box-shadow:inset 3px 0 0 var(--nowa-orange),0 8px 20px rgba(0,0,0,.14)!important;
}
html body aside.sidebar#sidebar nav.menu>a span b,
html body .sidebar#sidebar nav.menu>a span b,
html body aside.sidebar#sidebar nav.menu>button span b,
html body .sidebar#sidebar nav.menu>button span b{
  background:rgba(165,176,184,.08)!important;
  color:#AEB9C1!important;
  border-color:rgba(165,176,184,.12)!important;
}
html body aside.sidebar#sidebar nav.menu>a.active span b,
html body .sidebar#sidebar nav.menu>a.active span b,
html body aside.sidebar#sidebar nav.menu>a.active svg,
html body .sidebar#sidebar nav.menu>a.active svg{
  background:rgba(255,106,19,.12)!important;
  color:var(--nowa-orange-hi)!important;
  stroke:currentColor!important;
  border-color:rgba(255,106,19,.22)!important;
}
html body aside.sidebar#sidebar nav.menu>.menu-divider,
html body .sidebar#sidebar nav.menu>.menu-divider,
html body aside.sidebar#sidebar nav.menu>.sidebar-section-title,
html body .sidebar#sidebar nav.menu>.sidebar-section-title{
  color:#7F8D97!important;
  font-family:var(--nowa-font-label)!important;
  letter-spacing:.11em!important;
}
html body aside.sidebar#sidebar nav.menu>.menu-divider::after,
html body .sidebar#sidebar nav.menu>.menu-divider::after,
html body aside.sidebar#sidebar nav.menu>.sidebar-section-title::after,
html body .sidebar#sidebar nav.menu>.sidebar-section-title::after{
  background:var(--nowa-border-soft)!important;
}
html body aside.sidebar#sidebar nav.menu>a>em,
html body .sidebar#sidebar nav.menu>a>em{
  background:rgba(255,106,19,.12)!important;
  background-image:none!important;
  color:var(--nowa-orange-hi)!important;
  border:1px solid rgba(255,106,19,.22)!important;
  box-shadow:none!important;
}
html body aside.sidebar#sidebar nav.menu>a>em.green,
html body .sidebar#sidebar nav.menu>a>em.green,
html body aside.sidebar#sidebar nav.menu>a[href*="completed-projects.php"]>em,
html body .sidebar#sidebar nav.menu>a[href*="completed-projects.php"]>em{
  background:rgba(65,207,138,.12)!important;
  color:var(--nowa-success)!important;
  border-color:rgba(65,207,138,.26)!important;
}
html body aside.sidebar#sidebar nav.menu>a>em.orange,
html body .sidebar#sidebar nav.menu>a>em.orange,
html body aside.sidebar#sidebar nav.menu>a[href*="pending-payments.php"]>em,
html body .sidebar#sidebar nav.menu>a[href*="pending-payments.php"]>em,
html body aside.sidebar#sidebar nav.menu>a[href*="review-pending.php"]>em,
html body .sidebar#sidebar nav.menu>a[href*="review-pending.php"]>em{
  background:rgba(238,179,66,.13)!important;
  color:var(--nowa-warning)!important;
  border-color:rgba(238,179,66,.28)!important;
}
html body aside.sidebar#sidebar nav.menu>a>em.red,
html body .sidebar#sidebar nav.menu>a>em.red,
html body aside.sidebar#sidebar nav.menu>a>em.personal-chat-count,
html body .sidebar#sidebar nav.menu>a>em.personal-chat-count{
  background:rgba(255,92,92,.13)!important;
  color:#FF8585!important;
  border-color:rgba(255,92,92,.28)!important;
}
html body aside.sidebar#sidebar nav.menu>a>em.purple,
html body .sidebar#sidebar nav.menu>a>em.purple{
  background:rgba(238,179,66,.13)!important;
  color:var(--nowa-warning)!important;
  border-color:rgba(238,179,66,.28)!important;
}
html body aside.sidebar#sidebar .sidebar-footer,
html body .sidebar#sidebar .sidebar-footer{
  background:var(--nowa-surface)!important;
  background-image:none!important;
  border:1px solid var(--nowa-border-soft)!important;
  box-shadow:none!important;
}
html body aside.sidebar#sidebar .sidebar-footer .mini-card-icon,
html body .sidebar#sidebar .sidebar-footer .mini-card-icon{
  background:rgba(255,106,19,.12)!important;
  color:var(--nowa-orange-hi)!important;
  border-color:rgba(255,106,19,.22)!important;
}
html body aside.sidebar#sidebar .sidebar-footer strong,
html body .sidebar#sidebar .sidebar-footer strong{color:var(--nowa-text)!important;}
html body aside.sidebar#sidebar .sidebar-footer small,
html body .sidebar#sidebar .sidebar-footer small{color:var(--nowa-muted)!important;}
html body aside.sidebar#sidebar .sidebar-footer a,
html body .sidebar#sidebar .sidebar-footer a{color:var(--nowa-orange-hi)!important;}

/* Collapsed and compact sidebar: mark only */
html.rm-sidebar-desktop-collapsed body aside.sidebar#sidebar .brand,
html.rm-sidebar-desktop-collapsed body .sidebar#sidebar .brand{
  min-height:82px!important;
  padding:10px 4px!important;
}
html.rm-sidebar-desktop-collapsed .nowa-sidebar-stacked-copy-v1{display:none!important;}
html.rm-sidebar-desktop-collapsed body aside.sidebar#sidebar .brand>img.sidebar-main-logo,
html.rm-sidebar-desktop-collapsed body .sidebar#sidebar .brand>img.sidebar-main-logo{
  width:48px!important;
  max-width:48px!important;
  min-width:48px!important;
  height:46px!important;
  max-height:46px!important;
  min-height:46px!important;
}

/* ---------- Admin and Sales Dashboard ---------- */
body.rm-dashboard-page{
  background:var(--nowa-bg)!important;
  color:var(--nowa-text)!important;
}
body.rm-dashboard-page .main,
body.rm-dashboard-page main.main,
body.rm-dashboard-page .main-content,
body.rm-dashboard-page .dashboard-page{
  background:var(--nowa-bg)!important;
}
body.rm-dashboard-page .rm-stat-card,
body.rm-dashboard-page .stat-card,
body.rm-dashboard-page .kpi-card,
body.rm-dashboard-page .rm-panel,
body.rm-dashboard-page .rm-card,
body.rm-dashboard-page .dashboard-lower>div,
body.rm-dashboard-page .rm-chart-grid>div,
body.rm-dashboard-page .rm-bottom-grid>div{
  background:var(--nowa-surface)!important;
  background-image:none!important;
  border:1px solid var(--nowa-border-soft)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.14)!important;
  color:var(--nowa-text)!important;
}
body.rm-dashboard-page .rm-stat-card:hover,
body.rm-dashboard-page .stat-card:hover,
body.rm-dashboard-page .kpi-card:hover,
body.rm-dashboard-page .rm-panel:hover{
  border-color:rgba(255,106,19,.28)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.20)!important;
}
body.rm-dashboard-page .rm-stat-card::before,
body.rm-dashboard-page .stat-card::before,
body.rm-dashboard-page .kpi-card::before{
  background:linear-gradient(90deg,var(--nowa-orange),var(--nowa-orange-hi))!important;
}
body.rm-dashboard-page .rm-stat-card [class*="icon"],
body.rm-dashboard-page .stat-card [class*="icon"],
body.rm-dashboard-page .kpi-card [class*="icon"]{
  background:rgba(255,106,19,.12)!important;
  background-image:none!important;
  color:var(--nowa-orange-hi)!important;
  border-color:rgba(255,106,19,.22)!important;
  box-shadow:none!important;
}
body.rm-dashboard-page h1,
body.rm-dashboard-page h2,
body.rm-dashboard-page h3,
body.rm-dashboard-page .page-title,
body.rm-dashboard-page .rm-page-title,
body.rm-dashboard-page .rm-panel-title{
  color:var(--nowa-text)!important;
  font-family:var(--nowa-font-heading)!important;
}
body.rm-dashboard-page p,
body.rm-dashboard-page small,
body.rm-dashboard-page .muted,
body.rm-dashboard-page .rm-muted,
body.rm-dashboard-page .rm-stat-card span,
body.rm-dashboard-page .stat-card span,
body.rm-dashboard-page .kpi-card span{
  color:var(--nowa-muted)!important;
}
body.rm-dashboard-page .rm-stat-card strong,
body.rm-dashboard-page .stat-card strong,
body.rm-dashboard-page .kpi-card strong{
  color:var(--nowa-text)!important;
}
body.rm-dashboard-page table,
body.rm-dashboard-page .table,
body.rm-dashboard-page .rm-table{
  background:transparent!important;
  color:var(--nowa-text)!important;
}
body.rm-dashboard-page thead,
body.rm-dashboard-page table thead tr{
  background:var(--nowa-raised)!important;
  background-image:none!important;
}
body.rm-dashboard-page th{
  color:#D6DEE3!important;
  border-color:var(--nowa-border-soft)!important;
  font-family:var(--nowa-font-label)!important;
}
body.rm-dashboard-page td{
  color:#D5DDE2!important;
  border-color:var(--nowa-border-soft)!important;
}
body.rm-dashboard-page tbody tr:hover{background:rgba(255,106,19,.055)!important;}
body.rm-dashboard-page .btn-primary,
body.rm-dashboard-page button.btn-primary,
body.rm-dashboard-page a.btn-primary{
  background:linear-gradient(135deg,var(--nowa-orange-hi),var(--nowa-orange),var(--nowa-orange-deep))!important;
  border-color:rgba(255,138,66,.58)!important;
  color:#17100B!important;
  box-shadow:0 10px 22px rgba(217,78,0,.20)!important;
}
body.rm-dashboard-page .btn-secondary,
body.rm-dashboard-page .btn-outline,
body.rm-dashboard-page a.btn:not(.btn-primary),
body.rm-dashboard-page button.btn:not(.btn-primary){
  background:var(--nowa-raised)!important;
  background-image:none!important;
  color:var(--nowa-text)!important;
  border-color:var(--nowa-border)!important;
}
body.rm-dashboard-page input,
body.rm-dashboard-page select,
body.rm-dashboard-page textarea{
  background:var(--nowa-raised)!important;
  color:var(--nowa-text)!important;
  border-color:var(--nowa-border)!important;
}
body.rm-dashboard-page input:focus,
body.rm-dashboard-page select:focus,
body.rm-dashboard-page textarea:focus{
  border-color:var(--nowa-orange)!important;
  box-shadow:0 0 0 3px rgba(255,106,19,.10)!important;
}
body.rm-dashboard-page .rm-chart-body,
body.rm-dashboard-page .rm-project-status-body{
  background:transparent!important;
}
body.rm-dashboard-page canvas{filter:none!important;}

/* Sales leaderboard and lower dashboard */
body.rm-dashboard-page .rm-sales-leaderboard-v1d,
body.rm-dashboard-page .rm-sales-leaderboard-v1d,
body.rm-dashboard-page .rm-sales-lb-v2b,
body.rm-dashboard-page .sales-chat-content,
body.rm-dashboard-page .premium-admin-activity-feed,
body.rm-dashboard-page .admin-activity-feed{
  background:var(--nowa-surface)!important;
  background-image:none!important;
  border-color:var(--nowa-border-soft)!important;
  color:var(--nowa-text)!important;
}
body.rm-dashboard-page .rm-sales-leaderboard-v1d-card,
body.rm-dashboard-page .rm-sales-leaderboard-v1d-card,
body.rm-dashboard-page .rm-sales-lb-v2b-row,
body.rm-dashboard-page .sales-chat-feed-item,
body.rm-dashboard-page .admin-mini-project{
  background:var(--nowa-raised)!important;
  background-image:none!important;
  border-color:var(--nowa-border-soft)!important;
  box-shadow:none!important;
}
body.rm-dashboard-page .rm-sales-leaderboard-v1d-card:hover,
body.rm-dashboard-page .rm-sales-leaderboard-v1d-card:hover,
body.rm-dashboard-page .rm-sales-lb-v2b-row:hover,
body.rm-dashboard-page .sales-chat-feed-item:hover,
body.rm-dashboard-page .admin-mini-project:hover{
  border-color:rgba(255,106,19,.30)!important;
  background:#27333C!important;
}
body.rm-dashboard-page .rm-sales-leaderboard-v1d-featured,
body.rm-dashboard-page .rm-sales-leaderboard-v1d-featured{
  background:linear-gradient(145deg,rgba(255,106,19,.16),rgba(34,45,54,.96))!important;
  border-color:rgba(255,106,19,.38)!important;
}
body.rm-dashboard-page [class*="trophy"],
body.rm-dashboard-page [class*="rank-main"],
body.rm-dashboard-page [class*="rank-small"],
body.rm-dashboard-page .rm-sales-lb-v2b-rank{
  color:var(--nowa-orange-hi)!important;
}
body.rm-dashboard-page .rm-sales-leaderboard-v1d-amount,
body.rm-dashboard-page .rm-sales-leaderboard-v1d-amount,
body.rm-dashboard-page .admin-mini-project-price{
  color:var(--nowa-success)!important;
}
body.rm-dashboard-page .sales-chat-pill{
  background:rgba(255,106,19,.12)!important;
  color:var(--nowa-orange-hi)!important;
  border-color:rgba(255,106,19,.22)!important;
}
body.rm-dashboard-page .sales-chat-dot{background:var(--nowa-orange)!important;}

/* ---------- Designer and Design Lead Dashboard ---------- */
body.rm-v13-designer-pilot{
  background:var(--nowa-bg)!important;
  color:var(--nowa-text)!important;
}
body.rm-v13-designer-pilot .main,
body.rm-v13-designer-pilot main.main,
body.rm-v13-designer-pilot .hero,
body.rm-v13-designer-pilot .card,
body.rm-v13-designer-pilot .stat,
body.rm-v13-designer-pilot .designer-chat-panel{
  background:var(--nowa-surface)!important;
  background-image:none!important;
  border-color:var(--nowa-border-soft)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.14)!important;
  color:var(--nowa-text)!important;
}
body.rm-v13-designer-pilot .hero{
  background:linear-gradient(145deg,rgba(255,106,19,.14),rgba(27,37,45,.98))!important;
  border-color:rgba(255,106,19,.30)!important;
}
body.rm-v13-designer-pilot h1,
body.rm-v13-designer-pilot h2,
body.rm-v13-designer-pilot h3,
body.rm-v13-designer-pilot .card-head{
  color:var(--nowa-text)!important;
  font-family:var(--nowa-font-heading)!important;
}
body.rm-v13-designer-pilot .muted,
body.rm-v13-designer-pilot p,
body.rm-v13-designer-pilot small{
  color:var(--nowa-muted)!important;
}
body.rm-v13-designer-pilot .stat [class*="icon"],
body.rm-v13-designer-pilot .card [class*="icon"]{
  background:rgba(255,106,19,.12)!important;
  color:var(--nowa-orange-hi)!important;
  border-color:rgba(255,106,19,.22)!important;
}
body.rm-v13-designer-pilot table,
body.rm-v13-designer-pilot .rm-designer-project-table-v1h{
  background:transparent!important;
  color:var(--nowa-text)!important;
}
body.rm-v13-designer-pilot thead,
body.rm-v13-designer-pilot thead tr{
  background:var(--nowa-raised)!important;
  background-image:none!important;
}
body.rm-v13-designer-pilot th{
  color:#D6DEE3!important;
  border-color:var(--nowa-border-soft)!important;
}
body.rm-v13-designer-pilot td{
  color:#D5DDE2!important;
  border-color:var(--nowa-border-soft)!important;
}
body.rm-v13-designer-pilot tbody tr:hover{background:rgba(255,106,19,.055)!important;}
body.rm-v13-designer-pilot .badge,
body.rm-v13-designer-pilot .assign-badge,
body.rm-v13-designer-pilot .days-badge{
  background:rgba(255,106,19,.12)!important;
  color:var(--nowa-orange-hi)!important;
  border-color:rgba(255,106,19,.22)!important;
}
body.rm-v13-designer-pilot .badge.success,
body.rm-v13-designer-pilot .badge.completed{
  background:rgba(65,207,138,.12)!important;
  color:var(--nowa-success)!important;
  border-color:rgba(65,207,138,.26)!important;
}
body.rm-v13-designer-pilot .badge.warning,
body.rm-v13-designer-pilot .days-badge{
  background:rgba(238,179,66,.13)!important;
  color:var(--nowa-warning)!important;
  border-color:rgba(238,179,66,.28)!important;
}
body.rm-v13-designer-pilot .btn,
body.rm-v13-designer-pilot a.btn{
  background:var(--nowa-raised)!important;
  background-image:none!important;
  color:var(--nowa-text)!important;
  border-color:var(--nowa-border)!important;
}
body.rm-v13-designer-pilot .btn-primary{
  background:linear-gradient(135deg,var(--nowa-orange-hi),var(--nowa-orange),var(--nowa-orange-deep))!important;
  color:#17100B!important;
  border-color:rgba(255,138,66,.58)!important;
}

/* ---------- NOWA introduction closed state safety ---------- */
#rm-nowa-intro-overlay-v1[hidden],
#rm-nowa-intro-overlay-v1:not(.is-open){
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  inset:auto!important;
  width:0!important;
  height:0!important;
  overflow:hidden!important;
}
#rm-nowa-intro-overlay-v1[hidden] *,
#rm-nowa-intro-overlay-v1:not(.is-open) *{
  display:none!important;
  visibility:hidden!important;
}
#rm-nowa-intro-overlay-v1.is-open:not([hidden]){
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  overflow:auto!important;
}

/* ---------- Login pixel motion ---------- */
.nowa-login-pixel-field-v1{
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
  opacity:.58;
}
.nowa-login-pixel-field-v1 span{
  position:absolute;
  display:block;
  width:var(--px-size,6px);
  height:var(--px-size,6px);
  left:var(--px-left,10%);
  top:var(--px-top,20%);
  background:var(--px-color,rgba(255,106,19,.34));
  border-radius:1px;
  box-shadow:0 0 18px rgba(255,106,19,.12);
  animation:nowa-pixel-drift-v1 var(--px-duration,18s) ease-in-out var(--px-delay,0s) infinite alternate;
}
.nowa-login-pixel-field-v1 span:nth-child(3n){background:rgba(165,176,184,.16);box-shadow:none;}
.nowa-login-pixel-field-v1 span:nth-child(5n){background:rgba(255,138,66,.24);}
body.nowa-login-premium-page-v1 .nowa-login-shell-v1,
body.nowa-login-premium-page-v1 .login-clean-shell{
  position:relative!important;
  z-index:2!important;
}
@keyframes nowa-pixel-drift-v1{
  0%{transform:translate3d(0,14px,0) rotate(0deg);opacity:.18;}
  50%{transform:translate3d(9px,-8px,0) rotate(18deg);opacity:.68;}
  100%{transform:translate3d(-6px,-28px,0) rotate(38deg);opacity:.28;}
}

/* ---------- Scrollbars ---------- */
body.rm-global-sidebar-v7 *{scrollbar-color:#3B4851 #12191F;}
body.rm-global-sidebar-v7 *::-webkit-scrollbar{width:9px;height:9px;}
body.rm-global-sidebar-v7 *::-webkit-scrollbar-track{background:#12191F;}
body.rm-global-sidebar-v7 *::-webkit-scrollbar-thumb{
  background:#3B4851;
  border:2px solid #12191F;
  border-radius:999px;
}
body.rm-global-sidebar-v7 *::-webkit-scrollbar-thumb:hover{background:#53616B;}

@media(max-width:1050px){
  html body aside.sidebar#sidebar .brand,
  html body .sidebar#sidebar .brand{
    min-height:122px!important;
    padding:13px 8px 12px!important;
  }
  html body aside.sidebar#sidebar .brand>img.sidebar-main-logo,
  html body .sidebar#sidebar .brand>img.sidebar-main-logo{
    width:66px!important;
    max-width:66px!important;
    min-width:66px!important;
    height:61px!important;
    max-height:61px!important;
    min-height:61px!important;
  }
  .nowa-sidebar-stacked-copy-v1 strong{font-size:18px!important;}
  .nowa-sidebar-stacked-copy-v1 span{font-size:7.5px!important;}
}
@media(max-width:720px){
  .nowa-login-pixel-field-v1{opacity:.34;}
  .nowa-login-pixel-field-v1 span:nth-child(n+11){display:none;}
  body .rm-global-header-v16{
    background:rgba(20,28,34,.98)!important;
    border-radius:0!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .nowa-login-pixel-field-v1 span{animation:none!important;}
  html body aside.sidebar#sidebar nav.menu>a,
  html body .sidebar#sidebar nav.menu>a{transition:none!important;}
}
