.slide-goals .slide-main {
  min-height: 0;
  /* Keep the same protected header/title gap as other normal slides.
     Dense outline rows must use the remaining space, not this gap. */
  margin-top: var(--sp-5);
}

.outline-layout {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.outline-header {
  flex: none;
  padding-bottom: 16px;
}

.outline-eyebrow {
  margin: 0 0 7px;
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  line-height: 1;
  text-transform: uppercase;
}

.outline-title {
  max-width: none;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  text-wrap: balance;
}

.outline-list {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border-hairline);
  list-style: none;
}

.outline-row {
  --outline-color: var(--blue-600);
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(240px, 0.9fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--border-hairline);
  padding: 10px 0;
}

.outline-row:nth-child(2),
.outline-row:nth-child(3) { --outline-color: var(--amber-600); }

.outline-marker {
  height: 52px;
  display: grid;
  grid-template-columns: 24px 36px;
  gap: 9px;
  align-items: center;
  color: var(--outline-color);
}

.outline-number {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
}

.outline-marker svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.outline-marker circle { fill: var(--surface-page); }

.outline-heading { min-width: 0; }

.outline-phase {
  margin: 0 0 5px;
  color: var(--outline-color);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  line-height: 1;
  text-transform: uppercase;
}

.outline-topic {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-title);
  line-height: 1.08;
  text-wrap: balance;
}

.outline-scope {
  min-width: 0;
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .outline-row { transition: none; }
}
