/* The coast figure. Every class starts with c3d. */
.c3d {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-text);
  color: var(--ink);
}
.c3d-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.c3d-figures {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c3d-side {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.c3d-scene {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
}
.c3d-view {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}
.c3d-labels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.c3d-message {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #c7d3e6;
}
.c3d-message[hidden] {
  display: none;
}
.c3d-graph {
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
}
.c3d-chart {
  display: block;
  width: 100%;
  height: 210px;
}
.c3d-stages {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.c3d-stages button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}
.c3d-stages button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.c3d-name {
  font-weight: 600;
  white-space: pre-wrap;
}
.c3d-number {
  opacity: 0.7;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}
.c3d-place {
  font-size: 14px;
  opacity: 0.85;
  white-space: nowrap;
}
.c3d-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}
.c3d-note summary {
  cursor: pointer;
  width: fit-content;
}
.c3d-note p {
  margin: 6px 0 0;
  max-width: 980px;
}
.c3d-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* each stop: where it is, the two forecasts, and why they differ */
.c3d-text > div:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c3d-head {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}
.c3d-text .c3d-sub {
  color: var(--muted);
  font-size: 15px;
}
.c3d-vs {
  border-collapse: collapse;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.c3d-vs th,
.c3d-vs td {
  padding: 6px 14px 6px 0;
  text-align: left;
  border-bottom: 1px solid var(--rule-cool);
}
.c3d-vs thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.c3d-vs tbody th {
  font-weight: 600;
  white-space: nowrap;
}
.c3d-key {
  display: inline-block;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}
.c3d-key-f {
  background: var(--ink);
}
.c3d-key-t {
  background: #2ebeff;
}
.c3d-more {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
