/* Mathematical figures use the same typography as the rest of the site. */
.intro-science-copy>.text-link{margin-top:24px}
.science-home .intro-bottom{grid-template-columns:1.35fr 1fr;gap:40px}
.study-kicker{font-family:var(--sans);font-size:12px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase}
.helix-study{position:relative;max-width:500px;width:100%;padding-top:8px}
.helix-study .study-kicker{color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:11px}
.helix-study img,.research-intro .helix-study img{transform:none;width:100%;height:auto;object-fit:contain;margin:0}
.helix-study figcaption{margin:0;color:var(--ink);font-size:16px;max-width:none;line-height:1.6}
.helix-equation{font-family:var(--serif);font-size:21px;text-align:center}
.helix-curvatures{display:flex;justify-content:center;align-items:center;gap:35px;font-family:var(--serif);font-size:20px;margin-top:10px}
.helix-curvatures sub{font-family:var(--sans);font-size:11px}
.helix-study figcaption p{font-size:12px;color:var(--muted);text-align:center;margin-top:10px}
.inline-fraction{display:inline-flex;flex-direction:column;text-align:center;vertical-align:middle;line-height:1.1;min-width:20px;font-style:italic;margin-inline:3px}
.inline-fraction>span:first-child{border-bottom:1px solid currentColor;padding:0 4px 2px}
.inline-fraction>span:last-child{padding:2px 4px 0}
.phase-section{margin-bottom:55px;scroll-margin-top:22px}
.phase-plate{--plot-ink:#edf2df;--plot-muted:#c0cdbb;--plot-line:#526758;background:#1b3129;color:var(--plot-ink);padding:36px 38px 28px;border:1px solid #1b3129}
.phase-plate :is(h2,h3,h4){color:var(--plot-ink)}
.phase-plate a{color:var(--plot-ink);text-decoration-color:#a3b699}
.phase-plate a:hover{color:#efa88a}
.phase-plate :is(button,input,summary,[role=button]):focus-visible{outline:2px solid #efa88a;outline-offset:5px}
.phase-introduction{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:end;margin-bottom:30px}
.phase-introduction .study-kicker{color:#bfd79e}
.phase-introduction h2{font-size:39px;line-height:1.1;letter-spacing:-.025em;margin-top:14px;max-width:500px}
.phase-introduction p{font-size:15px;line-height:1.7;color:var(--plot-muted);max-width:430px}
.phase-controls{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;padding:23px 0 28px;border-top:1px solid var(--plot-line);border-bottom:1px solid var(--plot-line)}
.phase-controls[hidden]{display:none}
.phase-presets{border:0;padding:0;margin:0;min-width:0}
.phase-presets legend,.phase-slider label{font-family:var(--sans);font-size:14px;line-height:1.5;color:var(--plot-muted);padding:0;margin-bottom:12px;display:block}
.preset-buttons{display:flex;gap:8px;flex-wrap:wrap}
.preset-buttons button{border:1px solid #81957b;border-radius:0;background:transparent;color:var(--plot-ink);font-family:var(--sans);font-size:14px;line-height:1.4;padding:10px 17px;min-height:42px;cursor:pointer}
.preset-buttons button:hover{border-color:#edf2df;background:#304a38}
.preset-buttons button[aria-pressed=true]{background:#dce9c9;color:#213629;border-color:#dce9c9}
.phase-slider label{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.phase-slider label var{margin-left:-3px}
.phase-slider output{margin-left:auto;color:var(--plot-ink);font-variant-numeric:tabular-nums;font-family:Consolas,monospace;font-size:14px}
.phase-slider input{display:block;width:100%;margin:15px 0 0;accent-color:#dce9c9;cursor:pointer;height:19px}
.range-limits{display:flex;justify-content:space-between;font-size:12px;color:var(--plot-muted);align-items:center;margin-top:6px}
.phase-reset{font-family:var(--sans);font-size:12px;background:none;border:0;color:var(--plot-muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:5px 7px}
.phase-reset:hover{color:#fff}
.sequence-panel{padding:24px 0 20px;border-bottom:1px solid var(--plot-line)}
.plot-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px}
.plot-heading h3{font-family:var(--sans);font-size:14px;line-height:1.5;font-weight:400}
.plot-heading>span{font-size:12px;color:var(--plot-muted);white-space:nowrap}
.sequence-plot{width:100%;min-height:132px;margin-top:4px}
.phase-plate svg{display:block;width:100%;max-width:100%;height:auto;overflow:visible}
.tract-hit{cursor:pointer}
.tract-hit:hover rect:nth-of-type(2){fill:#edf2df;opacity:1}
.sequence-readout{font-size:13px;color:var(--plot-muted);line-height:1.6}
.phase-plots{display:grid;grid-template-columns:1fr 1fr;gap:38px;padding:24px 0 25px;border-bottom:1px solid var(--plot-line)}
.polar-panel,.concentration-panel{min-width:0}
.polar-panel{padding-right:35px;border-right:1px solid var(--plot-line)}
.polar-plot{min-height:284px}
.plot-legend{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:-1px;font-size:12px;line-height:1.6;color:var(--plot-muted)}
.plot-legend span{display:flex;align-items:center;gap:7px}
.plot-legend i{display:block;width:15px;height:2px;background:#bfd79e}
.plot-legend .legend-mean{background:#efa88a;height:3px}
.concentration-reading{font-family:var(--serif);display:flex;align-items:baseline;gap:15px;line-height:1;margin-top:24px;margin-bottom:10px;color:var(--plot-ink);font-variant-numeric:tabular-nums}
.concentration-reading .math-r{font-size:24px;font-style:italic;color:var(--plot-muted)}
.concentration-reading output{font-size:48px;letter-spacing:-.02em}
.concentration-plot{min-height:220px}
.plot-explanation{font-size:13px;line-height:1.6;color:var(--plot-muted);margin-top:5px}
.phase-caption{padding-top:19px}
.phase-caption p{font-size:13px;line-height:1.75;color:var(--plot-muted)}
.phase-caption p+p{margin-top:5px}
.phase-caption span{white-space:normal}
.phase-method{margin-top:21px;border-top:1px solid var(--plot-line);padding-top:15px}
.phase-method summary{cursor:pointer;font-size:14px;line-height:1.6;color:var(--plot-ink);padding:3px 0;list-style-position:inside}
.phase-method[open] summary{margin-bottom:25px}
.method-content{max-width:900px;margin:0 auto}
.method-content p{font-size:15px;line-height:1.8;color:var(--plot-muted);margin-top:19px}
.phase-equations{display:flex;justify-content:space-between;flex-wrap:wrap;gap:25px;padding:15px 0 25px;border-bottom:1px solid var(--plot-line);font-family:var(--serif);font-size:27px;line-height:1.5;color:var(--plot-ink)}
.phase-equations .modulo{font-size:18px;margin-left:5px}
.phase-equations sub{font-size:14px}
.sum-expression{white-space:nowrap}
.sum-expression>sub,.sum-expression>sup{font-size:12px}
.sequence-details{margin-top:26px;padding:20px 0;border-top:1px solid var(--plot-line);border-bottom:1px solid var(--plot-line)}
.sequence-details h4{font-family:var(--sans);font-size:14px;font-weight:400;margin-bottom:12px}
.sequence-details code{font-family:Consolas,monospace;font-size:15px;line-height:2;overflow-wrap:anywhere;color:#b5c5ac;letter-spacing:.035em}
.sequence-details .seq-a{color:#f1bc9d;background:#314b38}
.sequence-details p{font-size:13px;margin-top:10px}
.phase-table-wrap{overflow-x:auto}
.phase-table{width:100%;border-collapse:collapse;font-size:14px;color:var(--plot-muted);font-variant-numeric:tabular-nums;margin-top:22px}
.phase-table caption{text-align:left;font-size:14px;color:var(--plot-ink);margin-bottom:10px}
.phase-table th,.phase-table td{padding:8px 16px 8px 0;border-bottom:1px solid #415746;text-align:left;font-weight:400}
.phase-table thead th{color:var(--plot-ink)}
.method-content .method-reference{font-size:13px;margin-top:24px;line-height:1.8}
.phase-noscript{font-size:16px;color:#f1bc9d;margin:20px 0}
.research-intro{grid-template-columns:1.1fr 1fr;gap:50px}
@media(max-width:1100px){.phase-plate{padding:31px 30px 25px}.phase-introduction,.phase-controls{gap:30px}.phase-introduction h2{font-size:35px}.phase-plots{gap:26px}.polar-panel{padding-right:26px}.research-intro{gap:30px}.helix-equation{font-size:19px}.helix-curvatures{font-size:19px;gap:26px}}
@media(max-width:800px){.science-home .intro-bottom{grid-template-columns:1.2fr 1fr;gap:28px}.phase-introduction{display:block}.phase-introduction p{margin-top:17px;max-width:600px}.phase-controls{grid-template-columns:1fr 1fr;gap:25px}.preset-buttons{gap:7px}.preset-buttons button{padding:9px 12px}.phase-slider label{display:block}.phase-slider label output{display:block;margin-top:5px}.phase-plots{gap:20px}.polar-panel{padding-right:20px}.helix-equation{font-size:17px}.helix-curvatures{font-size:17px;gap:19px}.helix-study figcaption p{font-size:11px}.research-intro{grid-template-columns:1.05fr 1fr;gap:24px}.phase-equations{font-size:25px}}
@media(max-width:650px){.phase-plate{padding:27px 22px 22px}.phase-controls{grid-template-columns:1fr;gap:24px}.phase-slider label{display:flex}.phase-slider label output{display:inline;margin-top:0;margin-left:auto}.phase-plots{display:block}.polar-panel{border-right:0;padding-right:0;padding-bottom:21px}.concentration-panel{border-top:1px solid var(--plot-line);padding-top:22px}.polar-plot{max-width:390px;margin-inline:auto}.concentration-plot{max-width:490px;margin-inline:auto}.plot-explanation{margin-top:8px}.phase-equations{display:grid;grid-template-columns:1fr;font-size:25px}.phase-introduction h2{font-size:35px}.phase-section{margin-bottom:39px}}
@media(max-width:600px){.science-home .intro-bottom{display:block}.intro-science-copy>.text-link{margin-top:19px}.helix-study{max-width:420px;margin:30px auto 0}.helix-study .study-kicker{font-size:11px;padding-bottom:9px}.helix-study figcaption{font-size:15px}.helix-equation{font-size:20px}.helix-curvatures{font-size:20px;gap:33px}.helix-study figcaption p{font-size:12px}.science-home{padding-bottom:37px}.research-intro{display:block}.research-intro .helix-study img{height:auto;max-width:none;margin:0}.phase-plate{padding:24px 18px 21px}.phase-introduction h2{font-size:34px}.phase-introduction p{font-size:15px}.phase-introduction .study-kicker{font-size:11px}.phase-introduction{margin-bottom:24px}.phase-controls{padding-top:21px;padding-bottom:23px}.phase-presets legend,.phase-slider label{font-size:14px}.preset-buttons button{padding:10px 14px}.phase-slider output{font-size:13px}.plot-heading h3{font-size:14px}.plot-heading>span{font-size:11px}.sequence-readout{font-size:12px;line-height:1.7}.plot-legend{font-size:12px;gap:15px}.concentration-reading output{font-size:46px}.phase-caption p{font-size:12px;line-height:1.8}.method-content p{font-size:14px}.phase-equations{font-size:24px;gap:23px}.phase-equations .modulo{font-size:15px}.sequence-details code{font-size:13px;letter-spacing:0}.phase-table{font-size:13px}}
@media(max-width:370px){.phase-plate{padding:22px 14px}.phase-introduction h2{font-size:31px}.preset-buttons button{padding:9px 10px;font-size:13px}.phase-slider label{display:block}.phase-slider output{display:block!important;margin-top:5px!important}.phase-equations{font-size:21px}.phase-equations .modulo{font-size:14px}.helix-equation{font-size:19px}.helix-curvatures{font-size:18px}}
@media print{.phase-plate{print-color-adjust:exact;-webkit-print-color-adjust:exact;break-inside:avoid}.phase-controls{display:none}.helix-study{break-inside:avoid}}
