.executive-view {
  --exec-ink: #291e2b;
  --exec-muted: #6c5c70;
  --exec-line: #e8e0eb;
  --exec-teal: #087e73;
  --exec-plum: #552144;
  color: var(--exec-ink);
}

.exec-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.exec-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #66425e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.exec-kicker span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0d9b8d;
}
.exec-heading h1 {
  margin: 6px 0 0;
  font-size: clamp(30px, 3.5vw, 53px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.064em;
}
.exec-date {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--exec-ink);
  font-size: 12px;
}
.exec-date > span {
  width: 8px;
  height: 8px;
  border: 2px solid #168d80;
  border-radius: 50%;
}
.exec-date small {
  display: block;
  color: var(--exec-muted);
  font-size: 10px;
}
.executive-view .filters {
  padding: 0;
  margin-bottom: 18px;
}
.executive-view .filters label, .executive-view .scope-label,
.executive-view .scope-label span { color: var(--exec-muted); }
.executive-view .filters select {
  color: var(--exec-ink);
  border-color: #dfd5e2;
}

.exec-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr);
  gap: 16px;
}
.exec-card {
  min-width: 0;
  border: 1px solid var(--exec-line);
  border-radius: 16px;
  background: white;
  padding: 20px 22px;
  box-shadow: 0 4px 16px #47254e08;
}
.exec-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.exec-card-head h2, .exec-section-heading h2 {
  margin: 0;
  color: var(--exec-ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.exec-card-head p, .exec-section-heading p {
  margin: 5px 0 0;
  color: var(--exec-muted);
  font-size: 11px;
  line-height: 1.5;
}
.exec-trend {
  background: radial-gradient(ellipse at 100% 0%, #74335d 0%, #542044 42%, #33172f 78%);
  border-color: #572747;
  color: white;
  box-shadow: 0 8px 22px #4d234625;
  padding-bottom: 9px;
}
.exec-trend .exec-card-head h2 { color: white; }
.exec-trend .exec-card-head p { color: #e6d5e3; }
.exec-period {
  color: #f5e9f2;
  font-size: 10px;
  border: 1px solid #ffffff42;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}
.exec-readings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 11px 0 0;
}
.exec-reading {
  display: grid;
  text-align: left;
  color: #fff;
  padding: 2px 6px 2px 0;
  background: none;
  border: 0;
  border-radius: 3px;
}
.exec-reading:hover strong, .exec-reading:hover b { color: var(--series); }
.exec-reading b {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.06em;
  font-weight: 630;
  font-variant-numeric: tabular-nums;
}
.exec-reading b small { margin-left: 2px; font-size: .48em; font-weight: 500; }
.exec-reading span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #f1e5ef;
  font-size: 11px;
}
.exec-reading i { width: 7px; height: 7px; border-radius: 50%; background: var(--series); }
.exec-trend-plot { display: block; width: 100%; height: auto; margin-top: 4px; }
.exec-trend-plot text { fill: #ead9e7; font: 11px Inter, sans-serif; }
.exec-point { cursor: pointer; }
.exec-point:hover circle:last-child, .exec-point:focus-visible circle:last-child {
  fill: white;
  stroke-width: 3;
}

.executive-view .text-link {
  color: #6e2d5c;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}
.executive-view .text-link:hover { color: var(--exec-teal); }
.exec-composite {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  margin-top: 12px;
  padding: 7px 11px;
  background: #f6eef6;
  border: 1px solid #efe2ef;
  border-radius: 9px;
  color: #512245;
  font-size: 11px;
  font-weight: 650;
}
.exec-composite:hover { border-color: #a86598; }
.exec-composite-value { font-size: 28px; line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
.exec-composite-value small { display: inline; font-size: 11px; margin-left: 3px; letter-spacing: 0; }
.exec-composite span:nth-child(2) small {
  display: block;
  color: #715a70;
  font-size: 10px;
  font-weight: 450;
}
.exec-composite svg { width: 15px; height: 15px; margin-left: auto; }
.exec-portfolio .donut-layout {
  justify-content: space-between;
  min-height: 0;
  margin: 2px auto -2px;
  max-width: none;
  gap: 8px;
}
.exec-portfolio .donut { width: 46%; flex: 0 0 46%; min-width: 94px; max-width: 184px; }
.exec-portfolio .donut-legend { gap: 3px; min-width: 0; }
.executive-view .donut-value { fill: #462640; font-weight: 650; }
.executive-view .donut-sub { fill: #624d66; }
.executive-view .donut-legend button { color: #59425a; font-size: 11px; }
.executive-view .donut-legend b { color: var(--exec-ink); font-variant-numeric: tabular-nums; }
.exec-portfolio .donut-legend button { min-height: 28px; padding: 3px 6px; }
.chart-donut-segment { cursor: pointer; }
.chart-donut-segment:hover, .chart-donut-segment:focus-visible { stroke-width: 23; }

.exec-lifecycle { margin-top: 16px; }
.exec-lifecycle-summary {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--exec-teal);
  border: 0;
  padding: 0;
  background: none;
  white-space: nowrap;
}
.exec-lifecycle-summary b { font-size: 25px; font-weight: 650; letter-spacing: -.055em; }
.exec-lifecycle-summary span { color: var(--exec-muted); font-size: 11px; }
.exec-lifecycle-summary svg { width: 13px; height: 13px; align-self: center; }
.exec-stages {
  display: grid;
  grid-template-columns: repeat(8,minmax(0,1fr));
  gap: 6px;
  margin: 13px -5px 0;
  position: relative;
}
.exec-stages::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 13px;
  right: 10%;
  height: 1px;
  background: #cbbfcf;
}
.exec-stage {
  --stage-color: #087c70;
  --stage-tint: #e8f4f0;
  z-index: 0;
  display: grid;
  grid-template-rows: 11px minmax(35px,auto) auto auto auto;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  padding: 4px 7px 6px;
  text-align: left;
  min-width: 0;
}
.exec-stage:hover, .exec-stage:focus-visible { border-color: #c9b9ca; background: #faf6fa; }
.exec-stage.watch { --stage-color: #845616; --stage-tint: #faedd4; }
.exec-stage.attention { --stage-color: #a14361; --stage-tint: #f9e6ec; }
.exec-stage.empty { --stage-color: #766c79; --stage-tint: #eee9ef; }
.exec-stage-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--stage-color);
}
.exec-stage-name { color: var(--exec-ink); font-size: 11px; font-weight: 650; line-height: 1.4; }
.exec-stage b { color: var(--stage-color); font-size: clamp(18px, 2vw, 29px); font-weight: 650; line-height: 1; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.exec-stage b small { font-size: .57em; letter-spacing: 0; margin-left: 1px; }
.exec-stage-track { height: 4px; background: var(--stage-tint); border-radius: 5px; margin: 3px 0; }
.exec-stage-track i { display: block; height: 100%; background: var(--stage-color); border-radius: inherit; }
.exec-stage-count { color: var(--exec-muted); font-size: 9px; line-height: 1.25; }

.exec-section-heading { margin: 24px 0 12px; }
.exec-secondary .span-7 { grid-column: span 7; }
.exec-secondary .span-5 { grid-column: span 5; }
.exec-secondary .panel { margin: 0; border-radius: 15px; box-shadow: 0 4px 16px #47254e08; }
.exec-secondary .panel-heading h2 { color: var(--exec-ink); font-size: 17px; font-weight: 650; }
.exec-secondary .panel-heading p, .exec-secondary .chart-note,
.exec-secondary .matrix-key, .exec-secondary .matrix-hint { color: var(--exec-muted); }
.exec-secondary .theme-bars { gap: 8px; }
.exec-secondary .theme-bars button { color: #4d3450; }
.exec-secondary .theme-bars button small { color: var(--exec-muted); }
.exec-secondary .theme-bars button div i { background: #74355e; }
.exec-secondary .axis { fill: #6a566b; }
.exec-secondary .decision-queue article { grid-template-columns: minmax(0,1fr) auto auto auto; }
.exec-secondary .decision-number { display: none; }
.exec-service-legend { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 0 0 13px; }
.exec-service-legend span { display: flex; align-items: center; gap: 6px; color: var(--exec-muted); font-size: 10px; }
.exec-service-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--cohort-color); }
.exec-service-chart { display: grid; gap: 10px; }
.exec-service-row { display: grid; align-items: center; grid-template-columns: 78px minmax(0,1fr) 23px; gap: 7px; }
.exec-service-row > span { color: var(--exec-muted); text-align: right; font-size: 11px; font-variant-numeric: tabular-nums; }
.exec-service-name { background: none; border: 0; text-align: left; padding: 3px 0; color: #4d3450; font-weight: 650; font-size: 11px; }
.exec-service-name:hover { color: var(--exec-teal); }
.exec-service-track { display: flex; gap: 2px; min-height: 25px; border-radius: 5px; background: #f4edf5; }
.exec-service-track button {
  min-width: 18px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--cohort-color);
  color: white;
  font-weight: 650;
  font-size: 10px;
}
.exec-service-track button:hover, .exec-service-track button:focus-visible { filter: brightness(1.16); }
.exec-service-legend .teal, .exec-service-track .teal { --cohort-color: #0b786d; }
.exec-service-legend .rose, .exec-service-track .rose { --cohort-color: #a74662; }
.exec-service-legend .plum, .exec-service-track .plum { --cohort-color: #64395e; }

.journey-funnel .funnel-column { min-width: 0; }
.funnel-step-button {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  padding: 4px;
  color: inherit;
}
.funnel-step-button:hover, .funnel-step-button:focus-visible { border-color: #b8a1b8; background: #faf6fb; }
.journey-step-list { list-style: none; margin: 0 0 18px; padding: 0; }
.journey-step-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #eee7ef;
}
.journey-record-link { font-weight: 650; color: #693459; }

@media (min-width: 1500px) {
  .exec-card { padding: 23px 25px; }
  .exec-trend { padding-bottom: 13px; }
  .exec-trend-plot { max-height: 185px; }
  .exec-stage-name { font-size: 13px; }
  .exec-stage-count { font-size: 10px; }
  .exec-portfolio .donut-layout { margin-top: 8px; }
}
@media (max-width: 1120px) {
  .exec-card { padding: 16px; }
  .exec-card-head h2, .exec-section-heading h2 { font-size: 18px; }
  .exec-stages { grid-template-columns: repeat(4, minmax(0,1fr)); row-gap: 9px; }
  .exec-stages::before { display: none; }
  .exec-stage { grid-template-rows: minmax(20px, auto) auto auto auto; border-color: #eee6ef; padding: 9px; }
  .exec-stage-node { display: none; }
  .exec-secondary .span-7, .exec-secondary .span-5 { grid-column: span 6; }
}
@media (max-width: 880px) {
  .exec-primary { grid-template-columns: minmax(0,1fr); }
  .exec-portfolio .donut-layout { width: 100%; max-width: 420px; }
  .exec-secondary .span-7, .exec-secondary .span-5 { grid-column: span 12; }
}
@media (max-width: 550px) {
  .exec-heading { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 15px; }
  .exec-date div { display: flex; align-items: baseline; gap: 7px; }
  .exec-date small { font-size: 9px; }
  .exec-card { padding: 15px; border-radius: 12px; }
  .exec-trend-plot text { font-size: 15px; }
  .exec-readings { gap: 19px; margin: 11px 0 6px; }
  .exec-reading b { font-size: 28px; }
  .exec-stages { grid-template-columns: repeat(2,minmax(0,1fr)); margin-inline: 0; }
  .exec-stage-name { font-size: 12px; }
  .exec-lifecycle .exec-card-head { display: grid; gap: 7px; }
  .exec-lifecycle-summary { justify-self: start; }
  .exec-secondary .panel { margin-bottom: 12px; }
  .exec-secondary .decision-queue article { grid-template-columns: minmax(0,1fr) auto auto; }
  .exec-secondary .queue-add { display: none; }
}

.exec-watch {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-top: 15px;
}
.exec-watch-item {
  --watch-color: #087e73;
  --watch-tint: #e8f4f0;
  display: grid;
  gap: 4px;
  padding: 10px 13px;
  text-align: left;
  border: 1px solid var(--exec-line);
  border-radius: 10px;
  color: var(--exec-ink);
  background: white;
}
.exec-watch-item:hover { border-color: #ac8ca7; }
.exec-watch-item.alert { --watch-color: #a74662; --watch-tint: #faedf1; }
.exec-watch-item.caution { --watch-color: #875b1a; --watch-tint: #f9efd9; }
.exec-watch-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 650;
}
.exec-watch-label svg { width: 12px; height: 12px; color: #744068; }
.exec-watch-reading { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.exec-watch-reading b { color: var(--watch-color); font-size: 23px; line-height: 1.05; font-weight: 650; letter-spacing: -.045em; }
.exec-watch-reading small { color: var(--exec-muted); font-size: 9px; }
.exec-watch-track { display: block; height: 4px; border-radius: 5px; background: var(--watch-tint); margin-top: 4px; }
.exec-watch-track i { display: block; height: 100%; border-radius: inherit; background: var(--watch-color); }
@media (max-width: 550px) {
  .exec-watch { grid-template-columns: 1fr; gap: 8px; }
}

@media (min-width: 1121px) and (max-height: 950px) {
  .exec-heading { margin-bottom: 15px; }
  .executive-view .filters { margin-bottom: 14px; }
  .exec-primary .exec-card { padding-top: 17px; }
  .exec-trend-plot { max-height: 140px; }
  .exec-lifecycle { padding-top: 16px; padding-bottom: 13px; }
  .exec-stage { grid-template-rows: 11px minmax(25px,auto) auto auto auto; }
}
