/* Owner-selected Baikal Porcelain. Presentation only; print, statuses and data keep their existing meaning. */
html[data-portal-appearance="baikal-porcelain"]{
 color-scheme:light;--bp-ink:#2e2c3b;--bp-muted:#302635;--bp-surface:#fffefc;--bp-raised:#f3f1f7;--bp-line:#ded9e7;
 --bp-iris:#6545b4;--bp-iris-soft:#eee8f8;--bp-peach:#f7e3d8;--bp-copper:#a24b35;--bp-good:#2c664a;--bp-good-soft:#e7f1e8;
 --bp-warn:#87500c;--bp-warn-soft:#faf0da;--bp-bad:#a23842;--bp-bad-soft:#fae7ea;--bp-info:#285c95;--bp-info-soft:#eaf0fa;
 --bp-menu-a:#352e56;--bp-menu-b:#555276;--bp-menu-ink:#faf6ff;--bp-menu-muted:#e0d9ec;--bp-content-density:56%;--bp-content-blur:8px;--bp-glass-density:84%;--bp-glass-blur:12px;
}
/* Map the existing module vocabularies into one set of color roles. */
html[data-portal-appearance="baikal-porcelain"],html[data-portal-appearance="baikal-porcelain"] :is(body,.sirius-ui,.decision-desk,[data-friendly-card],[data-order-lifecycle],[data-winter-finance],.transport-papers,.crm-card-workspace,.workspace-app,.order-board){
 --bg:#e6e3ee!important;--panel:var(--bp-surface)!important;--surface:var(--bp-surface)!important;--surface-elevated:var(--bp-raised)!important;
 --text:var(--bp-ink)!important;--ink:var(--bp-ink)!important;--text-primary:var(--bp-ink)!important;--text-secondary:var(--bp-muted)!important;--muted:var(--bp-muted)!important;
 --line:var(--bp-line)!important;--border:var(--bp-line)!important;--accent:var(--bp-iris)!important;--accent-soft:var(--bp-iris-soft)!important;--primary-accent:var(--bp-iris)!important;--secondary-accent:var(--bp-info)!important;
 --good:var(--bp-good)!important;--wait:var(--bp-warn)!important;--bad:var(--bp-bad)!important;--neutral:var(--bp-muted)!important;--blue:var(--bp-info)!important;--notice:var(--bp-raised)!important;
 --theme-bg:#e6e3ee!important;--theme-panel:var(--bp-surface)!important;--theme-raised:var(--bp-raised)!important;--theme-border:var(--bp-line)!important;
 --theme-text:var(--bp-ink)!important;--theme-muted:var(--bp-muted)!important;--theme-accent:var(--bp-iris)!important;--theme-info:var(--bp-info)!important;
 --theme-success:var(--bp-good)!important;--theme-warning:var(--bp-warn)!important;--theme-critical:var(--bp-bad)!important;--theme-unknown:var(--bp-muted)!important;--theme-neutral:var(--bp-muted)!important;
 --theme-selected:var(--bp-iris-soft)!important;--theme-hover:var(--bp-iris-soft)!important;--theme-secondary:var(--bp-info)!important;
 --control-bg:var(--bp-raised)!important;--control-border:var(--bp-line)!important;--button-ink:var(--bp-ink)!important;--selected:var(--bp-iris-soft)!important;--hover:var(--bp-iris-soft)!important;--critical-ink:var(--bp-bad)!important;
 --fc-bg:transparent!important;--fc-surface:var(--bp-surface)!important;--fc-raised:var(--bp-raised)!important;--fc-ink:var(--bp-ink)!important;--fc-muted:var(--bp-muted)!important;--fc-line:var(--bp-line)!important;
 --fc-accent:var(--bp-iris)!important;--fc-accent-soft:var(--bp-iris-soft)!important;--fc-good:var(--bp-good)!important;--fc-good-soft:var(--bp-good-soft)!important;--fc-warn:var(--bp-warn)!important;--fc-warn-soft:var(--bp-warn-soft)!important;--fc-bad:var(--bp-bad)!important;--fc-bad-soft:var(--bp-bad-soft)!important;--fc-info:var(--bp-info)!important;
 --su-bg:var(--bp-surface)!important;--su-surface:var(--bp-surface)!important;--su-text:var(--bp-ink)!important;--su-muted:var(--bp-muted)!important;--su-line:var(--bp-line)!important;--su-border:var(--bp-line)!important;--su-accent:var(--bp-iris)!important;
 --sc-good:var(--bp-good)!important;--sc-warn:var(--bp-warn)!important;--sc-bad:var(--bp-bad)!important;--pv-card:var(--bp-surface)!important;--pv-muted:var(--bp-muted)!important;--pv-line:var(--bp-line)!important;
 --folk-blue:var(--bp-info)!important;--folk-gold:var(--bp-copper)!important;--sw-ink:var(--bp-ink)!important;--scene:none!important;
}
html[data-portal-appearance] body{position:relative;isolation:isolate;background:#e6e3ee!important;color:var(--bp-ink)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;text-shadow:none!important;min-height:100dvh}
html[data-portal-appearance] body::before{content:""!important;position:fixed!important;inset:0!important;z-index:-2!important;pointer-events:none!important;background:linear-gradient(180deg,#fffcfa80,transparent 85%),url('/assets/baikal-porcelain.webp') center/cover no-repeat!important;opacity:1!important;filter:none!important;transform:none!important;animation:none!important}
html[data-portal-appearance] body::after{display:none!important}
html[data-portal-appearance] body :is(.living-landscape,.wallpaper-scene,.photo-scene,.photo-veil,.ambient-scene,.background-scene){display:none!important}
html[data-portal-appearance] body :is(main,.sirius-ui,.decision-desk,.orders-workspace,.order-lifecycle){color:var(--bp-ink)!important}
html[data-portal-appearance] body :is(h1,h2,h3,h4,strong,dt,dd){text-shadow:none}
html[data-portal-appearance] body :is(h1,h2,h3,h4){color:var(--bp-ink)!important}
html[data-portal-appearance] body :is(.lead,.eyebrow,.muted,.subtle,small,footer,.help,.lifecycle-help,.paper-help,.paper-footnote){color:var(--bp-muted)!important;opacity:1}
html[data-portal-appearance] body h1{font-size:clamp(24px,2.3vw,34px)!important;letter-spacing:-.035em!important;line-height:1.2}
html[data-portal-appearance] body :is(.panel,.card,.su-card,.decision-state,.decision-item,.decision-queue,.order-row,.module-card,.workspace-card,.shell-module-card,.management-card,.notification-card,.crm-brief,.crm-card-fold,.crm-card-sources,.crm-card-heading,.crm-card-status,.document-panel,.transport-card,.retail-card,.summary-card,.stats-card,.metric,.scenario-card,.memory-card){background:color-mix(in srgb,var(--bp-surface) var(--bp-content-density),transparent)!important;color:var(--bp-ink)!important;border-color:var(--bp-line)!important;border-radius:16px;box-shadow:inset 0 1px #ffffffc4,0 16px 38px #33284b1c!important;backdrop-filter:blur(var(--bp-content-blur))!important;-webkit-backdrop-filter:blur(var(--bp-content-blur))!important}
html[data-portal-appearance] body :is(.panel,.card,.su-card,.decision-state,.decision-item,.notification-card) :is(p,li,summary,label,dt,dd){color:inherit}
html[data-portal-appearance] body :is(.panel,.card,.su-card,.decision-state,.decision-item) :is(.muted,.eyebrow,small){color:var(--bp-muted)!important}
html[data-portal-appearance] body :is(.notice,.hint,.empty-state,.paper-empty,.density-peek-note){background:var(--bp-raised)!important;color:var(--bp-muted)!important;border-color:var(--bp-line)!important}
html[data-portal-appearance] body :is(dialog,.popover,.dropdown,.density-peek,.sirius-settings-panel){background:var(--bp-surface)!important;color:var(--bp-ink)!important;border-color:var(--bp-line)!important;box-shadow:0 20px 65px #302b4438!important}
html[data-portal-appearance] body dialog::backdrop{background:#302b4466;backdrop-filter:blur(3px)}
/* Menu glass has independent settings; content uses the approved 56% / 8px material. */
html[data-portal-appearance] body :is(aside:not(.su-decisions),.sirius-shared-sidebar,.sirius-workspace-nav,.sirius-shell-header,.sirius-shell-sidebar){background:radial-gradient(ellipse at 0 100%,#daa18666,transparent 70%),linear-gradient(150deg,color-mix(in srgb,var(--bp-menu-a) var(--bp-glass-density),transparent),color-mix(in srgb,var(--bp-menu-b) var(--bp-glass-density),transparent))!important;border-color:#ffffff32!important;color:var(--bp-menu-ink)!important;box-shadow:0 8px 25px #211d3926,inset 0 1px #ffffff24!important;backdrop-filter:blur(var(--bp-glass-blur))!important;-webkit-backdrop-filter:blur(var(--bp-glass-blur))!important}
html[data-portal-appearance] body :is(aside:not(.su-decisions),.sirius-shared-sidebar,.sirius-workspace-nav,.sirius-shell-header,.sirius-shell-sidebar) :is(a,summary,strong,label,button,.button){color:var(--bp-menu-ink)!important}
html[data-portal-appearance] body :is(aside:not(.su-decisions),.sirius-shared-sidebar,.sirius-workspace-nav,.sirius-shell-header) :is(small,.muted,.identity p,.brand span){color:var(--bp-menu-muted)!important}
html[data-portal-appearance] body :is(.sirius-shared-sidebar,.sirius-workspace-nav,aside:not(.su-decisions)) :is(a[aria-current],a.is-current,a.active,summary[aria-expanded=true]){background:linear-gradient(135deg,#8a73b899,#f1bd9a28)!important;color:#fff!important;border-color:#ffffff38!important;box-shadow:inset 3px 0 #c7b1ef,inset 0 1px #ffffff32!important}
html[data-portal-appearance] body :is(.sirius-workspace-nav,aside:not(.su-decisions)) :is(a,summary):hover,html[data-portal-appearance] body .sirius-shared-sidebar a:hover{background:#ffffff1c!important;color:#fff!important}
html[data-portal-appearance] body .sirius-workspace-nav details[open]>div{background:#fffdfb!important;color:var(--bp-ink)!important;border-color:var(--bp-line)!important;box-shadow:0 15px 35px #302b4430!important;backdrop-filter:none!important}
html[data-portal-appearance] body .sirius-workspace-nav details[open]>div :is(a,p,button,small){color:var(--bp-ink)!important}
html[data-portal-appearance] body .sirius-workspace-nav details[open]>div a:hover{background:var(--bp-iris-soft)!important;color:var(--bp-iris)!important}
html[data-portal-appearance] body :is(.portal-toolbar,.su-heading,.lifecycle-header,.friendly-header,.shell-view-header){background:linear-gradient(110deg,#fffcfae8,#f1eff9d6 55%,#f5e6d5e0)!important;color:var(--bp-ink)!important;border-color:#ffffffad!important;backdrop-filter:blur(8px)!important;border-radius:14px;padding:16px 20px;box-shadow:0 7px 22px #302b440b!important}
html[data-portal-appearance] body .portal-toolbar{min-height:48px;padding:8px 12px}
/* Real controls retain their existing disabled and selected semantics. */
html[data-portal-appearance] body :is(button,.button,input,select,textarea){background:var(--bp-raised)!important;color:var(--bp-ink)!important;border-color:var(--bp-line)!important;text-shadow:none!important;box-shadow:none;accent-color:var(--bp-iris)}
html[data-portal-appearance] body :is(input,select,textarea){border-radius:9px!important}
html[data-portal-appearance] body :is(input,textarea)::placeholder{color:#736b80!important;opacity:1}
html[data-portal-appearance] body select option{background:var(--bp-surface)!important;color:var(--bp-ink)!important}
html[data-portal-appearance] body :is(button,.button):hover{background:var(--bp-iris-soft)!important;color:var(--bp-ink)!important;border-color:#bdacd5!important}
html[data-portal-appearance] body :is(.primary,.action-primary,[data-paper-execute],[data-paper-preview],.paper-form-action button,.paper-confirm>button,[data-shipment-preview]>button,[data-shipment-execute]>button,[data-doc-pending],.friendly-primary){background:var(--bp-iris)!important;color:#fff!important;border-color:var(--bp-iris)!important;border-radius:10px;box-shadow:inset 0 1px #ffffff24,0 5px 14px #24193814!important}
html[data-portal-appearance] body :is(.primary,.action-primary,[data-paper-execute],[data-paper-preview],.paper-form-action button,[data-shipment-preview]>button,[data-shipment-execute]>button):hover{background:#53379b!important;color:#fff!important}
html[data-portal-appearance] body :is(button,input,select,textarea):disabled{opacity:.65!important;cursor:not-allowed}
html[data-portal-appearance] body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #9b77d8!important;outline-offset:3px!important}
html[data-portal-appearance] body :is(.tabs,.module-tabs,.filter-tabs,.friendly-route,.lifecycle-stages) :is([aria-selected=true],[aria-pressed=true],.active,[aria-current]){background:var(--bp-iris-soft)!important;color:#58379e!important;border-color:#bca6db!important}
/* Semantic feedback is always paired with the original label/icon. */
html[data-portal-appearance] body :is(.state-normal,.state-done,.state-ok,.tag.good,.badge.good,.pill.good,.pill.ok,.paper-state[data-state=ready],.shipment-preflight-banner.ready,[data-check-state=passed]){background:var(--bp-good-soft)!important;color:var(--bp-good)!important;border-color:#bed7c5!important;text-shadow:none!important}
html[data-portal-appearance] body :is(.state-attention,.state-warning,.tag.wait,.badge.warning,.pill.wait,.paper-state[data-state=waiting],.shipment-preflight-banner.needs-review){background:var(--bp-warn-soft)!important;color:var(--bp-warn)!important;border-color:#e4cc9f!important;text-shadow:none!important}
html[data-portal-appearance] body :is(.state-critical,.tag.bad,.badge.danger,.pill.bad,.paper-state[data-state=error],.error-banner){background:var(--bp-bad-soft)!important;color:var(--bp-bad)!important;border-color:#e5b9c0!important;text-shadow:none!important}
html[data-portal-appearance] body :is(.state-info,.tag.info,.badge.info,.pill.info){background:var(--bp-info-soft)!important;color:var(--bp-info)!important;border-color:#b8cce4!important}
html[data-portal-appearance] body :is(.state-unknown,.tag.unknown,.badge.unknown,.pill.unknown){background:var(--bp-raised)!important;color:var(--bp-muted)!important;border-color:var(--bp-line)!important}
html[data-portal-appearance] body :is(.su-normal,.status-good,.text-success){color:var(--bp-good)!important}html[data-portal-appearance] body :is(.su-warning,.status-warn,.text-warning){color:var(--bp-warn)!important}html[data-portal-appearance] body :is(.su-critical,.status-bad,.text-danger,[role=alert]:not(:empty)){color:var(--bp-bad)!important}
html[data-portal-appearance] body :is(.decision-desk .state-critical>small,.decision-desk .state-critical h3){color:var(--bp-bad)!important}
html[data-portal-appearance] body .decision-desk .state-attention>small{color:var(--bp-warn)!important}
/* Order route and EDI forms. Color describes saved states; nothing computes readiness here. */
html[data-portal-appearance] body :is(.friendly-order-card,.order-lifecycle,#friendly-order-card){background:transparent!important}
html[data-portal-appearance] body :is(.friendly-outcome,.lifecycle-outcome,.friendly-inspector,.lifecycle-content,.friendly-route-card){background:color-mix(in srgb,var(--bp-surface) var(--bp-content-density),transparent)!important;color:var(--bp-ink)!important;border-color:var(--bp-line)!important;box-shadow:inset 0 1px #ffffffc4,0 16px 38px #33284b1c!important;backdrop-filter:blur(var(--bp-content-blur))!important;-webkit-backdrop-filter:blur(var(--bp-content-blur))!important}
html[data-portal-appearance] body :is(.lifecycle-outcome,.lifecycle-content,.lifecycle-header) :is(p,strong,small){color:var(--bp-ink)!important}
html[data-portal-appearance] body .lifecycle-stages{background:#f6f2faed!important;border:1px solid var(--bp-line)!important}
html[data-portal-appearance] body .order-lifecycle .lifecycle-stages button{background:var(--bp-surface)!important;color:var(--bp-ink)!important;border-color:var(--bp-line)!important;text-shadow:none!important}
html[data-portal-appearance] body .order-lifecycle .lifecycle-stages button[aria-selected=true]{background:var(--bp-iris-soft)!important;border-color:#baa5d9!important;color:#55349b!important}
html[data-portal-appearance] body .order-lifecycle .lifecycle-stages :is(small,button>span){color:var(--bp-muted)!important}
html[data-portal-appearance] body .order-lifecycle [data-shipment-execute]{background:var(--bp-peach)!important;color:var(--bp-ink)!important;border-color:#e8cabd!important}
html[data-portal-appearance] body .friendly-inspector :is([data-edi-host=network],[data-edi-host=print]){background:var(--bp-surface)!important;color:var(--bp-ink)!important}
html[data-portal-appearance] body .edi-steps>button{background:var(--bp-raised)!important;color:var(--bp-muted)!important;border-color:var(--bp-line)!important}
html[data-portal-appearance] body .edi-steps>button[aria-pressed=true]{background:var(--bp-iris-soft)!important;color:#55349b!important;border-color:#baa5d9!important}
html[data-portal-appearance] body :is(.shipment-checklist,.edi-status) [data-state=passed]{background:var(--bp-good-soft)!important;color:var(--bp-good)!important;border-color:#bed7c5!important}
/* Transport documents: readiness, files and send/preflight action remain distinct. */
html[data-portal-appearance] body .transport-papers .paper-readiness{background:linear-gradient(145deg,color-mix(in srgb,#f8e2d5 var(--bp-content-density),transparent),color-mix(in srgb,#f9efe9 var(--bp-content-density),transparent))!important;border-color:#ead5c9!important}
html[data-portal-appearance] body .transport-papers .paper-readiness h2{color:var(--bp-copper)!important}
html[data-portal-appearance] body :is(.paper-footnote,main>footer){background:#fffdfbdf!important;padding:10px 14px;border-radius:10px;color:var(--bp-muted)!important}
html[data-portal-appearance] body .paper-state{background:var(--bp-iris-soft)!important;color:#55349b!important;border-color:#d9cbed!important}
html[data-portal-appearance] body :is(.paper-files,[data-paper-files]) .button{background:var(--bp-info-soft)!important;color:var(--bp-info)!important;border-color:#cfdbed!important}
html[data-portal-appearance] body :is(.paper-files,[data-paper-files]) .button[href*="act"]{background:#f1eafb!important;color:#75509b!important;border-color:#ded1ef!important}
html[data-portal-appearance] body .paper-steps li[aria-current]>span{background:var(--bp-iris)!important;color:#fff!important;border-color:var(--bp-iris)!important}
/* Tables and existing charts retain shape and event meaning. */
html[data-portal-appearance] body :is(table,thead,tbody,tr,td,th){border-color:var(--bp-line)!important}
html[data-portal-appearance] body th{background:var(--bp-raised)!important;color:var(--bp-muted)!important}
html[data-portal-appearance] body td{color:var(--bp-ink)}
html[data-portal-appearance] body tr:hover>td{background:#f4f0fa80!important}
html[data-portal-appearance] body :is(.gantt-name,.gantt-header>strong,.gantt-shipping,.gantt-row-label){background:var(--bp-surface)!important;color:var(--bp-ink)!important}
html[data-portal-appearance] body .gantt-panel .gantt-bar.g-contract{background:#eaf0fa!important;color:var(--bp-info)!important;border-color:#a9c0dc!important;box-shadow:none!important}
html[data-portal-appearance] body .gantt-panel .gantt-bar.g-feasible{background:#e9e0f6!important;color:#593a9f!important;border-color:#bca7d9!important;box-shadow:none!important}
html[data-portal-appearance] body .gantt-panel .gantt-bar.g-confirmed{color:var(--bp-warn)!important;text-shadow:none!important}
html[data-portal-appearance] body .gantt-panel .gantt-bar.g-shipping{color:var(--bp-good)!important;text-shadow:none!important}
html[data-portal-appearance] body .gantt-panel .gantt-bar.g-deadline{color:var(--bp-bad)!important;border-color:var(--bp-bad)!important;box-shadow:none!important}
html[data-portal-appearance] body .gantt-panel .gantt-risk .g-contract{border-color:var(--bp-bad)!important;background:var(--bp-bad-soft)!important}
html[data-portal-appearance] body :is(.overview-chart,.chart-panel) text{fill:var(--bp-muted)!important;text-shadow:none}
/* Entry keeps only the agreed snowfall; working pages never request video. */
html[data-portal-entry] body::before{background:linear-gradient(130deg,#22203966,#26334f22),url('/assets/wallpapers/snowfall.jpg') center/cover no-repeat!important}
html[data-portal-entry] body{display:grid!important;place-items:center!important;padding:28px 16px!important}
html[data-portal-entry] body main.login{position:relative!important;inset:auto!important;margin:0!important;width:min(500px,100%)!important;max-width:500px!important;padding:30px!important;background:color-mix(in srgb,var(--bp-surface) var(--bp-content-density),transparent)!important;color:var(--bp-ink)!important;border:1px solid #ffffffc0!important;border-radius:20px!important;box-shadow:0 20px 65px #302b4440!important;backdrop-filter:blur(var(--bp-content-blur))!important;-webkit-backdrop-filter:blur(var(--bp-content-blur))!important}
html[data-portal-entry] body main.login :is(input,button){width:100%}
.baikal-login-video{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;pointer-events:none;opacity:.8}
html[data-portal-appearance] body .baikal-appearance-name{font-weight:650;font-size:17px;color:var(--bp-iris)!important}
html[data-portal-appearance] body .baikal-glass-control{display:grid;grid-template-columns:1fr auto;gap:8px 16px;max-width:470px;margin:20px 0;color:var(--bp-muted);font-size:14px}
html[data-portal-appearance] body .baikal-glass-control input{grid-column:1/-1;width:100%;height:24px;min-height:24px;padding:0;background:transparent!important}
html[data-portal-appearance] body :is(.shell-preferences>label:has(#shell-theme),.sirius-restored-theme,[data-theme-controls],.wallpaper-control){display:none!important}
html[data-portal-appearance] body .sirius-global-settings{background:#ffffff12!important;border-color:#ffffff38!important;color:var(--bp-menu-ink)!important}
html[data-portal-appearance] body .portal-toolbar:not(:has(a,button,input,select)){display:none!important}
html[data-portal-appearance] body:has(>.sirius-workspace-nav) .portal-toolbar{display:none!important}
html[data-portal-appearance] body .sirius-workspace-nav :is(button,.button,.sirius-global-settings){background:#ffffff12!important;border-color:#ffffff38!important;color:var(--bp-menu-ink)!important}
html[data-portal-appearance] body .sirius-workspace-nav :is(button,.button,.sirius-global-settings):hover{background:#ffffff24!important;color:#fff!important}
html[data-portal-appearance] body main a:not(.button):not(.gantt-bar):not(.decision-state){color:var(--bp-iris)!important}
html[data-portal-appearance] body :is(.preferences label:has(#theme),.preferences label:has(#shell-theme)){display:none!important}
html[data-portal-appearance] body[data-sirius-proxy] .top{background:linear-gradient(110deg,#fffcfae8,#f1eff9d6 55%,#f5e6d5e0)!important;border-color:var(--bp-line)!important;color:var(--bp-ink)!important;backdrop-filter:blur(8px)!important}
@media(max-width:850px){html[data-portal-appearance] body .sirius-shared-sidebar{display:none!important}html[data-portal-appearance] body #sirius-shared-main{width:calc(100% - 24px)!important;margin:0 12px!important;padding:12px 0 30px!important}}

html[data-portal-appearance] body .sirius-voice-presence-frame{color-scheme:light!important;background:transparent!important}
/* Only the scene behind surfaces is blurred. Glyphs, controls and their ancestors stay sharp. */
html[data-portal-entry] body main.login :is(.screen-clock,.screen-date,.screen-notifications,p:not([role=alert])){color:var(--bp-muted)!important;opacity:1!important;text-shadow:none!important}
html[data-portal-entry] body main.login.screen-locked .screen-clock{color:var(--bp-ink)!important;font-weight:400}
html[data-portal-entry] body main.login .screen-notifications a{color:var(--bp-iris)!important}
html[data-portal-entry] body main.login .screen-resume summary{background:var(--bp-raised)!important;color:var(--bp-ink)!important;border-color:var(--bp-line)!important}

@media(max-width:760px){html[data-portal-appearance] body h1{font-size:25px!important}html[data-portal-appearance] body :is(.su-heading,.lifecycle-header,.friendly-header){padding:16px}html[data-portal-appearance] body :is(input,select,textarea){font-size:16px!important}html[data-portal-appearance] body :is(.button,button){min-height:44px}html[data-portal-entry] body main.login{padding:24px!important}}
@media(prefers-reduced-transparency:reduce){html[data-portal-appearance] body :is(aside:not(.su-decisions),.sirius-shared-sidebar,.sirius-workspace-nav,.sirius-shell-header){background:linear-gradient(150deg,var(--bp-menu-a),var(--bp-menu-b))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-portal-appearance] body :is(.panel,.card,dialog){background:var(--bp-surface)!important;backdrop-filter:none!important}}
@media(prefers-reduced-motion:reduce){.baikal-login-video{display:none!important}}
@media print{html[data-portal-appearance] body{background:#fff!important;color:#000!important}html[data-portal-appearance] body::before,html[data-portal-appearance] body::after,.baikal-login-video{display:none!important}html[data-portal-appearance] body :is(.panel,.card){box-shadow:none!important;backdrop-filter:none!important;background:#fff!important}}

@media(prefers-reduced-transparency:reduce){html[data-portal-appearance] body :is(.panel,.card,.su-card,.decision-state,.decision-item,.decision-queue,.order-row,.module-card,.workspace-card,.shell-module-card,.management-card,.notification-card,.crm-brief,.crm-card-fold,.crm-card-sources,.crm-card-heading,.crm-card-status,.document-panel,.transport-card,.retail-card,.summary-card,.stats-card,.metric,.scenario-card,.memory-card),html[data-portal-appearance] body :is(.friendly-outcome,.lifecycle-outcome,.friendly-inspector,.lifecycle-content,.friendly-route-card,.paper-readiness,main.login),html[data-portal-entry] body main.login,html[data-portal-appearance] body .transport-papers .paper-readiness{background:var(--bp-surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@supports not (backdrop-filter:blur(1px)){html[data-portal-appearance] body :is(.panel,.card,.su-card,.decision-state,.decision-item,.decision-queue,.order-row,.module-card,.workspace-card,.shell-module-card,.management-card,.notification-card,.crm-brief,.crm-card-fold,.crm-card-sources,.crm-card-heading,.crm-card-status,.document-panel,.transport-card,.retail-card,.summary-card,.stats-card,.metric,.scenario-card,.memory-card),html[data-portal-appearance] body :is(.friendly-outcome,.lifecycle-outcome,.friendly-inspector,.lifecycle-content,.friendly-route-card,.paper-readiness,main.login),html[data-portal-entry] body main.login,html[data-portal-appearance] body .transport-papers .paper-readiness{background:var(--bp-surface)!important}}
@media print{html[data-portal-appearance] body :is(.panel,.card,.su-card,.decision-state,.decision-item,.decision-queue,.order-row,.module-card,.workspace-card,.shell-module-card,.management-card,.notification-card,.crm-brief,.crm-card-fold,.crm-card-sources,.crm-card-heading,.crm-card-status,.document-panel,.transport-card,.retail-card,.summary-card,.stats-card,.metric,.scenario-card,.memory-card),html[data-portal-appearance] body :is(.friendly-outcome,.lifecycle-outcome,.friendly-inspector,.lifecycle-content,.friendly-route-card,.paper-readiness,main.login),html[data-portal-entry] body main.login,html[data-portal-appearance] body .transport-papers .paper-readiness{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}}

/* Session notices are content, never a navigation sidebar. */
html[data-portal-appearance] body [data-shipment-live-status]{position:relative!important;inset:auto!important;float:none!important;grid-column:1/-1!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:8px;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0 0 18px!important;padding:18px 20px!important;z-index:auto!important;background:#fffefcf0!important;color:#2e2c3b!important;border:1px solid #d8cde5!important;box-shadow:0 8px 24px #33284b12!important}
html[data-portal-appearance] body [data-shipment-live-status][hidden]{display:none!important}
html[data-portal-appearance] body [data-shipment-live-status] :is(p,small,strong){margin:0;color:#302635!important;max-width:80ch}
html[data-portal-appearance] body [data-shipment-live-status] .button{color:#fff!important;background:#6545b4!important;border-color:#6545b4!important}
html[data-portal-appearance] body .workplace-lock-button{flex:0 0 auto!important;white-space:nowrap;margin-left:10px;padding:8px 12px!important;min-height:40px!important;background:#ffffff18!important;border:1px solid #ffffff5c!important;color:#fff!important;font-size:13px}
html[data-portal-appearance] body .workplace-lock-button:hover{background:#ffffff2e!important}
html[data-portal-appearance] body[data-session-locking=true]>:not(.workplace-lock-cover):not(script):not(style){visibility:hidden!important;pointer-events:none!important}
html[data-portal-appearance] body .workplace-lock-cover{position:fixed;inset:0;z-index:2147483647;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:28px;background:#f1edf8;color:#2e2c3b;text-align:center}
html[data-portal-appearance] body .workplace-lock-cover p{color:#302635!important}
@media(max-width:850px){html[data-portal-appearance] body .sirius-workspace-nav:not([data-mobile-open=yes])>.workplace-lock-button,html[data-portal-appearance] body .sirius-workspace-nav[data-mobile-open=yes]>.workplace-lock-button{display:inline-flex!important;align-items:center;justify-content:center;margin:4px 4px 4px auto!important;min-height:40px!important}.sirius-workspace-nav>.sirius-workspace-brand{flex:1 1 45%!important;width:auto!important}html[data-portal-appearance] body [data-shipment-live-status]{padding:16px!important}}

/* Supplier mail receipts remain separate from RMS and file readiness. */
html[data-portal-appearance] body .supplier-delivery-summary{box-sizing:border-box;margin-top:20px;padding:18px;border:1px solid var(--bp-line);border-radius:16px;background:color-mix(in srgb,var(--bp-surface) var(--bp-content-density),transparent);color:var(--bp-ink);backdrop-filter:blur(var(--bp-content-blur));min-width:0}
html[data-portal-appearance] body .supplier-delivery-summary h3{margin:0 0 8px;font-size:16px}
html[data-portal-appearance] body .supplier-delivery-summary [data-delivery-headline]{font-weight:700;margin:8px 0}
html[data-portal-appearance] body .supplier-delivery-summary :is(p,span,strong,small){color:var(--bp-ink);overflow-wrap:anywhere}
html[data-portal-appearance] body .supplier-delivery-recipient{font-size:12px;margin:8px 0 12px}
html[data-portal-appearance] body .supplier-delivery-row{display:grid;gap:4px;padding:10px 0;border-top:1px solid var(--bp-line);font-size:13px}
html[data-portal-appearance] body .supplier-delivery-row small,html[data-portal-appearance] body [data-delivery-checked]{font-size:11px;line-height:1.5}
html[data-portal-appearance] body .supplier-delivery-row[data-state=sent]>span{color:#225c4b;font-weight:700}
html[data-portal-appearance] body .supplier-delivery-summary .button{display:inline-flex;white-space:normal;justify-content:center;text-align:center;max-width:100%;margin:6px 6px 0 0;padding:9px 12px;font-size:12px}
html[data-portal-appearance] body .supplier-delivery-summary[data-delivery-state=unavailable]{border-color:#a47845}
@media(max-width:600px){html[data-portal-appearance] body .supplier-delivery-summary{padding:14px}html[data-portal-appearance] body .supplier-delivery-summary .button{width:100%;margin-right:0}}

/* Keep the lift and highlight over the original, stable control bounds. */
@media(hover:hover) and (pointer:fine){
html[data-portal-appearance] body .bp-pointer-hover{transform:var(--bp-hover-transform)!important}
html[data-portal-appearance] body main :is(button,a.button,.module-tabs a,.map-node).bp-pointer-hover{background:var(--bp-iris-soft)!important;color:var(--bp-ink)!important;border-color:#bdacd5!important}
html[data-portal-appearance] body main :is(.primary,.action-primary,.friendly-primary,[data-paper-execute],[data-paper-preview]).bp-pointer-hover{background:#53379b!important;color:#fff!important}
html[data-portal-appearance] body .sirius-workspace-nav a.bp-pointer-hover{background:#ffffff1c!important;color:#fff!important}
}
/* Native date/time editors must use the same light palette as their labels. */
html[data-portal-appearance] body :is(input,select,textarea){color-scheme:light!important}
html[data-portal-appearance] body input:is([type=date],[type=time],[type=datetime-local]),html[data-portal-appearance] body #loading-schedule input:is([type=date],[type=time],[type=datetime-local]){box-sizing:border-box;min-width:0;min-height:44px;max-width:100%;padding:10px 12px!important;line-height:1.35;font:inherit;background:#fffdfb!important;color:#2e2c3b!important;border:1px solid #c7bdd5!important}
html[data-portal-appearance] body input:is([type=date],[type=time],[type=datetime-local])::-webkit-datetime-edit{color:#2e2c3b;background:transparent;padding:0}
html[data-portal-appearance] body input:is([type=date],[type=time],[type=datetime-local])::-webkit-calendar-picker-indicator{opacity:.8;filter:none;cursor:pointer}
html[data-portal-appearance] body label:has(>input:is([type=date],[type=time],[type=datetime-local])){display:grid;gap:7px;min-width:0;align-content:start;line-height:1.4}
html[data-portal-appearance] body label:has(>input:is([type=date],[type=time],[type=datetime-local]))>input{width:100%;margin:0}
html[data-portal-appearance] body #loading-schedule fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0;padding:14px 16px 16px;min-width:0;border:1px solid #d2c9dc;border-radius:12px}
html[data-portal-appearance] body #loading-schedule legend{max-width:100%;white-space:normal;padding:0 6px;font-size:13px;line-height:1.5;color:#51465f}
html[data-portal-appearance] body #loading-schedule label{margin:0;font-size:14px;color:#2e2c3b}
@media(max-width:700px){html[data-portal-appearance] body #loading-schedule fieldset{grid-template-columns:minmax(0,1fr)}}

/* Phone layout only. Existing data, roles, forms and business handlers are unchanged. */
@media(max-width:850px){
 html[data-portal-appearance] body[data-sirius-workspace]{padding-top:0!important}
 html[data-portal-appearance] body[data-sirius-workspace] .sirius-workspace-nav{position:sticky!important;inset:0 0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto 44px!important;align-items:center!important;gap:6px!important;padding:7px 12px!important;min-height:62px!important;box-sizing:border-box;max-width:100%;z-index:90}
 html[data-portal-appearance] body .sirius-workspace-nav>.sirius-workspace-brand{grid-column:1;grid-row:1;width:auto!important;flex:none!important;padding:0!important;margin:0!important;min-width:0;white-space:nowrap;font-size:16px!important;line-height:1.2!important;letter-spacing:.04em}
 html[data-portal-appearance] body .sirius-workspace-nav>.sirius-workspace-brand small{font-size:11px!important;line-height:1.3!important;letter-spacing:0}
 html[data-portal-appearance] body .sirius-workspace-nav>.sirius-menu-toggle{grid-column:2;grid-row:1;width:auto!important;min-height:44px!important;padding:9px 12px!important;margin:0!important;font-size:14px!important;line-height:1.3!important;border-radius:14px}
 html[data-portal-appearance] body .sirius-workspace-nav:not([data-mobile-open=yes])>.workplace-lock-button,html[data-portal-appearance] body .sirius-workspace-nav[data-mobile-open=yes]>.workplace-lock-button{grid-column:3;grid-row:1;position:relative!important;display:block!important;box-sizing:border-box;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;font-size:0!important;overflow:hidden;border-radius:14px}
 html[data-portal-appearance] body .sirius-workspace-nav>.workplace-lock-button:before{content:"";position:absolute;left:14px;top:19px;width:13px;height:12px;border:1.6px solid currentColor;border-radius:3px}
 html[data-portal-appearance] body .sirius-workspace-nav>.workplace-lock-button:after{content:"";position:absolute;left:17px;top:10px;width:7px;height:10px;border:1.6px solid currentColor;border-bottom:0;border-radius:6px 6px 0 0}
 html[data-portal-appearance] body .sirius-workspace-nav[data-mobile-open=yes]{max-height:80dvh;overflow-y:auto;overscroll-behavior:contain}
 html[data-portal-appearance] body .sirius-workspace-nav[data-mobile-open=yes]>:not(.sirius-workspace-brand):not(.sirius-menu-toggle):not(.workplace-lock-button){grid-column:1/-1;width:100%!important;margin:0!important}
 html[data-portal-appearance] body .sirius-workspace-nav[data-mobile-open=yes]>details>div{position:static!important;inset:auto!important;width:100%!important;max-height:none!important;min-width:0!important;box-sizing:border-box}
 html[data-portal-appearance]{scroll-padding-top:74px}
 html[data-portal-appearance] body main :is(input,select,textarea,button,a[id],section[id]){scroll-margin-top:76px}
 html[data-portal-appearance] body #sirius-shared-main{margin:0 12px!important;width:calc(100% - 24px)!important;padding-top:12px!important}
 html[data-portal-appearance] body .machine-gantt-tools[data-mobile-tools=yes]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:8px!important;margin:10px 12px!important}
 html[data-portal-appearance] body .machine-gantt-tools[data-mobile-tools=yes]>label{width:100%!important;max-width:none!important;flex:none!important;font-size:13px!important}
 html[data-portal-appearance] body .machine-gantt-tools[data-mobile-tools=yes] :is(input,select){box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;padding:10px 11px!important;font-size:16px!important}
 html[data-portal-appearance] body .bp-mobile-view{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
 html[data-portal-appearance] body .bp-mobile-view :is(.gantt-mode-switch,.bp-mobile-view-switch){display:flex;align-items:stretch;gap:0;overflow:hidden;border:1px solid var(--bp-line);border-radius:12px;min-height:44px;margin:0}
 html[data-portal-appearance] body .bp-mobile-view button{min-height:44px!important;min-width:54px;padding:9px 10px!important;margin:0;border:0!important;border-radius:0!important;font-size:13px!important;box-shadow:none!important;transform:none!important}
 html[data-portal-appearance] body .bp-mobile-view-switch button[aria-pressed=true]{background:var(--bp-iris)!important;color:#fff!important}
 html[data-portal-appearance] body .bp-mobile-filter-drawer{border:1px solid var(--bp-line);border-radius:14px;background:var(--bp-surface);overflow:hidden}
 html[data-portal-appearance] body .bp-mobile-filter-drawer>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;box-sizing:border-box;padding:11px 14px!important;color:var(--bp-ink)!important;font-size:14px;font-weight:600}
 html[data-portal-appearance] body .bp-mobile-filter-drawer>summary::-webkit-details-marker{display:none}
 html[data-portal-appearance] body .bp-mobile-filter-drawer>summary:after{content:"+";font-size:20px;font-weight:400}
 html[data-portal-appearance] body .bp-mobile-filter-drawer[open]>summary:after{content:"−"}
 html[data-portal-appearance] body .bp-mobile-filter-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:4px 12px 12px}
 html[data-portal-appearance] body .bp-mobile-filter-fields label{display:grid!important;gap:5px;min-width:0!important;max-width:100%!important;flex:none!important;font-size:13px}
 html[data-portal-appearance] body .bp-mobile-filter-fields>button{min-height:44px!important;width:100%;min-width:0;padding:9px!important;font-size:14px}
 html[data-portal-appearance] body .machine-gantt-notice{font-size:12px!important;line-height:1.4;margin:8px 12px!important}
 html[data-portal-appearance] body .gantt-panel{padding:0!important}
 html[data-portal-appearance] body .gantt-panel>.day-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px!important;margin:0!important;gap:8px}
 html[data-portal-appearance] body .gantt-panel>.day-title h2{font-size:18px!important;margin:0!important;line-height:1.3}
 html[data-portal-appearance] body .gantt-panel>.day-title a{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box;padding:8px 10px;font-size:13px}
 html[data-portal-appearance] body .gantt-panel>.day-title .module-tabs{display:flex;flex-wrap:nowrap;gap:6px;flex-shrink:0;margin:0}
 html[data-portal-appearance] body .gantt-panel>.day-title .module-tabs a{justify-content:center;width:44px;min-width:44px;padding:0!important;font-size:0!important}
 html[data-portal-appearance] body .gantt-panel>.day-title .module-tabs a:before{content:"‹";font-size:24px}
 html[data-portal-appearance] body .gantt-panel>.day-title .module-tabs a:last-child:before{content:"›"}
 html[data-portal-appearance] body .bp-mobile-gantt-help{padding:12px;border-top:1px solid var(--bp-line);font-size:13px;line-height:1.5}
 html[data-portal-appearance] body .bp-mobile-gantt-help>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600;color:var(--bp-iris)}
 html[data-portal-appearance] body .machine-gantt-list{width:100%!important;max-height:none!important;height:auto!important;overflow:visible!important;box-sizing:border-box}
 html[data-portal-appearance] body .machine-gantt-list .machine-gantt-group{width:100%!important;min-width:0!important;box-sizing:border-box}
 html[data-portal-appearance] body .machine-gantt-list .machine-gantt-heading{position:static!important;max-width:100%;padding:12px!important;box-sizing:border-box}
 html[data-portal-appearance] body .machine-gantt-list .machine-gantt-inner{position:static!important;display:grid!important;gap:6px!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box}
 html[data-portal-appearance] body .machine-gantt-list .machine-gantt-inner>:is(h3,p){margin:0!important}
 html[data-portal-appearance] body .machine-gantt-list .machine-gantt-inner h3{font-size:16px!important;line-height:1.4!important;overflow-wrap:anywhere}
 html[data-portal-appearance] body .machine-gantt-list .machine-gantt-inner .button{max-width:100%;white-space:normal;min-height:44px!important;padding:10px 12px!important;font-size:14px!important}
 html[data-portal-appearance] body .machine-gantt-list .gantt-name{display:block!important;position:static!important;width:100%!important;min-width:0!important;box-sizing:border-box;padding:13px!important;overflow-wrap:anywhere}
 html[data-portal-appearance] body .machine-gantt-list .gantt-row{min-height:0!important;padding:0!important}
 html[data-portal-appearance] body .machine-gantt-list .gantt-name strong{font-size:15px!important}
 html[data-portal-appearance] body .machine-gantt-list .gantt-name :is(small,.gantt-left-time,.gantt-order-item){font-size:14px!important;line-height:1.5!important}
 html[data-portal-appearance] body .bp-mobile-machine-actions{width:100%;font-size:14px;min-width:0;margin:0!important;padding:0!important;border:0!important}
 html[data-portal-appearance] body .bp-mobile-machine-actions>summary{display:flex;align-items:center;min-height:44px;padding:6px 0!important;box-sizing:border-box;font-weight:600;cursor:pointer;color:var(--bp-iris);list-style:none}
 html[data-portal-appearance] body .bp-mobile-machine-actions>summary:after{content:"+";margin-left:auto;font-size:20px}
 html[data-portal-appearance] body .bp-mobile-machine-actions[open]>summary:after{content:"−"}
 html[data-portal-appearance] body .bp-mobile-machine-actions>summary::-webkit-details-marker{display:none}
 html[data-portal-appearance] body .sirius-presence-launch{width:44px!important;height:44px!important;min-height:44px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;box-sizing:border-box;padding:7px!important;border-radius:16px!important;font-size:0!important;overflow:hidden;display:flex!important;align-items:center;justify-content:center}
 html[data-portal-appearance] body .sirius-presence-launch svg{width:28px!important;height:28px!important;flex-shrink:0}
}
@media(max-width:350px){html[data-portal-appearance] body .bp-mobile-filter-fields{grid-template-columns:minmax(0,1fr)}html[data-portal-appearance] body .bp-mobile-view button{min-width:49px;padding:9px 8px!important;font-size:12px!important}html[data-portal-appearance] body .gantt-panel>.day-title h2{font-size:16px!important}}

/* Unknown state on a content card uses the content palette, including nested asides. */
html[data-portal-appearance] body .sirius-ui .su-unknown .su-status{color:var(--bp-muted)!important}

/* Process workbenches previously retained dark --ow-* colors inside the light theme. */
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench]{
 --ow-bg:color-mix(in srgb,var(--bp-surface) 94%,transparent)!important;
 --ow-card:var(--bp-surface)!important;--ow-line:var(--bp-line)!important;
 --ow-text:var(--bp-ink)!important;--ow-muted:var(--bp-muted)!important;--ow-blue:var(--bp-iris)!important;
 color:var(--bp-ink)!important;min-width:0;
}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] :is(.ow-intro,.ow-section){color:var(--bp-ink);box-shadow:inset 0 1px #ffffffb8,0 12px 30px #33284b12}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-jumps a{color:var(--bp-ink)!important;min-height:48px;box-sizing:border-box;min-width:0;line-height:1.4}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-jumps a>span{color:var(--bp-ink);min-width:0}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-jumps strong{color:var(--bp-iris);background:var(--bp-iris-soft);border-radius:9px;min-width:34px;text-align:center;flex-shrink:0;font-size:22px;line-height:1.55}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-jumps a:hover{background:var(--bp-iris-soft)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-freshness{background:var(--bp-info-soft);border-color:var(--bp-info);color:var(--bp-info)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-freshness.ow-critical{background:var(--bp-bad-soft);border-color:var(--bp-bad);color:var(--bp-bad)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-data-gap{background:var(--bp-warn-soft);border-color:var(--bp-warn);color:var(--bp-warn)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-state{background:var(--bp-raised);color:var(--bp-ink)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-critical .ow-state{background:var(--bp-bad-soft);color:var(--bp-bad)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-warning .ow-state{background:var(--bp-warn-soft);color:var(--bp-warn)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-info .ow-state{background:var(--bp-info-soft);color:var(--bp-info)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-normal .ow-state{background:var(--bp-good-soft);color:var(--bp-good)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-card.ow-critical{border-left-color:var(--bp-bad)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-card.ow-warning{border-left-color:var(--bp-warn)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-card.ow-info{border-left-color:var(--bp-info)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-card.ow-normal{border-left-color:var(--bp-good)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-next{background:var(--bp-iris-soft);border-color:var(--bp-line);color:var(--bp-iris)!important}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] .ow-next:hover{background:var(--bp-peach)}
html[data-portal-appearance="baikal-porcelain"] body .sirius-ui [data-process-workbench] :is(a,summary):focus-visible{outline-color:var(--bp-iris)}

/* Partner desktop workplace: readable actions and bounded filter columns. */
html[data-portal-appearance] body[data-partner-workplace] .identity button,
html[data-portal-appearance] body[data-partner-workplace] .identity .button{color:#292637!important;background:#f4f1f8!important;border:1px solid #d5cfe0!important;font-weight:650!important;opacity:1!important;min-height:42px;padding:10px 14px}
html[data-portal-appearance] body[data-partner-workplace] .identity p{color:#fff!important;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
html[data-portal-appearance] body[data-partner-workplace] main{min-width:0;box-sizing:border-box}
html[data-portal-appearance] body[data-partner-workplace] main>.panel{min-width:0;max-width:100%;box-sizing:border-box}
html[data-portal-appearance] body[data-partner-workplace] .gantt-panel{padding:22px}
html[data-portal-appearance] body[data-partner-workplace] .machine-gantt-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
html[data-portal-appearance] body[data-partner-workplace] .machine-gantt-tools .gantt-mode-switch{grid-column:1/-1}
html[data-portal-appearance] body[data-partner-workplace] .machine-gantt-tools label{display:grid;gap:5px;min-width:0}
html[data-portal-appearance] body[data-partner-workplace] .machine-gantt-tools :is(input,select){min-width:0;width:100%;box-sizing:border-box}
html[data-portal-appearance] body[data-partner-workplace] :is(.gantt-scroll,.table-scroll){max-width:100%;min-width:0;overflow-x:auto}
@media(max-width:1050px){html[data-portal-appearance] body[data-partner-workplace] .machine-gantt-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html[data-portal-appearance] body[data-partner-workplace] .machine-gantt-tools{grid-template-columns:minmax(0,1fr)}html[data-portal-appearance] body[data-partner-workplace] .gantt-panel{padding:14px}}
