/* Shared across roles: navy/red surfaces, readable type, and clear controls. */
:root{--workspace-focus:#175da8;--workspace-muted:#52667c;--workspace-surface:#fff;--workspace-line:#dce4ed;--workspace-ink:#172b40;--workspace-soft:#f3f6fa}
html[data-theme=dark]{--workspace-focus:#f2c66d;--workspace-muted:#b3c3d1;--workspace-surface:#172a39;--workspace-line:#385064;--workspace-ink:#edf3f8;--workspace-soft:#112330}
#appShell :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible,#modal :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--workspace-focus)!important;outline-offset:3px!important}
#appShell :is(button,.button),#modal button{min-height:44px}
#appShell :is(input:not([type=checkbox]):not([type=radio]),select),#modal :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px}
#appShell .field>label,#modal .field>label{font-size:13px!important;line-height:1.6!important}
#appShell .main,#modalBox{font-size:14px;line-height:1.6}
#appShell .main table td,#modalBox table td{font-size:13px!important;line-height:1.6!important}
#appShell .main table th,#modalBox table th{font-size:12px!important;line-height:1.5!important}
#appShell .main .muted,#modalBox .muted{font-size:12px!important;line-height:1.65!important}
#appShell .main button,#modalBox button{font-size:13px}
#appShell :is(.rd-workspace,.keeper-shell){--rd-ink:var(--workspace-ink);--rd-soft:var(--workspace-muted);--rd-line:var(--workspace-line);--rd-surface:var(--workspace-surface);--rd-fill:var(--workspace-soft);--rd-accent:#b31b27;--rd-pale:#fbeef0;--kp-ink:var(--workspace-ink);--kp-muted:var(--workspace-muted);--kp-line:var(--workspace-line);--kp-paper:var(--workspace-surface);--kp-soft:var(--workspace-soft);--kp-accent:#b31b27;max-width:1500px;margin:auto;min-width:0}
html[data-theme=dark] #appShell :is(.rd-workspace,.keeper-shell){--rd-accent:#ffb0b5;--rd-pale:#382a35;--kp-accent:#ffb0b5}
#appShell .rd-hero,#appShell .keeper-head{background:transparent!important;color:var(--workspace-ink)!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 22px!important;box-shadow:none!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px}
#appShell .rd-hero:after,#appShell .rd-hero-mark{display:none}
#appShell .rd-hero h1,#appShell .keeper-head h1{font-size:clamp(27px,3vw,36px)!important;font-weight:750!important;letter-spacing:-.04em!important;color:var(--workspace-ink)!important;margin:6px 0!important;line-height:1.15!important}
#appShell .rd-hero p,#appShell .rd-greeting span,#appShell .keeper-head p{font-size:13px!important;color:var(--workspace-muted)!important;line-height:1.7!important}
#appShell .rd-hero .rd-eyebrow,#appShell .keeper-kicker{font-size:11px!important;color:var(--rd-accent,var(--kp-accent))!important;letter-spacing:.09em!important}
#appShell .rd-hero .rd-greeting{margin:6px 0!important;font-weight:600}
#appShell .rd-stat>span,#appShell .keeper-metric>span{font-size:13px!important}
#appShell :is(.rd-caption,.rd-stat small,.rd-empty p,.rd-project p,.rd-store p,.rd-store small,.rd-task p,.rd-task-status,.rd-stock-row p,.rd-stock-row small,.rd-movement p,.rd-movement small,.rd-action-index,.rd-actions small,.rd-focusbar p,.rd-focusbar label,.rd-cost-note p,.ac-row-text p,.keeper-metric small,.keeper-muted){font-size:12px!important;line-height:1.65!important}
#appShell :is(.rd-project strong,.rd-task strong,.rd-stock-row strong,.rd-movement strong,.rd-store strong,.rd-empty strong,.rd-cost-note strong){font-size:14px!important;line-height:1.6!important}
#appShell :is(.rd-panel-heading h2,.keeper-card h2,.ac-heading h2){font-size:18px!important;line-height:1.5!important;letter-spacing:-.015em!important}
#appShell :is(.rd-project-status,.keeper-site-status){font-size:11px!important;white-space:normal!important}
#appShell :is(.role-dashboard-page .secondary,.ac-filter){font-size:12px!important;white-space:normal!important;min-height:44px!important}
#appShell .rd-columns{grid-template-columns:minmax(290px,1fr) minmax(0,1.5fr)}
#appShell .rd-columns>.enterprise-attention{grid-column:1;grid-row:1}
#appShell .rd-columns>.rd-primary{grid-column:2;grid-row:1}
#appShell .rd-secondary-tools{border:1px solid var(--workspace-line);border-radius:12px;background:var(--workspace-surface);padding:18px;margin-top:20px}
#appShell .rd-secondary-tools>summary{font-size:15px;font-weight:650;cursor:pointer;min-height:44px;display:list-item;align-content:center}
#appShell .rd-secondary-tools>summary small{display:block;font-size:12px;font-weight:400;line-height:1.6;color:var(--workspace-muted);margin:5px 0}
#appShell .rd-secondary-tools .rd-lower-grid{margin-bottom:0}
#appShell .rd-start-label{font-size:14px;margin:0;color:var(--workspace-ink)}
#appShell .rd-actions{margin-top:10px}
#appShell .rd-focusbar select{font-size:13px!important}
#appShell .dashboard-refreshbar{font-size:12px!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;color:var(--workspace-muted)}
#appShell .keeper-workflow{display:flex;flex-wrap:wrap;gap:8px 22px;margin:-6px 0 20px;padding:0;list-style:none;font-size:12px;color:var(--workspace-muted);line-height:1.8}
#appShell .keeper-workflow strong{color:var(--workspace-ink);font-weight:650}
#appShell .keeper-head .keeper-context{font-size:13px}
#appShell .keeper-category{font-size:12px;color:var(--workspace-muted)}
#appShell .keeper-stock-attention{border-top:1px solid var(--workspace-line);margin-top:18px;padding-top:16px}
#appShell .keeper-stock-attention h3{font-size:15px;margin:0 0 10px}
#appShell #mobileBottomNav button>span[aria-hidden=true]{display:inline-flex;align-items:center;justify-content:center;width:18px!important;height:18px!important;flex:0 0 18px;font-size:18px!important;line-height:1!important}
#appShell #mobileBottomNav .ui-icon{width:18px!important;height:18px!important}
#appShell #mobileBottomNav button>span:not([aria-hidden=true]){font-size:11px!important;line-height:1.2!important}
#appShell .keeper-search-label{display:grid;gap:6px;font-size:12px;flex:1;min-width:min(220px,100%)}
#appShell :is(.keeper-table,.tablewrap){overscroll-behavior-x:contain}
#appShell [aria-invalid=true],#modal [aria-invalid=true]{border:2px solid #be2032!important}
@media(max-width:1150px){#appShell .rd-columns{display:flex;flex-direction:column}#appShell .rd-columns>*{width:100%}}
@media(max-width:750px){#appShell :is(input:not([type=checkbox]):not([type=radio]),select,textarea),#modal :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}#appShell .rd-actions strong{font-size:14px}#appShell .rd-actions>button{min-height:66px}#appShell .rd-secondary-tools{padding:14px}#appShell .keeper-work-actions{width:100%}#appShell .keeper-work-actions>button{flex:1}#appShell .rd-panel-heading{flex-wrap:wrap}#appShell :is(.rd-panel,.keeper-card,.action-centre){overflow-wrap:anywhere}#appShell .rd-stock-row>div{min-width:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(forced-colors:active){#appShell button,#modal button{border:1px solid ButtonText!important}#appShell :is(button.active,[aria-pressed=true]){outline:2px solid Highlight!important}}

/* Dashboard composition shared by all roles. */
#appShell :is(.rd-workspace,.keeper-shell){--dashboard-shadow:0 3px 10px #17324d04,0 14px 36px #17324d04;--dashboard-ready:#315a7c;--dashboard-out:#c33f4b;--dashboard-held:#be853b}
html[data-theme=dark] #appShell :is(.rd-workspace,.keeper-shell){--dashboard-shadow:0 5px 20px #00000012;--dashboard-ready:#88aecb;--dashboard-out:#ef8c96;--dashboard-held:#edbc74}
.dashboard-icon{display:block;width:22px;height:22px;flex:none}
#appShell .dashboard-person-copy>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
#appShell .dashboard-person,#appShell .keeper-head .keeper-context{display:flex;align-items:center;gap:11px;padding:11px 15px;border:1px solid var(--workspace-line);background:var(--workspace-surface);border-radius:12px;text-align:left;box-shadow:0 3px 8px #17324d03;min-width:0}
#appShell .dashboard-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:#eaf0f6;color:#274b6b;font-size:15px;font-weight:750;box-shadow:inset 0 0 0 1px #17324d06}
html[data-theme=dark] #appShell .dashboard-avatar{background:#294257;color:#c8dbe9}
#appShell .dashboard-person-copy{display:grid;gap:3px;min-width:0}
#appShell .dashboard-person-copy>strong{font-size:13px;font-weight:700;line-height:1.3}
#appShell .dashboard-person-copy>span{font-size:11px;color:var(--workspace-muted);line-height:1.4}
#appShell .rd-hero .dashboard-refreshbar{grid-column:1/-1;justify-content:flex-end;margin:0;padding:0;border:0;background:transparent;gap:12px}
#appShell .rd-hero .dashboard-refreshbar button{background:var(--workspace-surface);border:1px solid var(--workspace-line);box-shadow:0 2px 5px #17324d03}
#appShell .keeper-shell .keeper-updatebar.toolbar{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:10px!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:-6px 0 20px!important;min-height:44px!important}
#appShell .keeper-shell .keeper-updatebar.toolbar>button{width:auto!important;flex:0 0 auto!important;min-width:0!important;padding:8px 15px!important;background:var(--workspace-surface)!important;border:1px solid var(--workspace-line)!important;box-shadow:0 2px 5px #17324d03!important;font-size:12px!important}
#appShell .keeper-updatebar .stock-sync-state{margin:0!important;font-size:11px!important;color:var(--workspace-muted)}
#appShell .keeper-updatebar .stock-sync-state::before{content:'';display:inline-block;width:6px;height:6px;border-radius:2px;background:#6d8c7d;margin-right:7px;vertical-align:middle}
html[data-theme] #appShell .main .keeper-shell .keeper-updatebar.toolbar{background:transparent!important;background-image:none!important;flex-direction:row!important;align-items:center!important;min-height:44px!important}
html[data-theme] #appShell .main .keeper-shell .keeper-updatebar.toolbar .stock-sync-state{width:auto!important;flex:0 1 auto!important}
#appShell :is(.keeper-card,.rd-panel,.action-centre){box-shadow:var(--dashboard-shadow)!important;border-radius:16px!important;border:1px solid var(--workspace-line)!important}
#appShell :is(.keeper-metric,.rd-stat){position:relative;border-radius:15px!important;border:1px solid var(--workspace-line)!important;padding:20px!important;box-shadow:var(--dashboard-shadow)!important;overflow:hidden}
#appShell .keeper-metric-link{transition:transform .15s,box-shadow .15s,border-color .15s}
#appShell .keeper-metric-link:hover{transform:translateY(-2px);box-shadow:0 8px 24px #17324d0c!important;border-color:#a3b4c5!important}
#appShell .dashboard-stat-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:30px}
#appShell .dashboard-stat-heading>span{font-size:12px!important;font-weight:600;color:var(--workspace-muted);line-height:1.4}
#appShell .dashboard-stat-heading>i{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:var(--workspace-soft);color:#53728e;font-style:normal}
#appShell .dashboard-stat-heading .dashboard-icon{width:17px;height:17px}
html[data-theme=dark] #appShell .dashboard-stat-heading>i{color:#a7bfd1;background:#21394c}
#appShell .keeper-metric>b,#appShell .rd-stat>strong{font-size:34px!important;line-height:1.2!important;font-weight:750;letter-spacing:-.04em;margin:10px 0 8px!important;font-variant-numeric:tabular-nums}
#appShell .rd-stat.rd-stat-alert{border-top:3px solid #bb7540!important}
#appShell .keeper-workbar{position:relative;isolation:isolate;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:18px;padding:28px!important;background:linear-gradient(115deg,#16354f,#244966)!important;border:1px solid #31516a!important;border-radius:18px!important;box-shadow:0 10px 26px #16354f12!important;overflow:hidden;color:#fff!important}
#appShell .keeper-workbar::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent 49.5%,#ffffff05 50%,transparent 50.5%),linear-gradient(0deg,transparent 49.5%,#ffffff05 50%,transparent 50.5%);background-size:48px 48px;mask-image:linear-gradient(90deg,transparent,#000)}
#appShell .keeper-workbar .keeper-kicker{color:#a8c1d3!important;font-size:10px!important}
#appShell .keeper-workbar h2{color:#fff!important;font-size:25px!important;letter-spacing:-.035em;margin:6px 0!important;line-height:1.3}
#appShell .keeper-workbar p{color:#c1d1de!important;font-size:12px!important;line-height:1.6}
#appShell .dashboard-location-icon{display:grid;place-items:center;width:54px;height:54px;border:1px solid #ffffff26;border-radius:15px;background:#ffffff0b;color:#cddde8}
#appShell .dashboard-location-icon .dashboard-icon{width:28px;height:28px}
#appShell .keeper-work-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px!important;font-weight:650!important;padding:11px 17px!important;white-space:nowrap}
#appShell .keeper-shell button{min-height:44px!important}
#appShell .keeper-work-actions .dashboard-icon{width:17px;height:17px}
#appShell .keeper-workbar .keeper-work-actions>.primary{background:#d7192a!important;color:#fff!important;border:1px solid #e34452!important;box-shadow:0 3px 8px #0002!important}
#appShell .keeper-workbar .keeper-work-actions>.secondary{background:#ffffff0e!important;color:#fff!important;border:1px solid #ffffff38!important}
#appShell .keeper-workbar .keeper-work-actions>.secondary:hover{background:#ffffff20!important}
#appShell .keeper-workflow{font-size:11px;gap:8px 22px;padding:0 4px;margin:-4px 0 22px}
#appShell .keeper-workflow li{display:flex;gap:5px;align-items:center}
#appShell .keeper-list-row{padding:14px 0}
#appShell .keeper-list-row small{display:block;margin-top:4px;line-height:1.5}
#appShell .keeper-empty{background:var(--workspace-soft);border:1px dashed var(--workspace-line);border-radius:10px;padding:18px!important;font-size:12px;line-height:1.7;color:var(--workspace-muted)}
#appShell .keeper-empty strong{font-size:13px;color:var(--workspace-ink);margin-bottom:4px}
#appShell .rd-action-index{width:40px;height:40px;display:grid;place-items:center;padding:0!important;flex:none;background:#edf2f7;color:#355b7a;border-radius:11px!important}
html[data-theme=dark] #appShell .rd-action-index{background:#263e52;color:#b8cddd}
#appShell .rd-actions>button{position:relative;border-radius:14px;padding:18px 20px;box-shadow:var(--dashboard-shadow);min-height:92px;transition:transform .15s,border-color .15s}
#appShell .rd-actions>button:hover{transform:translateY(-2px);border-color:#9caec0}
#appShell .rd-actions>button:first-child{border-top:3px solid #c42636;padding-top:16px}
#appShell .rd-actions strong{font-size:14px;font-weight:700}
#appShell .rd-start-label{font-size:12px;font-weight:650;color:var(--workspace-muted);letter-spacing:.02em}
#appShell .rd-focusbar{padding:13px 16px;margin-bottom:18px;background:transparent;border:0;border-left:2px solid var(--workspace-line);border-radius:0}
#appShell .rd-focusbar label{font-size:11px;flex:1;max-width:360px}
#appShell .rd-focusbar p{max-width:420px}
#appShell .dashboard-availability{margin:4px 0 18px;padding:18px;border-radius:12px;background:var(--workspace-soft);border:1px solid var(--workspace-line)}
#appShell .dashboard-availability-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
#appShell .dashboard-availability-heading>span{font-size:12px;font-weight:600;color:var(--workspace-muted)}
#appShell .dashboard-availability-heading>strong{font-size:22px;letter-spacing:-.03em;color:var(--workspace-ink);white-space:nowrap}
#appShell .dashboard-availability-heading small{font-size:11px;color:var(--workspace-muted);font-weight:500;letter-spacing:0}
#appShell .dashboard-availability-track{display:flex;gap:3px;height:10px;border-radius:4px;overflow:hidden;background:var(--workspace-line)}
#appShell .dashboard-availability-track>span{min-width:0}
#appShell .dashboard-availability .is-ready{background:var(--dashboard-ready)}#appShell .dashboard-availability .is-out{background:var(--dashboard-out)}#appShell .dashboard-availability .is-held{background:var(--dashboard-held)}
#appShell .dashboard-availability-key{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:12px;font-size:11px;color:var(--workspace-muted)}
#appShell .dashboard-availability-key>span{display:flex;align-items:center;gap:6px}
#appShell .dashboard-availability-key i{display:inline-block;width:7px;height:7px;border-radius:2px}
#appShell .dashboard-project-rollup{display:grid;grid-template-columns:repeat(3,1fr);padding:17px 0;margin-bottom:12px;border-radius:11px;border:1px solid var(--workspace-line);background:var(--workspace-soft)}
#appShell .dashboard-project-rollup>div{display:grid;gap:3px;padding:0 16px;border-right:1px solid var(--workspace-line)}
#appShell .dashboard-project-rollup>div:last-child{border:0}
#appShell .dashboard-project-rollup strong{font-size:25px;line-height:1.2;letter-spacing:-.03em;color:var(--workspace-ink)}
#appShell .dashboard-project-rollup span{font-size:11px;color:var(--workspace-muted)}
#appShell .rd-secondary-tools{box-shadow:var(--dashboard-shadow);border-radius:14px}
@media(max-width:1150px){#appShell .keeper-workbar{grid-template-columns:46px minmax(0,1fr)}#appShell .keeper-workbar .keeper-work-actions{grid-column:2}#appShell .dashboard-location-icon{width:46px;height:46px;border-radius:12px}}
@media(max-width:750px){#appShell .rd-hero,#appShell .keeper-head{grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:17px!important}#appShell .rd-hero h1,#appShell .keeper-head h1{font-size:28px!important}#appShell .rd-hero p,#appShell .keeper-head p{font-size:12px!important}#appShell .rd-hero .rd-greeting{font-size:11px!important}#appShell .rd-greeting span{display:none}#appShell .dashboard-person,#appShell .keeper-head .keeper-context{align-self:start;padding:0;border:0;background:transparent;box-shadow:none;gap:7px}#appShell .dashboard-person-copy>strong{font-size:12px}#appShell .dashboard-avatar{width:32px;height:32px;border-radius:10px;font-size:13px}#appShell .dashboard-person-copy>span{font-size:10px}#appShell .keeper-head>div:first-child>p{max-width:260px}#appShell .keeper-shell .keeper-updatebar.toolbar{margin:-4px 0 16px!important;gap:8px!important}#appShell .keeper-updatebar #keeperFeedback:empty{display:none}#appShell .keeper-workbar{grid-template-columns:40px minmax(0,1fr);gap:10px 13px;padding:20px!important;border-radius:15px!important;align-items:center!important}#appShell .dashboard-location-icon{width:40px;height:44px;border-radius:11px}#appShell .dashboard-location-icon .dashboard-icon{width:24px;height:24px}#appShell .keeper-workbar h2{font-size:23px!important}#appShell .keeper-workbar p{font-size:11px!important}#appShell .keeper-workbar .keeper-work-actions{grid-column:1/-1;width:100%;margin-top:7px;gap:9px}#appShell .keeper-work-actions>button{padding:11px 10px!important;font-size:12px!important}#appShell .keeper-workflow{gap:7px 14px;margin:0 0 16px;font-size:10px}#appShell :is(.keeper-metric,.rd-stat){padding:16px!important;border-radius:12px!important}#appShell .dashboard-stat-heading{align-items:flex-start;gap:5px}#appShell .dashboard-stat-heading>span{font-size:11px!important}#appShell .dashboard-stat-heading>i{width:27px;height:27px;border-radius:8px}#appShell .dashboard-stat-heading .dashboard-icon{width:15px;height:15px}#appShell .keeper-metric>b,#appShell .rd-stat>strong{font-size:30px!important;margin:9px 0 5px!important}#appShell .keeper-metric small,#appShell .rd-stat small{font-size:11px!important;line-height:1.5!important}#appShell .rd-actions{gap:8px;margin:10px 0 18px}#appShell .rd-actions>button{min-height:72px;padding:13px 15px;gap:12px}#appShell .rd-actions>button:first-child{padding-top:11px}#appShell .rd-focusbar{padding:0 0 0 12px;gap:8px}#appShell .rd-focusbar label{max-width:100%}#appShell .rd-focusbar p{font-size:11px!important}#appShell :is(.keeper-card,.rd-panel,.action-centre){border-radius:13px!important}#appShell .rd-hero .dashboard-refreshbar{justify-content:space-between;gap:8px}#appShell .rd-hero .dashboard-refreshbar>span{font-size:10px}#appShell .dashboard-availability{padding:14px}}
@media(max-width:420px){#appShell .keeper-head .dashboard-avatar,#appShell .rd-hero .dashboard-avatar{display:none}#appShell .keeper-head .keeper-context{max-width:100px}#appShell .keeper-head p{max-width:230px!important}#appShell .keeper-workflow{display:none}}
@media(max-width:750px){#appShell .rd-hero .dashboard-person{max-width:125px}#appShell .dashboard-stat-heading>span{font-size:12px!important}#appShell .keeper-metric small,#appShell .rd-stat small{font-size:12px!important}}

/* Personal greetings and focused leadership workspaces. */
#appShell [data-time-greeting]{text-wrap:balance}
#appShell .rd-hero h1[data-time-greeting],#appShell .keeper-head h1[data-time-greeting]{font-size:clamp(27px,2.7vw,38px)!important;letter-spacing:-.04em!important;line-height:1.2!important}
#appShell .rd-hero .rd-greeting{font-weight:500!important;font-size:11px!important;letter-spacing:.01em}
#appShell .leadership-overview{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#122c41,#214762);border:1px solid #34516a;border-radius:21px;padding:28px;margin:2px 0 24px;box-shadow:0 10px 30px #17324d12;color:#fff}
#appShell .leadership-overview::before{content:'';position:absolute;right:-40px;top:-130px;width:340px;height:340px;border:45px solid #ffffff04;border-radius:50%;z-index:-1;pointer-events:none}
#appShell .leadership-admin{border-top:3px solid #d22a3c}
#appShell .leadership-executive{border-top:3px solid #cba96d;background:linear-gradient(115deg,#132b3f,#253f53)}
#appShell .leadership-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}
#appShell .leadership-label{display:inline-flex;align-items:center;gap:8px;color:#b8cedf;font-size:10px;font-weight:750;letter-spacing:.14em}
#appShell .leadership-label::before{content:'';width:6px;height:6px;border-radius:2px;background:#ec6774}
#appShell .leadership-executive .leadership-label{color:#e1c899}
#appShell .leadership-executive .leadership-label::before{background:#dbbd83}
#appShell .rd-workspace .leadership-overview .leadership-intro h2{color:#fff!important;font-size:clamp(22px,2.1vw,28px)!important;line-height:1.3!important;letter-spacing:-.035em!important;margin:9px 0!important;font-weight:700}
#appShell .leadership-intro p{color:#bfd0de!important;font-size:12px;line-height:1.75;max-width:640px;margin:0}
#appShell .leadership-intro>.primary{flex:none;min-height:46px!important;padding:12px 18px!important;border-radius:10px!important;border:1px solid #ed4b5c!important;background:#d7192a!important;color:#fff!important;font-size:12px!important;font-weight:650;box-shadow:0 4px 12px #0002;white-space:nowrap}
#appShell .leadership-executive .leadership-intro>.primary{background:#e8d4ad!important;border:1px solid #f4e6c9!important;color:#243a4c!important}
#appShell .leadership-overview .rd-stat-grid{margin:0;gap:12px}
#appShell .leadership-overview .rd-stat{background:var(--workspace-surface)!important;border:1px solid #ffffff38!important;padding:19px!important;box-shadow:0 4px 12px #00000008!important;border-radius:13px!important;color:var(--workspace-ink)!important}
#appShell .leadership-overview .rd-stat>strong{color:var(--workspace-ink)!important;font-size:34px!important;min-height:41px}
#appShell .leadership-executive .rd-stat:nth-child(2)>strong{font-size:26px!important;letter-spacing:-.035em;line-height:1.3!important}
#appShell .leadership-overview .rd-stat small{font-size:11px!important}
#appShell .leadership-footnote{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:17px;padding-top:15px;border-top:1px solid #ffffff17;color:#b8cbd9;font-size:10px;line-height:1.6}
#appShell .leadership-footnote>span:first-child{display:flex;align-items:center;gap:7px;color:#d2dfe9}
#appShell .leadership-footnote .dashboard-icon{width:14px;height:14px}
html[data-theme=dark] #appShell .leadership-overview .rd-stat{background:#1a3347!important;border-color:#3a5368!important;--workspace-muted:#b6c8d7;--workspace-soft:#254054;--workspace-ink:#f0f5f8}
html[data-theme=dark] #appShell .leadership-executive{background:linear-gradient(120deg,#12293c,#20394d)}
#appShell [data-dashboard-role=CEO] .rd-actions>button:first-child{border-top-color:#bc9759}
#appShell .leadership-command .command-hero{position:relative;overflow:hidden;border-radius:20px!important;padding:30px!important;background:linear-gradient(115deg,#142f46,#244b68)!important;border-top:3px solid #cf293b!important;box-shadow:0 12px 32px #122c4120!important}
#appShell .leadership-command .command-hero .eyebrow{color:#bcd0df!important;font-size:10px;letter-spacing:.13em}
#appShell .leadership-command .command-hero p.command-greeting{font-size:19px!important;color:#e4edf5!important;font-weight:500;margin:16px 0 4px!important}
#appShell .leadership-command .command-hero h1{font-size:clamp(26px,3vw,37px)!important;letter-spacing:-.04em!important}
#appShell .leadership-command .command-actions{gap:10px}
#appShell .leadership-command .command-actions button{min-height:46px!important;border-radius:10px!important;padding:12px 16px!important;font-size:12px!important}
#appShell .leadership-command .command-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:13px;margin:22px 0}
#appShell .leadership-command .command-kpi{border-radius:14px!important;border:1px solid var(--workspace-line)!important;box-shadow:0 5px 16px #17324d06!important;padding:20px!important;background:var(--workspace-surface)!important;min-width:0}
#appShell .leadership-command .command-kpi>span{font-size:12px!important;font-weight:600;color:var(--workspace-muted)!important}
#appShell .leadership-command .command-kpi>strong{font-size:31px!important;letter-spacing:-.035em;color:var(--workspace-ink)!important;overflow-wrap:anywhere}
#appShell .leadership-command .command-kpi>small{font-size:11px!important;line-height:1.6;color:var(--workspace-muted)!important}
#appShell .leadership-command .command-panel{border:1px solid var(--workspace-line)!important;border-radius:15px!important;box-shadow:0 5px 18px #17324d05!important;padding:23px!important;background:var(--workspace-surface)!important}
#appShell .leadership-command .command-panel .section-title{border-bottom-color:var(--workspace-line)}
@media(max-width:1100px){#appShell .leadership-command .command-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}#appShell .leadership-intro{align-items:flex-start;gap:18px}}
@media(max-width:750px){#appShell .rd-hero{grid-template-columns:minmax(0,1fr)}#appShell .rd-hero .dashboard-person{display:none}#appShell .keeper-shell[data-keeper-view=overview] .keeper-head{grid-template-columns:minmax(0,1fr)}#appShell .keeper-shell[data-keeper-view=overview] .keeper-context{display:none}#appShell .rd-hero h1[data-time-greeting],#appShell .keeper-head h1[data-time-greeting]{font-size:29px!important;line-height:1.25!important}#appShell .keeper-shell[data-keeper-view=overview] .keeper-head p{max-width:none!important}#appShell .leadership-overview{padding:20px 17px;border-radius:16px;margin-bottom:20px}#appShell .leadership-intro{flex-direction:column;gap:16px;margin-bottom:19px}#appShell .leadership-intro h2{font-size:23px!important}#appShell .leadership-intro>.primary{align-self:flex-start;min-height:44px!important;padding:10px 15px!important}#appShell .leadership-overview .rd-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#appShell .leadership-overview .rd-stat{padding:14px!important;border-radius:11px!important}#appShell .leadership-overview .rd-stat>strong{font-size:29px!important}#appShell .leadership-executive .rd-stat:nth-child(2)>strong{font-size:22px!important}#appShell .leadership-overview .dashboard-stat-heading>span{font-size:11px!important}#appShell .leadership-overview .rd-stat small{font-size:11px!important}#appShell .leadership-footnote{font-size:10px;gap:7px}#appShell .leadership-command .command-hero{padding:22px!important}#appShell .leadership-command .command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}#appShell .leadership-command .command-panel{padding:18px!important}}
@media(max-width:380px){#appShell .leadership-command .command-kpis{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:750px){#appShell .leadership-overview .dashboard-stat-heading>span,#appShell .leadership-overview .rd-stat small{font-size:12px!important}}
/* Common material-use headings for warehouse and site store balances. */
.ss-stock-group{margin-top:24px;min-width:0}.ss-stock-group h3{display:flex;align-items:center;gap:12px;border-left:4px solid #b63c43;padding:10px 14px;background:var(--workspace-soft);font-size:16px}.ss-stock-group h3 small{font-size:12px;font-weight:400;color:var(--workspace-muted)}
.stock-use-heading th{background:var(--workspace-soft)!important;color:var(--workspace-ink)!important;font-size:14px!important;text-transform:none!important;border-left:4px solid #b63c43!important}
.ss-section-title{flex-wrap:wrap}.ss-section-title label{display:grid;gap:5px}.ss-stock-group .table-wrap{max-width:100%;overflow:auto}
.batch-lines{margin:24px 0}.batch-line{display:grid;grid-template-columns:minmax(160px,2fr) minmax(90px,1fr) minmax(100px,1fr) auto;gap:12px;align-items:end;padding:14px 0;border-bottom:1px solid var(--workspace-line)}.batch-line .field{min-width:0}.batch-line select,.batch-line input{width:100%;min-width:0}.batch-balance{font-size:12px;color:var(--workspace-muted);padding-bottom:12px}.batch-review-list{list-style:none;padding:0}.batch-review-list li{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--workspace-line)}.temporary-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--workspace-line)}.temporary-row small{display:block;color:var(--workspace-muted);margin-top:5px}.temporary-permission{padding:16px 0;border-top:1px solid var(--workspace-line)}.temporary-admin-card{margin:20px 0}.leadership-footnote{flex-wrap:wrap}.temporary-permission [role=switch]{border-radius:7px!important;min-width:160px}.batch-line [disabled]{opacity:.6}[hidden]{display:none!important}
@media(max-width:700px){.batch-line{grid-template-columns:minmax(0,1fr) minmax(80px,110px)}.batch-balance{padding-bottom:0}.batch-remove{justify-self:end}.keeper-work-actions{flex-wrap:wrap}.temporary-row{align-items:flex-start}.batch-review-list li{align-items:flex-start}.batch-review-list strong{overflow-wrap:anywhere}}
.batch-line-receive{grid-template-columns:minmax(160px,2fr) minmax(85px,1fr) minmax(85px,1fr) minmax(85px,1fr) auto}.condition-count{font-weight:700;color:#ac2d42}.stock-condition-help{color:var(--workspace-muted);font-size:13px;line-height:1.6}
@media(max-width:700px){.batch-line-receive{grid-template-columns:minmax(0,1fr) minmax(80px,110px)}.batch-line-receive .field:first-child{grid-column:1/-1}}
