*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}.app{--bg:#f7f9f5;--surface:#fff;--text:#203b2b;--muted:#667a6c;--line:#e1e9df;--green:#225e41;--pale:#e8f3e8;min-height:100vh;display:flex;background:var(--bg);color:var(--text)}.dark{--bg:#132019;--surface:#213429;--text:#f0f7f0;--muted:#b6c9b9;--line:#385342;--green:#42956a;--pale:#2b4835}.sidebar{width:260px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--line);padding:27px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:800;color:var(--green)}.tagline{font-size:12px;color:var(--muted);margin:8px 0 32px 38px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{display:flex;gap:13px;align-items:center;text-align:left;border:0;background:transparent;color:var(--text);border-radius:10px;padding:12px 14px}.sidebar nav button:hover,.sidebar nav button.active{background:var(--pale);color:var(--green);font-weight:700}.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding:18px 8px;font-size:12px;line-height:1.9;color:var(--muted)}.sidefoot svg{vertical-align:middle}.main{min-width:0;flex:1;display:flex;flex-direction:column}header{height:74px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}header strong{font-size:18px}.actions{display:flex;align-items:center;gap:14px}.icon{border:0;background:transparent;color:var(--text);padding:9px;display:inline-flex;align-items:center;justify-content:center}.account{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:10px 14px;color:var(--text)}main{width:100%;max-width:1200px;margin:0 auto;padding:34px 42px;flex:1}h1{font-size:32px;letter-spacing:-.8px;margin:0 0 14px}h2{font-size:23px}h3{font-size:18px}p{line-height:1.65}.muted{color:var(--muted)}.fine{font-size:12px}.hero{background:linear-gradient(110deg,#17452f,#387651);color:#fff;border-radius:20px;padding:56px 54px;min-height:310px}.hero h1{font-size:46px;line-height:1.13;margin:15px 0}.hero p{max-width:560px;color:#e0f0e3}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;opacity:.8}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:12px 18px;font-weight:700}.primary{background:#d9ead1;color:#174b31;border:0}.secondary{background:var(--surface);color:var(--green);border:1px solid var(--line)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px}.section-head span{color:var(--muted);font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card,.panel,.lesson-card,.reader-panel{background:var(--surface);border:1px solid var(--line);border-radius:15px}.card{padding:25px;text-align:left;color:var(--text);min-height:208px}.card svg{color:var(--green)}.card h3{margin:17px 0 6px}.card p{font-size:14px;color:var(--muted);margin:0 0 16px}.card span,.lesson-card span{color:var(--green);font-weight:700;font-size:13px}.card:hover,.lesson-card:hover{border-color:var(--green)}.panel{padding:25px;margin:20px 0}.reader-controls{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:24px 0}.reader-controls label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}.reader-controls select,.reader-controls input{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:11px;min-width:145px}.reader-panel{overflow:hidden}.reader-top{padding:23px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.reader-top h2{margin:5px 0}.tools{display:flex;gap:7px}.tool{padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text)}.tool.active{background:var(--pale);color:var(--green)}.scripture{white-space:pre-wrap;font-family:Georgia,Times New Roman,serif;line-height:1.85;padding:28px 44px;max-width:850px;margin:auto;overflow-wrap:anywhere}.source-heading{font-family:system-ui;font-size:13px;color:var(--muted);padding-bottom:20px}.pager{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:20px 25px}.pager span{font-size:13px;color:var(--muted)}.searchbar{display:flex;gap:10px;margin:25px 0}.searchbar input,.panel textarea{flex:1;width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:13px}.result{display:flex;flex-direction:column;gap:10px;width:100%;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:12px;padding:18px;text-align:left;margin:9px 0}.result span{color:var(--muted);font-size:14px;line-height:1.6}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:25px}.lesson-card{padding:25px;text-align:left;color:var(--text)}.lesson-card p{color:var(--muted)}.lesson-number{font-size:11px;letter-spacing:1px;font-weight:800;color:var(--green)}.lesson-expanded{margin-top:20px;padding:15px;background:var(--pale);border-radius:10px}.lesson-expanded p{color:var(--text)}.panel textarea{display:block;min-height:140px;margin-bottom:14px;resize:vertical}.note>div{display:flex;justify-content:space-between;align-items:center}.note small{color:var(--muted)}.note p{white-space:pre-wrap}.saved{display:flex;justify-content:space-between;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 18px;margin:10px 0}.saved>button:first-child{display:flex;gap:12px;align-items:center;border:0;background:none;color:var(--text);text-align:left}.empty{padding:40px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.settings label{display:flex;align-items:center;justify-content:space-between;padding:13px 0;gap:15px}.settings hr{border:0;border-top:1px solid var(--line);margin:24px 0}.narrow{max-width:540px}.notice{display:flex;justify-content:space-between;gap:10px;background:#fff0ce;color:#5c430e;padding:13px;border-radius:10px;margin-bottom:18px}.notice button{border:0;background:transparent;text-decoration:underline}footer{font-size:12px;color:var(--muted);text-align:center;padding:24px;border-top:1px solid var(--line)}.mobile-menu,.mobile-bottom{display:none}@media(max-width:1000px){.sidebar{width:220px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:28px}}@media(max-width:720px){.sidebar{position:fixed;transform:translate(-105%);width:270px;transition:transform .2s}.sidebar.open{transform:translate(0)}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#0007;border:0;z-index:3}.mobile-menu{display:flex}header{padding:0 15px;height:62px}header strong{font-size:16px}main{padding:20px 15px 95px}.hero{padding:34px 25px;min-height:270px}.hero h1{font-size:35px}.cards,.lesson-grid{grid-template-columns:1fr}.card{min-height:auto}.reader-top{padding:18px}.scripture{padding:20px}.pager{padding:15px 10px}.pager .secondary{padding:10px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:var(--surface);border-top:1px solid var(--line);z-index:2;padding:8px 0 max(8px,env(safe-area-inset-bottom))}.mobile-bottom button{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;flex-direction:column;gap:3px}.mobile-bottom button.selected{color:var(--green);font-weight:800}.mobile-bottom small{font-size:10px}.account{padding:8px}.searchbar{flex-direction:column}h1{font-size:27px}}.scripture-match{background:#ffe083;color:#26220c;border-radius:3px;padding:0 2px;box-shadow:0 0 0 2px #ffe083}.note-passages{margin:14px 0;display:grid;gap:12px}.note-passage{border:1px solid var(--line,#d8e1dc);border-radius:12px;padding:14px}.note-passage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.note-passage-head button{font-size:12px}.note-verse{display:flex;align-items:flex-start;gap:10px;padding:7px 0;white-space:pre-wrap;line-height:1.7}.note-verse>strong{min-width:22px}.note-verse>span{flex:1}.note-passage small{display:block;margin-top:10px}.account-menu-wrap{position:relative;display:inline-flex;align-items:center;z-index:30}.account-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chevron{transition:transform .15s ease;transform:rotate(90deg)}.account-chevron.open{transform:rotate(-90deg)}.account-menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:31;background:transparent;border:0;cursor:default}.account-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:190px;background:var(--card,#fff);color:inherit;border:1px solid #d7dfd8;border-radius:12px;box-shadow:0 10px 28px #0002;padding:6px;z-index:32}.account-dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;background:transparent;border:0;border-radius:8px;color:inherit;text-align:left;cursor:pointer;font:inherit}.account-dropdown button:hover{background:#748a7520}.account-dropdown button:disabled{opacity:.55;cursor:wait}.dark .account-dropdown{background:#24332c;border-color:#506156}@media(max-width:520px){.account-name{max-width:85px}.account-dropdown{right:0}}.original-bible-reader{max-width:100%}.original-pdf-stage{padding:20px 12px;display:flex;justify-content:center;align-items:flex-start;touch-action:pan-y;overflow:auto;background:#e7e7df}.original-pdf-frame{width:min(100%,720px);min-width:0;text-align:center}.original-pdf-frame .react-pdf__Document{display:flex;flex-direction:column;align-items:center}.original-pdf-sheet{max-width:none;background:#fff;box-shadow:0 6px 24px #0002;line-height:0}.original-pdf-sheet .react-pdf__Page{display:block}.original-pdf-sheet canvas{display:block;max-width:none;height:auto!important}.pdf-reader-error{color:#9c2727;background:#fff3f1;border-radius:8px;padding:16px;line-height:1.6}@media(max-width:720px){.original-pdf-stage{padding:10px 4px}.original-pdf-frame{width:100%}.original-bible-reader .reader-top{gap:8px;flex-wrap:wrap}}.learning-editor{display:grid;gap:14px;margin-top:22px}.learning-editor label{display:grid;gap:6px;font-weight:600}.learning-editor input,.learning-editor textarea{width:100%;box-sizing:border-box;padding:11px;border:1px solid #c5d1c9;border-radius:8px;background:var(--panel,#fff);color:inherit;font:inherit}.learning-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.learning-actions button{max-width:100%;white-space:normal}.lesson-card{cursor:default}.reader-controls input[type=number]{width:95px;padding:8px}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors:active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors:active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}
