.review-bar .container{align-items:center;flex-wrap:wrap}.language-control{display:flex;gap:.6rem;align-items:center;margin-left:auto;font-size:.875rem}.language-control>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.language-control select{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:.35rem;min-height:2.75rem;padding:.35rem .65rem;font-size:.875rem;max-width:100%}.language-note{padding-block:.75rem;font-size:.875rem;color:var(--muted);margin-bottom:0}.language-note[hidden]{display:none}.stage-grid{align-items:start;perspective:1200px}.stage-card{background:var(--soft);min-width:0;transition:transform .2s ease,box-shadow .2s ease}.stage-details>summary{list-style:none;cursor:pointer;min-height:14rem;outline-offset:5px}.stage-details>summary::-webkit-details-marker{display:none}.card-open-label{font-size:.875rem;font-weight:700;display:flex;align-items:center;gap:.75rem;color:var(--blue)}.stage-details[open] .card-open-label span{transform:rotate(45deg)}.card-detail-body{border-top:1px solid var(--line);margin-top:1.2rem;padding-top:1.2rem}.card-detail-body h4{font-family:inherit;font-size:1.1rem;line-height:1.45;font-weight:600;margin:0 0 .8rem}.card-detail-body p{font-size:1rem;line-height:1.65}.stage-card .card-detail-body .text-link{align-items:start}.health-grid{overflow:visible;align-items:start;perspective:1200px}.health-stat{min-width:0;transition:transform .2s ease,box-shadow .2s ease;background:var(--surface);position:relative}.health-stat .card-details{margin-top:1rem}.card-details>summary{cursor:pointer;font-size:1rem;font-weight:650;color:var(--blue);padding:.65rem 0;min-height:2.75rem}.hover-preview{font-size:.875rem!important;color:var(--muted);margin-top:1rem;line-height:1.5;max-height:0;opacity:0;overflow:hidden;transition:max-height .2s ease,opacity .2s ease}.health-stat:focus-within .hover-preview,.health-stat:hover .hover-preview{max-height:8rem;opacity:1}.detail-links{display:grid;gap:.8rem;margin-top:1rem}.detail-links a{font-size:.9375rem;overflow-wrap:anywhere}.health-stat:has(details[open]){z-index:2}.health-stat:has(details[open]) .hover-preview{max-height:8rem;opacity:1}@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.stage-card:hover,.stage-card:focus-within,.health-stat:hover,.health-stat:focus-within{transform:perspective(1200px) translateY(-4px) rotateX(1deg) rotateY(-.5deg);box-shadow:0 14px 28px #173b491c;z-index:3}.stage-card:has(details[open]),.health-stat:has(details[open]){transform:none}}@media(hover:none){.hover-preview{max-height:none;opacity:1}}@media(prefers-reduced-motion:reduce){.stage-card,.health-stat,.hover-preview{transition:none!important;transform:none!important}html{scroll-behavior:auto}}@media(max-width:680px){.review-bar .container{display:flex;justify-content:space-between;gap:.5rem}.review-bar a{max-width:55%}.language-control{max-width:45%}.stage-grid{grid-template-columns:1fr}.stage-card,.stage-card+.stage-card{padding:1.25rem 0;border-right:0;border-bottom:1px solid var(--line);margin:0}.stage-details>summary{min-height:0}.card-detail-body{padding-top:1rem}.health-stat .card-detail-body p{font-size:1rem}}html[data-large-text=true] .review-bar a{max-width:100%}html[data-large-text=true] .language-control{margin-left:0;max-width:100%}
/* Compact language control, using the site's body type and native selection. */
.review-bar .language-control{position:relative;gap:0;color:inherit;flex-shrink:0}
.review-bar .language-control::after{content:"";position:absolute;right:.8rem;top:50%;width:.4rem;height:.4rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.review-bar .language-control select{appearance:none;-webkit-appearance:none;font-family:inherit;font-size:.875rem;font-weight:500;line-height:1.3;letter-spacing:0;color:inherit;background:transparent;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 35%,transparent);border-radius:.45rem;min-height:2.25rem;padding:.4rem 2rem .4rem .7rem;width:auto;max-width:100%;box-shadow:none;cursor:pointer}
.review-bar .language-control select:hover{background:color-mix(in srgb,currentColor 8%,transparent)}
.review-bar .language-control select:focus{outline:none}
.review-bar .language-control select:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.review-bar .language-control option{font-family:inherit;font-size:.875rem;font-weight:400;color:var(--ink);background:var(--surface)}
@media(pointer:coarse){.review-bar .language-control select{min-height:2.75rem;font-size:1rem}}
@media(forced-colors:active){.review-bar .language-control select{border-color:ButtonText}.review-bar .language-control select:focus-visible{outline-color:Highlight}}
/* Floating detail cards: modal top layer, not an expanding grid row. */
html:has(.card-overlay[open]){overflow:hidden;scrollbar-gutter:stable}
.card-overlay{position:fixed;inset:0;width:min(44rem,calc(100% - 3rem));max-width:none;max-height:calc(100dvh - 3rem);padding:0;margin:auto;border:1px solid var(--line);border-radius:1.3rem;background:var(--surface);color:var(--ink);box-shadow:0 2px 0 var(--line),0 10px 0 -5px var(--surface),0 11px 0 -5px var(--line),0 35px 100px #081c3b66;overflow:hidden}
.card-overlay[open]{display:flex;flex-direction:column;animation:card-surface-in .24s cubic-bezier(.2,.8,.2,1)}
.card-overlay::backdrop{background:rgb(9 25 34 / .48);backdrop-filter:blur(4px)}
.card-overlay-header{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.35rem 1.75rem;border-bottom:1px solid var(--line);background:var(--soft);flex:none}
.card-overlay-header h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;margin:0;letter-spacing:-.025em;overflow-wrap:anywhere}
.card-overlay-close{flex:none;min-height:44px;padding:.55rem .85rem;border:1px solid var(--line);border-radius:2rem;font-family:inherit;font-weight:600;font-size:.875rem;line-height:1.3;color:var(--blue);background:var(--surface)}
.card-overlay-close:hover{border-color:var(--blue)}
.card-overlay .card-detail-body{margin:0;border:0;padding:1.75rem 2rem 2rem;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.card-overlay .card-detail-body h4{font-size:1.25rem;line-height:1.4}
.card-overlay .card-detail-body p{font-size:1.0625rem;line-height:1.7}
.card-overlay .detail-links{padding-top:1.25rem;border-top:1px solid var(--line)}
.health-stat .hover-preview{height:auto;min-height:4.5em;max-height:none!important;opacity:0;overflow:visible;transition:opacity .18s}
.health-stat:hover .hover-preview,.health-stat:focus-within .hover-preview{opacity:1}
@keyframes card-surface-in{from{opacity:0;transform:perspective(1100px) translateY(20px) rotateX(5deg) scale(.97)}to{opacity:1;transform:none}}
@media(hover:none){.health-stat .hover-preview{opacity:1}}
@media(max-width:680px){.card-overlay{width:calc(100% - 1.5rem);max-height:calc(100dvh - 1.5rem);border-radius:1rem}.card-overlay-header{padding:1rem;gap:.75rem;flex-wrap:wrap}.card-overlay-header h2{flex:1;min-width:8rem}.card-overlay .card-detail-body{padding:1.25rem}.card-overlay-close{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.card-overlay[open]{animation:none}.health-stat .hover-preview{transition:none}}
