.v7-switch{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:18px 0}.v7-switch span{font:11px/1.5 Arial,sans-serif;letter-spacing:1px;color:#86643c;margin-right:auto}.v7-switch button{padding:11px 17px;border:1px solid #d7c8b3;border-radius:24px;background:#f4f5f7;color:#344563}.v7-switch button[aria-pressed=true]{background:#344563;color:#f4f5f7;border-color:#344563}.v7-interactive{width:100%;border:0;display:block;min-height:600px}.v7-frame-panel[hidden]{display:none}.v7-return{display:block;margin:10px 0 22px;text-align:right;color:#344563;text-decoration:underline}.v7-switch button:focus-visible{outline:3px solid #a68042;outline-offset:3px}

.v7-frame-panel.reading-expanded{position:fixed;inset:0;z-index:2147483640;width:100%;height:100vh;height:100dvh;margin:0!important;padding:0!important;background:#f4f5f7;overflow:hidden}
.v7-frame-panel.reading-expanded .v7-interactive{height:100%!important;min-height:0}
.v7-frame-panel.reading-expanded .v7-return{display:none}

/* Hide retired outer controls at first paint; bottom navigation remains available. */
.reader-heading .verse-jump,.reader-wrap>.reader-nav:not(.bottom-nav){display:none}
.has-player-navigation .reader-wrap>.study-navigation{border:1px solid var(--line);border-radius:12px}

.study-navigation .study-introduction{flex:0 0 100%;min-width:0}
.study-introduction h2{margin:0 0 4px;font:600 16px/1.4 Arial,sans-serif;color:var(--maroon)}
.study-introduction p{margin:0;font-size:14px;line-height:1.5;color:var(--muted,#6b625a)}

/* Retired nearby/pilot strip: suppress before reader JavaScript loads. */
.nearby-verses,.pilot-navigation{display:none}

/* The retired jump selector no longer needs reserved heading space. */
.reader-heading>div:first-child{flex:1;min-width:0}
.reader-heading h1{max-width:none;overflow-wrap:break-word}

.mobile-study-toggle{display:none}
@media(max-width:760px), (max-width:1024px) and (pointer:coarse){
.mobile-reader-trial .study-navigation{padding:8px 14px;margin-bottom:20px}
.mobile-reader-trial .mobile-study-toggle{display:block;min-height:44px;width:100%;text-align:left;color:var(--maroon);font-weight:600}
.mobile-reader-trial .study-navigation:not(.mobile-open)>:not(.mobile-study-toggle){display:none}
.mobile-reader-trial .reader-heading{margin-bottom:18px}
}

/* Keep practice beside the study heading, including the compact mobile view. */
.study-introduction-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.study-introduction-heading h2{margin:0}.study-introduction-heading .study-practice-action{flex:none;width:auto;min-height:44px;padding:10px 16px;margin:0;font-size:14px;line-height:1.4;white-space:nowrap}
@media(max-width:760px), (max-width:1024px) and (pointer:coarse){.mobile-reader-trial .study-navigation:not(.mobile-open)>.study-introduction{display:block}.mobile-reader-trial .study-navigation:not(.mobile-open) .study-introduction>p{display:none}.study-introduction-heading{gap:8px}.study-introduction-heading h2{font-size:15px}.study-introduction-heading .study-practice-action{padding:10px 12px;font-size:13px}}
@media(max-width:360px){.study-introduction-heading{flex-wrap:wrap}}

/* Two compact rows: practice above the visibility switch; shortcuts use the left. */
.study-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}
.study-navigation .study-introduction{grid-column:1/-1;min-width:0}
.study-introduction-heading{margin:0;gap:10px}
.study-introduction-heading h2{margin-right:auto}
.study-introduction-heading .study-practice-action{min-height:36px;padding:7px 12px;border-radius:8px;font-size:13px}
.study-navigation .map-flow{grid-column:1;grid-row:2;min-width:0;width:100%;gap:6px}
.study-navigation .map-flow li>a{padding:8px 9px;gap:6px;background:#fdfcf8;border:1px solid #d5dae2;border-radius:9px;color:#87652f;transition:background .15s,border-color .15s}
.study-navigation .map-flow span{font-size:13px;color:#344563}
.study-navigation .map-flow li>a:hover{background:#e5e9f0;border-color:#bfa17d}
.study-navigation .map-flow li>a[aria-current="location"]{background:#e5e9f0;border-color:#344563;box-shadow:inset 0 -2px #344563}
.study-navigation .study-toolbar{grid-column:2;grid-row:2;justify-self:end;margin:0;padding:0;border:0;background:none}
.study-navigation .study-toolbar [data-study-all]{display:none}
.study-navigation .study-toolbar .study-expand-switch{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 0;border:0;border-radius:6px;background:transparent;color:#344563;font:12px/1.3 Arial,sans-serif;text-align:left}
.study-navigation .study-toolbar .study-expand-switch:hover{background:transparent}
.study-switch-label{width:82px}
.study-switch-track{position:relative;display:block;flex:none;width:38px;height:22px;border:1px solid #968b7d;border-radius:20px;background:#c9c1b6;transition:background .15s}
.study-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fdfcf8;box-shadow:0 1px 3px #0003;transition:transform .15s}
.study-expand-switch[aria-checked=true] .study-switch-track{background:#344563;border-color:#344563}
.study-expand-switch[aria-checked=true] .study-switch-track:after{transform:translateX(16px)}
.study-expand-switch:focus-visible{outline:2px solid #344563;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.study-switch-track,.study-switch-track:after,.study-navigation .map-flow li>a{transition:none}}
@media(max-width:760px), (max-width:1024px) and (pointer:coarse){
.study-introduction-heading{flex-wrap:wrap}
.study-introduction-heading .study-practice-action{min-height:44px}
.mobile-reader-trial .study-navigation .mobile-study-toggle{grid-column:1;grid-row:2;width:auto;padding:4px 0;font-size:13px}
.mobile-reader-trial .study-navigation:not(.mobile-open)>.study-toolbar{display:flex}
.study-navigation .map-flow{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
