@font-face{font-family:'Synoida Inter';src:url('../assets/fonts/Inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Synoida Comfortaa';src:url('../assets/fonts/Comfortaa.woff2') format('woff2');font-weight:300 700;font-display:swap}
:root{--green:#8dc63f;--red:#ed1c24;--blue:#00aeef;--orange:#f7941d;--grey:#58595b;--line:#e5e7eb;--shadow:0 1px 2px #58595b0f,0 3px 10px #58595b0f;font-family:'Synoida Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--grey);background:#fff;font-synthesis:none}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #225a95;outline-offset:4px}a{color:#22677f}button:disabled{cursor:default}h1,h2,h3,p{overflow-wrap:break-word}main:focus{outline:none}.skip{position:absolute;top:-60px;left:16px;background:white;padding:12px;z-index:20}.skip:focus{top:10px}
.header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 22px 14px;padding:18px 0 12px;border-bottom:1px solid var(--line)}.logo{height:74px;width:auto}.identity{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}.identity strong{font-size:19px;letter-spacing:.08em;font-weight:600}.identity small{font-size:10px;letter-spacing:.12em;color:#6f7173;font-weight:500;text-transform:uppercase}main{width:min(1160px,100%);margin:0 auto;flex:1;padding:0 22px 24px}footer{margin:16px 22px 0;border-top:1px solid var(--line);padding:16px 0 20px;display:flex;justify-content:center;flex-wrap:wrap;gap:6px 24px;font-size:11px;color:#737577;text-align:center}
.home{text-align:center;padding:0 0 32px}.home h1{font-size:42px;font-weight:600;letter-spacing:-.01em;margin:22px 0 6px}.home-sub{font-size:16px;margin:0 0 32px;color:#737577}.section-label{font-size:13px;letter-spacing:.13em;text-transform:uppercase;margin:26px 0 18px;font-weight:600}.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:900px;margin:0 auto}.category{border:2px solid var(--line);border-top:5px solid var(--accent);border-radius:20px;background:#fff;padding:28px 18px;box-shadow:var(--shadow);color:var(--grey);display:flex;flex-direction:column;align-items:center;gap:16px;transition:transform .15s,border-color .15s}.category:hover{transform:translateY(-3px);border-color:var(--accent)}.category strong{font-size:21px;font-weight:600;line-height:1.4}.category small{font-size:13px;color:#737577}.category-symbol{display:grid;place-items:center;background:var(--soft);color:var(--accent-dark);width:86px;height:86px;border-radius:24px}.category-symbol .icon{width:43px;height:43px;stroke-width:1.6}.home-bottom{margin-top:34px}.home-bottom button{font-size:13px}
.icon{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;min-height:48px;padding:10px 18px;font-size:15px;font-weight:600;line-height:1.15;background:var(--grey);color:white;box-shadow:0 1px 2px #58595b14,0 4px 12px #58595b14;transition:transform .14s,filter .14s;text-decoration:none}.btn:hover{transform:translateY(-1px);filter:brightness(1.035)}.btn:active{transform:translateY(1px) scale(.98)}.btn.home-btn{background:var(--green);color:#283b12}.btn.settings-btn{background:var(--red)}.btn.new{background:var(--orange);color:#422606}.btn.neutral{background:white;color:var(--grey);border:2px solid var(--line);box-shadow:none}.btn.full{width:100%}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.toolbar-start,.toolbar-end{display:flex;flex-wrap:wrap;gap:9px}.toolbar-end{justify-content:flex-end}.page-title{font-size:29px;font-weight:600;line-height:1.3;margin:14px 0 8px;text-align:center}.eyebrow{text-align:center;font-size:12px;color:#737577;margin:0 0 18px}.filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0 20px}.search{flex:1;min-width:180px;min-height:46px;padding:10px 14px;border:1px solid #c9ced3;border-radius:12px;background:white;color:var(--grey)}select{min-height:46px;padding:10px;border:1px solid #c9ced3;border-radius:12px;background:white;color:var(--grey)}.story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.story-tile{text-align:left;display:flex;flex-direction:column;gap:12px;min-height:144px;border:1px solid var(--line);border-radius:18px;border-top:3px solid var(--accent);background:white;color:var(--grey);padding:18px;box-shadow:var(--shadow)}.story-tile:hover{border-color:var(--accent);background:var(--soft)}.story-tile small{font-size:12px;color:#737577}.story-tile strong{font-weight:600;font-size:17px;line-height:1.5}.empty{text-align:center;padding:35px}
.scene-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:28px;align-items:start;margin-top:22px}.scene-media{min-height:215px;border:2px dashed #dce1e5;border-radius:20px;display:grid;place-items:center;align-content:center;gap:10px;background:#fafbfc;text-align:center;padding:20px;color:#737577}.scene-media .media-mark{display:grid;place-items:center;width:66px;height:66px;border-radius:18px;background:white;border:1px solid var(--line);color:#a1a9b1}.scene-media .icon{width:28px;height:28px;stroke-width:1.3}.scene-media span{font-size:13px}.scene-context{font-size:22px;line-height:1.65;margin:18px 0}.question{font-size:24px;font-weight:600;margin:0 0 18px}.choices{display:grid;gap:12px}.choice{display:flex;align-items:center;gap:15px;width:100%;text-align:left;background:white;border:2px solid var(--line);border-radius:16px;min-height:72px;padding:14px 17px;box-shadow:var(--shadow);color:var(--grey);line-height:1.55;font-size:19px}.choice:hover{border-color:var(--blue);background:#f4fbfe}.choice-num{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:10px;background:#f1f3f5;color:#58595b;font-size:18px;font-weight:650}.scene-count{font-size:12px;color:#737577;white-space:nowrap}.selected-answer{border-left:4px solid var(--blue);background:#f2faff;border-radius:0 14px 14px 0;padding:16px 20px;font-size:20px;line-height:1.55;margin:20px 0}.selected-answer small{display:block;font-size:12px;color:#687078;margin-bottom:6px}.outcome-title{text-align:center;font-size:26px;margin:25px 0 4px;font-weight:600}.outcome-sub{text-align:center;margin:0 0 22px;font-size:14px;color:#737577}.outcomes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.outcome{border:1px solid var(--line);border-radius:20px;padding:17px;box-shadow:var(--shadow)}.outcome h3{font-size:13px;color:#737577;font-weight:500;margin:0 0 12px}.outcome .scene-media{min-height:175px;background:#fafbfc}.outcome p{font-size:21px;line-height:1.6;margin:15px 2px 5px}.outcome-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:25px 0}.feedback{text-align:center;background:#f6f8f3;border-radius:14px;padding:15px;font-size:17px;line-height:1.55}.safety-line{font-size:15px;line-height:1.6;text-align:center;color:#61676e}.notes{border:1px solid var(--line);border-radius:14px;padding:18px;margin:24px 0;background:#fafbfc;font-size:14px;line-height:1.8}.notes h2{font-size:16px;margin:0 0 10px}.notes p{margin:7px 0}.draft-note{max-width:800px;margin:18px auto;padding:15px 20px;border-radius:14px;background:#fff8eb;color:#6d5228;font-size:14px;line-height:1.7}.review-item{border:1px solid var(--line);border-radius:16px;margin:12px 0;padding:0 18px}.review-item summary{cursor:pointer;padding:18px 0;font-size:17px;line-height:1.5}.review-body{padding:0 0 20px}.review-body>p{font-size:18px;line-height:1.65}.review-choice{padding:14px 18px;border-radius:12px;background:#f6f7f8;margin:12px 0}.review-choice strong{display:block;font-size:16px;line-height:1.6}.review-choice ul{padding-left:22px;line-height:1.8}.review-goal{font-size:14px!important;color:#626b72}.review-flag{font-size:12px;color:#84550f;background:#fff2d8;padding:8px 12px;border-radius:10px;line-height:1.6}.review-count{font-size:13px;color:#737577}.screen-reader{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
dialog{border:0;color:var(--grey)}#settings{margin:0 0 0 auto;width:min(390px,94vw);height:100vh;max-height:100dvh;max-width:94vw;padding:24px;border-left:1px solid var(--line);box-shadow:-12px 0 40px #2632442e;overflow-y:auto}dialog::backdrop{background:#26324455}.drawer-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:30px}.drawer-head h2{font-size:19px;line-height:1.4;margin:0}.icon-button{min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:var(--grey);border-radius:50%;font-size:25px}.setting{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:18px 0}.setting strong{font-size:15px;font-weight:600}.setting small{display:block;font-size:12px;line-height:1.5;color:#737577;margin-top:5px}.setting input[type=checkbox]{width:23px;height:23px;accent-color:#6a9d27;flex:none}.drawer-note{font-size:13px;line-height:1.7;color:#737577}.drawer-version{font-size:12px;color:#737577}.drawer-head~.btn{margin-top:24px}.large-text .scene-context,.large-text .choice,.large-text .outcome p{font-size:25px}.error{border:1px solid #ed1c24;padding:24px;border-radius:16px;line-height:1.7}
@media(max-width:900px){.story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category strong{font-size:18px}.scene-layout{gap:20px}.choice{font-size:18px}.scene-context{font-size:20px}.toolbar{gap:8px}.btn{padding:10px 13px}.scene-count{display:none}}
@media(max-width:650px){.header{margin:0 16px 14px;padding-top:14px}.logo{height:55px}.identity strong{font-size:16px}.identity small{font-size:8px;letter-spacing:.06em}main{padding:0 16px 20px}.home h1{font-size:31px}.home-sub{font-size:14px}.categories{grid-template-columns:1fr;gap:14px;max-width:420px}.category{flex-direction:row;text-align:left;padding:18px;border-top:2px solid var(--line);border-left:5px solid var(--accent);gap:18px}.category-symbol{width:64px;height:64px;flex:none;border-radius:18px}.category-symbol .icon{width:32px;height:32px}.category strong{font-size:19px;flex:1}.category small{font-size:11px;max-width:65px}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-tile{padding:14px;min-height:135px}.story-tile strong{font-size:16px}.toolbar{align-items:flex-start;flex-wrap:wrap}.toolbar-start,.toolbar-end{gap:7px}.btn{font-size:13px;min-height:46px;padding:9px 12px}.page-title{font-size:24px}.scene-layout{grid-template-columns:1fr;gap:8px}.scene-media{min-height:140px}.scene-media .media-mark{width:44px;height:44px}.scene-media .icon{width:22px;height:22px}.scene-context{font-size:20px;margin:14px 0}.question{font-size:22px;margin-bottom:14px}.choice{font-size:18px;min-height:72px;padding:12px}.outcomes{grid-template-columns:1fr;gap:16px}.outcome .scene-media{min-height:145px}.outcome p{font-size:20px}.selected-answer{font-size:18px}.outcome-title{font-size:23px}.home-bottom{margin-top:24px}.review-item{padding:0 12px}.review-choice{padding:12px}.large-text .choice,.large-text .scene-context,.large-text .outcome p{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Story artwork: explicit ID mappings; no generated assets used as generic substitutes. */
.scene-media.with-art{width:100%;height:330px;min-height:0;padding:6px;display:block;position:relative;border:1px solid var(--line);background:#fff;overflow:hidden}
.scene-media.with-art img{display:block;width:100%;height:100%;object-fit:contain}
.scene-media.with-art .zoom-hint{position:absolute;right:10px;bottom:10px;width:38px;height:38px;display:grid;place-items:center;background:white;border:1px solid var(--line);border-radius:12px;font-size:25px;color:var(--grey)}
.outcome .scene-media.with-art{height:265px;min-height:0}
#picture-dialog{width:min(800px,94vw);max-width:94vw;max-height:94dvh;border:1px solid var(--line);border-radius:24px;padding:20px;overflow:auto;box-shadow:0 16px 80px #0002}
#picture-dialog::backdrop{background:#26324488}.picture-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.picture-head h2{margin:0;font-size:18px}#picture-large{display:block;width:100%;height:min(66dvh,680px);object-fit:contain;margin-top:12px}#picture-caption{font-size:18px;line-height:1.6;margin:15px 0 0}
@media(max-width:650px){.scene-media.with-art{height:270px}.outcome .scene-media.with-art{height:245px}#picture-dialog{padding:14px}#picture-caption{font-size:16px}}

/* Only visual image descriptions follow this preference; choices stay visible. */
.hide-captions .scene-context,.hide-captions .outcome>p,.hide-captions #picture-caption{display:none}

/* Loading recovery remains available even when image captions are hidden. */
.media-recovery{min-height:330px;border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;background:#fafbfc}
.media-recovery p{font-size:17px;line-height:1.6;margin:0}
.outcome .media-recovery{min-height:265px}
#picture-recovery{min-height:240px;margin-top:12px}
#picture-loading{min-height:200px;display:grid;place-items:center;text-align:center}
@media(max-width:650px){.media-recovery{min-height:270px}.outcome .media-recovery{min-height:245px}}

.update-notice{width:min(1116px,calc(100% - 32px));margin:0 auto 20px;padding:14px 18px;background:#f3f8e9;border:1px solid #a6c776;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#354922}
.update-notice p{margin:0;font-size:15px;line-height:1.5}.update-notice>div{display:flex;gap:8px;flex-wrap:wrap}
.app-update{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.app-update h3{font-size:15px;margin:0 0 8px}.app-update p{font-size:12px;line-height:1.5;color:#62676c;margin:8px 0 12px}.app-update .btn{font-size:14px}
[aria-disabled="true"]{opacity:.65;cursor:wait}
@media(max-width:650px){.update-notice{align-items:flex-start;flex-direction:column}}
