/* pde-surrogate: independent field page layout. */
.track-pde-surrogate{--track-accent:#467c91;color:var(--ink)}
.track-pde-surrogate .track-path{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:42px}
.track-pde-surrogate .track-intro{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center;margin-bottom:42px}
.track-pde-surrogate .track-domain{font-size:12px;color:var(--muted)}
.content-page .track-pde-surrogate h1{font-size:46px;font-weight:600;line-height:1.1;letter-spacing:normal;margin:16px 0 18px}
.track-pde-surrogate .track-tagline{font-size:24px;line-height:1.35;margin:0 0 16px;max-width:25ch}
.track-pde-surrogate .track-deck{font-size:15.5px;line-height:1.6;color:var(--body);max-width:58ch}
.track-pde-surrogate .track-metrics{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}
.track-pde-surrogate .track-metrics span{font-size:11px;padding:4px 10px;border-radius:20px;background:var(--surface);color:var(--body)}
.track-pde-surrogate .track-links{display:flex;gap:16px;margin-top:22px;font-size:13px}
.track-pde-surrogate .track-links a{color:var(--link)}
.track-pde-surrogate .track-links a:last-child{margin-left:auto}
@media(max-width:720px) {
  .content-page .track-pde-surrogate h1 {font-size:34px}
  .track-pde-surrogate .track-tagline {font-size:22px}
  .track-pde-surrogate .track-links {flex-wrap:wrap}
  .track-pde-surrogate .track-links a:last-child {margin-left:0}
}

.track-pde-surrogate .pde-field-evolution {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr) minmax(0,1.3fr);
  gap:10px;
  margin:16px 0 22px;
}
.track-pde-surrogate .pde-field-panel {
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:6px;
}
.content-page .track-pde-surrogate .pde-field-panel h4 {
  margin:0;
  font-size:16px;
  font-weight:600;
  line-height:1.35;
}
.track-pde-surrogate .pde-field-panel p {
  margin:0;
  color:var(--body);
  font-size:13px;
  line-height:1.45;
}
.track-pde-surrogate .pde-field-panel img {
  display:block;
  width:100%;
  height:auto;
  border-radius:4px;
}
.content-page .track-pde-surrogate #task-details .pde-field-panel .display-math > math {
  font-size:clamp(15px,1.45vw,18px);
}
.track-pde-surrogate .pde-field-map {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  width:min(100%,138px);
  margin:12px auto;
}
.track-pde-surrogate .pde-field-scale {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:3px;
  padding-left:12px;
  background:linear-gradient(#ec3e2b,#f5f2e9,#2863bd) left center/6px 100% no-repeat;
  font-size:11px;
  line-height:1;
}
.track-pde-surrogate .pde-evolution-terms {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:5px 8px;
  margin:0;
  font-size:13px;
  line-height:1.4;
}
.track-pde-surrogate .pde-evolution-terms dt {font-weight:600}
.track-pde-surrogate .pde-evolution-terms dd {margin:0;color:var(--body)}
.track-pde-surrogate .pde-field-panel .pde-term-advection {color:#215b93}
.track-pde-surrogate .pde-field-panel .pde-term-diffusion {color:#614591}
.track-pde-surrogate .pde-field-panel .pde-term-reaction {color:#216640}
.track-pde-surrogate .pde-evolution-frames {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:4px;
  margin:12px 0;
  text-align:center;
}
.track-pde-surrogate .pde-evolution-frames math {font-size:13px}
.track-pde-surrogate .pde-evolution-frames img {margin-top:4px}
.track-pde-surrogate .pde-evolution-frames > span {color:var(--link)}
@media(max-width:700px) {
  .track-pde-surrogate .pde-field-evolution {grid-template-columns:minmax(0,1fr)}
  .track-pde-surrogate .pde-evolution-frames {max-width:330px}
}

.track-pde-surrogate .pde-dynamics {margin:16px 0 20px}
.track-pde-surrogate .pde-dynamics figcaption {
  margin-bottom:8px;
  font-size:16px;
  font-weight:600;
}
.track-pde-surrogate .pde-dynamics-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}
.track-pde-surrogate .pde-dynamics-grid > li {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  padding:8px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#f5f8fc;
}
.content-page .track-pde-surrogate .pde-dynamics-grid h4 {
  margin:0;
  font-size:15px;
  font-weight:600;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.track-pde-surrogate .pde-dynamics-grid :is(img, canvas) {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:2;
  object-fit:cover;
  border-radius:4px;
}
.track-pde-surrogate .pde-dynamics-grid canvas,
.track-pde-surrogate .pde-dynamics-playing img {display:none}
.track-pde-surrogate .pde-dynamics-playing canvas {display:block}
.track-pde-surrogate .pde-dynamics-grid p {
  margin:0;
  color:var(--body);
  font-size:13px;
  line-height:1.4;
}
@media(max-width:1050px) {
  .track-pde-surrogate .pde-dynamics-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px) {
  .track-pde-surrogate .pde-dynamics-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
}

.track-pde-surrogate .pde-article-table {overflow-y:hidden}
.track-pde-surrogate .pde-article-table table {
  width:100%;
  border-collapse:collapse;
}
.track-pde-surrogate .pde-article-table :is(th,td) {
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.track-pde-surrogate .pde-article-table thead th {
  color:var(--muted);
  font-size:13px;
}
.track-pde-surrogate .pde-article-table tbody th {font-weight:500}
.track-pde-surrogate .pde-horizons tbody td:nth-child(n+3),
.track-pde-surrogate .pde-score-example tbody td {
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.track-pde-surrogate .pde-score-example {max-width:410px}
@media(max-width:600px) {
  .track-pde-surrogate :is(.pde-sources,.pde-horizons) :is(table,tbody) {display:block}
  .track-pde-surrogate :is(.pde-sources,.pde-horizons) thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }
  .track-pde-surrogate :is(.pde-sources,.pde-horizons) tr {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px 10px;
    padding-block:10px;
    border-bottom:1px solid var(--line);
  }
  .content-page .track-pde-surrogate #task-details :is(.pde-sources,.pde-horizons) table tbody :is(th,td) {
    padding:0;
    border:0;
  }
  .track-pde-surrogate .pde-sources th {grid-column:1/-1}
  .track-pde-surrogate .pde-sources tbody td {font-size:13px}
  .track-pde-surrogate .pde-horizons tbody td:nth-child(2) {text-align:right}
  .track-pde-surrogate .pde-horizons tbody td:nth-child(n+3) {font-size:13px}
  .track-pde-surrogate .pde-horizons tbody td:nth-child(3) {text-align:left}
  .track-pde-surrogate .pde-horizons tbody td:nth-child(3)::after {content:" frames"}
  .track-pde-surrogate .pde-horizons tbody td:nth-child(4)::after {content:" test trajectories"}
}

/* This track owns its method references and result annotations. */
.track-pde-surrogate .method-citation{font-size:10px;font-weight:400;margin-left:4px;vertical-align:super;line-height:0}
.track-pde-surrogate .method-citation a{color:var(--link);text-decoration:none}
.track-pde-surrogate .method-references{border-top:1px solid var(--line);padding-top:26px;margin-top:36px;font-size:13px;line-height:1.7;color:var(--body)}
.content-page .track-pde-surrogate .method-references h2{font-size:16px;font-weight:500;letter-spacing:normal;margin:0 0 14px}
.track-pde-surrogate .method-references ol{list-style:none;margin:0;padding:0}
.track-pde-surrogate .method-references li+li{margin-top:12px}
.track-pde-surrogate .track-result-note{font-size:13px;line-height:1.6;color:var(--muted);max-width:88ch;margin:14px 0 0}

/* Overview layout. */
.track-pde-surrogate .track-intro{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:44px;align-items:center;margin-bottom:42px}
.track-pde-surrogate .track-intro>div{min-width:0}
@media(max-width:1050px){.track-pde-surrogate .track-intro{gap:26px;grid-template-columns:minmax(0,4fr) minmax(0,6fr)}}
@media(max-width:800px){.track-pde-surrogate .track-intro{grid-template-columns:1fr;gap:24px}}
