.standalone-bible{--ink:#252525;color:var(--ink)}
.standalone-bible .standalone-header{height:76px;padding:10px max(20px,calc((100vw - 800px)/2));background:#f7f5ef;border:0;gap:12px}
.bible-brand{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;text-decoration:none;color:#252525;white-space:nowrap;min-height:44px}
.bible-brand-mark{position:relative;display:block;width:110px;height:34px;overflow:hidden;mix-blend-mode:multiply}
.bible-brand-mark img{position:absolute;width:148px;height:148px;max-width:none;left:-19px;top:-56px;object-fit:contain}
.bible-brand-title{font-family:Georgia,'Times New Roman',serif;font-size:32px;font-weight:400;font-style:italic;line-height:1;letter-spacing:-1.2px;color:#b65338;padding-right:3px;transform:translateY(3px)}
.bible-edition{margin-left:auto;font-size:12px!important;letter-spacing:0!important;font-weight:500!important;color:#716b65;display:block!important}
.standalone-bible>main{max-width:850px;padding:12px 22px calc(120px + env(safe-area-inset-bottom))}
.standalone-bible h1{font-size:42px;margin:16px 0}.standalone-bible h2{font-size:30px}
.standalone-bible button,.standalone-bible .button{border-radius:24px;background:#b65338;border-color:#b65338;color:white;font-size:16px}
.standalone-bible button.secondary{color:#252525;background:transparent;border-color:#cbc4ba}
.standalone-bible>.member-bottom-nav{max-width:440px;padding:7px;gap:4px}
.standalone-bible>.member-bottom-nav button{background:transparent;color:#575956;border:0;min-height:62px;font-size:14px;padding:8px 4px;gap:5px}
.standalone-bible>.member-bottom-nav button[aria-current=page]{background:#b65338;color:white}
.standalone-bible .bible-page{background:transparent;border:0;padding:16px 8px 24px;border-radius:0}
.standalone-bible .bible-page h3{font-size:30px}
.standalone-bible .bible-reader .bible-toolbar{margin-top:4px}
.standalone-bible .bible-reader .bible-chapter-grid button{background:#f3efe8;color:#272727;border-radius:10px;font-size:14px}
.standalone-bible .bible-reader .bible-chapter-grid button[aria-current=page]{background:#a94e29;color:white}
.standalone-bible .bible-highlight-bar button{background:transparent;color:#252525;border-color:transparent;font-size:14px}
.bible-account,.bible-workspace{max-width:660px;margin:16px auto}
.bible-account{max-width:440px;padding-top:12px}
.bible-account p,.bible-workspace>p{color:#625e58;font-size:16px}
.bible-account form{margin-top:28px}.bible-account input,.bible-workspace select{border-radius:14px;background:#fffdf7;font-size:16px}
.bible-account [role=status]:not(:empty),.bible-workspace [role=status]:not(:empty){padding:14px 16px;border-radius:14px;background:#eee7de;line-height:1.5}
.bible-account .account-note{font-size:14px;border-top:1px solid #ddd5cb;padding-top:20px;margin-top:24px}
.bible-workspace form{border:1px solid #dfd8ce;border-radius:24px;padding:24px;background:#fffdf780;margin:24px 0}
.study-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.study-grid label:first-child{grid-column:1/-1}.study-grid label{margin:0}
.bible-workspace label select{margin-top:8px}.bible-workspace form button{margin-top:22px;width:100%}
.bible-source{border-top:1px solid #ddd5cb;padding-top:20px;font-size:14px!important}
.saved-list{list-style:none;padding:0;margin:24px 0}.saved-list li{border-bottom:1px solid #ddd5cb}
.standalone-bible .saved-verse{width:100%;border:0;border-radius:0;background:transparent;color:#252525;justify-content:flex-start;text-align:left;padding:18px 0;gap:16px}
.saved-color{width:12px;height:40px;border-radius:8px;flex-shrink:0}.saved-verse strong{display:block;font-weight:600;font-size:17px}.saved-verse small{display:block;font-size:14px;color:#716b65;margin-top:4px}
.bible-identity{display:flex;align-items:center;gap:16px;margin-bottom:24px}.bible-identity h1{font-family:'DM Sans',sans-serif;font-size:30px;overflow-wrap:anywhere;line-height:1.2;margin:0}.bible-avatar{width:60px;height:60px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#b65338;color:white;font-size:22px}
.bible-account-email{overflow-wrap:anywhere}.bible-settings{border-top:1px solid #ddd5cb;margin:28px 0;padding-top:20px}.bible-settings summary{cursor:pointer;font-size:18px;font-weight:600;min-height:44px}
.standalone-bible .bible-turn button{font-size:14px}
@media(max-width:420px){.standalone-bible>main{padding-left:14px;padding-right:14px}.standalone-bible .standalone-header{padding-left:20px;padding-right:20px;height:66px}.bible-workspace form{padding:20px}.bible-account{padding:4px 8px}}
@media(max-width:350px){.standalone-bible .bible-reader .bible-location-pill>[data-version]{width:108px;font-size:14px}.standalone-bible .bible-location-menu>summary{padding-left:10px;padding-right:6px}.standalone-bible .bible-toolbar{gap:2px}}
/* A single account entry stays reachable above the reader. */
.standalone-bible #bible-profile{margin-left:auto;flex-shrink:0;min-height:44px;padding:8px 12px;font-size:14px;border-radius:999px}
.standalone-bible #bible-profile.is-signed-in{width:44px;height:44px;padding:0;font-size:16px}
.standalone-bible #bible-profile[aria-current=page]{outline:2px solid #b6533866;outline-offset:3px}
.standalone-bible>.member-bottom-nav{max-width:370px}
/* Bible has three destinations; do not inherit Brotherhood's four-column grid. */
body.member-shell.standalone-bible>.member-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
.bible-notes-status{font-size:14px;color:#625e58}.bible-notes-status:empty{display:none}
.standalone-bible .verse-note-marker{display:inline-flex;vertical-align:middle;min-width:28px;min-height:28px;padding:4px;margin:0 3px;border:0;border-radius:8px;background:#b653381a;color:#a94e29;line-height:1;cursor:pointer}
.verse-note-marker svg{width:18px;height:18px}
.bible-note-editor{width:min(520px,calc(100% - 24px));max-height:85dvh;overflow-y:auto;border:1px solid #d3d9d4a6;border-radius:26px;padding:24px;color:#252525;background:#fffdf7e8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.bible-note-editor::backdrop{background:#0006;backdrop-filter:blur(3px)}
.note-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.note-heading h2{font-size:28px;margin:6px 0}.note-heading [data-close]{width:40px;height:40px;min-height:40px;padding:0;background:transparent;color:#252525;border:0;font-size:26px;flex-shrink:0}
.bible-note-editor textarea{font:400 16px/1.6 'DM Sans',sans-serif;min-height:180px;height:28dvh;max-height:40dvh;border-radius:16px;padding:14px;background:#ffffffa8;resize:vertical}
.note-actions{display:flex;gap:10px;flex-wrap:wrap}.note-actions button{flex:1;white-space:nowrap}.bible-note-editor [data-status]{font-size:14px}.bible-note-editor [data-confirm]{border-top:1px solid #ccc;padding-top:12px;margin-top:16px}
.saved-tabs{display:flex;gap:8px;margin:22px 0}.standalone-bible .saved-tabs button{background:transparent;color:#625e58;border-color:#d5cfc5;font-size:15px}.standalone-bible .saved-tabs button[aria-pressed=true]{background:#252525;color:white;border-color:#252525}
.saved-note-symbol svg{width:24px;height:24px;color:#b65338}.saved-note-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap;font-size:16px;line-height:1.5;margin-top:12px;font-weight:400}.saved-verse>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:380px){.bible-edition{display:none!important}.standalone-bible #bible-profile{margin-left:auto}.bible-note-editor{padding:20px}.bible-highlight-heading{gap:4px}.bible-highlight-heading strong{font-size:13px}.standalone-bible .bible-highlight-heading button{min-width:34px;padding:5px}}
.study-word-fold{margin:24px 0 28px;padding:18px 20px;border:1px solid #dcd6cc;border-radius:22px;background:#fffdf770}.study-word-fold>summary,.study-related>summary{cursor:pointer;font-size:16px;font-weight:600;min-height:28px}.study-word-fold form{padding:0;border:0;background:none;margin-bottom:12px}.study-word-fold>p{font-size:15px}
.study-filters{display:flex;gap:8px;position:sticky;top:8px;z-index:10;max-width:max-content;padding:6px;border:1px solid #d3d9d4a6;border-radius:999px;background:#fffdf77a;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.standalone-bible .study-filters button{background:transparent;color:#625e58;border:0;font-size:14px;padding:9px 18px}.standalone-bible .study-filters button[aria-pressed=true]{background:#b65338;color:white}
.study-topic-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-bottom:20px}.study-era{grid-column:1/-1;font-family:'DM Sans',sans-serif;font-size:14px!important;font-weight:600;letter-spacing:.5px;margin:28px 0 0!important;color:#776a60}
.study-topic{display:block;padding:26px;text-decoration:none;background:#242424;color:#fffdf7;border:1px solid #363330;border-radius:26px;transition:border-color .15s}.study-topic:hover{border-color:#e78a68}.study-topic-kind{font-size:12px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:#e78a68}.study-topic h3{font-size:32px;color:#ed956f;margin:12px 0}.study-topic p{font-size:16px;line-height:1.65;color:#ded8d1;margin:12px 0 22px}.study-topic-reference{font-size:14px;color:#e9b9a3}
.study-account-heading{max-width:800px;margin:8px auto 24px}.study-back{display:block;font-size:14px;margin-bottom:24px;text-underline-offset:4px;color:#625e58}.study-account-heading .study-topic-kind{color:#a94e29}.study-account-heading p{font-size:16px;color:#625e58}.study-account-heading h1{margin-top:10px}.study-related{border-top:1px solid #ddd5cb;padding-top:16px;margin-top:20px}.study-related>div{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px}.study-related button{font-size:14px!important}
.standalone-bible .bible-reader .study-passage-choice{display:flex;width:100%;background:transparent;color:#252525;border:0;justify-content:flex-start;border-radius:12px;font-size:15px}.standalone-bible .bible-reader .study-passage-choice[aria-current=page]{background:#b65338;color:white}
@media(max-width:580px){.study-topic-list{grid-template-columns:1fr}.study-topic{padding:24px}.study-topic h3{font-size:34px}.study-account-heading{padding:0 8px}}

/* Search opens from the icon immediately left of the profile. */
.standalone-bible .standalone-header{flex-shrink:0}
.standalone-bible #bible-search-toggle{display:grid;place-items:center;margin-left:auto;flex-shrink:0;width:44px;height:44px;min-height:44px;padding:9px;border:0;background:transparent;color:#252525}
.standalone-bible #bible-search-toggle[hidden]{display:none}
.standalone-bible #bible-search-toggle[aria-expanded=true]{background:#b6533815;color:#a94e29}
.standalone-bible .standalone-header.has-search{column-gap:8px}
.standalone-bible .standalone-header.has-search #bible-profile{margin-left:0}
.standalone-bible .standalone-header.search-open{height:136px;flex-wrap:wrap;row-gap:8px;flex-shrink:0}
.standalone-bible .bible-top-search{display:flex;align-items:center;gap:4px;flex-basis:100%;margin:0;padding:0 4px 0 14px;border:1px solid #d3cbbf;border-radius:999px;background:#fffdf79c;min-width:0}
.standalone-bible .bible-top-search[hidden]{display:none}
.bible-search-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.standalone-bible .bible-top-search input{min-width:0;width:100%;margin:0;padding:11px 0;border:0;border-radius:0;background:transparent;font-size:16px;box-shadow:none;outline-offset:2px}
.standalone-bible .bible-top-search button{display:grid;place-items:center;flex-shrink:0;width:42px;min-height:42px;padding:8px;border:0;background:transparent;color:#a94e29}
.bible-search-results>h1{font-size:32px}.bible-search-results>section{margin-top:28px}.bible-search-results h2{font-size:24px}.bible-search-hits{display:flex;flex-wrap:wrap;gap:8px}.bible-search-results label{margin:18px 0}
@media(max-width:420px){.standalone-bible .standalone-header.search-open{height:126px;padding-top:8px;padding-bottom:8px}.bible-search-results .study-topic-list{grid-template-columns:1fr}}

.bible-auth-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.bible-auth-links button{font-size:1rem}
/* Personal Saved folders */
.saved-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.saved-heading h1{margin:0}.saved-heading button{display:flex;align-items:center;gap:8px;flex-shrink:0}.saved-heading svg,.saved-folder svg{width:20px;height:20px;flex-shrink:0}
.saved-folders{display:flex;gap:10px;overflow-x:auto;padding:8px 2px 16px;margin:22px 0 8px;scrollbar-width:thin}.standalone-bible .saved-folder{display:flex;align-items:center;gap:9px;background:#fffdf780;color:#373330;border:1px solid #d7d1c6;border-radius:18px;min-height:52px;padding:12px 16px;flex-shrink:0;max-width:240px;font-size:15px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.saved-folder span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.standalone-bible .saved-folder[aria-pressed=true]{background:#b65338;color:white;border-color:#b65338}
.saved-folder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.saved-folder-heading h2{font-size:22px;margin:14px 0;overflow-wrap:anywhere;max-width:100%}.saved-folder-heading [data-folder-actions]{display:flex;gap:8px;flex-wrap:wrap}.saved-folder-heading [hidden]{display:none}.standalone-bible .saved-folder-heading button{font-size:14px;padding:8px 12px}.saved-workspace .saved-tabs{margin:14px 0}.saved-item-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 16px 28px}.saved-item-footer>span{font-size:14px;color:#716b65;overflow-wrap:anywhere;min-width:0}.standalone-bible .saved-item-footer button{font-size:14px;padding:8px 12px;flex-shrink:0}.saved-workspace .saved-list{margin-top:8px}.saved-workspace .saved-list li{padding-top:4px}.saved-workspace .saved-list .saved-verse{padding-bottom:12px}
.saved-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #ffffffa0;border-radius:26px;padding:26px;background:#f7f5eff5;color:#252525;box-shadow:0 20px 80px #0003;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.saved-dialog::backdrop{background:#15151565;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.saved-dialog h2{font-size:25px;line-height:1.25;margin:0 0 22px;overflow-wrap:anywhere}.saved-dialog label{display:block;margin-bottom:8px}.saved-dialog input,.saved-dialog select{width:100%;font-size:16px;border-radius:14px}.saved-dialog [role=status]{font-size:15px;color:#99452e;line-height:1.5}.saved-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.saved-dialog p{line-height:1.5}.saved-dialog form{margin:0}.saved-heading button{font-size:14px;padding:10px 12px}
@media(max-width:380px){.saved-heading h1{font-size:34px}.saved-item-footer{padding-left:0}.saved-dialog{padding:20px}.saved-tabs{gap:5px}.standalone-bible .saved-tabs button{padding:10px 12px}}
