/* Operator-learning results, masked autoencoding and resources sections of the project page. */

.news-banner {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #1f4e8c;
  font-weight: 600;
  font-size: 0.95rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.25rem;
}

/* token video */
.token-video-box {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #fff;
  margin: 1rem auto 0.5rem;
}
.token-video-box video {
  display: block;
  width: 100%;
  height: auto;
}
.token-video-box .video-caption-box {
  padding: 1.1rem 1.5rem;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}
.token-video-box .video-caption-box p {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #4a4a4a;
  text-align: justify;
  margin: 0;
}

/* segmented controls */
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 1rem 0.5rem 0;
}
.segmented .segmented-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  margin-right: 0.2rem;
}
.segmented button {
  font-size: 0.85rem !important;
  padding: 0.35rem 0.8rem !important;
  height: auto !important;
}

/* result tables */
.results-table {
  font-size: 0.95rem;
}
.results-table th {
  background-color: #f5f5f5;
  vertical-align: middle !important;
}
.results-table td {
  vertical-align: middle !important;
}
.results-table .ci {
  color: #64748b;
  font-size: 0.82em;
  font-weight: normal;
}
.results-table .strategy {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0 0.35rem;
  border-radius: 4px;
  background: #eef2f7;
  color: #475569;
  font-size: 0.72em;
  font-weight: 600;
  vertical-align: middle;
}
.results-table tr.phaedra-row td {
  background-color: #eef4ff;
}
.results-table tr.phaedra-row td:first-child {
  font-weight: 700;
  color: #1f4e8c;
}
.floor-table {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
details.results-details {
  margin: 0.25rem 0 1.5rem;
}
details.results-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #1f4e8c;
  margin-bottom: 0.75rem;
}

/* chart */
.chart-box {
  position: relative;
  height: 420px;
  width: 100%;
  margin-top: 0.5rem;
}
#timestep-chart-note {
  font-size: 0.85rem;
  color: #64748b;
}

/* comparison figure */
.compare-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.tabs.is-toggle a {
  cursor: pointer;
}

/* resources */
.resource-card {
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.resource-card .card-content p.title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.resource-card .card-content p.title a {
  color: var(--text-primary, #1e293b);
}
.resource-card .card-content .content {
  font-size: 0.92rem;
  color: #475569;
}
pre.quickstart {
  font-size: 0.85rem !important;
  line-height: 1.5;
}
