/* Version A: IBM Carbon v11, White theme, with the Gray 100 UI shell header.
   Values from carbondesignsystem.com: color tokens, type sets, spacing, UI shell header and left panel, data table,
   content switcher, dropdown, notification, tile, tag. Type sizes used: 12, 14, 20, 28. Spacing on the 8 px grid. */
:root.dx-a {
  --dx-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --dx-bg: #ffffff; --dx-surface: #ffffff; --dx-hover: #e8e8e8; --dx-selected: #edf5ff; --dx-zebra: #f4f4f4;
  --dx-border: #e0e0e0; --dx-border-2: #c6c6c6;
  --dx-text: #161616; --dx-text-2: #525252; --dx-text-3: #6f6f6f; --dx-text-disabled: #8d8d8d;
  --dx-accent: #0f62fe; --dx-good: #198038; --dx-bad: #da1e28;
  --dx-top-bg: #161616; --dx-top-text: #f4f4f4; --dx-top-text-2: #c6c6c6; --dx-top-border: #393939;
  --dx-nav-bg: #ffffff; --dx-nav-border: #e0e0e0; --dx-nav-text: #525252;
  --dx-shadow-pop: 0 2px 6px rgba(0, 0, 0, 0.3); --dx-scrim: rgba(22, 22, 22, 0.5);
  --dx-row-h: 32px; --dx-cell-fs: 14px; --dx-cell-lh: 18px; --dx-cell-px: 16px; --dx-ghead-h: 32px; --dx-lhead-h: 48px; --dx-th-min: 104px;
  /* the portal's own tokens, so the pages not yet redesigned take the same palette */
  --ck-page: #ffffff; --ck-surface: #ffffff; --ck-surface-2: #f4f4f4; --ck-raised: #e8e8e8; --ck-line: #e0e0e0; --ck-line-2: #c6c6c6;
  --ck-head: #e0e0e0; --ck-field: #f4f4f4; --ck-ink: #161616; --ck-ink-2: #525252; --ck-ink-3: #6f6f6f; --ck-ink-disabled: #8d8d8d;
  --ck-brand: #161616; --ck-on-brand: #ffffff; --ck-accent: #0f62fe; --ck-accent-bg: #edf5ff; --ck-link: #0f62fe; --ck-focus: #0f62fe;
  --ck-good: #198038; --ck-good-bg: #defbe6; --ck-bad: #da1e28; --ck-bad-bg: #fff1f1; --ck-warn: #161616; --ck-warn-bg: #fcf4d6; --ck-warn-line: #f1c21b;
  --ck-chart-axis: #8d8d8d; --ck-chart-grid: #e0e0e0; --ck-chart-label: #525252; --ck-chart-select: rgba(15, 98, 254, 0.1);
  --ck-radius-control: 0px; --ck-radius-card: 0px; --ck-radius-panel: 0px; --ck-radius-pill: 0px; --ck-weight-strong: 600;
}
:root.dx-a button { border-radius: 0 !important; }
:root.dx-a button[type="submit"] { background: #0f62fe; border-color: #0f62fe; color: #ffffff; }
:root.dx-a :is(button, select, a, [tabindex]):focus-visible { outline: 2px solid #0f62fe; outline-offset: -2px; }

/* UI shell header */
:root.dx-a body > header button:focus-visible { outline-color: #ffffff; }
:root.dx-a .dx-icon-btn:hover, :root.dx-a #portal-home:hover, :root.dx-a #session-controls .dx-acct-btn:hover { background: #353535; }
:root.dx-a #portal-home .ck-logo-light { display: none; }
:root.dx-a #portal-home .ck-logo-dark { display: inline-block; }
:root.dx-a .dx-product, :root.dx-a .dx-crumb, :root.dx-a .dx-top-date, :root.dx-a #session-controls .dx-acct-btn { line-height: 18px; letter-spacing: 0.16px; }
:root.dx-a .dx-crumb, :root.dx-a .dx-top-date, :root.dx-a #session-controls { border-left: 1px solid #393939; }
:root.dx-a #session-controls .dx-acct-menu button { height: 40px; padding: 0 16px; letter-spacing: 0.16px; }
:root.dx-a #session-controls .dx-acct-menu button:hover { background: #e8e8e8; }

/* UI shell left panel */
:root.dx-a .dx-nav { padding: 16px 0; }
:root.dx-a .dx-nav-item { gap: 16px; min-height: 32px; padding: 0 16px; line-height: 18px; letter-spacing: 0.16px; font-weight: 600; }
:root.dx-a .dx-nav-kid { padding-left: 48px; font-weight: 400; }
:root.dx-a .dx-nav-item:hover { background: #e8e8e8; color: #161616; }
:root.dx-a .dx-nav-item.dx-in-sec { color: #161616; }
:root.dx-a .dx-nav-item[aria-current="page"] { background: #e0e0e0; color: #161616; font-weight: 600; box-shadow: inset 3px 0 0 #0f62fe; }
:root.dx-a .dx-nav-sec + .dx-nav-sec { margin-top: 8px; }
:root.dx-a .dx-nav-tag { height: 18px; padding: 0 8px; border-radius: 16px; background: #e0e0e0; color: #161616; font-size: 12px; line-height: 18px; font-weight: 400; letter-spacing: 0.32px; }
@media (min-width: 1056px) { :root.dx-a.dx-rail .dx-nav:not(:hover):not(:focus-within) .dx-in-sec { background: #e0e0e0; box-shadow: inset 3px 0 0 #0f62fe; } }

/* page header */
:root.dx-a main > section.sc { padding: 32px var(--dx-gutter) 48px; }
:root.dx-a .dx-title { font-size: 28px; line-height: 36px; font-weight: 400; }
:root.dx-a .dx-sub { margin-top: 8px; font-size: 14px; line-height: 18px; letter-spacing: 0.16px; }
:root.dx-a .dx-btn { height: 32px; padding: 0 16px; border: 0; background: none; color: #0f62fe; font-size: 14px; line-height: 18px; letter-spacing: 0.16px; }
:root.dx-a .dx-btn:hover { background: #e8e8e8; color: #0043ce; }

/* filter row: content switcher, dropdown, icon buttons */
:root.dx-a .dx-f-l, :root.dx-a #ex-prior { letter-spacing: 0.32px; }
:root.dx-a .sc-seg { height: 32px; padding: 0; border: 0; border-radius: 4px; background: #e0e0e0; overflow: hidden; box-shadow: none; }
:root.dx-a .sc-seg button { height: 32px; padding: 0 12px; border: 0; border-radius: 4px !important; background: none; color: #525252; font-size: 14px; line-height: 18px; letter-spacing: 0.16px; font-weight: 400; box-shadow: none; }
:root.dx-a .sc-seg button:hover { background: #d1d1d1; color: #161616; }
:root.dx-a .sc-seg button.on { background: #ffffff; color: #161616; font-weight: 600; box-shadow: inset 0 0 0 1px #8d8d8d; }
:root.dx-a #ex-day { padding: 0 48px 0 16px !important; border: 0 !important; border-bottom: 1px solid #8d8d8d !important; border-radius: 0 !important; background: #f4f4f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23161616' d='M8 11 3 6l.7-.7L8 9.6l4.3-4.3.7.7z'/%3E%3C/svg%3E") no-repeat right 16px center / 16px !important; color: #161616; letter-spacing: 0.16px; }
:root.dx-a #ex-day:hover { background-color: #e8e8e8 !important; }
:root.dx-a :is(#ex-prev, #ex-next) { border: 0; background: none; color: #161616; }
:root.dx-a :is(#ex-prev, #ex-next):hover { background: #e8e8e8; }
:root.dx-a :is(#ex-prev, #ex-next):disabled { opacity: 1; color: #c6c6c6; background: none; cursor: not-allowed; }

/* status line: inline notification, low contrast */
:root.dx-a .dx-status { gap: 12px; min-height: 40px; padding: 10px 16px 10px 13px; border-left: 3px solid #0043ce; background: #edf5ff; font-size: 14px; line-height: 20px; letter-spacing: 0.16px; color: #161616; }
:root.dx-a .dx-status[data-level="warn"] { border-left-color: #f1c21b; background: #fcf4d6; }
:root.dx-a .dx-status-i { margin-top: 2px; color: #0043ce; }
:root.dx-a .dx-status .dx-i-warn { fill: #f1c21b; stroke: #161616; stroke-width: 1; }
:root.dx-a .dx-status-more { height: 20px; padding: 0; border: 0; background: none; color: #0f62fe; font-size: 14px; line-height: 20px; letter-spacing: 0.16px; }
:root.dx-a .dx-status-more:hover { text-decoration: underline; }

/* key figures: one KPI box for the whole portal, the design of the Scorecards tabs. White box, hairline border,
   12 px label, 24 px figure that takes the status color, 12 px note. Used by the Executive Dashboard (.dx-kpi) and
   by KPI summary, Scorecard K+K, Scorecard P+V and Labor summary (.sc-tile). */
:root.dx-a :is(.dx-kpis, .sc-tiles) { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 16px; }
:root.dx-a :is(.dx-kpi, .sc-tile) { padding: 16px; border: 1px solid #e0e0e0; border-radius: 0; background: #ffffff; }
:root.dx-a .dx-kpi-l, :root.dx-a .sc-tile .l { font-size: 12px; line-height: 16px; letter-spacing: 0.32px; font-weight: 400; color: #525252; }
:root.dx-a .dx-kpi-v, :root.dx-a .sc-tile .v { margin-top: 4px; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: 0; color: #161616; }
:root.dx-a .dx-kpi-s, :root.dx-a .sc-tile .s { min-height: 16px; margin-top: 4px; font-size: 12px; line-height: 16px; letter-spacing: 0.32px; color: #6f6f6f; }
:root.dx-a .dx-kpi[data-state="bad"] .dx-kpi-v, :root.dx-a .sc-tile .v.up, :root.dx-a .sc-tile .s .up, :root.dx-a .dx-kpi-s .dx-kpi-n.dx-bad { color: #da1e28; }
:root.dx-a .dx-kpi[data-state="good"] .dx-kpi-v, :root.dx-a .sc-tile .v.down, :root.dx-a .sc-tile .s .down, :root.dx-a .dx-kpi-s .dx-kpi-n.dx-good { color: #198038; }
:root.dx-a .dx-tag { display: none; }
:root.dx-a .dx-kpi-state { display: inline; }
:root.dx-a .dx-kpi-state + .dx-kpi-parts::before { content: " · "; }
/* like the Scorecards box, a long label or note wraps instead of being cut */
:root.dx-a .dx-kpi-l, :root.dx-a .dx-kpi-s { display: block; white-space: normal; overflow: visible; }
:root.dx-a .dx-kpi-parts { overflow: visible; }

/* data table */
:root.dx-a .dx-panel-head, :root.dx-a .dx-panel-trend .sc-card-head { min-height: 64px; padding: 16px; background: #f4f4f4; }
:root.dx-a .dx-panel-title, :root.dx-a #ex-trend-title { font-size: 20px; line-height: 28px; font-weight: 400; color: #161616; }
:root.dx-a .dx-panel-note { font-size: 14px; line-height: 18px; letter-spacing: 0.16px; color: #525252; }
:root.dx-a #ex-table .ex-table tbody td { letter-spacing: 0.16px; }
:root.dx-a #ex-table .ex-table thead th { background: #e0e0e0 !important; color: #161616 !important; font-size: 14px !important; line-height: 18px; font-weight: 600 !important; letter-spacing: 0.16px; border-bottom: 0; }
:root.dx-a #ex-table .ex-table thead tr:first-child th { border-bottom: 1px solid #c6c6c6; }
:root.dx-a #ex-table .ex-table thead th.ex-g { border-left: 1px solid #c6c6c6; }
:root.dx-a #ex-table .ex-table td.ex-name { padding-left: 32px; font-weight: 400; }
:root.dx-a #ex-table .ex-table td.ex-b { font-weight: 600; }
:root.dx-a #ex-table .ex-table td.ex-sku { padding-top: 1px; padding-bottom: 1px; font-size: 12px; line-height: 14px; letter-spacing: 0.32px; }
:root.dx-a #ex-table .ex-table tr.ex-group td { height: 48px; padding-top: 16px; background: #ffffff; border-bottom: 1px solid #8d8d8d; font-size: 14px; font-weight: 600; color: #161616; text-align: left; }
:root.dx-a #ex-table .ex-table tr.ex-sub td { height: 32px; padding: 8px 16px 0; background: #ffffff; border-bottom: 1px solid #e0e0e0; font-size: 12px; line-height: 16px; letter-spacing: 0.32px; color: #525252; text-align: left; }
:root.dx-a #ex-table .ex-table tr.ex-total td { background: #f4f4f4; border-top: 1px solid #8d8d8d; border-bottom: 1px solid #8d8d8d; font-weight: 600; color: #161616; }
/* a status cell keeps its color on a total row too (Fcst var $, headcount variance) */
:root.dx-a #ex-table .ex-table tr.ex-total td.ex-good { color: #198038; }
:root.dx-a #ex-table .ex-table tr.ex-total td.ex-bad { color: #da1e28; }
:root.dx-a #ex-table .ex-table td.ex-click { color: #0f62fe; }

/* trend */
:root.dx-a .dx-panel-trend { padding: 0; border: 0; border-radius: 0; background: #ffffff; }
:root.dx-a #ex-areas { padding: 16px 16px 0; }
:root.dx-a #ex-areas .sc-qf-l { letter-spacing: 0.32px; }
:root.dx-a #ex-chart { width: auto; height: 320px; margin: 16px; }
:root.dx-a #ex-areas .sc-chips button { gap: 8px; height: 24px; padding: 0 8px; border: 1px solid #8d8d8d; border-radius: 16px !important; background: #ffffff; color: #525252; font-size: 12px; line-height: 16px; letter-spacing: 0.32px; }
:root.dx-a #ex-areas .sc-chips button:hover { background: #e8e8e8; color: #161616; }
:root.dx-a #ex-areas .sc-chips button[aria-pressed="true"] { border-color: #e0e0e0; background: #e0e0e0; color: #161616; }
:root.dx-a #ex-areas .sc-chips button[aria-pressed="true"]:hover { border-color: #d1d1d1; background: #d1d1d1; }
:root.dx-a #ex-areas .sc-sw { width: 8px; height: 8px; border-radius: 50% !important; }
:root.dx-a #ex-areas .sc-chips button[aria-pressed="false"] .sc-sw { display: none; }
:root.dx-a #ex-areas .sc-qbtn { height: 24px; padding: 0 8px; border: 0; background: none; color: #0f62fe; font-size: 12px; line-height: 16px; letter-spacing: 0.32px; font-weight: 400; }
:root.dx-a #ex-areas .sc-qbtn:hover { background: #e8e8e8; }
:root.dx-a #ex-areas .sc-qbtn[aria-pressed="true"] { background: none; color: #161616; font-weight: 600; }

/* side panel and dialog */
:root.dx-a .dx-drawer { border-left: 1px solid #e0e0e0; }
:root.dx-a .dx-drawer-head { min-height: 48px; padding-left: 16px; border-bottom: 1px solid #e0e0e0; }
:root.dx-a .dx-drawer-head h2 { font-size: 20px; line-height: 28px; font-weight: 400; }
:root.dx-a .dx-drawer-close:hover { background: #e8e8e8; }
:root.dx-a .dx-drawer-body { padding: 0 16px 32px; font-size: 14px; line-height: 20px; letter-spacing: 0.16px; }
:root.dx-a .dx-drawer-body h3 { margin: 24px 0 8px; font-size: 14px; line-height: 18px; font-weight: 600; }
:root.dx-a .dx-drawer-body p { color: #161616; }
:root.dx-a dialog.ex-roster { border: 0; border-radius: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
:root.dx-a .ex-roster-head h3 { font-size: 20px; line-height: 28px; font-weight: 400; }
