/* RATING WORKSPACE 10.0 — BUILD 100 WORKSPACE REBORN */
/* Consolidated visual runtime: one global CSS file. */

/* ===== CONSOLIDATED SOURCE: workspace-v0201.css ===== */

/* RATING WORKSPACE 5.0 - BUILD 018 CONSOLIDATED CORE */
/* Generated from the application's verified source assets. */

/* ===== SOURCE: styles-v351.css ===== */

:root{--bg:#0a0a0b;--panel:#151517;--panel2:#1d1d20;--line:#2d2d31;--gold:#c9a34a;--gold2:#e1c06d;--text:#f4f4f4;--muted:#aaaab2;--danger:#b94a48;--ok:#3f8f5f}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);display:flex;min-height:100vh}button,input,select,textarea{font:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#101012;border-right:1px solid var(--line);padding:22px 15px;display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 24px}.logo{width:44px;height:44px;border:1px solid var(--gold);display:grid;place-items:center;color:var(--gold);font-size:24px;font-weight:800}.brand strong{display:block;letter-spacing:3px}.brand span{font-size:12px;color:var(--muted)}nav{display:grid;gap:5px}.nav-item{background:none;border:0;color:var(--muted);text-align:left;padding:10px 12px;border-radius:8px;cursor:pointer}.nav-item:hover,.nav-item.active{background:var(--panel2);color:var(--gold2)}.sidebar-footer{margin-top:auto;display:grid;gap:7px;padding:10px}.sidebar-footer a{color:var(--gold2)}.main{margin-left:250px;width:calc(100% - 250px);padding:26px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.topbar h1{margin:0 0 5px}.topbar p{margin:0;color:var(--muted)}.top-actions{display:flex;gap:10px}.btn{border:1px solid var(--line);background:var(--panel2);color:var(--text);padding:10px 14px;border-radius:8px;cursor:pointer}.btn.primary{background:var(--gold);border-color:var(--gold);color:#111;font-weight:700}.btn.ghost{background:transparent}.btn.danger{background:#3a1d1d;color:#ffcaca}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.kpi,.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px}.kpi span{display:block;color:var(--muted);font-size:13px}.kpi strong{display:block;margin-top:8px;font-size:27px;color:var(--gold2)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel.wide{grid-column:1/-1}.panel-head{display:flex;justify-content:space-between;align-items:center}.toolbar{display:flex;gap:10px;margin-bottom:14px}.toolbar input,.toolbar select{background:var(--panel);color:var(--text);border:1px solid var(--line);padding:10px;border-radius:8px}.toolbar input{flex:1}.table-panel{padding:0;overflow:auto}table{width:100%;border-collapse:collapse;min-width:900px}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line)}th{color:var(--gold2);font-size:12px;text-transform:uppercase}.tag{display:inline-flex;padding:4px 8px;border-radius:999px;background:#27272c;font-size:12px}.list{display:grid;gap:9px}.list-item{display:flex;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--line);border-radius:8px;background:#111113}.list-item small{display:block;color:var(--muted);margin-top:3px}.row-actions{display:flex;gap:7px}.row-btn{background:none;border:0;color:var(--gold2);cursor:pointer}.modal{width:min(820px,94vw);border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);padding:0}.modal::backdrop{background:#000b}.modal form{padding:22px}.modal-head,.modal-actions{display:flex;justify-content:space-between;align-items:center}.icon-btn{background:none;border:0;color:var(--muted);font-size:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.form-grid label{display:grid;gap:6px;color:var(--muted);font-size:13px}.form-grid input,.form-grid select,.form-grid textarea{background:#0e0e10;color:var(--text);border:1px solid var(--line);border-radius:7px;padding:10px}.span-2{grid-column:1/-1}.modal-actions{justify-content:flex-end;gap:10px}.auth-body{display:grid;place-items:center;min-height:100vh}.auth-card{width:min(420px,92vw);background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:28px;display:grid;gap:14px}.auth-card label{display:grid;gap:7px}.auth-card input{background:#0e0e10;color:var(--text);border:1px solid var(--line);border-radius:7px;padding:10px}.auth-card .logo{margin:auto}.auth-card h1,.auth-card p{text-align:center}.error{color:#ff9a9a}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.day{min-height:100px;border:1px solid var(--line);border-radius:8px;padding:7px;background:#111113}.day strong{display:block;color:var(--gold2)}.event{font-size:11px;margin-top:5px;padding:4px;background:#25252a;border-radius:5px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.card{background:#111113;border:1px solid var(--line);border-radius:9px;padding:13px}.card h3{margin-top:0}.muted{color:var(--muted)}@media(max-width:900px){.sidebar{display:none}.main{margin-left:0;width:100%;padding:15px}.kpi-grid,.grid,.cards,.form-grid{grid-template-columns:1fr}.panel.wide,.span-2{grid-column:auto}}@media print{.sidebar,.topbar .top-actions,.toolbar,.row-actions{display:none}.main{margin:0;width:100%}}


/* Rating 3.2 – stalna navigacija */
.enhanced-topbar{position:sticky;top:0;z-index:30;background:rgba(10,10,11,.92);backdrop-filter:blur(14px);padding:14px 0;border-bottom:1px solid rgba(201,163,74,.16)}
.topbar-left{display:flex;align-items:center;gap:13px}.home-btn{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;border:1px solid #665329;background:linear-gradient(145deg,#252117,#151515);color:var(--gold2);font-size:24px;text-decoration:none;transition:.18s}.home-btn:hover{transform:translateY(-1px);border-color:var(--gold);box-shadow:0 8px 28px rgba(201,163,74,.13)}
.quick-wrap{position:relative}.quick-menu{position:absolute;right:0;top:48px;width:210px;padding:8px;background:#171719;border:1px solid var(--line);border-radius:11px;box-shadow:0 20px 55px #000b;display:none;z-index:80}.quick-menu.show{display:grid}.quick-menu a{color:var(--text);text-decoration:none;padding:10px 11px;border-radius:7px;font-size:13px}.quick-menu a:hover{background:#28251d;color:var(--gold2)}
.top-onedrive{text-decoration:none}.nav-item:first-child::before{content:'⌂';display:inline-block;width:22px;color:var(--gold2)}
@media(max-width:720px){.top-actions .top-onedrive,.top-actions>.btn.ghost{display:none}.enhanced-topbar{align-items:flex-start}.top-actions{gap:6px}.quick-menu{right:0}.home-btn{flex:0 0 auto}}
.project-browser-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 160px 180px auto;gap:12px;align-items:center;margin-bottom:24px}.project-browser-toolbar input,.project-browser-toolbar select{width:100%;min-height:42px;border:1px solid #343434;border-radius:8px;background:#141414;color:#f4f4f4;padding:0 12px}.project-year-section{margin-bottom:32px}.project-year-head{border-bottom:1px solid #2d281d;padding-bottom:10px;margin-bottom:16px}.project-year-head h2{font-size:26px;margin:0;color:#e0b84f}.project-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:16px}.project-browser-card{display:flex;flex-direction:column;min-height:245px;padding:20px;border:1px solid #2d2d2d;border-radius:14px;background:#121212}.project-card-top,.project-card-meta,.project-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-number{font-weight:800;color:#e0b84f}.project-status{font-size:12px;border:1px solid #444;border-radius:999px;padding:5px 9px}.project-browser-card h3{font-size:20px;margin:22px 0 8px}.project-card-meta{margin-top:auto;padding-top:22px;color:#aaa;font-size:13px}.project-card-actions{justify-content:flex-start;margin-top:15px}.project-card-actions .btn{display:inline-flex;text-decoration:none;min-height:38px;align-items:center}@media(max-width:850px){.project-browser-toolbar{grid-template-columns:1fr 1fr}}@media(max-width:560px){.project-browser-toolbar,.project-card-grid{grid-template-columns:1fr}}

/* Rating Business Suite 3.5 Professional */
.project-pro-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.pro-kpi{position:relative;overflow:hidden;background:linear-gradient(145deg,#171719,#111113);border:1px solid var(--line);border-radius:14px;padding:17px 18px}.pro-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--gold)}.pro-kpi.warn:before{background:#d66a55}.pro-kpi span,.pro-kpi small{display:block;color:var(--muted);font-size:12px}.pro-kpi strong{display:block;color:var(--gold2);font-size:23px;margin:7px 0 4px}.professional-toolbar{grid-template-columns:minmax(280px,1fr) 145px 165px 155px auto;background:#111113;border:1px solid var(--line);border-radius:14px;padding:12px}.project-search-wrap{position:relative}.project-search-wrap span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--gold2);font-size:18px}.project-search-wrap input{padding-left:37px!important}.project-year-head{display:flex;align-items:center;justify-content:space-between}.project-year-head span{color:var(--muted);font-size:13px}.year-collapse{border:0;background:transparent;color:var(--gold2);font-size:22px;cursor:pointer}.project-card-grid.collapsed{display:none}.professional-card{position:relative;overflow:hidden;min-height:390px;padding:21px;background:linear-gradient(155deg,#171719 0%,#101012 75%);transition:transform .18s,border-color .18s,box-shadow .18s}.professional-card:hover{transform:translateY(-3px);border-color:#5b4a27;box-shadow:0 18px 42px #0007}.project-card-accent{position:absolute;inset:0 auto 0 0;width:3px;background:#6d83c5}.professional-card[data-health="active"] .project-card-accent{background:#4aa36c}.professional-card[data-health="waiting"] .project-card-accent{background:#d29d43}.professional-card[data-health="late"] .project-card-accent{background:#d65d55}.professional-card[data-health="done"] .project-card-accent{background:#757980}.professional-card h3{margin:18px 0 7px}.professional-card h3 a{color:var(--text);text-decoration:none}.professional-card h3 a:hover{color:var(--gold2)}.project-client{color:#ddd;font-size:14px}.project-location{color:var(--muted);font-size:13px;margin-top:6px}.project-status{border:0;font-weight:700}.status-active{background:#173523;color:#86d89e}.status-waiting{background:#3c2c13;color:#f1c66d}.status-late{background:#421d1b;color:#ffaaa4}.status-done{background:#292b2e;color:#c8cbd0}.status-planning{background:#1c2941;color:#9ebcf1}.project-progress-head{display:flex;justify-content:space-between;margin-top:24px;color:var(--muted);font-size:12px}.project-progress,.payment-progress{height:7px;background:#29292d;border-radius:999px;overflow:hidden;margin-top:8px}.project-progress i{display:block;height:100%;background:linear-gradient(90deg,#9b7730,var(--gold2));border-radius:inherit}.project-card-info{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px;margin-top:13px;min-height:18px}.deadline-late{color:#ff9992}.project-finance{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:21px;padding-top:16px;border-top:1px solid var(--line)}.project-finance div:last-child{text-align:right}.project-finance small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.project-finance strong{font-size:14px}.payment-progress{height:4px}.payment-progress i{display:block;height:100%;background:#4aa36c}.professional-card .project-card-actions{margin-top:auto;padding-top:22px}.professional-card .project-card-actions .btn{flex:1;justify-content:center}.empty-projects{text-align:center;padding:45px}.empty-projects h3{color:var(--gold2)}
@media(max-width:1200px){.project-pro-summary{grid-template-columns:repeat(2,1fr)}.professional-toolbar{grid-template-columns:1fr 1fr 1fr}.professional-toolbar .project-search-wrap{grid-column:1/-1}.professional-toolbar #addProject{justify-self:stretch}}
@media(max-width:680px){.project-pro-summary,.professional-toolbar{grid-template-columns:1fr}.professional-toolbar .project-search-wrap{grid-column:auto}.project-card-info,.project-finance{grid-template-columns:1fr}.project-finance div:last-child{text-align:left}.project-card-actions{flex-direction:column}.professional-card{min-height:auto}}

/* Rating Business Suite 3.5.1 – Projektni center */
.project-center-toolbar{grid-template-columns:minmax(260px,1fr) 125px 150px 145px 145px auto auto}.view-switch{display:flex;padding:3px;border:1px solid var(--line);border-radius:9px;background:#0d0d0f}.view-switch button{border:0;background:transparent;color:var(--muted);padding:8px 11px;border-radius:6px;cursor:pointer}.view-switch button.active{background:#29251b;color:var(--gold2)}.kpi-filter{font:inherit;text-align:left;color:inherit;cursor:pointer;width:100%}.kpi-filter:hover{border-color:#5b4a27}.kanban-board{display:grid;grid-template-columns:repeat(5,minmax(270px,1fr));gap:14px;overflow-x:auto;padding-bottom:12px}.kanban-lane{min-width:270px;background:#0d0d0f;border:1px solid var(--line);border-radius:14px;padding:11px}.kanban-lane>header{display:flex;align-items:center;justify-content:space-between;padding:5px 5px 12px}.kanban-lane h2{margin:0;font-size:14px;color:var(--gold2)}.kanban-lane header span{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:#26262a;color:var(--muted);font-size:12px}.kanban-items{display:grid;gap:10px}.kanban-card{min-height:315px;padding:16px}.kanban-card h3{font-size:16px;margin-top:14px}.kanban-card .project-card-actions{flex-direction:column}.kanban-card .project-card-actions .btn{width:100%}.kanban-empty{color:var(--muted);font-size:13px;text-align:center;padding:28px 8px}.kanban-lane[data-lane="late"]{border-color:#522622}.kanban-lane[data-lane="active"]{border-color:#21452d}@media(max-width:1300px){.project-center-toolbar{grid-template-columns:1fr 1fr 1fr}.project-center-toolbar .project-search-wrap{grid-column:1/-1}.project-center-toolbar #addProject{width:100%}}@media(max-width:720px){.project-center-toolbar{grid-template-columns:1fr}.project-center-toolbar .project-search-wrap{grid-column:auto}.view-switch{width:100%}.view-switch button{flex:1}}


/* ===== SOURCE: platform-core-v006.css ===== */

/* Rating Business Suite 3.7 — Build 006 Platform Core
   Single source of truth for shell and reusable UI components. */
:root{
  --ui-bg:#090c0f;
  --ui-sidebar:#0c1014;
  --ui-surface:#141a1f;
  --ui-surface-2:#181f25;
  --ui-surface-3:#20272e;
  --ui-border:#29323a;
  --ui-border-strong:#3b4650;
  --ui-text:#f4f5f6;
  --ui-muted:#98a2ab;
  --ui-gold:#dfb348;
  --ui-gold-soft:#f0c963;
  --ui-green:#52c77a;
  --ui-red:#f05d5d;
  --ui-orange:#e3a744;
  --ui-blue:#78a7ea;
  --ui-radius-sm:8px;
  --ui-radius:12px;
  --ui-radius-lg:16px;
  --ui-shadow:0 14px 34px rgba(0,0,0,.22);
  --ui-font:Inter,Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --rbs-sidebar-width:232px;
  --rbs-topbar-height:72px;
  --rbs-content-max:1540px;
}
*{box-sizing:border-box}
html,body{background:var(--ui-bg)!important;color:var(--ui-text)!important;font-family:var(--ui-font)!important}
body.rating-shell .workspace{margin-left:var(--rbs-sidebar-width)!important;background:var(--ui-bg)!important}
body.rating-shell .sidebar.rbs-sidebar{
  width:var(--rbs-sidebar-width)!important;
  min-width:var(--rbs-sidebar-width)!important;
  max-width:var(--rbs-sidebar-width)!important;
  background:linear-gradient(180deg,#0d1216,#090d11)!important;
  border-right:1px solid #20272e!important;
}
body.rating-shell .rbs-nav .nav-item{
  height:40px!important;min-height:40px!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  padding:0 11px!important;gap:11px!important;
  border-radius:9px!important;font-size:11.5px!important;
}
body.rating-shell .rbs-nav .nav-item.active{
  background:rgba(223,179,72,.10)!important;
  border-color:rgba(223,179,72,.32)!important;
  box-shadow:inset 2px 0 var(--ui-gold)!important;
  color:var(--ui-gold-soft)!important;
}
body.rating-shell .topbar.rbs-topbar{
  height:var(--rbs-topbar-height)!important;min-height:var(--rbs-topbar-height)!important;
  padding:0 28px!important;
  grid-template-columns:minmax(210px,1fr) minmax(300px,520px) auto!important;
  background:rgba(10,14,18,.98)!important;border-bottom:1px solid #20272e!important;
}
body.rating-shell .rbs-page,
body.rating-shell .module-main,
body.rating-shell .project-main,
body.rating-shell .od-page{
  width:min(100%,var(--rbs-content-max))!important;
  max-width:var(--rbs-content-max)!important;
  margin:0 auto!important;padding:30px 38px 96px!important;
  background:var(--ui-bg)!important;
}
.rbs-topbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;white-space:nowrap}
.rbs-icon-button,.rbs-action,.ui-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:38px;border:1px solid var(--ui-border);border-radius:9px;
  background:#11171c;color:var(--ui-text);font:700 12px/1 var(--ui-font);
  text-decoration:none;cursor:pointer;transition:border-color .16s,background .16s,transform .16s;
}
.rbs-icon-button{width:38px;min-width:38px;padding:0}
.rbs-cloud-button{width:auto!important;padding:0 10px!important}
.rbs-icon-button:hover,.rbs-action:hover,.ui-button:hover{border-color:#665329;background:#171d22;transform:translateY(-1px)}
.rbs-action-gold,.ui-button--primary{background:linear-gradient(180deg,#edc35b,#d9aa3c)!important;color:#13100a!important;border-color:#efcb70!important}
.ui-button{padding:0 14px}
.ui-button--secondary{background:#151b20}
.ui-button--ghost{background:transparent}
.ui-button--danger{background:rgba(240,93,93,.1);border-color:rgba(240,93,93,.35);color:#ff9c9c}
.build-pill{height:32px;display:flex;align-items:center;padding:0 10px;border:1px solid rgba(223,179,72,.36);border-radius:8px;color:var(--ui-gold-soft);font-size:10.5px;font-weight:800}
.rbs-profile{display:flex;align-items:center;gap:8px;margin-left:2px}.rbs-profile>span,.rbs-user-avatar{background:linear-gradient(145deg,#f0c75e,#b78327)!important;color:#181208!important}
.rbs-topbar-search{height:38px!important;border-radius:9px!important;background:#10161b!important;border:1px solid var(--ui-border)!important}
.rbs-topbar-search input{font-family:var(--ui-font)!important}

/* Generic UI Kit */
.ui-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 22px}
.ui-page-header h1{margin:3px 0 0;font-size:28px;line-height:1.12;letter-spacing:-.025em}
.ui-page-header p{margin:7px 0 0;color:var(--ui-muted);font-size:13px}
.ui-page-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.ui-eyebrow{display:block;color:var(--ui-gold);font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.ui-card,.panel,.dpc-card,.od-card,.card{
  background:linear-gradient(150deg,var(--ui-surface-2),var(--ui-surface))!important;
  border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius-lg)!important;
  box-shadow:none!important;color:var(--ui-text)!important;
}
.ui-card{padding:20px}
.ui-card__header,.panel>header,.dpc-card>.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.ui-card__header h2,.panel h2,.dpc-card h2{margin:4px 0 0;font-size:16px;line-height:1.25}
.ui-stats,.kpis,.project-pro-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ui-stat,.kpis>article,.pro-kpi{
  min-height:92px;padding:16px;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;
  background:linear-gradient(145deg,#171e23,#12171c)!important;display:flex;align-items:center;gap:13px;
}
.ui-stat__icon,.kpis .icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(223,179,72,.12);color:var(--ui-gold)}
.ui-stat small,.kpis small,.pro-kpi span{color:var(--ui-muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.ui-stat strong,.kpis strong,.pro-kpi strong{display:block;margin-top:4px;font-size:24px;color:var(--ui-text)}
.ui-stat em{display:block;margin-top:4px;color:var(--ui-muted);font-size:10px;font-style:normal}
.ui-stat--success strong{color:var(--ui-green)}.ui-stat--danger strong{color:var(--ui-red)}.ui-stat--warning strong{color:var(--ui-orange)}
.ui-badge{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:0 8px;border-radius:999px;border:1px solid var(--ui-border);background:#11171c;color:#c4cbd1;font-size:11px;font-weight:700}
.ui-badge .rbs-icon{width:13px;height:13px;color:var(--ui-gold)}
.ui-badge--success{background:rgba(82,199,122,.1);border-color:rgba(82,199,122,.3);color:#8fe3a9}
.ui-badge--warning{background:rgba(227,167,68,.1);border-color:rgba(227,167,68,.3);color:#f1c777}
.ui-badge--danger{background:rgba(240,93,93,.1);border-color:rgba(240,93,93,.3);color:#ff9b9b}
.ui-empty,.empty{min-height:110px;display:grid;place-items:center;align-content:center;text-align:center;border:1px dashed #38434c;border-radius:12px;color:var(--ui-muted);padding:20px}
.ui-empty>span .rbs-icon{width:28px;height:28px}.ui-empty p{margin:5px 0 0;font-size:12px}

/* Forms, tables and tabs */
input,select,textarea,.toolbar input,.toolbar select,.professional-toolbar input,.professional-toolbar select{
  border:1px solid var(--ui-border)!important;background:#0f151a!important;color:var(--ui-text)!important;border-radius:9px!important;font-family:var(--ui-font)!important;
}
input:focus,select:focus,textarea:focus{outline:0!important;border-color:rgba(223,179,72,.7)!important;box-shadow:0 0 0 3px rgba(223,179,72,.09)!important}
table{width:100%;border-collapse:collapse}th{color:var(--ui-muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}th,td{padding:12px;border-bottom:1px solid var(--ui-border)}
.tabs,.dpc-tabs{background:#0f151a!important;border:1px solid var(--ui-border)!important;border-radius:11px!important;padding:4px!important}
.tabs button,.dpc-tabs button{border-radius:8px!important;color:var(--ui-muted)!important}.tabs button.active,.dpc-tabs button.active{background:rgba(223,179,72,.13)!important;color:var(--ui-gold-soft)!important}

/* Project center and project dossier */
.project-card-grid{gap:14px!important}
.project-browser-card{
  position:relative;cursor:pointer!important;background:linear-gradient(155deg,#171e23,#11161b)!important;
  border-color:var(--ui-border)!important;border-radius:15px!important;transition:transform .16s,border-color .16s,box-shadow .16s!important;
}
.project-browser-card:hover,.project-browser-card:focus-visible{transform:translateY(-3px)!important;border-color:rgba(223,179,72,.46)!important;box-shadow:var(--ui-shadow)!important;outline:0}
.project-browser-card .project-open-hint{color:var(--ui-gold);font-weight:800;font-size:11px}
.project-mini-badge{background:#0e1419!important;border:1px solid var(--ui-border)!important;color:#c9d0d5!important}
.project-last-activity{color:var(--ui-muted)!important}
.dpc-shell{max-width:none!important}
.dpc-hero,.dpc-card{border-color:var(--ui-border)!important;background:linear-gradient(155deg,#171e23,#11161b)!important}
.dpc-tab{animation:uiFade .16s ease}
@keyframes uiFade{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}

/* OneDrive settings */
.od-page{display:flex;justify-content:center}.od-card{width:min(720px,100%);padding:25px!important}.od-btn{border-radius:9px!important}

/* Mobile platform */
.mobile-action-bar{display:none}
@media(max-width:1100px){
  body.rating-shell .topbar.rbs-topbar{grid-template-columns:minmax(190px,1fr) minmax(240px,390px) auto!important}
  .build-pill{display:none}
}
@media(max-width:900px){
  :root{--rbs-sidebar-width:272px;--rbs-topbar-height:64px}
  body.rating-shell .sidebar.rbs-sidebar{transform:translateX(-100%)!important;transition:transform .2s ease!important;z-index:300!important}
  body.rating-shell.mobile-menu-open .sidebar.rbs-sidebar,body.rating-shell .sidebar.rbs-sidebar.mobile-open{transform:none!important}
  body.rating-shell .workspace{margin-left:0!important}
  body.rating-shell .topbar.rbs-topbar{padding:0 11px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  .rbs-topbar-search{display:none!important}
  body.rating-shell .rbs-page,body.rating-shell .module-main,body.rating-shell .project-main,body.rating-shell .od-page{width:100%!important;padding:18px 13px 90px!important}
  .ui-page-header{align-items:flex-start;flex-direction:column}.ui-page-actions{width:100%;justify-content:flex-start}
  .ui-stats,.kpis,.project-pro-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mobile-action-bar{position:fixed;display:grid!important;grid-template-columns:repeat(4,1fr);left:0;right:0;bottom:0;z-index:210;background:rgba(11,15,19,.98);border-top:1px solid var(--ui-border);padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
  .mobile-action-bar a,.mobile-action-bar button{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:transparent;color:#aab2b9;text-decoration:none;font-size:10px}.mobile-action-bar .rbs-icon{width:18px;height:18px;color:var(--ui-gold)}
}
@media(max-width:620px){
  .ui-stats,.kpis,.project-pro-summary{grid-template-columns:1fr!important}
  .rbs-topbar-actions{gap:5px!important}.rbs-cloud-button span,.rbs-action span{display:none}.rbs-action{width:38px!important;padding:0!important}
  .project-card-grid{grid-template-columns:1fr!important}.professional-card{min-height:auto!important;padding:17px!important}
}

.project-card-top-actions{display:flex;align-items:center;gap:7px}
.project-more{width:29px;height:29px;border:1px solid var(--ui-border);border-radius:8px;background:#0f151a;color:var(--ui-muted);cursor:pointer;font-weight:900;line-height:1}
.project-more:hover{color:var(--ui-gold);border-color:rgba(223,179,72,.45)}
.project-context-menu{display:none;position:absolute;z-index:15;top:53px;right:18px;min-width:155px;padding:5px;background:#0d1216;border:1px solid var(--ui-border);border-radius:10px;box-shadow:var(--ui-shadow)}
.project-context-menu.show{display:grid}
.project-context-menu a{padding:9px 10px;border-radius:7px;color:#cbd1d6;text-decoration:none;font-size:11px;font-weight:700}
.project-context-menu a:hover{background:rgba(223,179,72,.1);color:var(--ui-gold-soft)}


/* Build 006 Fix 1 — OneDrive project document center alignment */
body.rating-shell #tab-onedrive,
body.rating-shell .onedrive-tab,
body.rating-shell .onedrive-manager,
body.rating-shell .od-manager{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}

body.rating-shell #tab-onedrive .od-layout,
body.rating-shell #tab-onedrive .onedrive-layout,
body.rating-shell .od-explorer,
body.rating-shell .onedrive-explorer{
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  align-items:start!important;
  gap:16px!important;
  width:100%!important;
  min-width:0!important;
}

body.rating-shell #odFolderTree,
body.rating-shell #tab-onedrive .od-tree,
body.rating-shell #tab-onedrive .od-sidebar,
body.rating-shell .onedrive-tree{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:14px!important;
  overflow:auto!important;
  background:linear-gradient(155deg,#171e23,#11161b)!important;
  border:1px solid var(--ui-border)!important;
  border-radius:var(--ui-radius)!important;
}

body.rating-shell #odFiles,
body.rating-shell #tab-onedrive .od-main,
body.rating-shell #tab-onedrive .od-content,
body.rating-shell .onedrive-content{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}

body.rating-shell #tab-onedrive .od-toolbar,
body.rating-shell #tab-onedrive .onedrive-toolbar,
body.rating-shell .od-toolbar{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:12px!important;
  background:linear-gradient(155deg,#171e23,#11161b)!important;
  border:1px solid var(--ui-border)!important;
  border-radius:var(--ui-radius)!important;
}

body.rating-shell #tab-onedrive #odDropZone,
body.rating-shell #tab-onedrive .od-drop-zone,
body.rating-shell .onedrive-drop-zone{
  width:100%!important;
  min-height:122px!important;
  margin:0 0 12px!important;
  padding:22px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  border:1px dashed #4a5660!important;
  border-radius:var(--ui-radius)!important;
  background:#0f151a!important;
  color:var(--ui-muted)!important;
}

body.rating-shell #odFiles{
  display:grid!important;
  gap:8px!important;
}

body.rating-shell #odFiles > *{
  min-width:0!important;
  max-width:100%!important;
}

@media(max-width:900px){
  body.rating-shell #tab-onedrive .od-layout,
  body.rating-shell #tab-onedrive .onedrive-layout,
  body.rating-shell .od-explorer,
  body.rating-shell .onedrive-explorer{
    grid-template-columns:1fr!important;
  }

  body.rating-shell #odFolderTree,
  body.rating-shell #tab-onedrive .od-tree,
  body.rating-shell .onedrive-tree{
    max-height:220px!important;
  }

  body.rating-shell #tab-onedrive .od-toolbar,
  body.rating-shell #tab-onedrive .onedrive-toolbar,
  body.rating-shell .od-toolbar{
    align-items:stretch!important;
  }

  body.rating-shell #tab-onedrive .od-toolbar > *,
  body.rating-shell #tab-onedrive .onedrive-toolbar > *{
    flex:1 1 150px!important;
  }
}

/* Build 006 Fix 2 */
body.rating-shell .project-main{max-width:var(--rbs-content-max)!important;width:min(100%,var(--rbs-content-max))!important}
body.rating-shell .project-main>.dpc-shell{width:100%!important;max-width:none!important}

/* Build 007.2A — approval state on project cards */
.project-approval-state{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;padding:9px 10px;border:1px solid var(--ui-border);border-radius:9px;background:#0f151a}
.project-approval-state small{display:block;color:var(--ui-muted);font-size:8.5px;text-transform:uppercase}.project-approval-state strong{display:block;margin-top:2px;font-size:10.5px}.project-approval-state>span{color:var(--ui-gold-soft);font-size:12px;font-weight:850}
.project-approval-state.approval-late{border-color:rgba(240,93,93,.38)}.project-approval-state.approval-late strong,.project-approval-state.approval-late>span{color:#ff9b9b}
.project-approval-state.approval-supplement{border-color:rgba(227,167,68,.38)}.project-approval-state.approval-supplement strong{color:#f1c777}
.project-approval-state.approval-done{border-color:rgba(82,199,122,.35)}.project-approval-state.approval-done strong,.project-approval-state.approval-done>span{color:#8fe3a9}
.project-approval-progress{height:4px;margin:5px 1px 0;border-radius:99px;background:#283139;overflow:hidden}.project-approval-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bc8e2e,#edc85f)}


/* Build 007.2B — Project Progress Engine */
.project-card-accent.health-healthy{background:var(--ui-green)!important}
.project-card-accent.health-watch{background:var(--ui-gold)!important}
.project-card-accent.health-high{background:var(--ui-orange)!important}
.project-card-accent.health-critical{background:var(--ui-red)!important}
.project-health{display:inline-flex;align-items:baseline;justify-content:center;gap:1px;min-width:48px;height:31px;padding:0 8px;border:1px solid var(--ui-border);border-radius:999px;background:#0f151a}
.project-health b{font-size:13px}.project-health small{font-size:8px}
.project-health-healthy{border-color:rgba(82,199,122,.35);color:#8fe3a9}
.project-health-watch{border-color:rgba(223,179,72,.38);color:var(--ui-gold-soft)}
.project-health-high{border-color:rgba(227,167,68,.42);color:#f1c777}
.project-health-critical{border-color:rgba(240,93,93,.42);color:#ff9b9b}
.project-phase-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.project-phase-row>span{color:#cad0d5;font-size:10.5px;font-weight:750}
.project-phase-row>b{padding:5px 7px;border:1px solid var(--ui-border);border-radius:999px;font-size:8.5px;text-transform:uppercase;letter-spacing:.05em}
.priority-healthy{color:#8fe3a9;border-color:rgba(82,199,122,.3)!important}
.priority-watch{color:var(--ui-gold-soft);border-color:rgba(223,179,72,.35)!important}
.priority-high{color:#f1c777;border-color:rgba(227,167,68,.4)!important}
.priority-critical{color:#ff9b9b;border-color:rgba(240,93,93,.4)!important}
.project-operational-state{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;padding:9px 10px;border:1px solid var(--ui-border);border-radius:9px;background:#0f151a}
.project-operational-state small{display:block;color:var(--ui-muted);font-size:8.5px;text-transform:uppercase}
.project-operational-state strong{display:block;margin-top:2px;font-size:10.5px}
.project-operational-state>span{color:var(--ui-gold-soft);font-size:12px;font-weight:850}
.operational-critical{border-color:rgba(240,93,93,.38)}.operational-critical strong,.operational-critical>span{color:#ff9b9b}
.operational-high{border-color:rgba(227,167,68,.38)}.operational-high strong{color:#f1c777}
.operational-watch{border-color:rgba(223,179,72,.35)}
.operational-healthy{border-color:rgba(82,199,122,.3)}.operational-healthy strong{color:#8fe3a9}
.project-next-step{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;margin-top:8px;padding:9px 10px;border:1px solid var(--ui-border);border-radius:9px;background:#11171c}
.project-next-step small{grid-column:1/-1;color:var(--ui-muted);font-size:8.5px;text-transform:uppercase}
.project-next-step strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px}
.project-next-step span{color:var(--ui-gold);font-size:9.5px}


/* Build 007.2D — Smart Tasks */
.smart-task-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:13px}
.smart-task-summary article{padding:15px;border:1px solid var(--ui-border);border-radius:12px;background:linear-gradient(145deg,#171e23,#11161b)}
.smart-task-summary small{display:block;color:var(--ui-muted);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.smart-task-summary strong{display:block;margin-top:4px;font-size:24px}.smart-task-summary span{display:block;margin-top:3px;color:var(--ui-muted);font-size:9px}
.smart-task-summary .danger{border-color:rgba(240,93,93,.38)}.smart-task-summary .danger strong{color:#ff9b9b}.smart-task-summary .warning{border-color:rgba(227,167,68,.38)}.smart-task-summary .warning strong{color:#f1c777}
.smart-task-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) repeat(4,minmax(120px,auto)) auto;gap:8px;margin-bottom:13px;padding:11px;border:1px solid var(--ui-border);border-radius:12px;background:#10161b}
.task-search{display:flex;align-items:center;gap:8px;min-height:39px;padding:0 10px;border:1px solid var(--ui-border);border-radius:9px;background:#0f151a}.task-search input{width:100%;border:0!important;background:transparent!important;box-shadow:none!important}
.smart-task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.smart-task-card{position:relative;min-height:330px;padding:16px;border:1px solid var(--ui-border);border-radius:14px;background:linear-gradient(150deg,#192126,#11171c);transition:transform .16s,border-color .16s}
.smart-task-card:hover{transform:translateY(-2px);border-color:rgba(223,179,72,.43)}.smart-task-card::before{content:"";position:absolute;left:-1px;top:16px;bottom:16px;width:3px;border-radius:4px;background:var(--ui-gold)}
.smart-task-card.task-active::before{background:var(--ui-blue)}.smart-task-card.task-waiting::before{background:var(--ui-orange)}.smart-task-card.task-done::before{background:var(--ui-green)}.smart-task-card.task-late::before{background:var(--ui-red)}
.smart-task-card-top{display:flex;align-items:center;justify-content:space-between}.task-priority{display:inline-flex;align-items:center;min-height:25px;padding:0 8px;border:1px solid var(--ui-border);border-radius:999px;font-size:9px;font-weight:850;text-transform:uppercase}.priority-nujno{color:#ff9b9b;border-color:rgba(240,93,93,.4)}.priority-visoka{color:#f1c777;border-color:rgba(227,167,68,.4)}.priority-srednja{color:var(--ui-gold-soft);border-color:rgba(223,179,72,.35)}.priority-nizka{color:#8fe3a9;border-color:rgba(82,199,122,.32)}
.task-more{width:29px;height:29px;border:1px solid var(--ui-border);border-radius:8px;background:#0f151a;color:var(--ui-muted);cursor:pointer;font-weight:900}
.smart-task-card>small{display:block;margin-top:13px;color:var(--ui-muted);font-size:8.5px;text-transform:uppercase;letter-spacing:.08em}.smart-task-card h3{margin:5px 0 7px;font-size:15px;line-height:1.3}.task-project-link{color:var(--ui-gold);font-size:10px;text-decoration:none}.task-approval{margin-top:8px;padding:7px 8px;border:1px solid var(--ui-border);border-radius:8px;background:#0f151a;color:#cbd1d6;font-size:9.5px}.smart-task-card>p{min-height:36px;margin:10px 0;color:var(--ui-muted);font-size:10.5px;line-height:1.45}
.task-facts{display:grid;grid-template-columns:1fr 1fr;gap:7px}.task-facts span{padding:8px;border:1px solid var(--ui-border);border-radius:8px;background:#0f151a}.task-facts small{display:block;color:var(--ui-muted);font-size:8px;text-transform:uppercase}.task-facts b{display:block;margin-top:3px;font-size:9.5px}
.task-deadline{margin-top:8px;padding:7px 8px;border-radius:8px;background:rgba(223,179,72,.08);color:var(--ui-gold-soft);font-size:9.5px;font-weight:800}.task-deadline.late{background:rgba(240,93,93,.09);color:#ff9b9b}
.task-status-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:11px}.task-status-flow button{min-height:30px;padding:0 3px;border:1px solid var(--ui-border);border-radius:7px;background:#0f151a;color:var(--ui-muted);font-size:8.5px;cursor:pointer}.task-status-flow button.active,.task-status-flow button:hover{border-color:rgba(223,179,72,.42);color:var(--ui-gold-soft);background:rgba(223,179,72,.08)}
.task-card-menu{display:none;position:absolute;z-index:20;right:15px;top:50px;min-width:115px;padding:5px;border:1px solid var(--ui-border);border-radius:9px;background:#0d1216;box-shadow:var(--ui-shadow)}.task-card-menu.open{display:grid}.task-card-menu button{min-height:32px;border:0;border-radius:6px;background:transparent;color:#cbd1d6;text-align:left;cursor:pointer}.task-card-menu button:hover{background:rgba(223,179,72,.1);color:var(--ui-gold-soft)}
.smart-task-editor{margin-top:15px;padding:20px;border:1px solid var(--ui-border);border-radius:15px;background:linear-gradient(150deg,#192126,#11171c)}.smart-task-editor[hidden]{display:none!important}.smart-task-form-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:13px}.smart-task-form-head small{color:var(--ui-gold);font-size:9px;font-weight:850;letter-spacing:.12em}.smart-task-form-head h2{margin:4px 0 0}.smart-task-form-head>button{width:32px;height:32px;border:1px solid var(--ui-border);border-radius:8px;background:#0f151a;color:var(--ui-text);cursor:pointer}
.smart-task-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.smart-task-form-grid label{display:grid;gap:6px;color:var(--ui-muted);font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}.smart-task-form-grid .wide{grid-column:1/-1}.smart-task-form-grid textarea{min-height:95px;resize:vertical}
.smart-task-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.smart-task-form-actions button{min-height:39px;padding:0 13px;border:1px solid var(--ui-border);border-radius:9px;background:#11171c;color:var(--ui-text);cursor:pointer}.smart-task-form-actions .primary{border-color:#efcb70;background:linear-gradient(#edc35b,#d9aa3c);color:#171108;font-weight:850}.smart-task-empty{grid-column:1/-1;text-align:center;padding:40px}
@media(max-width:1250px){.smart-task-toolbar{grid-template-columns:minmax(220px,1fr) repeat(2,minmax(120px,auto))}.smart-task-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.smart-task-summary{grid-template-columns:repeat(2,1fr)}.smart-task-toolbar{display:flex;flex-direction:column}.smart-task-board,.smart-task-form-grid{grid-template-columns:1fr}.smart-task-form-grid .wide{grid-column:auto}.task-status-flow{grid-template-columns:1fr 1fr}}

/* Build 008 Core */
.timeline-count{display:inline-flex;min-width:24px;height:22px;align-items:center;justify-content:center;margin-left:6px;padding:0 7px;border:1px solid rgba(223,179,72,.35);border-radius:999px;color:var(--ui-gold-soft);font-size:10px}.smart-task-summary,.smart-task-toolbar,.smart-task-board,.smart-task-editor{font-family:inherit}


/* ===== SOURCE: mobile-v371.css ===== */

/* Rating Business Suite 3.7 Repair 001
   Conservative mobile layer over the proven anthracite/gold 3.5.1 theme. */
:root{--mobile-bar-h:68px}
.shell-icon-btn{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:#171719;color:var(--gold2);font-size:21px;cursor:pointer}
.shell-controls{display:flex;align-items:center;gap:10px;margin-left:auto;margin-right:12px}.shell-search{position:relative}.shell-search input{width:min(330px,26vw);height:40px;padding:0 58px 0 13px;border:1px solid var(--line);border-radius:9px;background:#111113;color:var(--text)}.shell-search kbd{position:absolute;right:8px;top:9px;padding:3px 6px;border:1px solid #444;border-radius:5px;color:var(--muted);font-size:10px}.build-pill{padding:7px 10px;border:1px solid #514426;border-radius:999px;color:var(--gold2);font-size:11px;white-space:nowrap}.mobile-scrim,.mobile-action-bar{display:none}
@media(max-width:980px){.shell-controls{display:none}.topbar{gap:10px}.top-actions{margin-left:auto}.top-actions .top-onedrive,.top-actions>button[onclick*="print"]{display:none}}
@media(max-width:760px){body{padding-bottom:var(--mobile-bar-h)}.mobile-only,.shell-icon-btn{display:grid;place-items:center}.sidebar{display:flex;position:fixed;left:0;top:0;bottom:0;z-index:200;width:min(86vw,310px);transform:translateX(-105%);transition:transform .2s ease;box-shadow:20px 0 45px #0009}.sidebar.mobile-open{transform:translateX(0)}.mobile-scrim{display:block;position:fixed;inset:0;z-index:190;background:#0009;opacity:0;pointer-events:none;transition:opacity .2s}.mobile-scrim.show{opacity:1;pointer-events:auto}.main{margin-left:0!important;width:100%!important;padding:12px!important}.enhanced-topbar{padding:8px 0 12px}.topbar-left{min-width:0}.topbar-left h1{font-size:20px}.topbar-left p{display:none}.home-btn{display:none}.top-actions .quick-wrap{display:none}.top-actions #quickAdd{min-height:42px;padding:0 12px}.mobile-action-bar{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:180;grid-template-columns:repeat(4,1fr);height:var(--mobile-bar-h);background:#101012;border-top:1px solid #3b3425;box-shadow:0 -10px 30px #0008}.mobile-action-bar a,.mobile-action-bar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:#bdb8ac;text-decoration:none;font:inherit;font-size:11px}.mobile-action-bar b{color:var(--gold2);font-size:20px}.modal{width:calc(100vw - 20px);max-height:calc(100vh - 24px);overflow:auto}.form-grid,.kpi-grid,.grid,.cards,.project-pro-summary,.professional-toolbar,.project-card-grid{grid-template-columns:1fr!important}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}table{min-width:720px}.btn,button,input,select,textarea{min-height:42px}.project-browser-card,.professional-card{min-height:auto}.calendar{grid-template-columns:1fr}.day{min-height:auto}}


/* ===== SOURCE: rating-shell-v004.css ===== */


:root{--bg:#080b0e;--side:#0d1115;--top:#0b0f13;--surface:#12171c;--surface2:#171d23;--border:#293038;--soft:#20262d;--gold:#d8ad46;--gold2:#efc35a;--text:#f3f4f5;--muted:#929aa3;--danger:#ff5555;--success:#54ca7c;--sidew:212px;--toph:64px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)!important;color:var(--text)!important;font-family:Inter,Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}body{font-size:14px}.rbs-icon{width:18px;height:18px;display:block;flex:0 0 18px;color:currentColor}
.sidebar,.rbs-sidebar{position:fixed!important;inset:0 auto 0 0!important;width:var(--sidew)!important;display:flex!important;flex-direction:column!important;background:linear-gradient(180deg,#0d1115,#0a0e11)!important;border-right:1px solid var(--soft)!important;padding:0 12px 14px!important;z-index:60!important}
.brand,.rbs-brand{min-height:76px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:0 6px!important;border-bottom:1px solid var(--soft)!important;text-decoration:none!important}
.rbs-brandmark,.brandmark,.brand .logo{width:37px!important;height:37px!important;display:grid!important;place-items:center!important;border:1px solid var(--gold)!important;color:var(--gold)!important;font-family:Georgia,serif!important;font-size:21px!important;background:transparent!important}
.rbs-brandcopy{display:grid;line-height:1}.rbs-brandcopy strong,.brand strong{font-size:15px!important;letter-spacing:.18em!important;color:#fff!important}.rbs-brandcopy small,.brand span,.brand small{font-size:8px!important;letter-spacing:.17em!important;color:var(--muted)!important;margin-top:6px!important}
.rbs-nav,.sidebar nav{display:flex!important;flex-direction:column!important;gap:4px!important;overflow:auto!important;padding:14px 0!important}
.rbs-nav .nav-item,.sidebar nav>a,.sidebar nav>button,.nav-item{min-height:40px!important;width:100%!important;display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:0 12px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#bac0c6!important;text-decoration:none!important;font:600 12px/1 inherit!important;text-align:left!important;cursor:pointer!important}
.rbs-nav .nav-item:hover,.sidebar nav>a:hover,.sidebar nav>button:hover{background:#151a1f!important;color:#fff!important}.rbs-nav .nav-item.active,.sidebar nav>a.active,.sidebar nav>button.active{background:rgba(216,173,70,.1)!important;border-color:rgba(216,173,70,.28)!important;color:var(--gold2)!important;box-shadow:inset 2px 0 0 var(--gold)!important}.rbs-nav .rbs-icon{color:var(--gold)}
.sidebar-footer,.rbs-user,.side-user{margin-top:auto!important;min-height:64px!important;display:grid!important;grid-template-columns:34px 1fr 30px!important;align-items:center!important;gap:9px!important;padding:12px 6px 0!important;border-top:1px solid var(--soft)!important}.rbs-user-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold2),#96701f);color:#111;font-weight:800}.rbs-user-copy{display:grid}.rbs-user-copy strong{font-size:12px}.rbs-user-copy small{font-size:9px;color:var(--muted)}.rbs-logout{display:grid;place-items:center;color:var(--muted)}
.workspace,.rating-shell .main{margin-left:var(--sidew)!important;background:var(--bg)!important;min-height:100vh!important}
.topbar,.rbs-topbar{position:sticky!important;top:0!important;z-index:50!important;height:var(--toph)!important;min-height:var(--toph)!important;display:grid!important;grid-template-columns:minmax(210px,1fr) minmax(280px,420px) auto!important;align-items:center!important;gap:18px!important;padding:0 20px!important;background:rgba(10,14,18,.98)!important;border-bottom:1px solid var(--soft)!important;color:var(--text)!important}
.rbs-topbar-title{display:flex;align-items:center;gap:10px;min-width:0}.rbs-topbar-title>span{display:grid;min-width:0}.rbs-topbar-title strong{font-size:14px!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rbs-topbar-title small{font-size:9px!important;color:var(--muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.rbs-icon-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--border)!important;border-radius:7px!important;background:#11161b!important;color:var(--gold)!important;cursor:pointer}.rbs-topbar-search{height:36px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid var(--border);border-radius:7px;background:#10151a;position:relative}.rbs-topbar-search input{width:100%;border:0!important;outline:0;background:transparent!important;color:#e9ecef!important;font:500 11px inherit!important}.rbs-topbar-search kbd{border:1px solid #343b43;border-radius:5px;background:#1a2026;color:#8e969f;padding:3px 6px;font-size:9px}
.rbs-topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.build-pill{height:34px!important;display:flex!important;align-items:center!important;border:1px solid rgba(216,173,70,.45)!important;border-radius:7px!important;padding:0 12px!important;background:#11161a!important;color:var(--gold2)!important;font-size:10px!important;font-weight:700!important}.rbs-action{height:36px;display:flex;align-items:center;gap:7px;padding:0 12px;border-radius:7px;border:1px solid var(--border);text-decoration:none;font-size:11px;font-weight:700;cursor:pointer}.rbs-action-ghost{background:#11161b;color:#d8dce0}.rbs-action-gold{background:linear-gradient(135deg,#e1b94e,#bc8c27);border-color:#d6aa40;color:#111!important}.rbs-profile{display:flex;align-items:center;gap:8px}.rbs-profile>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#efc35a,#9c7220);color:#111;font-weight:800}.rbs-profile>div{display:grid}.rbs-profile strong{font-size:11px}.rbs-profile small{font-size:9px;color:var(--muted)}
#content,.workspace>main,.module-main{padding:24px 28px 42px!important;background:var(--bg)!important;min-height:calc(100vh - var(--toph))!important;max-width:none!important;margin:0!important}.hero{margin:0 0 16px!important}.hero h1{font-size:28px!important;color:#fff!important}.hero p{color:var(--gold)!important}.hero span{color:var(--muted)!important}
.panel,.card,.kpi,.pro-kpi,.project-card,.dpc-card,.toolbar,.table-panel,.finance-cards>div{background:linear-gradient(145deg,var(--surface),#10151a)!important;border:1px solid var(--border)!important;border-radius:10px!important;color:var(--text)!important;box-shadow:none!important}.panel h2,.card h2,.card h3,.project-card h3,.dpc-card h2{color:#f4f5f6!important}.panel small,.card small,.project-card small,.dpc-card small{color:var(--muted)!important}.kpis article,.kpi-grid .kpi{background:linear-gradient(145deg,#14191e,#11161a)!important;border:1px solid var(--border)!important;border-radius:9px!important;color:#fff!important}
input,select,textarea{background:#0f1418!important;border:1px solid #303842!important;color:#eef0f2!important;border-radius:7px!important}input:focus,select:focus,textarea:focus{border-color:var(--gold)!important;box-shadow:0 0 0 3px rgba(216,173,70,.1)!important;outline:0!important}table{color:#e7eaed!important}th{background:#151b20!important;color:#aeb5bc!important;border-color:var(--border)!important}td{border-color:var(--soft)!important}tbody tr:hover{background:#151a1f!important}.quick-menu{background:#14191e!important;border:1px solid var(--border)!important}.project-card{border-left:2px solid var(--gold)!important}.dpc-shell{background:var(--bg)!important;color:var(--text)!important}.dpc-hero,.dpc-actions,.dpc-tabs{background:#0d1216!important;border-color:var(--border)!important}.od-card{background:var(--surface)!important;border-color:var(--border)!important}
.mobile-only,.mobile-action-bar{display:none!important}
@media(max-width:1050px){.topbar,.rbs-topbar{grid-template-columns:1fr auto!important}.rbs-topbar-search{display:none!important}.rbs-profile>div,.rbs-action span{display:none}.build-pill{display:none!important}}
@media(max-width:760px){:root{--sidew:270px;--toph:58px}.mobile-only{display:grid!important}.desktop-only{display:none!important}.sidebar,.rbs-sidebar{transform:translateX(-100%);transition:transform .2s ease}.mobile-menu-open .sidebar,.mobile-menu-open .rbs-sidebar,.sidebar.mobile-open,.rbs-sidebar.mobile-open{transform:translateX(0)}.workspace,.rating-shell .main{margin-left:0!important}.topbar,.rbs-topbar{grid-template-columns:1fr auto!important;padding:0 10px!important}.rbs-topbar-actions .rbs-action-ghost{display:none!important}#content,.workspace>main,.module-main{padding:14px 12px 82px!important}.kpis,.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid,.cards,.project-card-grid,.dpc-grid.two{grid-template-columns:1fr!important}.mobile-action-bar{position:fixed;display:grid!important;grid-template-columns:repeat(4,1fr);left:0;right:0;bottom:0;z-index:80;height:64px;background:#0c1014;border-top:1px solid var(--border)}}

:root{--sidew:198px;--toph:62px}.rbs-icon{width:17px!important;height:17px!important;flex-basis:17px!important}.rbs-sidebar{padding-inline:9px!important}.rbs-brand{min-height:68px!important}.rbs-nav{gap:2px!important;padding-top:10px!important}.rbs-nav .nav-item{min-height:36px!important;padding-inline:10px!important;font-size:10.5px!important}.rbs-nav .nav-item .rbs-icon{color:#c8cdd2!important}.rbs-nav .nav-item.active .rbs-icon{color:var(--gold2)!important}.rbs-topbar{grid-template-columns:minmax(220px,1fr) minmax(320px,500px) auto!important;padding-inline:16px!important;gap:12px!important}.rbs-topbar-search{height:34px!important}.rbs-topbar-actions{gap:6px!important}.quick-wrap{position:relative}.quick-menu{display:none!important;position:absolute!important;right:0!important;top:42px!important;min-width:170px!important;padding:6px!important;z-index:1000!important;border-radius:8px!important}.quick-wrap.open .quick-menu,.quick-menu.open{display:grid!important}.quick-menu a{padding:8px!important;border-radius:6px!important;color:var(--text)!important;text-decoration:none!important;font-size:9px!important}.rbs-notification-button{position:relative}.rbs-notification-dot{position:absolute;right:7px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--danger);box-shadow:0 0 0 2px #11161b}.workspace>main{padding:16px 14px 32px!important}


/* ===== SOURCE: enterprise-ui-v011.css ===== */


/* ==========================================================================
   RATING BUSINESS SUITE 4.1 — BUILD 011 ENTERPRISE UI
   Global visual system for dashboard, modules, projects, forms and tables
   ========================================================================== */
:root{
  --ent-bg:#080c10;
  --ent-bg-2:#0c1217;
  --ent-surface:#11181e;
  --ent-surface-2:#151d23;
  --ent-surface-3:#1a232a;
  --ent-line:#27323a;
  --ent-line-soft:rgba(255,255,255,.055);
  --ent-text:#f3f5f7;
  --ent-muted:#8f9aa4;
  --ent-gold:#e2b647;
  --ent-gold-soft:rgba(226,182,71,.13);
  --ent-green:#35d071;
  --ent-green-soft:rgba(53,208,113,.13);
  --ent-yellow:#f1bd35;
  --ent-yellow-soft:rgba(241,189,53,.13);
  --ent-red:#ff5d57;
  --ent-red-soft:rgba(255,93,87,.13);
  --ent-blue:#38bdf8;
  --ent-blue-soft:rgba(56,189,248,.13);
  --ent-purple:#ad6cff;
  --ent-purple-soft:rgba(173,108,255,.13);
  --ent-radius-xs:6px;
  --ent-radius-sm:8px;
  --ent-radius-md:11px;
  --ent-radius-lg:15px;
  --ent-shadow:0 18px 50px rgba(0,0,0,.24);
  --ent-speed:.18s;
}
html{background:var(--ent-bg);color-scheme:dark}
body.rating-shell,
body.rbs-platform{
  background:
    radial-gradient(circle at 86% -12%,rgba(56,189,248,.045),transparent 32%),
    radial-gradient(circle at 15% 0,rgba(226,182,71,.04),transparent 28%),
    var(--ent-bg)!important;
  color:var(--ent-text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.enterprise-ui-ready *{scrollbar-width:thin;scrollbar-color:#34404a transparent}
body.enterprise-ui-ready *::-webkit-scrollbar{width:8px;height:8px}
body.enterprise-ui-ready *::-webkit-scrollbar-thumb{background:#34404a;border-radius:999px}
body.enterprise-ui-ready *::-webkit-scrollbar-track{background:transparent}

/* Shell */
.rbs-sidebar{
  border-right:1px solid var(--ent-line)!important;
  background:linear-gradient(180deg,#0c1217,#090e12)!important;
  box-shadow:16px 0 44px rgba(0,0,0,.14);
}
.rbs-brand{
  border-bottom:1px solid var(--ent-line-soft)!important;
}
.rbs-brandmark{
  border-color:var(--ent-gold)!important;
  background:linear-gradient(145deg,rgba(226,182,71,.1),transparent)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.rbs-brandcopy strong{letter-spacing:.17em!important}
.rbs-brandcopy small{color:#69747e!important;letter-spacing:.14em!important}
.rbs-nav .nav-item{
  position:relative;
  border:1px solid transparent!important;
  transition:background var(--ent-speed),border-color var(--ent-speed),color var(--ent-speed),transform var(--ent-speed);
}
.rbs-nav .nav-item:hover{
  background:#121a20!important;
  border-color:var(--ent-line-soft)!important;
  transform:translateX(2px);
}
.rbs-nav .nav-item.active{
  color:var(--ent-gold)!important;
  border-color:rgba(226,182,71,.36)!important;
  background:linear-gradient(90deg,rgba(226,182,71,.16),rgba(226,182,71,.045))!important;
  box-shadow:inset 3px 0 0 var(--ent-gold);
}
.rbs-nav .nav-item.active:after{
  content:"";
  position:absolute;
  right:10px;
  width:5px;height:5px;
  border-radius:50%;
  background:var(--ent-gold);
  box-shadow:0 0 10px rgba(226,182,71,.7);
}
.rbs-user{
  border-top:1px solid var(--ent-line-soft)!important;
  background:rgba(8,12,16,.7);
}
.rbs-user-avatar,.rbs-profile>span{
  background:linear-gradient(145deg,#f0c45b,#c99727)!important;
  color:#191207!important;
  box-shadow:0 5px 16px rgba(226,182,71,.18);
}
.rbs-topbar{
  border-bottom:1px solid var(--ent-line)!important;
  background:rgba(9,14,18,.91)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 8px 30px rgba(0,0,0,.14);
}
.rbs-topbar-title strong{font-weight:760!important;letter-spacing:-.01em}
.rbs-topbar-title small{color:var(--ent-muted)!important}
.rbs-topbar-search{
  border-color:var(--ent-line)!important;
  background:#0d1419!important;
  transition:border-color var(--ent-speed),box-shadow var(--ent-speed);
}
.rbs-topbar-search:focus-within{
  border-color:rgba(56,189,248,.5)!important;
  box-shadow:0 0 0 3px rgba(56,189,248,.08);
}
.rbs-topbar-search input{color:var(--ent-text)!important}
.rbs-topbar-search kbd{
  border-color:#34404a!important;
  background:#121a20!important;
  color:#75818b!important;
}
.build-pill{
  border-color:rgba(226,182,71,.32)!important;
  background:var(--ent-gold-soft)!important;
  color:var(--ent-gold)!important;
}
.rbs-icon-button,.rbs-cloud-button{
  border-color:var(--ent-line)!important;
  background:#11181e!important;
  transition:transform var(--ent-speed),border-color var(--ent-speed),background var(--ent-speed);
}
.rbs-icon-button:hover,.rbs-cloud-button:hover{
  transform:translateY(-1px);
  border-color:rgba(226,182,71,.38)!important;
  background:#182128!important;
}
.rbs-action-gold{
  background:linear-gradient(145deg,#ecc45b,#d7a833)!important;
  border-color:#f3d071!important;
  color:#181207!important;
  box-shadow:0 7px 18px rgba(226,182,71,.15);
}
.quick-menu{
  border:1px solid var(--ent-line)!important;
  background:#12191f!important;
  box-shadow:var(--ent-shadow)!important;
}
.quick-menu a:hover{background:#1b252c!important;color:var(--ent-gold)!important}

/* Universal content hierarchy */
.module-main,.project-main,.command-center-page{
  color:var(--ent-text);
}
.module-main>section,
.project-main .dpc-shell{
  width:min(100%,1600px);
  margin-inline:auto;
}
.module-header,.page-head,.section-head,.card-head,.dpc-card .card-head{
  gap:14px!important;
}
.module-header h1,.page-head h1,.dpc-hero h1,
.module-header h2,.page-head h2,.card-head h2{
  letter-spacing:-.025em;
  font-weight:760!important;
}
.module-header p,.page-head p,.card-head p,.muted{
  color:var(--ent-muted)!important;
}

/* Cards */
.card,.panel,.widget,.module-card,.dpc-card,.stat-card,.kpi-card,
.data-card,.summary-card,.enterprise-card,
.interactive-workspace,.smart-documents-center{
  border-color:var(--ent-line)!important;
  background:linear-gradient(145deg,var(--ent-surface-2),var(--ent-surface))!important;
  box-shadow:0 1px 0 rgba(255,255,255,.018);
}
.card:hover,.module-card:hover,.stat-card:hover,.kpi-card:hover,.data-card:hover{
  border-color:#35424c!important;
}
.enterprise-lift{
  transition:transform var(--ent-speed),border-color var(--ent-speed),box-shadow var(--ent-speed)!important;
}
.enterprise-lift:hover{
  transform:translateY(-2px);
  border-color:rgba(226,182,71,.34)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.18)!important;
}

/* Buttons and actions */
button,.btn,.button,.primary,.secondary,.ghost,
a.btn,a.button{
  font-family:inherit;
}
.btn,button.primary,.button.primary,.primary-btn{
  border-radius:var(--ent-radius-sm)!important;
  background:linear-gradient(145deg,#e8bc50,#d4a32f)!important;
  border-color:#f1ce70!important;
  color:#171106!important;
  font-weight:800!important;
}
.btn:hover,button.primary:hover,.button.primary:hover,.primary-btn:hover{
  filter:brightness(1.045);
  transform:translateY(-1px);
}
.btn.ghost,.ghost,.secondary,.secondary-btn{
  border-color:var(--ent-line)!important;
  background:#141c22!important;
  color:var(--ent-text)!important;
}
.icon-btn,.icon-button{
  border-color:var(--ent-line)!important;
  background:#12191f!important;
  color:#b6c0c8!important;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid rgba(56,189,248,.7)!important;
  outline-offset:2px;
}

/* Forms */
input,select,textarea{
  border-color:var(--ent-line)!important;
  border-radius:var(--ent-radius-sm)!important;
  background:#0e151a!important;
  color:var(--ent-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.012);
}
input::placeholder,textarea::placeholder{color:#5f6b75!important}
input:hover,select:hover,textarea:hover{border-color:#3a4650!important}
input:focus,select:focus,textarea:focus{
  border-color:rgba(56,189,248,.55)!important;
  box-shadow:0 0 0 3px rgba(56,189,248,.075)!important;
  outline:none!important;
}
label{color:#c6cdd3}
.form-grid{gap:12px!important}
.form-grid label,.field label{
  display:grid;
  gap:6px;
  font-size:9px;
  font-weight:750;
  letter-spacing:.035em;
  color:#aeb7bf;
}

/* Tables */
table{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden;
  border:1px solid var(--ent-line)!important;
  border-radius:var(--ent-radius-md)!important;
  background:var(--ent-surface)!important;
}
thead th{
  position:sticky;
  top:0;
  z-index:2;
  padding:10px 11px!important;
  border-bottom:1px solid var(--ent-line)!important;
  background:#151e24!important;
  color:#8f9ba5!important;
  font-size:8px!important;
  font-weight:850!important;
  letter-spacing:.085em!important;
  text-transform:uppercase;
  white-space:nowrap;
}
tbody td{
  padding:10px 11px!important;
  border-bottom:1px solid var(--ent-line-soft)!important;
  color:#dce1e5!important;
  font-size:9px!important;
  vertical-align:middle;
}
tbody tr:last-child td{border-bottom:0!important}
tbody tr{transition:background var(--ent-speed)}
tbody tr:hover{background:#162027!important}
.enterprise-table-wrap{
  overflow:auto;
  border-radius:var(--ent-radius-md);
  box-shadow:0 1px 0 rgba(255,255,255,.012);
}

/* Status system */
.enterprise-status,.status-badge,.badge,.pill,.tag{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:22px;
  padding:0 8px;
  border:1px solid var(--ent-line);
  border-radius:999px;
  font-size:7.5px;
  font-weight:800;
  white-space:nowrap;
}
.enterprise-status:before,.status-badge:before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:currentColor;
}
.status-ok,.is-complete,.is-paid,.status-complete,.status-paid{
  color:var(--ent-green)!important;
  border-color:rgba(53,208,113,.28)!important;
  background:var(--ent-green-soft)!important;
}
.status-wait,.is-waiting,.is-pending,.status-waiting,.status-pending{
  color:var(--ent-yellow)!important;
  border-color:rgba(241,189,53,.28)!important;
  background:var(--ent-yellow-soft)!important;
}
.status-danger,.is-overdue,.is-critical,.status-overdue,.status-critical{
  color:var(--ent-red)!important;
  border-color:rgba(255,93,87,.3)!important;
  background:var(--ent-red-soft)!important;
}
.status-info,.is-open,.status-open{
  color:var(--ent-blue)!important;
  border-color:rgba(56,189,248,.28)!important;
  background:var(--ent-blue-soft)!important;
}
.status-neutral{
  color:#a6b0b8!important;
  background:rgba(166,176,184,.09)!important;
}

/* Tabs */
.tabs,.dpc-tabs,.module-tabs{
  border-color:var(--ent-line)!important;
}
.tabs button,.dpc-tabs button,.module-tabs button{
  border-color:transparent!important;
  color:#89949e!important;
  transition:background var(--ent-speed),color var(--ent-speed),border-color var(--ent-speed);
}
.tabs button:hover,.dpc-tabs button:hover,.module-tabs button:hover{
  background:#151e24!important;
  color:#cbd2d8!important;
}
.tabs button.active,.dpc-tabs button.active,.module-tabs button.active{
  color:var(--ent-gold)!important;
  background:var(--ent-gold-soft)!important;
  border-color:rgba(226,182,71,.26)!important;
}

/* Dialogs, toasts, dropdowns */
dialog,.modal,.drawer,.popover,.dropdown-menu{
  border:1px solid var(--ent-line)!important;
  border-radius:var(--ent-radius-lg)!important;
  background:#11181e!important;
  color:var(--ent-text)!important;
  box-shadow:0 30px 100px rgba(0,0,0,.52)!important;
}
dialog::backdrop{background:rgba(2,5,7,.72);backdrop-filter:blur(6px)}
.modal-head,.drawer-head{
  border-bottom:1px solid var(--ent-line)!important;
}
.modal-actions{
  border-top:1px solid var(--ent-line)!important;
}
.enterprise-toast-stack{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:12000;
  display:grid;
  gap:8px;
  width:min(360px,calc(100vw - 28px));
}
.enterprise-toast{
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:11px;
  border:1px solid var(--ent-line);
  border-radius:var(--ent-radius-md);
  background:#151d23;
  box-shadow:var(--ent-shadow);
  animation:enterprise-toast-in .22s ease both;
}
.enterprise-toast>i{
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:8px;
  background:var(--ent-blue-soft);
  color:var(--ent-blue);
  font-style:normal;
}
.enterprise-toast strong{display:block;font-size:9px}
.enterprise-toast small{display:block;margin-top:2px;color:var(--ent-muted);font-size:8px}
.enterprise-toast button{border:0;background:transparent;color:#71808a;font-size:14px}
.enterprise-toast.success>i{background:var(--ent-green-soft);color:var(--ent-green)}
.enterprise-toast.warning>i{background:var(--ent-yellow-soft);color:var(--ent-yellow)}
.enterprise-toast.error>i{background:var(--ent-red-soft);color:var(--ent-red)}
@keyframes enterprise-toast-in{from{opacity:0;transform:translateY(10px) scale(.98)}}

/* Empty/loading states */
.empty,.empty-state,.no-results{
  padding:28px!important;
  border:1px dashed #33404a!important;
  border-radius:var(--ent-radius-md)!important;
  background:rgba(17,24,30,.55)!important;
  color:var(--ent-muted)!important;
  text-align:center;
}
.enterprise-skeleton{
  position:relative;
  overflow:hidden;
  background:#172027!important;
  color:transparent!important;
}
.enterprise-skeleton:after{
  content:"";
  position:absolute;inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent);
  animation:enterprise-shimmer 1.35s infinite;
}
@keyframes enterprise-shimmer{100%{transform:translateX(100%)}}

/* Icon consistency */
.rbs-icon,svg.icon,.icon svg{
  stroke-width:1.8;
}
.enterprise-icon-box{
  width:34px;height:34px;
  display:grid;place-items:center;
  flex:0 0 34px;
  border-radius:9px;
  background:var(--ent-blue-soft);
  color:var(--ent-blue);
}
.enterprise-icon-box svg{width:17px;height:17px}

/* Responsive */
@media(max-width:1100px){
  .module-main,.project-main{padding-inline:10px!important}
  table{min-width:760px}
}
@media(max-width:760px){
  .rbs-topbar{padding-inline:10px!important}
  .module-main,.project-main{padding:10px 8px 78px!important}
  .card,.panel,.module-card,.dpc-card{border-radius:10px!important}
  .form-grid{grid-template-columns:1fr!important}
  .enterprise-table-wrap{margin-inline:-2px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* ===== SOURCE: ux-polish-v012.css ===== */


/* ==========================================================================
   RATING BUSINESS SUITE 4.2 — BUILD 012 UX & POLISH
   ========================================================================== */
:root{
  --ux-ease:cubic-bezier(.22,.61,.36,1);
  --ux-fast:140ms;
  --ux-normal:220ms;
  --ux-slow:360ms;
}
html{scroll-behavior:smooth}
body.enterprise-ui-ready{
  overflow-x:hidden;
}
body.enterprise-ui-ready a,
body.enterprise-ui-ready button,
body.enterprise-ui-ready input,
body.enterprise-ui-ready select,
body.enterprise-ui-ready textarea{
  transition:
    color var(--ux-fast) var(--ux-ease),
    background var(--ux-fast) var(--ux-ease),
    border-color var(--ux-fast) var(--ux-ease),
    box-shadow var(--ux-fast) var(--ux-ease),
    transform var(--ux-fast) var(--ux-ease),
    opacity var(--ux-fast) var(--ux-ease);
}
.enterprise-pressed{
  transform:scale(.985)!important;
}
[data-enterprise-loading="true"]{
  pointer-events:none!important;
  opacity:.7!important;
  position:relative;
}
[data-enterprise-loading="true"]:after{
  content:"";
  width:13px;height:13px;
  margin-left:8px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:ux-spin .7s linear infinite;
}
@keyframes ux-spin{to{transform:rotate(360deg)}}

/* Page entrance */
.enterprise-page-enter{
  animation:ux-page-enter var(--ux-slow) var(--ux-ease) both;
}
@keyframes ux-page-enter{
  from{opacity:0;transform:translateY(8px)}
}

/* Enhanced cards */
.enterprise-lift{
  will-change:transform;
}
.enterprise-lift:hover{
  box-shadow:0 16px 38px rgba(0,0,0,.22)!important;
}
.enterprise-lift:active{
  transform:translateY(0) scale(.995)!important;
}

/* Compact enterprise tables */
.enterprise-table-wrap{
  position:relative;
  border:1px solid var(--ent-line);
  background:var(--ent-surface);
}
.enterprise-table-wrap table{
  border:0!important;
  border-radius:0!important;
}
.enterprise-table-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 10px;
  border-bottom:1px solid var(--ent-line);
  background:#111920;
}
.enterprise-table-toolbar small{
  color:var(--ent-muted);
  font-size:8px;
}
.enterprise-table-toolbar button{
  min-height:28px;
  padding:0 9px;
  border:1px solid var(--ent-line);
  border-radius:7px;
  background:#151e24;
  color:#b6c0c8;
  font-size:8px;
}
.enterprise-table-wrap.is-dense tbody td{
  padding-top:7px!important;
  padding-bottom:7px!important;
}
.enterprise-table-wrap.is-dense thead th{
  padding-top:8px!important;
  padding-bottom:8px!important;
}

/* Sticky actions */
.enterprise-sticky-actions{
  position:sticky;
  bottom:10px;
  z-index:40;
  display:flex;
  justify-content:flex-end;
  gap:7px;
  margin-top:12px;
  padding:9px;
  border:1px solid var(--ent-line);
  border-radius:10px;
  background:rgba(17,24,30,.88);
  backdrop-filter:blur(10px);
  box-shadow:0 14px 34px rgba(0,0,0,.24);
}

/* Empty states */
.enterprise-empty-state{
  display:grid;
  place-items:center;
  gap:8px;
  min-height:180px;
  padding:28px;
  border:1px dashed #34424c;
  border-radius:12px;
  background:linear-gradient(145deg,rgba(21,29,35,.72),rgba(13,19,24,.72));
  text-align:center;
}
.enterprise-empty-state .enterprise-empty-icon{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:13px;
  background:var(--ent-blue-soft);
  color:var(--ent-blue);
  font-size:18px;
}
.enterprise-empty-state strong{
  font-size:11px;
}
.enterprise-empty-state small{
  max-width:380px;
  color:var(--ent-muted);
  font-size:8.5px;
  line-height:1.6;
}

/* Better dropdowns */
.enterprise-select-wrap{
  position:relative;
}
.enterprise-select-wrap select{
  width:100%;
  appearance:none;
  padding-right:32px!important;
}
.enterprise-select-wrap:after{
  content:"⌄";
  position:absolute;
  right:11px;
  top:50%;
  transform:translateY(-54%);
  color:#77838d;
  pointer-events:none;
}

/* Dialog polish */
dialog[open],.modal.is-open,.drawer.is-open{
  animation:ux-dialog-in var(--ux-normal) var(--ux-ease) both;
}
@keyframes ux-dialog-in{
  from{opacity:0;transform:translateY(12px) scale(.985)}
}
.enterprise-dialog-close{
  width:32px;height:32px;
  display:grid;place-items:center;
  border:1px solid var(--ent-line);
  border-radius:8px;
  background:#151d23;
  color:#a8b2ba;
}

/* Tooltips */
[data-enterprise-tooltip]{
  position:relative;
}
[data-enterprise-tooltip]:hover:after,
[data-enterprise-tooltip]:focus-visible:after{
  content:attr(data-enterprise-tooltip);
  position:absolute;
  left:50%;
  bottom:calc(100% + 8px);
  transform:translateX(-50%);
  z-index:9999;
  width:max-content;
  max-width:240px;
  padding:6px 8px;
  border:1px solid var(--ent-line);
  border-radius:7px;
  background:#182128;
  color:#e7ebee;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  font-size:8px;
  line-height:1.4;
  pointer-events:none;
}

/* Notification dot pulse */
.rbs-notification-dot{
  animation:ux-notification-pulse 2.2s ease-in-out infinite;
}
@keyframes ux-notification-pulse{
  0%,100%{box-shadow:0 0 0 2px #11161b,0 0 0 0 rgba(255,93,87,.35)}
  50%{box-shadow:0 0 0 2px #11161b,0 0 0 6px rgba(255,93,87,0)}
}

/* Status pulse only for critical items */
.status-danger.enterprise-status,
.status-danger.status-badge{
  position:relative;
}
.status-danger.enterprise-status:after,
.status-danger.status-badge:after{
  content:"";
  position:absolute;
  inset:-1px;
  border:1px solid rgba(255,93,87,.22);
  border-radius:inherit;
  animation:ux-critical 2.4s ease-in-out infinite;
}
@keyframes ux-critical{
  0%,100%{opacity:.25}
  50%{opacity:.9}
}

/* Keyboard hint */
.enterprise-shortcut-hint{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--ent-muted);
  font-size:8px;
}
.enterprise-shortcut-hint kbd{
  min-width:21px;
  padding:2px 5px;
  border:1px solid var(--ent-line);
  border-bottom-color:#46535d;
  border-radius:5px;
  background:#121a20;
  color:#aeb7bf;
  font:700 7px/1.4 monospace;
  text-align:center;
}

/* Progress bars */
.enterprise-progress{
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#28323a;
}
.enterprise-progress>i{
  display:block;
  width:var(--progress,0%);
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--ent-blue),#6fd7ff);
  transition:width .6s var(--ux-ease);
}
.enterprise-progress.success>i{
  background:linear-gradient(90deg,var(--ent-green),#75e8a0);
}
.enterprise-progress.warning>i{
  background:linear-gradient(90deg,var(--ent-yellow),#f7d471);
}
.enterprise-progress.danger>i{
  background:linear-gradient(90deg,var(--ent-red),#ff928e);
}

/* Mobile bottom spacing and touch targets */
@media(max-width:760px){
  button,.btn,a.btn,a.button{
    min-height:40px;
  }
  .enterprise-toast-stack{
    right:10px;
    bottom:10px;
    width:calc(100vw - 20px);
  }
  .enterprise-sticky-actions{
    bottom:8px;
    flex-wrap:wrap;
  }
}

/* Print support */
@media print{
  .rbs-sidebar,.rbs-topbar,.enterprise-toast-stack,
  .enterprise-sticky-actions,.quick-menu{
    display:none!important;
  }
  body,.module-main,.project-main{
    background:#fff!important;
    color:#111!important;
  }
  .card,.panel,.module-card,.dpc-card,table{
    box-shadow:none!important;
    border-color:#bbb!important;
    background:#fff!important;
    color:#111!important;
  }
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rbs-notification-dot,
  .status-danger.enterprise-status:after,
  .status-danger.status-badge:after{
    animation:none!important;
  }
}


/* ===== SOURCE: enterprise-shell-v0131.css ===== */


/* ==========================================================================
   RATING BUSINESS SUITE 4.3 — BUILD 013.1 ENTERPRISE SHELL
   ========================================================================== */
:root{
  --shell-sidebar-expanded:224px;
  --shell-sidebar-collapsed:72px;
  --shell-topbar-height:68px;
  --shell-grid:8px;
  --shell-content-max:1760px;
  --shell-ease:cubic-bezier(.22,.61,.36,1);
}
body.enterprise-shell-ready{
  --sidew:var(--shell-sidebar-expanded);
}
body.enterprise-shell-ready.sidebar-collapsed{
  --sidew:var(--shell-sidebar-collapsed);
}
.rbs-sidebar{
  width:var(--sidew)!important;
  transition:width .22s var(--shell-ease),transform .22s var(--shell-ease)!important;
  overflow:hidden!important;
}
.rbs-topbar{
  left:var(--sidew)!important;
  min-height:var(--shell-topbar-height)!important;
  transition:left .22s var(--shell-ease)!important;
}
.workspace{
  padding-left:var(--sidew)!important;
  transition:padding-left .22s var(--shell-ease)!important;
}
.rbs-brand{
  position:relative;
  min-height:76px!important;
  padding:14px 12px!important;
}
.enterprise-sidebar-toggle{
  width:34px;height:34px;
  display:grid;place-items:center;
  flex:0 0 34px;
  border:1px solid var(--ent-line);
  border-radius:9px;
  background:#11191f;
  color:#aeb8c0;
  cursor:pointer;
}
.enterprise-sidebar-toggle:hover{
  color:var(--ent-gold);
  border-color:rgba(226,182,71,.38);
  background:#182128;
}
.enterprise-sidebar-toggle svg{
  width:17px;height:17px;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
.enterprise-mobile-menu{
  display:none;
}
.enterprise-sidebar-scrim{
  position:fixed;
  inset:0;
  z-index:800;
  background:rgba(2,5,7,.7);
  backdrop-filter:blur(4px);
}
.enterprise-sidebar-scrim[hidden]{display:none!important}

/* Collapsed state */
.sidebar-collapsed .rbs-brandcopy,
.sidebar-collapsed .rbs-nav .nav-item span:not(.rbs-icon),
.sidebar-collapsed .rbs-user>div:not(.rbs-user-avatar),
.sidebar-collapsed .rbs-user>button,
.sidebar-collapsed .rbs-nav-section-title{
  display:none!important;
}
.sidebar-collapsed .rbs-brand{
  justify-content:center!important;
  padding-inline:8px!important;
}
.sidebar-collapsed .rbs-brandmark{
  margin:0!important;
}
.sidebar-collapsed .rbs-nav{
  padding-inline:7px!important;
}
.sidebar-collapsed .rbs-nav .nav-item{
  justify-content:center!important;
  padding-inline:0!important;
}
.sidebar-collapsed .rbs-nav .nav-item.active:after{
  right:4px!important;
}
.sidebar-collapsed .rbs-user{
  justify-content:center!important;
  padding-inline:8px!important;
}
.sidebar-collapsed .rbs-user-avatar{
  margin:0!important;
}
.sidebar-collapsed .rbs-nav .nav-item{
  position:relative;
}
.sidebar-collapsed .rbs-nav .nav-item:hover:after{
  content:attr(data-enterprise-label);
  position:fixed;
  left:calc(var(--shell-sidebar-collapsed) + 10px);
  z-index:1500;
  min-width:130px;
  padding:7px 9px;
  border:1px solid var(--ent-line);
  border-radius:8px;
  background:#172027;
  color:#eef1f3;
  box-shadow:0 12px 32px rgba(0,0,0,.35);
  font-size:9px;
  white-space:nowrap;
}

/* Navigation */
.rbs-nav{
  padding:12px 9px 18px!important;
}
.rbs-nav-section-title{
  display:block;
  padding:12px 10px 6px;
  color:#59656f;
  font-size:7px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.rbs-nav .nav-item{
  min-height:40px!important;
  margin:2px 0;
  padding:0 11px!important;
  border-radius:9px!important;
}
.rbs-nav .nav-item .rbs-icon{
  width:18px!important;height:18px!important;flex-basis:18px!important;
}
.rbs-nav .nav-item span:not(.rbs-icon){
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Topbar */
.rbs-topbar{
  display:grid!important;
  grid-template-columns:minmax(220px,.8fr) minmax(320px,560px) auto!important;
  align-items:center!important;
  gap:14px!important;
  padding:0 18px!important;
}
.rbs-topbar-title{
  min-width:0;
}
.rbs-topbar-title strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rbs-topbar-search{
  min-width:0;
  height:38px!important;
  border-radius:10px!important;
}
.rbs-topbar-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  min-width:max-content;
}
.rbs-profile{
  min-width:0;
}
.rbs-profile>div{
  max-width:150px;
}
.rbs-profile strong,
.rbs-profile small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Content alignment */
.workspace>main{
  width:100%;
  max-width:var(--shell-content-max);
  margin:0 auto!important;
  padding:24px 24px 48px!important;
}
.module-main>section,
.project-main .dpc-shell,
.command-center-page{
  width:100%!important;
  max-width:none!important;
}
.enterprise-page-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.enterprise-page-header h1{
  margin:0 0 5px;
  font-size:28px;
  line-height:1.15;
}
.enterprise-page-header p{
  margin:0;
  color:var(--ent-muted);
  font-size:11px;
}
.enterprise-page-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* 8px layout grid normalization */
.enterprise-shell-ready .card,
.enterprise-shell-ready .panel,
.enterprise-shell-ready .module-card,
.enterprise-shell-ready .dpc-card{
  margin-bottom:16px;
}
.enterprise-shell-ready .grid,
.enterprise-shell-ready .cards-grid,
.enterprise-shell-ready .module-grid{
  gap:16px!important;
}
.enterprise-shell-ready .form-grid{
  gap:16px!important;
}
.enterprise-shell-ready .card-head,
.enterprise-shell-ready .module-header,
.enterprise-shell-ready .section-head{
  margin-bottom:16px!important;
}

/* Topbar command button */
.enterprise-create-button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:36px;
  padding:0 13px;
  border:1px solid #f0ca69;
  border-radius:9px;
  background:linear-gradient(145deg,#ecc45b,#d7a833);
  color:#181207;
  font-size:9px;
  font-weight:850;
  text-decoration:none;
  box-shadow:0 7px 18px rgba(226,182,71,.14);
}
.enterprise-create-button svg{
  width:14px;height:14px;
  fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}

/* Responsive shell */
@media(max-width:1180px){
  .rbs-topbar{
    grid-template-columns:minmax(190px,.7fr) minmax(260px,1fr) auto!important;
    padding-inline:12px!important;
  }
  .workspace>main{
    padding:20px 16px 44px!important;
  }
  .rbs-profile>div{display:none!important}
}
@media(max-width:900px){
  body.enterprise-shell-ready{
    --sidew:0px;
  }
  .rbs-sidebar{
    width:min(290px,86vw)!important;
    transform:translateX(-105%);
    z-index:1000!important;
    box-shadow:24px 0 70px rgba(0,0,0,.42);
  }
  body.mobile-sidebar-open .rbs-sidebar{
    transform:translateX(0);
  }
  .rbs-topbar{
    left:0!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  .workspace{
    padding-left:0!important;
  }
  .enterprise-mobile-menu{
    display:grid;
    width:34px;height:34px;
    place-items:center;
    border:1px solid var(--ent-line);
    border-radius:9px;
    background:#11191f;
    color:#aeb8c0;
  }
  .rbs-topbar-title{
    display:none!important;
  }
  .rbs-topbar-search{
    grid-column:2;
  }
  .rbs-topbar-actions{
    grid-column:3;
  }
  .build-pill,.rbs-cloud-button{
    display:none!important;
  }
  .workspace>main{
    padding:16px 12px 80px!important;
  }
}
@media(max-width:620px){
  .rbs-topbar{
    gap:8px!important;
    padding-inline:8px!important;
  }
  .rbs-topbar-search{
    min-width:0;
  }
  .rbs-topbar-search kbd{
    display:none!important;
  }
  .rbs-topbar-actions .rbs-action-gold,
  .rbs-profile>div{
    display:none!important;
  }
  .workspace>main{
    padding:12px 8px 84px!important;
  }
  .enterprise-page-header{
    flex-direction:column;
    gap:12px;
  }
  .enterprise-page-actions{
    justify-content:flex-start;
  }
}
@media(prefers-reduced-motion:reduce){
  .rbs-sidebar,.rbs-topbar,.workspace{
    transition:none!important;
  }
}


/* ===== SOURCE: rating-workspace-design-v014.css ===== */


/* ==========================================================================
   RATING WORKSPACE 1.0 — BUILD 014 DESIGN SYSTEM FOUNDATION
   ========================================================================== */
:root{
  --rw-canvas:#0b0f14;
  --rw-canvas-raised:#0f141a;
  --rw-sidebar:#0c1117;
  --rw-surface:#141a21;
  --rw-surface-hover:#19212a;
  --rw-surface-active:#202a34;
  --rw-border:#29333d;
  --rw-border-strong:#3b4651;
  --rw-text:#f4f6f8;
  --rw-text-secondary:#a6b0ba;
  --rw-text-tertiary:#6f7b86;
  --rw-gold:#d8ad46;
  --rw-gold-light:#efca70;
  --rw-gold-soft:rgba(216,173,70,.13);
  --rw-success:#2fc76e;
  --rw-success-soft:rgba(47,199,110,.13);
  --rw-warning:#f1b93a;
  --rw-warning-soft:rgba(241,185,58,.13);
  --rw-danger:#f45f5a;
  --rw-danger-soft:rgba(244,95,90,.13);
  --rw-info:#3aaef5;
  --rw-info-soft:rgba(58,174,245,.13);
  --rw-review:#9b78f2;
  --rw-review-soft:rgba(155,120,242,.13);
  --rw-neutral:#88949e;
  --rw-neutral-soft:rgba(136,148,158,.12);
  --rw-radius-1:6px;
  --rw-radius-2:8px;
  --rw-radius-3:12px;
  --rw-radius-4:16px;
  --rw-shadow-1:0 1px 0 rgba(255,255,255,.025);
  --rw-shadow-2:0 14px 40px rgba(0,0,0,.22);
  --rw-shadow-3:0 28px 80px rgba(0,0,0,.42);
  --rw-space-1:4px;
  --rw-space-2:8px;
  --rw-space-3:12px;
  --rw-space-4:16px;
  --rw-space-5:24px;
  --rw-space-6:32px;
  --rw-space-7:48px;
  --rw-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;
}
body.rating-workspace{
  font-family:var(--rw-font)!important;
  background:
    radial-gradient(circle at 82% -10%,rgba(58,174,245,.045),transparent 32%),
    radial-gradient(circle at 15% -4%,rgba(216,173,70,.045),transparent 30%),
    var(--rw-canvas)!important;
  color:var(--rw-text)!important;
}
body.rating-workspace .rbs-sidebar{
  background:
    linear-gradient(180deg,rgba(216,173,70,.025),transparent 18%),
    var(--rw-sidebar)!important;
  border-color:var(--rw-border)!important;
}
body.rating-workspace .rbs-topbar{
  background:rgba(11,15,20,.92)!important;
  border-color:var(--rw-border)!important;
}
.rbs-brandcopy strong{
  font-size:12px!important;
  letter-spacing:.18em!important;
}
.rbs-brandcopy small{
  color:var(--rw-gold)!important;
  font-size:7px!important;
  letter-spacing:.13em!important;
}
.rbs-brandmark{
  background:
    linear-gradient(145deg,rgba(216,173,70,.17),rgba(216,173,70,.025))!important;
  border-color:rgba(216,173,70,.62)!important;
  color:var(--rw-gold-light)!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 8px 22px rgba(216,173,70,.08)!important;
}
.rbs-nav .nav-item{
  color:var(--rw-text-secondary)!important;
}
.rbs-nav .nav-item:hover{
  color:var(--rw-text)!important;
  background:var(--rw-surface)!important;
  border-color:rgba(255,255,255,.045)!important;
}
.rbs-nav .nav-item.active{
  color:var(--rw-gold-light)!important;
  background:
    linear-gradient(90deg,rgba(216,173,70,.17),rgba(216,173,70,.045))!important;
  border-color:rgba(216,173,70,.32)!important;
  box-shadow:inset 3px 0 0 var(--rw-gold)!important;
}

/* Typography */
.rw-eyebrow,
.module-header>small,
.page-head>small,
.card-head>small,
.final-panel header small{
  color:var(--rw-gold)!important;
  font-size:8px!important;
  font-weight:850!important;
  letter-spacing:.13em!important;
  text-transform:uppercase;
}
h1,.rw-h1{font-size:30px!important;line-height:1.13!important;letter-spacing:-.035em!important;font-weight:760!important}
h2,.rw-h2{letter-spacing:-.025em!important;font-weight:740!important}
h3,.rw-h3{letter-spacing:-.018em!important;font-weight:710!important}
p,.rw-body{line-height:1.58}
small,.rw-caption{line-height:1.45}

/* Surfaces */
.card,.panel,.widget,.module-card,.dpc-card,.stat-card,.kpi-card,
.data-card,.summary-card,.final-panel,.final-health-card,.final-kpi-card,
.final-quick-actions,.smart-documents-center{
  border-color:var(--rw-border)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.016),transparent 42%),
    var(--rw-surface)!important;
  box-shadow:var(--rw-shadow-1)!important;
}
.card:hover,.panel:hover,.module-card:hover,.dpc-card:hover,
.final-panel:hover,.final-kpi-card:hover{
  border-color:var(--rw-border-strong)!important;
}
.rw-surface-raised{
  border:1px solid var(--rw-border);
  border-radius:var(--rw-radius-3);
  background:var(--rw-surface);
  box-shadow:var(--rw-shadow-2);
}

/* Buttons */
button,.btn,.button,a.btn,a.button{
  border-radius:var(--rw-radius-2)!important;
  font-weight:750!important;
}
.rw-btn,
.btn,button.primary,.button.primary,.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:36px;
  padding:0 13px;
}
.rw-btn-primary,.btn.primary,button.primary,.button.primary,.primary-btn,
.rbs-action-gold,.enterprise-create-button{
  color:#171106!important;
  border-color:var(--rw-gold-light)!important;
  background:linear-gradient(145deg,var(--rw-gold-light),var(--rw-gold))!important;
  box-shadow:0 8px 20px rgba(216,173,70,.14)!important;
}
.rw-btn-secondary,.secondary,.secondary-btn,.btn.ghost,.ghost{
  color:var(--rw-text)!important;
  border-color:var(--rw-border)!important;
  background:var(--rw-surface)!important;
}
.rw-btn-success{
  color:#07170d!important;
  border-color:#59df8c!important;
  background:linear-gradient(145deg,#5de291,var(--rw-success))!important;
}
.rw-btn-danger{
  color:#fff!important;
  border-color:#ff8c87!important;
  background:linear-gradient(145deg,#ff7974,var(--rw-danger))!important;
}
.rw-btn-ghost{
  color:var(--rw-text-secondary)!important;
  border-color:transparent!important;
  background:transparent!important;
}

/* Forms */
input,select,textarea{
  min-height:38px;
  border-color:var(--rw-border)!important;
  background:#0e141a!important;
  color:var(--rw-text)!important;
}
textarea{min-height:96px}
input:hover,select:hover,textarea:hover{
  border-color:var(--rw-border-strong)!important;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(58,174,245,.58)!important;
  box-shadow:0 0 0 3px rgba(58,174,245,.09)!important;
}
label{
  color:var(--rw-text-secondary)!important;
}

/* Unified status language */
.rw-status,
.status-badge,.enterprise-status,.badge,.pill,.tag{
  min-height:24px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  font-size:7.5px!important;
  font-weight:800!important;
}
.rw-status:before{
  content:"";
  width:6px;height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:currentColor;
}
.rw-status-success,.status-ok,.is-complete,.is-paid,.status-complete,.status-paid{
  color:var(--rw-success)!important;
  border-color:rgba(47,199,110,.3)!important;
  background:var(--rw-success-soft)!important;
}
.rw-status-warning,.status-wait,.is-waiting,.is-pending,.status-waiting,.status-pending{
  color:var(--rw-warning)!important;
  border-color:rgba(241,185,58,.3)!important;
  background:var(--rw-warning-soft)!important;
}
.rw-status-danger,.status-danger,.is-overdue,.is-critical,.status-overdue,.status-critical{
  color:var(--rw-danger)!important;
  border-color:rgba(244,95,90,.3)!important;
  background:var(--rw-danger-soft)!important;
}
.rw-status-info,.status-info,.is-open,.status-open{
  color:var(--rw-info)!important;
  border-color:rgba(58,174,245,.3)!important;
  background:var(--rw-info-soft)!important;
}
.rw-status-review{
  color:var(--rw-review)!important;
  border-color:rgba(155,120,242,.3)!important;
  background:var(--rw-review-soft)!important;
}
.rw-status-neutral,.status-neutral{
  color:var(--rw-neutral)!important;
  border-color:rgba(136,148,158,.25)!important;
  background:var(--rw-neutral-soft)!important;
}

/* Tables */
.enterprise-table-wrap{
  border-color:var(--rw-border)!important;
  background:var(--rw-surface)!important;
}
.enterprise-table-toolbar{
  background:#111820!important;
  border-color:var(--rw-border)!important;
}
table{
  border-color:var(--rw-border)!important;
  background:var(--rw-surface)!important;
}
thead th{
  background:#151d25!important;
  color:#8f9ba5!important;
  border-color:var(--rw-border)!important;
}
tbody td{
  border-color:rgba(255,255,255,.05)!important;
}
tbody tr:nth-child(even){
  background:rgba(255,255,255,.012);
}
tbody tr:hover{
  background:var(--rw-surface-hover)!important;
}

/* Icon treatment */
.rbs-icon,svg.icon,.icon svg{
  color:inherit;
}
.rw-icon-box,.enterprise-icon-box{
  width:36px;height:36px;
  display:grid;place-items:center;
  flex:0 0 36px;
  border:1px solid rgba(58,174,245,.18);
  border-radius:10px;
  background:var(--rw-info-soft);
  color:var(--rw-info);
}
.rw-icon-box.success{border-color:rgba(47,199,110,.2);background:var(--rw-success-soft);color:var(--rw-success)}
.rw-icon-box.warning{border-color:rgba(241,185,58,.2);background:var(--rw-warning-soft);color:var(--rw-warning)}
.rw-icon-box.danger{border-color:rgba(244,95,90,.2);background:var(--rw-danger-soft);color:var(--rw-danger)}
.rw-icon-box.review{border-color:rgba(155,120,242,.2);background:var(--rw-review-soft);color:var(--rw-review)}
.rw-icon-box.gold{border-color:rgba(216,173,70,.2);background:var(--rw-gold-soft);color:var(--rw-gold)}

/* Tabs and navigation inside modules */
.tabs,.dpc-tabs,.module-tabs{
  gap:4px!important;
  padding:4px!important;
  border:1px solid var(--rw-border)!important;
  border-radius:10px!important;
  background:#10171d!important;
}
.tabs button,.dpc-tabs button,.module-tabs button{
  min-height:32px!important;
  border-radius:7px!important;
}
.tabs button.active,.dpc-tabs button.active,.module-tabs button.active{
  color:var(--rw-gold-light)!important;
  border-color:rgba(216,173,70,.25)!important;
  background:var(--rw-gold-soft)!important;
}

/* Dialogs and menus */
dialog,.modal,.drawer,.popover,.dropdown-menu,.quick-menu{
  border-color:var(--rw-border)!important;
  background:var(--rw-surface)!important;
  box-shadow:var(--rw-shadow-3)!important;
}
.enterprise-toast{
  border-color:var(--rw-border)!important;
  background:var(--rw-surface)!important;
}

/* Brand release badge */
.rw-workspace-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:25px;
  padding:0 9px;
  border:1px solid rgba(216,173,70,.3);
  border-radius:999px;
  background:var(--rw-gold-soft);
  color:var(--rw-gold-light);
  font-size:7.5px;
  font-weight:850;
  letter-spacing:.05em;
}
.rw-workspace-badge:before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:var(--rw-success);
  box-shadow:0 0 0 3px var(--rw-success-soft);
}

/* Responsive refinements */
@media(max-width:760px){
  h1,.rw-h1{font-size:24px!important}
  .card,.panel,.module-card,.dpc-card{
    border-radius:10px!important;
  }
}
@media print{
  .rw-workspace-badge{border-color:#888;color:#222;background:#fff}
}


/* ===== SOURCE: workspace-experience-v015.css ===== */


/* ==========================================================================
   RATING WORKSPACE 1.1 — BUILD 015 WORKSPACE EXPERIENCE
   ========================================================================== */
:root{
  --wx-card-gap:12px;
  --wx-panel-radius:14px;
  --wx-grid-line:rgba(255,255,255,.045);
}
.workspace-experience{
  display:grid;
  gap:var(--wx-card-gap);
  width:100%;
}
.wx-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:12px;
}
.wx-panel{
  border:1px solid var(--rw-border);
  border-radius:var(--wx-panel-radius);
  background:
    linear-gradient(145deg,rgba(255,255,255,.018),transparent 42%),
    var(--rw-surface);
  box-shadow:var(--rw-shadow-1);
}
.wx-welcome{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:150px;
  padding:22px;
  overflow:hidden;
  position:relative;
}
.wx-welcome:after{
  content:"";
  position:absolute;
  right:-70px;top:-90px;
  width:240px;height:240px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(216,173,70,.11),transparent 68%);
}
.wx-welcome-copy{
  position:relative;
  z-index:1;
}
.wx-welcome-copy small,
.wx-section-head small{
  color:var(--rw-gold);
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.wx-welcome-copy h1{
  margin:7px 0 5px;
  font-size:30px!important;
}
.wx-welcome-copy p{
  max-width:680px;
  margin:0;
  color:var(--rw-text-secondary);
  font-size:10px;
}
.wx-date{
  position:relative;
  z-index:1;
  min-width:160px;
  padding:14px;
  border:1px solid rgba(216,173,70,.18);
  border-radius:12px;
  background:var(--rw-gold-soft);
  text-align:right;
}
.wx-date strong{
  display:block;
  color:var(--rw-gold-light);
  font-size:15px;
}
.wx-date span{
  display:block;
  margin-top:3px;
  color:var(--rw-text-secondary);
  font-size:8px;
}

.wx-health{
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  align-items:center;
  gap:16px;
  padding:18px;
}
.wx-health-ring{
  --score:0;
  width:108px;height:108px;
  display:grid;
  place-items:center;
  position:relative;
  border-radius:50%;
  background:conic-gradient(var(--rw-success) calc(var(--score)*1%),#2a333b 0);
}
.wx-health-ring:after{
  content:"";
  position:absolute;
  inset:9px;
  border-radius:50%;
  background:var(--rw-surface);
}
.wx-health-ring b,
.wx-health-ring small{
  position:relative;
  z-index:1;
}
.wx-health-ring b{font-size:29px}
.wx-health-ring small{
  position:absolute;
  top:70px;
  color:var(--rw-text-tertiary);
  font-size:7px;
}
.wx-health-copy h2{
  margin:4px 0 6px;
  font-size:16px!important;
}
.wx-health-copy p{
  margin:0 0 10px;
  color:var(--rw-text-secondary);
  font-size:9px;
}
.wx-health-checks{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
.wx-health-checks span{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--rw-text-secondary);
  font-size:8px;
}
.wx-health-checks i{
  width:7px;height:7px;
  border-radius:50%;
  background:var(--rw-success);
}
.wx-health-checks .warning i{background:var(--rw-warning)}
.wx-health-checks .danger i{background:var(--rw-danger)}

.wx-kpis{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.wx-kpi{
  min-width:0;
  padding:15px;
  text-decoration:none;
  color:var(--rw-text);
  transition:transform .18s ease,border-color .18s ease;
}
.wx-kpi:hover{
  transform:translateY(-2px);
  border-color:var(--rw-border-strong);
}
.wx-kpi-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.wx-kpi-head small{
  overflow:hidden;
  color:var(--rw-text-secondary);
  font-size:8px;
  font-weight:800;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.wx-kpi-icon{
  width:30px;height:30px;
  display:grid;place-items:center;
  flex:0 0 30px;
  border-radius:9px;
  background:var(--rw-info-soft);
  color:var(--rw-info);
}
.wx-kpi.success .wx-kpi-icon{background:var(--rw-success-soft);color:var(--rw-success)}
.wx-kpi.warning .wx-kpi-icon{background:var(--rw-warning-soft);color:var(--rw-warning)}
.wx-kpi.danger .wx-kpi-icon{background:var(--rw-danger-soft);color:var(--rw-danger)}
.wx-kpi.review .wx-kpi-icon{background:var(--rw-review-soft);color:var(--rw-review)}
.wx-kpi b{
  display:block;
  margin:12px 0 4px;
  font-size:23px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wx-kpi em{
  display:block;
  min-height:20px;
  color:var(--rw-text-tertiary);
  font-size:7.5px;
  font-style:normal;
}
.wx-spark{
  height:30px;
  display:flex;
  align-items:flex-end;
  gap:3px;
  margin-top:8px;
}
.wx-spark i{
  flex:1;
  border-radius:3px 3px 0 0;
  background:currentColor;
  opacity:.45;
}
.wx-spark i:nth-child(1){height:22%}
.wx-spark i:nth-child(2){height:36%}
.wx-spark i:nth-child(3){height:30%}
.wx-spark i:nth-child(4){height:54%}
.wx-spark i:nth-child(5){height:48%}
.wx-spark i:nth-child(6){height:72%}
.wx-spark i:nth-child(7){height:92%}

.wx-main{
  display:grid;
  grid-template-columns:1.15fr 1fr .78fr;
  gap:12px;
}
.wx-section{
  padding:16px;
}
.wx-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.wx-section-head h2{
  margin:4px 0 0;
  font-size:14px!important;
}
.wx-section-head a,
.wx-section-head button{
  border:0;
  background:transparent;
  color:var(--rw-gold-light);
  font-size:8px;
  text-decoration:none;
  cursor:pointer;
}
.wx-list{
  display:grid;
  gap:7px;
}
.wx-list-item{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  min-height:48px;
  padding:8px;
  border:1px solid var(--rw-border);
  border-radius:9px;
  background:#111820;
  color:var(--rw-text);
  text-decoration:none;
}
.wx-list-item:hover{
  border-color:var(--rw-border-strong);
  background:var(--rw-surface-hover);
}
.wx-list-icon{
  width:31px;height:31px;
  display:grid;place-items:center;
  border-radius:8px;
  background:var(--rw-info-soft);
  color:var(--rw-info);
}
.wx-list-item.warning .wx-list-icon{background:var(--rw-warning-soft);color:var(--rw-warning)}
.wx-list-item.danger .wx-list-icon{background:var(--rw-danger-soft);color:var(--rw-danger)}
.wx-list-item.success .wx-list-icon{background:var(--rw-success-soft);color:var(--rw-success)}
.wx-list-item.review .wx-list-icon{background:var(--rw-review-soft);color:var(--rw-review)}
.wx-list-item strong{
  display:block;
  font-size:8.8px;
}
.wx-list-item small{
  display:block;
  margin-top:2px;
  color:var(--rw-text-tertiary);
  font-size:7.4px;
}
.wx-list-item time{
  color:var(--rw-text-secondary);
  font-size:7.4px;
}

.wx-timeline{
  display:grid;
}
.wx-timeline-item{
  display:grid;
  grid-template-columns:38px 12px minmax(0,1fr);
  gap:8px;
  position:relative;
  padding:7px 0;
}
.wx-timeline-item:not(:last-child):after{
  content:"";
  position:absolute;
  left:43px;
  top:22px;
  bottom:-8px;
  width:1px;
  background:var(--rw-border);
}
.wx-timeline-item time{
  color:var(--rw-text-tertiary);
  font-size:7px;
}
.wx-timeline-dot{
  width:8px;height:8px;
  margin-top:3px;
  border-radius:50%;
  background:var(--rw-info);
  box-shadow:0 0 0 4px var(--rw-info-soft);
}
.wx-timeline-item.success .wx-timeline-dot{background:var(--rw-success);box-shadow:0 0 0 4px var(--rw-success-soft)}
.wx-timeline-item.warning .wx-timeline-dot{background:var(--rw-warning);box-shadow:0 0 0 4px var(--rw-warning-soft)}
.wx-timeline-item.danger .wx-timeline-dot{background:var(--rw-danger);box-shadow:0 0 0 4px var(--rw-danger-soft)}
.wx-timeline-item strong{
  display:block;
  font-size:8.5px;
}
.wx-timeline-item small{
  display:block;
  margin-top:2px;
  color:var(--rw-text-tertiary);
  font-size:7.2px;
}

.wx-bottom{
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:12px;
}
.wx-project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.wx-project{
  padding:11px;
  border:1px solid var(--rw-border);
  border-radius:10px;
  background:#111820;
  color:var(--rw-text);
  text-decoration:none;
}
.wx-project:hover{
  border-color:var(--rw-border-strong);
  background:var(--rw-surface-hover);
}
.wx-project-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}
.wx-project-head strong{
  font-size:8.6px;
}
.wx-project-head span{
  color:var(--rw-success);
  font-size:8px;
}
.wx-project.warning .wx-project-head span{color:var(--rw-warning)}
.wx-project.danger .wx-project-head span{color:var(--rw-danger)}
.wx-progress{
  height:6px;
  overflow:hidden;
  margin:11px 0 8px;
  border-radius:999px;
  background:#2a333b;
}
.wx-progress i{
  display:block;
  width:var(--progress,0%);
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--rw-success),#67e59b);
}
.wx-project.warning .wx-progress i{background:linear-gradient(90deg,var(--rw-warning),#f8d474)}
.wx-project.danger .wx-progress i{background:linear-gradient(90deg,var(--rw-danger),#ff9691)}
.wx-project small{
  color:var(--rw-text-tertiary);
  font-size:7.2px;
  line-height:1.5;
}

.wx-finance-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.wx-finance-stat{
  padding:10px;
  border:1px solid var(--rw-border);
  border-radius:9px;
  background:#111820;
}
.wx-finance-stat small{
  display:block;
  color:var(--rw-text-tertiary);
  font-size:7px;
}
.wx-finance-stat b{
  display:block;
  margin:5px 0 2px;
  font-size:12px;
}
.wx-finance-stat em{
  display:block;
  color:var(--rw-text-tertiary);
  font-size:6.8px;
  font-style:normal;
}
.wx-finance-stat.success em{color:var(--rw-success)}
.wx-finance-stat.danger em{color:var(--rw-danger)}
.wx-chart{
  height:110px;
  display:flex;
  align-items:flex-end;
  gap:8px;
  margin-top:12px;
  padding:12px 10px 0;
  border-left:1px solid var(--rw-border);
  border-bottom:1px solid var(--rw-border);
}
.wx-chart i{
  flex:1;
  height:var(--bar,50%);
  min-width:8px;
  border-radius:4px 4px 0 0;
  background:linear-gradient(180deg,var(--rw-success),rgba(47,199,110,.22));
}
.wx-quick{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  padding:12px;
}
.wx-quick a{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:9px;
  min-height:58px;
  padding:9px;
  border:1px solid var(--rw-border);
  border-radius:9px;
  background:#111820;
  color:var(--rw-text);
  text-decoration:none;
}
.wx-quick a:hover{
  border-color:rgba(216,173,70,.35);
  background:var(--rw-surface-hover);
}
.wx-quick-icon{
  width:36px;height:36px;
  display:grid;place-items:center;
  border-radius:9px;
  background:var(--rw-info-soft);
  color:var(--rw-info);
}
.wx-quick a:nth-child(1) .wx-quick-icon{background:var(--rw-gold-soft);color:var(--rw-gold)}
.wx-quick a:nth-child(2) .wx-quick-icon{background:var(--rw-success-soft);color:var(--rw-success)}
.wx-quick a:nth-child(3) .wx-quick-icon{background:var(--rw-warning-soft);color:var(--rw-warning)}
.wx-quick a:nth-child(4) .wx-quick-icon{background:var(--rw-review-soft);color:var(--rw-review)}
.wx-quick a:nth-child(5) .wx-quick-icon{background:var(--rw-success-soft);color:var(--rw-success)}
.wx-quick a:nth-child(6) .wx-quick-icon{background:var(--rw-info-soft);color:var(--rw-info)}
.wx-quick strong{
  display:block;
  font-size:8.4px;
}
.wx-quick small{
  display:block;
  margin-top:2px;
  color:var(--rw-text-tertiary);
  font-size:7px;
}
.wx-empty{
  min-height:130px;
  display:grid;
  place-items:center;
  padding:20px;
  border:1px dashed var(--rw-border-strong);
  border-radius:10px;
  color:var(--rw-text-tertiary);
  text-align:center;
  font-size:8px;
}

@media(max-width:1400px){
  .wx-kpis{grid-template-columns:repeat(3,1fr)}
  .wx-main{grid-template-columns:1fr 1fr}
  .wx-main>.wx-section:last-child{grid-column:1/-1}
  .wx-quick{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1000px){
  .wx-hero,.wx-main,.wx-bottom{grid-template-columns:1fr}
  .wx-project-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .wx-welcome{align-items:flex-start;flex-direction:column}
  .wx-date{text-align:left}
  .wx-health{grid-template-columns:92px 1fr}
  .wx-health-ring{width:88px;height:88px}
  .wx-health-ring small{top:56px}
  .wx-kpis,.wx-project-grid,.wx-finance-grid,.wx-quick{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .wx-kpis,.wx-project-grid,.wx-finance-grid,.wx-quick{grid-template-columns:1fr}
}


/* ===== SOURCE: premium-polish-v0155.css ===== */


/* ==========================================================================
   RATING WORKSPACE 1.1.5 — BUILD 015.5 PREMIUM DESIGN POLISH
   ========================================================================== */

/* Topbar and quick create */
.rbs-topbar{
  grid-template-columns:minmax(220px,.78fr) minmax(360px,1fr) auto!important;
  gap:12px!important;
}
.rbs-topbar-actions{
  gap:8px!important;
}
.quick-wrap{
  position:relative!important;
}
.quick-menu{
  display:none!important;
  position:absolute!important;
  top:44px!important;
  right:0!important;
  z-index:1800!important;
  min-width:210px!important;
  padding:7px!important;
  border:1px solid var(--rw-border)!important;
  border-radius:11px!important;
  background:var(--rw-surface)!important;
  box-shadow:var(--rw-shadow-3)!important;
}
.quick-wrap.open .quick-menu,
.quick-menu.open{
  display:grid!important;
}
.quick-menu a{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-height:36px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  color:var(--rw-text-secondary)!important;
  text-decoration:none!important;
  font-size:8.5px!important;
  font-weight:700!important;
}
.quick-menu a:hover{
  background:var(--rw-surface-hover)!important;
  color:var(--rw-text)!important;
}
.quick-menu a svg{
  width:15px!important;height:15px!important;
  color:var(--rw-gold)!important;
}
.rbs-cloud-button{
  min-height:36px!important;
  padding-inline:10px!important;
}
.rbs-action-gold,
.enterprise-create-button{
  min-height:36px!important;
  padding-inline:13px!important;
  border-radius:9px!important;
}
.rw-workspace-badge{
  min-height:28px!important;
}

/* Remove loose blue links from topbar legacy quick menu */
.rbs-topbar-actions>a:not(.rbs-cloud-button):not(.enterprise-create-button):not(.rbs-action-gold),
.rbs-topbar-actions .quick-menu~a{
  display:none!important;
}

/* Premium header alignment */
.workspace-experience{
  gap:14px!important;
}
.wx-hero{
  gap:14px!important;
}
.wx-welcome{
  min-height:154px!important;
  padding:24px!important;
}
.wx-welcome-copy h1{
  font-size:28px!important;
  letter-spacing:-.035em!important;
}
.wx-welcome-copy p{
  color:#b2bbc3!important;
  font-size:9.5px!important;
}
.wx-date{
  min-width:184px!important;
  background:
    linear-gradient(145deg,rgba(216,173,70,.14),rgba(216,173,70,.055))!important;
}

/* KPI cards */
.wx-kpis{
  gap:10px!important;
}
.wx-kpi{
  position:relative;
  overflow:hidden;
  padding:14px!important;
}
.wx-kpi:after{
  content:"";
  position:absolute;
  right:-38px;top:-42px;
  width:100px;height:100px;
  border-radius:50%;
  background:radial-gradient(circle,currentColor 0,transparent 70%);
  opacity:.035;
  pointer-events:none;
}
.wx-kpi b{
  font-size:22px!important;
}
.wx-kpi em{
  color:#818d97!important;
}
.wx-kpi-trend{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:5px;
  font-size:7px;
  font-weight:800;
}
.wx-kpi-trend.up{color:var(--rw-success)}
.wx-kpi-trend.down{color:var(--rw-danger)}
.wx-kpi-trend.neutral{color:var(--rw-text-tertiary)}
.wx-spark{
  opacity:.8;
}

/* Icon consistency */
.wx-kpi-icon,
.wx-list-icon,
.wx-quick-icon,
.rw-icon-box,
.enterprise-icon-box{
  border:1px solid rgba(255,255,255,.055)!important;
}
.wx-kpi-icon svg,
.wx-list-icon svg,
.wx-quick-icon svg,
.rw-icon-box svg,
.enterprise-icon-box svg{
  width:17px!important;
  height:17px!important;
  stroke-width:1.8!important;
}

/* Smart advisor / priority cards */
.wx-list-item{
  min-height:50px!important;
  padding:9px!important;
}
.wx-list-item:hover{
  transform:translateX(2px);
}
.wx-list-item strong{
  font-size:8.7px!important;
}
.wx-list-item small{
  color:#7f8a94!important;
}
.wx-list-item time{
  padding:3px 6px;
  border-radius:999px;
  background:rgba(255,255,255,.035);
}

/* Timeline semantics */
.wx-timeline-item{
  border-radius:8px;
  padding:8px 5px!important;
}
.wx-timeline-item:hover{
  background:rgba(255,255,255,.025);
}
.wx-timeline-item.document .wx-timeline-dot{
  background:var(--rw-info);
  box-shadow:0 0 0 4px var(--rw-info-soft);
}
.wx-timeline-item.task .wx-timeline-dot{
  background:var(--rw-success);
  box-shadow:0 0 0 4px var(--rw-success-soft);
}
.wx-timeline-item.approval .wx-timeline-dot{
  background:var(--rw-warning);
  box-shadow:0 0 0 4px var(--rw-warning-soft);
}
.wx-timeline-item.finance .wx-timeline-dot{
  background:var(--rw-danger);
  box-shadow:0 0 0 4px var(--rw-danger-soft);
}

/* Project radar polish */
.wx-project{
  position:relative;
  padding:12px!important;
}
.wx-project:hover{
  transform:translateY(-2px);
}
.wx-project-head{
  align-items:center!important;
}
.wx-project-status{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:8px;
  padding:3px 7px;
  border-radius:999px;
  background:var(--rw-success-soft);
  color:var(--rw-success);
  font-size:7px;
  font-weight:800;
}
.wx-project.warning .wx-project-status{
  background:var(--rw-warning-soft);
  color:var(--rw-warning);
}
.wx-project.danger .wx-project-status{
  background:var(--rw-danger-soft);
  color:var(--rw-danger);
}
.wx-project-status:before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:currentColor;
}
.wx-project-meta{
  display:grid;
  grid-template-columns:1fr auto;
  gap:6px;
  margin-top:8px;
  color:#7d8993;
  font-size:7px;
}
.wx-project-owner{
  display:flex;
  align-items:center;
  gap:5px;
}
.wx-project-avatar{
  width:18px;height:18px;
  display:grid;place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,var(--rw-gold-light),var(--rw-gold));
  color:#171106;
  font-size:6.5px;
  font-weight:900;
}

/* Financial panel */
.wx-chart{
  position:relative;
  background:
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 24px,
      rgba(255,255,255,.035) 25px
    );
}
.wx-chart i{
  box-shadow:0 0 18px rgba(47,199,110,.08);
}
.wx-finance-stat{
  transition:transform .18s ease,border-color .18s ease;
}
.wx-finance-stat:hover{
  transform:translateY(-1px);
  border-color:var(--rw-border-strong);
}

/* Sidebar polish */
.rbs-nav-section-title{
  margin-top:5px!important;
  padding-top:15px!important;
  color:#626f79!important;
}
.rbs-nav .nav-item{
  min-height:38px!important;
}
.rbs-nav .nav-item:hover{
  transform:translateX(2px);
}
.rbs-nav .nav-item.active{
  box-shadow:
    inset 3px 0 0 var(--rw-gold),
    0 0 0 1px rgba(216,173,70,.04)!important;
}

/* Contrast and typography */
.wx-section-head h2{
  font-size:13.5px!important;
}
.wx-section-head small,
.wx-welcome-copy small{
  letter-spacing:.15em!important;
}
.wx-timeline-item small,
.wx-list-item small,
.wx-project small,
.wx-finance-stat small{
  color:#818d96!important;
}

/* Better spacing at bottom */
.wx-quick{
  margin-bottom:12px;
}

/* Responsive */
@media(max-width:1200px){
  .rw-workspace-badge{display:none!important}
}
@media(max-width:900px){
  .rbs-topbar{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
}


/* ===== SOURCE: premium-workspace-final-v016.css ===== */


/* ==========================================================================
   RATING WORKSPACE 1.2 — BUILD 016 PREMIUM WORKSPACE FINAL
   Final visual refinement layer above Build 015.5
   ========================================================================== */
:root{
  --rw16-bg:#0a0f14;
  --rw16-surface:#141b22;
  --rw16-surface-2:#18212a;
  --rw16-border:#2b3741;
  --rw16-border-hi:#40505d;
  --rw16-text:#f5f7f8;
  --rw16-muted:#aeb8c1;
  --rw16-dim:#74818b;
  --rw16-gold:#d9ae47;
  --rw16-gold-hi:#f0cb72;
  --rw16-success:#31cf75;
  --rw16-warning:#f2bd42;
  --rw16-danger:#f2635e;
  --rw16-info:#3db4f7;
  --rw16-purple:#a783f5;
  --rw16-shadow:0 20px 56px rgba(0,0,0,.28);
  --rw16-ease:cubic-bezier(.22,.61,.36,1);
}
body.rating-workspace{
  background:
    radial-gradient(circle at 80% -12%,rgba(61,180,247,.05),transparent 34%),
    radial-gradient(circle at 18% -8%,rgba(217,174,71,.05),transparent 30%),
    var(--rw16-bg)!important;
}

/* FINAL TOPBAR */
.rbs-topbar{
  min-height:64px!important;
  padding:0 16px!important;
  border-bottom:1px solid var(--rw16-border)!important;
  background:rgba(10,15,20,.94)!important;
  box-shadow:0 8px 30px rgba(0,0,0,.18)!important;
}
.rbs-topbar-title{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.rbs-topbar-title:before{
  content:"";
  width:30px;height:30px;
  flex:0 0 30px;
  border:1px solid rgba(217,174,71,.25);
  border-radius:9px;
  background:
    linear-gradient(145deg,rgba(217,174,71,.16),rgba(217,174,71,.03));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.rbs-topbar-title strong{
  font-size:11px!important;
  letter-spacing:-.01em!important;
}
.rbs-topbar-title small{
  color:var(--rw16-dim)!important;
  font-size:7.5px!important;
}
.rbs-topbar-search{
  height:38px!important;
  border-radius:10px!important;
  background:#0e151b!important;
  border-color:var(--rw16-border)!important;
}
.rbs-topbar-actions{
  align-items:center!important;
  gap:7px!important;
}
.rbs-topbar-actions>*{
  align-self:center!important;
}
.rbs-cloud-button,
.rbs-icon-button,
.enterprise-sidebar-toggle,
.enterprise-mobile-menu{
  min-width:36px!important;
  height:36px!important;
  border-radius:9px!important;
}
.rbs-action-gold,
.enterprise-create-button{
  height:36px!important;
  min-height:36px!important;
  padding:0 14px!important;
  border-radius:9px!important;
  box-shadow:0 8px 20px rgba(217,174,71,.16)!important;
}
.rbs-profile{
  min-height:38px!important;
  padding:3px 7px!important;
  border:1px solid transparent;
  border-radius:10px;
}
.rbs-profile:hover{
  border-color:var(--rw16-border);
  background:rgba(255,255,255,.025);
}

/* CREATE MENU */
.quick-menu{
  top:43px!important;
  min-width:228px!important;
  padding:7px!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
.quick-menu a{
  min-height:38px!important;
  padding:0 10px!important;
  border-radius:8px!important;
}
.quick-menu a:hover{
  transform:translateX(2px);
}

/* HERO GLASS */
.wx-welcome{
  border-color:rgba(217,174,71,.22)!important;
  background:
    linear-gradient(120deg,rgba(217,174,71,.07),transparent 34%),
    linear-gradient(145deg,rgba(255,255,255,.025),transparent 50%),
    rgba(20,27,34,.92)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.028),
    0 18px 52px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(16px);
}
.wx-welcome:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  border-radius:14px 0 0 14px;
  background:linear-gradient(var(--rw16-gold-hi),var(--rw16-gold));
}
.wx-welcome-copy h1{
  color:var(--rw16-text)!important;
  font-size:29px!important;
}
.wx-welcome-copy p{
  max-width:720px!important;
  color:var(--rw16-muted)!important;
}
.wx-date{
  border-color:rgba(217,174,71,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

/* BUSINESS HEALTH */
.wx-health{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.022),
    0 14px 38px rgba(0,0,0,.18)!important;
}
.wx-health-ring{
  box-shadow:0 0 0 1px rgba(255,255,255,.03),0 0 30px rgba(49,207,117,.08);
}
.wx-health-copy p{
  color:var(--rw16-muted)!important;
}

/* KPI FINAL */
.wx-kpi{
  min-height:136px!important;
  border-color:var(--rw16-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
}
.wx-kpi:hover{
  transform:translateY(-3px)!important;
  border-color:var(--rw16-border-hi)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.2)!important;
}
.wx-kpi b{
  color:var(--rw16-text)!important;
  font-size:24px!important;
  letter-spacing:-.025em;
}
.wx-kpi-icon{
  width:32px!important;height:32px!important;
  border-radius:9px!important;
}
.wx-kpi-trend{
  width:max-content;
  min-height:19px;
  padding:0 6px;
  border-radius:999px;
}
.wx-kpi-trend.up{background:rgba(49,207,117,.1)}
.wx-kpi-trend.down{background:rgba(242,99,94,.1)}
.wx-kpi-trend.neutral{background:rgba(255,255,255,.045)}
.wx-spark i{
  border-radius:2px 2px 0 0!important;
}

/* PANELS */
.wx-panel{
  border-color:var(--rw16-border)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.015),transparent 44%),
    var(--rw16-surface)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
}
.wx-section{
  padding:17px!important;
}
.wx-section-head{
  margin-bottom:13px!important;
}
.wx-section-head h2{
  color:var(--rw16-text)!important;
}
.wx-section-head a{
  min-height:24px;
  display:inline-flex;
  align-items:center;
  padding:0 6px;
  border-radius:6px;
}
.wx-section-head a:hover{
  background:rgba(217,174,71,.08);
}

/* LIST CARDS */
.wx-list{
  gap:8px!important;
}
.wx-list-item{
  border-color:var(--rw16-border)!important;
  background:#111920!important;
}
.wx-list-item:hover{
  border-color:var(--rw16-border-hi)!important;
  background:var(--rw16-surface-2)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.13);
}
.wx-list-item strong{
  color:#edf1f3!important;
}
.wx-list-item small{
  color:#8e9aa4!important;
}

/* ACTIVITY TIMELINE */
.wx-timeline{
  position:relative;
}
.wx-timeline-item{
  grid-template-columns:38px 14px minmax(0,1fr)!important;
  min-height:44px;
  color:var(--rw16-text);
  text-decoration:none;
}
.wx-timeline-item:not(:last-child):after{
  left:44px!important;
  top:24px!important;
  background:linear-gradient(var(--rw16-border-hi),var(--rw16-border))!important;
}
.wx-timeline-dot{
  width:9px!important;height:9px!important;
  margin-top:4px!important;
}
.wx-timeline-item strong{
  color:#edf1f3!important;
}
.wx-timeline-item small{
  color:#8b97a1!important;
}

/* PROJECT RADAR */
.wx-project-grid{
  gap:10px!important;
}
.wx-project{
  min-height:148px;
  border-color:var(--rw16-border)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.016),transparent 50%),
    #111920!important;
}
.wx-project:hover{
  transform:translateY(-3px)!important;
  border-color:var(--rw16-border-hi)!important;
  box-shadow:0 16px 36px rgba(0,0,0,.19);
}
.wx-project-head strong{
  color:#eef2f4!important;
  font-size:9px!important;
}
.wx-progress{
  height:7px!important;
  background:#29333c!important;
}
.wx-project-status{
  min-height:21px;
  padding:0 7px!important;
}
.wx-project-meta{
  margin-top:10px!important;
  color:#84919b!important;
}
.wx-project-avatar{
  box-shadow:0 4px 12px rgba(217,174,71,.16);
}

/* FINANCE */
.wx-finance-grid{
  gap:9px!important;
}
.wx-finance-stat{
  min-height:66px;
  border-color:var(--rw16-border)!important;
}
.wx-finance-stat b{
  color:#f0f3f5!important;
  font-size:13px!important;
}
.wx-chart{
  height:120px!important;
  border-color:var(--rw16-border)!important;
  background:
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 27px,
      rgba(255,255,255,.042) 28px
    )!important;
}
.wx-chart i{
  position:relative;
  background:
    linear-gradient(180deg,#42df82 0%,#24a95e 100%)!important;
  box-shadow:0 0 20px rgba(49,207,117,.11)!important;
}
.wx-chart i:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg,rgba(255,255,255,.15),transparent 45%);
}

/* QUICK ACTIONS */
.wx-quick{
  gap:9px!important;
  padding:13px!important;
}
.wx-quick a{
  min-height:62px!important;
  border-color:var(--rw16-border)!important;
}
.wx-quick a:hover{
  transform:translateY(-2px);
  border-color:rgba(217,174,71,.36)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.16);
}

/* SIDEBAR */
.rbs-sidebar{
  box-shadow:14px 0 36px rgba(0,0,0,.16)!important;
}
.rbs-nav .nav-item{
  color:#a4afb8!important;
}
.rbs-nav .nav-item:hover{
  color:#f0f2f4!important;
}
.rbs-nav .nav-item.active{
  color:var(--rw16-gold-hi)!important;
}
.rbs-nav-section-title{
  letter-spacing:.17em!important;
}

/* MODALS, TABLES, STATUS */
dialog,.modal,.drawer{
  border-color:var(--rw16-border-hi)!important;
  background:var(--rw16-surface)!important;
}
table{
  border-color:var(--rw16-border)!important;
}
thead th{
  color:#9ca7b0!important;
}
tbody tr:hover{
  background:#19222a!important;
}
.status-badge,.enterprise-status,.rw-status{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

/* RESPONSIVE FINAL */
@media(max-width:1180px){
  .rbs-topbar-title:before{display:none}
  .wx-kpi{min-height:128px!important}
}
@media(max-width:760px){
  .wx-welcome{padding:20px!important}
  .wx-welcome-copy h1{font-size:24px!important}
  .wx-project{min-height:auto}
}


/* ===== SOURCE: ultimate-workspace-v017.css ===== */


/* ==========================================================================
   RATING WORKSPACE 2.0 — BUILD 017 ULTIMATE WORKSPACE
   New global visual foundation above Build 016
   ========================================================================== */
:root{
  --uw-bg:#090d12;
  --uw-bg-soft:#0d1319;
  --uw-sidebar:#0b1016;
  --uw-surface:#131a21;
  --uw-surface-2:#172029;
  --uw-surface-3:#1c2731;
  --uw-border:#293640;
  --uw-border-strong:#41515d;
  --uw-text:#f4f7f9;
  --uw-text-2:#aeb9c2;
  --uw-text-3:#74828d;
  --uw-gold:#d9ae47;
  --uw-gold-hi:#f2cd73;
  --uw-green:#32cf76;
  --uw-yellow:#f2bd42;
  --uw-red:#f26560;
  --uw-blue:#3eb6f7;
  --uw-purple:#a786f4;
  --uw-radius:14px;
  --uw-shadow:0 20px 64px rgba(0,0,0,.28);
  --uw-ease:cubic-bezier(.22,.61,.36,1);
}
body.ultimate-workspace-ready{
  background:
    radial-gradient(circle at 85% -10%,rgba(62,182,247,.055),transparent 34%),
    radial-gradient(circle at 16% -8%,rgba(217,174,71,.052),transparent 31%),
    var(--uw-bg)!important;
  color:var(--uw-text)!important;
}

/* GLOBAL SHELL */
body.ultimate-workspace-ready .rbs-sidebar{
  background:
    linear-gradient(180deg,rgba(217,174,71,.026),transparent 20%),
    var(--uw-sidebar)!important;
  border-color:var(--uw-border)!important;
  box-shadow:18px 0 50px rgba(0,0,0,.22)!important;
}
body.ultimate-workspace-ready .rbs-topbar{
  min-height:66px!important;
  border-color:var(--uw-border)!important;
  background:rgba(9,13,18,.94)!important;
  backdrop-filter:blur(18px);
  box-shadow:0 10px 34px rgba(0,0,0,.2)!important;
}
body.ultimate-workspace-ready .workspace>main{
  max-width:1840px!important;
  padding:22px 22px 52px!important;
}
body.ultimate-workspace-ready .workspace-experience{
  gap:14px!important;
}

/* SIDEBAR */
.rbs-brand{
  min-height:82px!important;
  border-bottom:1px solid rgba(255,255,255,.035);
}
.rbs-brandmark{
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
}
.rbs-brandcopy strong{
  font-size:12px!important;
  letter-spacing:.18em!important;
}
.rbs-brandcopy small{
  color:var(--uw-gold)!important;
  font-size:7px!important;
  letter-spacing:.15em!important;
}
.rbs-nav{
  padding-top:12px!important;
}
.rbs-nav-section-title{
  padding:17px 11px 7px!important;
  color:#61707b!important;
  font-size:6.8px!important;
  letter-spacing:.19em!important;
}
.rbs-nav .nav-item{
  min-height:40px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  color:#9fabb4!important;
}
.rbs-nav .nav-item:hover{
  color:#eef2f4!important;
  border-color:rgba(255,255,255,.04)!important;
  background:var(--uw-surface)!important;
  transform:translateX(2px);
}
.rbs-nav .nav-item.active{
  color:var(--uw-gold-hi)!important;
  border-color:rgba(217,174,71,.25)!important;
  background:
    linear-gradient(90deg,rgba(217,174,71,.16),rgba(217,174,71,.035))!important;
  box-shadow:inset 3px 0 0 var(--uw-gold)!important;
}
.rbs-nav .rbs-icon svg{
  width:17px!important;
  height:17px!important;
  stroke-width:1.8!important;
}

/* TOPBAR */
.rbs-topbar{
  grid-template-columns:minmax(220px,.75fr) minmax(340px,1fr) auto!important;
  gap:12px!important;
  padding:0 16px!important;
}
.rbs-topbar-title{
  min-width:0;
}
.rbs-topbar-title strong{
  color:var(--uw-text)!important;
  font-size:11px!important;
}
.rbs-topbar-title small{
  color:var(--uw-text-3)!important;
}
.rbs-topbar-search{
  height:39px!important;
  border:1px solid var(--uw-border)!important;
  border-radius:10px!important;
  background:#0d141a!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
.rbs-topbar-search:focus-within{
  border-color:rgba(62,182,247,.46)!important;
  box-shadow:0 0 0 3px rgba(62,182,247,.08)!important;
}
.rbs-topbar-actions{
  gap:7px!important;
}
.rbs-cloud-button,
.rbs-icon-button,
.enterprise-sidebar-toggle,
.enterprise-mobile-menu{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  border-radius:9px!important;
}
.rbs-action-gold,
.enterprise-create-button{
  height:36px!important;
  min-height:36px!important;
  border-radius:9px!important;
  padding-inline:14px!important;
}
.rbs-profile{
  min-height:39px!important;
  padding:3px 8px!important;
  border:1px solid transparent;
  border-radius:10px;
}
.rbs-profile:hover{
  border-color:var(--uw-border);
  background:rgba(255,255,255,.025);
}

/* HERO */
.wx-hero{
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)!important;
  gap:14px!important;
}
.wx-welcome,
.wx-health{
  min-height:162px!important;
  border-radius:var(--uw-radius)!important;
}
.wx-welcome{
  position:relative;
  overflow:hidden;
  padding:25px!important;
  border-color:rgba(217,174,71,.23)!important;
  background:
    linear-gradient(120deg,rgba(217,174,71,.075),transparent 36%),
    linear-gradient(150deg,rgba(255,255,255,.022),transparent 55%),
    rgba(19,26,33,.95)!important;
  box-shadow:var(--uw-shadow)!important;
}
.wx-welcome:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(var(--uw-gold-hi),var(--uw-gold));
}
.wx-welcome-copy h1{
  margin-top:8px!important;
  color:var(--uw-text)!important;
  font-size:30px!important;
  letter-spacing:-.04em!important;
}
.wx-welcome-copy p{
  color:var(--uw-text-2)!important;
  font-size:9.7px!important;
}
.wx-date{
  min-width:190px!important;
  border-color:rgba(217,174,71,.24)!important;
  background:linear-gradient(145deg,rgba(217,174,71,.15),rgba(217,174,71,.055))!important;
}
.wx-health{
  box-shadow:0 18px 54px rgba(0,0,0,.2)!important;
}
.wx-health-copy h2{
  color:var(--uw-text)!important;
}
.wx-health-copy p{
  color:var(--uw-text-2)!important;
}

/* KPI GRID */
.wx-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
}
.wx-kpi{
  min-height:140px!important;
  padding:15px!important;
  border-radius:12px!important;
  border-color:var(--uw-border)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.018),transparent 48%),
    var(--uw-surface)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
}
.wx-kpi:hover{
  transform:translateY(-3px)!important;
  border-color:var(--uw-border-strong)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.2)!important;
}
.wx-kpi b{
  color:var(--uw-text)!important;
  font-size:24px!important;
  letter-spacing:-.03em!important;
}
.wx-kpi em{
  color:var(--uw-text-3)!important;
}
.wx-kpi-trend{
  min-height:19px!important;
  padding:0 6px!important;
  border-radius:999px!important;
}

/* MAIN DASHBOARD GRID */
.wx-main{
  grid-template-columns:1.15fr 1fr .8fr!important;
  gap:14px!important;
}
.wx-bottom{
  grid-template-columns:1.25fr 1fr!important;
  gap:14px!important;
}
.wx-panel{
  border-radius:var(--uw-radius)!important;
  border-color:var(--uw-border)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.015),transparent 48%),
    var(--uw-surface)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
}
.wx-section{
  padding:17px!important;
}
.wx-section-head h2{
  color:var(--uw-text)!important;
}
.wx-section-head small{
  color:var(--uw-gold)!important;
}
.wx-section-head a{
  color:var(--uw-gold-hi)!important;
}

/* LISTS */
.wx-list{
  gap:8px!important;
}
.wx-list-item{
  min-height:51px!important;
  padding:9px!important;
  border-color:var(--uw-border)!important;
  background:#101820!important;
}
.wx-list-item:hover{
  border-color:var(--uw-border-strong)!important;
  background:var(--uw-surface-2)!important;
  box-shadow:0 9px 26px rgba(0,0,0,.14);
}
.wx-list-item strong{
  color:#edf2f4!important;
}
.wx-list-item small{
  color:#8e9ba5!important;
}
.wx-list-item time{
  color:#9aa5ad!important;
  background:rgba(255,255,255,.035)!important;
}

/* TIMELINE */
.wx-timeline-item{
  min-height:45px!important;
  border-radius:8px!important;
}
.wx-timeline-item:hover{
  background:rgba(255,255,255,.024)!important;
}
.wx-timeline-item:not(:last-child):after{
  background:linear-gradient(var(--uw-border-strong),var(--uw-border))!important;
}
.wx-timeline-item strong{
  color:#eef2f4!important;
}
.wx-timeline-item small{
  color:#8d99a3!important;
}

/* PROJECT RADAR */
.wx-project-grid{
  gap:10px!important;
}
.wx-project{
  min-height:152px!important;
  padding:12px!important;
  border-color:var(--uw-border)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.016),transparent 50%),
    #101820!important;
}
.wx-project:hover{
  transform:translateY(-3px)!important;
  border-color:var(--uw-border-strong)!important;
  box-shadow:0 17px 38px rgba(0,0,0,.2);
}
.wx-project-head strong{
  color:#eef2f4!important;
}
.wx-progress{
  height:7px!important;
  background:#293640!important;
}
.wx-project-meta{
  color:#84929d!important;
}

/* FINANCE */
.wx-finance-stat{
  border-color:var(--uw-border)!important;
  background:#101820!important;
}
.wx-finance-stat:hover{
  border-color:var(--uw-border-strong)!important;
}
.wx-finance-stat b{
  color:#f0f4f6!important;
}
.wx-chart{
  height:122px!important;
  border-color:var(--uw-border)!important;
  background:
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 27px,
      rgba(255,255,255,.04) 28px
    )!important;
}
.wx-chart i{
  background:linear-gradient(180deg,#45df85,#25a95e)!important;
}

/* QUICK ACTIONS */
.wx-quick{
  gap:9px!important;
  padding:13px!important;
}
.wx-quick a{
  min-height:64px!important;
  border-color:var(--uw-border)!important;
  background:#101820!important;
}
.wx-quick a:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(217,174,71,.36)!important;
  background:var(--uw-surface-2)!important;
  box-shadow:0 13px 30px rgba(0,0,0,.16);
}

/* GLOBAL COMPONENTS */
.card,.panel,.module-card,.dpc-card,.final-panel{
  border-color:var(--uw-border)!important;
  background:var(--uw-surface)!important;
}
button,.btn,.button,a.btn,a.button{
  border-radius:9px!important;
}
input,select,textarea{
  border-color:var(--uw-border)!important;
  background:#0d141a!important;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(62,182,247,.48)!important;
  box-shadow:0 0 0 3px rgba(62,182,247,.08)!important;
}
table{
  border-color:var(--uw-border)!important;
}
thead th{
  color:#9ba7b0!important;
  background:#151e26!important;
}
tbody tr:hover{
  background:#19232c!important;
}
dialog,.modal,.drawer,.popover,.dropdown-menu,.quick-menu{
  border-color:var(--uw-border-strong)!important;
  background:var(--uw-surface)!important;
  box-shadow:0 28px 88px rgba(0,0,0,.45)!important;
}

/* RESPONSIVE */
@media(max-width:1450px){
  .wx-kpis{grid-template-columns:repeat(3,1fr)!important}
  .wx-main{grid-template-columns:1fr 1fr!important}
  .wx-main>.wx-section:last-child{grid-column:1/-1!important}
}
@media(max-width:1050px){
  .wx-hero,.wx-main,.wx-bottom{grid-template-columns:1fr!important}
  .wx-project-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:760px){
  body.ultimate-workspace-ready .workspace>main{
    padding:12px 8px 84px!important;
  }
  .wx-kpis,.wx-project-grid,.wx-finance-grid,.wx-quick{
    grid-template-columns:1fr!important;
  }
  .wx-welcome{
    padding:20px!important;
  }
  .wx-welcome-copy h1{
    font-size:24px!important;
  }
}


/* ===== SOURCE: global-layout-v0175.css ===== */


/* ==========================================================================
   RATING WORKSPACE 2.0.5 — BUILD 017.5 GLOBAL LAYOUT SYSTEM
   Pixel alignment and invariant shell across all modules.
   ========================================================================== */
:root{
  --gl-sidebar-expanded:224px;
  --gl-sidebar-collapsed:72px;
  --gl-topbar-height:66px;
  --gl-page-max:1840px;
  --gl-page-gutter:24px;
  --gl-section-gap:16px;
  --gl-control-height:38px;
  --gl-card-radius:12px;
  --gl-ease:cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   INVARIANT GLOBAL SHELL
   -------------------------------------------------------------------------- */
body.global-layout-ready{
  --sidew:var(--gl-sidebar-expanded);
}
body.global-layout-ready.sidebar-collapsed{
  --sidew:var(--gl-sidebar-collapsed);
}
body.global-layout-ready .rbs-sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:var(--sidew)!important;
  min-width:var(--sidew)!important;
  max-width:var(--sidew)!important;
  height:100vh!important;
  transform:none;
  z-index:1000!important;
  transition:width .2s var(--gl-ease)!important;
}
body.global-layout-ready .rbs-topbar{
  position:fixed!important;
  top:0!important;
  right:0!important;
  left:var(--sidew)!important;
  width:auto!important;
  height:var(--gl-topbar-height)!important;
  min-height:var(--gl-topbar-height)!important;
  margin:0!important;
  z-index:900!important;
  transition:left .2s var(--gl-ease)!important;
}
body.global-layout-ready .workspace{
  width:100%!important;
  min-height:100vh!important;
  padding-top:var(--gl-topbar-height)!important;
  padding-left:var(--sidew)!important;
  transition:padding-left .2s var(--gl-ease)!important;
}
body.global-layout-ready .workspace>main,
body.global-layout-ready main.module-main,
body.global-layout-ready main.project-main{
  width:100%!important;
  max-width:var(--gl-page-max)!important;
  margin:0 auto!important;
  padding:
    var(--gl-page-gutter)
    var(--gl-page-gutter)
    56px!important;
}

/* Remove old module-level shell offsets which caused page jumping. */
body.global-layout-ready .module-main,
body.global-layout-ready .project-main,
body.global-layout-ready .command-center-page,
body.global-layout-ready .projects-page,
body.global-layout-ready .projects-center,
body.global-layout-ready .dpc-shell,
body.global-layout-ready .project-layout-foundation{
  margin-left:0!important;
  left:auto!important;
  width:100%!important;
  max-width:none!important;
}

/* --------------------------------------------------------------------------
   TOPBAR: ONE AXIS, ONE HEIGHT
   -------------------------------------------------------------------------- */
body.global-layout-ready .rbs-topbar{
  display:grid!important;
  grid-template-columns:
    minmax(220px,.72fr)
    minmax(340px,1fr)
    auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 18px!important;
}
body.global-layout-ready .rbs-topbar>*{
  align-self:center!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.global-layout-ready .rbs-topbar-title{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
body.global-layout-ready .rbs-topbar-search{
  width:100%!important;
  height:var(--gl-control-height)!important;
  min-height:var(--gl-control-height)!important;
  margin:0!important;
}
body.global-layout-ready .rbs-topbar-actions{
  height:var(--gl-control-height)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  margin:0!important;
  white-space:nowrap;
}
body.global-layout-ready .rbs-topbar-actions>*{
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  align-self:center!important;
}
body.global-layout-ready .quick-wrap{
  height:36px!important;
  display:flex!important;
  align-items:center!important;
}
body.global-layout-ready .rbs-profile{
  display:flex!important;
  align-items:center!important;
}
body.global-layout-ready .build-pill,
body.global-layout-ready .rw-workspace-badge{
  flex:0 0 auto;
}

/* Hide legacy free-floating topbar content, but preserve valid controls. */
body.global-layout-ready .rbs-topbar-actions>a:not(
  .rbs-cloud-button
):not(
  .enterprise-create-button
):not(
  .rbs-action-gold
){
  display:none!important;
}

/* --------------------------------------------------------------------------
   SIDEBAR: IDENTICAL BETWEEN ALL MODULES
   -------------------------------------------------------------------------- */
body.global-layout-ready .rbs-brand{
  height:82px!important;
  min-height:82px!important;
  padding:14px 12px!important;
}
body.global-layout-ready .rbs-nav{
  padding:12px 9px 18px!important;
}
body.global-layout-ready .rbs-nav-section-title{
  min-height:30px!important;
  margin:0!important;
  padding:16px 11px 6px!important;
}
body.global-layout-ready .rbs-nav .nav-item{
  width:100%!important;
  min-height:40px!important;
  margin:2px 0!important;
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
body.global-layout-ready .rbs-nav .nav-item .rbs-icon{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
}
body.global-layout-ready .rbs-user{
  min-height:66px!important;
  padding:10px 12px!important;
}
body.global-layout-ready.sidebar-collapsed .rbs-nav .nav-item{
  justify-content:center!important;
  padding-inline:0!important;
}

/* --------------------------------------------------------------------------
   UNIVERSAL CONTENT GRID
   -------------------------------------------------------------------------- */
body.global-layout-ready .workspace-experience,
body.global-layout-ready .projects-page,
body.global-layout-ready .projects-center,
body.global-layout-ready .project-center,
body.global-layout-ready .module-content{
  width:100%!important;
  display:grid;
  align-content:start;
  gap:var(--gl-section-gap)!important;
}
body.global-layout-ready .workspace-experience>*,
body.global-layout-ready .projects-page>*,
body.global-layout-ready .projects-center>*,
body.global-layout-ready .project-center>*{
  min-width:0;
}
body.global-layout-ready .wx-hero,
body.global-layout-ready .wx-kpis,
body.global-layout-ready .wx-main,
body.global-layout-ready .wx-bottom{
  margin:0!important;
}

/* --------------------------------------------------------------------------
   PROJECTS MODULE ALIGNMENT
   -------------------------------------------------------------------------- */
body.global-layout-ready.projects-module .workspace>main,
body.global-layout-ready.projects-module main.module-main{
  padding-top:26px!important;
}

/* Header/summary cards align to the same page edges. */
body.global-layout-ready .projects-summary,
body.global-layout-ready .project-summary-grid,
body.global-layout-ready .projects-kpis,
body.global-layout-ready .projects-toolbar,
body.global-layout-ready .projects-year-group,
body.global-layout-ready .project-cards-grid,
body.global-layout-ready .projects-grid,
body.global-layout-ready [data-projects-summary],
body.global-layout-ready [data-projects-toolbar]{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Four project summary cards. */
body.global-layout-ready .projects-summary,
body.global-layout-ready .project-summary-grid,
body.global-layout-ready .projects-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
body.global-layout-ready .projects-summary>*,
body.global-layout-ready .project-summary-grid>*,
body.global-layout-ready .projects-kpis>*{
  min-height:70px!important;
  height:100%!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
}

/* Filter bar: stable two-row grid on large screens. */
body.global-layout-ready .projects-toolbar,
body.global-layout-ready .project-filter-toolbar,
body.global-layout-ready .filters-panel,
body.global-layout-ready .projects-filters{
  display:grid!important;
  grid-template-columns:
    minmax(280px,1.7fr)
    repeat(5,minmax(120px,.62fr))
    auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:12px!important;
}
body.global-layout-ready .projects-toolbar input,
body.global-layout-ready .projects-toolbar select,
body.global-layout-ready .project-filter-toolbar input,
body.global-layout-ready .project-filter-toolbar select,
body.global-layout-ready .filters-panel input,
body.global-layout-ready .filters-panel select,
body.global-layout-ready .projects-filters input,
body.global-layout-ready .projects-filters select{
  width:100%!important;
  height:var(--gl-control-height)!important;
  min-height:var(--gl-control-height)!important;
  margin:0!important;
}
body.global-layout-ready .projects-toolbar .view-toggle,
body.global-layout-ready .project-filter-toolbar .view-toggle,
body.global-layout-ready .projects-filters .view-toggle{
  height:var(--gl-control-height)!important;
  display:flex!important;
  align-items:center!important;
}
body.global-layout-ready .projects-toolbar .create-project,
body.global-layout-ready .project-filter-toolbar .create-project,
body.global-layout-ready .projects-filters .create-project,
body.global-layout-ready .projects-toolbar .primary,
body.global-layout-ready .project-filter-toolbar .primary{
  grid-column:1 / span 1;
  width:100%!important;
  height:var(--gl-control-height)!important;
  margin:0!important;
}

/* Common fallback based on controls visible in the Projects toolbar. */
body.global-layout-ready.projects-module .enterprise-table-toolbar,
body.global-layout-ready.projects-module .toolbar,
body.global-layout-ready.projects-module .filter-bar{
  align-items:center!important;
}
body.global-layout-ready.projects-module .enterprise-table-toolbar>*,
body.global-layout-ready.projects-module .toolbar>*,
body.global-layout-ready.projects-module .filter-bar>*{
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Year heading. */
body.global-layout-ready .projects-year-header,
body.global-layout-ready .year-header,
body.global-layout-ready .projects-year-group>header{
  min-height:52px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:0!important;
  margin:0!important;
  border-bottom:1px solid rgba(255,255,255,.055);
}
body.global-layout-ready .projects-year-header h2,
body.global-layout-ready .year-header h2{
  margin:0!important;
}

/* Three equal project cards. */
body.global-layout-ready .project-cards-grid,
body.global-layout-ready .projects-grid,
body.global-layout-ready .project-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
body.global-layout-ready .project-card,
body.global-layout-ready .project-pro-card,
body.global-layout-ready .project-cards-grid>article,
body.global-layout-ready .project-cards-grid>a,
body.global-layout-ready .projects-grid>article,
body.global-layout-ready .projects-grid>a{
  height:100%!important;
  min-height:408px!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:var(--gl-card-radius)!important;
}
body.global-layout-ready .project-card>*,
body.global-layout-ready .project-pro-card>*{
  flex-shrink:0;
}
body.global-layout-ready .project-card .project-actions,
body.global-layout-ready .project-pro-card .project-actions,
body.global-layout-ready .project-card footer,
body.global-layout-ready .project-pro-card footer{
  margin-top:auto!important;
  padding-top:12px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
body.global-layout-ready .project-card .project-actions>*,
body.global-layout-ready .project-pro-card .project-actions>*,
body.global-layout-ready .project-card footer>*,
body.global-layout-ready .project-pro-card footer>*{
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
}
body.global-layout-ready .project-card .progress,
body.global-layout-ready .project-pro-card .progress,
body.global-layout-ready .project-card .progress-bar,
body.global-layout-ready .project-pro-card .progress-bar{
  height:7px!important;
  margin-top:8px!important;
  margin-bottom:10px!important;
}

/* Generic card normalization for current project page markup. */
body.global-layout-ready.projects-module article{
  box-sizing:border-box;
}
body.global-layout-ready.projects-module article>header{
  min-height:40px;
}
body.global-layout-ready.projects-module article button,
body.global-layout-ready.projects-module article .btn,
body.global-layout-ready.projects-module article a.button{
  height:38px!important;
  min-height:38px!important;
}

/* --------------------------------------------------------------------------
   CARD AND CONTROL RHYTHM
   -------------------------------------------------------------------------- */
body.global-layout-ready .card,
body.global-layout-ready .panel,
body.global-layout-ready .module-card,
body.global-layout-ready .dpc-card,
body.global-layout-ready .wx-panel{
  border-radius:var(--gl-card-radius)!important;
}
body.global-layout-ready button,
body.global-layout-ready .btn,
body.global-layout-ready .button,
body.global-layout-ready input,
body.global-layout-ready select{
  min-height:var(--gl-control-height);
}
body.global-layout-ready h1,
body.global-layout-ready h2,
body.global-layout-ready h3,
body.global-layout-ready p{
  margin-top:0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media(max-width:1450px){
  body.global-layout-ready .projects-toolbar,
  body.global-layout-ready .project-filter-toolbar,
  body.global-layout-ready .filters-panel,
  body.global-layout-ready .projects-filters{
    grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(120px,.7fr)) auto!important;
  }
  body.global-layout-ready .project-cards-grid,
  body.global-layout-ready .projects-grid,
  body.global-layout-ready .project-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:1000px){
  body.global-layout-ready{
    --sidew:0px;
    --gl-page-gutter:16px;
  }
  body.global-layout-ready .rbs-sidebar{
    width:min(290px,86vw)!important;
    min-width:0!important;
    max-width:none!important;
    transform:translateX(-105%)!important;
  }
  body.global-layout-ready.mobile-sidebar-open .rbs-sidebar{
    transform:translateX(0)!important;
  }
  body.global-layout-ready .projects-summary,
  body.global-layout-ready .project-summary-grid,
  body.global-layout-ready .projects-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.global-layout-ready .projects-toolbar,
  body.global-layout-ready .project-filter-toolbar,
  body.global-layout-ready .filters-panel,
  body.global-layout-ready .projects-filters{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.global-layout-ready .projects-toolbar>*,
  body.global-layout-ready .project-filter-toolbar>*,
  body.global-layout-ready .filters-panel>*,
  body.global-layout-ready .projects-filters>*{
    grid-column:auto!important;
  }
}
@media(max-width:680px){
  body.global-layout-ready{
    --gl-page-gutter:10px;
  }
  body.global-layout-ready .projects-summary,
  body.global-layout-ready .project-summary-grid,
  body.global-layout-ready .projects-kpis,
  body.global-layout-ready .projects-toolbar,
  body.global-layout-ready .project-filter-toolbar,
  body.global-layout-ready .filters-panel,
  body.global-layout-ready .projects-filters,
  body.global-layout-ready .project-cards-grid,
  body.global-layout-ready .projects-grid,
  body.global-layout-ready .project-grid{
    grid-template-columns:1fr!important;
  }
  body.global-layout-ready .project-card,
  body.global-layout-ready .project-pro-card,
  body.global-layout-ready .project-cards-grid>article,
  body.global-layout-ready .project-cards-grid>a,
  body.global-layout-ready .projects-grid>article,
  body.global-layout-ready .projects-grid>a{
    min-height:auto!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.global-layout-ready .rbs-sidebar,
  body.global-layout-ready .rbs-topbar,
  body.global-layout-ready .workspace{
    transition:none!important;
  }
}


/* ===== SOURCE: layout-hotfix-v0176.css ===== */


/* ==========================================================================
   RATING WORKSPACE 2.0.6 — BUILD 017.6 LAYOUT HOTFIX
   Fixes project-card verification and final module alignment.
   ========================================================================== */

/* Explicit selector required by the layout system and verifier. */
.global-project-card{
  box-sizing:border-box;
  width:100%;
  height:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-self:stretch;
}

/* Final shell consistency. */
body.global-layout-ready{
  --gl-page-gutter:24px;
}
body.global-layout-ready .workspace>main,
body.global-layout-ready main.module-main,
body.global-layout-ready main.project-main{
  box-sizing:border-box!important;
  width:min(100%,var(--gl-page-max))!important;
  margin-inline:auto!important;
}
body.global-layout-ready .rbs-sidebar,
body.global-layout-ready .rbs-topbar,
body.global-layout-ready .workspace{
  box-sizing:border-box!important;
}

/* Keep sidebar visually identical between modules. */
body.global-layout-ready .rbs-sidebar{
  overflow:hidden!important;
}
body.global-layout-ready .rbs-nav{
  width:100%!important;
}
body.global-layout-ready .rbs-nav .nav-item{
  box-sizing:border-box!important;
}
body.global-layout-ready .rbs-brand,
body.global-layout-ready .rbs-user{
  width:100%!important;
}

/* Projects page: align summary, toolbar, year title, and cards. */
body.global-layout-ready.projects-module .global-projects-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-content:start!important;
  gap:16px!important;
}
body.global-layout-ready.projects-module .global-projects-main>*{
  min-width:0!important;
  margin-inline:0!important;
}
body.global-layout-ready.projects-module .global-projects-toolbar{
  box-sizing:border-box!important;
  width:100%!important;
}

/* Stable project KPI layout. */
body.global-layout-ready.projects-module .projects-summary,
body.global-layout-ready.projects-module .project-summary-grid,
body.global-layout-ready.projects-module .projects-kpis{
  grid-auto-rows:1fr!important;
}
body.global-layout-ready.projects-module .projects-summary>*,
body.global-layout-ready.projects-module .project-summary-grid>*,
body.global-layout-ready.projects-module .projects-kpis>*{
  box-sizing:border-box!important;
  min-width:0!important;
  padding:16px!important;
}

/* Toolbar refinements for the actual Projects view. */
body.global-layout-ready.projects-module .global-projects-toolbar{
  display:grid!important;
  grid-template-columns:
    minmax(280px,1.8fr)
    repeat(5,minmax(108px,.62fr))
    auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:12px!important;
}
body.global-layout-ready.projects-module .global-projects-toolbar>*{
  min-width:0!important;
  margin:0!important;
}
body.global-layout-ready.projects-module .global-projects-toolbar input,
body.global-layout-ready.projects-module .global-projects-toolbar select,
body.global-layout-ready.projects-module .global-projects-toolbar button,
body.global-layout-ready.projects-module .global-projects-toolbar .btn,
body.global-layout-ready.projects-module .global-projects-toolbar .button{
  height:38px!important;
  min-height:38px!important;
}
body.global-layout-ready.projects-module .global-projects-toolbar .create-project,
body.global-layout-ready.projects-module .global-projects-toolbar .primary{
  grid-column:1 / span 1!important;
  width:100%!important;
}

/* Ensure cards are truly equal height even when content differs. */
body.global-layout-ready.projects-module .global-project-card{
  min-height:408px!important;
  padding:16px!important;
  border-radius:12px!important;
}
body.global-layout-ready.projects-module .global-project-card>header{
  min-height:72px!important;
}
body.global-layout-ready.projects-module .global-project-card .project-title,
body.global-layout-ready.projects-module .global-project-card h2,
body.global-layout-ready.projects-module .global-project-card h3{
  margin-bottom:5px!important;
}
body.global-layout-ready.projects-module .global-project-card .progress,
body.global-layout-ready.projects-module .global-project-card .progress-bar{
  flex:0 0 auto!important;
}
body.global-layout-ready.projects-module .global-project-card .global-project-actions,
body.global-layout-ready.projects-module .global-project-card .project-actions,
body.global-layout-ready.projects-module .global-project-card footer{
  width:100%!important;
  margin-top:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
}
body.global-layout-ready.projects-module .global-project-card .global-project-actions>*,
body.global-layout-ready.projects-module .global-project-card .project-actions>*,
body.global-layout-ready.projects-module .global-project-card footer>*{
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
}

/* Align year header with card edges. */
body.global-layout-ready.projects-module .projects-year-header,
body.global-layout-ready.projects-module .year-header,
body.global-layout-ready.projects-module .projects-year-group>header{
  padding-inline:0!important;
  margin-inline:0!important;
}

/* Avoid changing sidebar width while navigating or during late JS rendering. */
body.global-layout-ready:not(.sidebar-collapsed){
  --sidew:var(--gl-sidebar-expanded)!important;
}
body.global-layout-ready.sidebar-collapsed{
  --sidew:var(--gl-sidebar-collapsed)!important;
}

/* Responsive hotfix. */
@media(max-width:1450px){
  body.global-layout-ready.projects-module .global-projects-toolbar{
    grid-template-columns:
      minmax(250px,1.5fr)
      repeat(3,minmax(110px,.7fr))
      auto!important;
  }
}
@media(max-width:1000px){
  body.global-layout-ready.projects-module .global-projects-toolbar{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.global-layout-ready.projects-module .global-projects-toolbar>*{
    grid-column:auto!important;
  }
}
@media(max-width:680px){
  body.global-layout-ready{
    --gl-page-gutter:10px;
  }
  body.global-layout-ready.projects-module .global-projects-toolbar{
    grid-template-columns:1fr!important;
  }
  body.global-layout-ready.projects-module .global-project-card{
    min-height:auto!important;
  }
}


/* ========================================================================
   BUILD 018 CANONICAL OVERRIDES
   One invariant shell, one spacing system, one brand implementation.
   ======================================================================== */
:root{
  --r18-sidebar:224px;
  --r18-topbar:68px;
  --r18-page-max:1760px;
  --r18-gutter:24px;
  --r18-gap:16px;
  --r18-control:40px;
  --r18-radius:12px;
  --r18-bg:#090e13;
  --r18-sidebar-bg:#0b1117;
  --r18-panel:#141c23;
  --r18-panel-2:#18222b;
  --r18-line:#2a3741;
  --r18-line-strong:#41515e;
  --r18-text:#f3f6f8;
  --r18-muted:#a8b3bc;
  --r18-dim:#71808b;
  --r18-gold:#d8ad46;
  --r18-gold-hi:#f0cb72;
  --r18-green:#31cc73;
  --r18-yellow:#efbb41;
  --r18-red:#ef625d;
  --r18-blue:#3caeea;
  --r18-purple:#9c7ae8;
  --r18-shadow:0 18px 50px rgba(0,0,0,.24);
  --r18-ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box}
html,body{min-height:100%}
body.rating-shell,
body.rbs-platform,
body.rating-workspace{
  margin:0!important;
  background:
    radial-gradient(circle at 88% -12%,rgba(60,174,234,.05),transparent 33%),
    radial-gradient(circle at 12% -8%,rgba(216,173,70,.05),transparent 30%),
    var(--r18-bg)!important;
  color:var(--r18-text)!important;
}
.app{min-height:100vh!important}

/* Canonical sidebar */
.rbs-sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:var(--r18-sidebar)!important;
  min-width:var(--r18-sidebar)!important;
  max-width:var(--r18-sidebar)!important;
  height:100vh!important;
  z-index:1000!important;
  overflow:hidden!important;
  background:var(--r18-sidebar-bg)!important;
  border-right:1px solid var(--r18-line)!important;
  box-shadow:15px 0 42px rgba(0,0,0,.19)!important;
}
.rbs-brand{
  height:84px!important;
  min-height:84px!important;
  padding:14px 13px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  border-bottom:1px solid rgba(255,255,255,.04)!important;
}
.rbs-brandmark{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  padding:5px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(216,173,70,.26)!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,rgba(216,173,70,.12),rgba(216,173,70,.025))!important;
}
.rbs-brandmark img{display:block;width:100%;height:100%;object-fit:contain}
.rbs-brandcopy strong{
  display:block!important;
  color:var(--r18-text)!important;
  font-size:12px!important;
  letter-spacing:.18em!important;
}
.rbs-brandcopy small{
  display:block!important;
  margin-top:3px!important;
  color:var(--r18-gold)!important;
  font-size:6.8px!important;
  font-weight:800!important;
  letter-spacing:.18em!important;
}
.rbs-nav{
  height:calc(100vh - 150px)!important;
  padding:12px 9px 18px!important;
  overflow-y:auto!important;
}
.rbs-nav-section-title{
  min-height:28px!important;
  margin:0!important;
  padding:15px 11px 6px!important;
  color:#60707b!important;
  font-size:6.7px!important;
  letter-spacing:.18em!important;
}
.rbs-nav .nav-item{
  width:100%!important;
  min-height:40px!important;
  margin:2px 0!important;
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  color:#a1adb6!important;
  transition:.16s var(--r18-ease)!important;
}
.rbs-nav .nav-item:hover{
  color:var(--r18-text)!important;
  background:var(--r18-panel)!important;
  transform:translateX(2px)!important;
}
.rbs-nav .nav-item.active{
  color:var(--r18-gold-hi)!important;
  border-color:rgba(216,173,70,.25)!important;
  background:linear-gradient(90deg,rgba(216,173,70,.15),rgba(216,173,70,.035))!important;
  box-shadow:inset 3px 0 0 var(--r18-gold)!important;
}
.rbs-nav .rbs-icon{width:18px!important;height:18px!important;flex:0 0 18px!important}
.rbs-user{
  position:absolute!important;
  inset:auto 0 0 0!important;
  height:66px!important;
  min-height:66px!important;
  padding:10px 12px!important;
  border-top:1px solid rgba(255,255,255,.04)!important;
  background:var(--r18-sidebar-bg)!important;
}

/* Canonical topbar */
.rbs-topbar{
  position:fixed!important;
  inset:0 0 auto var(--r18-sidebar)!important;
  width:auto!important;
  height:var(--r18-topbar)!important;
  min-height:var(--r18-topbar)!important;
  margin:0!important;
  padding:0 18px!important;
  display:grid!important;
  grid-template-columns:minmax(230px,.72fr) minmax(340px,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  z-index:900!important;
  background:rgba(9,14,19,.95)!important;
  border-bottom:1px solid var(--r18-line)!important;
  backdrop-filter:blur(16px)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.18)!important;
}
.rbs-topbar>*{align-self:center!important;margin:0!important}
.rbs-topbar-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.rbs-topbar-title strong{color:var(--r18-text)!important;font-size:11px!important}
.rbs-topbar-title small{color:var(--r18-dim)!important;font-size:7.5px!important}
.rbs-topbar-search{
  width:100%!important;
  height:var(--r18-control)!important;
  min-height:var(--r18-control)!important;
  margin:0!important;
  border:1px solid var(--r18-line)!important;
  border-radius:10px!important;
  background:#0d151b!important;
}
.rbs-topbar-search:focus-within{
  border-color:rgba(60,174,234,.48)!important;
  box-shadow:0 0 0 3px rgba(60,174,234,.08)!important;
}
.rbs-topbar-actions{
  height:var(--r18-control)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  margin:0!important;
  white-space:nowrap!important;
}
.rbs-topbar-actions>*{height:36px!important;min-height:36px!important;margin:0!important;align-self:center!important}
.rbs-icon-button,.rbs-cloud-button{width:36px!important;min-width:36px!important;border-radius:9px!important}
.rbs-action-gold{padding-inline:14px!important;border-radius:9px!important}
.rbs-profile{display:flex!important;align-items:center!important;padding:3px 7px!important;border-radius:10px!important}
.build-pill{display:none!important}
.quick-menu{top:43px!important;right:0!important}

/* Canonical page container */
.workspace{
  width:100%!important;
  min-height:100vh!important;
  padding:var(--r18-topbar) 0 0 var(--r18-sidebar)!important;
  margin:0!important;
}
.workspace>main,
main.module-main,
main.project-main,
.rbs-page{
  width:min(100%,var(--r18-page-max))!important;
  max-width:var(--r18-page-max)!important;
  margin:0 auto!important;
  padding:var(--r18-gutter) var(--r18-gutter) 56px!important;
}
.command-center-page,.module-main,.project-main,.project-layout-foundation{
  margin-left:auto!important;
  left:auto!important;
}

/* Universal controls/cards */
button,.btn,.button,input,select{min-height:var(--r18-control)}
button,.btn,.button{border-radius:9px!important}
input,select,textarea{
  border-color:var(--r18-line)!important;
  background:#0e161c!important;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(60,174,234,.5)!important;
  box-shadow:0 0 0 3px rgba(60,174,234,.08)!important;
}
.card,.panel,.module-card,.dpc-card,.final-panel,.wx-panel{
  border-color:var(--r18-line)!important;
  border-radius:var(--r18-radius)!important;
  background:var(--r18-panel)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
}

/* Projects module - exact alignment */
body[data-r18-module="projects"] .module-main{
  display:grid!important;
  align-content:start!important;
  gap:16px!important;
}
body[data-r18-module="projects"] #content{
  width:100%!important;
  min-width:0!important;
}
body[data-r18-module="projects"] .project-grid,
body[data-r18-module="projects"] .projects-grid,
body[data-r18-module="projects"] .project-cards-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:12px!important;
}
body[data-r18-module="projects"] .project-card,
body[data-r18-module="projects"] .project-pro-card,
body[data-r18-module="projects"] [data-project-card]{
  height:100%!important;
  min-height:408px!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
}
body[data-r18-module="projects"] .project-card footer,
body[data-r18-module="projects"] .project-pro-card footer,
body[data-r18-module="projects"] .project-actions{
  margin-top:auto!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
body[data-r18-module="projects"] .project-card footer>*,
body[data-r18-module="projects"] .project-pro-card footer>*,
body[data-r18-module="projects"] .project-actions>*{
  width:100%!important;
  height:38px!important;
  margin:0!important;
}
body[data-r18-module="projects"] .toolbar,
body[data-r18-module="projects"] .filter-bar,
body[data-r18-module="projects"] .enterprise-table-toolbar{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(280px,1.8fr) repeat(5,minmax(108px,.62fr)) auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:12px!important;
}
body[data-r18-module="projects"] .toolbar>*,
body[data-r18-module="projects"] .filter-bar>*,
body[data-r18-module="projects"] .enterprise-table-toolbar>*{
  min-width:0!important;
  margin:0!important;
}

/* Dashboard canonical grid */
.workspace-experience{width:100%!important;gap:16px!important}
.wx-hero{gap:16px!important}
.wx-kpis{gap:12px!important}
.wx-main,.wx-bottom{gap:16px!important}
.wx-panel{overflow:hidden}
.wx-kpi{min-height:140px!important}
.wx-project{min-height:150px!important}

/* Login */
.auth-body{
  min-height:100vh!important;
  display:grid!important;
  place-items:center!important;
  padding:24px!important;
  background:
    radial-gradient(circle at 50% 4%,rgba(216,173,70,.13),transparent 31%),
    var(--r18-bg)!important;
}
.auth-shell{
  width:min(980px,100%);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  overflow:hidden;
  border:1px solid var(--r18-line);
  border-radius:20px;
  background:var(--r18-panel);
  box-shadow:0 34px 110px rgba(0,0,0,.45);
}
.auth-brand-panel{
  min-height:610px;
  padding:48px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    linear-gradient(145deg,rgba(216,173,70,.12),transparent 48%),
    #0d141a;
  border-right:1px solid var(--r18-line);
}
.auth-symbol{width:86px;height:96px;object-fit:contain}
.auth-brand-panel h1{margin:24px 0 10px;color:var(--r18-text);font-size:34px;letter-spacing:-.04em}
.auth-brand-panel p{max-width:420px;color:var(--r18-muted);line-height:1.7}
.auth-brand-panel small{color:var(--r18-gold);font-weight:800;letter-spacing:.16em}
.auth-card{
  width:auto!important;
  margin:0!important;
  padding:54px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.auth-card .auth-mobile-logo{display:none;width:64px;height:72px;margin-bottom:22px}
.auth-card h2{margin:0 0 7px;color:var(--r18-text);font-size:26px}
.auth-card>p{margin:0 0 28px;color:var(--r18-muted)}
.auth-card label{display:grid;gap:7px;margin-bottom:16px;color:var(--r18-muted);font-size:12px;font-weight:700}
.auth-card input{width:100%;height:44px!important}
.auth-card button{width:100%;height:44px!important;margin-top:8px}
.auth-card .error{padding:11px;border:1px solid rgba(239,98,93,.28);border-radius:9px;background:rgba(239,98,93,.08);color:#ff918d}
.auth-footer{margin-top:28px!important;color:var(--r18-dim)!important;font-size:11px!important}

/* Responsive */
@media(max-width:1450px){
  body[data-r18-module="projects"] .project-grid,
  body[data-r18-module="projects"] .projects-grid,
  body[data-r18-module="projects"] .project-cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body[data-r18-module="projects"] .toolbar,
  body[data-r18-module="projects"] .filter-bar,
  body[data-r18-module="projects"] .enterprise-table-toolbar{
    grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(110px,.7fr)) auto!important;
  }
}
@media(max-width:1000px){
  :root{--r18-sidebar:0px;--r18-gutter:16px}
  .rbs-sidebar{
    width:min(290px,86vw)!important;
    min-width:0!important;
    max-width:none!important;
    transform:translateX(-105%)!important;
  }
  body.mobile-sidebar-open .rbs-sidebar{transform:translateX(0)!important}
  .rbs-topbar{left:0!important;grid-template-columns:auto minmax(0,1fr) auto!important}
  .workspace{padding-left:0!important}
  .auth-shell{grid-template-columns:1fr}
  .auth-brand-panel{display:none}
  .auth-card .auth-mobile-logo{display:block}
}
@media(max-width:680px){
  :root{--r18-gutter:10px}
  .rbs-topbar{padding-inline:9px!important}
  .rbs-topbar-search{display:none!important}
  body[data-r18-module="projects"] .project-grid,
  body[data-r18-module="projects"] .projects-grid,
  body[data-r18-module="projects"] .project-cards-grid,
  body[data-r18-module="projects"] .toolbar,
  body[data-r18-module="projects"] .filter-bar,
  body[data-r18-module="projects"] .enterprise-table-toolbar{
    grid-template-columns:1fr!important;
  }
  body[data-r18-module="projects"] .project-card,
  body[data-r18-module="projects"] .project-pro-card{min-height:auto!important}
  .auth-card{padding:34px 24px!important}
}


/* ==========================================================================
   RATING WORKSPACE 5.1 — BUILD 020.1 GLOBAL LAYOUT ENGINE
   Canonical layout contract shared by Dashboard, Projects and all app modules.
   ========================================================================== */
:root{
  --wle-sidebar-width:224px;
  --wle-sidebar-collapsed:76px;
  --wle-topbar-height:68px;
  --wle-page-width:1728px;
  --wle-gutter-x:24px;
  --wle-gutter-y:24px;
  --wle-section-gap:16px;
  --wle-control-height:40px;
  --wle-radius-sm:9px;
  --wle-radius-md:12px;
  --wle-radius-lg:16px;
  --wle-z-sidebar:1000;
  --wle-z-topbar:900;
  --wle-ease:cubic-bezier(.22,.61,.36,1);
}

/* One shell contract. */
body.wle-ready{
  --wle-live-sidebar:var(--wle-sidebar-width);
}
body.wle-ready.wle-sidebar-collapsed{
  --wle-live-sidebar:var(--wle-sidebar-collapsed);
}
body.wle-ready .rbs-sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:var(--wle-live-sidebar)!important;
  min-width:var(--wle-live-sidebar)!important;
  max-width:var(--wle-live-sidebar)!important;
  height:100dvh!important;
  z-index:var(--wle-z-sidebar)!important;
  transition:
    width .2s var(--wle-ease),
    transform .2s var(--wle-ease)!important;
}
body.wle-ready .rbs-topbar{
  position:fixed!important;
  top:0!important;
  right:0!important;
  left:var(--wle-live-sidebar)!important;
  width:auto!important;
  height:var(--wle-topbar-height)!important;
  min-height:var(--wle-topbar-height)!important;
  z-index:var(--wle-z-topbar)!important;
  transition:left .2s var(--wle-ease)!important;
}
body.wle-ready .workspace{
  width:100%!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:
    var(--wle-topbar-height)
    0
    0
    var(--wle-live-sidebar)!important;
  transition:padding-left .2s var(--wle-ease)!important;
}
body.wle-ready .workspace>main,
body.wle-ready main.module-main,
body.wle-ready main.project-main,
body.wle-ready .rbs-page{
  width:min(100%,var(--wle-page-width))!important;
  max-width:var(--wle-page-width)!important;
  margin:0 auto!important;
  padding:
    var(--wle-gutter-y)
    var(--wle-gutter-x)
    56px!important;
}

/* Sidebar groups and invariant rhythm. */
.rbs-nav{
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.11) transparent;
}
.rbs-nav-group{
  display:grid;
  gap:2px;
  margin:0;
}
.rbs-nav-group+.rbs-nav-group{
  margin-top:7px;
}
.rbs-nav-section-title{
  min-height:30px!important;
  display:flex!important;
  align-items:flex-end!important;
  padding:14px 11px 6px!important;
}
.rbs-nav .nav-item{
  min-height:40px!important;
  height:40px!important;
  padding:0 11px!important;
  gap:10px!important;
}
.rbs-nav .nav-item>span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.wle-ready.wle-sidebar-collapsed .rbs-brandcopy,
body.wle-ready.wle-sidebar-collapsed .rbs-nav-section-title,
body.wle-ready.wle-sidebar-collapsed .rbs-nav .nav-item>span:last-child,
body.wle-ready.wle-sidebar-collapsed .rbs-user-copy,
body.wle-ready.wle-sidebar-collapsed .rbs-logout{
  display:none!important;
}
body.wle-ready.wle-sidebar-collapsed .rbs-brand,
body.wle-ready.wle-sidebar-collapsed .rbs-nav .nav-item,
body.wle-ready.wle-sidebar-collapsed .rbs-user{
  justify-content:center!important;
}
body.wle-ready.wle-sidebar-collapsed .rbs-brand{
  padding-inline:0!important;
}
body.wle-ready.wle-sidebar-collapsed .rbs-nav{
  padding-inline:8px!important;
}
body.wle-ready.wle-sidebar-collapsed .rbs-nav .nav-item{
  padding-inline:0!important;
}

/* Topbar uses fixed functional zones. */
body.wle-ready .rbs-topbar{
  grid-template-columns:
    minmax(240px,.72fr)
    minmax(360px,1fr)
    auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 18px!important;
}
body.wle-ready .rbs-topbar-title,
body.wle-ready .rbs-topbar-search,
body.wle-ready .rbs-topbar-actions{
  min-width:0!important;
  margin:0!important;
  align-self:center!important;
}
body.wle-ready .rbs-topbar-title{
  height:40px!important;
  display:flex!important;
  align-items:center!important;
}
body.wle-ready .rbs-topbar-search{
  height:var(--wle-control-height)!important;
}
body.wle-ready .rbs-topbar-actions{
  height:var(--wle-control-height)!important;
}
body.wle-ready .rbs-topbar-actions>*{
  flex:0 0 auto;
}
.rbs-breadcrumb{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.rbs-breadcrumb-copy{
  min-width:0;
  display:grid;
  line-height:1.15;
}
.rbs-breadcrumb-copy strong,
.rbs-breadcrumb-copy small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rbs-shell-toggle{
  display:inline-grid!important;
  place-items:center!important;
}

/* Central module frame. */
.wle-page{
  width:100%;
  min-width:0;
  display:grid;
  align-content:start;
  gap:var(--wle-section-gap);
}
.wle-page>*{
  min-width:0;
}
.wle-page-header{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.wle-page-heading{
  min-width:0;
}
.wle-page-heading h1{
  margin:0;
  color:var(--r18-text);
  font-size:24px;
  letter-spacing:-.035em;
}
.wle-page-heading p{
  margin:5px 0 0;
  color:var(--r18-muted);
  font-size:12px;
}
.wle-page-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}

/* Universal section/card grid primitives. */
.wle-grid{
  display:grid;
  gap:var(--wle-section-gap);
  min-width:0;
}
.wle-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.wle-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.wle-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.wle-grid--6{grid-template-columns:repeat(6,minmax(0,1fr))}
.wle-card{
  min-width:0;
  border:1px solid var(--r18-line);
  border-radius:var(--wle-radius-md);
  background:var(--r18-panel);
}
.wle-toolbar{
  width:100%;
  min-width:0;
  min-height:64px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px;
  border:1px solid var(--r18-line);
  border-radius:var(--wle-radius-md);
  background:var(--r18-panel);
}
.wle-toolbar>*{
  min-width:0;
  margin:0!important;
}
.wle-toolbar__grow{
  flex:1 1 280px;
}
.wle-toolbar__actions{
  margin-left:auto!important;
  display:flex;
  align-items:center;
  gap:8px;
}

/* Normalize legacy module roots into the new engine without rewriting data logic. */
body.wle-ready .command-center-page,
body.wle-ready .projects-page,
body.wle-ready .projects-center,
body.wle-ready .project-center,
body.wle-ready .module-content,
body.wle-ready .project-layout-foundation,
body.wle-ready .dpc-shell{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  left:auto!important;
}
body.wle-ready .workspace-experience,
body.wle-ready .projects-page,
body.wle-ready .projects-center,
body.wle-ready .project-center,
body.wle-ready .module-content{
  display:grid!important;
  align-content:start!important;
  gap:var(--wle-section-gap)!important;
}

/* Projects alignment contract. */
body[data-wle-module="projects"] .module-main{
  display:grid!important;
  align-content:start!important;
  gap:16px!important;
}
body[data-wle-module="projects"] .project-grid,
body[data-wle-module="projects"] .projects-grid,
body[data-wle-module="projects"] .project-cards-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
body[data-wle-module="projects"] [data-project-card],
body[data-wle-module="projects"] .project-card,
body[data-wle-module="projects"] .project-pro-card{
  height:100%!important;
  min-height:408px!important;
  display:flex!important;
  flex-direction:column!important;
  margin:0!important;
}
body[data-wle-module="projects"] [data-project-card] footer,
body[data-wle-module="projects"] .project-actions{
  margin-top:auto!important;
}
body[data-wle-module="projects"] .toolbar,
body[data-wle-module="projects"] .filter-bar,
body[data-wle-module="projects"] .enterprise-table-toolbar{
  width:100%!important;
  display:grid!important;
  grid-template-columns:
    minmax(280px,1.8fr)
    repeat(5,minmax(108px,.62fr))
    auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:12px!important;
}
body[data-wle-module="projects"] .toolbar>*,
body[data-wle-module="projects"] .filter-bar>*,
body[data-wle-module="projects"] .enterprise-table-toolbar>*{
  min-width:0!important;
  margin:0!important;
}

/* Dashboard uses same page edges. */
body[data-wle-module="dashboard"] .workspace-experience{
  width:100%!important;
}
body[data-wle-module="dashboard"] .wx-hero,
body[data-wle-module="dashboard"] .wx-kpis,
body[data-wle-module="dashboard"] .wx-main,
body[data-wle-module="dashboard"] .wx-bottom{
  margin:0!important;
}

/* Mobile shell. */
.wle-mobile-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:990;
  background:rgba(0,0,0,.52);
  backdrop-filter:blur(3px);
}
@media(max-width:1280px){
  .wle-grid--6{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-wle-module="projects"] .project-grid,
  body[data-wle-module="projects"] .projects-grid,
  body[data-wle-module="projects"] .project-cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:1000px){
  body.wle-ready{
    --wle-live-sidebar:0px;
    --wle-gutter-x:16px;
  }
  body.wle-ready .rbs-sidebar{
    width:min(292px,86vw)!important;
    min-width:0!important;
    max-width:none!important;
    transform:translateX(-105%)!important;
  }
  body.wle-ready.wle-mobile-open .rbs-sidebar{
    transform:translateX(0)!important;
  }
  body.wle-ready.wle-mobile-open .wle-mobile-overlay{
    display:block;
  }
  body.wle-ready .rbs-topbar{
    left:0!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  body.wle-ready .workspace{
    padding-left:0!important;
  }
  .wle-grid--4,.wle-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  body.wle-ready{--wle-gutter-x:10px}
  body.wle-ready .rbs-topbar{
    padding-inline:9px!important;
  }
  body.wle-ready .rbs-topbar-search{
    display:none!important;
  }
  .wle-page-header{
    align-items:flex-start;
    flex-direction:column;
  }
  .wle-page-actions{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .wle-grid--6,.wle-grid--4,.wle-grid--3,.wle-grid--2{
    grid-template-columns:1fr;
  }
  body[data-wle-module="projects"] .project-grid,
  body[data-wle-module="projects"] .projects-grid,
  body[data-wle-module="projects"] .project-cards-grid,
  body[data-wle-module="projects"] .toolbar,
  body[data-wle-module="projects"] .filter-bar,
  body[data-wle-module="projects"] .enterprise-table-toolbar{
    grid-template-columns:1fr!important;
  }
  body[data-wle-module="projects"] [data-project-card],
  body[data-wle-module="projects"] .project-card,
  body[data-wle-module="projects"] .project-pro-card{
    min-height:auto!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.wle-ready .rbs-sidebar,
  body.wle-ready .rbs-topbar,
  body.wle-ready .workspace{
    transition:none!important;
  }
}


/* ===== CONSOLIDATED SOURCE: workspace-framework-v021.css ===== */


/* ==========================================================================
   RATING WORKSPACE 6.0 — BUILD 021 WORKSPACE FRAMEWORK
   Shared component library and canonical module primitives.
   ========================================================================== */
:root{
  --wsf-space-1:4px;
  --wsf-space-2:8px;
  --wsf-space-3:12px;
  --wsf-space-4:16px;
  --wsf-space-5:20px;
  --wsf-space-6:24px;
  --wsf-space-8:32px;
  --wsf-control:40px;
  --wsf-radius-sm:8px;
  --wsf-radius-md:12px;
  --wsf-radius-lg:16px;
  --wsf-transition:160ms cubic-bezier(.22,.61,.36,1);
}

/* Page and section primitives */
.wsf-page{
  width:100%;
  min-width:0;
  display:grid;
  align-content:start;
  gap:var(--wsf-space-4);
}
.wsf-page>*{min-width:0}
.wsf-page-header,
.wsf-section-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--wsf-space-4);
}
.wsf-page-header{min-height:64px}
.wsf-page-heading,
.wsf-section-heading{min-width:0}
.wsf-page-heading small,
.wsf-section-heading small,
.wsf-card-heading small{
  display:block;
  margin-bottom:5px;
  color:var(--r18-gold);
  font-size:7px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.wsf-page-heading h1{
  margin:0;
  color:var(--r18-text);
  font-size:26px;
  line-height:1.15;
  letter-spacing:-.04em;
}
.wsf-page-heading p,
.wsf-section-heading p{
  margin:5px 0 0;
  color:var(--r18-muted);
  font-size:12px;
  line-height:1.5;
}
.wsf-page-actions,
.wsf-section-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:var(--wsf-space-2);
  flex-wrap:wrap;
}
.wsf-section{
  min-width:0;
  display:grid;
  gap:var(--wsf-space-3);
}
.wsf-section-header{min-height:44px}
.wsf-section-heading h2{
  margin:0;
  color:var(--r18-text);
  font-size:16px;
  letter-spacing:-.02em;
}

/* Grid */
.wsf-grid{
  width:100%;
  min-width:0;
  display:grid;
  gap:var(--wsf-space-3);
  align-items:stretch;
}
.wsf-grid--1{grid-template-columns:minmax(0,1fr)}
.wsf-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.wsf-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.wsf-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.wsf-grid--5{grid-template-columns:repeat(5,minmax(0,1fr))}
.wsf-grid--6{grid-template-columns:repeat(6,minmax(0,1fr))}

/* Card */
.wsf-card{
  min-width:0;
  overflow:hidden;
  padding:var(--wsf-space-4);
  border:1px solid var(--r18-line);
  border-radius:var(--wsf-radius-md);
  background:
    linear-gradient(145deg,rgba(255,255,255,.014),transparent 50%),
    var(--r18-panel);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
.wsf-card--interactive{
  cursor:pointer;
  transition:
    transform var(--wsf-transition),
    border-color var(--wsf-transition),
    box-shadow var(--wsf-transition);
}
.wsf-card--interactive:hover,
.wsf-card--interactive:focus-visible{
  transform:translateY(-2px);
  border-color:var(--r18-line-strong);
  box-shadow:0 16px 38px rgba(0,0,0,.18);
  outline:none;
}
.wsf-card--success{border-left:3px solid var(--r18-green)}
.wsf-card--warning{border-left:3px solid var(--r18-yellow)}
.wsf-card--danger{border-left:3px solid var(--r18-red)}
.wsf-card--info{border-left:3px solid var(--r18-blue)}
.wsf-card-header{
  min-height:44px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:var(--wsf-space-3);
  margin-bottom:var(--wsf-space-3);
}
.wsf-card-heading{min-width:0}
.wsf-card-heading h3{
  margin:0;
  color:var(--r18-text);
  font-size:14px;
  line-height:1.3;
}
.wsf-card-heading p{
  margin:4px 0 0;
  color:var(--r18-muted);
  font-size:10px;
  line-height:1.45;
}
.wsf-card-meta{flex:0 0 auto}

/* Buttons */
.wsf-button{
  min-height:var(--wsf-control);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 13px;
  border:1px solid var(--r18-line);
  border-radius:var(--wsf-radius-sm);
  color:var(--r18-text);
  background:#111920;
  font:inherit;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  transition:
    transform var(--wsf-transition),
    border-color var(--wsf-transition),
    background var(--wsf-transition),
    box-shadow var(--wsf-transition);
}
.wsf-button:hover{
  transform:translateY(-1px);
  border-color:var(--r18-line-strong);
  background:var(--r18-panel-2);
}
.wsf-button:focus-visible{
  outline:0;
  box-shadow:0 0 0 3px rgba(60,174,234,.1);
}
.wsf-button--primary{
  border-color:var(--r18-gold-hi);
  color:#1b1407;
  background:linear-gradient(180deg,var(--r18-gold-hi),var(--r18-gold));
}
.wsf-button--success{
  border-color:rgba(49,204,115,.42);
  color:#d9ffea;
  background:rgba(49,204,115,.12);
}
.wsf-button--danger{
  border-color:rgba(239,98,93,.42);
  color:#ffd8d6;
  background:rgba(239,98,93,.1);
}
.wsf-button--ghost{background:transparent}
.wsf-button--icon{
  width:var(--wsf-control);
  padding:0;
}
.wsf-button .rbs-icon{width:16px;height:16px}

/* Badges */
.wsf-badge{
  min-height:21px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 7px;
  border:1px solid var(--r18-line);
  border-radius:999px;
  color:var(--r18-muted);
  background:rgba(255,255,255,.035);
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
.wsf-badge--success{
  border-color:rgba(49,204,115,.3);
  color:#70e9a6;
  background:rgba(49,204,115,.09);
}
.wsf-badge--warning{
  border-color:rgba(239,187,65,.3);
  color:#f5cd70;
  background:rgba(239,187,65,.09);
}
.wsf-badge--danger{
  border-color:rgba(239,98,93,.3);
  color:#ff918d;
  background:rgba(239,98,93,.09);
}
.wsf-badge--info{
  border-color:rgba(60,174,234,.3);
  color:#76cbf7;
  background:rgba(60,174,234,.09);
}

/* KPI */
.wsf-kpi{
  min-width:0;
  min-height:132px;
  padding:var(--wsf-space-4);
  display:flex;
  flex-direction:column;
  border:1px solid var(--r18-line);
  border-radius:var(--wsf-radius-md);
  background:
    linear-gradient(145deg,rgba(255,255,255,.018),transparent 50%),
    var(--r18-panel);
}
.wsf-kpi header{
  min-height:30px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:var(--wsf-space-2);
  color:var(--r18-muted);
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.wsf-kpi-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:var(--r18-blue);
  background:rgba(60,174,234,.1);
}
.wsf-kpi-icon .rbs-icon{width:16px;height:16px}
.wsf-kpi>strong{
  margin-top:6px;
  color:var(--r18-text);
  font-size:25px;
  line-height:1;
  letter-spacing:-.04em;
}
.wsf-kpi>small{
  margin-top:6px;
  color:var(--r18-dim);
  font-size:8px;
}
.wsf-kpi-trend{
  width:max-content;
  min-height:20px;
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  padding:0 7px;
  border-radius:999px;
  color:var(--r18-muted);
  background:rgba(255,255,255,.04);
  font-size:7px;
  font-weight:900;
}
.wsf-kpi-trend--success{
  color:#62e39c;
  background:rgba(49,204,115,.09);
}
.wsf-kpi-trend--warning{
  color:#f4cb6e;
  background:rgba(239,187,65,.09);
}
.wsf-kpi-trend--danger{
  color:#ff918d;
  background:rgba(239,98,93,.09);
}
.wsf-kpi-trend--info{
  color:#76cbf7;
  background:rgba(60,174,234,.09);
}

/* Toolbar */
.wsf-toolbar{
  width:100%;
  min-width:0;
  min-height:64px;
  display:flex;
  align-items:center;
  gap:var(--wsf-space-2);
  padding:var(--wsf-space-3);
  border:1px solid var(--r18-line);
  border-radius:var(--wsf-radius-md);
  background:var(--r18-panel);
}
.wsf-toolbar>*{min-width:0;margin:0!important}
.wsf-toolbar__grow{flex:1 1 280px}
.wsf-toolbar__actions{
  margin-left:auto!important;
  display:flex;
  align-items:center;
  gap:var(--wsf-space-2);
}

/* Progress */
.wsf-progress{
  width:100%;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#29353e;
}
.wsf-progress>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--r18-blue);
  transition:width .35s cubic-bezier(.22,.61,.36,1);
}
.wsf-progress--success>span{background:var(--r18-green)}
.wsf-progress--warning>span{background:var(--r18-yellow)}
.wsf-progress--danger>span{background:var(--r18-red)}

/* Tables */
.wsf-table-wrap{
  width:100%;
  overflow:auto;
  border:1px solid var(--r18-line);
  border-radius:var(--wsf-radius-md);
  background:var(--r18-panel);
}
.wsf-table{
  width:100%;
  min-width:680px;
  border-collapse:collapse;
}
.wsf-table th,
.wsf-table td{
  height:44px;
  padding:0 13px;
  border-bottom:1px solid var(--r18-line);
  text-align:left;
}
.wsf-table th{
  color:var(--r18-muted);
  background:#151e26;
  font-size:8px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.wsf-table td{
  color:var(--r18-text);
  font-size:10px;
}
.wsf-table tbody tr{
  transition:background var(--wsf-transition);
}
.wsf-table tbody tr:hover{background:#19232c}
.wsf-table tbody tr:last-child td{border-bottom:0}

/* Empty states */
.wsf-empty{
  min-height:240px;
  display:grid;
  place-items:center;
  align-content:center;
  padding:32px;
  text-align:center;
  border:1px dashed var(--r18-line-strong);
  border-radius:var(--wsf-radius-md);
  background:rgba(255,255,255,.012);
}
.wsf-empty-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:var(--r18-gold);
  background:rgba(216,173,70,.09);
}
.wsf-empty-icon .rbs-icon{width:22px;height:22px}
.wsf-empty h3{
  margin:14px 0 0;
  color:var(--r18-text);
  font-size:14px;
}
.wsf-empty p{
  max-width:440px;
  margin:7px 0 0;
  color:var(--r18-muted);
  font-size:10px;
  line-height:1.6;
}
.wsf-empty-action{margin-top:16px}

/* Dialogs */
.wsf-dialog{
  width:min(620px,calc(100vw - 30px));
  padding:0;
  border:1px solid var(--r18-line-strong);
  border-radius:var(--wsf-radius-lg);
  color:var(--r18-text);
  background:var(--r18-panel);
  box-shadow:0 34px 100px rgba(0,0,0,.5);
}
.wsf-dialog::backdrop{
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(4px);
}
.wsf-dialog-header,
.wsf-dialog-footer{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--wsf-space-3);
  padding:var(--wsf-space-4);
}
.wsf-dialog-header{border-bottom:1px solid var(--r18-line)}
.wsf-dialog-footer{
  justify-content:flex-end;
  border-top:1px solid var(--r18-line);
}
.wsf-dialog-body{padding:var(--wsf-space-4)}

/* Framework normalizes compatible legacy elements. */
body.wsf-ready .card,
body.wsf-ready .panel,
body.wsf-ready .module-card,
body.wsf-ready .dpc-card,
body.wsf-ready .wx-panel{
  border-radius:var(--wsf-radius-md)!important;
}
body.wsf-ready .status-badge,
body.wsf-ready .enterprise-status{
  min-height:21px;
  border-radius:999px!important;
}
body.wsf-ready .module-main,
body.wsf-ready .project-main,
body.wsf-ready .rbs-page{
  align-content:start!important;
}

/* Responsive */
@media(max-width:1280px){
  .wsf-grid--6,.wsf-grid--5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wsf-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .wsf-grid--6,.wsf-grid--5,.wsf-grid--4,.wsf-grid--3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .wsf-toolbar{align-items:stretch;flex-wrap:wrap}
  .wsf-toolbar__grow{flex-basis:100%}
  .wsf-toolbar__actions{
    width:100%;
    margin-left:0!important;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}
@media(max-width:580px){
  .wsf-page-header,
  .wsf-section-header{
    align-items:flex-start;
    flex-direction:column;
  }
  .wsf-page-actions,
  .wsf-section-actions{
    width:100%;
    justify-content:flex-start;
  }
  .wsf-grid--6,.wsf-grid--5,.wsf-grid--4,.wsf-grid--3,.wsf-grid--2{
    grid-template-columns:1fr;
  }
}


/* ===== CONSOLIDATED SOURCE: workspace-refactor-v022.css ===== */

/* RATING Workspace 6.1 - Build 022 Complete Workspace Refactor */
:root{--r22-gap:16px;--r22-panel:#141c23;--r22-line:#293741;--r22-text:#f2f6f8;--r22-muted:#a6b2bb}
body.r22-ready .workspace>main,body.r22-ready main.module-main,body.r22-ready main.project-main,body.r22-ready .rbs-page{width:min(100%,1700px)!important;max-width:1700px!important;margin-inline:auto!important;padding:24px!important;display:grid!important;align-content:start!important;gap:var(--r22-gap)!important}
.r22-module{width:100%;min-width:0;display:grid;align-content:start;gap:16px}.r22-module>*{min-width:0}.r22-module-header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}.r22-module-heading h1{margin:0;color:var(--r22-text);font-size:25px;letter-spacing:-.04em}.r22-module-heading p{margin:5px 0 0;color:var(--r22-muted);font-size:11px}
body[data-wle-module="dashboard"] .final-command-toolbar{display:none!important}
body.r22-ready .toolbar,body.r22-ready .filter-bar,body.r22-ready .enterprise-table-toolbar,body.r22-ready .projects-toolbar{width:100%!important;min-height:64px!important;margin:0!important;padding:12px!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;border:1px solid var(--r22-line)!important;border-radius:12px!important;background:var(--r22-panel)!important}
body.r22-ready .toolbar input[type="search"],body.r22-ready .filter-bar input[type="search"],body.r22-ready .enterprise-table-toolbar input[type="search"]{flex:1 1 300px!important}
body[data-wle-module="dashboard"] .workspace-experience{width:100%!important;display:grid!important;gap:16px!important}body[data-wle-module="dashboard"] .wx-hero{grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important;margin:0!important}body[data-wle-module="dashboard"] .wx-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;margin:0!important}body[data-wle-module="dashboard"] .wx-main{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 310px!important;gap:16px!important;margin:0!important}body[data-wle-module="dashboard"] .wx-bottom{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:16px!important;margin:0!important}
body[data-wle-module="projects"] #content{width:100%!important;min-width:0!important;display:grid!important;align-content:start!important;gap:16px!important}body[data-wle-module="projects"] .project-grid,body[data-wle-module="projects"] .projects-grid,body[data-wle-module="projects"] .project-cards-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}body[data-wle-module="projects"] [data-project-card],body[data-wle-module="projects"] .project-card,body[data-wle-module="projects"] .project-pro-card{min-height:410px!important;height:100%!important;padding:16px!important;display:flex!important;flex-direction:column!important;margin:0!important}body[data-wle-module="projects"] [data-project-card] footer,body[data-wle-module="projects"] .project-actions{margin-top:auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
body.r22-ready table{width:100%!important;border-collapse:collapse!important}body.r22-ready table th,body.r22-ready table td{height:44px!important;padding:0 13px!important;border-bottom:1px solid var(--r22-line)!important;vertical-align:middle!important}
@media(max-width:1400px){body[data-wle-module="dashboard"] .wx-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-wle-module="dashboard"] .wx-main{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-wle-module="projects"] .project-grid,body[data-wle-module="projects"] .projects-grid,body[data-wle-module="projects"] .project-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){body[data-wle-module="dashboard"] .wx-hero,body[data-wle-module="dashboard"] .wx-main,body[data-wle-module="dashboard"] .wx-bottom{grid-template-columns:1fr!important}}
@media(max-width:680px){body.r22-ready .workspace>main,body.r22-ready main.module-main,body.r22-ready main.project-main,body.r22-ready .rbs-page{padding:10px!important}body[data-wle-module="dashboard"] .wx-kpis,body[data-wle-module="projects"] .project-grid,body[data-wle-module="projects"] .projects-grid,body[data-wle-module="projects"] .project-cards-grid{grid-template-columns:1fr!important}}


/* ==========================================================================
   BUILD 100 FINAL CONTRACT
   ========================================================================== */
:root{
  --rb-sidebar:224px;
  --rb-sidebar-mini:76px;
  --rb-topbar:68px;
  --rb-content:1680px;
  --rb-gutter:24px;
  --rb-gap:16px;
  --rb-control:40px;
  --rb-radius:12px;
  --rb-bg:#080d12;
  --rb-shell:#0b1117;
  --rb-panel:#141c23;
  --rb-panel-2:#18222b;
  --rb-line:#2a3741;
  --rb-text:#f3f6f8;
  --rb-muted:#a6b2bb;
  --rb-gold:#d8ad46;
  --rb-green:#31cc73;
  --rb-yellow:#efbb41;
  --rb-red:#ef625d;
  --rb-blue:#3caeea;
  --rb-shadow:0 18px 50px rgba(0,0,0,.22);
  --rb-ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box}
html,body{min-height:100%}
body.reborn-ready{
  --rb-live-sidebar:var(--rb-sidebar);
  margin:0!important;
  background:
    radial-gradient(circle at 90% -10%,rgba(60,174,234,.045),transparent 34%),
    radial-gradient(circle at 10% -10%,rgba(216,173,70,.05),transparent 32%),
    var(--rb-bg)!important;
  color:var(--rb-text)!important;
}
body.reborn-ready.reborn-sidebar-mini{
  --rb-live-sidebar:var(--rb-sidebar-mini);
}

/* One sidebar */
body.reborn-ready .rbs-sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:var(--rb-live-sidebar)!important;
  min-width:var(--rb-live-sidebar)!important;
  max-width:var(--rb-live-sidebar)!important;
  height:100dvh!important;
  overflow:hidden!important;
  z-index:1000!important;
  background:var(--rb-shell)!important;
  border-right:1px solid var(--rb-line)!important;
  box-shadow:14px 0 40px rgba(0,0,0,.18)!important;
  transition:width .2s var(--rb-ease),transform .2s var(--rb-ease)!important;
}
body.reborn-ready .rbs-brand{
  height:84px!important;
  min-height:84px!important;
  padding:14px 13px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
}
body.reborn-ready .rbs-brandmark{
  width:39px!important;
  height:39px!important;
  min-width:39px!important;
  display:grid!important;
  place-items:center!important;
  padding:5px!important;
  border:1px solid rgba(216,173,70,.28)!important;
  border-radius:10px!important;
  background:rgba(216,173,70,.06)!important;
}
body.reborn-ready .rbs-brandmark img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
body.reborn-ready .rbs-brandcopy strong{
  display:block!important;
  font-size:12px!important;
  letter-spacing:.18em!important;
}
body.reborn-ready .rbs-brandcopy small{
  display:block!important;
  margin-top:3px!important;
  color:var(--rb-gold)!important;
  font-size:7px!important;
  font-weight:900!important;
  letter-spacing:.18em!important;
}
body.reborn-ready .rbs-nav{
  height:calc(100dvh - 150px)!important;
  padding:12px 9px 18px!important;
  overflow-y:auto!important;
}
body.reborn-ready .rbs-nav-section-title{
  min-height:30px!important;
  padding:14px 11px 6px!important;
  color:#63727d!important;
  font-size:7px!important;
  letter-spacing:.18em!important;
}
body.reborn-ready .rbs-nav .nav-item{
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  margin:2px 0!important;
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  color:#a1adb6!important;
  background:transparent!important;
  transition:.16s var(--rb-ease)!important;
}
body.reborn-ready .rbs-nav .nav-item:hover{
  color:var(--rb-text)!important;
  background:var(--rb-panel)!important;
  transform:translateX(2px)!important;
}
body.reborn-ready .rbs-nav .nav-item.active{
  color:#f2cd73!important;
  border-color:rgba(216,173,70,.27)!important;
  background:linear-gradient(90deg,rgba(216,173,70,.14),rgba(216,173,70,.025))!important;
  box-shadow:inset 3px 0 0 var(--rb-gold)!important;
}
body.reborn-ready .rbs-nav .rbs-icon{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
}
body.reborn-ready .rbs-user{
  position:absolute!important;
  inset:auto 0 0 0!important;
  height:66px!important;
  padding:10px 12px!important;
  border-top:1px solid rgba(255,255,255,.045)!important;
  background:var(--rb-shell)!important;
}
body.reborn-ready.reborn-sidebar-mini .rbs-brandcopy,
body.reborn-ready.reborn-sidebar-mini .rbs-nav-section-title,
body.reborn-ready.reborn-sidebar-mini .rbs-nav .nav-item>span:last-child,
body.reborn-ready.reborn-sidebar-mini .rbs-user-copy,
body.reborn-ready.reborn-sidebar-mini .rbs-logout{
  display:none!important;
}
body.reborn-ready.reborn-sidebar-mini .rbs-brand,
body.reborn-ready.reborn-sidebar-mini .rbs-nav .nav-item,
body.reborn-ready.reborn-sidebar-mini .rbs-user{
  justify-content:center!important;
}

/* One topbar */
body.reborn-ready .rbs-topbar{
  position:fixed!important;
  inset:0 0 auto var(--rb-live-sidebar)!important;
  width:auto!important;
  height:var(--rb-topbar)!important;
  min-height:var(--rb-topbar)!important;
  margin:0!important;
  padding:0 18px!important;
  display:grid!important;
  grid-template-columns:minmax(245px,.72fr) minmax(360px,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  z-index:900!important;
  background:rgba(8,13,18,.96)!important;
  border-bottom:1px solid var(--rb-line)!important;
  backdrop-filter:blur(16px)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.16)!important;
  transition:left .2s var(--rb-ease)!important;
}
body.reborn-ready .rbs-topbar>*{
  min-width:0!important;
  margin:0!important;
  align-self:center!important;
}
body.reborn-ready .rbs-topbar-title{
  height:40px!important;
  display:flex!important;
  align-items:center!important;
}
body.reborn-ready .rbs-topbar-search{
  height:var(--rb-control)!important;
  min-height:var(--rb-control)!important;
  margin:0!important;
}
body.reborn-ready .rbs-topbar-actions{
  height:var(--rb-control)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
}
body.reborn-ready .rbs-topbar-actions>*{
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
}
body.reborn-ready .build-pill,
body.reborn-ready .rw-workspace-badge{
  display:none!important;
}

/* One workspace */
body.reborn-ready .workspace{
  width:100%!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:var(--rb-topbar) 0 0 var(--rb-live-sidebar)!important;
  transition:padding-left .2s var(--rb-ease)!important;
}
body.reborn-ready .workspace>main,
body.reborn-ready main.module-main,
body.reborn-ready main.project-main,
body.reborn-ready .rbs-page{
  width:min(100%,var(--rb-content))!important;
  max-width:var(--rb-content)!important;
  margin:0 auto!important;
  padding:var(--rb-gutter) var(--rb-gutter) 56px!important;
  display:grid!important;
  align-content:start!important;
  gap:var(--rb-gap)!important;
}
body.reborn-ready .command-center-page,
body.reborn-ready .projects-page,
body.reborn-ready .projects-center,
body.reborn-ready .project-center,
body.reborn-ready .module-content,
body.reborn-ready .project-layout-foundation,
body.reborn-ready .dpc-shell{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  left:auto!important;
}

/* Remove stale duplicated UI */
body.reborn-ready .final-command-toolbar,
body.reborn-ready .legacy-command-toolbar,
body.reborn-ready [data-legacy-toolbar="1"]{
  display:none!important;
}

/* One control/card language */
body.reborn-ready button,
body.reborn-ready .btn,
body.reborn-ready .button,
body.reborn-ready input,
body.reborn-ready select{
  min-height:var(--rb-control)!important;
}
body.reborn-ready button,
body.reborn-ready .btn,
body.reborn-ready .button{
  border-radius:9px!important;
}
body.reborn-ready input,
body.reborn-ready select,
body.reborn-ready textarea{
  border-color:var(--rb-line)!important;
  background:#0e161c!important;
}
body.reborn-ready .card,
body.reborn-ready .panel,
body.reborn-ready .module-card,
body.reborn-ready .dpc-card,
body.reborn-ready .wx-panel,
body.reborn-ready .wsf-card,
body.reborn-ready [data-project-card]{
  min-width:0!important;
  margin:0!important;
  border:1px solid var(--rb-line)!important;
  border-radius:var(--rb-radius)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.014),transparent 55%),
    var(--rb-panel)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
}

/* Dashboard */
body[data-reborn-module="dashboard"] .workspace-experience{
  width:100%!important;
  display:grid!important;
  gap:16px!important;
}
body[data-reborn-module="dashboard"] .wx-hero{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:16px!important;
  margin:0!important;
}
body[data-reborn-module="dashboard"] .wx-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0!important;
}
body[data-reborn-module="dashboard"] .wx-main{
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 310px!important;
  gap:16px!important;
  margin:0!important;
}
body[data-reborn-module="dashboard"] .wx-bottom{
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;
  gap:16px!important;
  margin:0!important;
}
body[data-reborn-module="dashboard"] .wx-kpi{
  min-height:142px!important;
  height:100%!important;
}

/* Projects */
body[data-reborn-module="projects"] #content{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  align-content:start!important;
  gap:16px!important;
}
body[data-reborn-module="projects"] .project-grid,
body[data-reborn-module="projects"] .projects-grid,
body[data-reborn-module="projects"] .project-cards-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
body[data-reborn-module="projects"] [data-project-card],
body[data-reborn-module="projects"] .project-card,
body[data-reborn-module="projects"] .project-pro-card{
  height:100%!important;
  min-height:410px!important;
  padding:16px!important;
  display:flex!important;
  flex-direction:column!important;
}
body[data-reborn-module="projects"] [data-project-card] footer,
body[data-reborn-module="projects"] .project-actions,
body[data-reborn-module="projects"] .project-card-actions{
  width:100%!important;
  margin-top:auto!important;
  padding-top:12px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
body[data-reborn-module="projects"] [data-project-card] footer>*,
body[data-reborn-module="projects"] .project-actions>*,
body[data-reborn-module="projects"] .project-card-actions>*{
  width:100%!important;
  height:40px!important;
  margin:0!important;
}

/* Toolbars */
body.reborn-ready .r22-toolbar,
body.reborn-ready .r22-toolbar,
body.reborn-ready .toolbar,
body.reborn-ready .filter-bar,
body.reborn-ready .enterprise-table-toolbar,
body.reborn-ready .projects-toolbar,
body.reborn-ready .final-filter-bar{
  width:100%!important;
  min-height:64px!important;
  margin:0!important;
  padding:12px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  border:1px solid var(--rb-line)!important;
  border-radius:var(--rb-radius)!important;
  background:var(--rb-panel)!important;
}
body.reborn-ready .toolbar input[type="search"],
body.reborn-ready .filter-bar input[type="search"],
body.reborn-ready .enterprise-table-toolbar input[type="search"],
body.reborn-ready .toolbar input:first-child,
body.reborn-ready .filter-bar input:first-child{
  flex:1 1 300px!important;
}

/* Semantic statuses */
body.reborn-ready [data-wsf-status="success"]{
  color:#70e9a6!important;
  border-color:rgba(49,204,115,.3)!important;
  background:rgba(49,204,115,.09)!important;
}
body.reborn-ready [data-wsf-status="warning"]{
  color:#f5cd70!important;
  border-color:rgba(239,187,65,.3)!important;
  background:rgba(239,187,65,.09)!important;
}
body.reborn-ready [data-wsf-status="danger"]{
  color:#ff918d!important;
  border-color:rgba(239,98,93,.3)!important;
  background:rgba(239,98,93,.09)!important;
}
body.reborn-ready [data-wsf-status="info"]{
  color:#76cbf7!important;
  border-color:rgba(60,174,234,.3)!important;
  background:rgba(60,174,234,.09)!important;
}

/* Login */
body.auth-body{
  background:
    radial-gradient(circle at 50% 4%,rgba(216,173,70,.13),transparent 31%),
    var(--rb-bg)!important;
}
.auth-shell{
  border-color:var(--rb-line)!important;
  background:var(--rb-panel)!important;
}
.auth-brand-panel{
  background:
    linear-gradient(145deg,rgba(216,173,70,.12),transparent 48%),
    #0d141a!important;
}

/* Responsive */
.reborn-mobile-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:990;
  border:0;
  background:rgba(0,0,0,.54);
  backdrop-filter:blur(3px);
}
@media(max-width:1400px){
  body[data-reborn-module="dashboard"] .wx-kpis{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body[data-reborn-module="dashboard"] .wx-main{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body[data-reborn-module="dashboard"] .wx-main>*:last-child{
    grid-column:1 / -1;
  }
  body[data-reborn-module="projects"] .project-grid,
  body[data-reborn-module="projects"] .projects-grid,
  body[data-reborn-module="projects"] .project-cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:1000px){
  body.reborn-ready{
    --rb-live-sidebar:0px;
    --rb-gutter:16px;
  }
  body.reborn-ready .rbs-sidebar{
    width:min(292px,86vw)!important;
    min-width:0!important;
    max-width:none!important;
    transform:translateX(-105%)!important;
  }
  body.reborn-ready.reborn-mobile-open .rbs-sidebar{
    transform:translateX(0)!important;
  }
  body.reborn-ready.reborn-mobile-open .reborn-mobile-overlay{
    display:block;
  }
  body.reborn-ready .rbs-topbar{
    left:0!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  body.reborn-ready .workspace{
    padding-left:0!important;
  }
}
@media(max-width:900px){
  body[data-reborn-module="dashboard"] .wx-hero,
  body[data-reborn-module="dashboard"] .wx-main,
  body[data-reborn-module="dashboard"] .wx-bottom{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:680px){
  body.reborn-ready{--rb-gutter:10px}
  body.reborn-ready .rbs-topbar{padding-inline:9px!important}
  body.reborn-ready .rbs-topbar-search{display:none!important}
  body[data-reborn-module="dashboard"] .wx-kpis,
  body[data-reborn-module="projects"] .project-grid,
  body[data-reborn-module="projects"] .projects-grid,
  body[data-reborn-module="projects"] .project-cards-grid{
    grid-template-columns:1fr!important;
  }
  body[data-reborn-module="projects"] [data-project-card],
  body[data-reborn-module="projects"] .project-card,
  body[data-reborn-module="projects"] .project-pro-card{
    min-height:auto!important;
  }
}


/* ==========================================================================
   RATING WORKSPACE 20.0 — BUILD 200 ENTERPRISE LAYOUT ENGINE
   Comfortable density, readable typography and reduced information overload.
   ========================================================================== */
:root{
  --e200-sidebar:232px;
  --e200-sidebar-mini:80px;
  --e200-topbar:76px;
  --e200-content:1560px;
  --e200-gutter:28px;
  --e200-gap:20px;
  --e200-control:44px;
  --e200-radius:14px;
  --e200-bg:#080d12;
  --e200-shell:#0b1117;
  --e200-panel:#151e26;
  --e200-panel-soft:#111920;
  --e200-line:#2c3a45;
  --e200-line-soft:#22303a;
  --e200-text:#f4f7f9;
  --e200-muted:#aeb9c1;
  --e200-dim:#7e8d98;
  --e200-gold:#d8ad46;
  --e200-green:#35cf78;
  --e200-yellow:#efbd4b;
  --e200-red:#ef655f;
  --e200-blue:#42b1ec;
  --e200-shadow:0 18px 50px rgba(0,0,0,.22);
  --e200-ease:cubic-bezier(.22,.61,.36,1);
  --e200-font-body:15px;
  --e200-font-small:13px;
  --e200-font-caption:12px;
  --e200-font-card:17px;
  --e200-font-page:30px;
  --e200-font-kpi:32px;
}

/* Density options. Comfortable is the default. */
body.enterprise-200{
  --e200-live-sidebar:var(--e200-sidebar);
  --e200-density-scale:1;
  font-size:var(--e200-font-body)!important;
  line-height:1.5!important;
}
body.enterprise-200[data-density="default"]{
  --e200-gutter:22px;
  --e200-gap:16px;
  --e200-control:42px;
  --e200-font-body:14px;
  --e200-font-small:12px;
  --e200-font-card:16px;
  --e200-font-page:28px;
  --e200-font-kpi:29px;
}
body.enterprise-200[data-density="compact"]{
  --e200-gutter:16px;
  --e200-gap:12px;
  --e200-control:38px;
  --e200-font-body:13px;
  --e200-font-small:11px;
  --e200-font-card:15px;
  --e200-font-page:25px;
  --e200-font-kpi:26px;
}
body.enterprise-200.enterprise-sidebar-mini{
  --e200-live-sidebar:var(--e200-sidebar-mini);
}

/* Typography: ensure meaningful information is readable. */
body.enterprise-200,
body.enterprise-200 button,
body.enterprise-200 input,
body.enterprise-200 select,
body.enterprise-200 textarea{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif!important;
}
body.enterprise-200 h1{
  font-size:var(--e200-font-page)!important;
  line-height:1.16!important;
  letter-spacing:-.035em!important;
}
body.enterprise-200 h2{
  font-size:21px!important;
  line-height:1.25!important;
}
body.enterprise-200 h3{
  font-size:var(--e200-font-card)!important;
  line-height:1.3!important;
}
body.enterprise-200 p,
body.enterprise-200 li,
body.enterprise-200 td,
body.enterprise-200 label{
  font-size:var(--e200-font-body)!important;
}
body.enterprise-200 small,
body.enterprise-200 .muted,
body.enterprise-200 .subtitle{
  font-size:var(--e200-font-small)!important;
  line-height:1.45!important;
}
body.enterprise-200 .eyebrow,
body.enterprise-200 [class*="eyebrow"],
body.enterprise-200 .rbs-nav-section-title{
  font-size:10px!important;
  line-height:1.2!important;
  letter-spacing:.12em!important;
}
body.enterprise-200 .wx-kpi strong,
body.enterprise-200 .wsf-kpi>strong,
body.enterprise-200 [data-kpi-value]{
  font-size:var(--e200-font-kpi)!important;
  line-height:1!important;
}

/* One comfortable shell. */
body.enterprise-200 .rbs-sidebar{
  width:var(--e200-live-sidebar)!important;
  min-width:var(--e200-live-sidebar)!important;
  max-width:var(--e200-live-sidebar)!important;
  background:var(--e200-shell)!important;
  border-right:1px solid var(--e200-line)!important;
}
body.enterprise-200 .rbs-brand{
  height:94px!important;
  min-height:94px!important;
  padding:18px 15px!important;
  gap:13px!important;
}
body.enterprise-200 .rbs-brandmark{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  padding:6px!important;
  border-radius:12px!important;
}
body.enterprise-200 .rbs-brandcopy strong{
  font-size:14px!important;
}
body.enterprise-200 .rbs-brandcopy small{
  font-size:9px!important;
}
body.enterprise-200 .rbs-nav{
  height:calc(100dvh - 170px)!important;
  padding:12px 10px 22px!important;
}
body.enterprise-200 .rbs-nav-group+.rbs-nav-group{
  margin-top:12px!important;
}
body.enterprise-200 .rbs-nav-section-title{
  min-height:34px!important;
  padding:16px 13px 8px!important;
}
body.enterprise-200 .rbs-nav .nav-item{
  height:46px!important;
  min-height:46px!important;
  margin:3px 0!important;
  padding:0 13px!important;
  gap:12px!important;
  border-radius:10px!important;
  font-size:14px!important;
}
body.enterprise-200 .rbs-nav .rbs-icon{
  width:20px!important;
  height:20px!important;
  flex-basis:20px!important;
}
body.enterprise-200 .rbs-user{
  height:76px!important;
  padding:12px 14px!important;
}
body.enterprise-200.enterprise-sidebar-mini .rbs-brandcopy,
body.enterprise-200.enterprise-sidebar-mini .rbs-nav-section-title,
body.enterprise-200.enterprise-sidebar-mini .rbs-nav .nav-item>span:last-child,
body.enterprise-200.enterprise-sidebar-mini .rbs-user-copy,
body.enterprise-200.enterprise-sidebar-mini .rbs-logout{
  display:none!important;
}
body.enterprise-200.enterprise-sidebar-mini .rbs-brand,
body.enterprise-200.enterprise-sidebar-mini .rbs-nav .nav-item,
body.enterprise-200.enterprise-sidebar-mini .rbs-user{
  justify-content:center!important;
}

/* Topbar: three clean zones, no floating elements. */
body.enterprise-200 .rbs-topbar{
  left:var(--e200-live-sidebar)!important;
  height:var(--e200-topbar)!important;
  min-height:var(--e200-topbar)!important;
  padding:0 22px!important;
  grid-template-columns:minmax(270px,.8fr) minmax(320px,1fr) auto!important;
  gap:16px!important;
  background:rgba(8,13,18,.97)!important;
  border-bottom:1px solid var(--e200-line)!important;
}
body.enterprise-200 .rbs-topbar-title,
body.enterprise-200 .rbs-topbar-search,
body.enterprise-200 .rbs-topbar-actions{
  height:44px!important;
  min-height:44px!important;
  align-items:center!important;
}
body.enterprise-200 .rbs-breadcrumb-copy strong{
  font-size:14px!important;
}
body.enterprise-200 .rbs-breadcrumb-copy small{
  font-size:11px!important;
}
body.enterprise-200 .rbs-topbar-search{
  border-radius:11px!important;
}
body.enterprise-200 .rbs-topbar-search input{
  font-size:14px!important;
}
body.enterprise-200 .rbs-topbar-actions{
  gap:9px!important;
}
body.enterprise-200 .rbs-topbar-actions>*{
  height:40px!important;
  min-height:40px!important;
}
body.enterprise-200 .rbs-profile{
  padding:4px 9px!important;
}
body.enterprise-200 .rbs-profile strong{
  font-size:13px!important;
}
body.enterprise-200 .rbs-profile small{
  font-size:10px!important;
}

/* Main content: less density, more whitespace. */
body.enterprise-200 .workspace{
  padding:var(--e200-topbar) 0 0 var(--e200-live-sidebar)!important;
}
body.enterprise-200 .workspace>main,
body.enterprise-200 main.module-main,
body.enterprise-200 main.project-main,
body.enterprise-200 .rbs-page{
  width:min(100%,var(--e200-content))!important;
  max-width:var(--e200-content)!important;
  padding:var(--e200-gutter) var(--e200-gutter) 68px!important;
  gap:var(--e200-gap)!important;
}
body.enterprise-200 .r22-module-header,
body.enterprise-200 .wsf-page-header{
  min-height:76px!important;
  margin-bottom:4px!important;
}
body.enterprise-200 .r22-module-heading p,
body.enterprise-200 .wsf-page-heading p{
  margin-top:8px!important;
  font-size:14px!important;
}

/* Cards */
body.enterprise-200 .card,
body.enterprise-200 .panel,
body.enterprise-200 .module-card,
body.enterprise-200 .dpc-card,
body.enterprise-200 .wx-panel,
body.enterprise-200 .wsf-card,
body.enterprise-200 [data-project-card],
body.enterprise-200 .wx-kpi{
  border-radius:var(--e200-radius)!important;
  border-color:var(--e200-line)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.018),transparent 56%),
    var(--e200-panel)!important;
}
body.enterprise-200 .wsf-card,
body.enterprise-200 .wx-panel,
body.enterprise-200 [data-project-card]{
  padding:20px!important;
}
body.enterprise-200 .wsf-card-header,
body.enterprise-200 .wx-panel>header{
  margin-bottom:16px!important;
}
body.enterprise-200 .wsf-card-heading p{
  font-size:13px!important;
}

/* Dashboard: reduce what competes for attention. */
body.enterprise-200[data-reborn-module="dashboard"] .workspace-experience{
  gap:20px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-hero{
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:20px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-hero-main{
  min-height:170px!important;
  padding:26px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-hero-main h1{
  font-size:30px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-kpi{
  min-height:160px!important;
  padding:20px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-kpi:nth-child(n+7){
  display:none!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-main{
  grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr)!important;
  gap:20px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-main>*:last-child{
  grid-column:1 / -1!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-bottom{
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
  gap:20px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-list-item,
body.enterprise-200[data-reborn-module="dashboard"] .wx-priority-item{
  min-height:58px!important;
  padding:12px 14px!important;
}
body.enterprise-200[data-reborn-module="dashboard"] .wx-activity-item:nth-child(n+7){
  display:none!important;
}

/* Projects: readable, fewer cards per row, clearer sections. */
body.enterprise-200[data-reborn-module="projects"] #content{
  gap:22px!important;
}
body.enterprise-200[data-reborn-module="projects"] .project-grid,
body.enterprise-200[data-reborn-module="projects"] .projects-grid,
body.enterprise-200[data-reborn-module="projects"] .project-cards-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
body.enterprise-200[data-reborn-module="projects"] [data-project-card],
body.enterprise-200[data-reborn-module="projects"] .project-card,
body.enterprise-200[data-reborn-module="projects"] .project-pro-card{
  min-height:430px!important;
  padding:22px!important;
}
body.enterprise-200[data-reborn-module="projects"] .project-card h2,
body.enterprise-200[data-reborn-module="projects"] .project-card h3,
body.enterprise-200[data-reborn-module="projects"] .project-pro-card h2,
body.enterprise-200[data-reborn-module="projects"] .project-pro-card h3{
  font-size:20px!important;
}
body.enterprise-200[data-reborn-module="projects"] .project-actions>*,
body.enterprise-200[data-reborn-module="projects"] .project-card-actions>*,
body.enterprise-200[data-reborn-module="projects"] [data-project-card] footer>*{
  height:44px!important;
  font-size:14px!important;
}

/* KPI summary cards in projects */
body.enterprise-200[data-reborn-module="projects"] .project-kpis,
body.enterprise-200[data-reborn-module="projects"] .projects-kpis,
body.enterprise-200[data-reborn-module="projects"] .stats-grid{
  gap:14px!important;
}
body.enterprise-200[data-reborn-module="projects"] .project-kpis>*,
body.enterprise-200[data-reborn-module="projects"] .projects-kpis>*,
body.enterprise-200[data-reborn-module="projects"] .stats-grid>*{
  min-height:104px!important;
  padding:18px!important;
}

/* Toolbars: visually divided groups and larger controls. */
body.enterprise-200 .r22-toolbar,
body.enterprise-200 .toolbar,
body.enterprise-200 .filter-bar,
body.enterprise-200 .enterprise-table-toolbar,
body.enterprise-200 .projects-toolbar,
body.enterprise-200 .final-filter-bar{
  min-height:76px!important;
  padding:14px!important;
  gap:10px!important;
  border-radius:var(--e200-radius)!important;
}
body.enterprise-200 .toolbar input,
body.enterprise-200 .toolbar select,
body.enterprise-200 .filter-bar input,
body.enterprise-200 .filter-bar select,
body.enterprise-200 .enterprise-table-toolbar input,
body.enterprise-200 .enterprise-table-toolbar select{
  height:44px!important;
  min-height:44px!important;
  padding-inline:12px!important;
  font-size:14px!important;
}
body.enterprise-200 .toolbar select,
body.enterprise-200 .filter-bar select,
body.enterprise-200 .enterprise-table-toolbar select{
  min-width:135px!important;
}
body.enterprise-200 .toolbar button,
body.enterprise-200 .toolbar .btn,
body.enterprise-200 .filter-bar button,
body.enterprise-200 .filter-bar .btn{
  height:44px!important;
  min-height:44px!important;
  font-size:14px!important;
}

/* Tables */
body.enterprise-200 .wsf-table th,
body.enterprise-200 table th{
  height:48px!important;
  font-size:12px!important;
}
body.enterprise-200 .wsf-table td,
body.enterprise-200 table td{
  height:54px!important;
  font-size:14px!important;
}

/* Statuses and badges */
body.enterprise-200 .wsf-badge,
body.enterprise-200 .status-badge,
body.enterprise-200 .enterprise-status{
  min-height:26px!important;
  padding-inline:9px!important;
  font-size:10px!important;
}

/* Density control */
.enterprise-density{
  position:relative;
}
.enterprise-density-menu{
  position:absolute;
  top:48px;
  right:0;
  z-index:1200;
  width:190px;
  display:none;
  padding:8px;
  border:1px solid var(--e200-line);
  border-radius:12px;
  background:var(--e200-panel);
  box-shadow:var(--e200-shadow);
}
.enterprise-density.open .enterprise-density-menu{
  display:grid;
  gap:5px;
}
.enterprise-density-menu button{
  width:100%;
  justify-content:flex-start!important;
  padding-inline:12px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  color:var(--e200-muted)!important;
  font-size:13px!important;
}
.enterprise-density-menu button:hover,
.enterprise-density-menu button.active{
  color:var(--e200-text)!important;
  border-color:var(--e200-line)!important;
  background:var(--e200-panel-2)!important;
}

/* Responsive */
@media(max-width:1300px){
  body.enterprise-200[data-reborn-module="dashboard"] .wx-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.enterprise-200[data-reborn-module="projects"] .project-grid,
  body.enterprise-200[data-reborn-module="projects"] .projects-grid,
  body.enterprise-200[data-reborn-module="projects"] .project-cards-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:1000px){
  body.enterprise-200{
    --e200-live-sidebar:0px;
    --e200-gutter:18px;
  }
  body.enterprise-200 .rbs-sidebar{
    width:min(300px,88vw)!important;
    min-width:0!important;
    max-width:none!important;
    transform:translateX(-105%)!important;
  }
  body.enterprise-200.enterprise-mobile-open .rbs-sidebar{
    transform:translateX(0)!important;
  }
  body.enterprise-200 .rbs-topbar{
    left:0!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  body.enterprise-200 .workspace{
    padding-left:0!important;
  }
}
@media(max-width:820px){
  body.enterprise-200[data-reborn-module="dashboard"] .wx-hero,
  body.enterprise-200[data-reborn-module="dashboard"] .wx-main,
  body.enterprise-200[data-reborn-module="dashboard"] .wx-bottom{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:680px){
  body.enterprise-200{
    --e200-gutter:12px;
    --e200-font-body:14px;
    --e200-font-page:26px;
  }
  body.enterprise-200 .rbs-topbar{
    padding-inline:10px!important;
  }
  body.enterprise-200 .rbs-topbar-search{
    display:none!important;
  }
  body.enterprise-200[data-reborn-module="dashboard"] .wx-kpis{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   RATING WORKSPACE 30.0 — BUILD 300 UI REDESIGN
   Calm, readable, spacious and focused enterprise interface.
   ========================================================================== */
:root{
  --ui300-bg:#080c11;
  --ui300-shell:#0b1117;
  --ui300-panel:#151d25;
  --ui300-panel-2:#111920;
  --ui300-panel-hover:#19232c;
  --ui300-line:#2a3843;
  --ui300-line-soft:#202d36;
  --ui300-text:#f5f7f9;
  --ui300-muted:#aab6bf;
  --ui300-dim:#778690;
  --ui300-gold:#d7ad49;
  --ui300-gold-soft:rgba(215,173,73,.12);
  --ui300-green:#38d07c;
  --ui300-yellow:#efbd4d;
  --ui300-red:#ee675f;
  --ui300-blue:#43b2ec;
  --ui300-radius:16px;
  --ui300-radius-sm:11px;
  --ui300-shadow:0 18px 55px rgba(0,0,0,.24);
  --ui300-sidebar:244px;
  --ui300-sidebar-mini:82px;
  --ui300-topbar:78px;
  --ui300-content:1500px;
  --ui300-gutter:30px;
  --ui300-gap:22px;
}

/* Global appearance */
body.ui300-ready{
  --ui300-live-sidebar:var(--ui300-sidebar);
  background:
    radial-gradient(circle at 18% -12%,rgba(215,173,73,.055),transparent 34%),
    radial-gradient(circle at 88% -14%,rgba(67,178,236,.04),transparent 32%),
    var(--ui300-bg)!important;
  color:var(--ui300-text)!important;
}
body.ui300-ready.ui300-sidebar-mini{
  --ui300-live-sidebar:var(--ui300-sidebar-mini);
}

/* Typography */
body.ui300-ready{
  font-size:15px!important;
  line-height:1.55!important;
}
body.ui300-ready h1{
  font-size:32px!important;
  line-height:1.12!important;
  letter-spacing:-.04em!important;
}
body.ui300-ready h2{
  font-size:22px!important;
  line-height:1.25!important;
}
body.ui300-ready h3{
  font-size:18px!important;
  line-height:1.3!important;
}
body.ui300-ready p,
body.ui300-ready li,
body.ui300-ready td,
body.ui300-ready label{
  font-size:15px!important;
}
body.ui300-ready small{
  font-size:12px!important;
  line-height:1.45!important;
}
body.ui300-ready .eyebrow,
body.ui300-ready [class*="eyebrow"],
body.ui300-ready .rbs-nav-section-title{
  font-size:10px!important;
  letter-spacing:.14em!important;
}

/* Sidebar redesign */
body.ui300-ready .rbs-sidebar{
  width:var(--ui300-live-sidebar)!important;
  min-width:var(--ui300-live-sidebar)!important;
  max-width:var(--ui300-live-sidebar)!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.012),transparent 24%),
    var(--ui300-shell)!important;
  border-right:1px solid var(--ui300-line)!important;
  box-shadow:18px 0 48px rgba(0,0,0,.22)!important;
}
body.ui300-ready .rbs-brand{
  height:104px!important;
  min-height:104px!important;
  padding:22px 16px!important;
  gap:14px!important;
}
body.ui300-ready .rbs-brandmark{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  padding:7px!important;
  border:1px solid rgba(215,173,73,.3)!important;
  border-radius:14px!important;
  background:
    radial-gradient(circle at 50% 35%,rgba(215,173,73,.15),transparent 70%),
    rgba(215,173,73,.045)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
body.ui300-ready .rbs-brandcopy strong{
  font-size:15px!important;
  letter-spacing:.17em!important;
}
body.ui300-ready .rbs-brandcopy small{
  margin-top:4px!important;
  font-size:9px!important;
  letter-spacing:.19em!important;
}
body.ui300-ready .rbs-nav{
  height:calc(100dvh - 184px)!important;
  padding:10px 11px 24px!important;
}
body.ui300-ready .rbs-nav-group+.rbs-nav-group{
  margin-top:16px!important;
}
body.ui300-ready .rbs-nav-section-title{
  min-height:36px!important;
  padding:17px 13px 8px!important;
  color:#71808b!important;
}
body.ui300-ready .rbs-nav .nav-item{
  height:48px!important;
  min-height:48px!important;
  margin:3px 0!important;
  padding:0 14px!important;
  gap:12px!important;
  border-radius:11px!important;
  font-size:14px!important;
}
body.ui300-ready .rbs-nav .nav-item:hover{
  background:var(--ui300-panel)!important;
  transform:translateX(2px)!important;
}
body.ui300-ready .rbs-nav .nav-item.active{
  color:#f3cf7a!important;
  border-color:rgba(215,173,73,.3)!important;
  background:
    linear-gradient(90deg,rgba(215,173,73,.15),rgba(215,173,73,.035))!important;
  box-shadow:
    inset 3px 0 0 var(--ui300-gold),
    0 8px 20px rgba(0,0,0,.1)!important;
}
body.ui300-ready .rbs-nav .rbs-icon{
  width:20px!important;
  height:20px!important;
}
body.ui300-ready .rbs-user{
  height:80px!important;
  padding:13px 15px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.01),transparent),var(--ui300-shell)!important;
}
body.ui300-ready.ui300-sidebar-mini .rbs-brandcopy,
body.ui300-ready.ui300-sidebar-mini .rbs-nav-section-title,
body.ui300-ready.ui300-sidebar-mini .rbs-nav .nav-item>span:last-child,
body.ui300-ready.ui300-sidebar-mini .rbs-user-copy,
body.ui300-ready.ui300-sidebar-mini .rbs-logout{
  display:none!important;
}
body.ui300-ready.ui300-sidebar-mini .rbs-brand,
body.ui300-ready.ui300-sidebar-mini .rbs-nav .nav-item,
body.ui300-ready.ui300-sidebar-mini .rbs-user{
  justify-content:center!important;
}

/* Topbar redesign */
body.ui300-ready .rbs-topbar{
  left:var(--ui300-live-sidebar)!important;
  height:var(--ui300-topbar)!important;
  min-height:var(--ui300-topbar)!important;
  padding:0 24px!important;
  grid-template-columns:minmax(280px,.88fr) minmax(340px,1fr) auto!important;
  gap:18px!important;
  background:rgba(8,12,17,.965)!important;
  border-bottom:1px solid var(--ui300-line)!important;
  backdrop-filter:blur(18px)!important;
}
body.ui300-ready .rbs-topbar-title,
body.ui300-ready .rbs-topbar-search,
body.ui300-ready .rbs-topbar-actions{
  height:46px!important;
  min-height:46px!important;
}
body.ui300-ready .rbs-breadcrumb-copy strong{
  font-size:15px!important;
}
body.ui300-ready .rbs-breadcrumb-copy small{
  font-size:11px!important;
}
body.ui300-ready .rbs-topbar-search{
  border-radius:12px!important;
  border-color:var(--ui300-line)!important;
  background:#0d151b!important;
}
body.ui300-ready .rbs-topbar-search input{
  font-size:14px!important;
}
body.ui300-ready .rbs-topbar-actions{
  gap:10px!important;
}
body.ui300-ready .rbs-topbar-actions>*{
  height:42px!important;
  min-height:42px!important;
}
body.ui300-ready .rbs-action-gold{
  padding-inline:16px!important;
}
body.ui300-ready .rbs-profile{
  padding:4px 10px!important;
  border:1px solid var(--ui300-line)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.015)!important;
}

/* Main content */
body.ui300-ready .workspace{
  padding:var(--ui300-topbar) 0 0 var(--ui300-live-sidebar)!important;
}
body.ui300-ready .workspace>main,
body.ui300-ready main.module-main,
body.ui300-ready main.project-main,
body.ui300-ready .rbs-page{
  width:min(100%,var(--ui300-content))!important;
  max-width:var(--ui300-content)!important;
  padding:var(--ui300-gutter) var(--ui300-gutter) 76px!important;
  gap:var(--ui300-gap)!important;
}
body.ui300-ready .r22-module-header,
body.ui300-ready .wsf-page-header{
  min-height:82px!important;
  margin:0!important;
}
body.ui300-ready .r22-module-heading p,
body.ui300-ready .wsf-page-heading p{
  margin-top:8px!important;
  font-size:14px!important;
  color:var(--ui300-muted)!important;
}

/* Cards */
body.ui300-ready .card,
body.ui300-ready .panel,
body.ui300-ready .module-card,
body.ui300-ready .dpc-card,
body.ui300-ready .wx-panel,
body.ui300-ready .wsf-card,
body.ui300-ready [data-project-card],
body.ui300-ready .wx-kpi{
  border:1px solid var(--ui300-line)!important;
  border-radius:var(--ui300-radius)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.018),transparent 56%),
    var(--ui300-panel)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.022),
    0 10px 32px rgba(0,0,0,.12)!important;
}
body.ui300-ready .wsf-card,
body.ui300-ready .wx-panel,
body.ui300-ready [data-project-card]{
  padding:22px!important;
}
body.ui300-ready .wsf-card--interactive:hover,
body.ui300-ready [data-project-card]:hover{
  border-color:#40505d!important;
  transform:translateY(-2px)!important;
  box-shadow:var(--ui300-shadow)!important;
}

/* Dashboard redesign */
body.ui300-ready[data-reborn-module="dashboard"] .workspace-experience{
  gap:22px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-hero{
  grid-template-columns:minmax(0,1fr) 340px!important;
  gap:22px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-hero-main{
  min-height:184px!important;
  padding:30px!important;
  border-left:3px solid var(--ui300-gold)!important;
  background:
    radial-gradient(circle at 86% 28%,rgba(215,173,73,.11),transparent 34%),
    linear-gradient(145deg,rgba(255,255,255,.016),transparent 60%),
    var(--ui300-panel)!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-hero-main h1{
  font-size:32px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-kpi{
  min-height:172px!important;
  padding:22px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-kpi strong{
  font-size:34px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-main{
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;
  gap:22px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-main>*:last-child{
  grid-column:1 / -1!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-bottom{
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
  gap:22px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-list-item,
body.ui300-ready[data-reborn-module="dashboard"] .wx-priority-item{
  min-height:62px!important;
  padding:13px 15px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-activity-item{
  min-height:50px!important;
}
body.ui300-ready[data-reborn-module="dashboard"] .wx-activity-item:nth-child(n+6){
  display:none!important;
}

/* Projects redesign */
body.ui300-ready[data-reborn-module="projects"] #content{
  gap:24px!important;
}
body.ui300-ready[data-reborn-module="projects"] .project-grid,
body.ui300-ready[data-reborn-module="projects"] .projects-grid,
body.ui300-ready[data-reborn-module="projects"] .project-cards-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
}
body.ui300-ready[data-reborn-module="projects"] [data-project-card],
body.ui300-ready[data-reborn-module="projects"] .project-card,
body.ui300-ready[data-reborn-module="projects"] .project-pro-card{
  min-height:448px!important;
  padding:24px!important;
}
body.ui300-ready[data-reborn-module="projects"] .project-card h2,
body.ui300-ready[data-reborn-module="projects"] .project-card h3,
body.ui300-ready[data-reborn-module="projects"] .project-pro-card h2,
body.ui300-ready[data-reborn-module="projects"] .project-pro-card h3{
  font-size:21px!important;
}
body.ui300-ready[data-reborn-module="projects"] .project-actions>*,
body.ui300-ready[data-reborn-module="projects"] .project-card-actions>*,
body.ui300-ready[data-reborn-module="projects"] [data-project-card] footer>*{
  height:46px!important;
  font-size:14px!important;
}

/* Toolbar redesign */
body.ui300-ready .r22-toolbar,
body.ui300-ready .toolbar,
body.ui300-ready .filter-bar,
body.ui300-ready .enterprise-table-toolbar,
body.ui300-ready .projects-toolbar,
body.ui300-ready .final-filter-bar{
  min-height:82px!important;
  padding:16px!important;
  gap:11px!important;
  border-radius:var(--ui300-radius)!important;
  background:var(--ui300-panel)!important;
}
body.ui300-ready .toolbar input,
body.ui300-ready .toolbar select,
body.ui300-ready .filter-bar input,
body.ui300-ready .filter-bar select,
body.ui300-ready .enterprise-table-toolbar input,
body.ui300-ready .enterprise-table-toolbar select{
  height:46px!important;
  min-height:46px!important;
  padding-inline:13px!important;
  font-size:14px!important;
  border-radius:10px!important;
}
body.ui300-ready .toolbar select,
body.ui300-ready .filter-bar select,
body.ui300-ready .enterprise-table-toolbar select{
  min-width:140px!important;
}
body.ui300-ready .toolbar button,
body.ui300-ready .toolbar .btn,
body.ui300-ready .filter-bar button,
body.ui300-ready .filter-bar .btn{
  height:46px!important;
  min-height:46px!important;
  font-size:14px!important;
}

/* Tables and status */
body.ui300-ready table th{
  height:50px!important;
  font-size:12px!important;
}
body.ui300-ready table td{
  height:56px!important;
  font-size:14px!important;
}
body.ui300-ready .wsf-badge,
body.ui300-ready .status-badge,
body.ui300-ready .enterprise-status{
  min-height:28px!important;
  padding-inline:10px!important;
  font-size:10px!important;
}

/* Focus mode: hide lower-priority dashboard sections when desired */
body.ui300-ready.ui300-focus-mode[data-reborn-module="dashboard"] .wx-bottom{
  display:none!important;
}
body.ui300-ready.ui300-focus-mode[data-reborn-module="dashboard"] .wx-main>*:last-child{
  display:none!important;
}

/* Focus button */
.ui300-focus-control{
  display:inline-flex;
}
.ui300-focus-control button.active{
  color:#f3cf7a!important;
  border-color:rgba(215,173,73,.3)!important;
  background:var(--ui300-gold-soft)!important;
}

/* Responsive */
@media(max-width:1280px){
  body.ui300-ready[data-reborn-module="dashboard"] .wx-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.ui300-ready[data-reborn-module="projects"] .project-grid,
  body.ui300-ready[data-reborn-module="projects"] .projects-grid,
  body.ui300-ready[data-reborn-module="projects"] .project-cards-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:1000px){
  body.ui300-ready{
    --ui300-live-sidebar:0px;
    --ui300-gutter:18px;
  }
  body.ui300-ready .rbs-sidebar{
    width:min(308px,88vw)!important;
    min-width:0!important;
    max-width:none!important;
    transform:translateX(-105%)!important;
  }
  body.ui300-ready.ui300-mobile-open .rbs-sidebar{
    transform:translateX(0)!important;
  }
  body.ui300-ready .rbs-topbar{
    left:0!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  body.ui300-ready .workspace{
    padding-left:0!important;
  }
}
@media(max-width:820px){
  body.ui300-ready[data-reborn-module="dashboard"] .wx-hero,
  body.ui300-ready[data-reborn-module="dashboard"] .wx-main,
  body.ui300-ready[data-reborn-module="dashboard"] .wx-bottom{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:680px){
  body.ui300-ready{
    --ui300-gutter:12px;
  }
  body.ui300-ready .rbs-topbar{
    padding-inline:10px!important;
  }
  body.ui300-ready .rbs-topbar-search{
    display:none!important;
  }
  body.ui300-ready[data-reborn-module="dashboard"] .wx-kpis{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   RATING WORKSPACE 35.0 — BUILD 350 FIX
   Targeted UX, layout and readability correction for the uploaded app.
   ========================================================================== */
:root{
  --fix350-sidebar:232px;
  --fix350-sidebar-mini:78px;
  --fix350-topbar:72px;
  --fix350-content:1540px;
  --fix350-gutter:24px;
  --fix350-gap:18px;
  --fix350-control:42px;
  --fix350-radius:14px;
  --fix350-bg:#080d12;
  --fix350-shell:#0b1117;
  --fix350-panel:#151e26;
  --fix350-panel-2:#111920;
  --fix350-line:#2b3944;
  --fix350-text:#f4f7f9;
  --fix350-muted:#aab6bf;
  --fix350-gold:#d8ad46;
  --fix350-green:#35cf78;
  --fix350-yellow:#efbd4b;
  --fix350-red:#ef655f;
  --fix350-blue:#42b1ec;
}
html{background:var(--fix350-bg)}
body.fix350-ready{
  --fix350-live-sidebar:var(--fix350-sidebar);
  margin:0!important;
  min-height:100dvh!important;
  overflow-x:hidden!important;
  background:
    radial-gradient(circle at 84% -12%,rgba(66,177,236,.045),transparent 32%),
    radial-gradient(circle at 15% -12%,rgba(216,173,70,.055),transparent 32%),
    var(--fix350-bg)!important;
  color:var(--fix350-text)!important;
  font-size:15px!important;
  line-height:1.5!important;
}
body.fix350-ready.fix350-sidebar-mini{
  --fix350-live-sidebar:var(--fix350-sidebar-mini);
}
body.fix350-ready *,
body.fix350-ready *::before,
body.fix350-ready *::after{box-sizing:border-box}

/* One stable sidebar on every route. */
body.fix350-ready .rbs-sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:var(--fix350-live-sidebar)!important;
  min-width:var(--fix350-live-sidebar)!important;
  max-width:var(--fix350-live-sidebar)!important;
  height:100dvh!important;
  z-index:1000!important;
  overflow:hidden!important;
  border-right:1px solid var(--fix350-line)!important;
  background:var(--fix350-shell)!important;
  box-shadow:14px 0 42px rgba(0,0,0,.2)!important;
  transition:width .18s ease!important;
}
body.fix350-ready .rbs-brand{
  height:92px!important;
  min-height:92px!important;
  padding:17px 14px!important;
  gap:12px!important;
}
body.fix350-ready .rbs-brandmark{
  width:45px!important;
  height:45px!important;
  min-width:45px!important;
  padding:6px!important;
  border-radius:12px!important;
}
body.fix350-ready .rbs-brandcopy strong{
  font-size:14px!important;
  letter-spacing:.17em!important;
}
body.fix350-ready .rbs-brandcopy small{
  margin-top:4px!important;
  font-size:9px!important;
}
body.fix350-ready .rbs-nav{
  height:calc(100dvh - 166px)!important;
  padding:10px 9px 20px!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
}
body.fix350-ready .rbs-nav-group+.rbs-nav-group{
  margin-top:12px!important;
}
body.fix350-ready .rbs-nav-section-title{
  min-height:32px!important;
  padding:14px 12px 7px!important;
  font-size:9px!important;
  letter-spacing:.14em!important;
}
body.fix350-ready .rbs-nav .nav-item{
  width:100%!important;
  height:43px!important;
  min-height:43px!important;
  margin:2px 0!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  color:#a7b2bb!important;
  background:transparent!important;
  font-size:13px!important;
  font-weight:600!important;
  text-align:left!important;
  text-decoration:none!important;
}
body.fix350-ready .rbs-nav .nav-item:hover{
  color:var(--fix350-text)!important;
  background:var(--fix350-panel)!important;
}
body.fix350-ready .rbs-nav .nav-item.active{
  color:#f2cf78!important;
  border-color:rgba(216,173,70,.28)!important;
  background:linear-gradient(90deg,rgba(216,173,70,.14),rgba(216,173,70,.025))!important;
  box-shadow:inset 3px 0 0 var(--fix350-gold)!important;
}
body.fix350-ready .rbs-nav .rbs-icon{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
}
body.fix350-ready .rbs-user{
  position:absolute!important;
  inset:auto 0 0 0!important;
  height:74px!important;
  padding:11px 13px!important;
  border-top:1px solid rgba(255,255,255,.045)!important;
  background:var(--fix350-shell)!important;
}
body.fix350-ready.fix350-sidebar-mini .rbs-brandcopy,
body.fix350-ready.fix350-sidebar-mini .rbs-nav-section-title,
body.fix350-ready.fix350-sidebar-mini .rbs-nav .nav-item span:last-child,
body.fix350-ready.fix350-sidebar-mini .rbs-user-copy,
body.fix350-ready.fix350-sidebar-mini .rbs-logout{
  display:none!important;
}
body.fix350-ready.fix350-sidebar-mini .rbs-brand,
body.fix350-ready.fix350-sidebar-mini .rbs-nav .nav-item,
body.fix350-ready.fix350-sidebar-mini .rbs-user{
  justify-content:center!important;
}

/* Topbar: title left, search center, actions right. */
body.fix350-ready .rbs-topbar{
  position:fixed!important;
  inset:0 0 auto var(--fix350-live-sidebar)!important;
  width:auto!important;
  height:var(--fix350-topbar)!important;
  min-height:var(--fix350-topbar)!important;
  margin:0!important;
  padding:0 18px!important;
  display:grid!important;
  grid-template-columns:minmax(250px,.85fr) minmax(300px,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  z-index:900!important;
  border-bottom:1px solid var(--fix350-line)!important;
  background:rgba(8,13,18,.97)!important;
  backdrop-filter:blur(16px)!important;
  transition:left .18s ease!important;
}
body.fix350-ready .rbs-topbar>*{
  min-width:0!important;
  margin:0!important;
}
body.fix350-ready .rbs-topbar-title,
body.fix350-ready .rbs-topbar-search,
body.fix350-ready .rbs-topbar-actions{
  height:42px!important;
  min-height:42px!important;
  align-items:center!important;
}
body.fix350-ready .rbs-topbar-title{
  display:flex!important;
}
body.fix350-ready .rbs-breadcrumb{
  min-width:0!important;
}
body.fix350-ready .rbs-breadcrumb-copy{
  min-width:0!important;
}
body.fix350-ready .rbs-breadcrumb-copy strong{
  display:block!important;
  overflow:hidden!important;
  color:var(--fix350-text)!important;
  font-size:14px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.fix350-ready .rbs-breadcrumb-copy small{
  display:block!important;
  overflow:hidden!important;
  margin-top:2px!important;
  color:var(--fix350-muted)!important;
  font-size:10px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.fix350-ready .rbs-topbar-search{
  display:flex!important;
  border:1px solid var(--fix350-line)!important;
  border-radius:11px!important;
  background:#0d151b!important;
}
body.fix350-ready .rbs-topbar-search input{
  min-width:0!important;
  font-size:13px!important;
}
body.fix350-ready .rbs-topbar-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:7px!important;
  white-space:nowrap!important;
}
body.fix350-ready .rbs-topbar-actions>*{
  min-height:38px!important;
  height:38px!important;
  margin:0!important;
}
body.fix350-ready .rbs-profile{
  max-width:170px!important;
  padding:3px 8px!important;
  border:1px solid var(--fix350-line)!important;
  border-radius:10px!important;
}
body.fix350-ready .build-pill,
body.fix350-ready .rw-workspace-badge{
  display:none!important;
}

/* Main workspace contract. */
body.fix350-ready .workspace{
  width:100%!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:var(--fix350-topbar) 0 0 var(--fix350-live-sidebar)!important;
  transition:padding-left .18s ease!important;
}
body.fix350-ready .workspace>main,
body.fix350-ready main.module-main,
body.fix350-ready main.project-main,
body.fix350-ready .rbs-page{
  width:min(100%,var(--fix350-content))!important;
  max-width:var(--fix350-content)!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:var(--fix350-gutter) var(--fix350-gutter) 62px!important;
  display:grid!important;
  align-content:start!important;
  gap:var(--fix350-gap)!important;
}
body.fix350-ready #content{
  min-width:0!important;
}

/* Readability. Do not let old 7–11px rules win. */
body.fix350-ready h1{
  font-size:28px!important;
  line-height:1.16!important;
  letter-spacing:-.035em!important;
}
body.fix350-ready h2{
  font-size:19px!important;
  line-height:1.28!important;
}
body.fix350-ready h3{
  font-size:17px!important;
  line-height:1.3!important;
}
body.fix350-ready p,
body.fix350-ready td,
body.fix350-ready label,
body.fix350-ready .list-item,
body.fix350-ready .advisor-row,
body.fix350-ready .priority-compact{
  font-size:14px!important;
}
body.fix350-ready small,
body.fix350-ready em,
body.fix350-ready time,
body.fix350-ready .muted{
  font-size:11px!important;
  line-height:1.45!important;
}

/* Shared panels, forms and controls. */
body.fix350-ready .panel,
body.fix350-ready .card,
body.fix350-ready .final-panel,
body.fix350-ready .final-kpi-card,
body.fix350-ready .final-health-card,
body.fix350-ready .pro-kpi,
body.fix350-ready .professional-card,
body.fix350-ready .dpc-card,
body.fix350-ready .wsf-card{
  min-width:0!important;
  margin:0!important;
  border:1px solid var(--fix350-line)!important;
  border-radius:var(--fix350-radius)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.015),transparent 56%),
    var(--fix350-panel)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
}
body.fix350-ready button,
body.fix350-ready .btn,
body.fix350-ready input,
body.fix350-ready select,
body.fix350-ready textarea{
  font-size:13px!important;
}
body.fix350-ready button,
body.fix350-ready .btn,
body.fix350-ready input,
body.fix350-ready select{
  min-height:var(--fix350-control)!important;
}
body.fix350-ready button,
body.fix350-ready .btn{
  border-radius:9px!important;
}
body.fix350-ready input,
body.fix350-ready select,
body.fix350-ready textarea{
  border-color:var(--fix350-line)!important;
  background:#0e161c!important;
}
body.fix350-ready :focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px rgba(66,177,236,.12)!important;
}

/* Dynamic app modules. */
body.fix350-ready .kpi-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0!important;
}
body.fix350-ready .kpi{
  min-height:128px!important;
  padding:18px!important;
}
body.fix350-ready .kpi span{
  font-size:12px!important;
}
body.fix350-ready .kpi strong{
  margin-top:12px!important;
  font-size:29px!important;
}
body.fix350-ready .grid{
  gap:16px!important;
}
body.fix350-ready .toolbar,
body.fix350-ready .professional-toolbar,
body.fix350-ready .project-center-toolbar{
  width:100%!important;
  min-height:68px!important;
  margin:0!important;
  padding:12px!important;
  gap:8px!important;
  border:1px solid var(--fix350-line)!important;
  border-radius:12px!important;
  background:var(--fix350-panel)!important;
}
body.fix350-ready .table-panel{
  overflow:auto!important;
  border-radius:12px!important;
}
body.fix350-ready table{
  min-width:760px!important;
}
body.fix350-ready th{
  height:44px!important;
  font-size:11px!important;
}
body.fix350-ready td{
  height:50px!important;
  font-size:13px!important;
}
body.fix350-ready .modal{
  border-color:var(--fix350-line)!important;
  background:var(--fix350-panel)!important;
}

/* Dashboard: actual final-* selectors. */
body.fix350-ready[data-fix350-module="dashboard"] .final-dashboard{
  width:100%!important;
  display:grid!important;
  gap:18px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-hero-grid{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:18px!important;
  margin:0!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-welcome-card{
  min-height:160px!important;
  padding:24px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-welcome-card h1{
  font-size:28px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-health-card{
  min-height:160px!important;
  padding:20px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-kpi-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-kpi-card{
  min-height:142px!important;
  padding:18px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-kpi-card>b{
  font-size:29px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-command-grid{
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
  gap:18px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-command-grid>*:last-child{
  grid-column:1 / -1!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .final-bottom-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
  gap:18px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .advisor-row,
body.fix350-ready[data-fix350-module="dashboard"] .priority-compact,
body.fix350-ready[data-fix350-module="dashboard"] .notice-row{
  min-height:56px!important;
  padding:11px 13px!important;
}
body.fix350-ready[data-fix350-module="dashboard"] .activity-row:nth-child(n+6),
body.fix350-ready[data-fix350-module="dashboard"] .notice-row:nth-child(n+6){
  display:none!important;
}
body.fix350-ready .final-command-toolbar,
body.fix350-ready .legacy-command-toolbar{
  display:none!important;
}

/* Projects list: actual professional-card selectors. */
body.fix350-ready[data-fix350-module="projects"] .project-pro-summary{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0!important;
}
body.fix350-ready[data-fix350-module="projects"] .pro-kpi{
  min-height:106px!important;
  padding:17px!important;
}
body.fix350-ready[data-fix350-module="projects"] .pro-kpi strong{
  font-size:25px!important;
}
body.fix350-ready[data-fix350-module="projects"] .project-center-toolbar,
body.fix350-ready[data-fix350-module="projects"] .professional-toolbar{
  grid-template-columns:minmax(260px,1fr) repeat(4,minmax(115px,145px)) auto!important;
}
body.fix350-ready[data-fix350-module="projects"] .project-card-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
body.fix350-ready[data-fix350-module="projects"] .professional-card{
  min-height:410px!important;
  padding:21px!important;
}
body.fix350-ready[data-fix350-module="projects"] .professional-card h3{
  margin:16px 0 7px!important;
  font-size:19px!important;
}
body.fix350-ready[data-fix350-module="projects"] .project-card-actions{
  margin-top:auto!important;
  padding-top:16px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
body.fix350-ready[data-fix350-module="projects"] .project-card-actions>*{
  width:100%!important;
  height:42px!important;
  margin:0!important;
  justify-content:center!important;
}

/* Project dossier. */
body.fix350-ready[data-fix350-module="project"] .dpc-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.fix350-ready[data-fix350-module="project"] .dpc-grid,
body.fix350-ready[data-fix350-module="project"] .project-grid{
  gap:16px!important;
}
body.fix350-ready[data-fix350-module="project"] .dpc-card{
  padding:18px!important;
}

/* Focus mode: intentionally reduces first-screen overload. */
body.fix350-ready.fix350-focus[data-fix350-module="dashboard"] .final-bottom-grid,
body.fix350-ready.fix350-focus[data-fix350-module="dashboard"] .notification-preview,
body.fix350-ready.fix350-focus[data-fix350-module="dashboard"] .final-quick-actions{
  display:none!important;
}
.fix350-focus-control button.active{
  color:#f2cf78!important;
  border-color:rgba(216,173,70,.3)!important;
  background:rgba(216,173,70,.1)!important;
}

/* Mobile. */
.fix350-mobile-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:990;
  border:0;
  background:rgba(0,0,0,.56);
  backdrop-filter:blur(3px);
}
@media(max-width:1280px){
  body.fix350-ready[data-fix350-module="dashboard"] .final-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.fix350-ready[data-fix350-module="projects"] .project-pro-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.fix350-ready[data-fix350-module="projects"] .project-center-toolbar,
  body.fix350-ready[data-fix350-module="projects"] .professional-toolbar{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.fix350-ready[data-fix350-module="projects"] .project-search-wrap{
    grid-column:1 / -1!important;
  }
}
@media(max-width:1000px){
  body.fix350-ready{
    --fix350-live-sidebar:0px;
    --fix350-gutter:16px;
  }
  body.fix350-ready .rbs-sidebar{
    width:min(300px,88vw)!important;
    min-width:0!important;
    max-width:none!important;
    transform:translateX(-105%)!important;
    transition:transform .18s ease!important;
  }
  body.fix350-ready.fix350-mobile-open .rbs-sidebar{
    transform:translateX(0)!important;
  }
  body.fix350-ready.fix350-mobile-open .fix350-mobile-overlay{
    display:block!important;
  }
  body.fix350-ready .rbs-topbar{
    left:0!important;
    grid-template-columns:minmax(210px,1fr) auto!important;
  }
  body.fix350-ready .rbs-topbar-search{
    display:none!important;
  }
  body.fix350-ready .workspace{
    padding-left:0!important;
  }
}
@media(max-width:820px){
  body.fix350-ready[data-fix350-module="dashboard"] .final-hero-grid,
  body.fix350-ready[data-fix350-module="dashboard"] .final-command-grid,
  body.fix350-ready[data-fix350-module="dashboard"] .final-bottom-grid{
    grid-template-columns:1fr!important;
  }
  body.fix350-ready[data-fix350-module="dashboard"] .final-command-grid>*:last-child{
    grid-column:auto!important;
  }
  body.fix350-ready[data-fix350-module="projects"] .project-card-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:620px){
  body.fix350-ready{
    --fix350-gutter:10px;
  }
  body.fix350-ready .rbs-topbar{
    padding-inline:9px!important;
  }
  body.fix350-ready .rbs-profile .desktop-only,
  body.fix350-ready .rbs-cloud-button{
    display:none!important;
  }
  body.fix350-ready[data-fix350-module="dashboard"] .final-kpi-grid,
  body.fix350-ready[data-fix350-module="projects"] .project-pro-summary,
  body.fix350-ready[data-fix350-module="projects"] .project-center-toolbar,
  body.fix350-ready[data-fix350-module="projects"] .professional-toolbar{
    grid-template-columns:1fr!important;
  }
  body.fix350-ready[data-fix350-module="projects"] .project-search-wrap{
    grid-column:auto!important;
  }
}


/* ==========================================================================
   RATING WORKSPACE 40.0 — BUILD 400 UI CONSISTENCY
   Final consistency layer for spacing, typography, controls and modules.
   ========================================================================== */
:root{
  --ui400-space-1:6px;
  --ui400-space-2:10px;
  --ui400-space-3:14px;
  --ui400-space-4:18px;
  --ui400-space-5:24px;
  --ui400-space-6:32px;
  --ui400-control:44px;
  --ui400-card-radius:14px;
  --ui400-border:#2b3944;
  --ui400-panel:#151e26;
  --ui400-panel-soft:#111920;
  --ui400-text:#f4f7f9;
  --ui400-muted:#aab6bf;
  --ui400-gold:#d8ad46;
  --ui400-green:#35cf78;
  --ui400-yellow:#efbd4b;
  --ui400-red:#ef655f;
  --ui400-blue:#42b1ec;
}

body.ui400-ready{
  font-size:15px!important;
  line-height:1.52!important;
}

/* Consistent page rhythm */
body.ui400-ready .workspace>main,
body.ui400-ready main.module-main,
body.ui400-ready main.project-main,
body.ui400-ready .rbs-page{
  gap:var(--ui400-space-5)!important;
}
body.ui400-ready #content{
  width:100%!important;
  display:grid!important;
  align-content:start!important;
  gap:var(--ui400-space-5)!important;
}
body.ui400-ready .panel,
body.ui400-ready .card,
body.ui400-ready .final-panel,
body.ui400-ready .final-kpi-card,
body.ui400-ready .final-health-card,
body.ui400-ready .professional-card,
body.ui400-ready .dpc-card,
body.ui400-ready .wsf-card{
  border-radius:var(--ui400-card-radius)!important;
}

/* Unified typography */
body.ui400-ready h1{
  margin:0!important;
  font-size:30px!important;
  line-height:1.15!important;
}
body.ui400-ready h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.25!important;
}
body.ui400-ready h3{
  margin:0!important;
  font-size:18px!important;
  line-height:1.3!important;
}
body.ui400-ready p{
  line-height:1.55!important;
}
body.ui400-ready .panel-head,
body.ui400-ready .final-panel-head,
body.ui400-ready .project-year-head{
  min-height:42px!important;
  margin-bottom:var(--ui400-space-3)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:var(--ui400-space-3)!important;
}
body.ui400-ready .panel-head small,
body.ui400-ready .final-panel-head small{
  color:var(--ui400-muted)!important;
}

/* Unified controls */
body.ui400-ready button,
body.ui400-ready .btn,
body.ui400-ready input,
body.ui400-ready select{
  min-height:var(--ui400-control)!important;
}
body.ui400-ready button,
body.ui400-ready .btn{
  padding-inline:15px!important;
  border-radius:10px!important;
  font-size:13px!important;
  font-weight:750!important;
}
body.ui400-ready input,
body.ui400-ready select,
body.ui400-ready textarea{
  padding-inline:13px!important;
  border-radius:10px!important;
}
body.ui400-ready .btn.primary{
  background:linear-gradient(180deg,#ebc75f,#d8ad46)!important;
  color:#191309!important;
}
body.ui400-ready .btn.ghost,
body.ui400-ready .row-btn{
  border-color:var(--ui400-border)!important;
  background:#10181f!important;
  color:var(--ui400-text)!important;
}
body.ui400-ready .row-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:8px!important;
}

/* Unified toolbar */
body.ui400-ready .toolbar,
body.ui400-ready .professional-toolbar,
body.ui400-ready .project-center-toolbar,
body.ui400-ready .ui400-doc-toolbar{
  min-height:72px!important;
  padding:14px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  border:1px solid var(--ui400-border)!important;
  border-radius:var(--ui400-card-radius)!important;
  background:var(--ui400-panel)!important;
}
body.ui400-ready .toolbar input:first-child,
body.ui400-ready .ui400-doc-search{
  flex:1 1 320px!important;
}

/* Unified tables */
body.ui400-ready .table-panel{
  width:100%!important;
  overflow:auto!important;
  border:1px solid var(--ui400-border)!important;
  background:var(--ui400-panel)!important;
}
body.ui400-ready table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body.ui400-ready thead th{
  position:sticky!important;
  top:0!important;
  z-index:2!important;
  height:48px!important;
  padding:0 14px!important;
  border-bottom:1px solid var(--ui400-border)!important;
  background:#111920!important;
  color:#aeb8c0!important;
  font-size:11px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
body.ui400-ready tbody td{
  height:56px!important;
  padding:10px 14px!important;
  border-bottom:1px solid rgba(255,255,255,.045)!important;
  vertical-align:middle!important;
}
body.ui400-ready tbody tr:hover td{
  background:rgba(66,177,236,.025)!important;
}

/* Sidebar consistency */
body.ui400-ready .rbs-nav .nav-item{
  font-size:14px!important;
}
body.ui400-ready .rbs-nav-section-title{
  color:#798892!important;
  font-size:10px!important;
}
body.ui400-ready .rbs-brandmark{
  width:48px!important;
  height:48px!important;
}

/* Dashboard consistency */
body.ui400-ready[data-fix350-module="dashboard"] .final-kpi-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
body.ui400-ready[data-fix350-module="dashboard"] .final-kpi-card{
  min-height:148px!important;
  padding:20px!important;
}
body.ui400-ready[data-fix350-module="dashboard"] .final-kpi-card>b{
  font-size:31px!important;
}
body.ui400-ready[data-fix350-module="dashboard"] .final-health-card{
  padding:22px!important;
}
body.ui400-ready[data-fix350-module="dashboard"] .advisor-row,
body.ui400-ready[data-fix350-module="dashboard"] .priority-compact,
body.ui400-ready[data-fix350-module="dashboard"] .activity-row{
  min-height:58px!important;
}

/* Project cards consistency */
body.ui400-ready[data-fix350-module="projects"] .project-card-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
body.ui400-ready[data-fix350-module="projects"] .professional-card{
  min-height:430px!important;
  padding:22px!important;
}
body.ui400-ready[data-fix350-module="projects"] .project-card-top{
  min-height:34px!important;
}
body.ui400-ready[data-fix350-module="projects"] .project-card-info,
body.ui400-ready[data-fix350-module="projects"] .project-finance{
  min-height:50px!important;
}
body.ui400-ready[data-fix350-module="projects"] .project-operational-state,
body.ui400-ready[data-fix350-module="projects"] .project-next-step{
  min-height:54px!important;
}
body.ui400-ready[data-fix350-module="projects"] .project-card-actions{
  padding-top:18px!important;
}
body.ui400-ready[data-fix350-module="projects"] .project-card-actions>*{
  height:44px!important;
}

/* Project dossier consistency */
body.ui400-ready[data-fix350-module="project"] .dpc-shell{
  gap:18px!important;
}
body.ui400-ready[data-fix350-module="project"] .dpc-card{
  padding:20px!important;
}
body.ui400-ready[data-fix350-module="project"] .dpc-project-tabs{
  min-height:54px!important;
  gap:8px!important;
}
body.ui400-ready[data-fix350-module="project"] .dpc-project-tabs>*{
  min-height:42px!important;
}
body.ui400-ready[data-fix350-module="project"] .dpc-kpis,
body.ui400-ready[data-fix350-module="project"] .dpc-summary-grid{
  gap:14px!important;
}

/* Documentation module */
body.ui400-ready[data-fix350-module="documents"] .ui400-documents{
  width:100%!important;
  display:grid!important;
  gap:18px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-kpi{
  min-height:112px!important;
  padding:18px!important;
  border:1px solid var(--ui400-border)!important;
  border-radius:var(--ui400-card-radius)!important;
  background:var(--ui400-panel)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-kpi span{
  display:block!important;
  color:var(--ui400-muted)!important;
  font-size:12px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-kpi strong{
  display:block!important;
  margin-top:12px!important;
  font-size:29px!important;
  line-height:1!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-kpi.success strong{
  color:var(--ui400-green)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-kpi.warning strong{
  color:var(--ui400-yellow)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-kpi.danger strong{
  color:var(--ui400-red)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-toolbar select{
  min-width:165px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-table{
  min-width:940px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-project{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-project strong{
  color:var(--ui400-text)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-doc-project small{
  color:var(--ui400-muted)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-status{
  display:inline-flex!important;
  align-items:center!important;
  min-height:27px!important;
  padding:0 9px!important;
  border:1px solid var(--ui400-border)!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:800!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-status[data-tone="success"]{
  color:#74e9aa!important;
  border-color:rgba(53,207,120,.28)!important;
  background:rgba(53,207,120,.08)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-status[data-tone="warning"]{
  color:#f3ce76!important;
  border-color:rgba(239,189,75,.28)!important;
  background:rgba(239,189,75,.08)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-status[data-tone="danger"]{
  color:#ff9691!important;
  border-color:rgba(239,101,95,.28)!important;
  background:rgba(239,101,95,.08)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-empty{
  min-height:270px!important;
  padding:36px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  border:1px dashed #34434e!important;
  border-radius:var(--ui400-card-radius)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.012),transparent),var(--ui400-panel)!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-empty-icon{
  width:62px!important;
  height:62px!important;
  display:grid!important;
  place-items:center!important;
  margin:0 auto 16px!important;
  border-radius:16px!important;
  background:rgba(216,173,70,.09)!important;
  color:#e4c36f!important;
  font-size:25px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-empty h2{
  margin-bottom:8px!important;
}
body.ui400-ready[data-fix350-module="documents"] .ui400-empty p{
  max-width:520px!important;
  margin:0 auto 18px!important;
  color:var(--ui400-muted)!important;
}

/* Generic empty states */
body.ui400-ready .ui400-generic-empty{
  min-height:220px!important;
  display:grid!important;
  place-items:center!important;
  padding:32px!important;
  text-align:center!important;
}

/* Responsive */
@media(max-width:1250px){
  body.ui400-ready[data-fix350-module="documents"] .ui400-doc-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:850px){
  body.ui400-ready[data-fix350-module="dashboard"] .final-kpi-grid,
  body.ui400-ready[data-fix350-module="projects"] .project-card-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:620px){
  body.ui400-ready[data-fix350-module="documents"] .ui400-doc-summary{
    grid-template-columns:1fr!important;
  }
  body.ui400-ready[data-fix350-module="documents"] .ui400-doc-toolbar{
    align-items:stretch!important;
  }
  body.ui400-ready[data-fix350-module="documents"] .ui400-doc-toolbar>*{
    width:100%!important;
  }
}


/* ==========================================================================
   RATING WORKSPACE 4.0 PROFESSIONAL — BUILD 500
   Production visual contract: readable, calm, consistent and responsive.
   ========================================================================== */
:root{
  --pro500-sidebar:238px;
  --pro500-sidebar-mini:80px;
  --pro500-topbar:74px;
  --pro500-content:1520px;
  --pro500-gutter:28px;
  --pro500-gap:20px;
  --pro500-control:44px;
  --pro500-radius:15px;
  --pro500-bg:#080d12;
  --pro500-shell:#0b1117;
  --pro500-panel:#151e26;
  --pro500-panel-soft:#111920;
  --pro500-line:#2b3944;
  --pro500-text:#f4f7f9;
  --pro500-muted:#aab6bf;
  --pro500-gold:#d8ad46;
  --pro500-green:#35cf78;
  --pro500-yellow:#efbd4b;
  --pro500-red:#ef655f;
  --pro500-blue:#42b1ec;
}
body.pro500-ready{
  --pro500-live-sidebar:var(--pro500-sidebar);
  font-size:16px!important;
  line-height:1.55!important;
}
body.pro500-ready.pro500-sidebar-mini{
  --pro500-live-sidebar:var(--pro500-sidebar-mini);
}

/* Shell */
body.pro500-ready .rbs-sidebar{
  width:var(--pro500-live-sidebar)!important;
  min-width:var(--pro500-live-sidebar)!important;
  max-width:var(--pro500-live-sidebar)!important;
}
body.pro500-ready .rbs-topbar{
  left:var(--pro500-live-sidebar)!important;
  height:var(--pro500-topbar)!important;
  min-height:var(--pro500-topbar)!important;
  padding-inline:20px!important;
  grid-template-columns:minmax(260px,.85fr) minmax(320px,1fr) auto!important;
  gap:16px!important;
}
body.pro500-ready .workspace{
  padding:var(--pro500-topbar) 0 0 var(--pro500-live-sidebar)!important;
}
body.pro500-ready .workspace>main,
body.pro500-ready main.module-main,
body.pro500-ready main.project-main,
body.pro500-ready .rbs-page{
  width:min(100%,var(--pro500-content))!important;
  max-width:var(--pro500-content)!important;
  padding:var(--pro500-gutter) var(--pro500-gutter) 72px!important;
  gap:var(--pro500-gap)!important;
}

/* Typography */
body.pro500-ready h1{
  font-size:32px!important;
  line-height:1.13!important;
}
body.pro500-ready h2{
  font-size:21px!important;
}
body.pro500-ready h3{
  font-size:18px!important;
}
body.pro500-ready p,
body.pro500-ready td,
body.pro500-ready label{
  font-size:15px!important;
}
body.pro500-ready small,
body.pro500-ready .muted{
  font-size:12px!important;
}

/* Sidebar */
body.pro500-ready .rbs-brand{
  height:98px!important;
  min-height:98px!important;
  padding:18px 15px!important;
}
body.pro500-ready .rbs-brandmark{
  width:50px!important;
  height:50px!important;
}
body.pro500-ready .rbs-nav{
  height:calc(100dvh - 174px)!important;
  padding:11px 10px 22px!important;
}
body.pro500-ready .rbs-nav .nav-item{
  height:46px!important;
  min-height:46px!important;
  font-size:14px!important;
}
body.pro500-ready .rbs-nav-section-title{
  padding-top:17px!important;
  font-size:10px!important;
}

/* Topbar */
body.pro500-ready .rbs-topbar-title,
body.pro500-ready .rbs-topbar-search,
body.pro500-ready .rbs-topbar-actions{
  height:44px!important;
  min-height:44px!important;
}
body.pro500-ready .rbs-breadcrumb-copy strong{
  font-size:15px!important;
}
body.pro500-ready .rbs-topbar-search input{
  font-size:14px!important;
}

/* Cards and controls */
body.pro500-ready .panel,
body.pro500-ready .card,
body.pro500-ready .final-panel,
body.pro500-ready .final-kpi-card,
body.pro500-ready .final-health-card,
body.pro500-ready .professional-card,
body.pro500-ready .dpc-card,
body.pro500-ready .wsf-card{
  border-radius:var(--pro500-radius)!important;
}
body.pro500-ready button,
body.pro500-ready .btn,
body.pro500-ready input,
body.pro500-ready select{
  min-height:var(--pro500-control)!important;
}
body.pro500-ready button,
body.pro500-ready .btn{
  font-size:14px!important;
}

/* Dashboard: key information first, secondary information below. */
body.pro500-ready[data-fix350-module="dashboard"] .final-hero-grid{
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:20px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-welcome-card{
  min-height:172px!important;
  padding:26px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-health-card{
  min-height:172px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-kpi-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-kpi-card{
  min-height:154px!important;
  padding:20px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-kpi-card>b{
  font-size:34px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-command-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  gap:20px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-command-grid>*:last-child{
  grid-column:1 / -1!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .final-bottom-grid{
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;
  gap:20px!important;
}
body.pro500-ready[data-fix350-module="dashboard"] .activity-row:nth-child(n+6),
body.pro500-ready[data-fix350-module="dashboard"] .notice-row:nth-child(n+6){
  display:none!important;
}

/* Projects */
body.pro500-ready[data-fix350-module="projects"] .project-pro-summary{
  gap:14px!important;
}
body.pro500-ready[data-fix350-module="projects"] .project-card-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
}
body.pro500-ready[data-fix350-module="projects"] .professional-card{
  min-height:438px!important;
  padding:23px!important;
}
body.pro500-ready[data-fix350-module="projects"] .professional-card h3{
  font-size:20px!important;
}
body.pro500-ready[data-fix350-module="projects"] .project-card-actions>*{
  height:44px!important;
}

/* Project dossier */
body.pro500-ready[data-fix350-module="project"] .dpc-card{
  padding:21px!important;
}
body.pro500-ready[data-fix350-module="project"] .dpc-project-tabs{
  min-height:56px!important;
}
body.pro500-ready[data-fix350-module="project"] .dpc-kpis>*,
body.pro500-ready[data-fix350-module="project"] .dpc-summary-grid>*{
  min-height:102px!important;
}

/* Documentation */
body.pro500-ready[data-fix350-module="documents"] .ui400-documents{
  width:100%!important;
  max-width:none!important;
}
body.pro500-ready[data-fix350-module="documents"] .ui400-doc-summary{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
body.pro500-ready[data-fix350-module="documents"] .ui400-doc-kpi{
  min-height:124px!important;
  padding:20px!important;
}
body.pro500-ready[data-fix350-module="documents"] .ui400-doc-kpi strong{
  font-size:32px!important;
}
body.pro500-ready[data-fix350-module="documents"] .ui400-doc-toolbar{
  min-height:76px!important;
}
body.pro500-ready[data-fix350-module="documents"] .table-panel{
  width:100%!important;
}

/* Tables */
body.pro500-ready thead th{
  height:50px!important;
  font-size:12px!important;
}
body.pro500-ready tbody td{
  height:58px!important;
  font-size:14px!important;
}

/* Focus mode */
body.pro500-ready.pro500-focus[data-fix350-module="dashboard"] .final-bottom-grid,
body.pro500-ready.pro500-focus[data-fix350-module="dashboard"] .notification-preview{
  display:none!important;
}
.pro500-focus-control button.active{
  color:#f2cf78!important;
  border-color:rgba(216,173,70,.3)!important;
  background:rgba(216,173,70,.1)!important;
}

/* Responsive */
@media(max-width:1250px){
  body.pro500-ready[data-fix350-module="dashboard"] .final-kpi-grid,
  body.pro500-ready[data-fix350-module="documents"] .ui400-doc-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:1000px){
  body.pro500-ready{
    --pro500-live-sidebar:0px;
    --pro500-gutter:16px;
  }
  body.pro500-ready .rbs-topbar{
    left:0!important;
    grid-template-columns:minmax(220px,1fr) auto!important;
  }
  body.pro500-ready .rbs-topbar-search{
    display:none!important;
  }
  body.pro500-ready .workspace{
    padding-left:0!important;
  }
}
@media(max-width:820px){
  body.pro500-ready[data-fix350-module="dashboard"] .final-hero-grid,
  body.pro500-ready[data-fix350-module="dashboard"] .final-command-grid,
  body.pro500-ready[data-fix350-module="dashboard"] .final-bottom-grid,
  body.pro500-ready[data-fix350-module="projects"] .project-card-grid{
    grid-template-columns:1fr!important;
  }
  body.pro500-ready[data-fix350-module="dashboard"] .final-command-grid>*:last-child{
    grid-column:auto!important;
  }
}
@media(max-width:620px){
  body.pro500-ready{
    --pro500-gutter:10px;
  }
  body.pro500-ready[data-fix350-module="dashboard"] .final-kpi-grid,
  body.pro500-ready[data-fix350-module="documents"] .ui400-doc-summary{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   RATING WORKSPACE 4.1 — BUILD 550 ENTERPRISE WORKSPACE CORE
   ========================================================================== */
:root{
  --e550-sidebar:260px;
  --e550-sidebar-mini:84px;
  --e550-topbar:80px;
  --e550-gutter:clamp(20px,2vw,38px);
  --e550-gap:22px;
  --e550-control:46px;
  --e550-content:2200px;
  --e550-font:16px;
  --e550-card:#151e26;
  --e550-soft:#101820;
  --e550-line:#2c3b47;
  --e550-text:#f5f7f9;
  --e550-muted:#aab6bf;
  --e550-gold:#d8ad46;
  --e550-green:#35cf78;
  --e550-red:#ef655f;
  --e550-yellow:#efbd4b;
  --e550-blue:#42b1ec;
}
body.e550-ready{
  --e550-live-sidebar:var(--e550-sidebar);
  font-size:var(--e550-font)!important;
  line-height:1.58!important;
  overflow-x:hidden!important;
}
body.e550-ready.e550-sidebar-mini{
  --e550-live-sidebar:var(--e550-sidebar-mini);
}
body.e550-ready .rbs-sidebar{
  width:var(--e550-live-sidebar)!important;
  min-width:var(--e550-live-sidebar)!important;
  max-width:var(--e550-live-sidebar)!important;
  transition:width .18s ease!important;
}
body.e550-ready .rbs-brand{
  min-height:108px!important;
  height:108px!important;
  padding:22px 18px!important;
}
body.e550-ready .rbs-brandmark{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
}
body.e550-ready .rbs-brandcopy strong{font-size:15px!important}
body.e550-ready .rbs-brandcopy small{font-size:10px!important}
body.e550-ready .rbs-nav{
  height:calc(100dvh - 194px)!important;
  padding:12px 12px 28px!important;
}
body.e550-ready .rbs-nav .nav-item{
  min-height:48px!important;
  height:48px!important;
  padding-inline:15px!important;
  gap:13px!important;
  font-size:15px!important;
}
body.e550-ready .rbs-nav-section-title{
  padding:19px 14px 8px!important;
  font-size:10px!important;
}
body.e550-ready .rbs-user{
  min-height:86px!important;
  height:86px!important;
  padding:14px 16px!important;
}
body.e550-ready .rbs-user-menu-wrap{
  position:relative!important;
  width:100%!important;
}
body.e550-ready .rbs-user-trigger{
  width:100%!important;
  min-height:56px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 20px!important;
  align-items:center!important;
  gap:11px!important;
  padding:7px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  color:inherit!important;
  text-align:left!important;
}
body.e550-ready .rbs-user-trigger:hover,
body.e550-ready .rbs-user-trigger[aria-expanded="true"]{
  border-color:var(--e550-line)!important;
  background:var(--e550-card)!important;
}
body.e550-ready .rbs-user-menu{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:64px!important;
  z-index:1400!important;
  display:none!important;
  padding:8px!important;
  border:1px solid var(--e550-line)!important;
  border-radius:13px!important;
  background:var(--e550-card)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.32)!important;
}
body.e550-ready .rbs-user-menu.open{display:grid!important;gap:4px!important}
body.e550-ready .rbs-user-menu a{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  color:var(--e550-muted)!important;
  text-decoration:none!important;
  font-size:14px!important;
}
body.e550-ready .rbs-user-menu a:hover{
  color:var(--e550-text)!important;
  background:var(--e550-soft)!important;
}
body.e550-ready .rbs-user-menu a.danger{color:#ffaaa5!important}

/* Topbar */
body.e550-ready .rbs-topbar{
  left:var(--e550-live-sidebar)!important;
  height:var(--e550-topbar)!important;
  min-height:var(--e550-topbar)!important;
  padding:0 24px!important;
  grid-template-columns:minmax(300px,.9fr) minmax(360px,1.15fr) auto!important;
  gap:18px!important;
  transition:left .18s ease!important;
}
body.e550-ready .rbs-topbar-title,
body.e550-ready .rbs-topbar-search,
body.e550-ready .rbs-topbar-actions{
  min-height:46px!important;
  height:46px!important;
}
body.e550-ready .rbs-breadcrumb-copy strong{font-size:16px!important}
body.e550-ready .rbs-breadcrumb-copy small{font-size:12px!important}
body.e550-ready .rbs-topbar-search input{font-size:15px!important}
body.e550-ready .rbs-topbar-actions{gap:9px!important}
body.e550-ready .rbs-topbar-actions>*{min-height:42px!important;height:42px!important}

/* Full-width responsive workspace */
body.e550-ready .workspace{
  padding:var(--e550-topbar) 0 0 var(--e550-live-sidebar)!important;
  transition:padding-left .18s ease!important;
}
body.e550-ready .workspace>main,
body.e550-ready main.module-main,
body.e550-ready main.project-main,
body.e550-ready .rbs-page{
  width:100%!important;
  max-width:var(--e550-content)!important;
  margin:0 auto!important;
  padding:var(--e550-gutter)!important;
  padding-bottom:80px!important;
  gap:var(--e550-gap)!important;
}
@media(min-width:1700px){
  body.e550-ready{
    --e550-content:none;
    --e550-gutter:40px;
    --e550-gap:24px;
  }
  body.e550-ready .workspace>main,
  body.e550-ready main.module-main,
  body.e550-ready main.project-main,
  body.e550-ready .rbs-page{
    max-width:none!important;
  }
  body.e550-ready[data-fix350-module="dashboard"] .final-kpi-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  body.e550-ready[data-fix350-module="projects"] .project-card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* Typography and controls */
body.e550-ready h1{font-size:clamp(32px,2vw,40px)!important}
body.e550-ready h2{font-size:24px!important}
body.e550-ready h3{font-size:20px!important}
body.e550-ready p,
body.e550-ready td,
body.e550-ready label{font-size:16px!important}
body.e550-ready small,
body.e550-ready .muted{font-size:14px!important}
body.e550-ready button,
body.e550-ready .btn,
body.e550-ready input,
body.e550-ready select{
  min-height:var(--e550-control)!important;
  font-size:15px!important;
}
body.e550-ready .rbs-icon-button{
  width:42px!important;
  min-width:42px!important;
  padding:0!important;
}

/* Remove duplicate visual controls */
body.e550-ready .quick-wrap + #quickAdd,
body.e550-ready .final-command-toolbar,
body.e550-ready .legacy-command-toolbar,
body.e550-ready .build-pill{display:none!important}

/* Users module */
body.e550-ready[data-fix350-module="users"] .e550-users{
  width:100%!important;
  display:grid!important;
  gap:22px!important;
}
body.e550-ready .e550-users-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
body.e550-ready .e550-user-kpi{
  min-height:120px!important;
  padding:20px!important;
  border:1px solid var(--e550-line)!important;
  border-radius:15px!important;
  background:var(--e550-card)!important;
}
body.e550-ready .e550-user-kpi span{
  display:block!important;
  color:var(--e550-muted)!important;
  font-size:13px!important;
}
body.e550-ready .e550-user-kpi strong{
  display:block!important;
  margin-top:13px!important;
  font-size:34px!important;
}
body.e550-ready .e550-users-toolbar{
  min-height:76px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:14px!important;
  border:1px solid var(--e550-line)!important;
  border-radius:15px!important;
  background:var(--e550-card)!important;
}
body.e550-ready .e550-users-toolbar input{flex:1!important}
body.e550-ready .e550-role{
  display:inline-flex!important;
  min-height:28px!important;
  align-items:center!important;
  padding:0 10px!important;
  border:1px solid var(--e550-line)!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:800!important;
}
body.e550-ready .e550-user-active{color:#78e7ae!important}
body.e550-ready .e550-user-locked{color:#ff9f9a!important}
body.e550-ready .e550-user-form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
body.e550-ready .e550-user-form label{
  display:grid!important;
  gap:7px!important;
}
body.e550-ready .e550-user-form .full{grid-column:1/-1!important}

/* Audit log */
body.e550-ready[data-fix350-module="audit_log"] .e550-audit{
  display:grid!important;
  gap:18px!important;
}

/* Dashboard / project grid refinements */
body.e550-ready[data-fix350-module="dashboard"] .final-kpi-card>b{font-size:38px!important}
body.e550-ready[data-fix350-module="projects"] .professional-card{min-height:450px!important}
body.e550-ready[data-fix350-module="documents"] .ui400-doc-kpi strong{font-size:36px!important}

/* Mobile */
@media(max-width:1000px){
  body.e550-ready{
    --e550-live-sidebar:0px;
    --e550-gutter:16px;
  }
  body.e550-ready .rbs-topbar{
    left:0!important;
    grid-template-columns:minmax(220px,1fr) auto!important;
  }
  body.e550-ready .rbs-topbar-search{display:none!important}
  body.e550-ready .workspace{padding-left:0!important}
}
@media(max-width:760px){
  body.e550-ready .e550-users-summary{grid-template-columns:repeat(2,1fr)!important}
  body.e550-ready .e550-user-form{grid-template-columns:1fr!important}
  body.e550-ready .e550-user-form .full{grid-column:auto!important}
}
@media(max-width:540px){
  body.e550-ready .e550-users-summary{grid-template-columns:1fr!important}
}
