/* Shared study reading experience. */
.deep-study-page .platform-main.deep-study{max-width:76rem;padding-top:1.6rem}
.deep-study>h1{font-size:clamp(2.2rem,4vw,3.6rem);line-height:1.08;max-width:22ch;margin:.5rem 0 .65rem}
.deep-study>h1+p{font-size:clamp(1.15rem,2vw,1.5rem);margin-bottom:.6rem}
.deep-study .study-reader{max-width:67ch;margin:.4rem 0 1.1rem}
.study-layout{display:grid;grid-template-columns:minmax(14rem,17rem) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:start;border-top:1px solid var(--line);padding-top:1.25rem}
.study-sidebar{position:sticky;top:1rem;max-height:calc(100dvh - 2rem);overflow:auto;overscroll-behavior:contain}
.deep-study .contents{border:0;margin:0}.deep-study .contents summary{display:none}.deep-study .study-tabs{display:flex;flex-direction:column;flex-wrap:nowrap;gap:.15rem;margin:.5rem 0;padding:0;border:0}
.deep-study .study-tabs button{text-align:left;display:block;width:100%;min-height:2.75rem;border:0;border-left:3px solid transparent;padding:.65rem .85rem;font-size:.9rem;line-height:1.35;color:var(--fg);background:transparent}
.deep-study .study-tabs button[aria-selected=true]{background:var(--surface);color:var(--accent);border-left-color:var(--accent);font-weight:700}
.study-sidebar-title,.study-progress-label{font:700 .72rem/1.4 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.study-progress-label{display:flex;justify-content:space-between;gap:.5rem;margin-top:1rem;letter-spacing:.05em}
.study-progress{width:100%;height:.35rem;accent-color:var(--accent)}
.study-tools{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0 1.2rem}.study-tools button,.study-move button,.study-drawer-close{min-height:2.75rem;padding:.55rem .85rem;border:1px solid var(--line);background:var(--surface);color:var(--fg);font:600 .85rem system-ui;cursor:pointer}
.study-content{min-width:0;max-width:52rem}.deep-study .study-content article{max-width:46rem;margin:.4rem 0 2rem;overflow-wrap:normal;word-break:normal}.deep-study article h2{font-size:clamp(1.55rem,2.5vw,2.15rem);margin:.25rem 0 1rem}.deep-study article p,.deep-study article li{line-height:1.7}
.deep-study .study-table{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.deep-study table{width:100%;min-width:36rem;table-layout:auto;word-break:normal;overflow-wrap:normal}.deep-study th,.deep-study td{min-width:8rem;padding:.8rem;line-height:1.5}.deep-study th[scope=row]{min-width:10rem}.deep-study th[scope=col]{min-width:8rem}
.study-move{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding:1.2rem 0 2rem}.study-move button{text-align:left;max-width:48%}.study-move button:last-child{margin-left:auto;text-align:right}.study-move small{display:block;color:var(--muted);font-weight:400;margin-bottom:.25rem}
.study-content .related{max-width:46rem}.study-content .related a{display:block;text-decoration:none;font:1.15rem/1.35 var(--display)}.related-description{display:block;color:var(--muted);font:.9rem/1.5 system-ui;margin-top:.3rem}
.study-drawer-open,.study-drawer-close{display:none}.study-status{font-size:.85rem;color:var(--muted);margin:.3rem 0}.scripture-dialog{border:1px solid var(--line);background:var(--bg);color:var(--fg);padding:1rem;width:min(52rem,95vw);height:min(85dvh,55rem);max-height:90dvh}.scripture-dialog::backdrop{background:#0009}.scripture-dialog header{display:flex;align-items:center;justify-content:space-between;position:static;gap:1rem}.scripture-dialog header button{min-width:44px;min-height:44px;border:1px solid var(--line);color:var(--fg)}.scripture-dialog iframe{width:100%;height:calc(100% - 4rem);border:1px solid var(--line);background:var(--bg)}
@media(max-width:800px){.study-layout{display:block}.study-drawer-open{display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--fg);padding:.6rem 1rem;font-weight:650;margin-bottom:1rem}.study-sidebar{position:fixed;top:0;left:0;z-index:30;width:min(21rem,90vw);height:100dvh;max-height:none;padding:1rem;background:var(--bg);box-shadow:0 0 0 100vmax #0009;visibility:hidden;transform:translateX(-110%);transition:transform .2s,visibility .2s}.study-sidebar.is-open{visibility:visible;transform:translateX(0)}.study-drawer-close{display:block;margin-left:auto}.study-content{max-width:none}.deep-study .study-content article{max-width:none}.deep-study table{min-width:36rem}}
@media(prefers-reduced-motion:reduce){.study-sidebar{transition:none}}
@media print{.study-sidebar,.study-tools,.study-move,.study-drawer-open,.scripture-dialog{display:none!important}.study-layout{display:block}.deep-study .study-content article[hidden]{display:block!important}}
