/* Independent Protein Design article; Results rules retained verbatim below. */
.track-protein-design{--track-accent:#4f7e77;color:var(--ink)}
.track-protein-design .track-path{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:42px}
.track-protein-design .track-intro{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:44px;align-items:center;margin-bottom:42px}
.track-protein-design .intro-copy{min-width:0}
.content-page .track-protein-design h1{font-size:46px;font-weight:600;line-height:1.1;letter-spacing:normal;margin:0 0 24px}
.track-protein-design .track-deck{font-size:24px;line-height:1.4;color:var(--body);max-width:38ch;margin:0}
.track-protein-design .track-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px;font-size:13px}
.track-protein-design .track-links a{color:var(--link)}
.track-protein-design .bio-science-figure{min-width:0;margin:0}
.track-protein-design .bio-science-figure figcaption{margin:12px auto 0;max-width:66ch;font-size:13px;line-height:1.6;color:var(--muted)}
.track-protein-design #task-details{margin-top:64px;min-width:0}
.track-protein-design .protein-article>section{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;padding:48px 0;border-top:1px solid var(--line)}
.track-protein-design .protein-section-copy{min-width:0;max-width:76ch}
.content-page .track-protein-design .protein-article h2,.content-page .track-protein-design .method-references h2{font-size:30px;line-height:1.25;font-weight:600;letter-spacing:normal;margin:0}
.content-page .track-protein-design .protein-article h3{font-size:22px;line-height:1.4;font-weight:600;letter-spacing:normal;margin:32px 0 16px}
.track-protein-design .protein-section-copy>h3:first-child{margin-top:0}
.track-protein-design .protein-article p{font-size:17px;line-height:1.75;color:var(--body);margin:0 0 20px}
.track-protein-design .protein-section-copy>:last-child{margin-bottom:0}
.track-protein-design .protein-article code{font-size:.85em;overflow-wrap:anywhere}
.track-protein-design #task-details table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;text-align:left}
.track-protein-design #task-details :is(th,td){padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.5}
.track-protein-design #task-details thead th{font-size:13px;color:var(--muted);font-weight:500;border-bottom:1px solid var(--ink)}
.track-protein-design #task-details tbody th{font-weight:500;width:30%}
.track-protein-design #task-details caption{text-align:left;font-size:13px;color:var(--muted);padding-bottom:12px}
.track-protein-design .method-references{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;margin-top:0;padding-top:40px;border-top:1px solid var(--line)}
.track-protein-design .method-references ol{list-style:none;padding:0;max-width:85ch;margin:0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.track-protein-design .method-references li+li{margin-top:18px}
@media(max-width:1050px){.track-protein-design .track-intro{gap:26px}.track-protein-design .protein-article>section,.track-protein-design .method-references{grid-template-columns:190px minmax(0,1fr);gap:32px}}
@media(max-width:800px){.track-protein-design .track-intro{grid-template-columns:1fr;gap:24px}.track-protein-design .track-deck{font-size:22px}.track-protein-design #task-details{margin-top:44px}.track-protein-design .protein-article>section,.track-protein-design .method-references{grid-template-columns:minmax(0,1fr);gap:24px;padding:32px 0}.content-page .track-protein-design .protein-article h2,.content-page .track-protein-design .method-references h2{font-size:28px}.track-protein-design .protein-article p{font-size:16px}.track-protein-design #task-details :is(th,td){padding:12px 8px}}
@media(max-width:720px){.content-page .track-protein-design h1{font-size:36px}}

/* Compact verifier results, aligned with Protein Folding Prediction. */
.track-page.track-protein-design #results.sr-results .sr-metric-explanations strong{font-weight:inherit}
.track-protein-design #results .measured-result-table{table-layout:fixed;min-width:0}
.track-protein-design #results .measured-result-table th:first-child{width:48%}
.track-protein-design #results .measured-result-table th span{display:block;font-size:10px;font-weight:400;line-height:1.6;color:var(--muted);margin-top:4px}
.track-protein-design #results .measured-result-table .numeric{width:26%}
.track-protein-design #results .measured-result-table thead .numeric{white-space:normal}
@media(max-width:720px){.track-protein-design #results .measured-result-table th:first-child{width:44%}.track-protein-design #results .measured-result-table th span{font-size:9px}.track-protein-design #results .measured-result-table thead th.numeric{font-size:11px;overflow-wrap:normal;word-break:normal;padding-left:6px;padding-right:6px}}

/* Keep the three stages together as one compact figure. */
.content-page .track-protein-design .track-intro {
  gap: clamp(20px, 4vw, 56px);
  margin-block-end: 30px;
  align-items: center;
}

.content-page .track-protein-design h1 { margin: 0 0 12px; }

.content-page .track-protein-design .track-intro .track-deck {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.45;
}

.content-page .track-protein-design .protein-overview {
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  background: var(--card, #fff);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.protein-overview ol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.protein-overview li {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-width: 0;
  padding: 0;
  text-align: center;
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 600;
  line-height: 1.25;
}

.content-page .track-protein-design .protein-overview img {
  display: block;
  width: 100%;
  height: clamp(60px, 9vw, 112px);
  margin: 0;
  object-fit: contain;
}

.protein-overview li + li::before {
  content: '→' / '';
  position: absolute;
  inset-inline-end: 100%;
  inset-block-start: calc(clamp(60px, 9vw, 112px) / 2);
  width: clamp(14px, 2vw, 28px);
  color: var(--muted);
  transform: translateY(-50%);
}

/* Keep notation and evaluation steps in the reading flow. */
.track-protein-design :is(.protein-notation,.protein-evaluation-steps) {
  padding-inline-start: 24px;
  margin: 16px 0 24px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.75;
}
.track-protein-design :is(.protein-notation,.protein-evaluation-steps) li + li {
  margin-top: 10px;
}

@media(max-width:800px) {
  .track-protein-design :is(.protein-notation,.protein-evaluation-steps) { font-size: 16px; }
}

.protein-design-figure {margin:20px 0 24px;font-size:13px;line-height:1.4}
.protein-design-cases {
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.protein-design-case {
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:10px;
  border:1px solid var(--line);
  border-radius:5px;
}
.content-page .track-protein-design .protein-article .protein-design-case h3 {
  margin:0 0 9px;
  font-size:15px;
  line-height:1.3;
}
.protein-design-case h3 span {display:block;color:var(--muted);font-size:12px;font-weight:400}
.protein-design-request {
  display:grid;
  grid-template-rows:48px auto;
  min-height:101px;
  align-items:center;
  justify-items:center;
  gap:4px;
  text-align:center;
}
.protein-design-request math {grid-row:1;font-size:17px}
.protein-design-request img {width:86px;height:48px;object-fit:contain;mix-blend-mode:multiply}
.protein-design-down {margin:6px 0;color:var(--muted);text-align:center}
.protein-design-output {text-align:center}
.protein-design-output img {display:block;width:100%;height:120px;object-fit:contain;mix-blend-mode:multiply}
.protein-design-output span {display:block;margin-top:6px}
@media(min-width:540px) {
  .protein-design-cases {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1100px) {
  .protein-design-cases {grid-template-columns:repeat(4,minmax(0,1fr))}
  .protein-design-case h3 {min-height:3.4em}
}
