/* BEMCO: branded navigation, with native ERP forms retained. */
/* The splash renders before Desk JavaScript; keep its original R visible in both themes. */
.splash>img{width:88px!important;height:88px;max-width:88px!important;object-fit:contain;box-sizing:border-box;padding:12px;background:#fff;border:1px solid #cad8df;border-radius:16px}
:root,[data-theme="light"]{--primary:#bb2731;--primary-color:#bb2731;--btn-primary:#bb2731;--blue-500:#bb2731;--blue-600:#941f27;--text-on-blue:#fff}
.navbar-brand img{max-width:145px;max-height:42px;width:auto!important}.for-login .page-card{border-top:4px solid #bb2731;border-radius:15px;box-shadow:0 15px 50px #12324a12}.for-login .app-logo{width:180px!important;max-height:90px!important;object-fit:contain}.btn-primary{background:#bb2731;border-color:#bb2731}.btn-primary:hover{background:#941f27;border-color:#941f27}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #4c98d4;outline-offset:3px}
.bemco-home{margin:0;background:#f2f5f6;color:#102e3b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}.bemco-home *{box-sizing:border-box}.bemco-home a{color:inherit;text-decoration:none}.bemco-home .shell{display:flex;min-height:100vh}.bemco-home .side{position:fixed;inset:0 auto 0 0;width:238px;background:#102e3b;color:#fff;padding:32px 18px;display:flex;flex-direction:column}.bemco-home .brand{display:block;background:white;padding:18px 15px;border-radius:9px;margin:0 8px 31px}.bemco-home .brand img{width:100%;height:62px;object-fit:contain}.bemco-home .side-label{font-size:10px;letter-spacing:2px;color:#b7cbd5;margin:0 19px 15px}.bemco-home .side nav{display:grid;gap:7px}.bemco-home .side nav a{padding:13px 14px;border-radius:7px;font-weight:550;display:flex;gap:14px;align-items:center}.bemco-home .side nav a span{font-size:21px;width:23px}.bemco-home .side nav a.active,.bemco-home .side nav a:hover{background:#ffffff18}.bemco-home .side-bottom{margin-top:auto;padding:25px 18px 0;font-size:12px;color:#b7cbd5}.bemco-home .side-bottom a{display:block;margin:11px 0}.bemco-home .side-bottom p{border-top:1px solid #ffffff20;padding-top:16px}.bemco-home .home-main{margin-left:238px;flex:1;min-width:0}.bemco-home .home-top{height:82px;background:#fff;border-bottom:1px solid #e1e8ef;display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:13px}.bemco-home .muted{color:#7b8a99;font-weight:400;margin-left:10px}.bemco-home .account{display:flex;gap:12px;align-items:center}.bemco-home .account span{color:#2a8664;font-size:11px}.bemco-home .home-content{max-width:1450px;padding:37px 42px;margin:auto}.bemco-home .welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.bemco-home .eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:#54738e}.bemco-home .welcome h1{font-size:34px;letter-spacing:-1px;line-height:1.2;margin:10px 0}.bemco-home .welcome p{color:#63788b;margin:12px 0}.bemco-home .primary{background:#bb2731!important;color:white!important;padding:13px 18px;border-radius:7px;font-weight:650;white-space:nowrap}.bemco-home .metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.bemco-home .metrics a{background:#fff;border:1px solid #e0e7ee;border-radius:10px;padding:22px;display:grid;gap:13px;box-shadow:0 3px 12px #193e2003}.bemco-home .metrics a>span:first-child{font-size:12px;color:#536d84;font-weight:600}.bemco-home .metrics strong{font-size:30px;line-height:1.3;letter-spacing:-.7px}.bemco-home .metrics small{font-size:13px;font-weight:500;letter-spacing:0;color:#576e82}.bemco-home .metrics a>span:last-child{font-size:11px;color:#668097}.bemco-home .inventory-note{display:flex;align-items:flex-start;gap:13px;background:#edf3f5;border:1px solid #cad8df;border-radius:9px;padding:15px 19px;margin:23px 0 25px}.bemco-home .note-dot{background:#bb2731;border-radius:50%;width:7px;height:7px;margin-top:6px;flex-shrink:0}.bemco-home .inventory-note strong{font-size:12px}.bemco-home .inventory-note p{font-size:12px;color:#596975;margin:4px 0 0}.bemco-home .home-search{display:flex;background:white;border:1px solid #dce5ee;border-radius:8px;align-items:center;gap:12px;padding:0 15px;max-width:565px;margin:30px 0}.bemco-home .home-search svg{width:19px;height:19px;fill:none;stroke:#7d92a3;stroke-width:1.7}.bemco-home .home-search input{border:0;background:transparent;padding:14px 0;width:100%;font:inherit;outline:none}.bemco-home .action-section{scroll-margin-top:20px;margin:31px 0}.bemco-home .section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:15px}.bemco-home .section-heading h2{font-size:18px;margin:0;letter-spacing:-.4px}.bemco-home .section-heading p{font-size:11px;color:#7d8c9a;margin:0}.bemco-home .action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.bemco-home .action-card{display:block;border:1px solid #dde5ed;border-radius:10px;padding:19px;background:white;transition:transform .15s,border-color .15s}.bemco-home .action-card:hover{border-color:#8fbdcd;transform:translateY(-2px);box-shadow:0 7px 20px #183f6710}.bemco-home .card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.bemco-home .card-number{font-size:11px;letter-spacing:1px;background:#edf3f5;color:#102e3b;border-radius:6px;padding:7px 9px}.bemco-home .card-arrow{color:#92a6b6;font-size:20px}.bemco-home .action-card h3{font-size:14px;margin:0 0 6px}.bemco-home .action-card p{font-size:11px;color:#708497;line-height:1.6;margin:0}.bemco-home .home-footer{margin-top:38px;border-top:1px solid #dfe6ee;padding:22px 0;display:flex;align-items:center;gap:15px;font-size:11px;color:#7a8e9f}.bemco-home .home-footer strong{color:#315571;letter-spacing:1px}.bemco-home .home-footer a{margin-left:auto}.bemco-home .mobile-nav{display:none}.bemco-home [hidden]{display:none!important}
@media(min-width:1500px){.bemco-home .home-content{padding-top:45px}.bemco-home .action-card{padding:24px}}
@media(max-width:1150px){.bemco-home .side{width:205px;padding:25px 12px}.bemco-home .home-main{margin-left:205px}.bemco-home .home-content{padding:28px}.bemco-home .home-top{padding:0 28px}.bemco-home .action-grid{grid-template-columns:repeat(2,1fr)}.bemco-home .metrics{gap:12px}.bemco-home .metrics a{padding:17px}.bemco-home .metrics small{display:block;margin-top:4px}.bemco-home .section-heading p{display:none}}
@media(max-width:760px){.bemco-home .side{display:none}.bemco-home .home-main{margin-left:0}.bemco-home .home-top{height:65px;padding:0 20px}.bemco-home .home-top>span{font-weight:700;color:#bb2731}.bemco-home .home-top .muted{font-size:11px}.bemco-home .home-content{padding:24px 18px 90px}.bemco-home .welcome{display:block;margin-bottom:20px}.bemco-home .welcome h1{font-size:29px}.bemco-home .welcome p{font-size:13px;max-width:300px}.bemco-home .welcome .primary{display:inline-block;margin-top:8px}.bemco-home .eyebrow{font-size:9px;letter-spacing:1px}.bemco-home .metrics{grid-template-columns:1fr 1fr;gap:10px}.bemco-home .metrics a{padding:15px;gap:8px}.bemco-home .metrics a:last-child{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.bemco-home .metrics strong{font-size:26px}.bemco-home .metrics small{font-size:11px}.bemco-home .metrics a>span:last-child{display:none}.bemco-home .metrics a:last-child strong{font-size:22px}.bemco-home .metrics a:last-child small{display:inline}.bemco-home .inventory-note{padding:14px}.bemco-home .inventory-note p{font-size:11px}.bemco-home .home-search{margin:22px 0}.bemco-home .action-grid{gap:11px}.bemco-home .action-card{padding:16px 14px}.bemco-home .action-card h3{font-size:13px}.bemco-home .action-card p{font-size:11px}.bemco-home .card-top{margin-bottom:16px}.bemco-home .section-heading h2{font-size:16px}.bemco-home .action-section{margin:27px 0;scroll-margin-top:15px}.bemco-home .mobile-nav{display:flex;position:fixed;inset:auto 0 0;background:#fff;border-top:1px solid #dce6ee;justify-content:space-around;padding:8px 6px max(10px,env(safe-area-inset-bottom));box-shadow:0 -3px 20px #173d6508;z-index:20}.bemco-home .mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:1px;color:#bb2731;text-decoration:none;font-size:21px;min-width:65px}.bemco-home .mobile-nav span{font-size:10px;font-weight:600}.bemco-home .home-footer{flex-wrap:wrap}.bemco-home .home-footer a{margin-left:0}}

.bemco-home .top-brand{display:flex;align-items:center}.bemco-home .top-brand img{display:none}@media(max-width:760px){.bemco-home .top-brand b{display:none}.bemco-home .top-brand img{display:block;width:96px;height:35px;object-fit:contain}.bemco-home .top-brand .muted{margin-left:8px}}

.bemco-home .metrics{grid-template-columns:repeat(4,1fr)}.bemco-home .brand{background:transparent;padding:14px 7px;margin-bottom:23px}.bemco-home .brand img{height:43px}.bemco-home .side nav a.active{background:#bb27311c;color:#c4e0ea}.bemco-home .side nav a:hover{background:#ffffff0d}.bemco-home .welcome-actions{display:flex;gap:16px;align-items:center}.bemco-home .secondary-action{font-size:12px;font-weight:650;color:#102e3b!important}.bemco-home .primary{box-shadow:0 5px 14px #bb273118}.bemco-home .home-top{height:74px}.bemco-home .metrics strong{font-size:28px}.bemco-home .metrics a{padding:20px}.bemco-home .metrics small{font-size:12px}.bemco-home .action-card{box-shadow:0 2px 8px #14271a03}.bemco-home .home-content{max-width:1500px}.bemco-home .side-bottom{line-height:1.7}.bemco-home .side-label{color:#b7cbd5}@media(max-width:1150px){.bemco-home .metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.bemco-home .welcome-actions{margin-top:14px;justify-content:space-between;flex-direction:row-reverse}.bemco-home .welcome .primary{margin-top:0}.bemco-home .metrics{grid-template-columns:repeat(2,1fr)}.bemco-home .metrics a:last-child{grid-column:auto;display:grid}.bemco-home .metrics a:last-child strong{font-size:26px}.bemco-home .metrics a:last-child small{display:block}.bemco-home .metrics a:last-child>span:last-child{display:none}.bemco-home .top-brand img{width:100px}.bemco-home .section-heading h2{font-size:16px}}

.ressi-desk-home{display:flex;align-items:center;padding:17px 20px;border-bottom:1px solid #cad8df;margin-bottom:8px;flex-shrink:0}.ressi-desk-home img{width:112px;height:27px;object-fit:contain}.ressi-mobile-home{display:none}.es-button.primary-action[data-variant="solid"]{background:#bb2731!important;border-color:#bb2731!important;color:#fff!important}.es-button.primary-action[data-variant="solid"]:hover{background:#941f27!important}.dock-item.active{background:#edf3f5!important;color:#102e3b!important}@media(max-width:760px){.ressi-mobile-home{display:flex;align-items:center;margin-right:10px;flex-shrink:0}.ressi-mobile-home img{width:65px;height:25px;object-fit:contain}.page-head .page-title{min-width:0}.page-head .title-area{min-width:0}.ressi-desk-home{padding:14px 18px}}

/* Native app identities use the original R glyph; product/media images are untouched. */
.ressi-app-icon{object-fit:contain!important;background:#fff!important;border:1px solid #cad8df;border-radius:7px;padding:3px;box-sizing:border-box}.desktop-icon .ressi-app-icon{padding:7px;border-radius:14px}.ressi-native-wordmark{background:#fff;border-radius:4px}.desktop-navbar #brand-logo.ressi-native-wordmark{width:110px;height:34px;max-width:110px;object-fit:contain}.navbar-brand .ressi-native-wordmark{object-fit:contain}.for-login .ressi-native-wordmark{object-fit:contain}

.ressi-native-stats{display:flex;align-items:center;min-height:44px;margin:0 10px 10px;padding:9px 10px;border-radius:7px;color:#102e3b!important;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none}.ressi-native-stats:hover{background:#edf3f5}.ressi-native-stats:focus-visible{outline:3px solid #bb2731;outline-offset:2px}

.ressi-buying-note{box-sizing:border-box;width:100%;margin:0 0 18px;padding:14px 16px;border:1px solid var(--border-color,#cad8df);border-radius:8px;background:var(--control-bg,#f2f5f6);color:var(--text-color,#102e3b);font-size:12px;line-height:1.6}.ressi-buying-note strong{display:block;margin-bottom:4px;font-size:13px;font-weight:600}.ressi-buying-note p{margin:0;overflow-wrap:anywhere}@media(max-width:600px){.ressi-buying-note{margin-bottom:14px;padding:12px 13px}}

/* BEMCO navigation uses deep blue; red is reserved for primary actions. */
:root,[data-theme="light"]{--bemco-blue:#102e3b;--bemco-red:#bb2731;--bemco-soft:#edf3f5}
.bemco-home .side nav a.active{background:#8fbdcd26;color:#e6f1f5}
.bemco-home .card-number{color:#102e3b}.bemco-home .mobile-nav a{color:#102e3b}

/* Focused staff navigation: operational actions, no configuration menus. */
#desk-dock .dock-item[hidden]{display:none!important}
.ressi-focused-sidebar .sidebar-header,.ressi-focused-sidebar .standard-items-band,.ressi-focused-sidebar .body-sidebar-top,.ressi-focused-sidebar .ressi-native-stats{display:none!important}
.ressi-work-nav{padding:3px 10px 18px;overflow:auto;min-height:0}
.ressi-work-nav h2{margin:18px 10px 6px;color:var(--text-muted,#596975);font-size:11px;line-height:1.4;font-weight:600}
.ressi-work-nav a{display:block;padding:9px 11px;min-height:36px;color:var(--text-color,#102e3b);border-radius:7px;font-size:12px;line-height:1.5;text-decoration:none}
.ressi-work-nav a:hover,.ressi-work-nav a.is-current{background:var(--control-bg,#edf3f5);color:var(--text-color,#102e3b)}
.ressi-work-nav a.is-current{font-weight:650}
