/* I Will Pass NCLEX — Phase 9: study mode, offline copies, phone notifications. */
.study-toggle[aria-pressed="true"] { background: var(--mist); }
@media (max-width: 575.98px) { .topbar .study-toggle span { display: none; } .topbar .study-toggle { padding-inline: .5rem; } }
.study-exit { display: none; }
html.study-mode .shell-side, html.study-mode .topbar, html.study-mode .tabbar, html.study-mode .install-card, html.study-mode .site-footer, html.study-mode nav[aria-label="Breadcrumb"] { display: none !important; }
html.study-mode .shell-content { max-width: 52rem; margin: 0 auto; padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom)); }
html.study-mode body { background: #fff; padding-bottom: 0; }
html.study-mode .study-exit { display: grid; place-items: center; position: fixed; top: calc(0.6rem + env(safe-area-inset-top)); right: 0.6rem; z-index: 1030; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 1.15rem; box-shadow: 0 2px 10px rgba(20, 33, 61, 0.12); }
html.study-mode .page-head { padding-right: 3.2rem; }
html.study-mode .q-text, html.study-mode .prose { font-size: 1.12rem; line-height: 1.7; }
html.study-mode .q-option { min-height: 56px; font-size: 1.05rem; }
html.study-mode .q-footer, html.study-mode #qFooter { position: sticky; bottom: 0; background: #fff; padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); z-index: 5; }
html.study-mode #qFooter .btn, html.study-mode .lesson-nav .btn { min-height: 52px; padding-left: 1.25rem; padding-right: 1.25rem; }
html.study-mode .video-frame { margin-left: -1rem; margin-right: -1rem; border-radius: 0; }
@media (min-width: 992px) { html.study-mode .shell-content { padding-top: 2rem; } }

.offline-list { list-style: none; padding: 0; margin: 0; }
.offline-item { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.offline-item:first-child { border-top: 0; padding-top: 0.2rem; }
.offline-bar { position: sticky; top: 0; z-index: 1040; background: #FFF3C4; color: #5B4500; border-bottom: 1px solid #F0D98A; padding: 0.45rem 1rem; font-size: 0.9rem; font-weight: 600; text-align: center; }
[data-offline-save][aria-pressed="true"] { border-color: var(--ok); color: #0F5E3F; }

.offdeck { max-width: 40rem; }
.offdeck-card { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.75rem; width: 100%; min-height: 15rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 6px 22px rgba(20, 33, 61, 0.07); font-family: var(--font-read); font-size: 1.2rem; text-align: center; color: var(--ink); }
.offdeck-card[aria-pressed="true"] { background: var(--mist); border-color: var(--teal); }
.offdeck-card p:last-child { margin-bottom: 0; }
.offdeck-hint { font-family: var(--font-ui); color: var(--muted); }

.push-card { border-color: var(--teal); }
.push-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--teal-dark); font-size: 1.4rem; }

/* a hidden status line stays hidden even with a display utility class */
[data-offline-status][hidden], [data-push-card][hidden] { display: none !important; }
