.outlook-hero {
  padding-block: var(--space-8);
  background: #17252c;
  color: var(--paper);
}

.outlook-hero .page-head__title {
  color: inherit;
  font-size: clamp(42px, 6vw, 72px);
}

.outlook-hero .page-head__eyebrow,
.outlook-hero .outlook-updated {
  color: #c5cdd0;
}

.outlook-updated {
  margin: var(--space-3) 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.outlook-registration-note {
  margin-block: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.outlook-registration-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.outlook-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.outlook-summary a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.outlook-summary a + a {
  padding-left: var(--space-4);
  border-left: 1px solid var(--rule);
}

.outlook-summary a:hover > span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.outlook-summary__seats {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.outlook-race {
  padding-block: var(--space-7) 0;
  scroll-margin-top: var(--space-4);
}

.outlook-race__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--ink);
}

.outlook-race__head .page-head__eyebrow {
  margin-bottom: var(--space-1);
}

.outlook-race__head h2 {
  font-size: clamp(26px, 4vw, 34px);
}

.outlook-rating {
  display: inline-block;
  padding: 4px 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.outlook-rating--tossup {
  background: #ecdcae;
  color: #4f3a0b;
}

.outlook-rating--tilt {
  background: #e5eeea;
  color: #35594d;
}

.outlook-rating--lean {
  background: #d5e5df;
  color: #1f4b3f;
}

.outlook-rating--likely {
  background: #bcd8cd;
  color: #163f33;
}

.outlook-rating--unlikely {
  background: #d9aea4;
  color: #5a251b;
}

.outlook-rating--tilt-not {
  background: #f5e9e6;
  color: #7b4b41;
}

.outlook-rating--lean-not {
  background: #eed8d3;
  color: #6e3428;
}

.outlook-rating--safe-not {
  background: #7a3b2f;
  color: #fff;
}

.outlook-rating--withdrew {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--rule);
}

.outlook-rating--withdrawn {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--rule);
}

.outlook-roster__row--withdrew .outlook-roster__name,
.outlook-roster__row--withdrawn .outlook-roster__name {
  color: var(--muted);
  text-decoration: line-through;
}

.outlook-roster__row--withdrew img,
.outlook-roster__row--withdrawn img {
  opacity: 0.55;
}

.outlook-rating--council {
  background: var(--surface-alt);
  color: var(--ink-soft);
}

.outlook-rating--unrated,
.outlook-rating--ineligible {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}

.outlook-lean-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-block: var(--space-5);
}

.outlook-lean-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--rule);
  border-top: 6px solid #3c7664;
  background: var(--surface);
}

.outlook-lean-card > img {
  display: block;
  width: 160px;
  height: 200px;
  object-fit: cover;
  background: var(--surface-alt);
}

.outlook-lean-card--featured {
  grid-column: 1 / -1;
}

.outlook-lean-card__copy {
  min-width: 0;
}

.outlook-lean-card h3 {
  margin-block: var(--space-3) var(--space-1);
  font-size: clamp(22px, 2.4vw, 30px);
  overflow-wrap: anywhere;
}

.outlook-lean-card p {
  margin: 0 0 var(--space-4);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.outlook-lean-card__status {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.outlook-lean-card__status--unconfirmed {
  color: #634910;
}

.outlook-roster {
  width: 100%;
  border-collapse: collapse;
}

.outlook-roster thead th {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.outlook-roster thead th:last-child,
.outlook-roster td:last-child {
  text-align: right;
}

.outlook-roster tbody tr {
  border-bottom: 1px solid var(--rule);
}

.outlook-roster td,
.outlook-roster tbody th {
  padding: var(--space-3) 0;
  vertical-align: middle;
}

.outlook-roster tbody th {
  padding-inline: var(--space-4);
  font-weight: 400;
  text-align: left;
}

.outlook-roster__portrait {
  width: 56px;
}

.outlook-roster img,
.outlook-no-portrait {
  display: block;
  width: 56px;
  height: 70px;
  object-fit: cover;
  background: var(--surface-alt);
}

.outlook-roster__name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.outlook-roster__role {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.outlook-note {
  margin-left: var(--space-2);
  padding: 2px 6px;
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: 3px;
}

@media (max-width: 640px) {
  .outlook-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .outlook-summary a,
  .outlook-summary a + a {
    padding: var(--space-3) 0;
    border-left: 0;
  }

  .outlook-summary a + a {
    border-top: 1px solid var(--rule);
  }

  .outlook-race__head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
  }

  .outlook-lean-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .outlook-lean-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: var(--space-4);
    padding: var(--space-4);
    border-top-width: 4px;
  }

  .outlook-lean-card > img {
    width: 88px;
    height: 110px;
  }

  .outlook-lean-card h3 {
    margin-block: var(--space-2) var(--space-1);
    font-size: 22px;
  }

  .outlook-lean-card p {
    font-size: 13px;
    margin-bottom: var(--space-2);
  }

  .outlook-roster thead {
    display: none;
  }

  .outlook-roster tbody tr {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 6px var(--space-3);
    padding-block: var(--space-3);
  }

  .outlook-roster td,
  .outlook-roster tbody th {
    padding: 0;
  }

  .outlook-roster__portrait {
    grid-row: span 2;
    width: 48px;
  }

  .outlook-roster img,
  .outlook-no-portrait {
    width: 48px;
    height: 60px;
  }

  .outlook-roster td:last-child {
    text-align: left;
  }
}
