.study-story-panel{margin:24px 0 0;padding:25px 30px;background:linear-gradient(110deg,#ede1c8,#f6efdf 65%,#e3d5b5);border:1px solid #b4a176;box-shadow:inset 5px 0 #9c7850;color:#4d574b;display:grid;grid-template-columns:1fr auto;gap:14px 25px}.study-story-panel h2{font:30px StudyKai,KaiTi,serif;margin:7px 0}.study-story-panel p{font-size:14px;line-height:1.8;margin:6px 0}.study-story-panel small,.story-panel-stats{color:#88754f;font-size:12px}.story-panel-actions{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:8px}.story-panel-stats{grid-column:1/-1}.study-story-panel button,.story-teaser button,.story-content button{font:inherit;font-size:14px;min-height:44px;padding:10px 15px;background:#f7efdc;border:1px solid #bdab80;border-radius:4px;color:#526455;cursor:pointer}.story-primary,.study-story-panel .story-primary,.story-content .story-primary{background:#354f45;color:#faf3dd;border-color:#354f45}.story-content button:hover,.study-story-panel button:hover{filter:brightness(.94)}.story-content button:disabled{opacity:.5;cursor:default}.story-content button[aria-pressed=true]{background:#395a4d;border-color:#395a4d;color:#fff5dc}.story-teaser{padding:15px 22px;border-top:1px solid #b3a47755;border-bottom:1px solid #b3a47755;background:#e5dfcc55}.story-teaser small{color:#8b754f;font-size:12px}.story-teaser p{font-size:13px;line-height:1.8;margin:7px 0}.story-teaser button{padding:7px 12px;min-height:40px;font-size:12px}.story-content{font-size:16px;line-height:1.9}.story-content p{white-space:pre-line}.story-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;padding-bottom:15px;border-bottom:1px solid #b6a98a}.story-tabs button{flex:1;white-space:nowrap;min-height:44px;font-size:13px;padding:8px 12px}.story-case-card,.story-evidence{border:1px solid #c4b592;padding:17px 20px;margin:15px 0;background:#f5ecd966;box-shadow:inset 3px 0 #ac8b4f}.story-case-card h3,.story-evidence h3{font:23px StudyKai,KaiTi,serif;margin:3px 0 9px}.story-case-card small,.story-evidence small{font-size:12px;color:#8c6f3d}.story-case-card p,.story-evidence p{font-size:14px;line-height:1.9}.story-evidence button{margin:3px 6px 0 0}.story-people{display:grid;grid-template-columns:1fr 1fr;gap:12px}.story-people article{padding:20px;border:1px solid #c5b18a;background:radial-gradient(ellipse at top,#d3d9c5,#f6ecdb);text-align:center}.story-people article>span{display:grid;place-items:center;border:1px solid #9b8662;border-radius:50%;width:57px;height:57px;margin:auto;color:#647057;font:30px StudyKai,KaiTi,serif;background:#e7dfc7}.story-people h3{margin:9px 0 2px;font:24px StudyKai,KaiTi,serif}.story-people small{font-size:12px}.story-topics,.story-conclusions,.story-verse-list,.story-daily-board{display:grid;gap:10px;margin:18px 0}.story-topics button,.story-conclusions button,.story-verse-list button,.story-daily-board button{text-align:left;line-height:1.7}.story-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.story-verse{margin:24px 0 15px;padding:22px;background:#ede2c9;border-left:4px solid #9a7c47}.story-verse>small{color:#87704c;font-size:12px}.story-verse h3{font:24px StudyKai,KaiTi,serif;margin:6px 0 20px}.story-verse p{font:22px/2.3 StudyKai,KaiTi,serif;letter-spacing:.05em;margin:4px 0}.story-verse rt{font:11px/1.2 system-ui,sans-serif;letter-spacing:0;color:#835d38}.story-verse a,.story-content>a{font-size:12px;color:#78603b}.story-gloss{padding:12px 16px;border:1px solid #c6b58f;font-size:14px}.story-gloss summary{cursor:pointer;min-height:30px;font-weight:bold;color:#6c5b3e}.story-notice{font-size:12px!important;color:#89775a}.story-status,.story-success{padding:10px 15px;background:#d6e0ce;color:#354e3c}.story-daily-board output{padding:15px;text-align:center;font:25px StudyKai,KaiTi,serif;border:1px solid #ac956b;background:#e7dec8}.story-daily-board ol{min-height:45px;background:#e8e1d1;padding:15px 15px 15px 40px}.story-daily-board li{margin:10px 0}#story-observe{border-color:#806c45;color:#5f522e;background:#e7d7b2}#study-story-open{background:#e6d6b4;color:#60552e;border-color:#bda572}.story-content blockquote{margin:20px 0;border-left:3px solid #af8d50;padding:15px 20px;background:#e4dfcf}.study-story-panel button:focus-visible,.story-content button:focus-visible{outline:3px solid #61745b;outline-offset:3px}@media(max-width:650px){.study-story-panel{display:block;padding:20px 17px}.story-panel-actions{margin-top:16px}.study-story-panel h2{font-size:27px}.story-people{gap:8px}.story-people article{padding:16px 10px}.story-people button{padding:8px 10px;font-size:13px}.story-tabs{gap:5px}.story-tabs button{flex:1 0 28%;font-size:13px;padding:8px}.story-verse{padding:18px 14px}.story-verse p{font-size:19px;line-height:2.4;letter-spacing:0}.story-case-card,.story-evidence{padding:15px}.story-content{font-size:15px}.story-pair button{font-size:13px;padding:10px 8px}.story-teaser{padding:13px 18px}.story-panel-stats{margin-top:15px!important}.story-content h3{font-size:21px}}[data-theme=dark] .study-story-panel,[data-theme=dark] .story-teaser{background:#272f29;color:#d6d3bc}[data-theme=dark] .story-content{color:#d6d3bc}[data-theme=dark] .story-case-card,[data-theme=dark] .story-evidence,[data-theme=dark] .story-verse,[data-theme=dark] .story-people article{background:#31382d;color:#e4ddc4}[data-theme=dark] .story-content button{background:#3e483c;color:#e7dec2}[data-theme=dark] .story-content button[aria-pressed=true]{background:#8a794d;color:#fff}[data-theme=dark] .story-status,[data-theme=dark] .story-success{background:#354633;color:#e0e5cc}

#dialog-body.story-content>p{font-size:16px;line-height:1.95}#dialog-body.story-content .story-verse p{font:22px/2.1 StudyKai,KaiTi,serif;letter-spacing:.04em;margin:5px 0}#dialog-body.story-content .story-gloss p{font-size:15px;line-height:1.9}#dialog-body.story-content .story-verse a{display:inline-flex;align-items:center;min-height:32px}@media(max-width:650px){#dialog-body.story-content>p{font-size:15px}#dialog-body.story-content .story-verse p{font-size:20px;line-height:2.1;letter-spacing:0}}

#study-dialog:has(.story-content)>header{position:sticky;top:0;z-index:6;background:#f3ebdc;padding-top:7px;padding-bottom:9px}#study-dialog:has(.story-content)>header button{min-width:44px;min-height:44px}[data-theme=dark] #study-dialog:has(.story-content)>header{background:#282e28}
