:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f3f5f8;--sidebar:#f8fafc;--surface:#fff;--surface-soft:#f9fafc;--surface-strong:#fff;--text:#111827;--muted:#64748b;--border:#e2e8f0;--border-strong:#cbd5e1;--primary:#2563eb;--primary-strong:#1d4ed8;--primary-soft:#edf3ff;--green:#22a05d;--green-soft:#e7f7ee;--purple:#8159c9;--purple-soft:#f0eaff;--amber:#dda128;--amber-soft:#fff6d9;--red:#dc2626;--red-soft:#fee2e2;--slate:#8a94a3;--slate-soft:#f1f5f9;--field:#fff;--highlight:#dbe8ff;--verse-selection-underline:#111827;--shadow:0 10px 24px #0f172a14;--font-ui:"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-reading:"Source Serif 4", Georgia, "Times New Roman", serif;--font-display:var(--font-reading);--font-handwritten:"Bradley Hand ITC", "Segoe Print", cursive;--font-sans:var(--font-ui);--font-serif:var(--font-reading);--app-viewport-height:100vh;--app-viewport-offset-top:0px;--app-viewport-bottom-offset:0px;--mobile-bottom-nav-min-height:68px;--motion-fast:.18s;--motion-base:.24s;--motion-slow:.32s;--motion-ease:cubic-bezier(.2, 0, 0, 1);--motion-ease-in:cubic-bezier(.4, 0, 1, 1);--motion-ease-out:cubic-bezier(.16, 1, .3, 1)}:root[data-font-preset=modern_study]{--font-reading:var(--font-ui);--font-display:var(--font-ui)}:root[data-font-preset=literary_reader]{--font-reading:"Literata", "Source Serif 4", Georgia, "Times New Roman", serif;--font-display:var(--font-reading)}:root[data-font-preset=accessible_study]{--font-ui:"Atkinson Hyperlegible", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-reading:var(--font-ui);--font-display:"Source Serif 4", Georgia, "Times New Roman", serif}:root[data-font-preset=plex_study]{--font-ui:"IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-reading:"IBM Plex Serif", Georgia, "Times New Roman", serif;--font-display:var(--font-reading)}:root[data-font-preset=system_comfort]{--font-ui:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-reading:Georgia, "Times New Roman", serif;--font-display:var(--font-reading)}:root[data-font-preset=traditional_serif]{--font-reading:Georgia, "Times New Roman", serif;--font-display:"Source Serif 4", Georgia, "Times New Roman", serif}@supports (height:100dvh){:root{--app-viewport-height:100dvh}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#111827;--sidebar:#151d2b;--surface:#182132;--surface-soft:#111827;--surface-strong:#202b3d;--text:#f8fafc;--muted:#aab4c4;--border:#2e3a4d;--border-strong:#46546a;--primary:#7da5ff;--primary-strong:#b8ccff;--primary-soft:#1f3158;--green:#6fd79a;--purple:#b49af3;--amber:#f0c76a;--red:#f87171;--red-soft:#4c1f26;--slate:#aab4c4;--field:#121a28;--highlight:#24365f;--verse-selection-underline:#fff;--shadow:0 18px 42px #00000047}:root[data-theme=eye_saver]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f0eadf;--sidebar:#f6f0e5;--surface:#fffaf0;--surface-soft:#f7f0e4;--surface-strong:#fffdf7;--text:#252825;--muted:#6f766b;--border:#d9d0c0;--border-strong:#c7bda9;--primary:#326f63;--primary-strong:#245148;--primary-soft:#e3eee9;--green:#3d7e54;--purple:#765da9;--amber:#a36f19;--red:#a64232;--red-soft:#f3ddd6;--slate:#77766f;--field:#fffaf0;--highlight:#ede0b6;--verse-selection-underline:#111827;--shadow:0 18px 42px #41382b1c}:root[data-theme=night]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#080c12;--sidebar:#0c111a;--surface:#101720;--surface-soft:#0b1018;--surface-strong:#17202c;--text:#e7edf4;--muted:#99a7b8;--border:#233041;--border-strong:#344358;--primary:#8db3ff;--primary-strong:#c5d6ff;--primary-soft:#1a2b50;--green:#72d39a;--purple:#b79af4;--amber:#e2b65b;--red:#f28080;--red-soft:#491e26;--slate:#8f9bad;--field:#0b121b;--highlight:#223458;--verse-selection-underline:#fff;--shadow:0 18px 42px #00000057}*{box-sizing:border-box}html,body,#root{width:100%;height:var(--app-viewport-height);overflow:hidden}body{background:var(--background);min-width:320px;min-height:0;color:var(--text);font-family:var(--font-ui);margin:0;font-weight:500}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}a{color:inherit;text-decoration:none}.passage ::selection{background:#cfe0ff}.reader ::selection{background:#cfe0ff}.app-frame{width:100%;height:var(--app-viewport-height);background:var(--surface);min-height:0;box-shadow:none;transition:grid-template-columns var(--motion-slow) var(--motion-ease-out);border:0;border-radius:0;grid-template-columns:250px minmax(0,1fr);margin:0;display:grid;overflow:hidden}.app-frame.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.app-frame.reader-focus-mode{grid-template-columns:minmax(0,1fr)}.app-sidebar{border-right:1px solid var(--border);background:var(--sidebar);min-height:0;transition:gap var(--motion-slow) var(--motion-ease-out), padding var(--motion-slow) var(--motion-ease-out), background-color var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);grid-template-rows:auto 1fr auto;gap:22px;padding:22px 12px 18px;display:grid}.reader-focus-mode .app-sidebar{display:none}.brand,.reader-title,.section-title,.button-row,.notebook-header,.notebook-title-row,.resource-panel-header,.commandbar,.commandbar-left,.commandbar-actions,.notebook-actions,.highlight-row,.profile-card,.sync-panel,.crossref-row,.note-preview,.highlight-preview{align-items:center;display:flex}.brand{gap:12px;min-width:0}.sidebar-brand{padding:0 10px;position:relative}.sidebar-collapse-button{border:1px solid var(--border);background:var(--surface);width:32px;min-height:32px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;margin-left:auto;display:inline-flex}.sidebar-collapse-button:hover,.sidebar-collapse-button:focus-visible{border-color:var(--primary);color:var(--primary-strong)}.brand-mark{color:#fff;width:38px;height:38px;font-family:var(--font-display);background:#13233f;border-radius:4px;place-items:center;font-size:2.05rem;font-weight:400;line-height:1;display:grid}.brand strong,.reader-title h1,.reader-heading h1,.section-title h2,.resource-panel h2,.resource-item h3,.notebook-header h2,.notebook-section-heading h3,.highlight-list h3,.settings-drawer-header h2{letter-spacing:0;margin:0}.brand div,.reader-title div,.section-title div,.note-preview div,.sync-panel div{gap:2px;display:grid}.brand strong{font-size:.96rem;line-height:1.12}.brand span,.reader-title span,.reader-heading span,.section-title span,.muted,.copyright,.form-message,.status-line,.crossref-row small,.notebook-subtitle,.note-preview span,.profile-card small{color:var(--muted)}.panel-kicker{color:var(--muted);letter-spacing:0;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:850;line-height:1}.reader-scroll-region,.notebook-form-panel,.notebook-paper-panel,.lesson-notes-workspace,.resource-rail,.settings-drawer,.scripture-note-panel,.library-grid,.search-results-panel,.heading-selection-action-bar .selection-action-scroll{scrollbar-color:transparent transparent;scrollbar-gutter:stable;scrollbar-width:thin}.reader-scroll-region:hover,.reader-scroll-region:focus-within,.notebook-form-panel:hover,.notebook-form-panel:focus-within,.notebook-paper-panel:hover,.notebook-paper-panel:focus-within,.lesson-notes-workspace:hover,.lesson-notes-workspace:focus-within,.resource-rail:hover,.resource-rail:focus-within,.settings-drawer:hover,.settings-drawer:focus-within,.scripture-note-panel:hover,.scripture-note-panel:focus-within,.library-grid:hover,.library-grid:focus-within,.search-results-panel:hover,.search-results-panel:focus-within,.heading-selection-action-bar .selection-action-scroll:hover,.heading-selection-action-bar .selection-action-scroll:focus-within{scrollbar-color:color-mix(in srgb, var(--muted) 42%, transparent) transparent}.reader-scroll-region::-webkit-scrollbar{width:10px;height:10px}.notebook-form-panel::-webkit-scrollbar{width:10px;height:10px}.notebook-paper-panel::-webkit-scrollbar{width:10px;height:10px}.lesson-notes-workspace::-webkit-scrollbar{width:10px;height:10px}.resource-rail::-webkit-scrollbar{width:10px;height:10px}.settings-drawer::-webkit-scrollbar{width:10px;height:10px}.scripture-note-panel::-webkit-scrollbar{width:10px;height:10px}.library-grid::-webkit-scrollbar{width:10px;height:10px}.search-results-panel::-webkit-scrollbar{width:10px;height:10px}.heading-selection-action-bar .selection-action-scroll::-webkit-scrollbar{width:10px;height:10px}.reader-scroll-region::-webkit-scrollbar-track{background:0 0}.notebook-form-panel::-webkit-scrollbar-track{background:0 0}.notebook-paper-panel::-webkit-scrollbar-track{background:0 0}.lesson-notes-workspace::-webkit-scrollbar-track{background:0 0}.resource-rail::-webkit-scrollbar-track{background:0 0}.settings-drawer::-webkit-scrollbar-track{background:0 0}.scripture-note-panel::-webkit-scrollbar-track{background:0 0}.library-grid::-webkit-scrollbar-track{background:0 0}.search-results-panel::-webkit-scrollbar-track{background:0 0}.heading-selection-action-bar .selection-action-scroll::-webkit-scrollbar-track{background:0 0}.reader-scroll-region::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.notebook-form-panel::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.notebook-paper-panel::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.lesson-notes-workspace::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.resource-rail::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.settings-drawer::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.scripture-note-panel::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.library-grid::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.search-results-panel::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.heading-selection-action-bar .selection-action-scroll::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:3px solid #0000;border-radius:999px}.reader-scroll-region:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.reader-scroll-region:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.notebook-form-panel:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.notebook-form-panel:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.notebook-paper-panel:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.notebook-paper-panel:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.lesson-notes-workspace:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.lesson-notes-workspace:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.resource-rail:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.resource-rail:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.settings-drawer:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.settings-drawer:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.scripture-note-panel:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.scripture-note-panel:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.library-grid:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.library-grid:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.search-results-panel:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.search-results-panel:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.heading-selection-action-bar .selection-action-scroll:hover::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.heading-selection-action-bar .selection-action-scroll:focus-within::-webkit-scrollbar-thumb{background-color:color-mix(in srgb, var(--muted) 42%, transparent)}.crossref-scripture-text{color:var(--text);font-family:var(--font-reading);font-size:.94rem;line-height:1.55}.crossref-title-button{color:var(--primary-strong);font:inherit;font-weight:inherit;text-align:left;background:0 0;border:0;padding:0;display:inline}.crossref-title-button:hover,.crossref-title-button:focus-visible{text-decoration:underline}.brand div span,.profile-card small{font-size:.82rem}.sidebar-nav{align-content:start;gap:4px;display:grid}.nav-heading{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:20px 18px 7px;font-size:.72rem;font-weight:800}.nav-item{color:#475569;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:24px 1fr;align-items:center;gap:10px;min-height:44px;padding:9px 16px;font-weight:650;display:grid}:root[data-theme=dark] .nav-item,:root[data-theme=night] .nav-item{color:var(--muted)}.nav-item.active{background:var(--primary-soft);color:var(--primary-strong)}.nav-item:hover,.nav-item:focus-visible{background:color-mix(in srgb, var(--primary-soft) 58%, transparent);color:var(--primary-strong);outline:none;transform:translate(2px)}.nav-button{width:100%}.profile-card{border:1px solid var(--border);background:var(--surface);width:100%;min-height:70px;color:var(--text);text-align:left;border-radius:8px;justify-content:space-between;gap:10px;padding:10px}.profile-card:hover,.profile-card:focus-visible{border-color:color-mix(in srgb, var(--primary) 30%, var(--border));outline:none;transform:translateY(-1px);box-shadow:0 10px 22px #0f172a0f}.profile-card>span:nth-child(2){flex:1;gap:2px;min-width:0;display:grid}.profile-avatar{background:linear-gradient(135deg, var(--primary), var(--green));color:#fff;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.sidebar-collapsed .app-sidebar{justify-items:center;gap:12px;padding:16px 0}.sidebar-collapsed .sidebar-brand{grid-template-rows:38px 28px;align-content:start;justify-items:center;gap:2px;width:100%;padding:0;display:grid}.sidebar-collapsed .profile-card>span:nth-child(2),.sidebar-collapsed .profile-card>svg{opacity:0;pointer-events:none;max-width:0;overflow:hidden;transform:translate(-4px)}.sidebar-collapsed .sidebar-brand-text,.sidebar-collapsed .nav-heading{display:none}.sidebar-collapsed .sidebar-collapse-button{border-radius:7px;width:28px;min-height:28px;margin:0}.sidebar-collapsed .sidebar-nav{align-content:start;justify-items:center;gap:12px;width:100%}.sidebar-collapsed .nav-item{text-align:center;justify-content:center;align-items:center;width:44px;min-height:44px;margin-inline:auto;padding:0;font-size:0;line-height:0;display:inline-flex}.sidebar-collapsed .nav-item svg{flex:none}.sidebar-collapsed .nav-item:hover,.sidebar-collapsed .nav-item:focus-visible{transform:translateY(-1px)}.sidebar-collapsed .profile-card{justify-content:center;width:44px;min-height:44px;margin-inline:auto;padding:0}.sidebar-collapsed .profile-avatar{width:36px;height:36px}.app-main{grid-template-rows:66px minmax(0,1fr);min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.mobile-bottom-nav{display:none}.commandbar{z-index:55;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-between;gap:16px;min-width:0;padding:12px 28px;position:relative}.commandbar-left,.commandbar-actions{gap:10px;min-width:0}.commandbar-actions{justify-content:flex-end}.status-line{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;max-width:260px;margin:0 8px 0 0;font-size:.86rem;display:inline-flex;overflow:hidden}.status-line button{color:var(--primary-strong);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:750}.command-reference-form{grid-template-columns:278px 132px;gap:14px;margin-left:18px;display:grid;position:relative}.mobile-command-reference-form{display:none}.reference-input-shell{min-width:0;position:relative}.reference-input-shell input{padding-right:108px;font-weight:720}.reference-input-shell:focus-within input{border-color:color-mix(in srgb, var(--primary) 54%, var(--border));box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent), 0 8px 18px #0f172a0f}.reference-clear-button{width:32px;min-height:33px;color:var(--primary-strong);background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:inline-grid;position:absolute;top:5px;right:66px}.reference-clear-button:hover,.reference-clear-button:focus-visible{background:var(--primary-soft);outline:none}.reference-picker-trigger{border:0;border-left:1px solid var(--border);width:58px;min-height:33px;color:var(--muted);background:0 0;border-radius:0 6px 6px 0;justify-content:center;align-items:center;gap:3px;display:inline-flex;position:absolute;top:5px;right:5px}.reference-picker-trigger:hover,.reference-picker-trigger[aria-expanded=true]{color:var(--primary-strong);background:var(--primary-soft)}.reference-version-select{font-weight:780}.passage-picker{z-index:65;border:1px solid var(--border);background:var(--surface-strong);width:min(410px,100vw - 40px);max-height:calc(100vh - 96px);box-shadow:var(--shadow);border-radius:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;overflow:hidden}.passage-selector-menu{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(170px,210px) minmax(190px,260px);width:min(500px,100vw - 40px);height:min(360px,100vh - 96px)}.passage-picker-books,.passage-picker-chapters{overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y;height:100%;min-height:0;padding:8px;overflow:hidden auto}.passage-picker-books{border-right:1px solid var(--border);background:var(--surface-soft);align-content:start;gap:2px;display:grid}.passage-picker-books button{min-height:34px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:7px;font-size:.82rem;font-weight:720}.passage-picker-books button:hover,.passage-picker-books button.active{background:var(--primary-soft);color:var(--primary-strong)}.passage-picker-chapters{align-content:start;gap:10px;display:grid}.passage-picker-chapters strong{font-size:.9rem}.passage-picker-chapters div{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.passage-picker-chapters button{border:1px solid var(--border);background:var(--surface-soft);min-height:34px;color:var(--text);border-radius:7px;font-size:.8rem;font-weight:750}.passage-picker-chapters button:hover{border-color:color-mix(in srgb, var(--primary) 44%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.reference-suggestion-section{gap:5px;padding:12px 12px 8px;display:grid}.reference-suggestion-section h3{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;margin:0 0 2px;font-size:.76rem;font-weight:850}.reference-suggestion-section>div{gap:3px;display:grid}.reference-suggestion-section button{min-height:37px;color:var(--text);text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px 10px;display:grid}.reference-suggestion-section button:hover,.reference-suggestion-section button.active{border-color:color-mix(in srgb, var(--primary) 34%, var(--border));background:color-mix(in srgb, var(--primary-soft) 72%, var(--surface));color:var(--primary-strong)}.reference-suggestion-section button svg{color:var(--primary-strong)}.reference-suggestion-section strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:850;overflow:hidden}.reference-suggestion-section button span{color:var(--muted);white-space:nowrap;font-size:.82rem;font-weight:700}.reference-suggestion-divider{background:var(--border);height:1px;margin:3px 12px}.reference-suggestion-empty{color:var(--muted);margin:0;padding:18px 12px;font-size:.86rem}.reference-suggestion-footer{border-top:1px solid var(--border);background:var(--surface-soft);min-width:0;min-height:38px;color:var(--muted);align-items:center;gap:12px;padding:7px 12px;font-size:.78rem;font-weight:650;display:flex}.reference-suggestion-footer span{white-space:nowrap;align-items:center;gap:5px;min-width:0;display:inline-flex}.reference-suggestion-footer span:first-child{padding-right:2px}.reference-suggestion-footer span:last-child{margin-left:auto}.reference-suggestion-footer kbd{border:1px solid var(--border);background:var(--surface);min-width:24px;color:var(--primary-strong);text-align:center;border-radius:5px;padding:1px 5px;font-size:.72rem;font-weight:850}input,select,textarea{border:1px solid var(--border);background:var(--field);width:100%;color:var(--text);border-radius:8px;outline:none}input,select{min-height:43px;padding:8px 14px}input[type=range]{padding:0}textarea{resize:vertical;min-height:78px;padding:10px 12px;line-height:1.45}label,fieldset{color:var(--muted);gap:7px;font-size:.84rem;font-weight:650;display:grid}.settings-field-note{color:var(--muted);font-size:.78rem;font-weight:500;line-height:1.35}.settings-action-row{flex-wrap:wrap;gap:8px;display:flex}.settings-action-row .button{width:auto;min-width:0}.settings-file-input{display:none}.settings-import-preview{border:1px solid var(--border);background:color-mix(in srgb, var(--surface-strong) 82%, transparent);color:var(--muted);border-radius:8px;gap:7px;padding:12px;font-size:.8rem;font-weight:550;line-height:1.35;display:grid}.settings-import-preview strong{color:var(--text);font-size:.86rem}fieldset{border:0;margin:0;padding:0}legend{padding:0 0 7px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb, var(--primary) 26%, transparent);outline-offset:2px}input,select,textarea,button,a,.button,.icon-button,.small-icon-button,.theme-option,.nav-item,.nav-heading,.profile-card,.sidebar-brand-text,.profile-card>span:nth-child(2),.profile-card>svg,.reference-input-shell,.reference-clear-button,.reference-picker-trigger,.segmented-control button,.text-action,.compact-text-action,.pane-divider,.pane-divider:before,.selection-action-bar,.selection-action-bar button,.selection-action-bar .highlight-swatch,.selection-action-label,.saved-pill,.count-pill,.resource-panel-header span,.notebook-tabs button,.notebook-tab-meter,.notebook-tab-meter em,.method-step,.method-step span,.method-step em,.method-progress-meter b,.field-status,.entry-token,.entry-icon-action,.entry-save-action,.entry-overflow-menu summary,.field-info-button,.layout-preset-option,.library-card,.library-card-select,.library-highlight-select,.library-image-cover img,.library-cover-attribution,.library-kind-pill,.library-card-tags span,.detail-tags button,.library-progress span,.library-detail-progress span,.library-card footer>button,.library-card footer .library-card-menu>button,.library-menu button,.library-collection-row button,.library-type-row button,.library-filter-row button,.library-view-toggle button,.library-filter-panel-options button,.library-action-list button,.resource-tabs button,.resource-target-actions button,.crossref-card,.crossref-card-actions button,.crossref-annotation-actions button,.crossref-filter-row button,.crossref-drawer-item,.note-preview,.highlight-preview,.scripture-note-card,.scripture-note-card button,.note-preview-actions button,.anchored-note-card,.anchored-note-header button,.lesson-quick-add-list button,.lesson-metadata-card,.lesson-section-card,.lesson-section-footer button,.structured-field-card,.committed-entry,.classified-entry,.correlation-note-card,.question-answer-list label,.study-flow-stats div,.flow-bridge-panel,.flow-bridge-groups div,.mobile-bottom-nav button{transition:background-color var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease), opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease)}.app-sidebar,.commandbar,.reader,.notebook,.resource-rail,.settings-drawer,.crossrefs-drawer,.scripture-note-panel,.library-main-panel,.library-detail-panel,.notebook-form-panel,.notebook-paper-panel,.lesson-notes-workspace,.resource-panel,.search-results-panel,.mega-search{transition:background-color var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease), opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease)}.passage-picker,.reference-suggestion-menu,.passage-selector-menu,.workspace-switcher-menu,.notebook-overflow-list,.entry-overflow-list,.field-info-panel,.library-menu{animation:menu-pop var(--motion-base) var(--motion-ease-out);transform-origin:100% 0}.reference-suggestion-menu,.passage-selector-menu,.field-info-panel{transform-origin:0 0}.settings-drawer,.crossrefs-drawer{animation:drawer-slide-in var(--motion-slow) var(--motion-ease-out);animation-fill-mode:both}.scripture-note-panel{animation:panel-float-in var(--motion-slow) var(--motion-ease-out);animation-fill-mode:both}.mega-search-backdrop,.notebook-target-dialog-backdrop{animation:backdrop-fade-in var(--motion-base) var(--motion-ease);animation-fill-mode:both}.mega-search,.notebook-target-dialog{animation:dialog-rise-in var(--motion-slow) var(--motion-ease-out);animation-fill-mode:both}.study-layout>.notebook:not(.motion-exit){animation:notebook-panel-in var(--motion-slow) var(--motion-ease-out);animation-fill-mode:both}.study-layout>.resource-rail:not(.motion-exit){animation:resource-panel-in var(--motion-slow) var(--motion-ease-out);animation-fill-mode:both}.motion-exit{pointer-events:none}.passage-picker.motion-exit,.workspace-switcher-menu.motion-exit,.notebook-overflow-list.motion-exit,.entry-overflow-list.motion-exit,.field-info-panel.motion-exit,.library-menu.motion-exit{animation:menu-pop-out var(--motion-fast) var(--motion-ease);animation-fill-mode:both}.library-filter-panel.motion-exit{animation:content-fade-out var(--motion-fast) var(--motion-ease);animation-fill-mode:both}.settings-drawer.motion-exit,.crossrefs-drawer.motion-exit{animation:drawer-slide-out var(--motion-slow) var(--motion-ease);animation-fill-mode:both}.notebook.motion-exit{animation:notebook-panel-out var(--motion-base) var(--motion-ease-in);animation-fill-mode:both}.resource-rail.motion-exit{animation:resource-panel-out var(--motion-base) var(--motion-ease-in);animation-fill-mode:both}.scripture-note-panel.motion-exit{animation:panel-float-out var(--motion-slow) var(--motion-ease);animation-fill-mode:both}.mega-search-backdrop.motion-exit,.notebook-target-dialog-backdrop.motion-exit{animation:backdrop-fade-out var(--motion-base) var(--motion-ease);animation-fill-mode:both}.mega-search.motion-exit,.notebook-target-dialog.motion-exit{animation:dialog-drop-out var(--motion-base) var(--motion-ease);animation-fill-mode:both}.heading-selection-action-bar,.footer-selection-action-bar{animation:selection-bar-in var(--motion-slow) var(--motion-ease-out)}.heading-selection-action-bar.motion-exit,.footer-selection-action-bar.motion-exit{animation:selection-bar-out var(--motion-base) var(--motion-ease-in);animation-fill-mode:both}.library-grid,.library-detail-body,.library-filter-panel,.notebook-form-panel,.notebook-paper-panel,.lesson-notes-workspace,.resource-tab-panel,.search-results-panel,.mega-search-results,.scripture-result-list,.related-search-list{animation:content-fade-in var(--motion-slow) var(--motion-ease-out)}@keyframes menu-pop{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes menu-pop-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-4px)scale(.985)}}@keyframes drawer-slide-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@keyframes drawer-slide-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(12px)}}@keyframes panel-float-in{0%{opacity:0;transform:translateY(-6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes panel-float-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-6px)scale(.985)}}@keyframes backdrop-fade-in{0%{opacity:0}to{opacity:1}}@keyframes backdrop-fade-out{0%{opacity:1}to{opacity:0}}@keyframes dialog-rise-in{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes dialog-drop-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.985)}}@keyframes notebook-panel-in{0%{opacity:0;transform:translate(14px)}to{opacity:1;transform:translate(0)}}@keyframes notebook-panel-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(8px)}}@keyframes resource-panel-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@keyframes resource-panel-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(8px)}}@keyframes selection-bar-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes selection-bar-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes content-fade-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes content-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.button,.icon-button,.small-icon-button,.theme-option,.selection-action-bar button{border:1px solid var(--border);background:var(--surface-strong);color:var(--text);border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;display:inline-flex}.button{padding:8px 12px;font-weight:700}.button:not(:disabled):hover,.icon-button:not(:disabled):hover,.small-icon-button:not(:disabled):hover,.theme-option:hover,.segmented-control button:not(:disabled):hover,.library-action-list button:not(:disabled):hover,.resource-target-actions button:not(:disabled):hover,.crossref-card-actions button:not(:disabled):hover,.crossref-annotation-actions button:not(:disabled):hover,.note-preview-actions button:not(:disabled):hover,.anchored-note-header button:not(:disabled):hover,.scripture-note-card button:not(:disabled):hover,.lesson-quick-add-list button:not(:disabled):hover,.lesson-section-footer button:not(:disabled):hover{transform:translateY(-1px)}.button:not(:disabled):active,.icon-button:not(:disabled):active,.small-icon-button:not(:disabled):active,.theme-option:active,.segmented-control button:not(:disabled):active,.library-action-list button:not(:disabled):active,.resource-target-actions button:not(:disabled):active,.crossref-card-actions button:not(:disabled):active,.crossref-annotation-actions button:not(:disabled):active,.note-preview-actions button:not(:disabled):active,.anchored-note-header button:not(:disabled):active,.scripture-note-card button:not(:disabled):active,.lesson-quick-add-list button:not(:disabled):active,.lesson-section-footer button:not(:disabled):active{transform:translateY(0)}.button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.button.secondary{border-color:color-mix(in srgb, var(--primary) 40%, var(--border));color:var(--primary-strong)}.button.secondary:not(:disabled):hover,.button.secondary:not(:disabled):focus-visible{background:var(--primary-soft);box-shadow:0 8px 18px #2563eb14}.button.ghost{background:0 0}.icon-button{flex:0 0 41px;width:41px;min-height:41px;padding:0}.small-icon-button{width:36px;min-height:36px;padding:0}.icon-button.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.mobile-brand-search,.mobile-brand-theme{display:none}.toolbar-divider{background:var(--border-strong);width:1px;height:30px}.segmented-control{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;align-items:center;gap:2px;min-height:41px;padding:3px;display:inline-flex}.segmented-control button{min-height:33px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 9px;font-size:.78rem;font-weight:750;display:inline-flex}.segmented-control button.active{background:color-mix(in srgb, var(--primary-soft) 74%, var(--surface));color:var(--primary-strong);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--primary) 34%, transparent), 0 1px 4px #0f172a14}.segmented-control button:disabled{color:color-mix(in srgb, var(--muted) 62%, transparent);box-shadow:none;background:0 0}.study-layout{--reader-pane:41fr;--notebook-pane:42fr;--resources-pane:17fr;--pane-divider-width:8px;min-width:0;min-height:0;transition:grid-template-columns var(--motion-slow) var(--motion-ease-out);grid-template-columns:minmax(0,1fr);display:grid;overflow:hidden}.study-layout.has-notebook{grid-template-columns:minmax(420px, var(--reader-pane)) var(--pane-divider-width) minmax(520px, var(--notebook-pane))}.study-layout.has-resources{grid-template-columns:minmax(0, var(--reader-pane)) var(--pane-divider-width) minmax(260px, var(--resources-pane))}.study-layout.has-notebook.has-resources{grid-template-columns:minmax(320px, var(--reader-pane)) var(--pane-divider-width) minmax(440px, var(--notebook-pane)) var(--pane-divider-width) minmax(250px, var(--resources-pane))}.study-layout.is-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none;transition:none}.study-layout.is-resizing>.reader,.study-layout.is-resizing>.notebook,.study-layout.is-resizing>.resource-rail{pointer-events:none;transition:none}.study-layout.is-resizing>.pane-divider{border-inline-color:color-mix(in srgb, var(--primary) 28%, transparent);background:color-mix(in srgb, var(--primary-soft) 70%, var(--surface))}.study-layout.is-resizing>.pane-divider:before{background:var(--primary)}.pane-divider{z-index:4;width:var(--pane-divider-width);min-width:var(--pane-divider-width);border:0;background:color-mix(in srgb, var(--border) 36%, transparent);cursor:col-resize;border-inline:1px solid #0000;min-height:0;padding:0;position:relative}.pane-divider:before{background:color-mix(in srgb, var(--muted) 24%, transparent);content:"";border-radius:999px;width:2px;height:54px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pane-divider:hover,.pane-divider:focus-visible{border-inline-color:color-mix(in srgb, var(--primary) 24%, transparent);background:color-mix(in srgb, var(--primary-soft) 66%, var(--surface));outline:none}.pane-divider:hover:before,.pane-divider:focus-visible:before{background:var(--primary)}.reader{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;gap:0;min-width:0;min-height:0;padding:16px 34px 18px;display:flex;overflow:hidden}.study-layout>.reader:hover,.study-layout>.reader:focus-within,.study-layout>.notebook:hover,.study-layout>.notebook:focus-within,.study-layout>.resource-rail:hover,.study-layout>.resource-rail:focus-within{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--primary) 16%, transparent)}.reader-focus-mode .reader{border-right:0;padding-inline:max(34px,6vw)}.reader-focus-mode .reader-single .reader-heading,.reader-focus-mode .reader-passage-stage.single,.reader-focus-mode .reader-footer-nav,.reader-focus-mode .copyright{width:min(820px,100%)}.reader-toolbar{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;justify-content:space-between;align-items:flex-end;gap:16px;padding:18px;display:flex}.reader-title{gap:10px}.reader-title h1,.reader-heading h1{font-size:1.95rem;font-weight:850;line-height:1.15}.reader-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:28px;display:flex}.reader-single .reader-heading{width:min(780px,100%);margin:0 auto 28px}.reader-heading>div{gap:7px;display:grid}.reader-heading-copy{flex:auto;width:auto;min-width:0}.reader-full-chapter-button{border:1px solid color-mix(in srgb, var(--border) 88%, transparent);background:color-mix(in srgb, var(--surface) 92%, transparent);min-height:34px;color:var(--muted);font-family:var(--font-ui);white-space:nowrap;border-radius:8px;flex:none;justify-content:center;align-self:flex-start;align-items:center;gap:7px;margin-top:14px;padding:6px 10px;font-size:.76rem;font-weight:800;line-height:1;display:inline-flex}.reader-full-chapter-button:hover,.reader-full-chapter-button:focus-visible{border-color:color-mix(in srgb, var(--primary) 32%, var(--border));background:color-mix(in srgb, var(--primary-soft) 38%, var(--surface));color:var(--primary-strong)}.reader-full-chapter-button svg{flex:none}.reader-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.reader-heading-actions .compact-command{min-width:132px}.reader-heading-actions .compact-command.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.reference-form{grid-template-columns:minmax(180px,260px) minmax(92px,120px) 42px;align-items:end;gap:10px;display:grid}.chapter-nav{justify-content:space-between;gap:10px;display:flex}.compare-reference-form{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(220px,1fr) minmax(104px,132px) auto auto;align-items:end;gap:10px;width:min(920px,100%);margin:-8px 0 22px;padding:10px;display:grid}.compare-form-heading{grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.compare-form-heading strong{color:var(--text);font-size:.9rem;font-weight:850}.compare-reference-form label{gap:5px;min-width:0}.compare-reference-form label>span{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.72rem;font-weight:800}.compare-summary-bar{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;flex-wrap:wrap;align-items:center;gap:9px;width:min(920px,100%);margin:-8px 0 18px;padding:8px 9px 8px 12px;display:flex}.compare-summary-bar>div{flex-wrap:wrap;flex:240px;align-items:center;gap:6px;min-width:0;display:flex}.compare-summary-bar strong{color:var(--text);font-size:.86rem;font-weight:850}.compare-summary-bar span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:700;overflow:hidden}.compare-status-chip{background:var(--surface);min-height:28px;color:var(--muted);border-radius:999px;align-items:center;padding:4px 8px;font-size:.74rem;font-weight:850;display:inline-flex}.compare-status-chip.locked{background:var(--primary-soft);color:var(--primary-strong)}.reader-scroll-region{flex:auto;min-height:0;padding:0 2px 18px;position:relative;overflow:hidden auto}.reader-spread .reader-scroll-region{justify-content:stretch;align-items:stretch;padding:18px;display:flex;position:relative;overflow:hidden}.reader-selection-strip{border:1px solid color-mix(in srgb, var(--amber) 45%, var(--border));background:color-mix(in srgb, var(--amber-soft) 62%, var(--surface));width:min(880px,100% - 104px);min-height:42px;color:var(--text);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:-8px auto 20px;padding:8px 10px 8px 14px;display:flex}.reader-selection-strip span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:800}.reader-selection-strip strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.9rem;overflow:hidden}.reader-passage-stage{--reader-swipe-offset:0px;--reader-swipe-preview-top:50%;--reader-swipe-progress:0;gap:24px;width:100%;min-width:0;display:grid}.reader-passage-stage.single{width:min(780px,100%);max-width:none;margin:0 auto}.study-layout.has-notebook .reader-passage-stage.single,.study-layout.has-resources .reader-passage-stage.single{width:min(780px,100% - 104px)}.reader-short-passage .reader-scroll-region{flex:none;padding-bottom:0;overflow:visible}.reader-short-passage .reader-floating-nav-layer{display:none}.reader-short-passage .reader-passage-stage.single{margin-top:28px}.reader-passage-stage.spread,.reader-passage-stage.compare{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.reader-passage-stage.compare.compare-aligned{grid-template-columns:minmax(0,1fr)}.reader-passage-stage.spread{border:1px solid color-mix(in srgb, var(--border) 56%, transparent);background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--border) 28%, transparent), transparent), var(--surface-soft);perspective:1800px;border-radius:12px;gap:0;width:100%;height:100%;min-height:0;margin:0 auto;padding:0 4px;position:relative;overflow:hidden;box-shadow:0 20px 42px #0f172a17}.reader-passage-stage.spread:before{inset-block:18px;z-index:1;content:"";pointer-events:none;background:linear-gradient(90deg,#0f172a1f,#0f172a05 48%,#0f172a1a);border-radius:999px;width:12px;position:absolute;left:50%;transform:translate(-50%)}.reader-page{min-width:0}.reader-swipe-preview{display:none}.reader-floating-nav-layer{z-index:4;pointer-events:none;justify-content:space-between;align-items:center;min-width:0;height:0;margin:0;padding:0;display:flex;position:sticky;top:calc(50% - 21px)}.reader-spread .reader-floating-nav-layer{z-index:5;pointer-events:none;width:calc(100% - 36px);height:calc(100% - 36px);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.reader-floating-nav-zone{pointer-events:auto;align-items:center;width:74px;min-height:104px;display:flex}.reader-spread .reader-floating-nav-zone{width:56px;min-height:56px;position:absolute;bottom:18px}.reader-spread .reader-floating-nav-zone.previous{left:18px}.reader-spread .reader-floating-nav-zone.next{right:18px}.reader-floating-nav-zone.previous{justify-content:flex-start}.reader-floating-nav-zone.next{justify-content:flex-end}.reader-floating-nav{border:1px solid var(--border);background:color-mix(in srgb, var(--surface-strong) 94%, transparent);width:42px;min-height:42px;color:var(--text);opacity:0;pointer-events:none;border-radius:50%;justify-content:center;align-items:center;transition:opacity .14s,transform .14s,border-color .14s,color .14s;display:inline-flex;transform:scale(.96);box-shadow:0 10px 24px #0f172a1f}.reader-floating-nav-zone:hover .reader-floating-nav,.reader-floating-nav-zone:focus-within .reader-floating-nav{opacity:1;pointer-events:auto;transform:scale(1)}.reader-floating-nav:hover,.reader-floating-nav:focus-visible{border-color:color-mix(in srgb, var(--primary) 34%, var(--border));color:var(--primary-strong)}.reader-floating-nav:disabled{color:var(--muted);cursor:default;opacity:.32}.reader-spread .reader-floating-nav{opacity:.92;pointer-events:auto;width:40px;min-height:40px;transform:scale(1)}@media (hover:none) and (pointer:coarse){.reader-floating-nav-layer,.reader-floating-nav-zone,.reader-floating-nav{pointer-events:none;display:none}}.reader-passage-stage.spread .reader-page,.reader-passage-stage.compare .reader-page,.compare-empty{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;min-height:100%;padding:24px;box-shadow:0 10px 30px #0f172a0f}.reader-passage-stage.spread .reader-page{z-index:0;background:linear-gradient(90deg, #0f172a06, transparent 12%, transparent 88%, #0f172a05), var(--surface-strong);height:100%;min-height:0;box-shadow:none;transform-style:preserve-3d;border:0;border-radius:0;grid-template-rows:auto minmax(0,1fr) auto;padding:24px 34px 46px;display:grid;position:relative}.reader-passage-stage.spread .left-page{border-radius:10px 0 0 10px;padding-right:32px}.reader-passage-stage.spread .right-page{border-radius:0 10px 10px 0;padding-left:32px}.reader-passage-stage.spread .passage{line-height:1.62}.reader-passage-stage.spread .passage-verse_by_verse{gap:10px}.spread-page-content{min-height:0;overflow:hidden}.spread-chapter-heading{color:var(--text);font-family:var(--font-ui);letter-spacing:0;margin:0 0 16px;font-size:1rem;font-weight:850}.spread-blank-page{color:var(--muted);font-family:var(--font-ui);margin:0;font-size:.86rem}.spread-page-license{border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent);color:var(--muted);font-family:var(--font-ui);align-self:end;margin-top:10px;padding-top:8px;padding-right:52px;font-size:.68rem;font-weight:650;line-height:1.35}.spread-fallback-notice{z-index:8;border:1px solid color-mix(in srgb, var(--primary) 28%, var(--border));background:color-mix(in srgb, var(--surface-strong) 96%, transparent);width:min(480px,100% - 36px);color:var(--text);border-radius:8px;padding:10px 12px;font-size:.84rem;font-weight:750;line-height:1.4;animation:2.8s forwards spread-fallback-fade;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 16px 34px #0f172a1f}.spread-debug-panel{z-index:80;border:1px solid color-mix(in srgb, var(--primary) 36%, var(--border));background:color-mix(in srgb, var(--surface-strong) 96%, transparent);width:min(390px,100vw - 32px);max-height:min(560px,100vh - 32px);color:var(--text);font-family:var(--font-ui);border-radius:8px;gap:10px;padding:12px;display:grid;position:fixed;bottom:16px;right:16px;overflow:auto;box-shadow:0 18px 44px #0f172a29}.spread-debug-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.spread-debug-header strong{font-size:.9rem;font-weight:850}.spread-debug-header span{color:var(--muted);font-size:.72rem;font-weight:750}.spread-debug-panel dl{gap:6px;margin:0;display:grid}.spread-debug-panel dl>div{grid-template-columns:76px minmax(0,1fr);gap:8px;display:grid}.spread-debug-panel dt{color:var(--muted);font-size:.72rem;font-weight:850}.spread-debug-panel dd{overflow-wrap:anywhere;min-width:0;margin:0;font-size:.76rem;font-weight:700;line-height:1.35}.spread-debug-panel ol{border-top:1px solid var(--border);gap:4px;margin:0;padding:8px 0 0;list-style:none;display:grid}.spread-debug-panel li{color:var(--muted);grid-template-columns:28px minmax(0,1fr);gap:6px;font-size:.72rem;display:grid}.spread-debug-panel li span{font-weight:850}.spread-debug-panel li strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:750;overflow:hidden}@keyframes spread-fallback-fade{0%,78%{opacity:1}to{opacity:0}}.reader-passage-stage.spread.page-turn-next .right-page{transform-origin:0;animation:.52s spread-page-turn-next}.reader-passage-stage.spread.page-turn-previous .left-page{transform-origin:100%;animation:.52s spread-page-turn-previous}@keyframes spread-page-turn-next{0%{transform:rotateY(-8deg);box-shadow:inset 0 0 #0f172a00}48%{transform:rotateY(-24deg);box-shadow:inset 28px 0 34px #0f172a14}to{transform:rotateY(0);box-shadow:inset 0 0 #0f172a00}}@keyframes spread-page-turn-previous{0%{transform:rotateY(8deg);box-shadow:inset 0 0 #0f172a00}48%{transform:rotateY(24deg);box-shadow:inset -28px 0 34px #0f172a14}to{transform:rotateY(0);box-shadow:inset 0 0 #0f172a00}}.reader-page-heading{display:none}.reader-passage-stage.spread .reader-page-heading,.reader-passage-stage.compare .reader-page-heading{border-bottom:1px solid var(--border);gap:4px;margin-bottom:18px;padding-bottom:12px;display:grid}.reader-passage-stage.compare .reader-page-heading{z-index:3;background:var(--surface-strong);position:sticky;top:0}.reader-passage-stage.spread .reader-page-heading{border-bottom-color:color-mix(in srgb, var(--border) 66%, transparent);margin-bottom:14px;padding-bottom:10px}.reader-passage-stage.compare .primary-compare-page{border-color:color-mix(in srgb, var(--primary) 32%, var(--border));box-shadow:inset 4px 0 0 color-mix(in srgb, var(--primary) 78%, transparent), 0 10px 30px #0f172a0f}.compare-aligned-grid{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid;overflow:visible;box-shadow:0 10px 30px #0f172a0f}.compare-aligned-heading{z-index:3;border-bottom:1px solid var(--border);background:var(--surface-soft);gap:4px;min-width:0;padding:18px 22px 14px;display:grid;position:sticky;top:0}.compare-aligned-heading.primary{box-shadow:inset 4px 0 0 color-mix(in srgb, var(--primary) 78%, transparent)}.compare-aligned-heading h2{font-family:var(--font-ui);margin:0;font-size:1.02rem;font-weight:850;line-height:1.2}.compare-aligned-heading small{color:var(--primary-strong);font-family:var(--font-ui);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:850}.compare-aligned-heading span{color:var(--muted);font-family:var(--font-ui);font-size:.8rem}.compare-aligned-row{border-bottom:1px solid color-mix(in srgb, var(--border) 72%, transparent);grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.compare-aligned-row:last-child{border-bottom:0}.compare-aligned-cell{background:var(--surface-strong);min-width:0;padding:18px 22px}.compare-aligned-cell.primary{box-shadow:inset 4px 0 0 color-mix(in srgb, var(--primary) 38%, transparent)}.compare-aligned-cell+.compare-aligned-cell,.compare-aligned-heading+.compare-aligned-heading{border-left:1px solid var(--border)}.compare-aligned-cell .verse{padding:12px;display:block}.missing-compare-verse{color:var(--muted);font-family:var(--font-ui);font-size:.86rem}.reader-page-heading h2{font-family:var(--font-ui);margin:0;font-size:1.05rem;font-weight:850;line-height:1.2}.reader-page-heading small{color:var(--primary-strong);font-family:var(--font-ui);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:850}.reader-page-heading span{color:var(--muted);font-family:var(--font-ui);font-size:.8rem}.passage{box-shadow:none;color:#171717;font-family:var(--font-reading);background:0 0;border:0;padding:0;font-weight:500;line-height:1.78}:root[data-theme=dark] .passage,:root[data-theme=night] .passage{color:var(--text)}.passage-paragraph{display:block}.passage-verse_by_verse{gap:25px;display:grid}.verse{cursor:pointer;-webkit-user-select:none;user-select:none;margin:0;display:inline}.passage-verse_by_verse .verse{display:block}.verse sup{color:var(--muted);font-family:var(--font-ui);-webkit-user-select:none;user-select:none;margin-right:5px;font-size:.58em;font-weight:700}.verse-selection-target{cursor:pointer;touch-action:manipulation}.verse-selection-target:focus-visible{outline:2px solid color-mix(in srgb, var(--primary) 62%, transparent);outline-offset:3px}.verse-note-button{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:color-mix(in srgb, var(--primary-soft) 78%, var(--surface));min-width:26px;min-height:22px;color:var(--primary-strong);font-family:var(--font-ui);vertical-align:baseline;border-radius:999px;justify-content:center;align-items:center;gap:2px;margin-right:6px;padding:0 5px;font-size:.62rem;font-weight:850;display:inline-flex}.verse-note-button:hover{border-color:var(--primary);background:var(--primary-soft)}.verse.highlighted{-webkit-box-decoration-break:clone;box-decoration-break:clone;background:#fde68a9e;border-radius:8px}.verse.jump-flash{-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:8px;animation:1.55s ease-out verse-jump-flash}@keyframes verse-jump-flash{0%,28%{background:color-mix(in srgb, var(--amber-soft) 84%, #fef3c7);box-shadow:0 0 0 5px color-mix(in srgb, var(--amber-soft) 18%, transparent)}to{background:0 0;box-shadow:0 0 #0000}}.scripture-highlight{color:inherit;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:#fde68ab8;border-radius:4px;padding:1px 2px}.scripture-highlight.yellow{background:#fde68ac7}.scripture-highlight.blue{background:#bfdbfec7}.scripture-highlight.green{background:#bbf7d0c7}.scripture-highlight.purple{background:#ddd6fec7}.scripture-highlight.red,.scripture-highlight.rose{background:#fecdd3c7}.verse.selected{background:0 0}.verse [data-verse-text=true]{text-underline-offset:4px;margin-right:10px;-webkit-text-decoration:underline dotted #0000;text-decoration:underline dotted #0000;text-decoration-thickness:2px;transition:text-decoration-color .16s}.verse.selected [data-verse-text=true]{-webkit-text-decoration-color:var(--verse-selection-underline);text-decoration-color:var(--verse-selection-underline)}.reader-footer-nav{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;flex:none;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;width:min(780px,100%);min-height:58px;margin:14px auto 0;padding:10px;display:grid;box-shadow:0 8px 24px #0f172a0f}.reader-short-passage .reader-footer-nav{margin-top:22px}.reader-footer-link,.reader-go-to-verse{min-height:38px;color:var(--primary-strong);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;font-size:.82rem;font-weight:800;display:inline-flex}.reader-footer-link.previous{justify-content:flex-start}.reader-footer-link.next{justify-content:flex-end}.reader-footer-link:disabled{color:var(--muted)}.reader-go-to-verse{border:1px solid var(--border);background:var(--surface-soft);min-width:126px;color:var(--text);padding:0 12px}.reader-go-to-verse kbd{border:1px solid var(--border);background:var(--surface);min-width:36px;color:var(--muted);border-radius:6px;padding:2px 6px;font-size:.72rem;font-weight:850}.copyright{border-top:1px solid var(--border);width:min(780px,100%);color:var(--muted);margin:22px auto 0;padding-top:12px;font-size:.78rem}.empty-passage{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;padding:24px}.empty-passage h2{margin-top:0}.text-action{min-height:36px;color:var(--primary-strong);background:0 0;border:0;align-items:center;gap:7px;font-size:.85rem;font-weight:750;display:inline-flex}.selection-action-bar{z-index:50;border:1px solid var(--border);background:var(--surface-strong);width:max-content;max-width:calc(100vw - 24px);box-shadow:var(--shadow);border-radius:8px;align-items:center;gap:6px;padding:8px;display:flex;position:fixed;transform:translate(-50%,-100%)}.selection-action-scroll{display:contents}.heading-selection-action-bar{width:100%;max-width:100%;box-shadow:none;align-items:stretch;margin-top:5px;padding:0;display:flex;position:relative;overflow:hidden;transform:none;top:auto!important;left:auto!important}.heading-selection-action-bar .selection-action-label{background:var(--surface-strong);flex:160px;align-content:center;align-self:stretch;min-width:118px;max-width:none;padding:8px 10px}.heading-selection-action-bar .selection-action-scroll{-webkit-overflow-scrolling:touch;flex:0 auto;align-items:center;gap:6px;min-width:0;max-width:calc(100% - 118px);padding:6px 8px;display:flex;overflow:auto hidden}.footer-selection-action-bar{display:none}.selection-action-label{border-right:1px solid var(--border);min-width:112px;max-width:190px;color:var(--text);font-family:var(--font-ui);padding:0 8px 0 4px;display:grid}.selection-action-label small{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.66rem;font-weight:850}.selection-action-label strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:850;line-height:1.2;overflow:hidden}.selection-action-bar button{min-width:58px;min-height:50px;color:var(--text);font-family:var(--font-ui);background:0 0;border:0;flex:none;align-content:center;justify-items:center;gap:3px;padding:5px 8px;font-size:.78rem;font-weight:750;line-height:1.1;display:grid}.selection-action-bar button svg{flex:none;align-self:end}.selection-action-bar button span{color:inherit;font:inherit;white-space:nowrap}.selection-action-bar button:hover{background:var(--primary-soft);color:var(--primary-strong)}.selection-highlight-tools{border-left:1px solid var(--border);border-right:1px solid var(--border);flex:none;align-items:center;gap:7px;min-height:36px;padding:0 5px 0 8px;display:inline-flex}.selection-highlight-palette{flex:none;align-items:center;gap:5px;display:inline-flex}.selection-action-bar .highlight-swatch{border:1px solid color-mix(in srgb, var(--border) 72%, transparent);width:22px;min-width:22px;height:22px;min-height:22px;box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--surface) 84%, transparent);border-radius:999px;flex:0 0 22px;padding:0}.selection-action-bar .highlight-swatch.active{outline:2px solid var(--primary);outline-offset:2px}.highlight-swatch.yellow{background:#fde68a}.highlight-swatch.green{background:#bbf7d0}.highlight-swatch.purple{background:#ddd6fe}.highlight-swatch.blue{background:#bfdbfe}.highlight-swatch.red{background:#fecaca}.selection-action-close{color:var(--muted)!important}.selection-action-close-label{display:block}.notebook{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.notebook-header{z-index:30;flex:none;justify-content:space-between;align-items:flex-start;gap:12px;min-height:94px;padding:16px 24px 14px 28px;position:relative}.notebook-header-main{flex:auto;gap:8px;min-width:0;display:grid}.notebook-title-row{flex-wrap:wrap;align-items:center;gap:12px;min-width:0}.notebook-title-copy{gap:2px;min-width:min(220px,100%);margin-right:auto;display:grid}.notebook-title-copy h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:1.38rem;font-weight:850;overflow:hidden}.notebook-title-copy p{color:var(--muted);margin:0;font-size:.82rem;font-weight:700}.notebook-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:9px;display:flex}.notebook-close-button{flex:0 0 36px}.notebook-overflow-menu{flex:none;position:relative}.notebook-overflow-list{z-index:90;border:1px solid color-mix(in srgb, var(--border) 84%, transparent);background:color-mix(in srgb, var(--surface) 96%, var(--background));border-radius:8px;gap:3px;min-width:190px;padding:6px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 18px 44px #0f172a2e,0 2px 10px #0f172a14}.notebook-overflow-list button{min-height:36px;color:var(--text);font:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px 8px;font-size:.84rem;font-weight:760;display:grid}.notebook-overflow-list button:hover,.notebook-overflow-list button:focus-visible{border-color:color-mix(in srgb, var(--primary) 24%, var(--border));background:color-mix(in srgb, var(--primary-soft) 34%, var(--surface));color:var(--primary-strong);outline:none}.notebook-overflow-list kbd{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted);border-radius:6px;padding:2px 5px;font-size:.68rem;font-weight:800}.workspace-switcher{min-width:0;display:inline-block;position:relative}.workspace-switcher-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.workspace-switcher-control{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:color-mix(in srgb, var(--primary-soft) 72%, var(--surface));max-width:100%;min-height:32px;color:var(--primary-strong);font:inherit;text-align:left;cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:5px 10px 5px 12px;display:inline-flex}.workspace-switcher-icon,.notebook-view-toggle svg{display:none}.workspace-switcher-copy{min-width:0;display:inline-grid}.workspace-switcher-copy strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.78rem;font-weight:800;line-height:1.1;overflow:hidden}.workspace-switcher-copy em{display:none}.workspace-switcher-chevron{color:currentColor;flex:none;transition:transform .16s;display:block}.workspace-switcher.open .workspace-switcher-chevron{transform:rotate(180deg)}.workspace-switcher-control:hover,.workspace-switcher-control:focus-visible{border-color:color-mix(in srgb, var(--primary) 44%, var(--border));box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);outline:none}.workspace-switcher-menu{z-index:90;border:1px solid color-mix(in srgb, var(--border) 84%, transparent);background:color-mix(in srgb, var(--surface) 96%, var(--background));border-radius:8px;gap:4px;width:min(340px,100vw - 32px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 44px #0f172a2e,0 2px 10px #0f172a14}.workspace-menu-option{min-height:68px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:10px;padding:9px 10px;display:grid}.workspace-menu-option:hover,.workspace-menu-option:focus-visible{border-color:color-mix(in srgb, var(--primary) 24%, var(--border));background:color-mix(in srgb, var(--primary-soft) 36%, var(--surface));outline:none}.workspace-menu-option.active{border-color:color-mix(in srgb, var(--primary) 54%, var(--border));background:color-mix(in srgb, var(--primary-soft) 72%, var(--surface))}.workspace-menu-option-icon{background:color-mix(in srgb, var(--primary-soft) 78%, var(--surface));width:40px;height:40px;color:var(--primary);border-radius:999px;place-items:center;display:grid}.workspace-menu-option.tone-green .workspace-menu-option-icon{background:color-mix(in srgb, var(--green-soft) 76%, var(--surface));color:var(--green)}.workspace-menu-option.tone-purple .workspace-menu-option-icon{background:color-mix(in srgb, var(--purple-soft) 76%, var(--surface));color:var(--purple)}.workspace-switcher-control.tone-green .workspace-switcher-icon{background:color-mix(in srgb, var(--green-soft) 76%, var(--surface));color:var(--green)}.workspace-switcher-control.tone-purple .workspace-switcher-icon{background:color-mix(in srgb, var(--purple-soft) 76%, var(--surface));color:var(--purple)}.workspace-menu-option-copy{gap:3px;min-width:0;display:grid}.workspace-menu-option-copy strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:850;line-height:1.1;overflow:hidden}.workspace-menu-option-copy em{color:var(--muted);font-size:.78rem;font-style:normal;font-weight:650;line-height:1.25}.workspace-menu-check{background:var(--primary);color:#fff;opacity:0;border-radius:999px;place-items:center;width:24px;height:24px;display:grid}.workspace-menu-option.active .workspace-menu-check{opacity:1}.notebook-subtitle{margin-top:6px;font-size:.87rem;display:block}.notebook-subtitle:not(.clean){display:none}.study-target-row{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:.82rem;display:flex}.study-target-label{align-items:center;gap:7px;min-width:0;max-width:100%;min-height:32px;display:inline-flex}.study-target-label strong{color:var(--text);flex:none;font-weight:850}.study-target-label span,.study-target-reference{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.study-target-reference{max-width:min(260px,42vw);color:var(--primary-strong);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:850;display:inline-block}.study-target-reference:hover,.study-target-reference:focus-visible{color:var(--primary);text-underline-offset:3px;outline:none;text-decoration:underline}.study-target-label em{color:var(--primary-strong);flex:none;padding-left:3px;font-size:.72rem;font-style:normal;font-weight:850}.text-command{min-height:28px;color:var(--primary-strong);background:0 0;border:0;justify-content:center;align-items:center;padding:2px 0;font-size:.78rem;font-weight:850;text-decoration:none;display:inline-flex}.text-command:hover,.text-command:focus-visible{color:var(--primary);text-underline-offset:3px;outline:none;text-decoration:underline}.mobile-label,.mobile-retarget-command{display:none}.study-target-notice{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--amber-soft) 68%, var(--surface));flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 28px;display:none}.study-target-notice>div{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.study-target-notice strong{color:var(--text);font-size:.84rem;font-weight:850}.study-target-notice>div:first-child span{color:var(--muted);font-size:.82rem}.study-selection-notice{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--primary-soft) 52%, var(--surface));flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 28px;display:flex}.study-selection-notice>div{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.study-selection-notice strong{color:var(--primary-strong);font-size:.84rem;font-weight:850}.study-selection-notice>div:first-child span{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:750;overflow:hidden}.notebook-target-dialog-backdrop{z-index:70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#080c129e;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.notebook-target-dialog{border:1px solid color-mix(in srgb, var(--amber) 24%, var(--border));background:var(--surface-strong);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:14px;width:min(430px,100%);padding:18px;display:grid;box-shadow:0 26px 58px #00000042}.notebook-target-dialog-icon{background:color-mix(in srgb, var(--amber-soft) 82%, var(--surface));width:46px;height:46px;color:var(--amber);border-radius:50%;place-items:center;display:grid}.notebook-target-dialog-copy{gap:7px;min-width:0;display:grid}.notebook-target-dialog h3{color:var(--text);font-family:var(--font-display);margin:0;font-size:1.22rem;font-weight:850;line-height:1.12}.notebook-target-dialog p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.45}.notebook-target-dialog p strong{color:var(--text);font-weight:850}.notebook-target-choice,.notebook-target-reference-form{grid-column:1/-1}.notebook-target-choice{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.notebook-target-choice div{gap:3px;min-width:0;display:grid}.notebook-target-choice span,.notebook-target-reference-form label span{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:850}.notebook-target-choice strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:850;overflow:hidden}.notebook-target-reference-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.notebook-target-reference-form label{gap:5px;min-width:0;display:grid}.notebook-target-reference-form input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:38px;color:var(--text);font:inherit;border-radius:8px;padding:8px 10px;font-size:.9rem}.notebook-target-reference-form input:focus{outline:2px solid color-mix(in srgb, var(--primary) 28%, transparent);border-color:color-mix(in srgb, var(--primary) 54%, var(--border))}.notebook-target-reference-status{color:var(--red);grid-column:1/-1;font-size:.78rem;font-weight:750}.notebook-target-dialog-actions{grid-column:1/-1;justify-content:flex-end;gap:9px;padding-top:4px;display:flex}.notebook-target-dialog-actions .button{min-width:84px}.saved-pill,.count-pill,.resource-panel-header span{background:var(--surface-soft);min-width:32px;min-height:26px;color:var(--muted);border-radius:8px;flex:none;justify-content:center;align-items:center;gap:5px;padding:3px 9px;font-size:.78rem;font-weight:750;display:inline-flex}.saved-pill.saved{background:color-mix(in srgb, var(--primary-soft) 28%, var(--surface-soft));color:color-mix(in srgb, var(--text) 72%, var(--muted))}.saved-pill.pending{background:color-mix(in srgb, var(--surface-soft) 82%, var(--amber-soft));color:color-mix(in srgb, var(--text) 68%, var(--amber))}.saved-pill.saving{background:var(--primary-soft);color:var(--primary-strong)}.saved-pill.local{background:color-mix(in srgb, var(--surface-soft) 78%, var(--primary-soft));color:var(--muted)}.saved-pill.error{background:color-mix(in srgb, var(--red-soft) 78%, var(--surface));color:var(--red)}.saved-pill.interactive{cursor:pointer;border:0}.saved-pill.interactive:hover,.saved-pill.interactive:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--red) 16%, transparent);outline:none}.status-icon-spin{animation:.9s linear infinite status-icon-spin}@keyframes status-icon-spin{to{transform:rotate(360deg)}}.notebook-tabs{border-top:1px solid var(--border);background:var(--surface-soft);flex:none;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:64px;gap:4px;display:grid}.notebook-tabs button{min-width:0;height:64px;min-height:0;color:var(--muted);text-align:left;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:8px 8px 0 0;align-content:center;justify-items:start;gap:5px;padding:9px 10px;font-size:.84rem;font-weight:800;display:grid;position:relative;overflow:hidden}.notebook-tab-label{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;min-width:0;max-width:100%;display:inline-flex;overflow:hidden}.notebook-tab-label i{background:currentColor;border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.notebook-tabs button small{min-width:0;max-width:100%;color:var(--muted);white-space:nowrap;align-items:center;gap:5px;font-size:.66rem;font-weight:750;display:inline-flex;overflow:hidden}.notebook-tabs button small span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notebook-tabs button small strong{background:var(--surface);color:currentColor;border-radius:999px;place-items:center;min-width:32px;min-height:22px;padding:2px 6px;font-size:.68rem;font-weight:900;display:inline-grid}.notebook-tab-meter{background:color-mix(in srgb, var(--border) 76%, transparent);border-radius:999px;width:100%;height:4px;display:block;overflow:hidden}.notebook-tab-meter em{border-radius:inherit;height:100%;transition:width var(--motion-slow) var(--motion-ease-out), background-color var(--motion-base) var(--motion-ease);background:currentColor;display:block}.notebook-tabs button.blue{color:var(--primary-strong)}.notebook-tabs button.purple{color:var(--purple)}.notebook-tabs button.green{color:var(--green)}.notebook-tabs button.amber{color:var(--amber)}.notebook-tabs button:not(.active){color:var(--muted)}.notebook-tabs button:hover,.notebook-tabs button:focus-visible{background:color-mix(in srgb, var(--primary-soft) 24%, transparent);color:var(--primary-strong);outline:none}.notebook-tabs button.blue .notebook-tab-label i,.notebook-tabs button.blue .notebook-tab-meter em{background:var(--primary)}.notebook-tabs button.purple .notebook-tab-label i,.notebook-tabs button.purple .notebook-tab-meter em{background:var(--purple)}.notebook-tabs button.green .notebook-tab-label i,.notebook-tabs button.green .notebook-tab-meter em{background:var(--green)}.notebook-tabs button.amber .notebook-tab-label i,.notebook-tabs button.amber .notebook-tab-meter em{background:var(--amber)}.notebook-tabs button:not(.active) .notebook-tab-meter{opacity:.7}.notebook-tabs button.active.blue{color:var(--primary-strong);border-bottom-color:var(--primary);background:color-mix(in srgb, var(--primary-soft) 52%, transparent)}.notebook-tabs button.active.purple{color:var(--purple);border-bottom-color:var(--purple);background:color-mix(in srgb, var(--purple-soft) 52%, transparent)}.notebook-tabs button.active.green{color:var(--green);border-bottom-color:var(--green);background:color-mix(in srgb, var(--green-soft) 52%, transparent)}.notebook-tabs button.active.amber{color:var(--amber);border-bottom-color:var(--amber);background:color-mix(in srgb, var(--amber-soft) 62%, transparent)}.notebook-tabs button.active small{color:currentColor}.notebook-view-toolbar{border-top:1px solid var(--border);background:var(--surface);justify-content:flex-end;gap:10px;padding:10px 28px;display:flex}.notebook-view-toggle button{min-width:72px}.notebook-workspace{flex:auto;grid-template-columns:minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.method-rail{border-right:1px solid var(--border);background:var(--surface-soft);grid-auto-rows:92px;align-content:start;gap:7px;padding:30px 10px 18px;display:grid;position:relative}.method-step{z-index:1;color:var(--muted);background:0 0;border:0;align-content:start;justify-items:center;gap:7px;font-size:.68rem;font-weight:750;display:grid;position:relative}.method-step span{width:39px;height:39px;color:var(--slate);border:1px solid var(--border);background:#fff;border-radius:50%;place-items:center;font-size:.85rem;font-weight:800;display:grid}.method-step.active span,.method-step.blue.active span{background:var(--primary);color:#fff;box-shadow:0 0 0 4px #fff,0 0 0 7px #bcd1ff}.method-step.blue span{background:var(--primary);color:#fff}.method-step.purple span{background:var(--purple);color:#fff}.method-step.green span{background:var(--green);color:#fff}.method-step.amber span{background:var(--amber);color:#fff}.method-step.slate span{background:var(--slate);color:#fff}.method-step em{width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.63rem;font-style:normal;font-weight:800;overflow:hidden}.method-step.active em{color:var(--primary-strong)}.method-progress-meter{background:color-mix(in srgb, var(--border) 72%, transparent);border-radius:999px;width:min(52px,100%);height:4px;display:block;overflow:hidden}.method-progress-meter b{border-radius:inherit;height:100%;transition:width var(--motion-slow) var(--motion-ease-out);background:currentColor;display:block}.notebook-form-panel{border-left:2px solid var(--primary);background:var(--surface);align-content:start;gap:14px;min-height:0;padding:20px 20px 26px 24px;display:grid;overflow:auto}.notebook-mobile-guidance{display:none}.notebook-form-panel.tone-blue{border-left-color:var(--primary)}.notebook-form-panel.tone-purple{border-left-color:var(--purple)}.notebook-form-panel.tone-green{border-left-color:var(--green)}.notebook-form-panel.tone-amber{border-left-color:var(--amber)}.notebook-form-panel blockquote{border-left:4px solid var(--primary);background:var(--primary-soft);border-radius:0 8px 8px 0;margin:0;padding:12px 14px}.notebook-paper-panel{background:radial-gradient(circle at top left, #0f172a0d, transparent 32%), color-mix(in srgb, var(--surface-soft) 80%, #e7edf5);align-content:start;gap:16px;min-height:0;padding:22px;display:grid;overflow:auto}.paper-preview-toolbar{border:1px solid color-mix(in srgb, var(--border) 82%, transparent);background:color-mix(in srgb, var(--surface) 88%, transparent);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:min(760px,100%);margin:0 auto;padding:10px;display:flex}.paper-preview-toolbar div{gap:2px;min-width:0;display:grid}.paper-preview-toolbar strong{font-size:.88rem;font-weight:850}.paper-preview-toolbar span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.notebook-paper-preview{justify-content:center;min-width:0;display:flex}.notebook-paper-page{border:1px solid color-mix(in srgb, #d7caa8 72%, var(--border));background-color:#fffdf4;background-image:linear-gradient(90deg,#0000 0 54px,#dc54549e 55px 57px,#0000 58px),repeating-linear-gradient(#0000 0 27px,#5f8dcd47 28px 29px);border-radius:4px;align-content:start;gap:26px;width:min(760px,100%);min-height:980px;padding:48px 42px 48px 78px;display:grid;position:relative;overflow:hidden;box-shadow:0 24px 52px #0f172a24,inset 0 0 42px #5746230a}.notebook-paper-page:after{pointer-events:none;content:"";mix-blend-mode:multiply;background-image:radial-gradient(circle at 12% 18%,#2a2d3709 0 1px,#0000 1px),radial-gradient(circle at 84% 42%,#2a2d3707 0 1px,#0000 1px);background-size:34px 38px,46px 52px;position:absolute;inset:0}.paper-page-heading,.paper-section-list,.paper-section,.paper-entry{z-index:1;break-inside:avoid;position:relative}.paper-page-heading{color:#2e3543;gap:3px;display:grid}.paper-page-heading p,.paper-page-heading span{color:#2e3543ad;font-family:var(--font-handwritten);text-shadow:.2px .2px #2e35431f;margin:0;font-size:.83rem;font-weight:700}.paper-page-heading h2{color:#293241;font-family:var(--font-handwritten);letter-spacing:0;text-shadow:.25px .25px #2e354324;margin:0;font-size:1.65rem;font-weight:700}.paper-section-list{gap:30px;display:grid}.paper-section{color:#2b3240e6;font-family:var(--font-handwritten);text-shadow:.2px .2px #1f29371c;gap:13px;display:grid}.paper-section h3{color:#1f2937d1;text-underline-offset:4px;margin:0;font-size:1.03rem;font-weight:800;-webkit-text-decoration:underline #1f293747;text-decoration:underline #1f293747}.paper-entry{gap:6px;padding-left:2px;display:grid;transform:rotate(-.08deg)}.paper-entry strong{color:#1f2937b3;font-size:.82rem;font-weight:800}.paper-entry ul{gap:4px;margin:0;padding-left:22px;display:grid}.paper-entry li,.paper-entry p{color:#1c2534d1;font-size:.91rem;line-height:1.68}.paper-entry p{margin:0}.paper-chip-list{flex-wrap:wrap;gap:8px;display:flex}.paper-chip-list span{color:#1c2534d1;background:#fffcee94;border:1px solid #2c3e5a2e;border-radius:999px;align-items:center;min-height:28px;padding:3px 9px;font-size:.84rem;line-height:1.3;display:inline-flex}.paper-entry-groups{gap:9px;display:grid}.paper-entry-groups>div{gap:4px;display:grid}.paper-entry-groups span{color:#1f29379e;font-size:.78rem;font-weight:800}.paper-empty-lines{gap:18px;padding-top:8px;display:grid}.paper-empty-lines span{background:#2b32402e;width:min(280px,76%);height:1px;display:block}@media (width<=760px){.notebook-paper-panel{padding:14px}.paper-preview-toolbar{flex-direction:column;align-items:stretch}.paper-preview-toolbar .compact-command{width:100%}.notebook-paper-page{min-height:760px;padding:38px 20px 42px 56px}.paper-page-heading h2{font-size:1.32rem}.paper-section-list{gap:24px}.paper-entry li,.paper-entry p{font-size:.86rem}.paper-chip-list span{font-size:.8rem}}.notebook-section-card,.general-note-field{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;gap:12px;padding:16px;display:grid}.notebook-section-heading{justify-content:space-between;gap:16px;display:flex}.notebook-section-heading p,.resource-item p,.note-preview p,.sync-panel p,.highlight-preview p{color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.structured-field-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:12px;padding:14px;display:grid}.structured-field-card.complete{border-color:color-mix(in srgb, var(--primary) 28%, var(--border))}.structured-field-card.has-leading-icon{background:var(--surface-strong);grid-template-columns:42px minmax(0,1fr)}.structured-field-body{gap:12px;min-width:0;display:grid}.structured-field-leading-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary-strong);border-radius:50%;place-items:center;display:grid}.structured-field-card.tone-purple .structured-field-leading-icon{background:var(--purple-soft);color:var(--purple)}.structured-field-card.tone-green .structured-field-leading-icon{background:var(--green-soft);color:var(--green)}.structured-field-card.tone-amber .structured-field-leading-icon{background:var(--amber-soft);color:var(--amber)}.structured-field-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.structured-field-title-row{align-items:center;gap:6px;min-width:0;display:flex}.structured-field-header h4,.categorized-entry-group h5{margin:0;font-size:.94rem;font-weight:850}.field-info-popover{flex:none;position:relative}.field-info-button{border:1px solid color-mix(in srgb, var(--primary) 34%, var(--border));background:color-mix(in srgb, var(--primary-soft) 48%, var(--surface));width:26px;min-height:26px;color:var(--primary-strong);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.field-info-button:hover,.field-info-button:focus-visible,.field-info-button[aria-expanded=true]{border-color:var(--primary);background:var(--primary-soft);outline:none}.field-info-panel{z-index:8;border:1px solid var(--border);background:var(--surface-strong);width:min(360px,72vw);max-height:360px;box-shadow:var(--shadow);border-radius:8px;gap:10px;padding:12px;display:grid;position:absolute;top:30px;left:0;overflow:auto}.field-info-popover h5{margin:0;font-size:.82rem;font-weight:850}.field-info-popover dl{gap:9px;margin:0;display:grid}.field-info-popover dl div{gap:2px;display:grid}.field-info-popover dt{font-size:.78rem;font-weight:850}.field-info-popover dd{color:var(--muted);margin:0;font-size:.76rem;line-height:1.35}.structured-field-header p{color:var(--muted);margin:4px 0 0;font-size:.84rem;line-height:1.4}.field-status{background:var(--surface-soft);min-height:27px;color:var(--muted);white-space:nowrap;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:5px;padding:4px 9px;font-size:.74rem;font-weight:800;display:inline-flex}.field-status.complete,.field-status.captured{background:var(--green-soft);color:var(--green)}.token-entry-list{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.structured-empty{color:var(--muted);margin:0;font-size:.84rem}.entry-token{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:var(--primary-soft);min-width:0;min-height:32px;color:var(--primary-strong);border-radius:999px;align-items:center;display:inline-flex;overflow:hidden}.entry-token.captured,.committed-entry.captured{animation:.52s ease-out captured-settle}.entry-token button,.entry-actions button{color:inherit;background:0 0;border:0;font-size:.8rem;font-weight:800}.entry-token button:first-of-type,.entry-token-label{max-width:min(260px,100%);min-height:30px;color:inherit;text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;padding:5px 5px 5px 11px;font-size:.8rem;font-weight:800;display:inline-flex;overflow:hidden}.entry-token button:last-child{place-items:center;width:28px;min-height:30px;padding:0;display:grid}.entry-token input{width:min(220px,42vw);min-height:30px;color:var(--primary-strong);background:0 0;border:0;border-radius:999px 0 0 999px;font-size:.82rem;font-weight:800}.structured-add-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.structured-add-row.multiline{grid-template-columns:minmax(0,1fr)}.structured-add-row.categorized{grid-template-columns:minmax(128px,.34fr) minmax(0,1fr) auto}.structured-add-row.category-inline{grid-template-columns:minmax(0,1fr) auto;margin-top:9px}.structured-add-row.classified{grid-template-columns:minmax(118px,.25fr) minmax(0,1fr) auto}.structured-add-row.single-field{grid-template-columns:minmax(0,1fr)}.genre-select-row select:disabled{color:var(--muted)}.keyboard-hint{color:var(--muted);white-space:nowrap;justify-content:flex-end;align-items:center;gap:4px;font-size:.74rem;font-weight:650;display:inline-flex}.keyboard-hint span{align-items:center;gap:4px;display:inline-flex}.keyboard-hint em{color:color-mix(in srgb, var(--muted) 62%, transparent);font-style:normal}.keyboard-hint kbd{border:1px solid var(--border);background:var(--surface);min-width:38px;color:var(--muted);text-align:center;border-radius:6px;padding:2px 6px;font-size:.68rem;font-weight:850}.keyboard-hint small{font-size:.7rem;font-weight:650}.structured-add-row input,.structured-add-row select,.structured-add-row textarea,.structured-prose-input,.committed-entry textarea,.classified-entry textarea{background:var(--surface-soft)}.structured-add-row textarea,.structured-prose-input,.committed-entry textarea,.classified-entry textarea{resize:none;min-height:42px;overflow:hidden}.committed-entry-list,.categorized-entry-groups{gap:9px;display:grid}.correlation-note-list,.question-answer-list{gap:10px;display:grid}.correlation-note-card{border:1px solid var(--border);border-left:3px solid color-mix(in srgb, var(--green) 58%, var(--border));background:var(--surface-strong);border-radius:8px;gap:9px;padding:11px;display:grid}.correlation-note-card p{color:var(--text);margin:0;font-size:.9rem;line-height:1.48}.related-scripture-chip-list,.correlation-scripture-options{flex-wrap:wrap;gap:7px;display:flex}.related-scripture-chip-list span,.correlation-scripture-options label{border:1px solid color-mix(in srgb, var(--green) 28%, var(--border));background:color-mix(in srgb, var(--green-soft) 58%, var(--surface));min-height:28px;color:var(--green);border-radius:999px;align-items:center;gap:6px;padding:4px 9px;font-size:.78rem;font-weight:850;display:inline-flex}.correlation-scripture-options input{accent-color:var(--green)}.correlation-note-actions{flex-wrap:wrap;gap:8px;display:flex}.correlation-note-actions button{border:1px solid var(--border);background:var(--surface);min-height:30px;color:var(--text);border-radius:7px;padding:4px 9px;font-size:.76rem;font-weight:850}.correlation-note-actions button:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.question-answer-list label{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;gap:7px;padding:11px;display:grid}.question-answer-list span{color:var(--text);font-size:.88rem;font-weight:850;line-height:1.35}.question-answer-list textarea{resize:vertical;min-height:74px}.categorized-entry-group{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:8px;padding:10px;display:grid}.categorized-entry-group-heading,.categorized-entry-group-heading>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.categorized-entry-group-heading>div{justify-content:flex-start;min-width:0}.categorized-entry-group-heading span{background:var(--surface);min-width:25px;min-height:24px;color:var(--muted);border-radius:999px;place-items:center;font-size:.74rem;font-weight:850;display:inline-grid}.inline-add-button{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--border));background:var(--surface);min-height:30px;color:var(--primary-strong);border-radius:7px;align-items:center;gap:5px;padding:4px 9px;font-size:.78rem;font-weight:850;display:inline-flex}.committed-entry{border:1px solid var(--border);border-left:3px solid color-mix(in srgb, var(--primary) 58%, var(--border));background:var(--surface-strong);border-radius:8px;grid-template-columns:28px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px;display:grid;position:relative}.committed-entry p{color:var(--text);white-space:pre-wrap;margin:0;font-size:.9rem;line-height:1.48}.classified-entry-list{gap:9px;display:grid}.classified-entry{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;grid-template-columns:86px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px;display:grid;position:relative}.classified-entry.captured{animation:.52s ease-out captured-settle}.classified-entry p{color:var(--text);white-space:pre-wrap;margin:0;font-size:.9rem;line-height:1.48}.classified-entry-type{background:var(--primary-soft);min-height:24px;color:var(--primary-strong);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;place-items:center;padding:3px 7px;font-size:.66rem;font-weight:900;display:inline-grid}.classified-entry-type.promise{background:var(--green-soft);color:var(--green)}.classified-entry-type.warning{background:var(--amber-soft);color:var(--amber)}.entry-number{background:var(--surface-soft);width:24px;height:24px;color:var(--muted);border-radius:7px;place-items:center;font-size:.75rem;font-weight:850;display:grid}.entry-actions{max-width:120px;color:var(--muted);opacity:0;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:4px;transition:opacity .14s;display:inline-flex}.committed-entry:hover .entry-actions,.committed-entry:focus-within .entry-actions,.committed-entry.captured .entry-actions,.classified-entry:hover .entry-actions,.classified-entry:focus-within .entry-actions,.classified-entry.captured .entry-actions{opacity:1}.entry-captured-indicator svg{color:var(--green)}.entry-icon-action,.entry-save-action,.entry-overflow-menu summary{width:28px;min-height:28px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;padding:0;display:inline-grid}.entry-save-action{border-color:color-mix(in srgb, var(--primary) 22%, var(--border));background:var(--surface-soft);width:auto;color:var(--primary-strong);white-space:nowrap;padding:3px 8px;font-size:.78rem;font-weight:850}.entry-icon-action:hover,.entry-icon-action:focus-visible,.entry-overflow-menu summary:hover,.entry-overflow-menu summary:focus-visible{border-color:var(--border);background:var(--surface-soft);color:var(--text);outline:none}.entry-overflow-menu{background:0 0;border:0;border-radius:0;position:relative;overflow:visible}.entry-overflow-menu:focus-within{border-color:#0000;outline:none}.entry-overflow-menu summary{cursor:pointer;list-style:none}.entry-overflow-menu summary::-webkit-details-marker{display:none}.entry-overflow-list{z-index:14;border:1px solid var(--border);background:var(--surface-strong);min-width:160px;box-shadow:var(--shadow);border-radius:8px;gap:2px;padding:5px;display:grid;position:absolute;top:calc(100% + 5px);right:0}.entry-overflow-list button{min-height:32px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;gap:8px;padding:5px 8px;font-size:.8rem;font-weight:750;display:flex}.entry-overflow-list button:hover,.entry-overflow-list button:focus-visible{background:var(--surface-soft);outline:none}.entry-overflow-list button.danger{color:var(--red)}.entry-overflow-list button.danger:hover,.entry-overflow-list button.danger:focus-visible{background:var(--red-soft)}@media (hover:none){.entry-actions{opacity:1}}.structured-undo-notice{border:1px solid color-mix(in srgb, var(--amber) 28%, var(--border));background:var(--amber-soft);min-width:0;color:var(--text);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;font-size:.82rem;line-height:1.35;display:flex}.structured-undo-notice span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.structured-undo-notice strong{font-weight:850}.structured-undo-notice button{border:1px solid color-mix(in srgb, var(--amber) 42%, var(--border));background:var(--surface);min-height:27px;color:var(--amber);border-radius:7px;flex:none;padding:4px 9px;font-size:.78rem;font-weight:850}.structured-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.categorized-entry-group{gap:7px;display:grid}.categorized-entry-group h5{color:var(--muted);text-transform:uppercase;font-size:.78rem}.structured-prose-input{min-height:68px}@keyframes captured-settle{0%{background:var(--green-soft);transform:translateY(4px)}to{transform:translateY(0)}}details{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:visible}details:focus-within{outline-offset:2px;border-color:#b7cbff;outline:3px solid #dbe7ff}summary{cursor:pointer;min-height:44px;color:var(--text);justify-content:space-between;align-items:center;padding:0 14px;font-size:.92rem;font-weight:750;display:flex}details textarea,details input{border-bottom:0;border-left:0;border-right:0;border-radius:0}details textarea:focus,details input:focus{outline:none}.notebook-section-card details textarea{background:var(--surface-strong);min-height:44px}.notebook-section-card details[open] textarea{min-height:46px}.notebook-section-card details:nth-of-type(4)[open] textarea{min-height:106px}.compact-accordion-list{display:grid}.compact-accordion-list details{border-radius:0}.compact-accordion-list details:first-child{border-radius:8px 8px 0 0}.compact-accordion-list details:last-child{border-radius:0 0 8px 8px}.paired-fields{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.theme-chip-row{flex-wrap:wrap;gap:8px;display:flex}.theme-chip-row button{min-height:30px;color:var(--primary-strong);background:#eef4ff;border:1px solid #c9d9ff;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:750}.study-flow-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.study-flow-stats div{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:5px;min-width:0;padding:12px;display:grid}.study-flow-stats span,.flow-bridge-panel dt,.anchored-note-header span{color:var(--muted);font-size:.76rem;font-weight:750}.study-flow-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.flow-bridge-panel{border:1px solid var(--border);background:color-mix(in srgb, var(--primary-soft) 34%, var(--surface));border-radius:8px;gap:10px;padding:12px;display:grid}.flow-bridge-panel h4{margin:0;font-size:.92rem}.flow-bridge-panel dl{gap:8px;margin:0;display:grid}.flow-bridge-panel dl div{grid-template-columns:minmax(88px,.28fr) minmax(0,1fr);gap:10px;display:grid}.flow-bridge-panel dd,.flow-bridge-panel p{min-width:0;color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.flow-bridge-groups{gap:7px;display:grid}.flow-bridge-groups div{border:1px solid color-mix(in srgb, var(--border) 72%, transparent);background:color-mix(in srgb, var(--surface) 62%, transparent);border-radius:8px;grid-template-columns:minmax(96px,.24fr) minmax(0,1fr);gap:9px;padding:6px 8px;display:grid}.flow-bridge-groups strong{color:var(--text);font-size:.76rem;font-weight:850}.flow-bridge-groups span{min-width:0}.flow-bridge-groups.stacked{gap:8px}.flow-bridge-groups.stacked div{grid-template-columns:1fr;gap:3px}.flow-bridge-lines{gap:4px;margin:0;padding-left:18px;display:grid}.flow-bridge-lines li{padding-left:2px}.anchored-note-list,.note-preview-list{gap:10px;display:grid}.note-preview-actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.note-preview-actions button{border:1px solid var(--border);background:var(--surface-soft);min-height:26px;color:var(--muted);border-radius:7px;padding:4px 8px;font-size:.72rem;font-weight:750}.note-preview-actions button:hover{border-color:var(--primary);color:var(--primary-strong)}.anchored-note-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:10px;padding:12px;display:grid}.anchored-note-header{justify-content:space-between;align-items:start;gap:12px;display:flex}.anchored-note-header div{gap:2px;min-width:0;display:grid}.anchored-note-header strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.anchored-note-header button{border:1px solid var(--border);background:var(--surface-soft);min-height:30px;color:var(--muted);border-radius:7px;flex:none;padding:4px 8px;font-size:.74rem;font-weight:750}.anchored-note-card blockquote{border-left:3px solid var(--primary);background:var(--primary-soft);color:var(--muted);border-radius:0 8px 8px 0;margin:0;padding:9px 10px;font-size:.86rem;line-height:1.45}.empty-note-state{border:1px dashed var(--border-strong);min-height:70px;color:var(--muted);border-radius:8px;align-items:center;gap:9px;padding:12px;display:flex}.empty-note-state p{margin:0}.scripture-note-panel{z-index:70;border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;align-content:start;gap:14px;width:min(390px,100vw - 36px);max-height:calc(100vh - 116px);padding:16px;display:grid;position:fixed;top:92px;right:18px;overflow:auto;box-shadow:0 24px 60px #0f172a2e}.scripture-note-header,.scripture-note-section-heading,.scripture-note-card footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.scripture-note-header h2,.scripture-note-section-heading h3{margin:0;font-size:1rem;font-weight:900}.scripture-note-header span,.scripture-note-card footer span{color:var(--muted);font-size:.78rem}.scripture-note-panel blockquote{border-left:3px solid var(--primary);background:var(--primary-soft);color:var(--muted);border-radius:0 8px 8px 0;margin:0;padding:10px 11px;font-size:.86rem;line-height:1.45}.scripture-note-section,.scripture-note-list,.scripture-note-form{gap:10px;display:grid}.scripture-note-section-heading span{background:var(--surface-soft);min-width:26px;color:var(--muted);text-align:center;border-radius:999px;padding:3px 8px;font-size:.74rem;font-weight:800}.scripture-note-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:9px;padding:11px;display:grid}.scripture-note-card>div{align-items:center;gap:7px;min-width:0;display:flex}.scripture-note-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}.scripture-note-card p{color:var(--text);white-space:pre-wrap;margin:0;font-size:.88rem;line-height:1.5}.scripture-note-card button{border:1px solid var(--border);background:var(--surface-soft);min-height:29px;color:var(--muted);border-radius:7px;align-items:center;gap:5px;padding:4px 8px;font-size:.74rem;font-weight:750;display:inline-flex}.scripture-note-card button:hover{border-color:var(--primary);color:var(--primary-strong)}.scripture-note-form label{color:var(--muted);gap:7px;font-size:.78rem;font-weight:850;display:grid}.scripture-note-form textarea{resize:vertical;min-height:118px}.secondary-study-section{display:none}.prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.prompt-grid label:nth-child(2),.prompt-grid label:nth-child(3),.prompt-grid label:nth-child(4),.prompt-grid label:nth-child(5){grid-column:span 2}.crossref-list,.highlight-list,.resource-list,.highlight-preview-list{gap:8px;display:grid}.crossref-row{border:1px solid var(--border);background:color-mix(in srgb, var(--surface-soft) 72%, var(--surface));border-radius:8px;gap:9px;padding:10px}.crossref-row div{gap:2px;display:grid}.crossref-row span,.crossref-row small{font-size:.84rem}.highlight-list h3{font-size:.95rem}.notebook-actions{justify-content:space-between;gap:12px}.notebook-inline-message{margin:0;padding:2px 0}.lesson-notes-workspace{background:var(--surface);flex:auto;min-height:0;padding:20px;display:block;overflow:auto}.lesson-notes-panel{align-content:start;gap:14px;display:grid}.lesson-metadata-card,.lesson-section-card{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px}.lesson-metadata-card{gap:12px;padding:16px;display:grid}.lesson-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.lesson-field-grid input[readonly]{color:var(--muted);background:var(--surface-soft)}.lesson-tag-row{flex-wrap:wrap;gap:7px;display:flex}.lesson-tag-row span{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:var(--primary-soft);min-height:28px;color:var(--primary-strong);border-radius:999px;align-items:center;padding:4px 10px;font-size:.76rem;font-weight:800;display:inline-flex}.lesson-section-card{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:14px;display:grid}.lesson-section-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary-strong);border-radius:50%;place-items:center;display:grid}.lesson-section-card.purple .lesson-section-icon{background:var(--purple-soft);color:var(--purple)}.lesson-section-card.green .lesson-section-icon{background:var(--green-soft);color:var(--green)}.lesson-section-card.amber .lesson-section-icon{background:var(--amber-soft);color:var(--amber)}.lesson-section-content{gap:10px;min-width:0;display:grid}.lesson-section-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.lesson-section-header h3{margin:0;font-size:.98rem;font-weight:850}.lesson-section-header div{align-items:center;gap:7px;display:inline-flex}.lesson-section-card textarea{resize:vertical;background:var(--surface-soft);min-height:76px}.lesson-section-footer{justify-content:flex-end;display:flex}.lesson-section-footer button{border:1px solid color-mix(in srgb, var(--primary) 30%, var(--border));background:var(--surface);min-height:30px;color:var(--primary-strong);border-radius:8px;align-items:center;gap:5px;padding:5px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.resource-rail{background:var(--surface-soft);align-content:start;gap:16px;min-width:0;min-height:0;padding:16px;display:grid;overflow:auto}.resource-rail-header{z-index:3;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface-soft) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);gap:10px;margin:-16px -16px 0;padding:16px;display:grid;position:sticky;top:-16px}.resource-header-top{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.resource-header-copy{gap:3px;min-width:0;display:grid}.resource-header-copy h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:1.08rem;font-weight:850;overflow:hidden}.resource-header-copy span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.resource-header-target{border:1px solid color-mix(in srgb, var(--primary) 18%, var(--border));background:color-mix(in srgb, var(--primary-soft) 22%, var(--surface));border-radius:8px;gap:7px;padding:9px 10px;display:grid}.resource-header-target p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.78rem;font-weight:700;overflow:hidden}.resource-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.resource-tabs button{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:38px;color:var(--muted);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:.8rem;font-weight:800;display:flex}.resource-tabs button:hover,.resource-tabs button:focus-visible{border-color:color-mix(in srgb, var(--primary) 38%, var(--border));color:var(--primary-strong);outline:none}.resource-tabs button.active{border-color:color-mix(in srgb, var(--primary) 52%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.resource-tabs span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.resource-tabs strong{background:color-mix(in srgb, var(--surface-soft) 80%, #fff);color:currentColor;text-align:center;border-radius:999px;flex:none;min-width:24px;padding:2px 6px;font-size:.72rem}.resource-target-actions{flex-wrap:wrap;gap:7px;display:flex}.resource-target-actions button{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:var(--surface);min-height:30px;color:var(--primary-strong);border-radius:7px;padding:5px 9px;font-size:.74rem;font-weight:850}.resource-target-actions button:hover,.resource-target-actions button:focus-visible{border-color:var(--primary);background:var(--primary-soft);outline:none}.lesson-resource-rail{background:color-mix(in srgb, var(--primary-soft) 18%, var(--surface-soft))}.compact-text-action{min-height:auto;font-size:.74rem}.current-passage-card{gap:8px;display:grid}.current-passage-card strong{font-size:.95rem}.current-passage-card span,.current-passage-card p{color:var(--muted);margin:0;font-size:.84rem;line-height:1.45}.lesson-quick-add-list,.recent-note-list{gap:8px;display:grid}.lesson-quick-add-list button{border:1px solid var(--border);background:var(--surface-soft);min-height:42px;color:var(--text);text-align:left;border-radius:8px;justify-content:flex-start;align-items:center;gap:10px;padding:9px 11px;font-size:.84rem;font-weight:750;display:inline-flex}.lesson-quick-add-list button:hover{border-color:color-mix(in srgb, var(--primary) 35%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.recent-note-list article{border-bottom:1px solid var(--border);gap:3px;padding:8px 0;display:grid}.recent-note-list article:last-child{border-bottom:0}.recent-note-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}.recent-note-list span{color:var(--muted);font-size:.78rem}.resource-scope-note{color:var(--muted);margin:-4px 0 0;font-size:.8rem;line-height:1.4}.contextual-study-list article{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.contextual-study-list article>div{gap:3px;min-width:0;display:grid}.contextual-study-list small{background:var(--primary-soft);color:var(--primary-strong);border-radius:999px;justify-self:end;padding:3px 7px;font-size:.7rem;font-weight:850}.lesson-tip-panel,.resource-hint-panel{background:color-mix(in srgb, var(--primary-soft) 70%, var(--surface))}.lesson-tip-panel ul,.resource-hint-panel ul{gap:9px;margin:0;padding:0;list-style:none;display:grid}.lesson-tip-panel li,.resource-hint-panel li{color:var(--muted);align-items:center;gap:8px;font-size:.875rem;line-height:1.45;display:flex}.lesson-tip-panel li svg,.resource-hint-panel li svg{color:var(--primary-strong);flex:none}.resource-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:12px;padding:16px;display:grid}.resource-panel:hover,.resource-panel:focus-within,.lesson-metadata-card:hover,.lesson-metadata-card:focus-within,.lesson-section-card:hover,.lesson-section-card:focus-within,.structured-field-card:hover,.structured-field-card:focus-within,.flow-bridge-panel:hover,.flow-bridge-panel:focus-within,.study-flow-stats div:hover,.committed-entry:hover,.committed-entry:focus-within,.classified-entry:hover,.classified-entry:focus-within,.correlation-note-card:hover,.correlation-note-card:focus-within,.question-answer-list label:hover,.question-answer-list label:focus-within{border-color:color-mix(in srgb, var(--primary) 26%, var(--border));box-shadow:0 7px 18px #0f172a0b}.resource-tab-panel{gap:14px}.resource-panel-header{justify-content:space-between;gap:10px}.resource-panel h2{margin:0;font-size:1.05rem;font-weight:850}.crossref-card-list{gap:12px;display:grid}.crossref-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:9px;padding:13px;display:grid}.crossref-card:hover,.crossref-card:focus-within,.crossref-drawer-item:hover,.crossref-drawer-item:focus-within,.note-preview:hover,.note-preview:focus-within,.highlight-preview:hover,.highlight-preview:focus-within,.scripture-note-card:hover,.scripture-note-card:focus-within,.anchored-note-card:hover,.anchored-note-card:focus-within{border-color:color-mix(in srgb, var(--primary) 30%, var(--border));transform:translateY(-1px);box-shadow:0 7px 18px #0f172a0d}.crossref-card-heading{min-width:0}.crossref-card h3{margin:0;font-size:1rem;font-weight:850}.crossref-card-title{line-height:1.25}.crossref-card-excerpt{color:var(--text);font-family:var(--font-reading);-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.925rem;line-height:1.55;display:-webkit-box;overflow:hidden}.crossref-card-excerpt.expanded{display:block;overflow:visible}.crossref-card-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.crossref-card-actions button{border:1px solid var(--border);background:var(--surface);min-height:30px;color:var(--muted);border-radius:7px;padding:5px 8px;font-size:.75rem;font-weight:800}.crossref-card-actions button:hover:not(:disabled),.crossref-card-actions button:focus-visible:not(:disabled){border-color:color-mix(in srgb, var(--primary) 38%, var(--border));background:var(--primary-soft);color:var(--primary-strong);outline:none}.crossref-card-actions button:disabled{cursor:default;opacity:.7}.crossref-card-actions .crossref-card-toggle{color:var(--primary-strong);background:0 0;border-color:#0000}.resource-item{border-bottom:1px solid var(--border);gap:6px;padding-bottom:11px;display:grid}.resource-item:last-child{border-bottom:0;padding-bottom:0}.resource-item h3{color:var(--primary-strong);font-size:.95rem;font-weight:800}.resource-item-heading{justify-content:space-between;align-items:start;gap:8px;display:flex}.resource-item small{color:var(--muted);font-size:.78rem;line-height:1.35}.annotation-pill{background:var(--surface-soft);color:var(--muted);border-radius:999px;flex:none;padding:3px 7px;font-size:.68rem;font-weight:800}.annotation-pill.helpful{background:color-mix(in srgb, var(--green) 16%, var(--surface));color:var(--green)}.annotation-pill.unresolved{background:color-mix(in srgb, var(--amber) 18%, var(--surface));color:var(--amber)}.annotation-pill.not_relevant{background:color-mix(in srgb, var(--slate) 18%, var(--surface));color:var(--slate)}.crossref-annotation-actions{flex-wrap:wrap;gap:6px;display:flex}.crossref-annotation-actions button{border:1px solid var(--border);background:var(--surface-soft);min-height:28px;color:var(--muted);border-radius:7px;align-items:center;gap:4px;padding:4px 7px;font-size:.72rem;font-weight:750;display:inline-flex}.crossref-annotation-actions button.selected{border-color:color-mix(in srgb, var(--primary) 40%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.resource-empty{margin:0;font-size:.9rem;line-height:1.5}.note-preview,.highlight-preview,.sync-panel{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:10px;padding:12px}.note-preview p{-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.highlight-preview{background:color-mix(in srgb, #fff0b8 38%, var(--surface-soft));align-items:flex-start}.highlight-preview div{gap:4px;min-width:0;display:grid}.highlight-preview strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:850;overflow:hidden}.highlight-preview p{-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;margin:0;line-height:1.45;display:-webkit-box;overflow:hidden}.resource-license-footer{border-top:1px solid var(--border);color:var(--muted);align-items:flex-start;gap:8px;margin-top:auto;padding:10px 2px 0;font-size:.78rem;font-weight:650;line-height:1.45;display:flex}.resource-license-footer p{margin:0}.resource-license-footer svg{flex:none;margin-top:2px}.panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:14px;padding:16px;display:grid}.section-title{gap:9px}.section-title h2{font-size:1rem}.stack{gap:12px;display:grid}.button-row{flex-wrap:wrap;gap:8px}.account-email{word-break:break-word;margin:0}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.theme-option{text-align:left;justify-content:flex-start;min-height:42px;padding:7px 9px}.theme-option.selected{border-color:var(--primary);background:var(--primary-soft)}.layout-preset-list{gap:8px;display:grid}.layout-preset-option{border:1px solid var(--border);background:var(--surface);width:100%;min-height:58px;color:var(--text);text-align:left;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.layout-preset-option strong{font-size:.86rem;font-weight:850}.layout-preset-option span{color:var(--muted);font-size:.78rem;line-height:1.35}.layout-preset-option:hover,.layout-preset-option:focus-visible{border-color:color-mix(in srgb, var(--primary) 42%, var(--border));background:color-mix(in srgb, var(--primary-soft) 42%, var(--surface));outline:none}.layout-preset-option.selected{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.toggle-row{grid-template-columns:18px 1fr;align-items:center}.toggle-row input{min-height:auto}.settings-drawer{--settings-drawer-padding:18px;z-index:60;width:min(420px,100vw);height:100vh;padding:var(--settings-drawer-padding);border-left:1px solid var(--border);background:var(--surface-soft);box-shadow:var(--shadow);align-content:start;gap:14px;display:grid;position:fixed;top:0;right:0;overflow:auto}.crossrefs-drawer{z-index:56;border-left:1px solid var(--border);background:var(--surface-soft);width:min(620px,100vw - 250px);box-shadow:var(--shadow);grid-template-rows:auto minmax(0,1fr);gap:14px;padding:18px;display:grid;position:fixed;top:66px;bottom:0;right:0;overflow:hidden}.mega-search-backdrop{z-index:70;background:#0f172a38;place-items:start center;padding:82px 18px 18px;display:grid;position:fixed;inset:0}.mega-search{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(820px,100%);max-height:min(720px,100vh - 110px);display:grid;overflow:hidden;box-shadow:0 24px 70px #0f172a38}.mega-search-header{border-bottom:1px solid var(--border);background:var(--surface-strong);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.mega-search-header input{background:0 0;border:0;font-size:1rem}.mega-search-header input:focus{outline:none}.mega-search-body{gap:16px;padding:16px;display:grid;overflow:auto}.mega-search-body section{gap:10px;display:grid}.mega-search-section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.mega-search-section-heading h2{margin:0;font-size:.95rem;font-weight:850}.mega-search-section-heading span{background:var(--surface-soft);min-width:28px;min-height:24px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;padding:2px 8px;font-size:.74rem;font-weight:800;display:inline-flex}.mega-search-results{gap:8px;display:grid}.mega-search-results button,.mega-search-action{border:1px solid var(--border);background:var(--surface-soft);min-height:46px;color:var(--text);text-align:left;border-radius:8px;grid-template-columns:minmax(112px,.2fr) minmax(0,1fr);align-items:start;gap:12px;padding:10px 12px;display:grid}.mega-search-results button:hover,.mega-search-action:hover{border-color:color-mix(in srgb, var(--primary) 38%, var(--border));background:var(--primary-soft);transform:translateY(-1px);box-shadow:0 7px 16px #2563eb0f}.mega-search-results strong{color:var(--primary-strong);gap:4px;font-size:.88rem;display:grid}.mega-search-results strong em{background:var(--surface);width:fit-content;color:var(--muted);border-radius:999px;padding:2px 6px;font-size:.68rem;font-style:normal;font-weight:850}.search-highlight{background:color-mix(in srgb, var(--amber-soft) 78%, transparent);color:var(--text);border-radius:4px;padding:0;font-weight:900}.mega-search-results span,.mega-search-action span{min-width:0;color:var(--muted);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:.84rem;line-height:1.4;display:-webkit-box;overflow:hidden}.mega-search-action{align-items:center;width:fit-content;display:inline-flex}.verse-jump-backdrop{z-index:72;background:#0f172a29;place-items:start center;padding:88px 18px 18px;display:grid;position:fixed;inset:0}.verse-jump-dialog{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:8px;width:min(520px,100%);padding:10px;display:grid;box-shadow:0 20px 54px #0f172a33}.verse-jump-form{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;display:grid}.verse-jump-form>svg{color:var(--muted)}.verse-jump-form label{min-width:0;color:var(--muted);text-transform:uppercase;gap:2px;font-size:.7rem;font-weight:850;display:grid}.verse-jump-form input{width:100%;min-height:34px;color:var(--text);background:0 0;border:0;font-size:1rem;font-weight:800}.verse-jump-form input:focus{outline:none}.verse-jump-status{color:var(--danger);margin:0;padding:0 4px 2px 28px;font-size:.82rem;font-weight:750}.search-page{background:var(--surface-soft);align-content:start;gap:16px;min-width:0;min-height:0;padding:24px 28px;display:grid;overflow:auto}.search-page-header{grid-template-columns:minmax(0,.8fr) minmax(360px,1fr);align-items:end;gap:18px;display:grid}.search-page-header h1{margin:0;font-size:1.8rem;font-weight:850}.search-page-header p{color:var(--muted);margin:5px 0 0;font-size:.94rem}.search-page-form{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.search-page-form input{background:0 0;border:0;min-height:36px}.search-page-form input:focus{outline:none}.search-version-row{flex-wrap:wrap;gap:8px;display:flex}.search-version-row button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--muted);border-radius:8px;padding:6px 11px;font-size:.82rem;font-weight:800}.search-version-row button.active{border-color:color-mix(in srgb, var(--primary) 42%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.search-results-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:12px;padding:16px;display:grid}.search-results-heading,.search-results-heading>div{align-items:center;display:flex}.search-results-heading{justify-content:space-between;gap:12px}.search-results-heading>div{gap:10px}.search-results-heading h2{margin:0;font-size:1.02rem;font-weight:850}.search-results-heading span,.search-results-heading small{background:var(--surface-soft);min-height:24px;color:var(--muted);border-radius:8px;align-items:center;padding:2px 8px;font-size:.74rem;font-weight:850;display:inline-flex}.scripture-result-list,.related-search-list{gap:9px;display:grid}.scripture-result-list button,.related-search-list button{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);text-align:left;border-radius:8px;grid-template-columns:minmax(150px,.26fr) minmax(0,1fr);align-items:start;gap:12px;padding:12px;display:grid}.scripture-result-list button:hover,.related-search-list button:hover{border-color:color-mix(in srgb, var(--primary) 38%, var(--border));background:var(--primary-soft);transform:translateY(-1px);box-shadow:0 7px 16px #2563eb0f}.scripture-result-ref{gap:5px;display:grid}.scripture-result-ref strong,.related-search-list strong{color:var(--primary-strong);font-size:.9rem}.scripture-result-ref em{background:var(--surface);width:fit-content;color:var(--muted);border-radius:999px;padding:2px 7px;font-size:.7rem;font-style:normal;font-weight:850}.scripture-result-list button>span:last-child,.related-search-list span{color:var(--muted);font-size:.9rem;line-height:1.48}.load-more-search{justify-self:center}.related-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.library-page{background:var(--surface-soft);grid-template-columns:minmax(0,1fr) minmax(350px,390px);gap:16px;min-width:0;min-height:0;padding:16px;display:grid;overflow:hidden}.library-main-panel,.library-detail-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;min-height:0;box-shadow:0 12px 34px #0f172a0f}.library-main-panel{grid-template-rows:auto auto auto auto auto minmax(0,1fr) auto;gap:16px;padding:30px 34px 24px;display:grid;overflow:hidden}.library-page-header,.library-search-row,.library-collection-row,.library-type-row,.library-filter-row,.library-detail-topline,.library-detail-progress,.library-action-list button,.library-view-toggle{align-items:center;display:flex}.library-page-header{justify-content:space-between;gap:16px}.library-page-header h1,.library-continue-card h2,.library-empty-state h2,.library-card h2,.library-detail-panel h2,.library-detail-section h3{margin:0}.library-page-header h1{font-family:var(--font-display);font-size:2rem;font-weight:850;line-height:1.05}.library-page-header p,.library-continue-card p,.library-empty-state p,.library-card p,.library-card small,.library-card footer,.library-detail-panel p,.library-detail-panel small{color:var(--muted);font-size:.85rem;line-height:1.45}.library-search-row{gap:12px}.library-search-row .library-view-toggle{margin-left:0}.library-search-row .button.secondary.active{border-color:color-mix(in srgb, var(--primary) 44%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.library-search-field{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;flex:1;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:46px;padding:0 12px;display:grid;position:relative}.library-search-field span{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.library-search-field input{background:0 0;border:0;min-height:42px}.library-search-field input:focus{outline:none}.library-collection-row,.library-type-row,.library-filter-row{flex-wrap:wrap;gap:8px}.library-collection-row{border-bottom:1px solid var(--border);gap:24px}.library-collection-row button,.library-type-row button,.library-filter-row button,.library-view-toggle button{border:1px solid var(--border);background:var(--surface-strong);min-height:38px;color:var(--text);border-radius:8px;align-items:center;gap:7px;padding:7px 11px;font-size:.82rem;font-weight:750;display:inline-flex}.library-collection-row button{min-height:48px;color:var(--muted);background:0 0;border:0;border-radius:0;padding:4px 2px 13px;position:relative}.library-collection-row button:after{background:var(--primary);content:"";opacity:0;transform-origin:50%;height:2px;transition:opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease);border-radius:999px 999px 0 0;position:absolute;bottom:-1px;left:0;right:0;transform:scaleX(.6)}.library-collection-row button.active,.library-type-row button.active,.library-filter-row button.active,.library-view-toggle button.active{border-color:color-mix(in srgb, var(--primary) 44%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.library-collection-row button.active{background:0 0}.library-collection-row button.active:after{opacity:1;transform:scaleX(1)}.library-collection-row span,.library-type-row span,.library-filter-row span{background:var(--surface-soft);min-width:24px;color:var(--muted);text-align:center;border-radius:999px;padding:2px 7px;font-size:.72rem}.library-view-toggle{gap:4px;margin-left:auto}.library-filter-row .library-chip-dismiss{color:var(--muted)}.library-menu-trigger{min-width:0;display:inline-flex;position:relative}.library-menu{z-index:24;border:1px solid var(--border);background:var(--surface-strong);min-width:176px;max-width:min(260px,78vw);max-height:280px;box-shadow:var(--shadow);border-radius:8px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;overflow:auto}.library-filter-row .library-menu{left:0;right:auto}.library-card-menu .library-menu{top:auto;bottom:calc(100% + 6px);right:0}.library-menu button{width:100%;min-height:34px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:7px;justify-content:flex-start;padding:7px 9px;font-size:.8rem;font-weight:750}.library-menu button:hover,.library-menu button:focus-visible,.library-menu button.active{background:var(--primary-soft);color:var(--primary-strong);outline:none}.library-filter-panel{border:1px solid color-mix(in srgb, var(--primary) 20%, var(--border));background:color-mix(in srgb, var(--primary-soft) 26%, var(--surface));border-radius:8px;gap:10px;padding:12px;display:grid}.library-filter-panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.library-filter-panel-heading strong{color:var(--text);font-size:.84rem;font-weight:850}.library-filter-panel-heading button{color:var(--primary-strong);background:0 0;border:0;font-size:.78rem;font-weight:850}.library-filter-panel-options{flex-wrap:wrap;gap:8px;display:flex}.library-filter-panel-options button{border:1px solid var(--border);background:var(--surface-strong);min-height:32px;color:var(--text);border-radius:8px;align-items:center;padding:5px 9px;font-size:.78rem;font-weight:750;display:inline-flex}.library-filter-panel-options button.active{border-color:color-mix(in srgb, var(--primary) 44%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.library-filter-panel-options span{color:var(--muted);font-size:.82rem;font-weight:700}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:18px;min-height:0;padding:2px 2px 8px;display:grid;overflow:auto}.library-grid.list-view{grid-template-columns:minmax(0,1fr)}.library-callout{border:1px dashed var(--border-strong);color:var(--muted);border-radius:8px;grid-column:1/-1;align-items:center;gap:10px;padding:12px;display:flex}.library-callout p{margin:0;font-size:.86rem}.library-continue-card,.library-empty-state{border:1px solid var(--border);background:color-mix(in srgb, var(--primary-soft) 32%, var(--surface-strong));border-radius:8px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.library-continue-card{justify-content:flex-start}.library-continue-icon{background:var(--primary);color:#fff;border-radius:50%;flex:none;place-items:center;width:58px;height:58px;display:grid;box-shadow:0 10px 22px #2563eb33}.library-continue-card .library-continue-copy,.library-empty-state div{gap:4px;min-width:0;display:grid}.library-continue-card .library-continue-copy{flex:auto}.library-continue-card>.button{margin-left:auto}.library-continue-card .library-continue-copy>span{color:var(--primary-strong);letter-spacing:.08em;text-transform:uppercase;font-size:.76rem;font-weight:850}.library-card-reference{margin:0}.library-continue-card h2,.library-empty-state h2{font-size:1rem;font-weight:850}.library-empty-state{background:var(--surface-strong);color:var(--muted);justify-content:flex-start}.library-card{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;grid-template-rows:104px auto;min-width:0;display:grid;position:relative;overflow:visible;box-shadow:0 10px 24px #0f172a0d}.library-card.selected{border-color:var(--primary);background:color-mix(in srgb, var(--primary-soft) 12%, var(--surface-strong));box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 45%, transparent), 0 16px 36px #2563eb1f}.library-card:hover,.library-card:focus-within{border-color:color-mix(in srgb, var(--primary) 38%, var(--border));box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent), 0 9px 22px #0f172a11;transform:translateY(-2px)}.library-card.selected:hover,.library-card.selected:focus-within{box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 52%, transparent), 0 12px 28px #2563eb1f}.library-card.selected:before{display:none}.library-card-select{background:var(--surface-soft);border:0;border-radius:8px 8px 0 0;place-items:center;width:100%;height:104px;padding:0;display:grid;position:relative;overflow:hidden}.library-card-select:focus-visible,.library-highlight-select:focus-visible{outline:2px solid color-mix(in srgb, var(--primary) 58%, transparent);outline-offset:-2px}.library-cover,.library-detail-cover,.library-detail-empty{place-items:center;display:grid}.library-cover,.library-detail-cover{background:linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 78%, var(--surface)), var(--surface-soft));width:100%;height:100%;color:var(--primary-strong)}.library-art-cover{isolation:isolate;position:relative;overflow:hidden}.library-image-cover{isolation:isolate;color:#fff;background:#111827;position:relative;overflow:hidden}.library-image-cover img{object-fit:cover;width:100%;height:100%;display:block;transform:scale(1.01)}.library-card:hover .library-image-cover img,.library-card:focus-within .library-image-cover img{transform:scale(1.045)}.library-card:hover .library-cover-attribution,.library-card:focus-within .library-cover-attribution{background:#0f172ab8}.library-image-cover:after{z-index:1;content:"";pointer-events:none;background:linear-gradient(#0000 46%,#0f172a94),linear-gradient(135deg,#0f172a14,#0000 58%);position:absolute;inset:0}.library-cover-attribution{z-index:2;color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#0f172a94;border-radius:6px;padding:4px 6px;font-size:.58rem;font-weight:850;line-height:1.15;position:absolute;bottom:7px;left:7px;right:7px;overflow:hidden}.library-detail-cover .library-cover-attribution{font-size:.68rem;bottom:10px;left:10px;right:10px}.library-art-layer,.library-art-accent,.library-art-mark{pointer-events:none;position:absolute}.library-art-cover.art-landscape{background:radial-gradient(circle at 58% 42%,#ffe8b0f0 0 9%,#ffd6a761 17%,#0000 32%),linear-gradient(#cbc4e9 0%,#f0d2ba 52%,#c8d8ec 100%)}.library-art-cover.art-landscape .library-art-layer.one{clip-path:polygon(0 100%,28% 24%,43% 48%,66% 12%,100% 100%);background:linear-gradient(135deg,#738bad,#d9e4f1);height:63%;bottom:-1px;left:30%;right:-8%}.library-art-cover.art-landscape .library-art-layer.two{clip-path:polygon(0 100%,24% 34%,42% 57%,68% 18%,100% 100%);background:linear-gradient(145deg,#637da4,#b7c8de);width:74%;height:55%;bottom:-1px;left:-8%}.library-art-cover.art-landscape .library-art-accent{background:linear-gradient(#ffffffc7,#5381b26b);border-radius:999px;width:22%;height:110%;bottom:-46%;right:17%;transform:rotate(62deg)}.library-art-cover.art-landscape .library-art-mark{background:#89634ab8;border-radius:999px;width:4px;height:36px;bottom:38%;right:28%}.library-art-cover.art-landscape .library-art-mark:after{background:inherit;content:"";border-radius:999px;width:22px;height:4px;position:absolute;top:10px;left:-9px}.library-art-cover.art-columns{background:radial-gradient(circle at 32% 34%,#dde8f7db 0 16%,#0000 34%),linear-gradient(#e8f1fb 0%,#f7fbff 54%,#d5e2f1 100%)}.library-art-cover.art-columns .library-art-layer.one{clip-path:polygon(0 100%,32% 22%,50% 52%,73% 14%,100% 100%);background:linear-gradient(135deg,#b2c5de57,#d2dfeeb8);height:58%;bottom:0;left:0;right:-8%}.library-art-cover.art-columns .library-art-layer.two{border-inline:10px solid #6881a057;background:#ffffff38;border-top:12px solid #6881a06b;border-bottom:10px solid #6881a061;width:28%;height:70%;bottom:0;right:11%}.library-art-cover.art-columns .library-art-accent{background:#6881a052;border-radius:999px;width:35%;height:10px;bottom:63%;right:7%;box-shadow:0 57px #6881a03d}.library-art-cover.art-columns .library-art-mark{background:#2563eb2e;width:52%;height:2px;bottom:18%;left:10%;box-shadow:0 -14px #2563eb1f,0 -28px #2563eb17}.library-art-cover.art-desk{background:linear-gradient(#fff4df 0%,#f8fbff 56%,#e2ecf8 100%)}.library-art-cover.art-desk .library-art-layer.one{background:#ffffffa8;border:1px solid #9771393d;border-radius:7px;width:42%;height:52%;bottom:15%;right:10%;transform:rotate(-8deg)}.library-art-cover.art-desk .library-art-layer.two{background:#edf3ffc7;border:1px solid #2563eb2e;border-radius:7px;width:38%;height:48%;bottom:13%;left:12%;transform:rotate(8deg)}.library-art-cover.art-desk .library-art-accent{background:linear-gradient(#d6b06c42,#97744038);height:36%;bottom:-18%;left:-8%;right:-8%;transform:rotate(-2deg)}.library-art-cover.art-desk .library-art-mark{background:#8159c947;border-radius:999px;width:30%;height:3px;bottom:25%;right:32%;transform:rotate(-8deg)}.library-typographic-cover{text-align:left;align-content:center;gap:7px;padding:18px}.library-typographic-cover strong,.library-typographic-cover span,.library-typographic-cover em{text-overflow:ellipsis;white-space:nowrap;width:100%;display:block;overflow:hidden}.library-typographic-cover strong{color:var(--text);font-size:1.2rem;font-weight:900}.library-typographic-cover span{color:var(--muted);font-size:.88rem;font-weight:750}.library-typographic-cover em{color:currentColor;letter-spacing:0;text-transform:uppercase;margin-top:4px;font-size:.72rem;font-style:normal;font-weight:900}.library-detail-cover .library-cover{border:0}.library-cover.purple,.library-detail-cover.purple{background:linear-gradient(135deg, color-mix(in srgb, var(--purple-soft) 84%, var(--surface)), var(--surface-soft));color:var(--purple)}.library-cover.orange,.library-detail-cover.orange{background:linear-gradient(135deg, color-mix(in srgb, var(--amber-soft) 84%, var(--surface)), var(--surface-soft));color:var(--amber)}.library-cover.yellow,.library-detail-cover.yellow{background:linear-gradient(135deg, color-mix(in srgb, var(--highlight) 84%, var(--surface)), var(--surface-soft));color:#a36f19}.library-cover.green,.library-detail-cover.green{background:linear-gradient(135deg, color-mix(in srgb, var(--green-soft) 84%, var(--surface)), var(--surface-soft));color:var(--green)}.library-cover.red,.library-detail-cover.red,.library-cover.rose,.library-detail-cover.rose{background:linear-gradient(135deg, color-mix(in srgb, #ffe7ef 84%, var(--surface)), var(--surface-soft));color:#c2416b}.library-card-check{background:var(--primary);color:#fff;border-radius:7px;place-items:center;width:26px;height:26px;font-weight:900;display:grid;position:absolute;top:10px;right:10px}.library-card:not(.selected) .library-card-check{display:none}.library-card-body{align-content:start;gap:9px;min-height:300px;padding:14px 16px 16px;display:grid;position:relative}.library-study-card-body{cursor:pointer}.library-grid.list-view .library-card{grid-template-rows:auto;grid-template-columns:minmax(92px,112px) minmax(0,1fr)}.library-grid.list-view .library-card-select{border-radius:8px 0 0 8px;height:100%;min-height:148px}.library-grid.list-view .library-card-body{gap:5px;min-height:148px;padding:10px 12px}.library-grid.list-view .library-card-tags,.library-grid.list-view .library-activity-summary,.library-grid.list-view .library-excerpt{display:none}.library-grid.list-view .library-kind-pill{min-height:22px;padding:3px 8px;font-size:.68rem}.library-grid.list-view .library-card footer{min-height:30px;padding-top:5px}.library-grid.list-view .library-card footer>button,.library-grid.list-view .library-card footer .library-card-menu>button{width:27px;height:27px}.library-highlight-card{grid-template-rows:minmax(178px,auto) auto;min-height:238px;overflow:hidden}.library-kind-pill{background:var(--primary-soft);width:fit-content;min-height:26px;color:var(--primary-strong);border-radius:999px;padding:4px 9px;font-size:.72rem;font-weight:850}.library-kind-pill.purple{background:var(--purple-soft);color:var(--purple)}.library-kind-pill.orange{background:var(--amber-soft);color:var(--amber)}.library-kind-pill.yellow{background:color-mix(in srgb, var(--highlight) 76%, var(--surface));color:#8a5b0d}.library-kind-pill.green{background:var(--green-soft);color:var(--green)}.library-kind-pill.red,.library-kind-pill.rose{background:color-mix(in srgb, #ffe7ef 84%, var(--surface));color:#be325f}.library-kind-pill.blue{background:var(--primary-soft);color:var(--primary-strong)}.library-highlight-card .library-card-select{height:104px}.library-highlight-select{border:0;border-bottom:1px solid var(--border);background:var(--surface-strong);width:100%;min-width:0;height:100%;min-height:178px;color:var(--text);text-align:left;border-radius:8px 8px 0 0;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:start;gap:8px;padding:16px;display:grid;overflow:hidden}.library-highlight-card .library-card-body{min-height:58px;padding:0 16px 14px}.library-grid.list-view .library-highlight-card{grid-template-rows:minmax(132px,auto);grid-template-columns:minmax(0,1fr) minmax(144px,196px);min-height:132px}.library-grid.list-view .library-highlight-select{border-right:1px solid var(--border);border-bottom:0;border-radius:8px 0 0 8px;grid-template:"reference reference""preview preview"minmax(0,auto)"meta color"/minmax(0,1fr) auto;gap:6px 12px;min-height:132px;padding:12px 14px}.library-grid.list-view .library-highlight-card .library-card-body{min-height:132px;padding:12px}.library-grid.list-view .library-highlight-card footer{border-top:0;align-items:flex-start;height:auto;min-height:100%;padding-top:0}.library-grid.list-view .library-highlight-card footer span{white-space:normal;display:block}.library-grid.list-view .library-highlight-text{-webkit-line-clamp:2;line-clamp:2;grid-area:preview;min-height:1.5em;max-height:3em}.library-grid.list-view .library-highlight-reference{grid-area:reference}.library-grid.list-view .library-highlight-meta{grid-area:meta}.library-grid.list-view .library-highlight-color-row{grid-area:color;justify-self:end}.library-highlight-reference{min-width:0;color:var(--primary-strong);text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:850;overflow:hidden}.library-highlight-text{min-width:0;color:var(--text);font-family:var(--font-reading);-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;font-size:1rem;line-height:1.5;display:-webkit-box;overflow:hidden}.library-highlight-meta,.library-highlight-color-row{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:750;overflow:hidden}.library-highlight-color-row{align-items:center;gap:7px;display:inline-flex}.highlight-color-dot{border:1px solid color-mix(in srgb, var(--text) 12%, transparent);border-radius:999px;width:10px;height:10px;display:inline-block}.highlight-color-dot.yellow{background:#facc15}.highlight-color-dot.blue{background:#60a5fa}.highlight-color-dot.green{background:#4ade80}.highlight-color-dot.purple{background:#a78bfa}.highlight-color-dot.red{background:#f87171}.library-card h2{font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.18rem;font-weight:850;line-height:1.15;overflow:hidden}.library-card p,.library-card small,.library-card footer span{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.library-card-reference{color:var(--text);font-weight:700}.library-card-meta{align-items:center;gap:8px;display:inline-flex}.library-card-meta span+span:before{content:"";vertical-align:middle;background:currentColor;border-radius:999px;width:4px;height:4px;margin-right:8px;display:inline-block}.library-progress,.library-detail-progress div{background:var(--surface-soft);border-radius:999px;height:6px;overflow:hidden}.library-progress span,.library-detail-progress span{border-radius:inherit;background:var(--primary);height:100%;transition:width var(--motion-slow) var(--motion-ease-out);display:block}.library-progress-label{font-size:.8rem;position:absolute;top:119px;right:12px}.library-activity-summary,.library-detail-activity{color:var(--text);white-space:normal;margin:0;font-size:.84rem;font-weight:750;line-height:1.4}.library-card-tags,.detail-tags{flex-wrap:wrap;gap:6px;display:flex}.library-card-tags span,.detail-tags button{border:1px solid var(--border);background:var(--surface-soft);min-height:25px;color:var(--muted);border-radius:7px;align-items:center;padding:3px 8px;font-size:.72rem;font-weight:750;display:inline-flex}.library-excerpt{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.library-card footer{border-top:1px solid var(--border);justify-content:space-between;align-self:end;align-items:center;gap:8px;min-height:42px;margin-top:auto;padding-top:8px;display:flex}.library-card footer span{align-items:center;gap:6px;display:inline-flex}.library-card footer>button,.library-card footer .library-card-menu>button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.library-card footer>button:hover,.library-card footer>button:focus-visible,.library-card footer .library-card-menu>button:hover,.library-card footer .library-card-menu>button:focus-visible{background:var(--surface-soft);color:var(--primary-strong);outline:none}.library-detail-panel{grid-template-rows:176px minmax(0,1fr);display:grid;overflow:hidden}.library-detail-highlight-cover{gap:8px;width:100%;padding:18px;display:grid}.library-detail-highlight-cover strong{color:var(--text);font-size:1.1rem;font-weight:900}.library-detail-highlight-cover span{color:currentColor;text-transform:uppercase;font-size:.82rem;font-weight:850}.library-detail-empty{height:100%;color:var(--muted);text-align:center;align-content:center;gap:10px;padding:24px}.library-detail-empty h2,.library-detail-empty p{margin:0}.library-detail-body{align-content:start;gap:14px;min-height:0;padding:18px;display:grid;overflow:auto}.library-detail-topline{justify-content:space-between;gap:12px}.library-detail-panel h2{font-family:var(--font-display);font-size:1.45rem;font-weight:850;line-height:1.15}.library-detail-progress{gap:12px}.library-detail-progress div{flex:1}.library-detail-section{border-top:1px solid var(--border);gap:10px;padding-top:14px;display:grid}.library-detail-section h3{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.76rem;font-weight:850}.library-detail-section.library-note-preview>div,.library-detail-section .library-note-preview{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;display:grid}.library-detail-section.library-note-preview svg,.library-detail-section .library-note-preview svg{color:var(--muted);margin-top:2px}.library-highlight-detail-preview p{-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;max-height:8.7em;display:-webkit-box;overflow:hidden}.library-overview-list{gap:8px;margin:0;display:grid}.library-overview-list div{justify-content:space-between;align-items:center;gap:12px;display:flex}.library-overview-list dt{color:var(--text);font-size:.85rem}.library-overview-list dd{background:var(--surface-soft);min-width:30px;max-width:180px;color:var(--muted);text-align:center;overflow-wrap:anywhere;border-radius:8px;margin:0;padding:3px 8px;font-size:.76rem;font-weight:850}.library-action-list{gap:8px;display:grid}.library-action-list button{border:1px solid var(--border);background:var(--surface-strong);min-height:42px;color:var(--text);border-radius:8px;justify-content:flex-start;gap:9px;padding:8px 12px;font-weight:750}.library-action-list .button.primary{color:#fff;justify-content:center}.crossrefs-drawer-header,.crossref-filter-row,.crossref-group-heading,.crossref-drawer-meta{align-items:center;display:flex}.crossrefs-drawer-header{justify-content:space-between;gap:14px}.crossrefs-drawer-header h2{margin:0;font-size:1.16rem;font-weight:850}.crossrefs-drawer-header p{color:var(--muted);margin:5px 0 0;font-size:.84rem}.crossref-filter-row{flex-wrap:wrap;gap:7px}.crossref-filter-row button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--muted);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:.8rem;font-weight:750;display:inline-flex}.crossref-filter-row button.active{border-color:color-mix(in srgb, var(--primary) 42%, var(--border));background:var(--primary-soft);color:var(--primary-strong)}.crossref-filter-row span{background:var(--surface-soft);min-width:20px;color:var(--muted);text-align:center;border-radius:999px;padding:1px 5px;font-size:.72rem}.crossrefs-drawer-body{flex-direction:column;gap:14px;min-height:0;padding-right:2px;display:flex;overflow:auto}.crossref-group{gap:10px;display:grid}.crossref-group-heading{justify-content:space-between;gap:10px;padding:0 2px}.crossref-group-heading h3{margin:0;font-size:.94rem;font-weight:850}.crossref-group-heading span{background:var(--surface);min-width:28px;color:var(--muted);text-align:center;border-radius:999px;padding:3px 8px;font-size:.76rem;font-weight:800}.crossref-group-list{gap:9px;display:grid}.crossref-drawer-item{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:10px;padding:13px;display:grid}.crossref-drawer-item h4{color:var(--primary-strong);margin:0;font-size:.98rem;font-weight:850}.crossref-drawer-item p{color:var(--muted);margin:4px 0 0;font-size:.86rem;line-height:1.42}.crossref-drawer-item .crossref-scripture-text{color:var(--text)}.crossref-drawer-meta{color:var(--muted);flex-wrap:wrap;gap:7px;font-size:.78rem;font-weight:650}.crossref-license-footer{border-top:1px solid var(--border);color:var(--muted);align-items:flex-start;gap:8px;margin-top:auto;padding-top:12px;font-size:.78rem;font-weight:650;line-height:1.4;display:flex}.crossref-license-footer svg{flex:none;margin-top:2px}.settings-drawer-header{top:calc(var(--settings-drawer-padding) * -1);z-index:2;margin:calc(var(--settings-drawer-padding) * -1) calc(var(--settings-drawer-padding) * -1) 0;padding:var(--settings-drawer-padding);background:color-mix(in srgb, var(--surface-soft) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid #0000;justify-content:space-between;align-items:center;gap:10px;display:flex;position:sticky}.settings-drawer.scrolled .settings-drawer-header{border-bottom-color:var(--border)}.drawer-status{color:var(--muted);margin:0;font-size:.85rem}@media (width<=1360px){.library-page{grid-template-columns:minmax(0,1fr) minmax(280px,320px)}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.study-layout.has-notebook{grid-template-columns:minmax(300px, var(--reader-pane)) var(--pane-divider-width) minmax(360px, var(--notebook-pane))}.study-layout.has-resources{grid-template-columns:minmax(0, var(--reader-pane)) var(--pane-divider-width) minmax(240px, var(--resources-pane))}.study-layout.has-notebook.has-resources{grid-template-columns:minmax(260px, var(--reader-pane)) var(--pane-divider-width) minmax(330px, var(--notebook-pane)) var(--pane-divider-width) minmax(230px, var(--resources-pane))}}@media (width<=1080px){.app-frame{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.app-sidebar{border-right:0;border-bottom:1px solid var(--border);grid-template-rows:auto auto;min-height:auto;padding:14px;position:static}.sidebar-nav,.profile-card{display:none}.app-main{height:100%;min-height:0}.crossrefs-drawer{width:min(620px,100vw);height:var(--app-viewport-height);top:0}.library-page{grid-template-columns:1fr;overflow:auto}.library-main-panel,.library-detail-panel{min-height:auto;overflow:visible}.library-main-panel{grid-template-rows:none}.library-grid{overflow:visible}.study-layout{grid-template-columns:1fr;overflow:auto}.study-layout.has-notebook,.study-layout.has-resources,.study-layout.has-notebook.has-resources{grid-template-columns:1fr}.pane-divider{display:none}.reader,.notebook,.resource-rail{border-right:0;border-bottom:1px solid var(--border);min-height:auto}.notebook{min-height:760px}}@media (width<=760px){.app-frame{background:var(--background)}.app-sidebar{z-index:64;padding:max(8px, env(safe-area-inset-top)) 12px 8px;border-bottom-color:color-mix(in srgb, var(--border) 72%, transparent);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-template-rows:auto;gap:0;position:relative}.sidebar-brand{grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:7px;width:100%;padding:0;display:grid}.sidebar-brand>.brand-mark,.sidebar-brand>.sidebar-brand-text{display:none}.mobile-brand-search{flex:0 0 38px;width:38px;min-height:38px;display:inline-flex}.mobile-command-reference-form{grid-template-columns:minmax(0,1fr) 78px;gap:7px;width:100%;margin-left:0;display:grid}.mobile-command-reference-form .reference-picker-trigger{width:46px}.mobile-command-reference-form .reference-input-shell input{padding-right:94px}.mobile-command-reference-form .reference-clear-button{right:54px}.sidebar-collapse-button{display:none}.brand-mark{border-radius:8px;width:40px;height:40px;box-shadow:0 8px 18px #0f172a21}.app-main{grid-template-rows:minmax(0,1fr) auto}.commandbar,.desktop-command-reference-form,.commandbar-left,.commandbar-actions,.commandbar-actions .status-line,.commandbar-actions .toolbar-divider,.reader-mode-control,.reader-panel-control{display:none}.command-reference-form{flex:1;grid-template-columns:minmax(0,1fr) 78px;margin-left:0}.passage-picker{width:min(410px,100vw - 24px)}.passage-selector-menu{grid-template-columns:minmax(132px,.9fr) minmax(150px,1.1fr);width:min(430px,100vw - 24px)}.reference-suggestion-footer{gap:8px;font-size:.74rem}.reference-suggestion-footer span:last-child{margin-left:0}.reader{border-bottom:0;padding:14px 14px 16px}.study-layout.has-notebook,.study-layout.has-resources{overflow:hidden}.study-layout.has-notebook>.reader,.study-layout.has-resources>.reader,.study-layout.has-resources>.notebook{display:none}.study-layout.has-notebook>.notebook,.study-layout.has-resources>.resource-rail{border-bottom:0;height:100%;min-height:0}.notebook{background:var(--background);-webkit-overflow-scrolling:touch;overflow:hidden auto}.notebook-header{border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;min-height:auto;padding:10px 12px;display:grid;position:relative;top:auto}.notebook-header-main{gap:6px}.notebook-title-row{grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;display:grid}.notebook-title-row.has-view-toggle{grid-template-columns:minmax(0,1.12fr) minmax(116px,.88fr)}.notebook-title-copy{display:none}.notebook-title-copy h2{font-size:1.22rem;line-height:1.1}.notebook-title-copy p{display:none}.notebook-header-actions{display:contents}.notebook-header-actions .compact-command,.notebook-close-button{display:none}.workspace-switcher{justify-self:stretch;width:100%;display:block}.workspace-switcher-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.workspace-switcher-control{border:1.5px solid var(--primary);background:var(--surface);width:100%;min-height:48px;box-shadow:0 12px 28px #0f172a0d, inset 0 0 0 1px color-mix(in srgb, var(--primary) 10%, transparent);border-radius:8px;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:7px;padding:7px 9px;display:grid;position:relative}.workspace-switcher-control:focus-visible{outline:3px solid color-mix(in srgb, var(--primary) 18%, transparent);outline-offset:2px}.workspace-switcher-icon{background:color-mix(in srgb, var(--primary-soft) 82%, var(--surface));width:28px;height:28px;color:var(--primary);border-radius:999px;place-items:center;display:grid}.workspace-switcher-copy{gap:3px;min-width:0;display:grid}.workspace-switcher-copy strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:850;line-height:1.15;overflow:hidden}.workspace-switcher-copy em{display:none}.workspace-switcher-chevron{color:var(--text);justify-self:end;display:block}.workspace-switcher-menu{width:min(420px,100vw - 24px);max-height:min(430px, calc(var(--app-viewport-height) - 230px));padding:8px;top:calc(100% + 6px);left:0;right:auto;overflow-y:auto}.workspace-menu-option{grid-template-columns:38px minmax(0,1fr) 24px;min-height:62px;padding:8px}.workspace-menu-option-icon{width:36px;height:36px}.notebook-view-toggle{background:color-mix(in srgb, var(--surface) 96%, var(--background));border-radius:8px;grid-column:auto;width:100%;min-height:48px;margin-top:0;padding:4px;box-shadow:0 8px 22px #0f172a0a}.notebook-view-toggle button{min-width:0;min-height:38px;color:var(--muted);border-radius:7px;flex:1 1 0;gap:5px;padding:5px 6px;font-size:.82rem;font-weight:850}.notebook-view-toggle svg{width:15px;height:15px;display:block}.notebook-view-toggle button.active{background:color-mix(in srgb, var(--primary-soft) 74%, var(--surface));color:var(--primary-strong);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--primary) 42%, transparent), 0 2px 9px #2563eb1a}.saved-pill{grid-column:1/-1;justify-self:start}.study-target-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:7px 9px;display:none}.study-target-label{min-width:0}.study-target-label strong{display:none}.study-target-label span,.study-target-reference{font-weight:800}.study-target-row .text-command{white-space:nowrap}.study-target-notice,.study-selection-notice{gap:8px;padding:8px 10px}.study-target-notice{flex-direction:row;align-items:center;display:flex}.study-target-notice>div:first-child,.study-selection-notice>div:first-child{flex:auto;gap:2px;min-width:0;display:grid}.study-target-notice>div:last-child,.study-selection-notice>div:last-child{flex-wrap:nowrap;flex:none;gap:6px;min-width:0}.study-selection-notice{flex-direction:column;align-items:stretch}.study-selection-notice>div:last-child{scrollbar-width:none;overflow-x:auto}.study-selection-notice>div:last-child::-webkit-scrollbar{display:none}.study-target-notice strong,.study-selection-notice strong{font-size:.76rem;line-height:1.15}.study-target-notice>div:first-child span,.study-selection-notice>div:first-child span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.72rem;line-height:1.2;overflow:hidden}.study-target-notice .button,.study-selection-notice .button{white-space:nowrap;min-height:30px;padding:4px 8px;font-size:.72rem}.study-target-notice .desktop-label{display:none}.study-target-notice .mobile-label{display:inline}.mobile-retarget-command{display:inline-flex}.notebook-form-panel{box-shadow:inset 3px 0 0 var(--primary);border-left-width:0;gap:12px;padding:14px 12px 18px}.notebook-mobile-guidance{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:color-mix(in srgb, var(--primary-soft) 54%, var(--surface));color:var(--primary-strong);border-radius:8px;margin:0;padding:10px 12px;font-size:.8rem;font-weight:800;line-height:1.35;display:block}.notebook-form-panel.tone-purple{box-shadow:inset 3px 0 0 var(--purple)}.notebook-form-panel.tone-green{box-shadow:inset 3px 0 0 var(--green)}.notebook-form-panel.tone-amber{box-shadow:inset 3px 0 0 var(--amber)}.notebook-tabs{z-index:28;border-top:0;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface-soft) 94%, var(--surface));scrollbar-width:none;grid-auto-rows:auto;gap:5px;padding:6px 10px;display:flex;position:sticky;top:0;overflow-x:auto;box-shadow:0 10px 18px -18px #0f172a80}.notebook-tabs::-webkit-scrollbar{display:none}.notebook-tabs button{border:1px solid var(--border);background:var(--surface);border-radius:8px;flex:0 0 132px;align-content:center;gap:3px;height:42px;min-height:42px;padding:6px 8px;font-size:.78rem}.notebook-tabs button.active.blue,.notebook-tabs button.active.purple,.notebook-tabs button.active.green,.notebook-tabs button.active.amber{border-bottom-color:currentColor}.notebook-tabs button small{font-size:.58rem}.notebook-tab-meter{display:none}.notebook-section-card,.general-note-field,.structured-field-card{padding:12px}.notebook-workspace,.notebook-form-panel,.notebook-paper-panel,.lesson-notes-workspace{flex:none;overflow:visible}.notebook-section-heading{gap:8px}.notebook-section-heading h3{font-size:1.08rem}.notebook-section-heading p,.structured-field-header p{font-size:.8rem}.resource-rail{background:var(--background);border-bottom:0;gap:10px;padding:12px;overflow-x:hidden}.resource-rail-header{background:color-mix(in srgb, var(--surface) 96%, transparent);gap:8px;margin:-12px -12px 0;padding:12px;top:-12px;overflow-x:hidden}.resource-header-top{align-items:center}.resource-header-copy .panel-kicker{display:none}.resource-header-copy h2{font-size:1.06rem;line-height:1.2}.resource-header-copy span{font-size:.74rem}.resource-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.resource-tabs button{min-width:0;min-height:36px;padding:7px 9px;font-size:.76rem}.resource-panel{background:var(--surface);gap:10px;min-width:0;max-width:100%;padding:12px;overflow-x:hidden}.resource-panel h2{font-size:.98rem}.crossref-card{gap:8px;min-width:0;max-width:100%;padding:11px}.crossref-card h3{font-size:.96rem}.crossref-card-excerpt{-webkit-line-clamp:2;line-clamp:2;font-size:.9rem;line-height:1.48}.crossref-card-actions{gap:6px;min-width:0}.crossref-card-actions button{min-width:0;min-height:32px}.resource-close-button{display:none}.library-page{background:var(--background);padding:0;overflow:auto}.library-main-panel{background:var(--background);box-shadow:none;border:0;border-radius:0;gap:10px;padding:12px;overflow:visible}.library-page-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:0;display:grid}.library-page-header h1{font-size:1.34rem;line-height:1.1}.library-page-header p{margin:4px 0 0;font-size:.78rem;line-height:1.32}.library-page-header .button.primary{min-height:38px;padding:7px 10px;font-size:.82rem}.library-collection-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.library-collection-row button{justify-content:center;min-height:38px;padding:7px 9px}.library-search-row{grid-template-columns:minmax(0,1fr) 42px 42px;align-items:center;gap:8px;display:grid}.library-search-field{min-height:42px;padding:0 10px}.library-search-field input{min-height:40px;font-size:.9rem}.library-search-row .button.secondary{gap:0;width:42px;min-height:42px;padding:0;font-size:0}.library-search-row .button.secondary strong,.library-search-row .library-view-toggle{display:none}.library-type-row,.library-filter-row{scrollbar-width:none;flex-wrap:nowrap;gap:7px;padding-bottom:2px;overflow-x:auto}.library-type-row::-webkit-scrollbar{display:none}.library-filter-row::-webkit-scrollbar{display:none}.library-type-row button,.library-filter-row button{white-space:nowrap;flex:none;min-height:36px;padding:6px 10px}.library-filter-row .library-view-toggle,.library-filter-row{display:none}.library-grid{grid-template-columns:1fr;gap:10px;padding:0 0 8px;overflow:visible}.library-callout,.library-continue-card,.library-empty-state{padding:10px 12px}.library-grid .library-callout+.library-callout,.library-main-panel>.drawer-status{display:none}.library-continue-card{flex-direction:column;align-items:stretch}.library-continue-card .button{align-self:stretch}.library-card{grid-template-rows:auto;grid-template-columns:86px minmax(0,1fr);display:grid;overflow:hidden}.library-highlight-card{display:block}.library-highlight-card .library-card-body,.library-grid.list-view .library-highlight-card .library-card-body{padding:0 10px 10px}.library-grid.list-view .library-highlight-select{border-right:0;border-bottom:1px solid var(--border);border-radius:8px 8px 0 0}.library-grid.list-view .library-highlight-card footer{border-top:1px solid var(--border);height:auto;min-height:34px;padding-top:6px}.library-card-select{border-radius:8px 0 0 8px;height:auto;min-height:100%}.library-grid.list-view .library-card-select{border-radius:8px 0 0 8px;min-height:100%}.library-cover{min-height:126px}.library-typographic-cover{gap:5px;padding:10px}.library-typographic-cover strong{font-size:.96rem}.library-typographic-cover span{font-size:.76rem}.library-card-body{gap:6px;min-height:0;padding:10px}.library-grid.list-view .library-card-body{min-height:0}.library-kind-pill,.library-card-tags span{min-height:23px;font-size:.66rem}.library-card h2{font-size:.96rem}.library-excerpt{-webkit-line-clamp:1;line-clamp:1}.library-card-tags{display:none}.library-card footer{padding-top:6px}.library-detail-panel{display:none}.mobile-bottom-nav{z-index:45;min-height:calc(var(--mobile-bottom-nav-min-height) + env(safe-area-inset-bottom));padding:5px 8px max(7px, env(safe-area-inset-bottom));border-top:1px solid color-mix(in srgb, var(--border) 80%, transparent);background:color-mix(in srgb, var(--surface) 96%, transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);grid-row:2;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:2px;display:grid;position:relative;box-shadow:0 -10px 26px #0f172a12}.mobile-bottom-nav button{z-index:1;min-width:0;min-height:54px;color:var(--muted);background:0 0;border:0;border-radius:8px;grid-template-rows:22px auto;align-content:center;justify-items:center;gap:2px;padding:5px 2px;font-size:.64rem;font-weight:800;display:grid;position:relative}.mobile-bottom-nav button svg{align-self:end}.mobile-bottom-nav button .mobile-nav-avatar{background:linear-gradient(135deg, var(--primary), var(--green));color:#fff;border-radius:999px;align-self:end;place-items:center;width:22px;height:22px;font-size:.68rem;font-weight:900;line-height:1;display:grid}.mobile-bottom-nav button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-bottom-nav button.active{background:color-mix(in srgb, var(--primary-soft) 82%, var(--surface));color:var(--primary-strong)}.mobile-bottom-nav button.active:before{background:var(--primary);content:"";border-radius:999px;width:18px;height:3px;position:absolute;top:4px}.mobile-bottom-nav button:focus-visible{outline-offset:-2px}.reader-passage-stage.compare,.compare-reference-form{grid-template-columns:1fr}.reader-floating-nav-layer{display:none}.reader-passage-stage.single{width:100%;max-width:880px}.reader-selection-strip,.reader-footer-nav{width:100%}.floating-selection-action-bar{display:none}.reader-footer-nav.has-selection-actions{grid-template-columns:minmax(0,1fr);gap:0;min-height:66px;padding:0}.reader-footer-nav.has-selection-actions .reader-footer-link,.reader-footer-nav.has-selection-actions .reader-go-to-verse{display:none}.footer-selection-action-bar{z-index:auto;width:100%;max-width:none;min-height:64px;box-shadow:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:6px 8px;display:flex;position:relative;bottom:auto;right:auto;overflow:auto hidden;transform:none;top:auto!important;left:auto!important}.footer-selection-action-bar::-webkit-scrollbar{display:none}.selection-action-label{z-index:2;border-right:1px solid var(--border);background:var(--surface-strong);border-bottom:0;flex:0 0 104px;align-content:center;align-self:stretch;width:104px;min-width:104px;max-width:104px;padding:0 10px 0 8px;position:sticky;left:-8px;box-shadow:10px 0 14px -16px #0f172a6b}.selection-action-label strong{font-size:.78rem}.selection-action-bar button{border-radius:8px;flex:0 0 58px;align-content:center;justify-items:center;gap:2px;min-width:58px;min-height:50px;padding:4px 6px;font-size:.62rem;display:grid}.selection-action-bar button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.56rem;line-height:1.1;overflow:hidden}.selection-highlight-tools{background:0 0;border:0;flex:none;align-items:center;gap:6px;min-width:max-content;min-height:50px;padding:0;font-size:.62rem;display:inline-flex}.selection-highlight-palette{background:var(--surface-soft);border-radius:8px;align-items:center;gap:7px;min-height:50px;padding:0 10px;display:inline-flex}.selection-action-bar .highlight-swatch{flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px}.selection-action-close{width:auto;position:static;min-width:58px!important;min-height:50px!important;color:var(--muted)!important;flex-basis:58px!important;padding:4px!important}.selection-action-close-label{display:block}.reader-passage-stage{isolation:isolate;overscroll-behavior-x:contain;touch-action:pan-y;position:relative;overflow:hidden}.reader-mobile-swipe-active .reader-scroll-region{overscroll-behavior:contain;overflow-y:hidden}.reader-passage-stage.mobile-swipe-active{-webkit-user-select:none;user-select:none;border-radius:8px}.reader-passage-stage.mobile-swipe-active>.reader-page,.reader-passage-stage.mobile-swipe-active>.empty-passage{z-index:1;background:var(--surface);transform:translate3d(var(--reader-swipe-offset), 0, 0);will-change:transform;border-radius:8px;transition:none;position:relative;box-shadow:12px 0 26px #2563eb1a}.reader-passage-stage.mobile-swipe-next>.reader-page,.reader-passage-stage.mobile-swipe-next>.empty-passage{border-top-right-radius:32px;border-bottom-right-radius:32px;box-shadow:18px 0 28px #2563eb24}.reader-passage-stage.mobile-swipe-previous>.reader-page,.reader-passage-stage.mobile-swipe-previous>.empty-passage{border-top-left-radius:32px;border-bottom-left-radius:32px;box-shadow:-18px 0 28px #2563eb24}.reader-passage-stage.mobile-swipe-settling>.reader-page,.reader-passage-stage.mobile-swipe-settling>.empty-passage{transition:transform .18s cubic-bezier(.22,.72,.26,1)}.reader-swipe-preview{top:var(--reader-swipe-preview-top);z-index:0;opacity:var(--reader-swipe-progress);pointer-events:none;justify-content:flex-end;align-items:center;padding:14px 10px;display:flex;position:absolute;left:0;right:0;transform:translateY(-50%)}.reader-passage-stage.mobile-swipe-previous .reader-swipe-preview{justify-content:flex-start}.reader-swipe-preview-card{border:1px solid color-mix(in srgb, var(--primary) 20%, var(--border));background:linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 86%, transparent), transparent 72%), var(--surface-strong);width:min(190px,50vw);color:var(--text);border-radius:20px;gap:9px;padding:14px 10px;display:grid;box-shadow:0 20px 44px #2563eb29}.reader-passage-stage.mobile-swipe-next .reader-swipe-preview-card{text-align:right;padding-left:20px;padding-right:10px}.reader-passage-stage.mobile-swipe-previous .reader-swipe-preview-card{text-align:left;padding-left:10px;padding-right:18px}.reader-swipe-preview-heading{gap:6px;display:grid}.reader-swipe-preview-heading span{color:color-mix(in srgb, var(--primary) 72%, var(--muted));letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;font-size:.64rem;font-weight:900}.reader-swipe-preview-heading div{color:var(--primary-strong);justify-content:space-between;align-items:center;gap:12px;display:flex}.reader-passage-stage.mobile-swipe-next .reader-swipe-preview-heading div{flex-direction:row;justify-content:flex-end}.reader-passage-stage.mobile-swipe-next .reader-swipe-preview-heading strong{text-align:right}.reader-passage-stage.mobile-swipe-previous .reader-swipe-preview-heading div{flex-direction:row-reverse}.reader-swipe-preview-heading strong{min-width:0;color:var(--primary-strong);text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;font-weight:900;line-height:1.15;overflow:hidden}.reader-swipe-preview-heading svg{color:var(--primary-strong);flex:none}.reader-swipe-preview-excerpt{border-top:1px solid color-mix(in srgb, var(--border) 78%, transparent);color:color-mix(in srgb, var(--text) 78%, var(--muted));font-family:var(--font-serif);margin:0;padding-top:10px;font-size:.8rem;line-height:1.42}.reader-passage-stage.mobile-swipe-next .reader-swipe-preview-excerpt{text-align:right}.reader-swipe-preview-excerpt sup{color:var(--primary-strong);font-family:var(--font-sans);margin-right:5px;font-size:.8em;font-weight:900}.reader-swipe-preview-excerpt.muted{font-family:var(--font-sans);color:var(--muted);font-size:.88rem;font-weight:750}.reader-swipe-preview-hint{border:1px solid color-mix(in srgb, var(--border) 76%, transparent);background:color-mix(in srgb, var(--surface) 82%, transparent);color:var(--muted);text-align:left;border-radius:14px;align-items:center;gap:12px;margin-top:6px;padding:9px;display:flex}.reader-passage-stage.mobile-swipe-next .reader-swipe-preview-hint{text-align:right;flex-direction:row-reverse;justify-content:flex-end}.reader-swipe-preview-hint svg{color:var(--primary-strong);flex:none}.reader-swipe-preview-hint div{gap:4px;display:grid}.reader-swipe-preview-hint strong{color:var(--primary-strong);font-size:.7rem;font-weight:900}.reader-swipe-preview-hint span{color:var(--muted);font-size:.67rem;font-weight:760;line-height:1.35}.reader-swipe-preview-hint.ready{border-color:color-mix(in srgb, var(--primary) 28%, var(--border));background:color-mix(in srgb, var(--primary-soft) 58%, var(--surface))}.reader-footer-nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:50px;margin-top:10px;padding:6px}.reader-go-to-verse{display:none}.reader-footer-link.previous,.reader-footer-link.next{justify-content:center}.reader-mode-control button,.reader-panel-control button{width:41px;padding:6px;font-size:0}.reader-mode-control button svg,.reader-panel-control button svg{margin:0}.reader-full-chapter-button,.reader-heading:not(.has-selection-actions){display:none}.reader-heading.has-selection-actions{width:100%;margin:0 0 12px;display:none}.heading-selection-action-bar{min-height:64px;display:flex}.heading-selection-action-bar .selection-action-label{flex:104px;width:auto;min-width:104px;max-width:none;padding:0 10px 0 8px;position:static;left:auto}.heading-selection-action-bar .selection-action-scroll{max-width:calc(100% - 104px)}.notebook-section-heading{flex-direction:column}.notebook-workspace{grid-template-columns:1fr}.method-rail{border-right:0;border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr))}.notebook-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-grid,.paired-fields,.structured-field-grid,.lesson-field-grid{grid-template-columns:1fr}.structured-field-header{flex-direction:column}.structured-add-row,.structured-add-row.categorized{grid-template-columns:1fr}.committed-entry{grid-template-columns:24px minmax(0,1fr)}.entry-actions{grid-column:2}.lesson-section-card,.structured-field-card.has-leading-icon{grid-template-columns:1fr}.study-flow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-bridge-panel dl div{grid-template-columns:1fr;gap:3px}.mega-search-backdrop{padding:12px}.mega-search{max-height:calc(var(--app-viewport-height) - 24px)}.mega-search-results button,.mega-search-action,.scripture-result-list button,.related-search-list button{grid-template-columns:1fr;gap:4px}.search-page{padding:16px}.search-page-header,.related-search-grid{grid-template-columns:1fr}.search-page-form{grid-template-columns:auto minmax(0,1fr)}.search-page-form .button{grid-column:1/-1;justify-content:center}.prompt-grid label:nth-child(2),.prompt-grid label:nth-child(3),.prompt-grid label:nth-child(4),.prompt-grid label:nth-child(5){grid-column:auto}.settings-drawer{--settings-drawer-padding:14px;inset:0 0 calc(var(--mobile-bottom-nav-min-height) + env(safe-area-inset-bottom)) 0;width:100%;height:auto;padding:var(--settings-drawer-padding);border-right:0;border-bottom:1px solid var(--border);border-left:0;padding-bottom:18px}.crossrefs-drawer{height:var(--app-viewport-height);padding-bottom:max(18px, env(safe-area-inset-bottom))}.scripture-note-panel{max-height:calc(var(--app-viewport-height) - 24px);top:12px;right:12px}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select,textarea{font-size:16px}.command-reference-form input,.command-reference-form select,.mega-search-header input{font-size:1rem}html[data-mobile-keyboard-focus=true] .notebook-form-panel,html[data-mobile-keyboard-focus=true] .notebook-paper-panel,html[data-mobile-keyboard-focus=true] .lesson-notes-workspace,html[data-mobile-keyboard-focus=true] .resource-rail,html[data-mobile-keyboard-focus=true] .settings-drawer,html[data-mobile-keyboard-focus=true] .scripture-note-panel,html[data-mobile-keyboard-focus=true] .library-page,html[data-mobile-keyboard-focus=true] .search-page{scroll-padding-bottom:max(104px, calc(var(--app-viewport-bottom-offset) + 24px))}html[data-mobile-keyboard-focus=true] .notebook-form-panel,html[data-mobile-keyboard-focus=true] .lesson-notes-workspace,html[data-mobile-keyboard-focus=true] .resource-rail,html[data-mobile-keyboard-focus=true] .library-page,html[data-mobile-keyboard-focus=true] .search-page{padding-bottom:max(104px, calc(var(--app-viewport-bottom-offset) + 24px))}html[data-mobile-keyboard-focus=true] .settings-drawer{inset:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;transition-delay:0s!important;animation-duration:1ms!important;animation-iteration-count:1!important}}
