/* RXOS supplied brand assets and palette. Shared by every system entry point. */
:root{
    --navy:#181818;
    --ink:#181818;
    --muted:#686868;
    --line:#e3e3e3;
    --canvas:#f7f7f7;
    --teal:#b30211;
    --teal-soft:#fff0f2;
    --blue:#181818;
    --blue-soft:#f0f0f0;
    --orange:#b30211;
    --orange-soft:#fff0f2;
    --red:#b30211;
    --red-soft:#fff0f2;
    --green:#181818;
    --green-soft:#f0f0f0;
    --purple:#b30211;
    --shadow:0 8px 24px rgba(24,24,24,.07);
}
.brand-mark{width:106px;height:48px;flex:0 0 106px;border-radius:0!important;background:#fff url('rxos-logo.png?v=20260923.28') center/contain no-repeat!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
.brand-mark + div{display:none}
.auth-brand .brand-mark{width:158px;height:72px;flex-basis:158px}
.auth-brand{gap:0}

/* Replace the previous blue/teal accents while retaining semantic layout and behavior. */
.auth-page{background:linear-gradient(135deg,#fff0f2,#f5f5f5)}
.tenant,.side-bottom,.inline-document-builder{border-color:#f0c8cd;background:#fff7f8}
.nav-link.active,.settings-nav button.active,.settings-nav button:hover{color:#8d000d}
.nav-link:hover{background:#faf5f5}
.avatar{background:#f7dfe2;color:#8d000d}
.btn.primary{box-shadow:0 6px 13px rgba(179,2,17,.2)}
.btn.primary:hover{background:#8d000d;border-color:#8d000d}
.chain{color:#f0d9dc}
.chain-step.done{color:#ffd9dd}
.chev{color:#9a7b7e}
.badge.teal,.statement-credit-terms em{color:#8d000d}
.badge.orange,.badge.red{color:#8d000d;background:#fff0f2}
.badge.blue{color:#181818;background:#f0f0f0}
.kpi:nth-child(1) .kpi-icon,.kpi:nth-child(3) .kpi-icon{color:#b30211;background:#fff0f2}
.kpi:nth-child(2) .kpi-icon,.kpi:nth-child(4) .kpi-icon{color:#181818;background:#f0f0f0}
.approval-avatar,.product-thumb{color:#181818;background:#f0f0f0}
.approval-banner,.alert-strip{color:#8d000d;background:#fff7f8;border-color:#f0c8cd}
.alert-strip strong,.alert-strip .btn{color:#8d000d;border-color:#e5a9af}
.small-btn.approve{color:#181818;border-color:#d5d5d5;background:#f0f0f0}
.small-btn.reject{color:#8d000d;border-color:#f0c8cd;background:#fff0f2}
.chart-legend .collections i{background:#181818}
.warehouse-row:nth-child(3) i{background:#181818}
.warehouse-row:nth-child(4) i{background:#b30211}
.ops-tab.active{background:#fff0f2;border-color:#e5a9af;color:#8d000d}
::selection{background:#b30211;color:#fff}

/* Sidebar and platform-scope treatment requested for the system shell. */
.sidebar{background:#000!important;border-right-color:#242424}
.sidebar .nav-section,.sidebar .nav-group-toggle{color:#fff}
.sidebar .nav-link,.sidebar .logout-link{color:#fff}
.sidebar .nav-link:hover{background:#202020;color:#fff}
.sidebar .nav-link.active{background:#fff0f2;color:#8d000d}
.platform-scope-banner{background:#b30211;color:#fff}
.platform-scope-banner p{color:#fff}

/* v31 shell polish. */
.sidebar .brand{padding-left:2px}
.sidebar .brand-mark{width:176px;height:41px;flex-basis:176px;background:transparent url('rxos-logo-sidebar.png?v=20260928.34') center/contain no-repeat!important}
.loading-preview{min-height:55vh;display:grid;place-items:center}
.loading-preview img{width:46px;height:46px;object-fit:contain}
.create-document-builder .doc-toolbar{flex-wrap:nowrap;align-items:center;overflow-x:auto}
.create-document-builder .doc-toolbar>div:first-child{flex:1 1 auto;min-width:max-content}
.create-document-builder .doc-toolbar p{display:none!important}
.create-document-builder .doc-toolbar-actions{flex:0 0 auto;flex-wrap:nowrap;white-space:nowrap}
.client-funds{color:#b30211;font-weight:800}
@media(max-width:900px){.create-document-builder .doc-toolbar{align-items:flex-start}.create-document-builder .doc-toolbar-actions{overflow-x:auto;max-width:100%}}
