/* Kingdom Quest v54: full-width Study Bible and readable navigation controls. */
body.embedded-study .study-workspace{padding-inline:clamp(18px,2.4vw,44px)}
body.embedded-study .study-workspace .study-path-tiles,
body.embedded-study .study-workspace .study-tabs,
body.embedded-study .study-workspace .study-panel{width:100%;max-width:none}
body.embedded-study .study-path-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
body.embedded-study .study-panel>*{max-width:none}

body.embedded-study .reader-controls{grid-template-columns:minmax(210px,1.25fr) minmax(230px,1.1fr) minmax(150px,.55fr) minmax(160px,auto);gap:14px;padding:18px;border:1px solid var(--border);background:rgba(4,14,30,.42)}
body.embedded-study .reader-controls label{gap:9px;font-size:1rem;font-weight:800}
body.embedded-study .reader-controls select{width:100%;min-height:58px;padding:0 16px;border:2px solid var(--border);font-size:1.08rem;font-weight:750}
body.embedded-study .reader-controls select:focus-visible{border-color:var(--gold);outline:3px solid rgba(246,189,69,.2);outline-offset:2px}
body.embedded-study .reader-controls .reader-button{min-height:58px;font-size:1rem}
body[data-design="broadcast"].embedded-study .reader-controls{border-color:#27425b;border-left:5px solid #ff3654;border-radius:0;background:#0b1928;box-shadow:8px 9px 0 #030911}
body[data-design="broadcast"].embedded-study .reader-controls label{color:#d5e1ed}
body[data-design="broadcast"].embedded-study .reader-controls select{border-color:#385672;border-radius:4px;background:#07121f;color:#fff}
body[data-design="broadcast"].embedded-study .reader-controls select:focus-visible{border-color:#ff3654;outline-color:rgba(255,54,84,.25)}
body[data-design="broadcast"].embedded-study .reader-controls .reader-button{border-radius:4px}

body.embedded-study #kidsPanel,
body.embedded-study #readerPanel,
body.embedded-study #overviewPanel,
body.embedded-study #wordsPanel{inline-size:100%}
body.embedded-study .kids-hero{width:100%;padding:clamp(20px,2.5vw,34px)}
body.embedded-study .kids-lesson-grid,
body.embedded-study .kids-learning-grid,
body.embedded-study .kids-library-grid,
body.embedded-study .custom-kids-lessons{width:100%}

@media(max-width:980px){
  body.embedded-study .reader-controls{grid-template-columns:1fr 1fr}
  body.embedded-study .reader-controls label:first-child{grid-column:1/-1}
  body.embedded-study .reader-controls .reader-button{width:100%}
}
@media(max-width:700px){
  body.embedded-study .study-workspace{padding-inline:12px}
  body.embedded-study .study-path-tiles{grid-template-columns:1fr}
  body.embedded-study .reader-controls{grid-template-columns:1fr;padding:14px;box-shadow:5px 6px 0 #030911}
  body.embedded-study .reader-controls label:first-child{grid-column:auto}
  body.embedded-study .reader-controls select{min-height:56px;font-size:1rem}
}
