.execution-page .page-header,
.execution-page .page-tabs { margin-bottom: 0; }

.execution-overview {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.execution-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px 18px;
  min-width: 0;
}

.execution-overview > .execution-facts { padding: 18px 20px; }

.execution-fact {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.execution-fact > span { color: var(--muted); font-size: 11px; font-weight: 620; }
.execution-fact > strong { font-size: 13px; overflow-wrap: anywhere; }
.execution-fact .button-ghost { padding: 0; min-height: 0; color: var(--green); text-align: left; }

.execution-gates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.execution-gate {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 12px 14px;
  background: #f7faf8;
}

.execution-gate-symbol {
  flex: 0 0 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--wash);
  color: var(--green);
}

.execution-gate-body {
  display: grid;
  justify-items: start;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.execution-gate-body > strong { font-size: 12px; }
.execution-gate .button { min-height: 29px; padding: 4px 7px; font-size: 11px; }

.execution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(270px, 1fr);
  gap: 15px;
  align-items: start;
}

.execution-layout > .stack { min-width: 0; }
.execution-layout > .panel + .panel { margin-top: 0; }
.execution-layout td:last-child .button { white-space: nowrap; }
.execution-row-subtitle { color: var(--muted); }
.execution-panel-action { margin-top: 13px; }

.execution-summary-line {
  display: grid;
  grid-template-columns: minmax(75px, .85fr) minmax(0, 1.25fr);
  align-items: baseline;
  column-gap: 10px;
  padding: 9px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}

.execution-summary-line:last-child { border-bottom: 0; }
.execution-summary-line > span { color: var(--muted); }
.execution-summary-line > div { text-align: right; overflow-wrap: anywhere; }

.execution-progress-heading,
.execution-next-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.execution-progress-heading { color: var(--muted); }
.execution-progress-heading > strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.execution-next-title { padding-bottom: 6px; }

.execution-page progress {
  display: block;
  width: 100%;
  height: 7px;
  margin: 8px 0 6px;
  border: 0;
  border-radius: 10px;
  background: #e8eeea;
  overflow: hidden;
  accent-color: var(--green);
}

.execution-page progress::-webkit-progress-bar { background: #e8eeea; }
.execution-page progress::-webkit-progress-value { background: var(--green); border-radius: 10px; }
.execution-page progress::-moz-progress-bar { background: var(--green); border-radius: 10px; }

.execution-check-label { display: inline-flex; align-items: center; gap: 7px; }
.execution-check-label input { width: auto; min-height: 0; accent-color: var(--green); }
.execution-report-body { margin: 16px 0 4px; }
.execution-report-body h3 { margin-bottom: 6px; }
.execution-reading {
  background: #f6faf7;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}

@media (max-width: 1170px) {
  .execution-gate { flex-wrap: wrap; }
}

@media (max-width: 970px) {
  .execution-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .execution-gates { grid-template-columns: minmax(0, 1fr); }
  .execution-gate { flex-wrap: nowrap; }
  .execution-overview > .execution-facts { padding: 13px 14px; }
  .execution-facts { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 10px 13px; }
}
