.executive-stations {
  background: #253c30;
  border: 1px solid #253c30;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.executive-stations button {
  background: transparent;
  border: 0;
  color: #fff7e1;
  cursor: pointer;
  display: grid;
  gap: 2px;
  min-height: 46px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 6px clamp(6px, 2vw, 16px);
  text-align: left;
}

.executive-stations button + button {
  border-left: 1px solid #52674e;
}

.executive-stations button small {
  color: #ded2a7;
  font: 700 10px/1.2 var(--mono);
  text-transform: uppercase;
}

.executive-stations button strong {
  font-size: clamp(13px, 2.7vw, 16px);
}

.executive-stations button:hover {
  background: #354d3a;
}

.executive-stations button[aria-pressed='true'] {
  background: #e1e5cb;
  box-shadow: inset 0 -3px #739067;
  color: var(--ink);
}

.executive-stations button[aria-pressed='true'] small {
  color: #594722;
}

.executive-stations button:focus-visible {
  outline-offset: -4px;
}

.executive-numbers {
  margin-block: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(108px, 100%), 1fr));
}

.executive-numbers div {
  min-width: 0;
}

.executive-numbers dd,
.executive-table td {
  font-variant-numeric: tabular-nums;
}

.executive-balance {
  background: #e9ecd9;
  border-left: 3px solid #6b906a;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  padding: 12px;
}

.executive-balance dd {
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -0.045em;
}

.executive-compare,
.executive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 8px 12px;
}

.executive-compare > div {
  border-bottom: 1px solid var(--line);
  min-width: 0;
  padding-block: 7px 2px;
}

.executive-compare .eyebrow {
  color: var(--ochre);
}

.executive-runway {
  margin-block: 12px;
}

.executive-runway span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.executive-section {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  min-width: 0;
  padding-top: 11px;
}

.executive-section h3 {
  font: 700 21px/1.15 var(--serif);
}

.executive-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: space-between;
}

.executive-heading > strong {
  color: var(--pine);
  font: 700 12px/1.3 var(--mono);
}

.executive-heading .button {
  padding-inline: 9px;
}

.executive-orders {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin-top: 8px;
  padding: 0;
}

.executive-orders li {
  background: #f4efe1;
  border-top: 2px solid var(--line);
  display: grid;
  min-width: 0;
  padding: 5px 6px;
}

.executive-orders b {
  font: 700 14px/1.35 var(--mono);
}

.executive-orders span {
  color: var(--muted);
  font-size: 12px;
}

.executive-orders [data-state='kept'] {
  background: var(--green);
  border-color: var(--pine);
}

.executive-orders [data-state='missed'] {
  background: var(--danger-bg);
  border-color: var(--danger);
}

.executive-orders [data-state='open'] {
  background: #f6e9c6;
  border-color: var(--ochre);
}

.executive-milestones {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.executive-milestones [aria-current='step'] {
  background: var(--green);
  border-color: var(--pine);
}

.executive-list {
  list-style: none;
  margin-top: 5px;
  padding: 0;
}

.executive-list li {
  border-bottom: 1px dotted var(--line);
  padding-block: 6px;
}

.executive-list meter {
  display: block;
  height: 10px;
  margin-top: 5px;
  width: min(260px, 100%);
}

.executive-detail {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.executive-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.executive-selectors .button[aria-pressed='true'] {
  background: #e3ead7;
  border-color: #7c9b76;
  box-shadow: inset 0 -2px #6a8d67;
}

.executive-equation {
  background: #f4efe1;
  border-block: 1px solid var(--line);
  padding: 8px;
}

.executive-equation div:last-child dd {
  color: var(--pine);
}

.executive-table {
  border-collapse: collapse;
  margin-block: 8px;
  table-layout: fixed;
  width: 100%;
}

.executive-table caption {
  font: 700 18px/1.2 var(--serif);
  padding-bottom: 5px;
  text-align: left;
}

.executive-table th,
.executive-table td {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  overflow-wrap: anywhere;
  padding: 5px;
  text-align: left;
  vertical-align: top;
}

.executive-table td,
.executive-table th:not([scope='rowgroup']):last-child {
  text-align: right;
}

.executive-table td {
  font-family: var(--mono);
}

.executive-table thead th,
.executive-table-group th {
  background: #ede7d5;
}

.executive-table:not(.executive-schedule) thead th:last-child {
  width: min(33%, 115px);
}

.executive-table small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.executive-schedule th,
.executive-schedule td {
  font-size: 12px;
  padding-inline: 3px;
}

.executive-schedule th:first-child {
  width: 17%;
}

.executive-schedule th:not(:first-child) {
  text-align: right;
}

.executive-card {
  align-content: start;
  background: #fbf6e9;
  border: 1px solid var(--line);
  border-top: 2px solid #9eab8a;
  display: grid;
  gap: 5px;
  justify-items: start;
  margin-top: 8px;
  min-width: 0;
  padding: 10px;
}

.executive-card .executive-heading {
  width: 100%;
}

.executive-card h3 {
  font-size: 19px;
}

.executive-card .button {
  margin-top: 3px;
}

.executive-facts {
  color: var(--ochre);
  font-size: 13px;
  font-weight: 700;
}

.executive-chip {
  background: #eee6d1;
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-block;
  font: 700 11px/1.3 var(--mono);
  padding: 2px 5px;
}

.executive-chip:is([data-state='installed'], [data-state='qualified'], [data-state='used']) {
  background: var(--green);
  border-color: #aab99b;
}

.executive-chip[data-state='queued'] {
  background: #f7e7bd;
  border-color: #c2a875;
}

.executive-sources {
  overflow-wrap: anywhere;
}

.executive-repayment {
  grid-template-columns: repeat(auto-fit, minmax(min(178px, 100%), 1fr));
}

.executive-repayment .button[aria-pressed='true'] {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff9e8;
}

.executive-repayment-values {
  width: 100%;
  font-size: 13px;
}

.executive-repayment-values div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px;
  padding-block: 3px;
  border-top: 1px dotted var(--line);
}

.executive-repayment-values dd {
  flex-shrink: 0;
  margin: 0;
  font-family: var(--mono);
}

@media (max-width: 530px) {
  .executive-orders {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .executive-balance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (pointer: coarse) {
  .executive-selectors .button,
  .executive-heading .button,
  .executive-card .button {
    min-height: 44px;
  }
}
