.fw-story,.fw-block,.fw-atlas,.fw-register{--ink:#123b37;--teal:#126d66;--paper:#f8f5ec;--line:#bdd2c7;color:var(--ink)}
.fw-story{margin:1rem 0 2.4rem;max-width:none;background:#102d30;border-radius:18px;overflow:hidden;color:white;box-shadow:0 12px 38px #183f3021}
.fw-story h1.fw-title{font:650 clamp(1.7rem,4vw,3.4rem)/1.09 Georgia,serif;letter-spacing:-.045em;color:#f5f3df;margin:0}
.fw-story .fw-top{padding:clamp(1rem,3vw,2.25rem) clamp(1.2rem,4vw,3.4rem) 1rem}
.fw-kicker{font:700 .75rem/1.5 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.fw-story .fw-kicker{color:#a9dfc7;margin:0 0 .5rem}
.fw-stage{position:relative;isolation:isolate;perspective:1100px;overflow:hidden}
.fw-panel{position:relative;min-height:clamp(28rem,40vw,35rem);display:grid;grid-template-columns:1.1fr 1fr;align-items:stretch;background:#153d3c;color:white}
.fw-panel[hidden],.fw-register [hidden],.fw-tools[hidden],.fw-controls[hidden]{display:none!important}
.fw-copy{padding:clamp(1.4rem,4vw,3.4rem);align-self:center;position:relative;z-index:1}
.fw-panel h2{font:500 clamp(2rem,4.7vw,4.8rem)/1.02 Georgia,serif;letter-spacing:-.045em;color:#fff9df;margin:.4rem 0 1.15rem;max-width:14ch}
.fw-panel .fw-copy>p:not(.fw-kicker){font:400 clamp(1rem,1.6vw,1.22rem)/1.55 system-ui,sans-serif;color:#edf7f1;max-width:45ch;margin:0 0 1.1rem}
.fw-panel .fw-copy a,.fw-credit a{color:#fce6a0;text-decoration:underline;text-underline-offset:4px}
.fw-image{margin:0;position:relative;min-height:14rem;overflow:hidden;background:#123c42}
.fw-image>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;max-width:none}
.fw-credit{position:absolute;bottom:0;left:0;right:0;margin:0;padding:1.8rem 1rem .7rem;background:linear-gradient(transparent,#081f24ed);color:#fff;font:500 .76rem/1.4 system-ui,sans-serif}
.fw-art{background:#eedbbb;color:#143d35}.fw-art img{object-position:center 44%}
.fw-plate{background-color:#d7e9d9;background-image:repeating-linear-gradient(0deg,transparent 0 31px,#116b6517 31px 32px),repeating-linear-gradient(90deg,transparent 0 31px,#116b6517 31px 32px);display:grid;align-content:center;gap:1rem;padding:clamp(1rem,3vw,2.2rem);color:#133e39}
.fw-plate .fw-kicker{color:#185a51}.fw-plate .fw-big{font:500 clamp(4rem,9vw,8rem)/1 Georgia,serif;letter-spacing:-.07em}
.fw-names{display:flex;flex-wrap:wrap;gap:.4rem}.fw-names span{background:#fff9e9;border:1px solid #779f91;border-radius:2rem;padding:.28rem .65rem;color:#17463d;font-size:.9rem}
.fw-mini-atlas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.fw-mini-atlas img{width:100%;height:3.4rem}
.fw-controls{background:#102d30;color:white;padding:.8rem clamp(1rem,4vw,3.4rem);display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.fw-controls button,.fw-tools button{font:650 .95rem/1 system-ui;background:#fff9e8;color:#153d37;padding:.75rem 1rem;border:0;border-radius:2rem;cursor:pointer;min-height:42px}
.fw-controls output{color:white;margin-right:auto;font:500 .87rem/1.4 system-ui}.fw-controls button:focus-visible,.fw-story a:focus-visible{outline:3px solid #e9ad4c;outline-offset:3px}
.fw-shard{position:absolute;inset:0;pointer-events:none;z-index:4;transform-origin:15% 50%;backface-visibility:hidden;filter:drop-shadow(0 4px 5px #0008);animation:fw-rip-left .95s cubic-bezier(.53,.03,.65,1) both}
.fw-shard.right{transform-origin:85% 50%;animation-name:fw-rip-right}
@keyframes fw-rip-left{15%{transform:translateX(-.3%) rotateY(3deg)}100%{transform:translate(-110%,-5%) rotate(-9deg) rotateY(32deg)}}
@keyframes fw-rip-right{15%{transform:translateX(.3%) rotateY(-3deg)}100%{transform:translate(110%,7%) rotate(8deg) rotateY(-28deg)}}
.fw-fibre{position:absolute;left:50%;top:var(--y);width:3px;height:8px;background:#e8d9ae;z-index:5;pointer-events:none;animation:fw-fall .86s ease-out both}
@keyframes fw-fall{to{transform:translate(var(--dx),4rem) rotate(210deg);opacity:0}}
.fw-block,.fw-atlas,.fw-register{margin:2rem 0}.fw-block{border-top:3px solid var(--teal);padding:1.5rem 0}
.fw-block h2,.fw-atlas h2,.fw-register h2{font-family:Georgia,serif;letter-spacing:-.025em;color:var(--ink)}
.fw-links,.fw-atlas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.8rem}
.fw-links a,.fw-atlas-grid a{display:block;background:#edf5ef;border:1px solid var(--line);border-radius:.6rem;padding:1rem;color:#174f45;text-decoration:none}
.fw-links a b,.fw-links a span{display:block}.fw-links a span{font-size:.91rem;color:#304e44;margin-top:.3rem}
.fw-links a:hover,.fw-atlas-grid a:hover{background:#dfede1;text-decoration:underline}
.fw-atlas-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,9.4rem),1fr));margin:1rem 0}
.fw-atlas-grid a{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:space-between;gap:.5rem;font-weight:650}
.fw-atlas-grid img{width:95px;height:58px}.fw-atlas details{margin:1.25rem 0}.fw-atlas summary{cursor:pointer;font-weight:bold}
.fw-local-mark{float:right;width:clamp(5rem,15vw,9rem);margin:0 0 1rem 1rem;padding:1rem;background:#e5f1e9;border-radius:.65rem}
.fw-steps{list-style:none;counter-reset:fw-step;display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;padding:0!important;margin:1.25rem 0}
.fw-steps li{counter-increment:fw-step;position:relative;background:#eaf3ed;padding:1rem;border-top:3px solid #18746a;border-radius:0 0 .4rem .4rem}
.fw-steps li:before{content:counter(fw-step,decimal-leading-zero);display:block;color:#357469;font:700 .8rem/1.5 system-ui}.fw-steps li+li:after{content:'→';position:absolute;left:-1rem;top:37%;color:#176a5f}.fw-steps b{display:block}
.fw-matrix{margin:1rem 0}.fw-matrix>div{display:grid;grid-template-columns:minmax(7rem,1fr) 4fr;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.fw-matrix dt{font-weight:bold}.fw-matrix dd{margin:0}
.fw-register{width:100%;max-width:100%}.fw-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:.6rem}
.fw-register table{width:100%;border-collapse:collapse;min-width:47rem;text-align:left;font-size:.94rem}.fw-register caption{text-align:left;font-weight:700;padding:.8rem}
.fw-register th,.fw-register td{padding:.7rem;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.45}
.fw-register thead{background:#1b5046;color:white}.fw-register tbody th{min-width:10rem}.fw-register tbody tr:nth-child(even){background:#f2f7f1}.fw-register tr:target{outline:3px solid #b77b25;outline-offset:-3px}
.fw-register details{min-width:9rem}.fw-register details[open]{min-width:min(21rem,65vw)}.fw-register summary{cursor:pointer;color:#175b50;font-weight:bold}.fw-register dd{margin:0 0 .7rem}.fw-register dt{font-weight:bold}
.fw-tools{display:flex;gap:.65rem;align-items:end;flex-wrap:wrap;background:#e8f2eb;padding:1rem;border-radius:.6rem;margin:1rem 0}.fw-tools label{display:grid;gap:.3rem;font-weight:650;font-size:.9rem}.fw-tools input,.fw-tools select{max-width:100%;font:inherit;padding:.6rem;border:1px solid #80a699;border-radius:.3rem;background:white;color:#133f36}.fw-tools button{border:1px solid #759d90}.fw-count{font-weight:bold}
@media(max-width:720px){.fw-panel{grid-template-columns:1fr;grid-template-rows:auto 13.5rem;min-height:0}.fw-copy{padding:1.35rem}.fw-panel h2{max-width:22ch}.fw-image{min-height:0}.fw-plate{gap:.35rem;padding:.8rem 1.3rem}.fw-mini-atlas{grid-template-columns:repeat(6,1fr);gap:.3rem}.fw-mini-atlas img{height:2.3rem}.fw-steps{grid-template-columns:1fr}.fw-steps li+li:after{content:'↓';top:-1.2rem;left:50%}.fw-tools{align-items:stretch}.fw-tools label{max-width:100%}.fw-controls{gap:.4rem}.fw-controls button{padding:.65rem .8rem}.fw-matrix>div{grid-template-columns:1fr;gap:.2rem}}
@media(prefers-reduced-motion:reduce){.fw-shard,.fw-fibre{display:none!important}}
@media print{.fw-controls,.fw-tools,.fw-shard,.fw-fibre{display:none!important}.fw-panel{break-inside:avoid}.fw-story{box-shadow:none}.fw-scroll{overflow:visible}.fw-register table{min-width:0}}

.fw-wide-register .chapter-wrap{max-width:none}.fw-story h1.fw-title{max-width:none}.fw-story header.fw-top{position:static;background:#102d30}
.fw-tools label{min-width:0;grid-template-columns:minmax(0,1fr)}.fw-tools select{min-width:0;width:100%}
@media(max-width:720px){.fw-tools label{flex:1 1 100%}}
