.sermon-study-compact{container-type:inline-size;container-name:study;display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;overflow:hidden;background:hsl(var(--card));color:hsl(var(--foreground))}.study-document-bar{display:flex;align-items:center;gap:8px;flex:none;min-height:56px;padding:6px 10px;border-bottom:1px solid hsl(var(--border));font:500 1rem/1.4 var(--ef-font-body,system-ui,sans-serif)}.study-document-bar select{flex:1;min-width:0;width:0;max-width:480px;height:42px;padding:7px 12px;border:1px solid hsl(var(--border));border-radius:9px;background:hsl(var(--background));color:hsl(var(--foreground));font:500 .95rem/1.4 var(--ef-font-body,system-ui,sans-serif);text-overflow:ellipsis}.study-document-bar option{background:hsl(var(--card));color:hsl(var(--foreground))}.study-bar-title{display:inline-flex;align-items:center;gap:7px;flex:none;font-weight:700;color:hsl(var(--primary));white-space:nowrap}.study-document-bar button:first-of-type{margin-left:auto}.study-document-bar button,.study-bottom-nav button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:6px 8px;border-radius:5px;white-space:nowrap}.study-document-bar button[aria-pressed=true]{background:hsl(var(--primary)/.12);color:hsl(var(--primary))}.study-report-shell{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.study-reader-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}.study-reader-layout{display:grid;grid-template-columns:145px minmax(0,1fr);gap:20px;padding:18px 20px 32px}.study-saved-layout{display:block}.study-reader-nav{position:sticky;top:16px;align-self:start;max-height:calc(100cqh - 90px);overflow:auto;font:400 .78rem/1.45 var(--ef-font-body,system-ui,sans-serif)}.study-reader-nav button{display:block;width:100%;text-align:left;padding:9px 10px;min-height:42px;border-radius:5px;color:hsl(var(--muted-foreground))}.study-reader-nav button[aria-current],.study-section-menu button[aria-current]{background:hsl(var(--primary)/.1);color:hsl(var(--primary));font-weight:600}.study-reader-document{min-width:0;max-width:72ch;overflow-wrap:anywhere}.study-document-meta{margin:0 0 14px!important}.study-meta{font:400 .76rem/1.6 var(--ef-font-body,system-ui,sans-serif)!important;color:hsl(var(--muted-foreground));margin:.5rem 0}.study-report-section{padding:0 0 24px;margin-bottom:16px;border-bottom:1px solid hsl(var(--border));scroll-margin-top:16px}.study-report-section h3,.study-saved h3{font-size:1.2rem!important;line-height:1.4!important;margin:0 0 12px!important;font-weight:650}.study-report-section h4,.study-saved h4{font-size:1.05rem!important;font-weight:650;margin:1em 0 .5em!important}.study-markdown{font-size:1rem;line-height:1.75}.study-markdown p{margin:.7em 0}.study-markdown :is(ul,ol){padding-left:1.5em;margin:.7em 0}.study-markdown ul{list-style:disc}.study-markdown ol{list-style:decimal}.study-markdown li{margin:.3em 0}.study-markdown a{color:hsl(var(--primary));text-decoration:underline}.study-markdown blockquote,.study-saved blockquote{border-left:2px solid hsl(var(--primary)/.4);padding-left:14px;margin:.8em 0}.study-markdown pre{overflow:auto;padding:10px;background:hsl(var(--muted));border-radius:5px}.study-text-mark{color:inherit;box-decoration-break:clone;-webkit-box-decoration-break:clone}.study-mark-highlight,.study-mark-clip{background:#f6df83;color:#292114}.study-mark-comment{border-bottom:2px dotted hsl(var(--primary))}.study-mark-strike{text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:#ba665d;opacity:.8}.study-section-footer{display:flex;align-items:start;flex-wrap:wrap;gap:8px;margin-top:13px;font:400 .75rem/1.5 var(--ef-font-body,system-ui,sans-serif);color:hsl(var(--muted-foreground))}.study-section-footer details{flex:1;min-width:110px}.study-section-footer :is(button,summary){min-height:36px;padding:7px 2px}.study-section-footer button{display:flex;align-items:center;gap:4px}.study-source-links{list-style:none!important;padding:0!important;margin:.5em 0!important;font:400 .76rem/1.5 var(--ef-font-body,system-ui,sans-serif)!important}.study-source-links li{margin:.6em 0}.study-source-links :is(a,button){display:inline-flex;align-items:center;gap:5px;color:hsl(var(--primary));text-decoration:underline}.study-source-links span{display:block;color:hsl(var(--muted-foreground))}.study-actions{display:flex;flex-wrap:wrap;gap:7px;margin:.65em 0}.study-actions :is(button,a),.study-selection-tools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:7px 10px;border:1px solid hsl(var(--border));border-radius:5px;font:500 .77rem/1.4 var(--ef-font-body,system-ui,sans-serif)}.study-selection-tools{box-sizing:border-box;position:absolute;display:flex;flex-wrap:wrap;align-items:center;gap:3px;width:min(440px,calc(100% - 16px));max-width:calc(100% - 16px);padding:5px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;box-shadow:0 12px 30px #0005;z-index:5}.study-selection-tools button{border:0;flex:none;padding:7px 9px;font-size:.875rem}.study-selection-tools>button:last-of-type{min-width:38px}.study-highlight-colors{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;flex-basis:100%;width:100%;padding-top:4px}.study-highlight-colors button{min-width:0;min-height:40px;padding:5px;border:1px solid hsl(var(--border));border-radius:7px;font-weight:800}.study-selection-tools button:hover,.study-selection-tools button:focus-visible{background:hsl(var(--primary)/.12);color:hsl(var(--primary))}.study-reader-message{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;font-size:.78rem;background:hsl(var(--muted));flex:none}.study-reader-message[role=alert]{color:hsl(var(--destructive))}.study-reader-message button{min-width:32px;min-height:32px}.study-notice{padding:10px 12px;font-size:.8rem;background:hsl(var(--muted));margin:0}.study-notice button{text-decoration:underline}.study-compact-empty{padding:18px;font-size:.9rem;line-height:1.6}.study-compact-empty button{margin-top:12px}.study-comment-form{margin:12px 0;padding:14px;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--card));font-size:1rem}.study-comment-bubble{position:absolute;z-index:6;width:min(340px,calc(100% - 16px));margin:0;box-shadow:0 12px 32px #0005}.study-saved-comment{display:flex;align-items:flex-start;gap:9px;white-space:pre-wrap;font-size:1rem;line-height:1.6}.study-saved-comment svg{flex:none;margin-top:4px;color:hsl(var(--primary))}.study-comment-form label{display:block;font-size:.85rem}.study-comment-form textarea{display:block;width:100%;min-height:90px;background:hsl(var(--background));border:1px solid hsl(var(--border));padding:9px;margin-top:6px;border-radius:5px}.study-comment-form blockquote{font-size:.85rem;border-left:2px solid hsl(var(--primary));padding-left:10px;margin-bottom:10px}.study-annotation-list{font-size:.8rem;margin-top:10px}.study-annotation-list>div{padding:8px 0;border-bottom:1px solid hsl(var(--border))}.study-annotation-list blockquote{margin:5px 0}.study-annotation-list summary,.study-originals summary{min-height:38px;padding:8px 0;cursor:pointer}.study-originals{font-size:.8rem;color:hsl(var(--muted-foreground))}.study-add-image{margin-top:8px}.study-saved-item{padding:12px 0 20px;border-bottom:1px solid hsl(var(--border));margin-bottom:12px}.study-media{margin:14px 0 24px}.study-media img{max-width:100%;max-height:420px;-o-object-fit:contain;object-fit:contain;border-radius:6px;background:hsl(var(--muted))}.study-media figcaption{font-size:.8rem;margin-top:8px}.study-media details{color:hsl(var(--muted-foreground));margin-top:5px}.study-file-picker{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:112px;padding:18px;border:1px dashed hsl(var(--border));border-radius:12px;background:hsl(var(--card));color:hsl(var(--foreground));cursor:pointer;text-align:center}.study-file-picker svg{color:hsl(var(--primary))}.study-file-picker:hover,.study-file-picker:focus-within{border-color:hsl(var(--primary));background:hsl(var(--primary)/.07)}.study-file-picker:focus-within{outline:2px solid hsl(var(--primary));outline-offset:2px}.study-document-bar{font-size:.9rem}.study-reader-nav,.study-source-links,.study-section-footer,.study-originals,.study-annotation-list,.study-media figcaption,.study-reader-message,.study-notice{font-size:.875rem!important;line-height:1.5}.study-meta{font-size:.875rem!important}.study-section-footer :is(button,summary),.study-annotation-list summary{min-height:44px}.study-report-section h3,.study-saved h3{font-size:1.3rem!important}.study-comment-form label,.study-comment-form blockquote{font-size:1rem}.study-comment-form textarea{font-size:1rem;line-height:1.5}.study-bottom-nav{display:none}.sermon-study-compact button:disabled{opacity:.4}.sermon-study-compact button:focus-visible,.sermon-study-compact select:focus-visible,.sermon-study-compact summary:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}@container study (max-width:900px){.study-document-bar{flex-wrap:wrap}.study-document-bar select{order:2;flex-basis:100%;width:100%;max-width:none}.study-document-bar .study-bar-title{margin-right:auto}.study-reader-layout{display:block;padding:16px 18px 26px}.study-reader-nav{display:none}.study-bottom-nav{position:relative;display:flex;align-items:center;flex:none;gap:4px;min-height:52px;border-top:1px solid hsl(var(--border));padding:4px 8px max(4px,env(safe-area-inset-bottom));background:hsl(var(--card));z-index:3}.study-bottom-nav>button{min-width:42px}.study-bottom-nav .study-current-section{flex:1;min-width:0;white-space:normal;text-align:center;font-size:.8rem;line-height:1.3}.study-section-menu{position:absolute;bottom:calc(100% + 5px);left:8px;right:8px;max-height:330px;overflow:auto;padding:6px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--card));box-shadow:0 6px 25px #0003}.study-section-menu button{display:block;width:100%;white-space:normal;text-align:left;min-height:44px;padding:10px 12px;font-size:.85rem}}@container study (max-width:500px){.study-document-bar{padding:4px}.study-document-bar button{padding:6px}.study-reader-layout{padding:14px}.study-selection-tools button{gap:3px;padding:7px}.study-selection-tools button span{display:none}.study-selection-tools svg{width:19px;height:19px}}.sermon-workspace .sermon-study-compact .study-document-bar{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:8px;min-height:43px;height:auto;padding:3px 12px;overflow:visible}.study-document-center{display:flex;justify-content:center;min-width:0}.study-document-bar .study-document-center select{flex:none;width:min(100%,390px);max-width:390px;min-height:36px;height:36px;font-size:1rem}.study-document-actions{display:flex;align-items:center;gap:2px}.study-document-bar .study-document-actions button{min-width:38px;min-height:38px;margin:0;padding:6px;border-radius:8px}.study-document-bar .study-document-actions button:hover{background:hsl(var(--primary)/.1)}.study-reader-document{width:100%;max-width:var(--study-measure,72ch);margin-inline:auto;font-family:var(--study-font-family,Georgia,serif)}.study-markdown{font-family:var(--study-font-family,Georgia,serif);font-size:var(--study-font-size,18px);line-height:var(--study-line-height,1.7)}.study-markdown>p{text-indent:var(--study-indent,0)}.study-markdown :is(h4,h5,h6){font-family:var(--ef-font-body,system-ui,sans-serif);font-weight:700;line-height:1.35;margin:1.2em 0 .55em}.study-markdown h4{font-size:1.18em}.study-markdown h5{font-size:1.08em}.study-markdown h6{font-size:1em}.study-markdown :is(h1,h2,h3){font-family:var(--ef-font-body,system-ui,sans-serif);font-weight:700;line-height:1.3;letter-spacing:-.015em}.study-markdown h1{font-size:1.65em;margin:1.2em 0 .65em}.study-markdown h2{font-size:1.38em;margin:1.5em 0 .6em;padding-bottom:.25em;border-bottom:1px solid hsl(var(--border))}.study-markdown h3{font-size:1.18em;margin:1.3em 0 .5em}.study-markdown table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:1em 0;font:400 .85em/1.5 var(--ef-font-body,system-ui,sans-serif)}.study-markdown :is(th,td){min-width:120px;padding:.55em .7em;border:1px solid hsl(var(--border));vertical-align:top;text-align:left}.study-markdown th{background:hsl(var(--muted));font-weight:700}.study-markdown pre{max-width:100%;overflow-x:auto;font:400 .78em/1.4 ui-monospace,SFMono-Regular,monospace}.study-reading-settings{display:grid;gap:18px;font-size:1rem}.study-reading-settings label{display:grid;gap:7px;font-weight:600}.study-reading-settings select{min-height:44px;width:100%;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--background));padding:8px 12px;font-weight:400}.study-reading-settings fieldset{border:0;padding:0}.study-reading-settings legend{font-weight:600;margin-bottom:8px}.study-font-choices{display:flex;gap:8px}.study-font-choices button{min-height:44px;flex:1;border:1px solid hsl(var(--border));border-radius:8px}.study-font-choices button[aria-pressed=true]{border-color:hsl(var(--primary));background:hsl(var(--primary)/.12)}.study-selection-tools{display:grid;grid-template-rows:auto auto;width:min(430px,calc(100% - 16px));gap:5px}.study-selection-row{display:flex;align-items:center;gap:4px;min-width:0}.study-selection-palette{justify-content:space-between}.study-selection-palette .study-color-swatch{flex:1;min-width:28px;min-height:38px;padding:4px;border:1px solid hsl(var(--border));border-radius:7px;font-size:.75rem;font-weight:800}.study-selection-palette .study-selection-close{min-width:38px;min-height:38px;margin-left:auto}.study-selection-commands button{flex:1;min-width:0;min-height:40px;white-space:nowrap}.study-inline-comment{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;margin-inline:3px;border:0;border-radius:50%;background:hsl(var(--primary)/.12);font-size:16px;vertical-align:middle;cursor:pointer}.study-inline-comment:hover,.study-inline-comment:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.study-comment-view{position:absolute;z-index:7;width:min(320px,calc(100% - 16px));padding:12px 14px;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--card));box-shadow:0 12px 30px #0005;font:400 1rem/1.5 var(--ef-font-body,system-ui,sans-serif)}.study-comment-view>button{float:right;min-width:32px;min-height:32px}.study-comment-view blockquote{font-size:.85rem;line-height:1.4;color:hsl(var(--muted-foreground));border-left:2px solid hsl(var(--primary));padding-left:9px;margin:0 20px 8px 0}.study-comment-view p{white-space:pre-wrap}@container study (max-width:900px){.sermon-workspace .sermon-study-compact .study-document-bar{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto}.study-document-bar .study-document-center select{order:initial;flex-basis:auto;width:100%;max-width:none}.study-document-actions button span{display:none}.study-reader-document{max-width:100%}}@container study (max-width:400px){.sermon-workspace .sermon-study-compact .study-document-bar{grid-template-columns:auto auto 1fr auto;gap:5px;padding:3px 6px}.study-document-actions{gap:0}.study-document-bar .study-document-actions button{min-width:34px}.study-selection-palette .study-color-swatch{min-width:24px}.study-selection-commands button span{display:none}}.study-document-select-wrap{position:relative;width:min(100%,390px);min-width:0;color:hsl(var(--foreground))}.sermon-workspace .sermon-study-compact .study-document-select-wrap select{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:100%;max-width:none;height:38px;min-height:38px;padding:6px 34px 6px 12px;border:1px solid hsl(var(--border));border-radius:9px;background:hsl(var(--card));color:hsl(var(--foreground));font:500 .9rem/1.35 var(--ef-font-body,system-ui,sans-serif);box-shadow:none;cursor:pointer}.study-document-select-wrap>svg{pointer-events:none;position:absolute;right:11px;top:50%;transform:translateY(-50%);color:hsl(var(--muted-foreground))}.study-document-select-wrap:focus-within select{outline:2px solid hsl(var(--ring));outline-offset:2px}.study-document-actions>button:last-child{color:hsl(var(--muted-foreground))}.study-document-actions>button:last-child:hover{color:hsl(var(--foreground))}.study-comment-view textarea{display:block;width:100%;min-height:92px;margin-top:8px;padding:9px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:hsl(var(--foreground));font:400 1rem/1.5 var(--ef-font-body,system-ui,sans-serif);resize:vertical}.study-comment-view .study-actions{margin-bottom:0}.study-comment-view .study-actions button{min-height:40px}.sermon-study-compact :is(.study-document-bar,.study-reader-nav,.study-bottom-nav,.study-comment-view,.study-comment-form,.study-selection-tools){color:hsl(var(--foreground))}.sermon-study-compact .study-document-select-wrap select{color:hsl(var(--foreground));background-color:hsl(var(--card));border-color:hsl(var(--border));color-scheme:light}.sermon-study-compact .study-document-bar option{background-color:hsl(var(--card));color:hsl(var(--foreground))}.sermon-study-compact .study-document-actions button{color:hsl(var(--foreground))}.sermon-study-compact :is(.study-document-actions button,.study-reader-nav button,.study-bottom-nav button,.study-section-menu button):hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.sermon-study-compact .study-reader-nav{border-right:1px solid hsl(var(--border));padding-right:8px;background:hsl(var(--card))}.sermon-study-compact .study-reader-nav button{color:hsl(var(--foreground))}.sermon-study-compact :is(.study-reader-nav button[aria-current],.study-section-menu button[aria-current]){background:hsl(var(--primary)/.14);color:hsl(var(--primary))}.sermon-study-compact .study-bottom-nav,.sermon-study-compact .study-section-menu{background:hsl(var(--card));color:hsl(var(--foreground));border-color:hsl(var(--border))}.sermon-study-compact .study-section-footer{color:hsl(var(--foreground));border-top:1px solid hsl(var(--border));padding-top:8px}.sermon-study-compact .study-section-footer :is(summary,button),.sermon-study-compact .study-actions :is(button,a),.sermon-study-compact .study-comment-view>button{color:hsl(var(--foreground));cursor:pointer;border-radius:var(--radius)}.sermon-study-compact .study-section-footer :is(summary,button):hover,.sermon-study-compact .study-actions :is(button,a):hover,.sermon-study-compact .study-comment-view>button:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.sermon-study-compact .study-actions :is(button,a){background:hsl(var(--card));border-color:hsl(var(--border))}.sermon-study-compact .study-comment-form textarea{color:hsl(var(--foreground))}.sermon-study-compact .study-comment-view blockquote{color:hsl(var(--muted-foreground))}.sermon-study-compact .study-source-links :is(a,button){color:hsl(var(--primary))}.sermon-study-compact :is(.study-comment-form,.study-comment-view) :is(button,textarea):focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.sermon-workspace .sermon-study-compact .study-report-shell :is(.study-reader-nav,.study-reader-nav button,.study-section-footer,.study-section-footer button,.study-section-footer summary,.study-source-links,.study-source-links button,.study-source-links a,.study-selection-tools,.study-selection-tools button,.study-comment-form,.study-comment-form label,.study-comment-form textarea,.study-comment-form button,.study-comment-form blockquote,.study-comment-view,.study-comment-view p,.study-comment-view blockquote,.study-comment-view button,.study-comment-view textarea,.study-bottom-nav,.study-bottom-nav button,.study-section-menu button,.study-originals,.study-originals summary,.study-annotation-list,.study-annotation-list summary,.study-annotation-list button,.study-annotation-list p,.study-actions,.study-actions button,.study-actions a,.study-meta,.study-notice){font-family:var(--ef-font-body,system-ui,sans-serif)!important;letter-spacing:normal}.sermon-workspace .sermon-study-compact .study-report-shell :is(.study-reader-nav,.study-reader-nav button,.study-section-footer,.study-section-footer button,.study-section-footer summary,.study-selection-tools,.study-selection-tools button,.study-bottom-nav,.study-bottom-nav button,.study-originals,.study-originals summary,.study-annotation-list,.study-annotation-list summary,.study-actions button,.study-actions a){font-size:.875rem!important;line-height:1.4!important}.sermon-workspace .sermon-study-compact .study-report-shell :is(.study-comment-form,.study-comment-form label,.study-comment-form textarea,.study-comment-form button,.study-comment-form blockquote,.study-comment-view,.study-comment-view p,.study-comment-view blockquote,.study-comment-view button,.study-comment-view textarea){font-size:.9375rem!important;line-height:1.5!important}.study-reader-nav button{overflow-wrap:anywhere}.study-text-mark[data-study-highlight-id]{cursor:pointer}.sermon-workspace .sermon-study-compact .study-document-center .study-document-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:min(390px,100%);min-width:0;min-height:38px;padding:6px 11px;border:1px solid hsl(var(--border));border-radius:9px;background:hsl(var(--card));color:hsl(var(--foreground));font:500 .9rem/1.35 var(--ef-font-body,system-ui,sans-serif);text-align:left;cursor:pointer}.study-document-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.study-document-trigger svg{flex:none;color:hsl(var(--muted-foreground))}.study-document-trigger:hover,.study-document-trigger[data-state=open]{border-color:hsl(var(--primary));background:hsl(var(--accent))}.study-document-trigger:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.study-document-center{min-width:0}.study-document-menu{width:min(390px,calc(100vw - 24px));max-height:min(360px,70vh);padding:5px;background:hsl(var(--popover));color:hsl(var(--popover-foreground));border:1px solid hsl(var(--border));box-shadow:0 16px 38px #0006;font:500 .875rem/1.4 var(--ef-font-body,system-ui,sans-serif)}.study-document-option{display:flex;justify-content:space-between;min-height:42px;gap:9px;white-space:normal;overflow-wrap:anywhere;border-radius:6px;color:hsl(var(--popover-foreground));font:500 .875rem/1.4 var(--ef-font-body,system-ui,sans-serif)}.study-document-option span{min-width:0}.study-document-option svg{flex:none;color:hsl(var(--primary))}.study-document-option[data-highlighted]{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.study-document-add{color:hsl(var(--primary))}.study-reading-settings{display:grid;gap:18px;color:hsl(var(--foreground));font:400 1rem/1.45 var(--ef-font-body,system-ui,sans-serif)}.study-reading-control{display:grid;gap:8px;margin:0;padding:0;border:0;min-width:0}.study-reading-control-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.study-reading-control :is(label,legend){font:600 .95rem/1.3 var(--ef-font-body,system-ui,sans-serif);color:hsl(var(--foreground))}.study-reading-control output{font:500 .875rem/1.3 var(--ef-font-body,system-ui,sans-serif);color:hsl(var(--primary))}.study-reading-control input[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:100%;height:28px;margin:0;background:transparent;cursor:pointer}.study-reading-control input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:99px;background:hsl(var(--muted))}.study-reading-control input[type=range]::-moz-range-track{height:6px;border-radius:99px;background:hsl(var(--muted))}.study-reading-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;margin-top:-8px;border:3px solid hsl(var(--card));border-radius:50%;background:hsl(var(--primary));box-shadow:0 0 0 1px hsl(var(--primary))}.study-reading-control input[type=range]::-moz-range-thumb{width:18px;height:18px;border:3px solid hsl(var(--card));border-radius:50%;background:hsl(var(--primary));box-shadow:0 0 0 1px hsl(var(--primary))}.study-reading-control input[type=range]:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px;border-radius:5px}.study-range-ends{display:flex;justify-content:space-between;color:hsl(var(--muted-foreground));font-size:.8rem}.study-reading-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:2px}.study-reading-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:66px;padding:7px 3px;border:1px solid hsl(var(--border));border-radius:9px;background:hsl(var(--card));color:hsl(var(--foreground));font:500 .75rem/1.2 var(--ef-font-body,system-ui,sans-serif);cursor:pointer}.study-reading-choices button[aria-pressed=true]{border-color:hsl(var(--primary));background:hsl(var(--primary)/.15);color:hsl(var(--foreground));box-shadow:inset 0 0 0 1px hsl(var(--primary))}.study-reading-choices button:focus-visible,.study-reading-reset:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.study-indent-glyph{display:grid;gap:3px;width:34px}.study-indent-glyph i{display:block;height:2px;border-radius:2px;background:currentColor}.study-indent-glyph i:first-child{margin-left:calc(var(--indent-step) * 5px)}.study-width-glyph{display:block;max-width:38px;height:17px;border-inline:2px solid currentColor;border-block:1px solid currentColor;border-radius:2px}.study-font-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.study-font-choices button{min-height:44px;font-size:.9rem}.study-font-choices button:first-child{font-family:Georgia,serif}.study-reading-preview{padding:12px 14px;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--card))}.study-reading-preview>span{color:hsl(var(--muted-foreground));font:600 .75rem/1.3 var(--ef-font-body,system-ui,sans-serif);text-transform:uppercase;letter-spacing:.06em}.study-reading-preview p{margin:8px 0 0;color:hsl(var(--foreground))}.study-reading-reset{justify-self:start;min-height:40px;padding:7px 12px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--card));color:hsl(var(--foreground));font:500 .875rem/1.3 var(--ef-font-body,system-ui,sans-serif)}.study-selection-tools{width:min(490px,calc(100% - 16px))}.study-selection-commands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.study-selection-commands button{min-width:0;padding:6px 3px}@container study (max-width:500px){.sermon-workspace .sermon-study-compact .study-document-center .study-document-trigger{width:100%}.study-selection-tools{width:calc(100% - 16px)}.study-selection-commands{grid-template-columns:repeat(2,minmax(0,1fr))}.study-selection-commands button{min-height:38px;padding:6px}.study-selection-commands button span{display:inline;font-size:.78rem}.study-selection-palette .study-color-swatch{min-width:0}}.study-footnote{font-size:.72em;vertical-align:super;line-height:0;padding:0 2px}.study-reference-preview{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));max-width:620px;margin-inline:auto;max-height:55vh;overflow:auto;z-index:30;padding:18px;background:hsl(var(--card));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:10px;box-shadow:0 12px 30px #0005;font:400 1rem/1.6 var(--ef-font-body,system-ui,sans-serif);box-sizing:border-box}.study-reference-preview>strong{display:block;padding-right:42px}.study-reference-preview>button{min-width:44px;min-height:44px;border:1px solid hsl(var(--border));border-radius:6px;padding:8px}.study-reference-preview>button[aria-label]{position:absolute;top:8px;right:8px}.study-passage-text,.study-reference-citation{display:block;white-space:pre-wrap;margin-top:12px}.study-reference>a:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:3px}.study-save-status{position:absolute;top:8px;right:12px;z-index:4;background:hsl(var(--card));padding:4px 8px;border-radius:6px;font:500 .75rem/1.5 var(--ef-font-body,system-ui,sans-serif);pointer-events:none}.study-mark-clip:not(.study-mark-highlight){background:transparent;color:inherit;border-bottom:1px dotted hsl(var(--primary))}.study-saved mark{color:inherit;padding:0 .08em;box-decoration-break:clone;-webkit-box-decoration-break:clone}.study-saved-color-label{color:hsl(var(--primary));margin-top:1.2em!important}.study-reader-scroll{overflow:hidden;display:flex;flex-direction:column}.study-reader-layout{display:flex;flex:1;min-height:0;overflow:hidden;gap:12px}.study-reader-document{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth;overflow-anchor:none;padding-right:4px}.study-saved-layout{display:flex}.study-reader-nav.study-outline{position:relative;top:auto;display:flex;flex-direction:column;flex:none;align-self:stretch;min-height:0;max-height:none;overflow:hidden;padding-right:8px}.study-outline nav{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.study-outline-controls{display:flex;align-items:center;justify-content:space-between;gap:4px;flex:none;min-height:40px}.study-outline-controls button,.study-outline-pull{display:flex;align-items:center;justify-content:center;flex:none;width:32px;min-width:32px;min-height:44px;padding:0;line-height:1;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--card))}.study-outline-collapsed{padding-right:0!important}.study-outline-pull{position:sticky;top:0;width:100%;font-size:1.25rem;cursor:pointer}.study-outline-resizer{position:absolute;top:0;right:0;bottom:0;width:8px;cursor:col-resize;touch-action:none;border-right:1px solid hsl(var(--border))}.study-outline-resizer:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:-2px}.study-reader-document [data-study-body]{-moz-user-select:text;user-select:text;-webkit-user-select:text}@container study (max-width:900px){.study-reader-layout{display:flex;gap:8px}.study-reader-nav.study-outline{display:flex}}@container study (max-width:500px){.study-reader-layout{padding:12px 8px;gap:6px}}.study-selection-dock{flex:none;min-height:0;overflow:auto;box-sizing:border-box;border-top:1px solid hsl(var(--border));padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:hsl(var(--card));color:hsl(var(--foreground));z-index:5}.study-dock-controls{width:min(100%,620px);margin-inline:auto;-moz-user-select:none;user-select:none;-webkit-user-select:none}.study-dock-colors{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.study-dock-colors button{min-width:0;min-height:44px;padding:4px;border:1px solid hsl(var(--border));border-radius:10px;font:700 .85rem/1 var(--ef-font-body,system-ui,sans-serif);text-transform:uppercase;box-shadow:0 1px 2px #0002}.study-dock-actions{display:flex;gap:6px;margin-top:6px}.study-dock-actions button{display:flex;flex:1;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;padding:6px;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--muted));color:hsl(var(--foreground));font:500 .8rem/1.3 var(--ef-font-body,system-ui,sans-serif)}.study-dock-actions svg{flex:none}.study-dock-controls button:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:-2px}@container study (max-width:480px){.study-dock-colors{grid-template-columns:repeat(4,minmax(0,1fr))}.study-dock-actions button span{display:none}}.study-markdown .study-source-image{display:block;max-width:100%;margin:.8em 0;text-indent:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.study-markdown .study-source-image img{display:block;max-width:100%;height:auto;margin:0;border-radius:4px}.study-source-image-fallback{display:block;padding:.65em .8em;border:1px solid hsl(var(--border));border-radius:4px;color:hsl(var(--muted-foreground));font:400 .85em/1.5 var(--ef-font-body,system-ui,sans-serif);overflow-wrap:anywhere}.study-markdown table:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:3px}.study-markdown :is(th,td)[align=center]{text-align:center}.study-markdown :is(th,td)[align=right]{text-align:right}
