.voice-study-entry{padding:14px 18px!important;margin:14px 0!important;background:#b44d3b!important;color:#fff8e8!important;border:1px solid #d3ae71!important;border-radius:4px!important;cursor:pointer;font:inherit}
.voice-study{box-sizing:border-box;width:min(1100px,96vw);max-height:92dvh;padding:0;border:1px solid #b59b6b;border-radius:10px;background:#f4eddd;color:#24494a;font:16px/1.7 system-ui,sans-serif;overflow:auto}
.voice-study::backdrop{background:#091b1cbb;backdrop-filter:blur(5px)}.voice-study *{box-sizing:border-box}.voice-study header{position:sticky;top:0;z-index:2;background:#193b3b;color:#fff4dc;padding:16px 24px;display:flex;justify-content:space-between;align-items:center;gap:14px}.voice-study h2{font:600 25px/1.4 system-ui;margin:0}.voice-study h3{font-size:21px;line-height:1.5}.voice-study button{font:inherit;padding:9px 16px;border:1px solid #af8c55;background:#fffaf0;color:#24494a;border-radius:4px;cursor:pointer}.voice-study button.primary{background:#a94736;color:#fff}.voice-study button:disabled{opacity:.5;cursor:default}.voice-study button:focus-visible,.voice-study input:focus-visible,.voice-study textarea:focus-visible{outline:3px solid #bd751c;outline-offset:3px}.voice-study-main{padding:24px}.voice-study-material{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px}.voice-study-material img{width:100%;max-height:460px;object-fit:contain;background:#e6decb}.voice-study details{margin:12px 0;border:1px solid #cabb9d;padding:10px 14px}.voice-study summary{cursor:pointer;font-weight:600}.voice-study .read-text{white-space:pre-line;max-height:330px;overflow:auto;line-height:1.9}.voice-study fieldset{border:0;margin:20px 0;padding:0}.voice-study legend{font-size:19px;font-weight:650;line-height:1.6;margin-bottom:12px}.voice-choice{display:flex;gap:12px;padding:12px;background:#fffaf2;border:1px solid #d5c4a5;border-radius:4px;margin:8px 0;cursor:pointer}.voice-choice input{margin-top:7px;flex-shrink:0}.voice-study textarea{font:inherit;width:100%;min-height:120px;padding:12px;border:1px solid #bfa578;border-radius:4px;background:#fffdf8;color:#24494a}.voice-study .toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.voice-study-feedback{padding:20px;background:#fffaf1;border-left:4px solid #a94736}.voice-study-feedback ul{padding-left:22px}.voice-study .muted{font-size:14px;color:#596963}.voice-study .error{color:#9c3524;font-weight:600}.voice-study audio{width:100%}.voice-study .saved-answer{white-space:pre-wrap;overflow-wrap:anywhere}.voice-study .feedback-reason{padding:8px 0;border-bottom:1px solid #ddd0b9}.voice-study .material-note{background:#e7e0cd;padding:10px 14px}
.voice-study header button{flex-shrink:0;white-space:nowrap}
.voice-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}.voice-library-card{padding:16px;border:1px solid #cabb9d;background:#fffaf1}.voice-library-card img{width:100%;height:170px;object-fit:contain;background:#e6decb}.voice-library-card h3{margin:10px 0}.voice-library-card p{font-size:14px}.voice-library-card button{width:100%}
.voice-locked-poster{height:170px;display:grid;place-items:center;background:#e6decb;color:#596963}.voice-study button[aria-disabled=true]{background:#e8e1d2;color:#626a61}
@media(max-width:700px){.voice-study{width:98vw;max-height:96dvh}.voice-study header{padding:12px 16px}.voice-study h2{font-size:21px}.voice-study-main{padding:16px}.voice-study-material{grid-template-columns:1fr}.voice-study-material img{max-height:280px}.voice-study button{min-height:44px}}
.voice-study{width:calc(100vw - 28px);max-width:none;height:calc(100dvh - 28px);max-height:none;margin:auto;font-size:16px;line-height:1.65}
.voice-study header{padding:12px 22px}.voice-study h2{font-size:23px}.voice-study h2 small{display:block;font:400 13px/1.6 system-ui;color:#dfceac}
.voice-study-main{padding:18px 22px}.voice-study-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.15fr);gap:22px;align-items:start}
.voice-study-workspace>section{min-width:0}.voice-study .read-text{max-height:none;overflow:visible;line-height:1.85;overflow-wrap:anywhere}.voice-study h3{font-size:18px;margin:0 0 10px}.voice-study .text-block{padding:14px;background:#fffaf1;border:1px solid #dacbb0;margin-bottom:14px}.voice-study figure{margin:0 0 14px}.voice-study figcaption{font-size:13px;line-height:1.6;color:#596963;margin-top:6px}.voice-study .voice-image-button{width:100%;display:block;padding:0;border:1px solid #bfa578;background:#e6decb;overflow:hidden}.voice-image-button img{display:block;width:100%;height:200px;object-fit:contain}.voice-image-button span{display:block;padding:5px;background:#193b3b;color:#fff4dc;font-size:14px}.voice-study audio{height:42px;margin:0 0 10px}.voice-study .material-note{margin:0 0 12px;padding:9px 12px;font-size:14px}.voice-study fieldset{margin:0 0 16px}.voice-study legend{font-size:17px;margin-bottom:6px}.voice-study .voice-choice{margin:6px 0;padding:8px 10px;gap:9px;line-height:1.6}.voice-study textarea{min-height:88px;padding:9px}.voice-study .muted{margin:6px 0}.voice-study .toolbar{margin:12px 0 0}.voice-study .toolbar button{font-size:14px;padding:7px 10px}.voice-study-feedback{padding:14px}.voice-study-feedback>button.primary{width:100%;margin-bottom:14px}.voice-study-feedback p{margin:10px 0}.voice-study .other-reasons{margin:16px 0}.voice-study .other-reasons h3{font-size:16px}
.voice-image-viewer{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-width:none;max-height:none;padding:0;margin:auto;border:1px solid #b59b6b;background:#101c1b;color:#fff4dc;overflow:hidden;font:16px/1.5 system-ui}.voice-image-viewer::backdrop{background:#061311ed}.voice-image-viewer[open]{display:flex;flex-direction:column}.voice-image-viewer header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 18px;background:#193b3b}.voice-image-viewer header>div{display:flex;align-items:center;gap:8px;flex-shrink:0}.voice-image-viewer button{font:inherit;min-height:42px;padding:6px 12px;border:1px solid #bfa578;border-radius:4px;background:#fffaf0;color:#24494a;cursor:pointer}.voice-image-viewer button:disabled{opacity:.5}.voice-image-viewer output{min-width:52px;text-align:center}.voice-image-viewer p{margin:8px 16px;font-size:14px}.voice-image-viewport{flex:1;min-height:0;overflow:auto;cursor:grab;overscroll-behavior:contain;touch-action:pan-x pan-y}.voice-image-viewport:active{cursor:grabbing}.voice-image-viewport img{display:block;max-width:none;max-height:none;height:auto;margin:16px auto;user-select:none}.voice-image-viewer button:focus-visible,.voice-image-viewport:focus-visible{outline:3px solid #e9ac4b;outline-offset:2px}
@media(min-width:1800px){.voice-study-workspace{grid-template-columns:1fr .9fr 1.1fr;gap:28px}.voice-study{font-size:17px}.voice-study .voice-choice{padding:10px 12px}.voice-image-button img{height:240px}}
@media(max-width:1100px){.voice-study-workspace{grid-template-columns:1fr 1fr;gap:18px}.voice-answer-column{grid-column:1/-1}.voice-study h2{font-size:21px}}
@media(max-width:650px){.voice-study{width:100vw;height:100dvh;border-radius:0}.voice-study header{padding:10px 12px}.voice-study h2{font-size:18px}.voice-study-main{padding:12px}.voice-study-workspace{grid-template-columns:1fr;gap:12px}.voice-answer-column{grid-column:auto}.voice-study header button{padding:7px 10px}.voice-image-viewer{width:100vw;height:100dvh}.voice-image-viewer header{align-items:flex-start;flex-direction:column;padding:10px}.voice-image-viewer header>div{gap:6px;flex-wrap:wrap}.voice-image-viewer button{padding:6px 9px}}
.voice-image-viewport img{transition:none!important;animation:none!important}
/* Balance the available reading space without shrinking text or cropping originals. */
.voice-study [data-exposure=narration] .read-text{line-height:1.65;white-space:pre-line;font-size:16px}
@media(min-width:1101px){
 .voice-study-workspace{align-items:stretch;min-height:calc(100dvh - 142px)}
 .voice-reading-column,.voice-source-column,.voice-answer-column{display:flex;flex-direction:column}
 .voice-study .voice-reading-column .text-block{display:flex;flex-direction:column;padding:18px 20px}
 .voice-reading-column [data-exposure=modern]{flex:0 0 auto}
 .voice-reading-column [data-exposure=original]{flex:1.45;margin-bottom:0}
 .voice-study .voice-reading-column .read-text{line-height:2.05}
 .voice-study .voice-reading-column [data-exposure=original] .read-text{line-height:clamp(30px,3.1dvh,40px)}
 .voice-study .voice-image-button img{height:clamp(300px,37dvh,490px)}
 .voice-source-column [data-exposure=narration]{margin-bottom:0;flex:1}
 .voice-study .voice-answer-column form{display:flex;flex-direction:column;flex:1}
 .voice-study .voice-answer-column textarea{flex:1;min-height:140px;resize:vertical}
 .voice-study .voice-answer-column .voice-choice{padding:clamp(10px,1.2dvh,16px) 12px}
 .voice-study .voice-answer-column button[type=submit]{width:100%;margin-top:4px}
 .voice-study .voice-answer-column [data-save-status]:empty,.voice-study .voice-answer-column [data-error]:empty{display:none}
 .voice-study .voice-answer-column .toolbar{margin-top:12px}
 .voice-study .voice-answer-column .toolbar button{flex:1}
 .voice-study .voice-reading-column .read-text{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:8px;white-space:normal}
 .voice-reading-column .reading-line{display:block;white-space:pre-wrap}
 .voice-study .voice-reading-column [data-exposure=modern] .read-text{justify-content:flex-start;font-size:18px;line-height:2.2;gap:14px}
 .voice-source-column>figure,.voice-source-column>h3,.voice-source-column>audio{flex-shrink:0}
 .voice-study-workspace:has(.voice-study-feedback){align-items:start}
 .voice-study-workspace:has(.voice-study-feedback) .voice-reading-column{min-height:calc(100dvh - 142px)}
}
.voice-reading-column .reading-line{display:block}
@media(min-width:1101px) and (max-width:1799px){
 .voice-study .voice-reading-column .text-block{padding:14px 16px}
 .voice-study .voice-reading-column [data-exposure=modern] .read-text{font-size:16px;line-height:1.85;gap:8px}
 .voice-study .voice-reading-column [data-exposure=original] .read-text{line-height:1.85;gap:5px}
 .voice-study .voice-image-button img{height:clamp(270px,30dvh,360px)}
 .voice-study .voice-answer-column .voice-choice{padding:8px 10px}
 .voice-study [data-exposure=narration] .read-text{line-height:1.6}
}

/* Keep transcript visible; highlight without scrolling or hiding other material. */
.voice-study .voice-listen-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 6px}
.voice-study .voice-listen-tools button,.voice-study .voice-listen-tools label{font-size:13px;padding:5px 8px;line-height:1.5;min-height:34px}
.voice-study .voice-listen-tools label{display:flex;align-items:center;gap:5px}
.voice-study .voice-listen-tools select{font:inherit;color:#24494a;background:#fffaf0;border:1px solid #af8c55;border-radius:4px;padding:4px}
.voice-study .voice-listen-status{margin:4px 0 10px;font-size:13px;color:#48605a;line-height:1.5;min-height:20px}
.voice-study .voice-resume{font-size:13px;padding:5px 9px;margin:0 0 4px}
.voice-study [hidden]{display:none!important}
.voice-study button.voice-cue{display:block;width:100%;text-align:left;white-space:normal;border:0;border-left:3px solid transparent;border-radius:2px;background:transparent;margin:0;padding:5px 8px;font-size:15px;line-height:1.65;color:inherit}
.voice-study button.voice-cue:hover{background:#eee3cd}
.voice-study button.voice-cue.is-current{border-left-color:#a94736;background:#f3e3c8}
.voice-study .voice-cue-meta{display:block;font-size:11px;line-height:1.5;color:#6d7165;margin-bottom:2px}
.voice-study [data-exposure=narration] .read-text:has(.voice-cue){white-space:normal}
.voice-study .voice-listen-tools select:focus-visible{outline:3px solid #bd751c;outline-offset:2px}
@media(max-width:650px){.voice-study .voice-listen-tools button,.voice-study .voice-listen-tools select{min-height:44px}.voice-study button.voice-cue{padding:8px;font-size:16px}}

.voice-study.exhibition-reading{width:min(1460px,96vw)}
.exhibition-reading .voice-study-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.exhibition-reading .voice-reading-column,.exhibition-reading .voice-source-column{min-width:0}
.exhibition-reading .read-text{max-height:none}
.exhibition-reading .voice-image-button img{height:300px}
.exhibition-reading-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.exhibition-reading-library>button{display:grid;grid-template-columns:100px 1fr;gap:8px 16px;text-align:left;align-items:center}
.exhibition-reading-library img{width:100px;height:120px;object-fit:contain;grid-row:span 2;background:#e6decb}
.exhibition-reading-library small{font-size:13px;color:#65716a;line-height:1.6}
.exhibition-reading-nav{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #b8a888;padding-top:18px;margin-top:18px}
@media(max-width:750px){.exhibition-reading .voice-study-workspace,.exhibition-reading-library{grid-template-columns:1fr}.exhibition-reading .voice-image-button img{height:260px}}
.voice-study.exhibition-reading[open]{display:block;grid-template-columns:none}.exhibition-reading>header{width:100%}
.voice-study:not([open]),.voice-image-viewer:not([open]),.letter-film-dialog:not([open]){display:none!important}

.exhibition-reading-nav:has([data-guided-continue]){position:sticky;bottom:0;z-index:5;padding:14px;background:#f7eddbf5;box-shadow:0 -3px 14px #193b3b22;align-items:center}.guided-reading-hint{flex:1;min-width:220px;margin:0;font-size:14px}.exhibition-reading-nav button:disabled{opacity:.55;cursor:default}

.required-media-reminder{padding:14px 18px;border:1px solid #bd975d;border-radius:4px;background:#fff0d4;color:#8b442b;font-weight:600}
