/* Editorial paths sit on the existing scene, with finished works one click away. */
.story-entry{margin:0 0 19px;color:#304c38}
.story-entry-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 14px}
.story-choices{display:flex;align-items:center;flex-wrap:wrap;gap:5px 17px;min-width:0}
.story-choices>span,.story-year-choice>span{font-family:'IBM Plex Mono',monospace;font-size:.63rem;line-height:1.5;letter-spacing:.025em;color:#667956}
.story-choices>button{font-size:.8rem;line-height:1.45;min-height:34px;padding:6px 0;text-decoration:underline;text-decoration-color:#a3b18b;text-underline-offset:5px;color:#4c683e}
.story-choices>button:hover,.story-choices>button[aria-pressed='true']{color:#914b2e;text-decoration-color:#b48260}
.story-year-choice{display:flex;align-items:center;gap:10px;flex-shrink:0}
.story-year-choice select{font:inherit;font-size:.76rem;min-height:36px;max-width:165px;border:1px solid #aab99b;border-radius:3px;padding:7px 26px 7px 10px;color:#3e5b32;background:#f0eee3}
.story-guidance{padding:16px 18px 12px;background:#e2e8d76b;border-top:1px solid #b3c1a2;border-bottom:1px solid #b3c1a2}
.story-guidance-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}
.story-guidance-top small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.57rem;line-height:1.5;letter-spacing:.065em;color:#6c7a59;margin-bottom:5px}
.story-guidance h3{font-family:'DM Serif Display',Georgia,serif;font-size:1.6rem;font-weight:400;line-height:1.1;letter-spacing:-.025em;margin:0;color:#34502e}
.story-guidance-top>button{min-height:33px;padding:6px 0;font-size:.71rem;line-height:1.4;flex-shrink:0;color:#786047;text-decoration:underline;text-underline-offset:4px}
.story-bridge-label,#story-bridge{display:none}
.story-step-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.story-step-list>button{display:block;min-width:0;min-height:58px;padding:9px 0 7px;text-align:left;border-top:1px solid #aab99c;color:#5b7350}
.story-step-list small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.57rem;line-height:1.45;color:#71805e;margin-bottom:5px}
.story-step-list span{display:block;font-size:.73rem;line-height:1.35;overflow-wrap:break-word}
.story-step-list>button[aria-current='step']{color:#8e472c;border-top:2px solid #a76d4c;padding-top:8px}
.story-step-list>button[aria-current='step'] small{color:#8e6748}
.story-step-list>button:hover span{text-decoration:underline;text-underline-offset:3px}
.story-route-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}
.story-route-actions>button{padding:5px 0;min-height:30px;font-size:.72rem;line-height:1.4;color:#4b673b}
.story-route-actions>button:disabled{opacity:.35}
#story-route-position{font-family:'IBM Plex Mono',monospace;font-size:.6rem;white-space:nowrap;color:#6b7d58}
body.story-thread-active .zoom-story-steps{display:none!important}
.story-in-scene{margin:0 0 20px;padding:0 0 17px;border-bottom:1px solid #bbc6aa;color:#6d563b}
.story-in-scene>small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.57rem;line-height:1.5;letter-spacing:.04em;color:#8a6b4c;margin-bottom:8px}
.story-in-scene>p{font-size:.84rem;line-height:1.7;margin:0;color:#72583d}

.story-year-panel{border-top:1px solid #b5c3a4;border-bottom:1px solid #b5c3a4;padding:15px 18px;background:#e6e8d94d}
.story-year-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.story-year-heading small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.57rem;line-height:1.5;letter-spacing:.06em;color:#6c7c58;margin-bottom:5px}
.story-year-heading h3{display:inline-block;font-family:'DM Serif Display',Georgia,serif;font-size:1.9rem;font-weight:400;line-height:1;letter-spacing:-.03em;margin:0 13px 0 0}
.story-year-heading p{display:inline-block;font-size:.7rem;line-height:1.5;color:#657951;margin:0}
.story-year-heading>div:last-child{display:flex;align-items:center;gap:17px;flex-shrink:0}
.story-year-heading button{font-size:.72rem;line-height:1.4;min-height:33px;padding:6px 0;color:#557145}
.story-year-heading [data-year-close]{font-size:1.3rem;min-width:28px}
.story-year-intro{font-size:.84rem;line-height:1.7;max-width:760px;margin:16px 0 13px;color:#526b44}
.story-year-eras{display:flex;flex-wrap:wrap;gap:7px 18px;margin-bottom:12px}
.story-year-eras button{font-size:.73rem;min-height:31px;padding:5px 0;text-decoration:underline;text-underline-offset:4px;color:#7c5a3b}
.story-year-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px;max-height:220px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9fae88 #e5e8d7;border-bottom:1px solid #b9c6a9;padding:0 8px 0 0}
.story-year-records>button{position:relative;padding:11px 24px 12px 0;text-align:left;min-width:0;border-top:1px solid #bfcbb0;color:#38582f}
.story-year-records small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.58rem;line-height:1.6;color:#6c7c59;margin-bottom:5px}
.story-year-records strong{display:block;font-weight:400;font-size:.82rem;line-height:1.45}
.story-year-records>button>span{position:absolute;right:2px;top:18px;color:#8f704f;font-size:1rem}
.story-year-records>button:hover strong{text-decoration:underline;text-underline-offset:4px}
.story-year-note{font-size:.66rem;line-height:1.6;color:#788362;margin:12px 0 0;max-width:790px}

.story-present{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.8fr);gap:6vw;padding:35px 0 0;margin-top:28px;border-top:1px solid #bcc7af}
.story-present-heading>small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.6rem;line-height:1.6;letter-spacing:.035em;color:#71805f;margin-bottom:10px}
.story-present-heading h2{font-family:'DM Serif Display',Georgia,serif;font-size:2.3rem;font-weight:400;letter-spacing:-.04em;line-height:1.05;margin:0 0 13px}
.story-present-heading p{font-size:.85rem;line-height:1.7;margin:0;max-width:310px;color:#607451}
.story-present-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.story-present-links>a{display:block;min-width:0;padding:2px 0 0;text-decoration:none;color:#3d5d32}
.story-present-links strong{display:block;font-family:'DM Serif Display',Georgia,serif;font-size:1.35rem;font-weight:400;line-height:1.16;letter-spacing:-.025em;margin-bottom:9px;overflow-wrap:break-word}
.story-present-links span{display:block;font-size:.75rem;line-height:1.65;color:#647655;margin-bottom:13px}
.story-present-links small{display:block;font-size:.72rem;line-height:1.5;color:#8e5e3c;text-decoration:underline;text-underline-offset:4px}
.story-present-links a:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.story-entry button:focus-visible,.story-entry select:focus-visible,.story-present a:focus-visible{outline:2px solid #944a2d;outline-offset:4px}

@media(max-width:1000px){.story-entry-row{align-items:flex-start;gap:12px}.story-choices{gap:2px 13px}.story-choices>span{width:100%;font-size:.59rem}.story-choices>button{font-size:.74rem}.story-year-choice{gap:7px;padding-top:8px}.story-year-choice>span{font-size:.59rem}.story-year-choice select{font-size:.7rem;max-width:140px}.story-step-list{gap:9px}.story-step-list span{font-size:.68rem}.story-present{gap:4vw;grid-template-columns:minmax(190px,1fr) minmax(0,1.8fr)}.story-present-links{gap:15px}.story-present-links strong{font-size:1.2rem}.story-present-links span{font-size:.7rem}}
@media(max-width:760px){.story-entry{margin-bottom:14px}.story-entry-row{display:block;padding-bottom:11px}.story-choices{gap:3px 16px}.story-choices>span{width:auto}.story-choices>button{font-size:.73rem;min-height:31px}.story-year-choice{padding-top:8px;justify-content:space-between}.story-year-choice select{min-height:33px;max-width:none;width:170px}.story-guidance{padding:13px 13px 9px}.story-guidance-top{margin-bottom:9px}.story-guidance h3{font-size:1.4rem}.story-guidance-top small{font-size:.53rem}.story-guidance-top>button{font-size:.65rem}.story-step-list{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:12px;row-gap:0}.story-step-list>button{min-height:52px;padding:7px 0 6px}.story-step-list>button[aria-current='step']{padding-top:6px}.story-step-list small{font-size:.52rem;margin-bottom:3px}.story-step-list span{font-size:.65rem;line-height:1.3}.story-route-actions{margin-top:5px}.story-route-actions>button{font-size:.66rem;min-height:29px}#story-route-position{font-size:.56rem}.story-in-scene{margin-bottom:17px;padding-bottom:15px}.story-in-scene>small{font-size:.54rem}.story-in-scene>p{font-size:.8rem;line-height:1.65}.story-year-panel{padding:13px}.story-year-heading{gap:12px}.story-year-heading h3{font-size:1.65rem}.story-year-heading p{font-size:.64rem}.story-year-heading>div:last-child{gap:12px}.story-year-heading button{font-size:.66rem}.story-year-intro{font-size:.77rem;line-height:1.65;margin-top:13px}.story-year-records{grid-template-columns:1fr;max-height:200px}.story-year-records strong{font-size:.77rem}.story-year-records small{font-size:.55rem}.story-year-note{font-size:.61rem}.story-year-eras button{font-size:.67rem}.story-present{display:block;padding-top:26px;margin-top:23px}.story-present-heading h2{font-size:2rem}.story-present-heading p{max-width:500px;font-size:.8rem}.story-present-heading>small{font-size:.55rem}.story-present-links{margin-top:22px;gap:17px}.story-present-links strong{font-size:1.15rem}.story-present-links span{font-size:.69rem}.story-present-links small{font-size:.67rem}}
@media(max-width:480px){.story-choices{gap:0 13px}.story-choices>span{width:100%;font-size:.57rem}.story-choices>button{font-size:.69rem;min-height:31px}.story-year-choice>span{font-size:.59rem}.story-year-choice select{font-size:.71rem;width:155px}.story-guidance-top{gap:10px}.story-guidance h3{font-size:1.3rem}.story-guidance-top>button{font-size:.61rem}.story-guidance-top small{font-size:.49rem;letter-spacing:.04em}.story-step-list{column-gap:10px}.story-step-list span{font-size:.6rem}.story-step-list small{font-size:.49rem}.story-in-scene>p{font-size:.77rem}.story-year-heading p{display:block;margin-top:5px}.story-year-heading small{font-size:.5rem}.story-year-heading button{font-size:.63rem}.story-year-heading>div:last-child{gap:8px}.story-present-links{grid-template-columns:1fr;gap:0;margin-top:18px}.story-present-links>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 18px;padding:15px 0;border-top:1px solid #bcc8ac}.story-present-links strong{grid-column:1;font-size:1.25rem;margin:0}.story-present-links span{grid-column:1;font-size:.72rem;margin:0}.story-present-links small{grid-column:2;grid-row:1/3;align-self:center;max-width:100px;font-size:.67rem}}
@media(forced-colors:active){.story-guidance,.story-year-panel,.story-present,.story-step-list>button,.story-year-records>button{border-color:CanvasText}.story-step-list>button[aria-current='step']{outline:1px solid Highlight}.story-year-choice select{border-color:ButtonText}.story-in-scene{border-color:CanvasText}}
