:root{--ink:#173d38;--muted:#60736c;--green:#087d6d;--green2:#0b5f55;--line:#dce7df;--soft:#edf4ef;--paper:#fff;--sand:#f7f9f5;--gold:#9b6a20;--goldsoft:#f7ecd7;--rose:#9b4545;--rosesoft:#faeeee}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--sand);font-family:Tahoma,Arial,sans-serif;color:var(--ink);line-height:1.9}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:3px solid #d7b878;outline-offset:4px}
    header{background:#fff;border-bottom:1px solid var(--line);padding:20px 6%;display:flex;justify-content:space-between;gap:24px;align-items:center;position:sticky;top:0;z-index:5}.brand{font-size:24px;font-weight:bold;letter-spacing:.1em;color:var(--ink)}nav{display:flex;gap:22px;font-size:13px;flex-wrap:wrap}
    main{max-width:1180px;margin:auto;padding:0 5% 70px}.hero{padding:72px 0 45px;display:grid;grid-template-columns:1.25fr .75fr;gap:42px;align-items:center}.eyebrow{font-size:12px;color:var(--green);margin:0 0 12px;font-weight:bold;letter-spacing:.04em}h1{font-size:clamp(42px,7vw,82px);line-height:1.1;margin:0 0 20px;letter-spacing:-.055em}h2{font-size:clamp(25px,3vw,36px);line-height:1.35;margin:0 0 12px}h3{font-size:18px;margin:0 0 9px}p{margin:0 0 15px}.lead{font-size:16px;color:var(--muted);max-width:720px}.hero-card{background:var(--green);color:#fff;padding:34px;border-radius:18px;box-shadow:0 18px 45px rgba(8,125,109,.16)}.hero-card p{color:#d9eee9}.hero-card strong{font-size:44px;display:block;line-height:1.1;margin:5px 0}.pill{display:inline-block;border-radius:999px;padding:4px 11px;background:var(--soft);color:var(--green2);font-size:11px;font-weight:bold}.hero-card .pill{background:rgba(255,255,255,.16);color:#fff}
    .notice{background:var(--goldsoft);border:1px solid #ead3aa;border-right:5px solid var(--gold);padding:20px 23px;border-radius:11px;margin:0 0 42px}.notice strong{color:#6c470e}.section{margin:58px 0}.section-head{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:23px}.section-head p{font-size:13px;color:var(--muted);max-width:620px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.card{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:23px}.card p{font-size:13px;color:var(--muted)}.year{font-size:12px;color:var(--green);font-weight:bold}.status{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:var(--green2);background:var(--soft);border-radius:999px;padding:3px 9px}.status::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}
    .method{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.method article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}.formula{direction:ltr;text-align:left;background:#102e2b;color:#dff6ee;padding:18px 20px;border-radius:10px;font-family:Consolas,monospace;font-size:14px;margin-top:18px}
    .spotlights{display:grid;grid-template-columns:1fr 1fr;gap:18px}.spot{border-radius:15px;padding:27px;background:#fff;border:1px solid var(--line)}.spot:first-child{background:var(--green);color:#fff;border-color:var(--green)}.spot:first-child p,.spot:first-child .meta{color:#d9eee9}.score{font-size:52px;font-weight:bold;line-height:1;letter-spacing:-.05em}.score small{font-size:15px;letter-spacing:0}.meta{color:var(--muted);font-size:12px}.chain{font-family:Consolas,monospace;direction:ltr;text-align:left;font-size:11px;line-height:1.7;background:rgba(0,0,0,.06);padding:13px;border-radius:8px;margin-top:15px}.spot:first-child .chain{background:rgba(255,255,255,.12)}
    .rank-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:13px}table{width:100%;border-collapse:collapse;min-width:800px}th,td{text-align:right;padding:15px 16px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:11px;color:var(--muted);background:#f4f8f5;position:sticky;top:0}td{font-size:13px}.rank{font-weight:bold;color:var(--green);font-size:18px}.meter{display:flex;align-items:center;gap:10px;min-width:125px}.bar{height:7px;background:#dfeae4;border-radius:999px;flex:1;overflow:hidden}.bar span{display:block;height:100%;background:var(--green);border-radius:inherit}.num{font-weight:bold;min-width:25px}.level{font-size:10px;border-radius:999px;padding:3px 8px;white-space:nowrap}.exceptional{background:var(--rosesoft);color:var(--rose)}.notable{background:var(--goldsoft);color:#77510f}.strong{background:var(--soft);color:var(--green2)}.expected{background:#f0f1f1;color:#59615f}
    details{background:#fff;border:1px solid var(--line);border-radius:11px;padding:16px 19px;margin:10px 0}summary{cursor:pointer;font-weight:bold}details p,details li{font-size:13px;color:var(--muted)}.sources{columns:2;column-gap:35px}.sources li{break-inside:avoid;margin-bottom:9px;font-size:12px}.boundary{background:var(--rosesoft);border:1px solid #efcccc;border-radius:12px;padding:24px}.boundary ul{margin:8px 0 0}.boundary li{font-size:13px;margin:5px 0}footer{margin-top:55px;padding-top:27px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
    @media(max-width:850px){header{position:static}.hero{grid-template-columns:1fr;padding-top:45px}.cards,.method{grid-template-columns:1fr 1fr}.spotlights{grid-template-columns:1fr}.sources{columns:1}}
    @media(max-width:580px){header{align-items:start;flex-direction:column}.cards,.method{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.hero-card{padding:25px}h1{font-size:48px}}
.module-header{background:var(--paper);border-bottom:1px solid var(--line);position:static;padding:0}
.module-header-inner,.module-main{width:min(1080px,calc(100% - 36px));margin-inline:auto}
.module-header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}
.module-nav{display:flex;flex-wrap:wrap;gap:.3rem 1rem;font-size:.9rem;line-height:1.5}
.module-nav a,.module-nav span{padding:.45rem .15rem;color:var(--ink)}
.module-nav [aria-current=page]{color:var(--green2);font-weight:bold;box-shadow:inset 0 -2px var(--green)}
.module-main{padding:0 0 3rem}
.module-intro{padding:clamp(2.2rem,5vw,4.5rem) 0 1.5rem;max-width:48rem}
.module-intro h1{font-size:clamp(2.1rem,5vw,3.5rem);line-height:1.22;letter-spacing:0}
.module-intro p,.module-origin p{font-size:1rem;color:var(--muted);line-height:1.9}
.module-origin{background:var(--soft);border-inline-start:4px solid var(--green);border-radius:10px;padding:1.2rem 1.45rem;margin-bottom:2rem}
.module-origin h2{font-size:clamp(1.35rem,3vw,1.9rem);margin:0 0 .5rem}
.module-origin p{margin:0}
.module-list{border-block-start:1px solid var(--line);max-width:50rem}
.module-list-item{border-block-end:1px solid var(--line);padding:1rem 0}
.module-list-item h2,.module-list-item h3{font-size:1.2rem;margin:0 0 .2rem}
.module-list-item p{margin:0;color:var(--muted)}
.module-list-item a{text-decoration:underline;text-underline-offset:.2em}
.module-jump{margin:0 0 2rem;padding:1rem 1.3rem;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.module-jump ul{margin:0;padding-inline-start:1.15rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:.25rem 1.25rem}
.module-method{margin:2rem 0}
.module-definitions{margin:0;border-block-start:1px solid var(--line)}
.module-definitions div{padding:.8rem 0;border-block-end:1px solid var(--line)}
.module-definitions dt{font-weight:bold}
.module-definitions dd{margin:0;color:var(--muted)}
.module-versions{list-style:none;padding:0;border-block-start:1px solid var(--line)}
.module-versions li{padding:.8rem 0;border-block-end:1px solid var(--line)}
.module-versions code,.digest{display:block;direction:ltr;text-align:start;overflow-wrap:anywhere;font-size:.78rem}
.module-main .section{margin:2.25rem 0}
.module-main .section-head{display:block;margin:0 0 1rem}
.module-main .section-head h2{font-size:clamp(1.45rem,3vw,2rem)}
.module-main .section-head p,.module-main .card p,.module-main details p,.module-main details li{font-size:.94rem}
.module-main [id]{scroll-margin-top:1rem}
.module-main .rank-wrap{max-width:100%;overscroll-behavior-inline:contain}
.module-legacy{height:0}
.skip-link{position:absolute;inset-inline-start:1rem;top:-6rem;padding:.6rem 1rem;background:var(--paper);z-index:10}
.skip-link:focus{top:.5rem}
@media(max-width:650px){.module-header-inner{align-items:flex-start;flex-direction:column;justify-content:center;padding:.65rem 0}.module-nav{gap:.35rem .85rem}.module-origin{padding:1rem}.module-intro h1{font-size:clamp(2.1rem,8vw,2.7rem)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.story-grid-heading{margin:0 0 1.05rem;font-size:clamp(1.35rem,3vw,1.75rem)}
.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:2.7rem}
.story-grid>div{display:flex;flex-direction:column;min-width:0}
.story-card{min-width:0;margin:0;padding:0;border:1px solid var(--story-border);border-radius:14px;background:var(--story-bg);color:var(--story-ink);perspective:900px;overflow:clip;transition:box-shadow .18s ease}
.story-grid .story-card{flex:1}
.story-card:hover,.story-card:focus-within{box-shadow:0 8px 25px #123d3821}
.story-card.project{--story-bg:#103c35;--story-border:#103c35;--story-ink:#fff;--story-muted:#cee9df;--story-accent:#d7f1e8}
.story-card.evidence{--story-bg:#e6f2ed;--story-border:#c0dcd1;--story-ink:#173d38;--story-muted:#395c53;--story-accent:#0b5f55}
.story-card.comparison{--story-bg:#fff1d9;--story-border:#ecd3a7;--story-ink:#463419;--story-muted:#664e2b;--story-accent:#634319}
.story-card.versions{--story-bg:#eef1f2;--story-border:#d5dfe0;--story-ink:#213c42;--story-muted:#3e5860;--story-accent:#23464f}
.story-card summary{display:block;list-style:none}
.story-card summary::-webkit-details-marker{display:none}
.story-card summary:focus-visible,.story-continue:focus-visible{outline:3px solid var(--story-accent);outline-offset:-5px;border-radius:11px}
.story-front{min-height:15.5rem;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;padding:1.45rem}
.story-card:not([open]) summary,.story-card:not([open]) .story-front{height:100%}
.story-topic{font-size:.82rem;font-weight:bold;color:var(--story-accent)}
.story-headline{display:block;font-size:clamp(1.5rem,3.2vw,2.1rem);line-height:1.35;font-weight:bold}
.story-teaser{font-size:1rem;font-weight:normal;color:var(--story-muted);line-height:1.7;margin-bottom:.35rem}
.story-open,.story-continue{display:inline-flex;gap:.4rem;align-items:center;min-height:2.65rem;font-size:.9rem;font-weight:bold}
.story-open{margin-top:auto;border:1px solid currentColor;border-radius:8px;padding:.22rem .75rem;color:var(--story-accent)}
.story-icon{width:1.05em;height:1.05em;display:block}
.story-close{display:none}
.story-card[open] .story-front{display:none}
.story-card[open] .story-close{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:.85rem 1.45rem;color:var(--story-accent);font-size:.85rem;border-bottom:1px solid currentColor}
.story-back{display:flex;min-height:12.45rem;flex-direction:column;align-items:flex-start;justify-content:center;padding:.85rem 1.45rem 1.2rem}
.story-card[open] .story-back{animation:story-flip .34s ease-out both;transform-origin:center;backface-visibility:hidden}
.story-back h3{font-size:clamp(1.25rem,2.6vw,1.65rem);line-height:1.4;margin:0 0 .45rem}
.story-card .story-back p{color:var(--story-muted);font-size:1rem;font-weight:normal;line-height:1.75;margin:0 0 .6rem}
.story-continue{color:var(--story-accent);text-decoration:underline;text-underline-offset:.2em}
.story-article{max-width:48rem;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:clamp(1rem,3.5vw,2.2rem);margin:0 0 2.25rem}
.story-article h2{font-size:clamp(1.6rem,3.7vw,2.45rem)}
.story-article h3{font-size:1.17rem;margin:1.6rem 0 .35rem}
.story-article p{font-size:1rem;line-height:1.9;color:var(--muted)}
.story-article .story-opening{color:var(--ink);font-size:1.08rem;border-inline-start:3px solid var(--green);padding-inline-start:.9rem}
.story-article nav{padding-top:1rem;border-top:1px solid var(--line);display:flex;gap:.3rem 1rem;font-size:.9rem}
.story-article nav a{padding:.25rem 0;text-decoration:underline;text-underline-offset:.2em}
.module-versions bdi{overflow-wrap:anywhere}
@keyframes story-flip{from{transform:rotateY(-86deg);opacity:.25}to{transform:rotateY(0);opacity:1}}
@media(max-width:650px){.story-grid{grid-template-columns:1fr;gap:.8rem}.story-front{min-height:13rem;padding:1.1rem}.story-card[open] .story-close,.story-back{padding-inline:1.1rem}}
@media(prefers-reduced-motion:reduce){.story-card,.story-card[open] .story-back{animation:none;transition:none}}
