/* Basordning 3.1.33 — shared screen theme. Status colours retain their meaning. */
@media screen{
html body{--blue:#126bdd;--blue2:#0b54bb;--navy:#0d223a;--bg:#081a2d;--card:#102944;--panel:#102944;--panel2:#133252;--line:#294a6b;--text:#e9f2ff;--muted:#aac3df;--shadow:0 8px 24px #0003;background:linear-gradient(120deg,#081b2f,#07182a)!important;color:#e9f2ff!important;color-scheme:dark;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
html body :is(h1,h2,h3,h4){color:#f4f8ff!important}
html body :is(.topbar,.examHeader,.q-top,.projectTop,.identityHeader,.itHeader,.itSide,.sidebar){background:#0d223a!important;color:#e9f2ff!important;border-color:#294a6b!important}
html body :is(.card,.identityPanel,.identityColumns>section,.q-guide,.question,.productCard,.orderGroup,.kpi,.projectKpis>div,.identityStats>div,.modalCard,.userMenu,.examCard,.q-card,.riskCard,.installPanel,.loginCard,.loginCreator,.creatorBadge){background:linear-gradient(135deg,#102944,#0c1f35)!important;color:#e9f2ff!important;border:1px solid #294a6b!important;border-radius:16px;box-shadow:var(--shadow)}
html body :is(.pageHead,.hero,.q-hero,.projectHero){background:linear-gradient(120deg,#123554,#0c233b)!important;border:1px solid #294a6b!important;color:#fff!important;border-radius:16px}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){background:#102b48!important;color:#f4f8ff!important;border:1px solid #315377!important;border-radius:10px;max-width:100%;min-width:0}
html body input::placeholder,html body textarea::placeholder{color:#95b0d0;opacity:1}
html body :is(button,.secondary,.q-home,.btn){color:#dceaff;border-color:#315377}
html body :is(button.primary,.primary,.woPrimary,.btn){background:linear-gradient(110deg,#126bdd,#0b54bb)!important;color:#fff!important;border-radius:12px}
html body :is(.secondary,.q-home,.userPill,.cartButton,.userMenu button,.warehouseActionGrid>button,.projectActions>button,.projectActions>a,.warehouseFocus>button,.q-tiles>button){background:#133252!important;color:#dceaff!important;border:1px solid #315377!important}
html body :is(.muted,.sub,.pageHead p,.hero p,.q-hero p,.projectHero p,.loginCreator small,.creatorBadge small){color:#aac3df!important}
html body a{color:#85bdff}html body :is(.tableWrap,.q-table-wrap){border-color:#294a6b!important}
html body table{color:#e9f2ff}html body th{background:#102b48!important;color:#b8d1ef!important}html body td{border-bottom-color:#294a6b!important}html body tbody tr:hover{background:#153452!important}
html body :is(table,.miniCard,.orderGroupHead,.supplierBlock,.adminNote,.mobileKpis>div,.vehicleProductRow,.inventorySearch,.receivingOrder,.warehouseOrderCard,.warehouseOrderFacts span,.pickLine,.stickyPickActions,.warehouseMobileDock,.regionCard,.outsideInflowRow,.warehouseMoreFunctions,.toolbar,.field-editor,.identityEnrol,.riskAction,.riskMailRow,.reportLocation,.reportVideo,.reportTypeGuide,.reportWriting,.reportEmergency details,.reportMenu>div,.reportMore>div,.productBody,.warehouseStatusStrip article){background:#102944!important;color:#e9f2ff!important;border-color:#294a6b!important}
html body :is(.categoryTabs button,.pickStageBar button,.destinationChoice button,.warehouseSimpleActions button,.warehouseHomeActions button,.portalChooser>button,.richardJobGrid>button){background:#133252!important;color:#dceaff!important;border-color:#315377!important}
html body :is(.stockBadge,.status,.pill,.supplierTag,.notice,.error,.q-notice,.identityWarning,.projectOffline,.riskLive,.centralOrderTracking.missing,.openIssues){background:#133252;color:#dceaff;border-color:#315377}
html body :is(.danger,button.danger,.error,.status.AVBRUTEN,.scanResult.error,.riskType.RED){background:#542632!important;color:#ffced5!important;border-color:#ac5567!important}
html body :is(.warn,.notice.warn,.stockBadge.low,.status.DELLEVERERAD,.scanResult.warn,.riskType.YELLOW){background:#493b21!important;color:#ffda8c!important;border-color:#a47d32!important}
html body :is(.riskType.GREEN,.stockBadge:not(.low)){background:#183f38;color:#9be6ba;border-color:#367a5a}
html body :is(.riskHint,.riskTimeline small,.riskMailRow small){color:#aac3df!important}
html body dialog{background:#102944;color:#e9f2ff;border:1px solid #315377;border-radius:16px}html body dialog::backdrop{background:#020b16bb}
html body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #91cbff;outline-offset:3px}
html body :is(.cableStock,.cableAvailable,.cableInventoryRow,.cpStats,.cpRows,.cpRow,.meterCard,.meterListItem,.meterStockCard){background:#102944!important;color:#e9f2ff!important;border-color:#294a6b!important}
html body :is(.positive,.good){color:#83e8ac}html body :is(.negative,.bad){color:#ff9da8}
html body .osReportButton{top:auto;bottom:56px;max-width:calc(100vw - 28px)}
/* One navigation tree; headings and original links stay permission controlled. */
html body .quickNav{display:none!important}
html body .sidebar{width:240px;padding:14px 10px}.sidebar>nav{display:block!important}
.boNavGroup{margin:0 0 8px;border-bottom:1px solid #294a6b;padding-bottom:7px;min-width:0}.boNavGroup[hidden]{display:none!important}
.boNavGroup>summary{cursor:pointer;list-style:none;color:#e1efff;font-weight:750;font-size:14px;padding:13px 10px;min-height:46px;border-radius:10px;display:flex;justify-content:space-between;align-items:center;background:#102b48}
.boNavGroup>summary::-webkit-details-marker{display:none}.boNavGroup>summary:after{content:'›';color:#7ab8ff;font-size:22px}.boNavGroup[open]>summary:after{transform:rotate(90deg)}
html body .boNavGroup :is(button,a){text-decoration:none;text-align:left;white-space:normal;overflow-wrap:anywhere;border-radius:10px;min-height:44px;max-width:100%}
html body .sidebar .boNavGroup :is(button,a){display:flex;gap:10px;align-items:center;width:100%;padding:10px 12px;background:transparent;color:#bad1ed;border:0}
html body .boNavGroup :is(button,a):hover,html body .boNavGroup .active{background:#17477d!important;color:#fff!important}
.boNavGroup small:not(.mobileWordmark small){display:none}.boNavGroup .personalNav{display:block}
.boLocalSide{position:fixed;top:0;left:0;bottom:0;width:240px;padding:16px 12px;background:#0d223a;border-right:1px solid #294a6b;overflow:auto;z-index:35}.boHome{display:block;padding:15px 10px;margin-bottom:18px;font-weight:800;font-size:20px;text-decoration:none;color:#fff!important}.boLocalToggle{display:none}
html body.boLocalPage{padding-left:240px}html body .boLocalSide :is(.q-tabs,.examNav,#identityNavigation,.projectTabs){display:flex!important;flex-direction:column;align-items:stretch;background:transparent!important;border:0;margin:6px 0;padding:0;overflow:visible;border-radius:0;gap:4px}
html body .boLocalSide nav :is(button,a){background:transparent;color:#bad1ed!important;text-align:left;width:100%;padding:12px;white-space:normal;min-height:44px;border:0}
html body .boLocalSide nav .active{background:#17477d!important;color:#fff!important}
html body .itSideNav .boNavGroup button,html body .itSideNav .boNavGroup a{display:block;width:100%;padding:11px;background:transparent;color:#bad1ed;border:0}.itSide{overflow:auto}.itSideNav .itSubNav{padding-left:10px}
/* Compact header and mobile drawers retain existing touch navigation. */
@media(min-width:1001px){html body #app{grid-template-columns:240px minmax(0,1fr)}html body .topbar{gap:14px}html body .topActions{margin-left:auto}}
@media(max-width:1000px){html body .sidebar{max-width:85vw}.boLocalSide{position:sticky;top:0;bottom:auto;width:auto;border-right:0;border-bottom:1px solid #294a6b;padding:8px 12px}.boLocalSide .boHome{display:inline-block;font-size:17px;padding:8px;margin:0}.boLocalToggle{display:block;float:right;padding:8px 12px;background:#133252;border:1px solid #315377;border-radius:10px;min-height:44px}.boLocalSide>.boNavGroup{display:none}.boLocalSide.boExpanded>.boNavGroup{display:block;margin-top:8px}html body.boLocalPage{padding-left:0}}
@media(max-width:600px){html body .topbar{padding:8px 10px;gap:8px}html body .topActions{gap:5px}.topbar .userPill{max-width:145px}.topbar #userName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .cartButton{padding:9px}.topbar .mobileWordmark{min-width:110px;font-size:18px!important}}
}
@media screen{
html body :is(.shopProductImage,.productImage,.shopImagePlaceholder,.w2WarehouseStock){background:#133252!important;color:#dceaff!important;border-color:#315377!important}
html body :is(.shopProductPrice,.shopProductPrice span,.shopOrderControls label,.shopProductSpecs dd,.w2WarehouseStock strong,.w2WarehouseStock b){color:#e9f2ff!important}
html body :is(.shopProductSpecs dt,.shopProductDescription,.shopProductCategory,.w2WarehouseStock small){color:#aac3df!important}
html body .sidebar .boNavGroup button small{display:none}
html body .sidebar .boNavGroup button>b{font:inherit}
html body .boLocalSide nav button{flex-direction:row;justify-content:flex-start;gap:12px}
html body .boLocalSide nav button svg{width:24px;height:24px;flex-shrink:0}
@media(min-width:1001px){html body .itTabs{display:none}}
}
@media print{.boLocalSide,.boNavGroup{display:none!important}}
@media screen{
html body{--navy:#0d223a}
html body :is(.brandButton,.creatorBadge,.loginCreator strong){color:#e9f2ff!important}
html body :is(.w2Fulfillment,.w2ZoneGrid article,.w2TerminalModes button,.w2TerminalOrders button,.cpCable,.cpStats span,.cpStatGrid article,.identityUE){background:#102944!important;color:#e9f2ff!important;border-color:#294a6b!important}
html body :is(.w2TerminalModes button.active,.categoryTabs button.active){background:#17477d!important;color:#fff!important}
html body .shopProductStock{background:#183f38!important;color:#9be6ba!important}
html body .shopProductStock.low{background:#493b21!important;color:#ffda8c!important}
}
@media screen and (max-width:600px){
html body .riskFilters{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .riskFilters label{min-width:0}
html body .riskFilters :is(input,select){width:100%}
}
@media screen and (max-width:400px){html body .riskFilters{grid-template-columns:minmax(0,1fr)}}
@media screen{
html body :is(h1,h2,h3,h4){overflow-wrap:anywhere}
html body.installPage button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
html body.installPage h1{font-size:clamp(24px,5vw,32px)}
}
@media screen{html body .sidebar nav button.active{box-shadow:inset 3px 0 #55a7ff}}

@media screen{
html body .osReportButton{position:static;inset:auto;max-width:100%;font-size:14px;box-shadow:none}
html body :is(td,th){font-size:14px;line-height:1.5}
html body :is(label,dt,legend){color:#c0d5ee}
html body :is(.small,.help,.hint,.fieldHelp,.itTerminal time,.itTerminal small){color:#b5cce5!important;font-size:13px;line-height:1.5}
html body .itTerminal{font-size:13px;line-height:1.7}
html body .createdBySignature{position:static!important;inset:auto!important;display:block;margin:24px auto 0;text-align:center;padding:16px;color:#b8d0eb;background:transparent;box-shadow:none}
html body .releaseBadge{display:none!important}
html body .compactTitle>span:not(.statusDot){color:#95c8ff!important}
html body .statusDot.online{color:#8ee8ac!important}
html body :is(.status,.pill){font-size:13px}
html body :is(.reportNearMiss,.reportRisk){color:#453e05!important}
html body :is(.reportHazard,.reportAccident){background:linear-gradient(145deg,#a92235,#791b2a)!important;color:#fff!important}
html body .reportObservation{background:linear-gradient(145deg,#167744,#105832)!important;color:#fff!important}
html body :is(.reportEmergency,.reportTypeGuide aside){background:#392333!important;color:#ffced5!important;border:1px solid #ad5667;border-radius:16px}
html body :is(.reportEmergency p,.reportEmergency small,.reportTypeGuide aside p){color:#ffced5!important}
html body .reportEmergency details{background:#102944!important}
html body .reportEmergencyExamples p{color:#b8d0eb!important}
html body :is(.reportWriting strong,.reportWriting p,.reportForm small,.reportReporter){color:#b8d0eb!important}
html body .reportMedia{background:#133252!important;color:#dceaff!important;border:1px solid #315377!important}
html body .q-map-empty{background:#102944!important;color:#b8d0eb!important}
html body .reportTypeGuide aside strong{color:#ffda8c!important}
html body .reportTypeGuide aside a{color:#a9d4ff!important}
html body .reportEmergency h2 span{color:#ffb8c3!important}
}
@media screen and (max-width:820px){html body .mobileNav{display:flex!important;background:#0d223a!important;color:#e9f2ff;border-color:#294a6b;gap:14px}html body .mobileNav button{background:#133252;color:#fff;border:1px solid #315377;min-height:44px}html body :is(.reportCategory span,.reportEmergencyHeading small,.reportEmergencyExamples p,.reportEmergencyExamples strong,.reportForm>.riskHint,.reportReporter,.reportMedia){font-size:12px!important;line-height:1.45}}
@media screen{
html body :is(.priceHistoryLink,.identityTable button.name){color:#a9d4ff!important}
html body .priceHistoryLink small{color:#b8d0eb!important;font-size:12px}
html body :is(.identityMuted,.examHeader small,.meterCard small,footer){color:#b8d0eb!important}
html body .identityAvatar{background:#17477d!important;color:#fff!important}
html body :is(.examHeader button,.projectHero button,.projectTop button){background:#133252!important;color:#fff!important;border-color:#315377}
html body.installPage button:not(.osReportButton){background:#0b54bb!important;color:#fff!important}
html body .osSecurityNav .osReportButton{background:transparent!important;color:#bad1ed!important}
html body .cartButton span{background:#b31b2d!important;color:#fff!important}
html body :is(.cpStats b,.cpCableTop p,.cpTrend small,.cpFoot>span){color:#b8d0eb!important}
html body :is(.cpNoData,.cpForecastNote){color:#ffda8c!important}
html body :is(.cpMeter,.cpTransferTip){background:#133252!important;color:#dceaff!important}
html body .cpAlert{background:#493b21!important;color:#ffda8c!important}
html body .cpAlert.red{background:#542632!important;color:#ffced5!important}
}
@media screen{html body :is(.meterWarehouse>small,.cpStatHint){color:#b8d0eb!important}html body .boLocalSide button{background:#133252;color:#dceaff;border-color:#315377}}
@media screen{html body .sidebar>nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}html body .sidebar>footer{flex-shrink:0}}
@media screen and (max-width:820px){html body .sidebar{bottom:0;height:auto;min-height:0;overflow:hidden}}

/* Portal cards use the same dark panels as the warehouse overview. */
/* Readable form text and visible field outlines in both themes. */
@media screen{
html body :is(.itForm,.opsToolbar) label{font-size:14px}
html body :is(.itForm,.opsToolbar) :is(input,select,textarea){font-size:16px}
html[data-bo-theme=dark] body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border-color:#6b9dcc!important}
}
@media screen and (max-width:820px){
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important}
}
@media screen{
html body.mobileUnified .portalChooser .moduleCard{background:linear-gradient(135deg,#102944,#0c1f35)!important;color:#e9f2ff!important;border-color:#294a6b!important;border-top-color:#4c9eff!important;box-shadow:var(--shadow)}
html body.mobileUnified .portalChooser .moduleCard h2{color:#f4f8ff!important}
html body.mobileUnified .portalChooser .moduleCard p{color:#b8d0eb!important}
html body.mobileUnified .portalChooser .moduleCard small{color:#95c8ff!important}
html body.mobileUnified .portalChooser .moduleCard .moduleIcon{background:#133252!important;color:#95c8ff!important}
html body.mobileUnified .portalChooser .moduleCard>b{background:linear-gradient(110deg,#126bdd,#0b54bb)!important;color:#fff!important;border-radius:12px}
html body.mobileUnified .portalChooser .moduleCard:hover{border-color:#75b8ff!important}
}
@media screen{
html[data-bo-theme=dark] body .productThumb.placeholder{background:#133252!important;color:#85bdff!important}
html[data-bo-theme=dark] body .reportMenu a{background:#133252!important;color:#e9f2ff!important;border-color:#6b9dcc!important}
}
@media screen{
html[data-bo-theme=dark] body .scanResult:not(.success):not(.warn):not(.error){background:#133252!important;color:#dceaff!important;border-color:#6b9dcc!important}
}
