html:has(.hex-article){scroll-behavior:smooth;scroll-padding-top:80px}body:has(.hex-article) main{width:min(100% - 2rem,56rem)}.hex-article{line-height:1.8}.hex-article section{margin-top:3rem;scroll-margin-top:20px}.hex-article h2{margin-bottom:1.2rem;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:1.8rem}.hex-article h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:1.25rem}.hex-article p:has(>img:only-child),.hex-article .hex-live-figure{width:min(72rem,100vw - 2rem);max-width:none;margin-left:50%;transform:translate(-50%)}.hex-article figcaption,.hex-article p:has(>em:only-child){color:#596771;font:.9rem/1.65 Inter,ui-sans-serif,system-ui,sans-serif}.hex-article figcaption{margin-top:1rem}.hex-article img{background:#fafbf8}.hex-toc{z-index:8;white-space:nowrap;scrollbar-width:thin;background:#fffffff7;border-block:1px solid #dce5e1;gap:.35rem;padding:.8rem 0;font:13px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;display:flex;position:sticky;top:0;overflow-x:auto}.hex-toc a{color:#52656a;border-radius:30px;padding:.4rem .65rem;text-decoration:none}.hex-toc a[aria-current=location]{color:#065f56;background:#d8eee7;font-weight:700}.hex-equation,.hex-search-controls,.hex-stage-description{background:#eef6f1;border-left:3px solid #087d75;padding:1rem 1.25rem}.hex-equation{font:1rem/1.7 Consolas,monospace}.hex-search{margin:2rem 0 3rem}.hex-search-controls{font:14px/1.6 Inter,ui-sans-serif,system-ui,sans-serif}.hex-search-controls strong{font-size:16px}.hex-buttons{flex-wrap:wrap;gap:.5rem;margin:1rem 0;display:flex}.hex-buttons button,.hex-stages button{color:#174d47;cursor:pointer;text-align:left;background:#fff;border:1px solid #b6cbc4;border-radius:5px;padding:.65rem .8rem;font:13px/1.5 Inter,ui-sans-serif,system-ui,sans-serif}.hex-buttons button:hover,.hex-stages button:hover{background:#edf4ef}.hex-buttons button[aria-pressed=true],.hex-stages button[aria-pressed=true]{background:#d8eee7;border-color:#087d75;font-weight:700}.hex-buttons button:disabled{opacity:.4;cursor:default}.hex-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:1rem 0;display:grid}.hex-search input{accent-color:#087d75;width:100%;margin:1rem 0;display:block}.hex-search output{color:#087d75;margin:auto 0 auto auto;font-weight:700}.hex-search-values{margin:.6rem 0;font-weight:700}.hex-search-change{color:#51645f;margin:0}.hex-article .hex-position-image{max-width:680px;margin-inline:auto}.hex-stage-stat{color:#596771;font:13px/1.6 Inter,ui-sans-serif,system-ui,sans-serif}.hex-score-legend{align-items:center;gap:10px;width:min(100%,400px);font:13px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;display:flex}.hex-score-legend span:nth-child(2){background:linear-gradient(90deg,#440154,#3b528b,#21918c,#5ec962,#fde725);flex:1;height:12px}.hex-score-legend[hidden],#hex-tooltip[hidden]{display:none}.hex-term{text-underline-offset:4px;color:#087d75;text-decoration:underline 1.5px dotted}.hex-term:hover,.hex-term:focus-visible{background:#def2e8}#hex-tooltip{z-index:30;color:#fff;background:#203a37;border-radius:7px;width:min(340px,100vw - 24px);padding:14px 17px;font:13px/1.6 Inter,ui-sans-serif,system-ui,sans-serif;position:fixed;box-shadow:0 8px 25px #0003}.hex-reference{border-top:1px solid #dbe4df;margin-top:2rem;padding:1rem 0;scroll-margin-top:24px}.hex-reference:target{background:#eef6f1;box-shadow:14px 0 #eef6f1,-14px 0 #eef6f1}.hex-reference h3{margin-top:.6rem}.hex-article :is(a,button,input,article):focus-visible{outline-offset:4px;outline:3px solid #bd842c}.hex-article details{border:1px solid #dbe4df;margin:2rem 0;padding:1rem}.hex-article summary{cursor:pointer;font-family:Inter,ui-sans-serif,system-ui,sans-serif}@media (width<=650px){.hex-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.hex-search-controls{padding:.8rem}.hex-article h2{font-size:1.5rem}.hex-search output{width:100%;margin:0}.hex-toc{font-size:12px}}@media (prefers-reduced-motion:reduce){html:has(.hex-article){scroll-behavior:auto}}@media print{.hex-toc,.hex-buttons,.hex-stages,.hex-search-controls,#hex-tooltip{display:none}.hex-article .hex-live-figure,.hex-article p:has(>img:only-child){width:100%;margin-left:0;transform:none}.hex-reference:target{box-shadow:none;background:0 0}}
