.executive-dashboards.ed-sales-layout {
  --ed-sales-gap: clamp(12px, 1.4cqi, 20px);
  --ed-sales-blue: #235d83;
  --ed-sales-bar: #488ebd;
}

:root[data-theme='dark'] .executive-dashboards.ed-sales-layout {
  --ed-sales-blue: #a7d9f7;
  --ed-sales-bar: #67ade0;
}

.executive-dashboards.ed-sales-layout .ed-page-heading {
  margin-bottom: 17px;
}

.executive-dashboards.ed-sales-layout .ed-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ed-sales-gap);
  margin-bottom: var(--ed-sales-gap);
  border: 0;
  background: transparent;
}

.executive-dashboards.ed-sales-layout .ed-summary > :is(.ed-summary-primary, .ed-summary-net, .ed-summary-mix) {
  min-width: 0;
  padding: clamp(13px, 1.65cqi, 23px);
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  background: var(--ed-surface);
}

.executive-dashboards.ed-sales-layout .ed-summary > .ed-summary-primary {
  border-color: color-mix(in srgb, var(--ed-sales-blue) 54%, var(--ed-line));
  background: linear-gradient(112deg, color-mix(in srgb, var(--ed-sales-blue) 13%, var(--ed-surface)), var(--ed-surface) 87%);
}

.executive-dashboards.ed-sales-layout .ed-summary :is(.ed-summary-primary, .ed-summary-net) > strong {
  font-size: clamp(20px, 2.65cqi, 36px);
  white-space: normal;
  overflow-wrap: anywhere;
}

.executive-dashboards.ed-sales-layout .ed-summary .ed-summary-primary > strong {
  color: var(--ed-sales-blue);
}

.executive-dashboards.ed-sales-layout .ed-summary > div > span,
.executive-dashboards.ed-sales-layout .ed-summary > div > small {
  font-size: 12px;
}

.executive-dashboards.ed-sales-layout .ed-summary-mix dd {
  font-size: clamp(14px, 1.75cqi, 23px);
}

.executive-dashboards.ed-sales-layout :is(.ed-sales-lead, .ed-sales-breakdown) {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--ed-sales-gap);
  margin-bottom: var(--ed-sales-gap);
}

.executive-dashboards.ed-sales-layout .ed-sales-lead {
  align-items: stretch;
}

.executive-dashboards.ed-sales-layout .ed-sales-details {
  display: grid;
  min-width: 0;
  gap: var(--ed-sales-gap);
}

.executive-dashboards.ed-sales-layout .ed-panel-heading h2 {
  font-size: clamp(16px, 1.75cqi, 19px);
}

.executive-dashboards.ed-sales-layout .ed-sales-lead .ed-chart-wrap {
  max-height: none;
}

.executive-dashboards.ed-sales-layout .ed-sales-lead .ed-chart-bar {
  fill: var(--ed-sales-bar);
}

.executive-dashboards.ed-sales-layout .ed-sales-lead .ed-chart-day:is(:hover, .is-highlighted) .ed-chart-bar,
.executive-dashboards.ed-sales-layout .ed-sales-lead .ed-client-track > span {
  fill: var(--ed-sales-blue);
  background: var(--ed-sales-bar);
}

.executive-dashboards.ed-sales-layout .ed-sales-lead .ed-client-list {
  gap: 5px;
}

.executive-dashboards.ed-sales-layout .ed-sales-lead .ed-client {
  min-height: 44px;
}

@container (max-width: 850px) {
  .executive-dashboards.ed-sales-layout :is(.ed-sales-lead, .ed-sales-breakdown) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container (max-width: 620px) {
  .executive-dashboards.ed-sales-layout .ed-summary {
    grid-template-columns: minmax(0, 1fr);
  }
}

.expenses-dashboard.expenses-dashboard-roqt {
  --ex-feature-accent: #235d83;
  --ex-feature-light: #508bb3;
  --ex-feature-surface: #f5f9fc;
  --ex-feature-gap: clamp(12px, 1.45vw, 20px);
}

:root[data-theme='dark'] .expenses-dashboard.expenses-dashboard-roqt {
  --ex-feature-accent: #79b8e0;
  --ex-feature-light: #5091bf;
  --ex-feature-surface: #173d56;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-period-summary {
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 16px;
  padding: 10px 13px;
  background: var(--ex-surface);
  border: 1px solid var(--ex-line);
  border-radius: 8px;
  font-size: 12px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ex-feature-gap);
  margin-bottom: var(--ex-feature-gap);
}

.expenses-dashboard.expenses-dashboard-roqt :is(.ex-summary-total, .ex-summary-card) {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  grid-auto-rows: min-content;
  align-content: start;
  align-items: center;
  min-width: 0;
  gap: 0 8px;
  padding: clamp(14px, 1.5vw, 22px);
  border: 1px solid var(--ex-line);
  border-radius: 12px;
  background: var(--ex-surface);
  color: var(--ex-text);
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-total {
  grid-column: auto;
  border-color: color-mix(in srgb, var(--ex-feature-accent) 58%, var(--ex-line));
  background: linear-gradient(120deg, var(--ex-feature-surface), var(--ex-surface) 92%);
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-card > svg {
  grid-row: 1;
  grid-column: 1;
  width: 17px;
  height: 17px;
  margin: 0;
  color: var(--ex-feature-accent);
}

.expenses-dashboard.expenses-dashboard-roqt :is(.ex-summary-total, .ex-summary-card) > span {
  color: var(--ex-text);
  font-size: 12px;
  font-weight: 600;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-card > span {
  grid-column: 2;
  grid-row: 1;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-total > span,
.expenses-dashboard.expenses-dashboard-roqt :is(.ex-summary-total, .ex-summary-card) > :is(strong, p, small) {
  grid-column: 1 / -1;
  grid-row: auto;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-total > span > svg {
  color: var(--ex-feature-accent);
}

.expenses-dashboard.expenses-dashboard-roqt :is(.ex-summary-total, .ex-summary-card) > strong {
  margin: 8px 0 6px;
  font-size: clamp(19px, 2.12cqw, 29px);
  font-variant-numeric: tabular-nums;
  white-space: normal;
  overflow-wrap: anywhere;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-total > strong {
  color: var(--ex-feature-accent);
  font-size: clamp(23px, 2.45cqw, 34px);
}

.expenses-dashboard.expenses-dashboard-roqt :is(.ex-summary-total, .ex-summary-card) :is(p, small) {
  color: var(--ex-muted);
  font-size: 11px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-summary-import {
  border-top-color: var(--ex-feature-accent);
}

.expenses-dashboard.expenses-dashboard-roqt .ex-overview {
  grid-template-columns: minmax(0, 1.65fr) minmax(285px, 1fr);
}

.expenses-dashboard.expenses-dashboard-roqt :is(.ex-overview, .ex-rankings) {
  gap: var(--ex-feature-gap);
  margin-bottom: var(--ex-feature-gap);
}

.expenses-dashboard.expenses-dashboard-roqt .ex-panel {
  border-radius: 12px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-panel-heading h2 {
  font-size: clamp(16px, 1.6vw, 19px);
}

.expenses-dashboard.expenses-dashboard-roqt .ex-panel-heading p {
  font-size: 12px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-bar-chart {
  --ex-plot-height: clamp(144px, 18vw, 205px);
  --ex-month-height: 23px;
  --ex-count-height: 32px;
  align-items: end;
  min-height: 0;
  height: auto;
  overflow-x: auto;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-scale {
  height: calc(var(--ex-plot-height) + var(--ex-month-height) + var(--ex-count-height) + 7px);
  width: 66px;
  padding: 0 8px calc(var(--ex-month-height) + var(--ex-count-height)) 0;
  font-size: 11px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-columns {
  min-width: min-content;
  gap: 5px;
  border: 0;
  background: none;
  position: relative;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-columns::before {
  position: absolute;
  inset: auto 0 calc(var(--ex-month-height) + var(--ex-count-height));
  height: var(--ex-plot-height);
  background: linear-gradient(var(--ex-line), var(--ex-line)) top / 100% 1px no-repeat,
    linear-gradient(var(--ex-line), var(--ex-line)) center / 100% 1px no-repeat,
    linear-gradient(var(--ex-line), var(--ex-line)) bottom / 100% 1px no-repeat;
  content: "";
  pointer-events: none;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(35px, auto) var(--ex-plot-height) var(--ex-month-height) var(--ex-count-height);
  justify-items: center;
  align-items: end;
  min-width: 67px;
  max-width: 180px;
  flex: 1 0 67px;
  text-align: center;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-bar-space {
  height: 100%;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-column .ex-chart-bar:not(.is-unknown) {
  background: linear-gradient(to top, var(--ex-feature-accent), var(--ex-feature-light));
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-column > strong {
  align-self: start;
  margin-top: 5px;
  font-size: 11px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-column > small {
  align-self: start;
  font-size: 11px;
  line-height: 1.15;
  white-space: normal;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-bar-value {
  max-width: 100%;
  font-variant-numeric: tabular-nums;
  white-space: normal;
}

.expenses-dashboard.expenses-dashboard-roqt :is(.ex-chart-footer i, .ex-rank-track > i) {
  background: var(--ex-feature-accent);
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-footer {
  margin-top: 6px;
  font-size: 11px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-chart-footer button {
  min-height: 34px;
  font-size: 12px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-rank {
  align-items: center;
  min-height: 44px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--ex-line);
}

.expenses-dashboard.expenses-dashboard-roqt .ex-rank:last-child {
  border-bottom: 0;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-rank-number {
  display: none;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-rank-heading {
  margin-bottom: 5px;
  gap: 8px;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-rank-heading strong {
  font-size: 12px;
  font-weight: 600;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-rank-heading b {
  font-variant-numeric: tabular-nums;
}

.expenses-dashboard.expenses-dashboard-roqt .ex-rank small {
  font-size: 11px;
}

@container (max-width: 1040px) {
  .expenses-dashboard.expenses-dashboard-roqt .ex-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (max-width: 850px) {
  .expenses-dashboard.expenses-dashboard-roqt :is(.ex-overview, .ex-rankings) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container (max-width: 420px) {
  .expenses-dashboard.expenses-dashboard-roqt .ex-summary-total {
    grid-column: 1 / -1;
  }

  .expenses-dashboard.expenses-dashboard-roqt .ex-summary-import {
    grid-column: 1 / -1;
  }

  .expenses-dashboard.expenses-dashboard-roqt .ex-chart-scale {
    width: 58px;
  }
}

.executive-logistics-design > .logistics-overview {
  --logistics-accent: #2576b0;
  --logistics-emphasis: #184e79;
  --logistics-stage: #f1f6fb;
  --logistics-stage-start: #e9f3fc;
  --logistics-panel: #fff;
  --logistics-panel-border: #ccdbe7;
  --logistics-ink: #183249;
  --logistics-muted: #526a7e;
  --ov-surface: var(--logistics-panel);
  --ov-text: var(--logistics-ink);
  --ov-muted: var(--logistics-muted);
  --ov-line: var(--logistics-panel-border);
  --ov-blue: var(--logistics-emphasis);
  --ov-blue-soft: #e6f1fb;
  background: linear-gradient(138deg, var(--logistics-stage-start), var(--logistics-stage) 46%);
  border: 1px solid var(--logistics-panel-border);
  border-radius: 18px;
  padding: clamp(14px, 2.5vw, 28px);
}

:root[data-theme="dark"] .executive-logistics-design > .logistics-overview {
  --logistics-accent: #66bcff;
  --logistics-emphasis: #a1d7ff;
  --logistics-stage: #0a141f;
  --logistics-stage-start: #172f48;
  --logistics-panel: #101f2e;
  --logistics-panel-border: #34495e;
  --logistics-ink: #f3f7fb;
  --logistics-muted: #adc0d2;
  --ov-blue-soft: #193c5b;
  --ov-subtle: #16293b;
  --ov-hover: #1b3550;
}

.executive-logistics-design .logistics-overview .ov-page-heading {
  align-items: center;
  margin-bottom: 10px;
}

.executive-logistics-design .logistics-overview .ov-page-heading h1 {
  font-size: clamp(24px, 3vw, 34px);
}

.executive-logistics-design .logistics-overview .ov-period-caption {
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.executive-logistics-design .logistics-overview .ov-data-note {
  background: color-mix(in srgb, var(--ov-surface) 76%, transparent);
  margin-bottom: 16px;
  padding: 9px 12px;
  font-size: 12px;
}

.executive-logistics-design .logistics-overview .ov-data-note strong {
  font-size: inherit;
}

.executive-logistics-design .logistics-overview .ov-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  margin-bottom: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.executive-logistics-design .logistics-overview .ov-summary button {
  min-width: 0;
  min-height: 106px;
  padding: 14px;
  border: 1px solid var(--ov-line);
  border-radius: 12px;
  background: var(--ov-surface);
}

.executive-logistics-design .logistics-overview .ov-summary button:last-child {
  border-right: 1px solid var(--ov-line);
}

.executive-logistics-design .logistics-overview .ov-summary button:first-child {
  background: linear-gradient(130deg, color-mix(in srgb, var(--logistics-accent) 12%, var(--ov-surface)), var(--ov-surface) 84%);
  border-color: color-mix(in srgb, var(--logistics-accent) 59%, var(--ov-line));
}

.executive-logistics-design .logistics-overview .ov-summary button:first-child .ov-summary-value strong {
  color: var(--logistics-emphasis);
}

.executive-logistics-design .logistics-overview .ov-summary button:hover,
.executive-logistics-design .logistics-overview .ov-summary button[aria-pressed="true"] {
  border-color: var(--logistics-accent);
}

.executive-logistics-design .logistics-overview .ov-summary button[aria-pressed="true"]:after {
  left: 14px;
  right: 14px;
  background: var(--logistics-accent);
}

.executive-logistics-design .logistics-overview .ov-summary-label {
  font-size: 12px;
}

.executive-logistics-design .logistics-overview .ov-summary-value {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.executive-logistics-design .logistics-overview .ov-summary-value strong {
  font-size: clamp(23px, 2.7vw, 36px);
}

.executive-logistics-design .logistics-overview .ov-summary-value small {
  font-size: 11px;
}

.executive-logistics-design .logistics-overview .ov-overview-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.executive-logistics-design .logistics-overview .ov-lower-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 12px;
}

.executive-logistics-design .logistics-overview .ov-panel {
  border-radius: 12px;
}

.executive-logistics-design .logistics-overview .ov-panel-heading h2 {
  color: var(--ov-text);
  font-size: clamp(16px, 1.8vw, 19px);
}

.executive-logistics-design .logistics-overview .ov-panel-heading p,
.executive-logistics-design .logistics-overview .ov-attention .ov-panel-heading p,
.executive-logistics-design .logistics-overview .ov-chart-footer {
  color: var(--ov-muted);
  font-size: 12px;
}

.executive-logistics-design .logistics-overview .ov-chart {
  padding-top: 14px;
}

:root[data-theme] .executive-logistics-design .logistics-overview .ov-chart .ov-chart-bar {
  fill: var(--logistics-accent);
}

.executive-logistics-design .logistics-overview .ov-legend:before {
  background: var(--logistics-accent);
}

.executive-logistics-design .logistics-overview .ov-attention {
  color: var(--ov-text);
  background: var(--ov-surface);
  border-color: var(--ov-line);
}

.executive-logistics-design .logistics-overview .ov-attention .ov-panel-heading > svg {
  color: var(--logistics-emphasis);
}

.executive-logistics-design .logistics-overview .ov-attention-content {
  display: block;
  padding-block: 3px 8px;
}

.executive-logistics-design .logistics-overview .ov-attention-row {
  position: static;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--ov-line);
  padding-block: 13px;
}

.executive-logistics-design .logistics-overview .ov-attention-row:last-child {
  border-bottom: 0;
}

.executive-logistics-design .logistics-overview .ov-attention-row p,
.executive-logistics-design .logistics-overview .ov-oldest-list small {
  color: var(--ov-muted);
}

.executive-logistics-design .logistics-overview .ov-attention-row button {
  color: var(--logistics-emphasis);
  min-height: 44px;
}

.executive-logistics-design .logistics-overview .ov-attention-row .ov-attention-count {
  position: static;
  color: var(--ov-text);
}

.executive-logistics-design .logistics-overview .ov-attention-row .ov-attention-count.is-warning {
  color: var(--ov-amber);
}

.executive-logistics-design .logistics-overview .ov-attention-symbol {
  color: var(--logistics-emphasis);
  background: var(--ov-blue-soft);
}

.executive-logistics-design .logistics-overview .ov-attention-symbol.is-warning {
  color: var(--ov-amber);
  background: var(--ov-amber-soft);
}

.executive-logistics-design .logistics-overview .ov-type-list {
  grid-template-columns: minmax(0, 1fr);
}

:root[data-theme] .executive-logistics-design .logistics-overview .ov-type-track > span {
  background: var(--logistics-accent);
}

@media (max-width: 850px) {
  .executive-logistics-design .logistics-overview .ov-overview-grid,
  .executive-logistics-design .logistics-overview .ov-lower-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 650px) {
  .executive-logistics-design .logistics-overview .ov-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .executive-logistics-design .logistics-overview .ov-summary button {
    min-height: 96px;
    padding: 11px;
  }

  .executive-logistics-design .logistics-overview .ov-heading-actions {
    justify-content: flex-start;
  }
}
