html{
 --rlb-nav:#07336b;--rlb-nav-end:#084b94;--rlb-nav-hover:#155393;--rlb-nav-active:#0962bd;
 --rlb-accent:#075bb9;--rlb-bg:#eff5fc;--rlb-surface:#fff;--rlb-tint:#eaf3ff;
 --rlb-border:#cbdbee;--rlb-text:#12335a;--rlb-muted:#46617e;--rlb-focus:#1766c4;
}
html[data-theme=dark]{
 --rlb-nav:#0c2344;--rlb-nav-end:#102f58;--rlb-nav-hover:#193e69;--rlb-nav-active:#144f90;
 --rlb-accent:#1466bf;--rlb-bg:#0c1728;--rlb-surface:#13243b;--rlb-tint:#1a3352;
 --rlb-border:#345172;--rlb-text:#eaf3ff;--rlb-muted:#b3c9e3;--rlb-focus:#82baff;
}
html body .app-shell .sidebar{
 background:linear-gradient(160deg,var(--rlb-nav),var(--rlb-nav-end))!important;
 border-color:var(--rlb-nav-hover)!important;
}
html body .app-shell .sidebar .sidebar-footer{
 background:var(--rlb-nav)!important;border-color:#547aab!important;color:#e0edff!important;
}
html body .app-shell .sidebar :is(.side-link,.side-parent){border-radius:8px;color:#f3f8ff!important}
html body .app-shell .sidebar :is(.side-link:hover,.side-parent:hover,.cascade-group.open>.side-parent){
 background:var(--rlb-nav-hover)!important;color:white!important;
}
html body .app-shell .sidebar :is(.side-link.active,.side-link.sub.active,.side-link[aria-current=page]){
 background:var(--rlb-nav-active)!important;color:#fff!important;
 box-shadow:inset 3px 0 #b4ddff!important;font-weight:700;
}
html body .app-shell .top-header{background:var(--rlb-surface)!important;border-bottom:1px solid var(--rlb-border)!important}
html body .app-shell .main-area{background:var(--rlb-bg)!important}
html body .app-shell .main-area :is(.panel,.editor-sheet,.product-hero,.product-detail-section){
 border:1px solid var(--rlb-border)!important;border-radius:12px;
 background:var(--rlb-surface)!important;
}
html body .app-shell .main-area :is(.panel-title,.bulk-toolbar,.bulk-quick-add,.bulk-selectionbar,.individual-editor .editor-inventory-grid>.field){
 background:var(--rlb-tint)!important;border-color:var(--rlb-border)!important;color:var(--rlb-text)!important;
}
html body .app-shell .main-area :is(.page-header h1,.editor-section-heading h2){color:var(--rlb-text)!important}
html body .app-shell .main-area :is(.page-header p,.editor-section-heading small){color:var(--rlb-muted)!important}
html body .app-shell .main-area :is(.input,input:not([type]),input[type=number],select,textarea){
 border-color:var(--rlb-border)!important;
}
html body .app-shell :is(.btn,.side-link,.side-parent,.input,select,textarea,input):focus-visible{
 outline:2px solid var(--rlb-focus);outline-offset:2px;
}
html body .app-shell .sidebar :is(.side-link,.side-parent):focus-visible{outline-color:#d5ebff;outline-offset:-3px}
html body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success,.small-btn){border-radius:8px}
html body .app-shell .main-area :is(.table-panel,.import-items-panel) thead th{
 background:var(--rlb-tint)!important;color:var(--rlb-text)!important;border-color:var(--rlb-border)!important;
}
@media (prefers-reduced-motion: no-preference){
 .app-shell .sidebar :is(.side-link,.side-parent){transition:background-color .14s ease,color .14s ease}
}

/* The rail reserves a fixed strip; the expanded navigation overlays the page. */
html body .app-shell{--rlb-rail:54px;--rlb-header:60px;--rlb-menu:250px}
html body .app-shell .top-header{height:var(--rlb-header)!important;min-height:var(--rlb-header)!important}
html body .app-shell .header-brand{min-width:0!important;width:auto!important;padding-inline:12px!important}
html body .app-shell .header-brand .brand-logo-wrap{max-height:32px}
html body .app-shell .sidebar{
 position:fixed;left:0!important;top:var(--rlb-header)!important;
 width:var(--rlb-rail)!important;height:calc(100dvh - var(--rlb-header))!important;
 transform:none!important;overflow:hidden;z-index:40;
}
html body .app-shell .sidebar.nav-expanded{width:min(var(--rlb-menu),85vw)!important;box-shadow:8px 0 20px #071a3540!important}
html body .app-shell .main-area{margin-left:var(--rlb-rail)!important;padding-top:var(--rlb-header)!important;min-width:0}
html body .app-shell .main-area .page-content{max-width:none!important;padding-inline:clamp(8px,1vw,16px)!important}
html body .app-shell .sidebar:not(.nav-expanded) .side-nav{padding-inline:4px!important}
html body .app-shell .sidebar:not(.nav-expanded) :is(.side-parent,.side-nav>.side-link){
 width:100%;justify-content:center;padding-inline:0!important;margin-inline:0!important;min-height:42px;
}
html body .app-shell .sidebar:not(.nav-expanded) :is(.side-parent,.side-nav>.side-link)>:not(.ico),
html body .app-shell .sidebar:not(.nav-expanded) :is(.side-submenu,.sidebar-footer){display:none!important}
html body .app-shell .sidebar:not(.nav-expanded) .cascade-group:has(.side-link.active)>.side-parent{
 background:var(--rlb-nav-active)!important;box-shadow:inset 3px 0 #b4ddff!important;
}
@media(max-width:600px){
 html body .app-shell{--rlb-rail:44px;--rlb-header:56px}
}
html body .app-shell>.top-header>#rlb-nav-toggle{
 display:flex!important;flex:0 1 auto!important;flex-direction:column;
 justify-content:center;align-items:center;align-self:stretch;
 height:100%!important;margin:0 8px 0 var(--rlb-rail)!important;
 padding:0 10px!important;gap:2px;box-sizing:border-box;
 border:0;background:transparent;color:inherit;cursor:pointer;
}
html body .app-shell>.top-header>#rlb-nav-toggle .brand-logo-wrap{flex:none;max-height:30px}
html body .app-shell>.top-header>#rlb-nav-toggle:focus-visible{outline:2px solid var(--rlb-focus);outline-offset:-2px}
@media(max-width:600px){
 html body .app-shell>.top-header>#rlb-nav-toggle{margin-left:4px!important}
 html body .app-shell>.top-header>#rlb-nav-toggle .brand-copy{display:none}
}

/* Navigation starts at the top and covers the brand only while open. */
html body .app-shell .sidebar{
 top:0!important;height:100dvh!important;z-index:110!important;
}
html body .app-shell>.top-header>#rlb-nav-toggle{
 margin-left:var(--rlb-rail)!important;
}

html[data-theme]{
 --rlb-brand:#009feb;--rlb-brand-ink:#000;
 --rlb-nav:var(--rlb-brand);--rlb-nav-end:var(--rlb-brand);
 --rlb-nav-hover:color-mix(in srgb,var(--rlb-brand) 87%,black);
 --rlb-nav-active:color-mix(in srgb,var(--rlb-brand) 76%,black);
 --rlb-accent:var(--rlb-brand);
 --rlb-bg:color-mix(in srgb,var(--rlb-brand) 7%,#f6f8fb);
 --rlb-tint:color-mix(in srgb,var(--rlb-brand) 13%,white);
 --rlb-border:color-mix(in srgb,var(--rlb-brand) 27%,#dbe2ec);
 --rlb-focus:color-mix(in srgb,var(--rlb-brand) 65%,black);
}
html[data-theme=dark]{
 --rlb-bg:color-mix(in srgb,var(--rlb-brand) 8%,#10141c);
 --rlb-surface:color-mix(in srgb,var(--rlb-brand) 11%,#171d27);
 --rlb-tint:color-mix(in srgb,var(--rlb-brand) 18%,#1a202c);
 --rlb-border:color-mix(in srgb,var(--rlb-brand) 34%,#343c49);
 --rlb-focus:color-mix(in srgb,var(--rlb-brand) 58%,white);
}
html body .app-shell .sidebar :is(.side-link,.side-parent,.sidebar-footer){color:var(--rlb-nav-text-color,#fff)!important}
html body .app-shell .sidebar :is(.side-link:hover,.side-parent:hover,.cascade-group.open>.side-parent,.side-link.active,.side-link.sub.active,.side-link[aria-current=page]){
 background:color-mix(in srgb,var(--rlb-brand) 85%,var(--rlb-brand-ink))!important;
 color:var(--rlb-brand-ink)!important;
}
html body .app-shell .sidebar:not(.nav-expanded) .cascade-group:has(.side-link.active)>.side-parent{
 background:color-mix(in srgb,var(--rlb-brand) 85%,var(--rlb-brand-ink))!important;
}
html body .app-shell .sidebar :is(.ico,.ui-icon){background:var(--rlb-brand-ink);background-clip:text}
html body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success):not(:disabled){
 background:#1466bf!important;border-color:#1466bf!important;color:#fff!important;
}
html body .app-shell .main-area :is(.workspace-tabs a.active,.bulk-tab.active){
 border-color:var(--rlb-focus)!important;color:var(--rlb-text)!important;background:var(--rlb-tint)!important;
}
.rlb-color-choice{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}
.rlb-color-choice input{width:32px;height:28px;padding:2px;border:1px solid var(--rlb-border);border-radius:5px;cursor:pointer}
@media(max-width:600px){.rlb-color-choice{font-size:0}}
html body .app-shell .sidebar :is(.ico img,.ui-icon){
 filter:var(--rlb-icon-filter,brightness(0))!important;
}
html body .app-shell .sidebar .side-parent .cascade-arrow{color:inherit}
#appearance{scroll-margin-top:calc(var(--rlb-header,60px) + 12px)}
.theme-settings-link{display:inline-flex;align-items:center;gap:5px;color:var(--rlb-text);text-decoration:none;padding:4px;border-radius:5px}
.theme-settings-link img{width:16px;height:16px}
.theme-settings-link:hover{background:var(--rlb-tint)}

/* The same optical grid and icon family are used across modules. */
html img.rlb-phosphor{
 display:inline-block;vertical-align:middle;width:1.15em;height:1.15em;flex:none;
 background:currentColor!important;filter:none!important;
 mask:var(--active-icon,var(--icon-regular)) center / contain no-repeat;
}
html[data-icon-style=bold] .rlb-phosphor{--active-icon:var(--icon-bold)}
html[data-icon-style=fill] .rlb-phosphor{--active-icon:var(--icon-fill)}
html[data-icon-style=duotone] .rlb-phosphor{--active-icon:var(--icon-duotone)}
html body .app-shell .sidebar img.rlb-phosphor{background:var(--rlb-nav-icon-color,#fff)!important;filter:none!important}
html body .app-shell .sidebar .ico{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;background:none}
html body .app-shell .sidebar .ico img.rlb-phosphor{width:22px;height:22px}
html body .app-shell .sidebar.nav-expanded :is(.side-nav>.side-link,.side-parent,.side-link.sub){
 box-sizing:border-box;width:calc(100% - 16px)!important;margin:3px 8px!important;
 border:0;display:flex;align-items:center;justify-content:flex-start;gap:12px;
 padding:10px 14px!important;min-height:44px;text-align:left;
}
html body .app-shell .sidebar.nav-expanded .side-link.sub{padding-inline-start:30px!important}
html body .app-shell .sidebar .side-link.sub .rlb-phosphor{margin:0;width:18px;height:18px}
html body .app-shell .sidebar .cascade-arrow{margin-inline-start:auto;display:flex;align-items:center}
html body .app-shell .sidebar .cascade-arrow img{width:14px;height:14px}
.rlb-icon-preview{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0;color:var(--rlb-text)}
.rlb-icon-preview .rlb-phosphor{width:22px;height:22px}
.theme-picker>.theme-settings-link,.theme-picker>span{display:none!important}

html body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success):not(:disabled):hover{
 background:#0d509d!important;border-color:#0d509d!important;
}
html body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success):not(:disabled) .ui-icon{
 filter:none!important;color:inherit;
}

.app-shell details>summary:not(:has(.label-history-arrow)){list-style:none}
.app-shell details>summary:not(:has(.label-history-arrow))::-webkit-details-marker{display:none}
.app-shell details>summary:not(:has(.label-history-arrow))::before{content:"";display:inline-block;width:1em;height:1em;margin-inline-end:.45em;vertical-align:-.13em;background:currentColor;mask:url('/static/vendor/iconpark/Chevron.svg') center/contain no-repeat;transform:rotate(0)}
.app-shell details[open]>summary:not(:has(.label-history-arrow))::before{transform:rotate(90deg)}
#bulk-editor .bulk-location-picker summary::after{content:none}
.rlb-arrow-icon{width:1em;height:1em;vertical-align:-.15em}
.rlb-arrow-action{display:grid;place-items:center;min-width:36px;min-height:36px;border-radius:10px;background:#eaf2ff;color:#185eb1}
.rlb-arrow-action img{width:17px;height:17px}
