:root {
  --font-base: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif;
  --font-scale-global: 1;
  --font-scale-presentation: 1;
  --font-scale-bible: 1;
  --font-scale-strongs: 1;
  --font-scale-ui: 1;
  --content-scale: 1;
  --presentation-zoom: 1;

  --fs-root: 16px;
  --fs-base: 1rem;
  --fs-preview-base: 0.875rem;
  --ui-font-size: calc(0.8125rem * var(--font-scale-ui));
  --ui-control-height: calc(2rem * var(--font-scale-ui));
  --ui-icon-size: calc(1rem * var(--font-scale-ui));
  --ui-toolbar-icon-size: calc(1.35rem * var(--font-scale-ui));
  --ui-flag-font-size: calc(1rem * var(--font-scale-ui));
  --bg: #FAFAF8;
  --surface: #ffffff;
  --surface-soft: #EEF6F7;
  --text: #23313A;
  --text-dark: #23313A;
  --muted: #5A6A73;
  --line: #BFD7DA;
  --border-accent: #BFD7DA;
  --accent: #1F6F78;
  --accent-hover: #185A61;
  --accent-soft: #E8F3F4;
  --bg-accent: #E8F3F4;
  --button: #E8F3F4;
  --button-hover: #D6E8EA;
  --button-active: #C7DEE1;
  --shadow: 0 8px 24px rgba(31, 111, 120, 0.08);
  --radius: 10px;
  --space: 14px;
}

html.jw-init-pending .collapsible,
html.jw-init-pending .content,
html.jw-init-pending .toc,
html.jw-init-pending .doc-prev-next-nav,
html.jw-init-pending .main [data-lang],
html.jw-init-pending .main > h1,
html.jw-init-pending .main > h3,
html.jw-init-pending .main > p {
  visibility: hidden !important;
}
html.jw-init-pending :is(.main, .division-page, .page-deep) {
  visibility: hidden;
}
html.jw-init-pending #toolbarRegion,
html.jw-init-pending #documentBreadcrumb {
  visibility: visible;
}

.feedback-row{display:flex;justify-content:flex-end;clear:both;margin-top:4px;margin-bottom:10px}
.feedback-row.feedback-tight{margin-top:2px}
.feedback-btn{display:inline-flex;align-items:center;justify-content:center;min-width:0;width:auto;height:auto;border:none;background:transparent;padding:0;margin:0;font-size:inherit;font-family:'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif;line-height:1.1;vertical-align:middle;cursor:pointer;box-shadow:none;border-radius:0;opacity:.82;transition:opacity 120ms ease,filter 120ms ease}
.feedback-btn .feedback-icon{display:block;width:var(--ui-icon-size);height:var(--ui-icon-size);object-fit:contain}
.feedback-btn:hover{opacity:.98}
.feedback-btn:focus-visible{opacity:1;outline:2px solid var(--accent);outline-offset:2px}
.feedback-action-group{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid var(--line);
  border-radius:0;
  padding:2px 6px;
  background:rgba(232, 243, 244, 0.42);
  min-height:24px;
  backdrop-filter:saturate(105%);
}
.feedback-action-group:hover{background:rgba(232, 243, 244, 0.58)}
.feedback-inline-right{position:absolute;right:0;bottom:0;display:inline-flex;align-items:center;white-space:nowrap;margin-left:0}
.feedback-modal{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:18px}
.feedback-modal.show{display:flex}
.feedback-backdrop{position:absolute;inset:0;background:rgba(35, 49, 58, 0.55)}
.feedback-dialog{position:relative;width:min(720px,92vw);background:#fff;border:1px solid #BFD7DA;box-shadow:0 18px 60px rgba(24, 90, 97, 0.20);padding:14px;overflow-x:hidden}
.feedback-dialog h3{margin:0 0 8px!important}
.feedback-meta{font-size:.9em;color:#5A6A73;margin:0 0 10px}
.feedback-form label{display:block;font-weight:600;margin:10px 0 6px}
.feedback-form input[type="text"],.feedback-form input[type="email"],.feedback-form textarea{width:100%;border:1px solid #BFD7DA;padding:9px 10px;font:inherit}
.feedback-form textarea{min-height:120px;resize:vertical}
.feedback-actions{display:flex;justify-content:space-between;gap:6px;margin-top:8px}
.feedback-actions .left,.feedback-actions .right{display:flex;gap:6px}
.feedback-close,.feedback-send{border:1px solid #9FBFC4;background:#fff;color:#1F6F78;padding:5px 8px;font:inherit;font-weight:700;cursor:pointer;margin:0}
.feedback-send{background:#E8F3F4;border-color:#9FBFC4}
.feedback-close:hover{background:#F1F7F8}
.feedback-send:hover{background:#D6E8EA}
#bookmarksList ul{list-style:none;margin:0;padding:0;width:100%}
#bookmarksList .bm-item{display:flex;align-items:center;gap:8px;padding:4px 0;border-bottom:1px solid #D5E5E7;min-width:0;width:100%}
#bookmarksList .bm-item:last-child{border-bottom:0}
#bookmarksList .bm-label-btn{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;border:1px solid transparent;background:transparent;color:#1F6F78;font:inherit;font-size:.95em;font-weight:600;padding:5px 6px;cursor:pointer}
#bookmarksList .bm-label-btn:hover{background:#F1F7F8;border-color:#9FBFC4}
#bookmarksList .bm-remove-btn{flex:0 0 auto;border:1px solid transparent;background:transparent;color:#5F7680;font:inherit;font-size:1.15em;font-weight:700;line-height:1;padding:3px 6px;cursor:pointer;margin:0}
#bookmarksList .bm-remove-btn:hover{background:#fee2e2;border-color:#f5a0a0;color:#b91c1c}
@media print{.feedback-row,.feedback-modal,.feedback-btn,.feedback-inline-right,.feedback-inline,.jw-pip-close{display:none!important}}

.verse-preview-modal[hidden] {
  display: none !important;
}

html.verse-preview-open ::selection,
body.verse-preview-open ::selection,
html.strong-panel-lock ::selection,
body.strong-panel-lock ::selection {
  background: transparent;
}

html.verse-preview-open ::-moz-selection,
body.verse-preview-open ::-moz-selection,
html.strong-panel-lock ::-moz-selection,
body.strong-panel-lock ::-moz-selection {
  background: transparent;
}

/* Side panel: replaces text columns when open, fills available space */
#versePreviewSidePanel:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto !important;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid #BFD7DA;
}

/* Search panel: same full-height behaviour as side panel */
#versePreviewSearchPanel:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto !important;
  min-height: 0;
  overflow: hidden;
}

.verse-preview-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid #BFD7DA;
  flex-shrink: 0;
}

.verse-preview-panel-back {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #1F6F78;
  font: inherit;
  padding: 0 8px;
  border-radius: 4px;
}

.verse-preview-panel-back:hover {
  background: #F1F7F8;
}

.verse-preview-panel-title {
  line-height: 1;
  font-size: 0.95em;
  font-weight: 600;
  flex: 1 1 auto;
}

.verse-preview-panel-list {
  overflow-y: auto;
  flex: 1 1 auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verse-panel-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.verse-panel-nav-btn {
  flex: 1 1 auto;
  text-align: left;
  background: transparent;
  border: 1px solid #BFD7DA;
  border-radius: 4px;
  padding: 5px 8px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.verse-panel-nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verse-panel-nav-ts {
  font-size: 0.78em;
  color: #5A6A73;
  line-height: 1.2;
}

.verse-panel-nav-btn:hover {
  background: #F1F7F8;
}

.verse-panel-remove-btn {
  background: transparent;
  border: 1px solid #BFD7DA;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font: inherit;
  flex-shrink: 0;
}

.verse-panel-empty {
  padding: 16px 8px;
  color: #5A6A73;
  font-size: 0.92em;
  margin: 0;
}

.verse-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
}

.verse-preview-dialog {
  --preview-effective-scale: var(--font-scale-bible);
  width: min(680px, calc(100vw - 32px));
  height: min(92vh, 760px);
  height: min(92dvh, 760px);
  max-height: 92vh;
  max-height: 92dvh;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid #BFD7DA;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-base);
  font-size: calc(var(--fs-preview-base) * var(--preview-effective-scale));
  line-height: 1.45;
  color: var(--text);
}

.verse-preview-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.verse-preview-modal.is-fullscreen {
  padding: 0;
  background: #fff;
}

.verse-preview-modal.is-fullscreen .verse-preview-dialog {
  --preview-effective-scale: calc(var(--font-scale-bible) * var(--font-scale-presentation));
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.jw-bible-page-mode .verse-preview-modal {
  padding: 0;
  background: #fff;
}

html.jw-bible-page-mode .verse-preview-dialog {
  --preview-effective-scale: calc(var(--font-scale-bible) * var(--font-scale-presentation));
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.verse-preview-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0 8px;
  border-bottom: 1px solid #BFD7DA;
  min-width: 0;
  flex-shrink: 0;
}

.verse-preview-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 8px;
}

.verse-preview-dialog h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: calc(2rem * var(--preview-effective-scale));
  align-self: center;
}

.verse-preview-title-link {
  border: 1px solid #BFD7DA;
  background: #fff;
  color: #1F6F78;
  font: inherit;
  font-weight: 400;
  font-size: var(--ui-font-size);
  line-height: 1.1;
  padding: 6px 10px;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border-radius: 0;
}

.verse-preview-title-link:hover {
  background: #F3F8F8;
  border-color: #9FBFC4;
}

.verse-preview-title-link:focus-visible {
  outline: 2px solid #1F6F78;
  outline-offset: 2px;
}

.verse-preview-title-book {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verse-preview-title-chapter {
  min-width: fit-content;
}

.verse-preview-title-caret {
  min-width: fit-content;
  opacity: 0.82;
}

:is(.division-page, .page-deep, .main) [data-lang="en"],
:is(.division-page, .page-deep, .main) [data-lang="he"] {
  display: none;
}

.lang-en :is(.division-page, .page-deep, .main) [data-lang="nl"],
.lang-en :is(.division-page, .page-deep, .main) [data-lang="he"] {
  display: none !important;
}

.lang-en :is(.division-page, .page-deep, .main) [data-lang="en"] {
  display: block !important;
}

.lang-en :is(.division-page, .page-deep, .main) li[data-lang="en"] {
  display: list-item !important;
}

.lang-en :is(.division-page, .page-deep, .main) span[data-lang="en"] {
  display: inline !important;
}

.lang-he :is(.division-page, .page-deep, .main) [data-lang="nl"],
.lang-he :is(.division-page, .page-deep, .main) [data-lang="en"] {
  display: none !important;
}

.lang-he :is(.division-page, .page-deep, .main) [data-lang="he"] {
  display: block !important;
}

.lang-he :is(.division-page, .page-deep, .main) li[data-lang="he"] {
  display: list-item !important;
}

.lang-he :is(.division-page, .page-deep, .main) span[data-lang="he"] {
  display: inline !important;
}

.lang-nl :is(.division-page, .page-deep, .main) [data-lang="en"],
.lang-nl :is(.division-page, .page-deep, .main) [data-lang="he"] {
  display: none !important;
}

.lang-nl :is(.division-page, .page-deep, .main) [data-lang="nl"] {
  display: block !important;
}

.lang-nl :is(.division-page, .page-deep, .main) li[data-lang="nl"] {
  display: list-item !important;
}

.lang-nl :is(.division-page, .page-deep, .main) span[data-lang="nl"] {
  display: inline !important;
}

[data-lang="he"],
.hebrew-line {
  direction: rtl;
  text-align: right;
  unicode-bidi: embed;
}

/* ── Hebrew: collapsible buttons right-aligned ── */
.lang-he .collapsible,
.lang-he .jw-document .collapsible,
.lang-he .jw-document button.collapsible,
.lang-he .jw-html-wrapper .main .collapsible,
.lang-he .jw-html-wrapper .main button.collapsible,
.lang-he .jw-html-wrapper .jw-document .collapsible,
.lang-he .jw-html-wrapper .jw-document button.collapsible,
html body.lang-he .jw-content .jw-document .collapsible,
html body.lang-he .jw-main .jw-document .collapsible,
html body.lang-he .jw-document .collapsible,
html body.lang-he .jw-document button.collapsible {
  direction: rtl !important;
  text-align: right !important;
}

.lang-he .collapsible::after {
  float: left;
}

.lang-he .sub-collapsible,
.lang-he .jw-document .sub-collapsible,
.lang-he .jw-html-wrapper .main .sub-collapsible,
.lang-he .jw-html-wrapper .jw-document .sub-collapsible {
  border-left: none !important;
  border-right: 4px solid #1F6F78 !important;
  padding-left: 34px !important;
  padding-right: 20px !important;
}

.lang-he .sub-collapsible::before {
  content: " ↲";
}

.lang-he .sub-collapsible::after {
  left: 10px;
  right: auto;
}

.lang-he .sub-collapsible + .content,
.lang-he .jw-document .sub-collapsible + .content,
.lang-he .jw-html-wrapper .main .sub-collapsible + .content,
.lang-he .jw-html-wrapper .jw-document .sub-collapsible + .content {
  margin-left: 0 !important;
  margin-right: 12px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  border-left: none !important;
  border-right: 2px dashed var(--line) !important;
}

.page-audio .audio-player-card,
.page-audio .audio-transcript-card,
.page-audio .audio-content-card {
  margin-top: 16px;
}

.page-audio .audio-hero {
  position: relative;
  z-index: auto;
  background: transparent;
  backdrop-filter: none;
  padding-top: 0;
  width: min(940px, calc(100vw - 10vw));
  max-width: calc(100vw - 24px);
  margin: 0 auto;
}

.page-audio .audio-player-sticky {
  position: sticky;
  top: calc(var(--ws-page-top-offset, 0px) + var(--doc-toolbar-offset, 48px) + 34px);
  left: auto;
  transform: none;
  z-index: 18;
  width: min(940px, calc(100vw - 10vw));
  max-width: calc(100vw - 24px);
  margin: 0 auto;
  padding: 10px 14px 8px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: top 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, width 0.12s ease, max-width 0.12s ease;
}

.page-audio .audio-player-sticky.is-floating {
  position: fixed;
  top: calc(var(--ws-page-top-offset, 0px) + var(--doc-toolbar-offset, 48px) + 34px);
  left: 50%;
  transform: translateX(-50%);
  width: min(940px, calc(100vw - 10vw));
  max-width: calc(100vw - 24px);
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
}

.page-audio .audio-player-card {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.audio-player-card audio {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 0;
  border: none;
  background: transparent;
}

.audio-player-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: min(940px, calc(100vw - 10vw));
  max-width: 100%;
  margin: 10px auto 0;
  padding: 0;
  background: transparent;
  border: none;
  position: static;
}

.audio-player-times,
.audio-transcript-help,
.audio-source-links {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.audio-source-links {
  padding-top: 4px;
}

.audio-speed-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}

.audio-speed-control select {
  font: inherit;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 4px 8px;
}

.audio-transcript-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

html.jw-dark-mode .page-audio .audio-transcript-card h2,
html.jw-dark-mode .page-audio .audio-content-card h2,
html.jw-dark-mode .page-audio .audio-transcript-header h2,
html.jw-dark-mode .page-audio .audio-content-card > h2 {
  color: #dfeff0 !important;
}

.audio-transcript-viewport {
  max-height: min(70vh, 42rem);
  overflow: auto;
  margin-top: 10px;
  padding-right: 2px;
}

.audio-transcript-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audio-transcript-item {
  margin: 0;
}

.audio-transcript-paragraph-item {
  margin-bottom: 2px;
}

.audio-transcript-segment {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}

.audio-transcript-segment:hover,
.audio-transcript-segment:focus-visible {
  background: var(--accent-soft);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.audio-transcript-segment.is-active {
  border-color: var(--accent);
  background: var(--bg-accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.audio-transcript-paragraph {
  padding-top: 12px;
  padding-bottom: 12px;
}

.audio-transcript-paragraph-text {
  line-height: 1.55;
}

.audio-transcript-time {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 2px;
}

.audio-transcript-text {
  white-space: normal;
}

.division-page .key-texts-action-row,
.main .key-texts-action-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 0;
  padding-bottom: 8px;
  font-size: 0.82em;
  line-height: 1.35;
  position: relative;
}

.division-page .key-texts-main-wrap,
.main .key-texts-main-wrap {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 102px);
  position: relative;
  z-index: 2;
}

.division-page .key-texts-main,
.main .key-texts-main {
  width: 100%;
  min-width: 0;
  line-height: 1.45;
}

.division-page .key-texts-main a,
.main .key-texts-main a {
  white-space: nowrap;
}

.division-page .key-texts-action-slot,
.main .key-texts-action-slot {
  flex: 0 0 92px;
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
  position: relative;
  z-index: 1;
}

.division-page .key-texts-action-slot .feedback-action-group,
.main .key-texts-action-slot .feedback-action-group {
  margin-left: 0;
  position: static;
}

.main .key-texts-main[data-lang] {
  display: none;
}

.main .key-texts-main[data-lang="nl"] {
  display: block;
}

.lang-nl .main .key-texts-main[data-lang="nl"],
.lang-en .main .key-texts-main[data-lang="en"],
.lang-he .main .key-texts-main[data-lang="he"] {
  display: block;
}

.lang-nl .main .key-texts-main[data-lang="en"],
.lang-nl .main .key-texts-main[data-lang="he"],
.lang-en .main .key-texts-main[data-lang="nl"],
.lang-en .main .key-texts-main[data-lang="he"],
.lang-he .main .key-texts-main[data-lang="nl"],
.lang-he .main .key-texts-main[data-lang="en"] {
  display: none;
}

.lang-he .main .key-texts-main[data-lang="en"].he-fallback {
  display: block;
}

.main .scripture-variant {
  display: none;
}

html[data-scripture-choice="sv-sv"] .main .scripture-variant[data-scripture="sv-sv"] {
  display: inline;
}

html[data-scripture-choice="nl-hsv"] .main .scripture-variant[data-scripture="nl-hsv"] {
  display: inline;
}

html[data-scripture-choice="en-kjv"] .main .scripture-variant[data-scripture="en-kjv"] {
  display: inline;
}

html[data-scripture-choice="he-auto"] .main .scripture-variant[data-scripture="en-kjv"] {
  display: inline;
}

html[data-scripture-choice="sv-plus"] .main .scripture-variant[data-scripture="sv-sv"] {
  display: inline;
}

html[data-scripture-choice="en-plus"] .main .scripture-variant[data-scripture="en-kjv"] {
  display: inline;
}


/* Home page needs stronger, explicit key-text layout overrides. */
.main.home-page .key-texts-action-row {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  padding-bottom: 8px !important;
  font-size: 0.82em !important;
  line-height: 1.35 !important;
}

.main.home-page .key-texts-main-wrap {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 102px) !important;
}

.main.home-page .key-texts-main {
  width: 100% !important;
  min-width: 0 !important;
  line-height: 1.45 !important;
}

.main.home-page .key-texts-main a {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

.main.home-page .key-texts-action-slot {
  flex: 0 0 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: flex-end !important;
}

.main.home-page .key-texts-action-slot .feedback-action-group {
  margin-left: 0 !important;
  position: static !important;
}

.main .key-texts-action-slot .feedback-action-group,
.main.home-page .key-texts-action-slot .feedback-action-group {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
}

@media (max-width: 820px) {
  .division-page .key-texts-action-row,
  .main .key-texts-action-row {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .division-page .key-texts-action-slot,
  .main .key-texts-action-slot {
    width: 92px;
    min-width: 92px;
    max-width: 92px;
    justify-content: flex-end;
  }

  .main.home-page .key-texts-action-row {
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  .main.home-page .key-texts-action-slot {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    justify-content: flex-end !important;
  }
}

.verse-preview-frame-wrap {
  position: relative;
  margin: 0 0 16px;
  border: 1px solid #BFD7DA;
  border-radius: 0;
  overflow: hidden;
  overflow-x: hidden;
  background: #f8f8f8;
}

.verse-preview-panels {
  display: block;
}

.verse-preview-lang-controls {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  width: 100%;
  direction: ltr;
  text-align: left;
}

.verse-preview-lang-controls.is-primary,
#versePreviewLangControls {
  justify-content: flex-start;
}

.verse-preview-lang-controls.is-secondary,
#versePreviewSecondLangControls {
  justify-content: flex-end;
}

.verse-preview-lang-controls.has-inline-secondary {
  flex-wrap: nowrap;
  overflow-x: auto;
}

.verse-preview-lang-controls.is-secondary.is-inline-with-primary,
#versePreviewSecondLangControls.is-inline-with-primary {
  width: auto;
  margin-left: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
}

.verse-preview-text-col > .verse-preview-lang-controls {
  padding: 8px 10px;
  min-height: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #BFD7DA;
  background: #fff;
}

.verse-preview-lang-btn {
  border: 1px solid #BFD7DA;
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: var(--ui-font-size);
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
}

.verse-preview-lang-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.verse-preview-text-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
}


.verse-preview-picker-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  padding: 0;
}

.verse-preview-picker-shell {
  height: 100%;
  border: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-size: inherit;
}

.verse-preview-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #BFD7DA;
  padding: 8px 10px;
}

.verse-preview-picker-title {
  color: #1F6F78;
  font-size: calc(1rem * var(--preview-effective-scale));
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.verse-preview-picker-close {
  border: 1px solid #BFD7DA;
  background: #fff;
  color: #1F6F78;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  min-width: 26px;
  min-height: 24px;
  padding: 0;
  cursor: pointer;
}

.verse-preview-picker-close:hover {
  background: #F3F8F8;
}

.verse-preview-picker-layout {
  min-height: 0;
  flex: 1 1 auto;
  display: block;
}

.verse-preview-book-pane {
  border-right: 0;
  overflow: auto;
  min-height: 0;
  height: 100%;
}

.verse-preview-book-section + .verse-preview-book-section {
  border-top: 1px solid #BFD7DA;
}

.verse-preview-testament-toggle {
  border: 0;
  border-bottom: 1px solid #BFD7DA;
  background: #EEF6F7;
  color: #2E4A57;
  font: inherit;
  font-size: inherit;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  position: sticky;
  top: 0;
  z-index: 1;
}

.verse-preview-testament-toggle::before {
  content: "▾";
  font-size: 1em;
  margin-right: 7px;
  opacity: 0.85;
}

.verse-preview-testament-toggle:not(.is-open)::before {
  content: "▸";
}

.verse-preview-book-list {
  display: block;
}

.verse-preview-book-list[hidden] {
  display: none;
}

.verse-preview-book-row-group {
  border-bottom: 1px solid #D5E5E7;
}

.verse-preview-book-row {
  border: 0;
  border-bottom: 0;
  background: #fff;
  color: #23313A;
  font: inherit;
  font-size: inherit;
  line-height: 1.25;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.verse-preview-book-row:hover {
  background: #EEF6F7;
}

.verse-preview-book-row.is-active {
  background: #F1F7F8;
  color: #185A61;
  font-weight: 700;
}

.verse-preview-inline-chapters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 6px;
  padding: 8px 10px 10px;
  border-top: 1px solid #BFD7DA;
  background: #F4F8F8;
}

.verse-preview-inline-chapter-btn {
  border: 1px solid #BFD7DA;
  background: #fff;
  color: #2E4A57;
  font: inherit;
  font-size: inherit;
  line-height: 1;
  min-height: 36px;
  cursor: pointer;
}

.verse-preview-inline-chapter-btn:hover {
  background: #F3F8F8;
}

.verse-preview-inline-chapter-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #185A61;
  font-weight: 700;
}

.verse-preview-inline-verses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 6px;
}

.verse-preview-inline-verses-wrap {
  margin: 8px 10px 10px;
  padding-top: 8px;
  border-top: 1px dashed #BFD7DA;
}

.verse-preview-inline-verse-btn {
  border: 1px solid #BFD7DA;
  background: #fff;
  color: #2E4A57;
  font: inherit;
  font-size: inherit;
  line-height: 1;
  min-height: 32px;
  cursor: pointer;
}

.verse-preview-inline-verse-btn:hover {
  background: #F3F8F8;
}

.verse-preview-inline-verse-btn.is-active {
  background: #E8F3F4;
  border-color: #1F6F78;
  color: #185A61;
  font-weight: 700;
}

.verse-preview-book-arrow {
  color: #5F7680;
  font-size: 1em;
}

.verse-preview-chapter-pane {
  display: none;
}

.verse-preview-chapter-title {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #BFD7DA;
  color: #1F6F78;
  font-size: calc(0.84rem * var(--preview-effective-scale));
  line-height: 1.3;
}

.verse-preview-chapter-grid {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 6px;
  overflow: auto;
  min-height: 0;
}

.verse-preview-chapter-btn {
  border: 1px solid #BFD7DA;
  border-radius: 0;
  background: #fff;
  color: #2E4A57;
  font: inherit;
  font-size: calc(0.84rem * var(--preview-effective-scale));
  line-height: 1;
  min-height: 34px;
  cursor: pointer;
}

.verse-preview-chapter-btn:hover {
  background: #F3F8F8;
}

.verse-preview-chapter-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #185A61;
  font-weight: 700;
}

.verse-preview-picker-empty {
  color: #5A6A73;
  font-size: 1rem;
  padding: 10px 2px;
}

.verse-preview-text-col {
  border: 1px solid #BFD7DA;
  border-radius: 0;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.verse-preview-text-col h4 {
  margin: 0;
  padding: 8px 10px;
  border-bottom: 1px solid #BFD7DA;
  font-size: calc(0.88rem * var(--preview-effective-scale));
  font-weight: 700;
  color: #1F6F78;
  line-height: 1.25;
}

.verse-preview-num {
  display: inline-block;
  width: 1.2em;
  font-size: 1em;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  margin-right: 0;
  padding-top: 0;
  line-height: inherit;
  flex: 0 0 1.2em;
  font-variant-numeric: tabular-nums;
  vertical-align: baseline;
}

.verse-preview-panels.panel-mode-all {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.verse-preview-panel {
  position: relative;
  min-height: 220px;
  border: 1px solid #BFD7DA;
  border-radius: 0;
  overflow: hidden;
  background: #f8f8f8;
}

.verse-preview-local {
  margin: 0;
  padding: 8px;
  white-space: pre-wrap;
  font: inherit;
  font-size: calc(0.88rem * var(--preview-effective-scale));
  line-height: 1.4;
  max-height: none;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
}

.verse-preview-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

a.verse-ref {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.verse-preview-line:hover {
  background: #F3F8F8;
}

a.verse-ref.verse-ref-last-clicked {
  background: #fff3b0;
  box-shadow: inset 0 -2px 0 #e0b800;
  border-radius: 3px;
  padding-left: 2px;
  padding-right: 2px;
}

.verse-preview-selected {
  background: #E8F3F4 !important;
  box-shadow: inset 2px 0 0 #1F6F78, inset -2px 0 0 #1F6F78;
  border-radius: 0;
}

.verse-preview-selected:not(.verse-preview-selected + .verse-preview-selected) {
  box-shadow: inset 2px 0 0 #1F6F78, inset -2px 0 0 #1F6F78, inset 0 2px 0 #1F6F78;
  border-radius: 4px 4px 0 0;
}

.verse-preview-selected:not(:has(+ .verse-preview-selected)) {
  box-shadow: inset 2px 0 0 #1F6F78, inset -2px 0 0 #1F6F78, inset 0 -2px 0 #1F6F78;
  border-radius: 0 0 4px 4px;
}

.verse-preview-selected:not(.verse-preview-selected + .verse-preview-selected):not(:has(+ .verse-preview-selected)) {
  box-shadow: inset 2px 0 0 #1F6F78, inset -2px 0 0 #1F6F78, inset 0 2px 0 #1F6F78, inset 0 -2px 0 #1F6F78;
  border-radius: 4px;
}

.verse-preview-local.cp-hebrew {
  direction: rtl;
  text-align: right;
}

.verse-preview-line-he {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

.verse-preview-line-he .verse-preview-num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  margin-left: 0;
  padding-top: 0;
  font-weight: 700;
}

.verse-preview-line-he .verse-preview-text {
  unicode-bidi: plaintext;
}

.verse-preview-hit {
  background: #fff3b0;
  box-shadow: inset 2px 0 0 #e0b800, inset -2px 0 0 #e0b800;
  border-radius: 0;
}

.verse-preview-hit:not(:is(.verse-preview-hit + .verse-preview-hit)) {
  box-shadow: inset 2px 0 0 #e0b800, inset -2px 0 0 #e0b800, inset 0 2px 0 #e0b800;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.verse-preview-hit:not(:has(+ .verse-preview-hit)) {
  box-shadow: inset 2px 0 0 #e0b800, inset -2px 0 0 #e0b800, inset 0 -2px 0 #e0b800;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.verse-preview-hit:not(:is(.verse-preview-hit + .verse-preview-hit)):not(:has(+ .verse-preview-hit)) {
  box-shadow: inset 2px 0 0 #e0b800, inset -2px 0 0 #e0b800, inset 0 2px 0 #e0b800, inset 0 -2px 0 #e0b800;
}

.verse-preview-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(248, 248, 248, 0.95);
  color: #2E4A57;
  font-weight: 600;
  font-size: calc(1rem * var(--preview-effective-scale));
  text-align: center;
  z-index: 1;
}

.verse-preview-loading[hidden] {
  display: none;
}

.verse-preview-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #BFD7DA;
  border-top-color: #1F6F78;
  border-radius: 50%;
  animation: verse-preview-spin 0.9s linear infinite;
}

@keyframes verse-preview-spin {
  to {
    transform: rotate(360deg);
  }
}

.verse-preview-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 58vh;
  min-height: 380px;
  border: 0;
  background: #fff;
  overflow: hidden;
}

.verse-preview-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 12px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #BFD7DA;
  flex-shrink: 0;
}

#versePreviewClose {
  margin-left: auto;
}

.verse-preview-actions button {
  border: 1px solid #BFD7DA;
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: var(--ui-font-size);
  font-weight: 600;
  line-height: 1;
  height: var(--ui-control-height);
  min-height: var(--ui-control-height);
  padding: 4px 8px;
  cursor: pointer;
  color: #1f6f78;
}

#versePreviewShareRef,
#versePreviewCopyRef,
#versePreviewBookmarkBtn,
#versePreviewBlbLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--ui-control-height);
  padding: 0 8px;
}

#versePreviewBlbLink {
  border: 1px solid #BFD7DA;
  border-radius: 0;
  background: #fff;
  height: var(--ui-control-height);
  min-height: var(--ui-control-height);
  text-decoration: none;
  color: #1f6f78;
}

#versePreviewBlbLink:hover {
  background: #F3F8F8;
}

#versePreviewBlbLink:focus-visible {
  outline: 2px solid #1F6F78;
  outline-offset: 2px;
}

#versePreviewClose {
  color: inherit;
  font-weight: 700;
}

.verse-preview-actions .verse-preview-icon {
  display: block;
  width: var(--ui-icon-size);
  height: var(--ui-icon-size);
  object-fit: contain;
}

.verse-preview-actions button:hover {
  background: #F3F8F8;
}

.verse-preview-actions button:focus-visible {
  outline: 2px solid #1F6F78;
  outline-offset: 2px;
}

* {
  box-sizing: border-box;
}

header,
footer,
.site-header,
.site-footer,
.jw-mobile-menu,
.jw-mobile-header,
.jw-mobile-toggle,
.jw-mobile-menu__button {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove top spacing that JouwWeb adds for its hidden sticky header */
html body.jw-is-frontend {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

html body.jw-is-frontend .jw-body,
html body.jw-is-frontend main,
html body.jw-is-frontend .main-content,
html body .jw-strip__content-container,
html body .jw-strip__content,
html body .jw-strip__content.jw-responsive {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

html body .jw-strip,
html body .jw-strip--padding-both,
html body .jw-strip-root,
html body .jw-strip__content-container,
html body .jw-strip__content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

html body .main-content,
html body .block-content,
html body .jw-section,
html body .jw-section-content,
html body .jw-block-element {
  padding: 0 !important;
  margin: 0 !important;
}

html {
  font-size: calc(var(--fs-root) * var(--font-scale-global));
}

html.jw-presentation-mode {
  font-size: calc(var(--fs-root) * var(--font-scale-global) * var(--font-scale-presentation));
  zoom: var(--presentation-zoom);
}

html.jw-presentation-mode :is(img, svg, canvas, .media-embed, .timeline, .timeline-wrap, .presentation-figure) {
  transform: scale(var(--content-scale));
  transform-origin: center;
}

html,
body {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: var(--font-base);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

html body .jw-background {
  background: var(--bg) !important;
  background-image: none !important;
}

html,
body,
html body.jw-is-frontend,
html body.jw-is-frontend .jw-body,
html body.jw-is-frontend .main-content,
html body.jw-is-frontend .jw-section,
html body.jw-is-frontend .jw-section-content,
html body.jw-is-frontend .jw-strip,
html body.jw-is-frontend .jw-strip__content-container,
html body.jw-is-frontend .jw-strip__content {
  background-color: #FAFAF8 !important;
  background-image: none !important;
}

body {
  overflow: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: 5vw;
  padding-right: 5vw;
  padding-bottom: 42px;
  color: var(--text);
  line-height: 1.55;
  min-width: 320px;
}

.main {
  font-family: var(--font-base);
  max-width: 940px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.jw-document {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 0 32px 0 !important;
  font-family: var(--font-base) !important;
  color: var(--text) !important;
  line-height: 1.6 !important;
}

.jw-document h1 {
  color: #185A61 !important;
  margin: 6px 0 4px !important;
  letter-spacing: 0.1px !important;
  font-weight: 700 !important;
}

.jw-document h2 {
  color: #1F6F78 !important;
  margin: 8px 0 4px !important;
  font-weight: 700 !important;
}

.jw-document h3 {
  color: #2E4A57 !important;
  margin: 4px 0 !important;
  font-weight: 700 !important;
}

.jw-document h4 {
  color: #1F6F78 !important;
  margin: 6px 0 4px !important;
  font-weight: 600 !important;
}

.jw-document p {
  margin: 0 0 var(--space) !important;
}

.jw-document ul {
  margin: 0 0 8px 1.9em !important;
  padding: 0 !important;
}

.jw-document li {
  margin: 0 0 1px !important;
}

.jw-document .content p + ul {
  margin-top: -6px !important;
}

.jw-document .content ul + p {
  margin-top: 8px !important;
}

.jw-document a {
  color: var(--accent) !important;
  text-decoration: none !important;
}

.jw-document a:hover {
  text-decoration: underline !important;
}

.jw-document .collapsible,
.jw-document button.collapsible {
  background-color: var(--button) !important;
  color: var(--text) !important;
  padding: 10px 12px !important;
  width: 100% !important;
  border: 0 !important;
  text-align: left !important;
  font-size: 1em !important;
  font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.jw-document .collapsible:hover,
.jw-document button.collapsible:hover {
  background-color: var(--button-hover) !important;
}

.jw-document .collapsible.active,
.jw-document button.collapsible.active {
  background-color: var(--button-active) !important;
}

.jw-document .collapsible + .content {
  margin-left: 0 !important;
  padding-left: 10px !important;
}

.jw-document .sub-collapsible + .content {
  margin-left: 12px !important;
  margin-right: 0 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  border-left: 2px dashed var(--line) !important;
  background-color: var(--surface-soft) !important;
}

.jw-document .sub-collapsible {
  background-color: #E8F3F4 !important;
  font-size: 0.95em !important;
  padding-left: 20px !important;
  padding-right: 34px !important;
  border-left: 4px solid #1F6F78 !important;
  font-weight: 600 !important;
}

.jw-document .sub-collapsible:hover {
  background-color: #D6E8EA !important;
}

.jw-document .sub-collapsible.active {
  background-color: #C7DEE1 !important;
}

html body .jw-document.jw-document {
  max-width: 940px !important;
  margin: 0 auto !important;
  padding: 0 0 32px 0 !important;
  color: #23313A !important;
  line-height: 1.55 !important;
}

html body .jw-document.jw-document h1 {
  color: #185A61 !important;
  margin-top: 6px !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
}

html body .jw-document.jw-document h2 {
  color: #1F6F78 !important;
  margin-top: 8px !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
}

html body .jw-document.jw-document h3 {
  color: #2E4A57 !important;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
}

html body .jw-document.jw-document h4 {
  color: #1F6F78 !important;
  margin-top: 6px !important;
  margin-bottom: 4px !important;
  font-weight: 600 !important;
}

html body .jw-document.jw-document p {
  margin: 0 0 14px !important;
}

html body .jw-document.jw-document ul {
  margin: 0 0 8px 1.9em !important;
  padding: 0 !important;
}

html body .jw-document.jw-document li {
  margin: 0 0 1px !important;
}

html body .jw-document.jw-document .content p + ul {
  margin-top: -6px !important;
}

html body .jw-document.jw-document .content ul + p {
  margin-top: 8px !important;
}

html body .jw-document.jw-document a {
  color: #185A61 !important;
}

html body .jw-document.jw-document .collapsible,
html body .jw-document.jw-document button.collapsible {
  color: #23313A !important;
  background-color: #E8F3F4 !important;
  padding: 10px 12px !important;
  line-height: 1.2 !important;
}

html body .jw-document.jw-document .collapsible + .content {
  margin-left: 0 !important;
  padding-left: 10px !important;
}

html body .jw-document.jw-document .sub-collapsible + .content {
  margin-left: 12px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  background-color: #EEF6F7 !important;
}

html body .jw-content .jw-document,
html body .jw-main .jw-document,
html body .jw-block .jw-document,
html body #content .jw-document,
html body .jw-document {
  max-width: 940px !important;
  margin: 0 auto !important;
  padding: 0 0 32px 0 !important;
  color: #23313A !important;
  line-height: 1.55 !important;
  font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif !important;
}

html body .jw-content .jw-document h1,
html body .jw-main .jw-document h1,
html body .jw-block .jw-document h1,
html body #content .jw-document h1,
html body .jw-document h1 {
  color: #185A61 !important;
  margin: 6px 0 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1px !important;
}

html body .jw-content .jw-document h2,
html body .jw-main .jw-document h2,
html body .jw-block .jw-document h2,
html body #content .jw-document h2,
html body .jw-document h2 {
  color: #1F6F78 !important;
  margin: 8px 0 4px !important;
  font-weight: 700 !important;
}

html body .jw-content .jw-document h3,
html body .jw-main .jw-document h3,
html body .jw-block .jw-document h3,
html body #content .jw-document h3,
html body .jw-document h3 {
  color: #2E4A57 !important;
  margin: 4px 0 !important;
  font-weight: 700 !important;
}

html body .jw-content .jw-document h4,
html body .jw-main .jw-document h4,
html body .jw-block .jw-document h4,
html body #content .jw-document h4,
html body .jw-document h4 {
  color: #1F6F78 !important;
  margin: 6px 0 4px !important;
  font-weight: 600 !important;
}

html body .jw-content .jw-document p,
html body .jw-main .jw-document p,
html body .jw-block .jw-document p,
html body #content .jw-document p,
html body .jw-document p {
  margin: 0 0 14px !important;
}

html body .jw-content .jw-document ul,
html body .jw-main .jw-document ul,
html body .jw-block .jw-document ul,
html body #content .jw-document ul,
html body .jw-document ul {
  margin: 0 0 8px 1.9em !important;
  padding: 0 !important;
}

html body .jw-content .jw-document li,
html body .jw-main .jw-document li,
html body .jw-block .jw-document li,
html body #content .jw-document li,
html body .jw-document li {
  margin: 0 0 1px !important;
}

html body .jw-content .jw-document .content p + ul,
html body .jw-main .jw-document .content p + ul,
html body .jw-block .jw-document .content p + ul,
html body #content .jw-document .content p + ul,
html body .jw-document .content p + ul {
  margin-top: -6px !important;
}

html body .jw-content .jw-document .content ul + p,
html body .jw-main .jw-document .content ul + p,
html body .jw-block .jw-document .content ul + p,
html body #content .jw-document .content ul + p,
html body .jw-document .content ul + p {
  margin-top: 8px !important;
}

html body .jw-content .jw-document a,
html body .jw-main .jw-document a,
html body .jw-block .jw-document a,
html body #content .jw-document a,
html body .jw-document a {
  color: #185A61 !important;
}

html body .jw-content .jw-document .collapsible,
html body .jw-main .jw-document .collapsible,
html body .jw-block .jw-document .collapsible,
html body #content .jw-document .collapsible,
html body .jw-document .collapsible,
html body .jw-content .jw-document button.collapsible,
html body .jw-main .jw-document button.collapsible,
html body .jw-block .jw-document button.collapsible,
html body #content .jw-document button.collapsible,
html body .jw-document button.collapsible {
  background-color: #E8F3F4 !important;
  color: #23313A !important;
  padding: 10px 12px !important;
  line-height: 1.2 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

html body .jw-content .jw-document .collapsible + .content,
html body .jw-main .jw-document .collapsible + .content,
html body .jw-block .jw-document .collapsible + .content,
html body #content .jw-document .collapsible + .content,
html body .jw-document .collapsible + .content {
  margin-left: 0 !important;
  padding-left: 10px !important;
}

html body .jw-content .jw-document .sub-collapsible + .content,
html body .jw-main .jw-document .sub-collapsible + .content,
html body .jw-block .jw-document .sub-collapsible + .content,
html body #content .jw-document .sub-collapsible + .content,
html body .jw-document .sub-collapsible + .content {
  margin-left: 12px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  background-color: #EEF6F7 !important;
}

html body .jw-html-wrapper .main,
html body .jw-html-wrapper .jw-document {
  max-width: 940px !important;
  margin: 0 auto !important;
  padding: 0 0 32px 0 !important;
  color: #23313A !important;
  line-height: 1.55 !important;
  font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif !important;
}

html body .jw-html-wrapper .main h1,
html body .jw-html-wrapper .jw-document h1 {
  color: #185A61 !important;
  margin: 6px 0 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1px !important;
}

html body .jw-html-wrapper .main h2,
html body .jw-html-wrapper .jw-document h2 {
  color: #1F6F78 !important;
  margin: 8px 0 4px !important;
  font-weight: 700 !important;
}

html body .jw-html-wrapper .main h3,
html body .jw-html-wrapper .jw-document h3 {
  color: #2E4A57 !important;
  margin: 4px 0 !important;
  font-weight: 700 !important;
}

html body .jw-html-wrapper .main h4,
html body .jw-html-wrapper .jw-document h4 {
  color: #1F6F78 !important;
  margin: 6px 0 4px !important;
  font-weight: 600 !important;
}

html body .jw-html-wrapper .main p,
html body .jw-html-wrapper .jw-document p {
  margin: 0 0 14px !important;
}

html body .jw-html-wrapper .main ul,
html body .jw-html-wrapper .jw-document ul {
  margin: 0 0 8px 1.9em !important;
  padding: 0 !important;
}

html body .jw-html-wrapper .main li,
html body .jw-html-wrapper .jw-document li {
  margin: 0 0 1px !important;
}

html body .jw-html-wrapper .main .content p + ul,
html body .jw-html-wrapper .jw-document .content p + ul {
  margin-top: -6px !important;
}

html body .jw-html-wrapper .main .content ul + p,
html body .jw-html-wrapper .jw-document .content ul + p {
  margin-top: 8px !important;
}

html body .jw-html-wrapper .main a,
html body .jw-html-wrapper .jw-document a {
  color: #185A61 !important;
}

html body .jw-html-wrapper .main .collapsible,
html body .jw-html-wrapper .jw-document .collapsible,
html body .jw-html-wrapper .main button.collapsible,
html body .jw-html-wrapper .jw-document button.collapsible {
  background-color: #E8F3F4 !important;
  color: #23313A !important;
  padding: 10px 12px !important;
  line-height: 1.2 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

html body .jw-html-wrapper .main .collapsible + .content,
html body .jw-html-wrapper .jw-document .collapsible + .content {
  margin-left: 0 !important;
  padding-left: 10px !important;
}

html body .jw-html-wrapper .main .sub-collapsible + .content,
html body .jw-html-wrapper .jw-document .sub-collapsible + .content {
  margin-left: 12px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  border-left: 2px dashed #BFD7DA !important;
  background-color: #EEF6F7 !important;
}

html body .jw-html-wrapper .main,
html body .jw-html-wrapper .jw-document,
html body .jw-content .jw-html-wrapper .main,
html body .jw-content .jw-html-wrapper .jw-document,
html body .jw-main .jw-html-wrapper .main,
html body .jw-main .jw-html-wrapper .jw-document,
html body .jw-block .jw-html-wrapper .main,
html body .jw-block .jw-html-wrapper .jw-document {
  max-width: 940px !important;
  margin: 0 auto !important;
  padding: 0 0 32px 0 !important;
  font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #23313A !important;
  line-height: 1.55 !important;
  font-size: calc(1rem * var(--content-scale)) !important;
}

html body .jw-html-wrapper .main *,
html body .jw-html-wrapper .jw-document * {
  box-sizing: border-box !important;
}

html body .jw-html-wrapper .main h1,
html body .jw-html-wrapper .jw-document h1 {
  color: #185A61 !important;
  margin: 6px 0 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1px !important;
  line-height: 1.25 !important;
}

html body .jw-html-wrapper .main h2,
html body .jw-html-wrapper .jw-document h2 {
  color: #1F6F78 !important;
  margin: 8px 0 4px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

html body .jw-html-wrapper .main h3,
html body .jw-html-wrapper .jw-document h3 {
  color: #2E4A57 !important;
  margin: 4px 0 !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

html body .jw-html-wrapper .main h4,
html body .jw-html-wrapper .jw-document h4 {
  color: #1F6F78 !important;
  margin: 6px 0 4px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

html body .jw-html-wrapper .main p,
html body .jw-html-wrapper .jw-document p {
  margin: 0 0 14px !important;
  padding: 0 !important;
}

html body .jw-html-wrapper .main ul,
html body .jw-html-wrapper .jw-document ul {
  margin: 0 0 8px 1.9em !important;
  padding: 0 !important;
  list-style-position: outside !important;
}

html body .jw-html-wrapper .main ol,
html body .jw-html-wrapper .jw-document ol {
  margin: 0 0 8px 1.9em !important;
  padding: 0 !important;
}

html body .jw-html-wrapper .main li,
html body .jw-html-wrapper .jw-document li {
  margin: 0 0 1px !important;
  padding: 0 !important;
}

html body .jw-html-wrapper .main .content p + ul,
html body .jw-html-wrapper .jw-document .content p + ul {
  margin-top: -6px !important;
}

html body .jw-html-wrapper .main .content ul + p,
html body .jw-html-wrapper .jw-document .content ul + p {
  margin-top: 8px !important;
}

html body .jw-html-wrapper .main a,
html body .jw-html-wrapper .jw-document a {
  color: #185A61 !important;
  text-decoration: none !important;
}

html body .jw-html-wrapper .main a:hover,
html body .jw-html-wrapper .jw-document a:hover {
  text-decoration: underline !important;
}

html body .jw-html-wrapper .main b,
html body .jw-html-wrapper .main strong,
html body .jw-html-wrapper .jw-document b,
html body .jw-html-wrapper .jw-document strong {
  font-weight: 600 !important;
}

html body .jw-html-wrapper .main .toolbar,
html body .jw-html-wrapper .jw-document .toolbar {
  background: #ffffff !important;
  border: 1px solid #BFD7DA !important;
  box-shadow: 0 8px 24px rgba(31, 111, 120, 0.08) !important;
  padding: 6px 8px !important;
  margin: 8px 0 8px !important;
}

html body .jw-html-wrapper .main .toolbar button,
html body .jw-html-wrapper .main .toolbar input,
html body .jw-html-wrapper .jw-document .toolbar button,
html body .jw-html-wrapper .jw-document .toolbar input {
  font: inherit !important;
}

html body .jw-html-wrapper .main .toolbar input[type="search"],
html body .jw-html-wrapper .jw-document .toolbar input[type="search"] {
  padding: 8px 10px !important;
}

html body .jw-html-wrapper .main .collapsible,
html body .jw-html-wrapper .main button.collapsible,
html body .jw-html-wrapper .jw-document .collapsible,
html body .jw-html-wrapper .jw-document button.collapsible {
  background-color: #E8F3F4 !important;
  color: #23313A !important;
  padding: 10px 12px !important;
  width: 100% !important;
  border: 0 !important;
  text-align: left !important;
  font-size: 1em !important;
  font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

html body .jw-html-wrapper .main .collapsible:hover,
html body .jw-html-wrapper .main button.collapsible:hover,
html body .jw-html-wrapper .jw-document .collapsible:hover,
html body .jw-html-wrapper .jw-document button.collapsible:hover {
  background-color: #D6E8EA !important;
}

html body .jw-html-wrapper .main .collapsible.active,
html body .jw-html-wrapper .main button.collapsible.active,
html body .jw-html-wrapper .jw-document .collapsible.active,
html body .jw-html-wrapper .jw-document button.collapsible.active {
  background-color: #C7DEE1 !important;
}

html body .jw-html-wrapper .main .collapsible + .content,
html body .jw-html-wrapper .jw-document .collapsible + .content {
  margin-left: 0 !important;
  padding-left: 10px !important;
}

html body .jw-html-wrapper .main .sub-collapsible,
html body .jw-html-wrapper .main button.sub-collapsible,
html body .jw-html-wrapper .jw-document .sub-collapsible,
html body .jw-html-wrapper .jw-document button.sub-collapsible {
  background-color: #E8F3F4 !important;
  font-size: 0.95em !important;
  padding-left: 20px !important;
  padding-right: 34px !important;
  border-left: 4px solid #1F6F78 !important;
  font-weight: 600 !important;
}

html body .jw-html-wrapper .main .sub-collapsible + .content,
html body .jw-html-wrapper .jw-document .sub-collapsible + .content {
  margin-left: 12px !important;
  margin-right: 0 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  border-left: 2px dashed #BFD7DA !important;
  background-color: #EEF6F7 !important;
}

html body .jw-html-wrapper .main .content-card,
html body .jw-html-wrapper .jw-document .content-card {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .jw-html-wrapper .main mark,
html body .jw-html-wrapper .jw-document mark {
  padding: 0.1em 0.25em !important;
  border-radius: 4px !important;
  background: #fff2a8 !important;
}

html body .jw-html-wrapper .main mark.blue,
html body .jw-html-wrapper .jw-document mark.blue {
  background: #E8F3F4 !important;
}

html body .jw-html-wrapper .main mark.green,
html body .jw-html-wrapper .jw-document mark.green {
  background: #dcfce7 !important;
}

html body .jw-html-wrapper .main mark.orange,
html body .jw-html-wrapper .jw-document mark.orange {
  background: #ffedd5 !important;
}

html body .jw-html-wrapper .main mark.red,
html body .jw-html-wrapper .jw-document mark.red {
  background: #fee2e2 !important;
}

html body .jw-html-wrapper .main mark.purple,
html body .jw-html-wrapper .jw-document mark.purple {
  background: #ede9fe !important;
}

html body .jw-html-wrapper .main mark.gray,
html body .jw-html-wrapper .jw-document mark.gray {
  background: #e5e7eb !important;
}

h1 {
  color: #185A61;
  margin-top: 6px;
  margin-bottom: 4px;
  letter-spacing: 0.1px;
}

h3 {
  margin-top: 4px;
  margin-bottom: 4px;
}

h4 {
  color: #1F6F78;
  margin-top: 6px;
  margin-bottom: 4px;
}

p {
  margin: 0 0 var(--space);
}

ul {
  margin: 0 0 8px 1.9em;
  padding: 0;
}

li {
  margin: 0 0 1px;
}

.content p+ul {
  margin-top: -6px;
}

.content ul+p {
  margin-top: 8px;
}

.toolbar,
#toolbarRegion {
  position: sticky;
  top: var(--ws-page-top-offset, 0px);
  z-index: 60;
  background: #ffffff !important;
  border: 1px solid #BFD7DA !important;
  box-shadow: var(--shadow);
  padding: 6px 8px;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.toolbar-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.toolbar-row #searchInput {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
}

.toolbar button,
.toolbar input,
.toolbar select {
  font: inherit;
  border: 1px solid #BFD7DA;
  background: #fff;
  color: var(--text);
}

#languageFlagIndicator.toolbar-flag {
  min-width: 40px;
  font-size: var(--ui-flag-font-size);
  font-weight: 400;
  padding: 0 8px;
}

#languageFlagMenu.toolbar-flag-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid #BFD7DA;
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 75;
}

#languageFlagMenu[hidden] {
  display: none !important;
}

.toolbar-row {
  position: relative;
}

.toolbar-flag-option {
  min-width: 40px;
  height: 32px;
  padding: 0 6px;
  font-size: var(--ui-font-size);
  font-weight: 700;
}

.toolbar-flag-option.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

#previewToggleBtn.is-off {
  opacity: 0.6;
}

#previewPanelSelect {
  min-width: 88px;
}

.toolbar button {
  height: var(--ui-control-height);
  padding: 0 9px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

.toolbar button:hover {
  background: #F3F8F8;
}

#bibleBtn img {
  display: block;
}

.toolbar .toolbar-icon {
  display: block;
  width: var(--ui-toolbar-icon-size);
  height: var(--ui-toolbar-icon-size);
  object-fit: contain;
}

#bibleBtn,
#openBookmarksBtn,
#printBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--ui-control-height);
}

.toolbar input[type="search"] {
  width: 100%;
  height: var(--ui-control-height);
  padding: 0 8px;
}

.toolbar select {
  height: var(--ui-control-height);
  padding: 0 8px;
  min-width: 72px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.status {
  display: none !important;
}

.toolbar.is-expanded .status {
  display: none !important;
}

.doc-crumbbar {
  position: sticky;
  top: calc(var(--ws-page-top-offset, 0px) + var(--doc-toolbar-offset, 48px));
  z-index: 55;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  margin: 0 0 8px;
  border: 1px solid #BFD7DA;
  border-top: 0;
  background: #F4F8F8;
  color: var(--muted);
  font-size: 0.82em;
  overflow: visible;
  scrollbar-width: none;
  line-height: 1.35;
}

.crumb-group-menu {
  position: relative;
  flex-shrink: 0;
}

.crumb-page-menu {
  position: relative;
  flex-shrink: 0;
}

.crumb-group-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2E4A57;
  font: inherit;
  line-height: 1.35;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.crumb-page-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2E4A57;
  font: inherit;
  line-height: 1.35;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.crumb-group-trigger:hover,
.crumb-group-menu.is-open .crumb-group-trigger {
  color: #185A61;
}

.crumb-page-trigger:hover,
.crumb-page-menu.is-open .crumb-page-trigger {
  color: #185A61;
}

.crumb-group-trigger:focus {
  outline: 1px dotted var(--accent);
  outline-offset: 1px;
}

.crumb-page-trigger:focus {
  outline: 1px dotted var(--accent);
  outline-offset: 1px;
}

.crumb-group-trigger-caret {
  display: inline-block;
  font-size: 0.85em;
  line-height: 1;
  color: #5F7680;
  transition: transform 160ms ease;
}

.crumb-page-trigger-caret {
  display: inline-block;
  font-size: 0.85em;
  line-height: 1;
  color: #5F7680;
  transition: transform 160ms ease;
}

.crumb-group-menu.is-open .crumb-group-trigger-caret,
.crumb-page-menu.is-open .crumb-page-trigger-caret {
  transform: rotate(180deg);
}

.crumb-group-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  max-width: min(78vw, 440px);
  border: 1px solid #BFD7DA;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 90, 97, 0.14);
  z-index: 80;
  overflow: auto;
  max-height: 65vh;
}

.crumb-page-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  max-width: min(78vw, 440px);
  border: 1px solid #BFD7DA;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 90, 97, 0.14);
  z-index: 80;
  overflow: auto;
  max-height: 65vh;
}

.crumb-group-item {
  position: relative;
  border-bottom: 0;
}

.crumb-group-item:last-child {
  border-bottom: 0;
}

.crumb-group-item.is-active-group > .crumb-group-row {
  background: #F1F7F8;
}

.crumb-group-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
}

.crumb-group-link {
  flex: 1 1 auto;
  color: #2E4A57;
  text-decoration: none !important;
  text-decoration-line: none !important;
  padding: 8px 10px;
  line-height: 1.3;
}

.crumb-group-link:hover {
  background: #F3F8F8;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.crumb-group-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.crumb-group-arrow {
  flex: 0 0 auto;
  color: #5F7680;
  font-size: 0.85em;
  margin-right: 8px;
  transition: transform 160ms ease;
}

.crumb-submenu {
  display: none;
  position: absolute;
  top: -1px;
  left: calc(100% - 1px);
  min-width: 240px;
  max-width: min(78vw, 520px);
  max-height: 65vh;
  overflow: auto;
  border: 1px solid #BFD7DA;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 90, 97, 0.14);
  z-index: 81;
}

.crumb-group-item:hover > .crumb-submenu,
.crumb-group-item:focus-within > .crumb-submenu {
  display: block;
}

.crumb-group-item.is-submenu-open > .crumb-submenu {
  display: block;
}

.crumb-group-item:hover > .crumb-group-row .crumb-group-arrow,
.crumb-group-item:focus-within > .crumb-group-row .crumb-group-arrow {
  transform: rotate(90deg);
}

.crumb-group-menu.is-open .crumb-group-item.is-submenu-open > .crumb-group-row .crumb-group-arrow {
  transform: rotate(90deg);
}

.crumb-submenu-link {
  display: block;
  color: #2E4A57;
  text-decoration: none !important;
  text-decoration-line: none !important;
  padding: 7px 10px;
  line-height: 1.3;
  border-bottom: 0;
}

.crumb-submenu-link:last-child {
  border-bottom: 0;
}

.crumb-submenu-link:hover {
  background: #F3F8F8;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.crumb-group-link:focus,
.crumb-group-link:focus-visible,
.crumb-submenu-link:focus,
.crumb-submenu-link:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.crumb-submenu-link.is-active-page {
  background: #E8F3F4;
  color: #185A61;
  font-weight: 700;
}

.crumb-page-menu-link {
  display: block;
  color: #2E4A57;
  text-decoration: none !important;
  text-decoration-line: none !important;
  padding: 7px 10px;
  line-height: 1.3;
  border-bottom: 0;
}

.crumb-page-menu-link:hover {
  background: #F3F8F8;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.crumb-page-menu-link:focus,
.crumb-page-menu-link:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.crumb-page-menu-link.is-active-page {
  background: #E8F3F4;
  color: #185A61;
  font-weight: 700;
}

.crumb-page-select,
.crumb-group-select {
  flex-shrink: 0;
  flex: 0 0 auto !important;
  display: inline-block !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  color: #2E4A57;
  font-size: inherit;
  padding: 0;
  cursor: pointer;
  width: fit-content !important;
  inline-size: fit-content !important;
  min-width: max-content !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap;
  font: inherit;
  line-height: 1.35;
  vertical-align: middle;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-decoration: none;
}

.crumb-page-select:focus,
.crumb-group-select:focus {
  outline: 1px dotted var(--accent);
  outline-offset: 1px;
}

.crumb-page-select:hover,
.crumb-group-select:hover {
  color: #185A61;
}

.crumb-chapter-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  min-width: 0;
}

.doc-crumbbar .crumb-neutral {
  white-space: nowrap;
  color: var(--muted);
}

.doc-crumbbar .crumb-link {
  color: #2E4A57;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 44ch;
  line-height: inherit;
  vertical-align: middle;
}

.doc-crumbbar .crumb-link:hover {
  text-decoration: underline;
}

.doc-crumbbar .crumb-sep {
  color: #5F7680;
  user-select: none;
  flex-shrink: 0;
  line-height: inherit;
  align-self: center;
}

.doc-prev-next-nav {
  border-top: 1px solid #BFD7DA;
  margin: 18px 0 0;
  padding-top: 12px;
}

.doc-prev-next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.doc-prev-item,
.doc-next-item {
  min-height: 1.2em;
}

.doc-next-item {
  margin-left: auto;
  text-align: right;
}

.doc-seq-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.doc-seq-link:hover {
  text-decoration: underline;
}

.toc {
  background: var(--surface);
  border: 1px solid #BFD7DA;
  padding: 12px 14px;
  margin: 0 0 16px;
  box-shadow: var(--shadow);
}

.toc h4 {
  margin: 0 0 8px;
  color: #1F6F78;
}

.toc ul {
  margin: 0;
  padding-left: 18px;
}

.toc a {
  color: #1F6F78;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.collapsible {
  background-color: var(--button);
  color: var(--text);
  cursor: pointer;
  padding: 10px 12px;
  margin-bottom: 6px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1em;
  font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  touch-action: manipulation;
}

.collapsible:hover {
  background-color: var(--button-hover);
}

.collapsible.active {
  background-color: var(--button-active);
}

.collapsible:focus-visible,
.toolbar button:focus-visible,
.toolbar input:focus-visible,
.toc a:focus-visible,
.doc-seq-link:focus-visible {
  outline: 2px solid #1F6F78;
  outline-offset: 2px;
}

.content {
  display: none;
  opacity: 0;
  transform: none;
  transition: opacity 0.12s ease-out;
}

.content.show {
  display: block;
  opacity: 1;
  transform: none;
}

.collapsible+.content {
  margin-left: 0px;
  padding-left: 10px;
  padding-top: 4px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.content-card {
  background: transparent;
  margin: 0px 0 0px;
  padding: 0px 0px;
  display: flow-root;
}

/* Prevent trailing paragraph margin from creating a visible strip at the bottom */
.content > :last-child:not(.feedback-row),
.content-card > :last-child:not(.feedback-row),
.content.content-card > :last-child:not(.feedback-row) {
  margin-bottom: 0 !important;
}

.collapsible:after {
  content: '\25B8';
  float: right;
  transition: transform 0.12s ease-out;
}

.collapsible.active:after {
  content: '\25BE';
  transform: none;
}

html.ws-presenter-mode .collapsible:not(.sub-collapsible),
body.ws-presenter-mode .collapsible:not(.sub-collapsible) {
  position: relative;
  padding-right: 58px !important;
}

html.ws-presenter-mode .collapsible:not(.sub-collapsible)::before,
body.ws-presenter-mode .collapsible:not(.sub-collapsible)::before {
  content: "T";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  color: #185A61;
  background: #E7F3F5;
  border: 1px solid rgba(24, 90, 97, 0.5);
  border-radius: 999px;
  opacity: 0.9;
  pointer-events: none;
}

html.ws-presenter-mode .collapsible.active:not(.sub-collapsible)::before,
body.ws-presenter-mode .collapsible.active:not(.sub-collapsible)::before {
  opacity: 0.95;
}

.sub-collapsible {
  background-color: #E8F3F4;
  font-size: 0.95em;
  padding-left: 20px;
  padding-right: 34px;
  border-left: 4px solid #1F6F78;
  font-weight: 600;
  position: relative;
  margin-top: 0;
  width: 100%;
}

b,
strong {
  font-weight: 600;
}

.sub-collapsible:hover {
  background-color: #D6E8EA;
}

.sub-collapsible.active {
  background-color: #C7DEE1;
}

.sub-collapsible+.content {
  margin-left: 12px;
  margin-right: 0px;
  padding-left: 12px;
  padding-right: 12px;
  border-left: 2px dashed var(--line);
  background-color: var(--surface-soft);
}

.sub-collapsible::before {
  content: "↳ ";
  color: #1F6F78;
}

.sub-collapsible::after {
  float: none;
  position: absolute;
  right: 10px;
  top: 10px;
}

h4.subchapter-title {
  font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1em;
  color: #2E4A57;
  margin: 14px 0 8px;
  padding-left: 4px;
  border-left: 3px solid #9FBFC4;
  font-weight: 600;
}

.subtitle,
.sub-collapsible .timestamp {
  display: block;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--muted);
  margin-top: 2px;
}

.print-title {
  display: none;
}

mark {
  padding: 0.1em 0.25em;
  border-radius: 4px;
  background: #fff2a8;
}

mark.blue {
  background: #E8F3F4;
}

mark.green {
  background: #dcfce7;
}

mark.orange {
  background: #ffedd5;
}

mark.red {
  background: #fee2e2;
}

mark.purple {
  background: #ede9fe;
}

mark.gray {
  background: #e5e7eb;
}

.marks-off mark,
html body.marks-off .jw-html-wrapper .main mark,
html body.marks-off .jw-html-wrapper .jw-document mark {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
}

.is-filtered-out {
  display: none !important;
}

.search-hit {
  background: #ffe08a;
  color: inherit;
}

.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1.25rem;
}

.page-nav a {
  display: inline-block;
  border: 1px solid #9FBFC4;
  background: #fff;
  color: #1F6F78;
  border-radius: 0;
  padding: 12px 18px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13.8px;
  line-height: 1.25;
  box-shadow: none;
  transition: background 0.15s;
}

.page-nav a:hover {
  background: #F1F7F8;
  text-decoration: none !important;
}

.page-nav a:focus,
.page-nav a:active,
.page-nav a:visited {
  text-decoration: none !important;
}

.page-nav .nav-next {
  margin-left: auto;
}

.page-nav .nav-next.is-locked,
.page-nav .nav-next.is-locked:hover,
.page-nav .nav-next.is-locked:focus,
.page-nav .nav-next.is-locked:active,
.page-nav .nav-next.is-locked:visited {
  background: #eef2f3 !important;
  border-color: #d2d9dc !important;
  color: #93a1a8 !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 1;
}

#backToTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  border: 1px solid #9FBFC4;
  background: #fff;
  color: #1F6F78;
  border-radius: 0;
  padding: 8px 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: none;
  font-weight: 700;
}

html.jw-dark-mode #backToTop {
  background: var(--button);
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow);
}

html.jw-dark-mode #backToTop:hover {
  background: var(--button-hover);
}

#backToTop.show {
  display: inline-flex;
}

#floatingPlayerControls {
  position: fixed;
  right: 16px;
  bottom: 62px;
  z-index: 31;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: fit-content;
  max-width: 92vw;
}

#floatingPlayerControls.show {
  display: flex;
}

body.jw-floating-player-controls-visible {
  padding-bottom: 132px;
}

#floatingPlayerControls .yt-mini-btn {
  border: 1px solid #9FBFC4;
  background: #fff;
  color: #1F6F78;
  border-radius: 6px;
  padding: 6px 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

#floatingPlayerControls .yt-mini-btn:hover {
  background: #F3F8F8;
}

#floatingPlayerControls .yt-mini-playpause {
  min-width: 3.8em;
  text-align: center;
}

#floatingPlayerControls .yt-mini-row {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

#floatingPlayerControls .yt-mini-time {
  display: block;
  width: 100%;
  text-align: right;
  font-weight: 700;
  color: #1F6F78;
}

.media-embed {
  position: relative;
  width: 100%;
  height: 0;
  margin: 8px 0 14px;
  overflow: hidden;
}

.media-embed-16x9 {
  padding-bottom: 56.25%;
}

.media-embed-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 720px) {
  header,
  footer,
  .site-header,
  .site-footer,
  .jw-header,
  nav.jw-nav,
  .jw-top-bar,
  .jw-mobile-menu,
  .jw-mobile-header,
  .jw-mobile-toggle,
  .jw-mobile-menu__button {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.jw-is-frontend,
  html body.jw-is-frontend .jw-body,
  html body.jw-is-frontend main,
  html body.jw-is-frontend .main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .toolbar {
    margin-top: 10px;
    min-height: 46px;
  }

  .toolbar input[type="search"] {
    width: 100%;
    min-width: 130px;
  }

  .toolbar-row {
    flex-wrap: nowrap;
    gap: 6px;
  }

  #previewPanelSelect {
    display: none;
  }

  #languageFlagIndicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .toolbar .status,
  .toolbar.is-expanded .status {
    display: none;
  }

  .doc-crumbbar {
    min-height: 34px;
    padding: 5px 6px;
  }

  .crumb-page-select {
    max-width: none;
  }

  .crumb-group-panel {
    min-width: 210px;
    max-width: min(92vw, 360px);
  }

  .crumb-page-panel {
    min-width: 210px;
    max-width: min(92vw, 360px);
  }

  .crumb-submenu {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    max-height: none;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  .crumb-group-item:hover > .crumb-submenu,
  .crumb-group-item:focus-within > .crumb-submenu {
    display: none;
  }

  .crumb-group-item.is-submenu-open > .crumb-submenu {
    display: block;
  }

  .crumb-group-arrow {
    transform: rotate(0deg);
  }

  .crumb-group-item:hover > .crumb-group-row .crumb-group-arrow,
  .crumb-group-item:focus-within > .crumb-group-row .crumb-group-arrow {
    transform: rotate(0deg);
  }

  .crumb-group-item.is-submenu-open > .crumb-group-row .crumb-group-arrow {
    transform: rotate(90deg);
  }

  .doc-crumbbar .crumb-sub,
  .doc-crumbbar .crumb-chapter-sub .crumb-sep {
    display: none;
  }

  .doc-prev-next-list {
    flex-direction: column;
  }

  .doc-next-item {
    margin-left: 0;
    text-align: left;
  }

  #floatingPlayerControls {
    right: 12px;
    bottom: 58px;
    max-width: calc(100vw - 24px);
  }

  #backToTop {
    right: 12px;
  }

  .verse-preview-panels.panel-mode-all {
    grid-template-columns: 1fr;
  }

  .verse-preview-text-columns {
    grid-template-columns: 1fr;
  }

  .verse-preview-picker-overlay {
    inset: 0;
    padding: 0;
  }

  .verse-preview-picker-layout {
    display: block;
  }

  .verse-preview-book-pane {
    border-right: 0;
    border-bottom: 0;
    max-height: none;
  }

  .verse-preview-inline-chapters {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  }

}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.toolbar,
.doc-crumbbar,
.toolbar button,
.toolbar input,
.toc,
.collapsible,
.content-card,
.sub-collapsible+.content,
mark {
  border-radius: 0 !important;
}

/* Keep existing link colors, but restore normal URL underline behavior */
html body a,
html body .jw-document a,
html body .jw-html-wrapper .main a,
html body .jw-html-wrapper .jw-document a {
  text-decoration: underline !important;
}

html body a:hover,
html body .jw-document a:hover,
html body .jw-html-wrapper .main a:hover,
html body .jw-html-wrapper .jw-document a:hover {
  text-decoration: underline !important;
}

/* Keep page-nav buttons clean and readable despite global link underline rules */
html body .page-nav a,
html body .page-nav a:hover,
html body .page-nav a:focus,
html body .page-nav a:active,
html body .page-nav a:visited,
html body .jw-document .page-nav a,
html body .jw-document .page-nav a:hover,
html body .jw-html-wrapper .main .page-nav a,
html body .jw-html-wrapper .main .page-nav a:hover,
html body .jw-html-wrapper .jw-document .page-nav a,
html body .jw-html-wrapper .jw-document .page-nav a:hover {
  text-decoration: none !important;
  font-size: 13.8px !important;
  font-weight: 700 !important;
}

/* Keep hero/action buttons clean and never underlined despite global link rules */
html body .btn,
html body .btn:hover,
html body .btn:focus,
html body .btn:active,
html body .btn:visited,
html body .btn-secondary,
html body .btn-secondary:hover,
html body .btn-secondary:focus,
html body .btn-secondary:active,
html body .btn-secondary:visited,
html body .home-page .btn,
html body .home-page .btn:hover,
html body .home-page .btn.btn-secondary,
html body .home-page .btn.btn-secondary:hover {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* Breadcrumb links/select should never be underlined */
html body .doc-crumbbar a,
html body .doc-crumbbar a:hover,
html body .doc-crumbbar a:focus,
html body .doc-crumbbar .crumb-link,
html body .doc-crumbbar .crumb-link:hover {
  text-decoration: none !important;
}

/* Force breadcrumb select sizing even if theme/css sets a fixed width */
html body .doc-crumbbar .crumb-page-select {
  width: auto !important;
  min-width: 1ch !important;
  max-width: none !important;
  inline-size: auto !important;
  flex-basis: auto !important;
}

html body .doc-crumbbar .crumb-group-select {
  field-sizing: content;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  inline-size: auto !important;
  flex: 0 0 auto !important;
  text-decoration: none !important;
}

/* Extra hard override specifically for submenu links */
html body .doc-crumbbar .crumb-submenu-link,
html body .doc-crumbbar .crumb-submenu-link:hover,
html body .doc-crumbbar .crumb-submenu-link:focus,
html body .doc-crumbbar .crumb-submenu-link:focus-visible,
html body .doc-crumbbar .crumb-group-link,
html body .doc-crumbbar .crumb-group-link:hover,
html body .doc-crumbbar .crumb-group-link:focus,
html body .doc-crumbbar .crumb-group-link:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* Absolute fallback for any anchor inside breadcrumb dropdown panels */
html body .doc-crumbbar .crumb-group-panel a,
html body .doc-crumbbar .crumb-group-panel a:hover,
html body .doc-crumbbar .crumb-group-panel a:focus,
html body .doc-crumbbar .crumb-group-panel a:focus-visible,
html body .doc-crumbbar .crumb-group-panel a:active,
html body .doc-crumbbar .crumb-group-panel a:visited,
html body .doc-crumbbar .crumb-page-panel a,
html body .doc-crumbbar .crumb-page-panel a:hover,
html body .doc-crumbbar .crumb-page-panel a:focus,
html body .doc-crumbbar .crumb-page-panel a:focus-visible,
html body .doc-crumbbar .crumb-page-panel a:active,
html body .doc-crumbbar .crumb-page-panel a:visited {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* Page select should auto-size to selected option text */
html body .doc-crumbbar #pageSelect.crumb-page-select {
  field-sizing: content;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  inline-size: auto !important;
  flex: 0 0 auto !important;
  text-decoration: none !important;
}

/* Hard override: no vertical gap between toolbar and breadcrumb */
html body #toolbarRegion,
html body .toolbar,
html body .jw-html-wrapper .main .toolbar,
html body .jw-html-wrapper .jw-document .toolbar {
  margin-bottom: 0 !important;
}

html body .doc-crumbbar {
  margin-top: 0 !important;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.typography-settings {
  position: relative;
  flex: 0 0 auto;
}

.typography-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 13040;
  background: transparent;
  cursor: default;
}

.typography-settings-backdrop[hidden] {
  display: none !important;
}

#typographySettingsBtn.typography-settings-btn {
  min-width: var(--ui-control-height);
  width: var(--ui-control-height);
  height: var(--ui-control-height);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

#typographySettingsBtn .settings-fallback-icon {
  display: inline-block;
  line-height: 1;
  font-size: 16px;
}

#typographySettingsBtn .settings-png-icon {
  width: var(--ui-toolbar-icon-size);
  height: var(--ui-toolbar-icon-size);
  display: block;
  object-fit: contain;
}

.typography-quick-actions .settings-png-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

#typographySettingsWrap.is-open #typographySettingsBtn.typography-settings-btn {
  border-color: var(--jw-presentation-accent, var(--accent));
  background: color-mix(in srgb, var(--jw-presentation-accent, var(--accent)) 14%, white);
}

.typography-quick-actions {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 8px;
}

.typography-settings-panel.typography-settings-panel--compact .typography-quick-actions {
  display: none !important;
}

.typography-quick-actions button {
  flex: 0 0 auto;
  width: var(--ui-control-height);
  height: var(--ui-control-height);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #BFD7DA;
  background: #fff;
  color: #1F6F78;
  font: inherit;
  font-size: var(--ui-font-size);
  font-weight: 700;
  cursor: pointer;
}

.typography-quick-actions button:disabled {
  background: #eef2f3;
  border-color: #d2d9dc;
  color: #93a1a8;
  cursor: not-allowed;
  opacity: 1;
}

.typography-quick-actions button:disabled .settings-png-icon {
  filter: grayscale(1) opacity(0.55);
}

.typography-quick-actions #settingsPresentationBtn.is-active {
  border-color: var(--jw-presentation-accent, var(--accent));
  background: color-mix(in srgb, var(--jw-presentation-accent, var(--accent)) 14%, white);
}

.typography-settings-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(92vw, 320px);
  max-height: min(76vh, 560px);
  overflow: auto;
  border: 1px solid #BFD7DA;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 95;
  font-size: var(--ui-font-size);
}

.typography-settings-head {
  margin: 0 0 8px;
  color: #1F6F78;
}

.typography-field {
  display: block;
  margin: 0 0 8px;
}

.typography-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 4px;
  color: #2E4A57;
  font-size: var(--ui-font-size);
}

.typography-field select,
.typography-field input[type="range"] {
  width: 100%;
}

.typography-edit-mode-row {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #dbe8ea;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2e4a57;
}

.typography-edit-mode-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.jw-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 13100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overscroll-behavior: contain;
}

.jw-edit-modal[hidden] {
  display: none !important;
}

html.jw-edit-modal-open,
body.jw-edit-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.jw-edit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.jw-edit-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 95vw);
  max-height: 88vh;
  background: #fff;
  border: 1px solid #bfd7da;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.jw-edit-modal-title {
  margin: 0;
  color: #1f6f78;
}

.jw-edit-modal-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #5a6a73;
  word-break: break-all;
}

.jw-edit-modal-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jw-edit-mode-btn,
.jw-edit-modal-cancel,
.jw-edit-modal-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.jw-edit-mode-btn {
  border: 1px solid rgba(20, 83, 45, 0.2);
  background: rgba(20, 83, 45, 0.08);
  color: #14532d;
}

.jw-edit-mode-btn:hover {
  background: rgba(20, 83, 45, 0.14);
  color: #14532d;
}

.jw-edit-mode-btn.is-active {
  background: rgba(20, 83, 45, 0.14);
  border-color: rgba(20, 83, 45, 0.2);
  color: #14532d;
}

.jw-edit-modal-textarea {
  width: 100%;
  min-height: 320px;
  flex: 1 1 auto;
  border: 1px solid #bfd7da;
  font: 14px/1.5 Consolas, "Courier New", monospace;
  padding: 10px;
  resize: vertical;
  overflow: auto;
  overscroll-behavior: contain;
}

.jw-edit-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.jw-edit-modal-cancel,
.jw-edit-modal-save {
  border: 1px solid rgba(20, 83, 45, 0.2);
  background: rgba(20, 83, 45, 0.08);
  color: #14532d;
}

.jw-edit-modal-cancel:hover,
.jw-edit-modal-save:hover {
  background: rgba(20, 83, 45, 0.14);
  color: #14532d;
}

.typography-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
}

.typography-field input[type="range"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.typography-field input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--button-hover);
  border: 0 !important;
  box-shadow: none !important;
}

.typography-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: -6px;
  background: var(--accent);
  border: 0 !important;
  box-shadow: none !important;
}

.typography-field input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--button-hover);
  border: 0 !important;
  box-shadow: none !important;
}

.typography-field input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--button-hover);
  border: 0 !important;
  box-shadow: none !important;
}

.typography-field input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 0 !important;
  box-shadow: none !important;
}

.typography-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.typography-actions button {
  height: var(--ui-control-height);
  padding: 0 10px;
  border: 1px solid #9FBFC4;
  background: #fff;
  color: #1F6F78;
  border-radius: 0;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13.8px;
  line-height: 1.25;
  box-shadow: none;
  transition: background 0.15s;
  cursor: pointer;
}

.typography-actions button:hover {
  background: #F1F7F8;
}

.typography-actions button:focus-visible {
  outline: 2px solid #1F6F78;
  outline-offset: 2px;
}

html.jw-presentation-active .main.jw-presentation-source-hidden {
  display: none !important;
}

#jwPresentationDeck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 48px;
  z-index: 10000;
  background: var(--jw-presentation-bg, #0E1A1F);
  user-select: none;
  -webkit-user-select: none;
}

/* ── Base slide (hidden) ─────────────────────────────── */
.jw-presentation-slide {
  display: none;
  overflow: hidden;
  background: var(--jw-presentation-surface, #ffffff);
  color: var(--text);
  font-size: calc(20px * var(--jw-present-scale, 1) * var(--font-scale-presentation, 1));
  line-height: 1.45;
}

/* Single-column active (chapter / transition): fills deck fully */
.jw-presentation-slide.is-active {
  display: flex;
  position: absolute;
  inset: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2vw, 34px);
}

/* Slide body fills remaining height and scrolls when needed */
.jw-presentation-slide-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* ── Two-column split slide ───────────────────────────── */
.jw-presentation-slide--split.is-active {
  display: grid !important;
  position: absolute !important;
  inset: 0 !important;
  grid-template-columns: 38% 1fr;
  padding: 0 !important;
}

/* Left brand panel */
.jw-slide-brand {
  background: #1F6F78;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 50px) clamp(18px, 2.5vw, 40px);
  gap: 0.55em;
  overflow: hidden;
}

.jw-slide-brand-title {
  display: block;
  font-size: clamp(1.6em, 3vw, 3.4em);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.jw-slide-brand-subtitle {
  margin: 0;
  font-size: clamp(0.82em, 1.3vw, 1.2em);
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

/* Right content panel */
.jw-slide-content {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 40px) clamp(20px, 2.5vw, 40px);
  overflow: hidden;
  min-height: 0;
}

.jw-slide-content .jw-presentation-slide-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.jw-slide-content .jw-presentation-slide-title {
  font-size: clamp(1.3em, 2.1vw, 2.4em);
  margin-bottom: 0.65em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid rgba(31, 111, 120, 0.18);
}

/* ── Chapter / intro slide: full teal ─────────────────── */
.jw-presentation-slide--chapter.is-active {
  background: #1F6F78 !important;
}

.jw-presentation-slide--front.is-active {
  background: #1F6F78 !important;
}

.jw-presentation-slide--chapter .jw-presentation-slide-title {
  color: #fff;
  font-size: clamp(2em, 3.4vw, 3.4em);
  margin-bottom: 0.35em;
}

.jw-presentation-slide--front .jw-presentation-slide-title {
  display: none;
}

.jw-presentation-slide-lead,
.jw-presentation-slide-lead p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2em;
  line-height: 1.4;
}

.jw-presentation-slide--front .jw-presentation-slide-body,
.jw-presentation-slide--front .jw-presentation-slide-body p,
.jw-presentation-slide--front .jw-presentation-slide-body li,
.jw-presentation-slide--front .jw-presentation-slide-body blockquote,
.jw-presentation-slide--front .jw-presentation-slide-body h1,
.jw-presentation-slide--front .jw-presentation-slide-body h2,
.jw-presentation-slide--front .jw-presentation-slide-body h3,
.jw-presentation-slide--front .jw-presentation-slide-body .hero-kicker,
.jw-presentation-slide--front .jw-presentation-slide-body .subtitle {
  color: rgba(255, 255, 255, 0.96);
}

.jw-presentation-slide--front .jw-presentation-slide-body h1,
.jw-presentation-slide--front .jw-presentation-slide-body h2,
.jw-presentation-slide--front .jw-presentation-slide-body h3 {
  font-size: clamp(2.1em, 4vw, 3.6em);
  line-height: 1.08;
  margin: 0 0 0.3em;
  font-weight: 700;
}

.jw-presentation-slide--front .jw-presentation-slide-body .hero-kicker,
.jw-presentation-slide--front .jw-presentation-slide-body .subtitle {
  font-size: 1.2em;
  line-height: 1.4;
  margin: 0 0 0.45em;
}

/* ── Transition slide ─────────────────────────────────── */
.jw-presentation-slide--transition.is-active {
  background: var(--jw-presentation-surface, #ffffff);
}

.jw-presentation-slide--transition .jw-presentation-slide-title {
  font-size: clamp(2em, 3.4vw, 3.2em);
  margin-bottom: 0.35em;
}

.jw-presentation-slide-transition {
  font-size: 1.2em;
  line-height: 1.4;
  color: #2E4A57;
  border-left: 4px solid var(--jw-presentation-accent, var(--accent));
  padding-left: 0.75em;
}

/* ── Slide title (default, single-col) ────────────────── */
.jw-presentation-slide-title {
  margin: 0 0 0.6em;
  line-height: 1.2;
  color: #1F6F78;
  font-size: clamp(1.7em, 2.6vw, 2.6em);
}

/* ── Mobile: collapse to single column ────────────────── */
@media (max-width: 600px) {
  .jw-presentation-slide--split.is-active {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr;
  }

  .jw-slide-brand {
    justify-content: flex-start;
    padding: 12px 16px 10px;
  }

  .jw-slide-brand-title {
    font-size: 1.3em;
  }

  .jw-slide-brand-subtitle {
    font-size: 0.85em;
  }

  .jw-slide-content {
    padding: 14px 16px;
  }
}

.jw-presentation-slide-body .content,
.jw-presentation-slide-body .content.show {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  max-height: none !important;
}

main button.ws-session-virtual-slide,
main .content.ws-session-virtual-content {
  display: none !important;
  visibility: hidden !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Scale up body text in regular slides to match Strong's readability */
.jw-presentation-slide-body p,
.jw-presentation-slide-body li,
.jw-presentation-slide-body blockquote {
  font-size: 1.22em;
  line-height: 1.5;
}

/* Sub-step reveal: hidden until clicked */
.jw-substep-hidden {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.jw-presentation-slide-body .jw-presentation-subsection-body p,
.jw-presentation-slide-body .jw-presentation-subsection-body li {
  font-size: 1em;
}

.jw-presentation-slide-body .collapsible {
  display: none !important;
}

/* Feedback actions should never be visible in slideshow mode. */
html.jw-presentation-active #jwPresentationDeck .feedback-action-group,
html.jw-presentation-active #jwPresentationDeck .key-texts-action-slot,
html.jw-presentation-active #jwPresentationDeck .key-texts-action-row {
  display: none !important;
}

/* Keep this section's helper/action block out of slideshow mode. */
html.jw-presentation-active #jwPresentationDeck #section-lezen-we-alles-op-dezelfde-manier > div {
  display: none !important;
}

.jw-presentation-subsection {
  margin: 0.9em 0 0;
  padding-top: 0.6em;
  border-top: 1px dashed color-mix(in srgb, var(--jw-presentation-accent, var(--accent)), white 55%);
}

.jw-presentation-subsection-title {
  margin: 0 0 0.4em;
  color: #2E4A57;
  font-size: 1.08em;
  line-height: 1.25;
}

.jw-presentation-subsection-body {
  margin: 0;
}

/* ── Transition slide next-page button ────────────────── */
.jw-presentation-next-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 1.5em;
  padding: 0.5em 1.4em;
  background: #1F6F78;
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.jw-presentation-next-page-btn:hover {
  background: #185A61;
}

/* ── Verse detail slide ───────────────────────────────── */
/* Same scale approach as Strong's: --verse-scale: 1.5 */
.jw-detail-verse {
  --verse-scale: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 72vh;
  overflow: auto;
  padding-right: 0.2em;
}

.jw-verse-line {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  padding: 0.5em 0;
  border-bottom: 1px solid color-mix(in srgb, #BFD7DA, transparent 40%);
}

.jw-verse-line--context {
  opacity: 0.7;
}

.jw-verse-line--focus {
  background: color-mix(in srgb, #1F6F78, white 88%);
  border-left: 4px solid #1F6F78;
  padding-left: 0.6em;
  margin-left: -0.6em;
  opacity: 1;
}

.jw-verse-line:last-child {
  border-bottom: 0;
}

.jw-verse-num {
  flex: 0 0 auto;
  min-width: 2em;
  font-size: calc(0.82rem * var(--verse-scale));
  font-weight: 700;
  color: #1F6F78;
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}

.jw-verse-text {
  flex: 1;
  font-size: calc(0.95rem * var(--verse-scale));
  line-height: 1.6;
  color: var(--text, #2E4A57);
}

/* ── Strong's detail slide ────────────────────────────── */
/* Scale up the existing strong-* classes for presentation */
.jw-detail-strong {
  --strongs-effective-scale: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.jw-detail-strong .strong-lemma {
  font-size: calc(1.5rem * var(--strongs-effective-scale, 1.5));
  margin-bottom: 0.1em;
}

.jw-detail-strong .strong-transliteration {
  font-size: calc(1rem * var(--strongs-effective-scale, 1.5));
  margin-bottom: 0.2em;
}

.jw-detail-strong .strong-title {
  font-size: calc(1.1rem * var(--strongs-effective-scale, 1.5));
  border-bottom: 1px solid #BFD7DA;
  padding-bottom: 0.4em;
  margin-bottom: 0.2em;
}

.jw-detail-strong .strong-definition,
.jw-detail-strong .strong-notes,
.jw-detail-strong .strong-references {
  margin-top: 0.5em;
}

.jw-detail-strong .strong-definition h4,
.jw-detail-strong .strong-notes h4,
.jw-detail-strong .strong-references h4 {
  font-size: calc(0.82rem * var(--strongs-effective-scale, 1.5));
  color: #1F6F78;
  margin: 0 0 0.3em;
}

.jw-detail-strong .strong-definition p,
.jw-detail-strong .strong-notes p,
.jw-detail-strong .strong-references p {
  font-size: calc(0.9rem * var(--strongs-effective-scale, 1.5));
  line-height: 1.5;
  margin: 0;
}

.jw-detail-empty {
  color: var(--muted, #7a9198);
  font-style: italic;
  margin: 0;
}

html.jw-presentation-active,
html.jw-presentation-active body {
  overflow: hidden !important;
  background: var(--jw-presentation-bg, #0E1A1F) !important;
}

html.jw-presentation-active body {
  padding: 0 !important;
  margin: 0 !important;
}

html.jw-presentation-active #toolbarRegion,
html.jw-presentation-active #documentBreadcrumb,
html.jw-presentation-active #backToTop,
html.jw-presentation-active #floatingPlayerControls {
  display: none !important;
}

html.jw-presentation-active .main {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  width: min(
    calc((100vh - (var(--jw-presentation-safe, 4vh) * 2)) * 16 / 9),
    calc(100vw - (var(--jw-presentation-safe, 4vh) * 2))
  ) !important;
  height: min(
    calc((100vw - (var(--jw-presentation-safe, 4vh) * 2)) * 9 / 16),
    calc(100vh - (var(--jw-presentation-safe, 4vh) * 2))
  ) !important;
  max-width: none !important;
  max-height: none !important;
  overflow: auto !important;
  background: var(--jw-presentation-surface, var(--surface)) !important;
  color: var(--text) !important;
  padding: clamp(18px, 2vw, 36px) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.36) !important;
  border: 1px solid color-mix(in srgb, var(--jw-presentation-accent, var(--accent)), white 56%) !important;
  font-size: calc(16px * var(--jw-present-scale, 1) * var(--font-scale-presentation, 1));
  line-height: 1.45;
}

html.jw-presentation-active .main > * {
  max-width: var(--jw-presentation-max-text-width, 58ch);
  margin-left: auto;
  margin-right: auto;
}

html.jw-presentation-active .main .content,
html.jw-presentation-active .main .content.show {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}

html.jw-presentation-active .main .collapsible {
  font-size: 1.15em !important;
  line-height: 1.3 !important;
}

html.jw-presentation-active .main h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 0.45em !important;
}

html.jw-presentation-active .main h2,
html.jw-presentation-active .main h3 {
  line-height: 1.2 !important;
}

html.jw-presentation-active .main p,
html.jw-presentation-active .main li {
  font-size: 1.22em;
  line-height: 1.44;
}

html.jw-presentation-active .jw-presentation-step-hidden {
  display: none !important;
}

/* ── Presentation nav bar ─────────────────────────────
   Fixed bottom bar that reserves its own space so the
   slide never overlaps the controls.
   ──────────────────────────────────────────────────── */
#jwPresentationHud {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20000;
  pointer-events: none;
  background: transparent;
}

.jw-hud-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.jw-hud-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #1F6F78;
  transition: width 180ms ease;
}

.jw-hud-nav {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 2.4vw;
  background: rgba(14, 26, 31, 0.94);
  pointer-events: auto;
  gap: 4px;
}

/* All three nav buttons (◀  ▶  ✕) look the same */
.jw-hud-btn {
  width: 40px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.jw-hud-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.jw-hud-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.jw-hud-btn[hidden] {
  display: none;
}

/* Exit button pushed to the right */
.jw-hud-btn--exit {
  margin-left: auto;
}

/* Counter fills the centre */
.jw-hud-counter {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
}

.jw-hud-counter[hidden] {
  display: none;
}

.jw-hud-detail-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.jw-hud-btn--text {
  width: auto;
  min-width: 44px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.jw-hud-detail-actions[hidden] {
  display: none;
}

/* ── Deck bottom padding so the slide never sits behind
   the nav bar (44px nav + 3px progress = 47px)        */
#jwPresentationDeck {
  padding-bottom: calc(clamp(12px, 2vw, 28px) + 48px);
}

@media (max-width: 900px) {
  html.jw-presentation-active .main {
    width: calc(100vw - (var(--jw-presentation-safe, 4vh) * 2)) !important;
    height: calc(100vh - (var(--jw-presentation-safe, 4vh) * 2)) !important;
  }
}

/* ═══════════════════════════════════════════
   Wandelspoor Session Engine — follow bar
   Subtiele balk boven aan de pagina tijdens
   een actieve sessie.
   ═══════════════════════════════════════════ */

.ws-follow-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #1F6F78;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease;
}

.ws-follow-bar--following {
  background: #185A61;
}

.ws-follow-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  max-width: 960px;
  margin: 0 auto;
}

.ws-follow-bar-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.ws-follow-bar-label {
  flex: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-follow-bar-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.ws-follow-btn {
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.ws-follow-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ws-follow-btn--follow {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Compenseer de vaste balk bovenaan */
body:has(.ws-follow-bar:not([hidden])) {
  --ws-page-top-offset: 44px;
  padding-top: 44px;
}

/* De follow-balk blijft zichtbaar zodat deelnemers tijdens en na de presentatie weer kunnen volgen. */

/* ── Presenter-balk (bovenaan) ───────────────────────── */
.ws-presenter-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9100;
  background: #14532d;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
}

.ws-presenter-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  max-width: 960px;
  margin: 0 auto;
}

.ws-presenter-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.ws-presenter-label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.ws-pres-session {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-right: auto;
}

.ws-pres-btn {
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.ws-pres-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.ws-pres-btn--publish {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
}

.ws-pres-btn--publish:hover {
  background: rgba(255, 255, 255, 0.3);
}

.ws-pres-btn--stop {
  border-color: rgba(255, 255, 255, 0.5);
}

.ws-pres-btn--stop:hover {
  background: rgba(220, 80, 80, 0.28);
  color: #fff;
}

.ws-pres-status {
  font-size: 0.75rem;
  min-width: 80px;
  color: rgba(255, 255, 255, 0.55);
}

.ws-pres-status--ok { color: #86efac; }
.ws-pres-status--err { color: #f87171; }

.ws-presenter-paragraph-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 9055;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(20, 83, 45, 0.2);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(2px);
  max-height: min(34vh, 260px);
}

.ws-pres-paragraph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(20, 83, 45, 0.12);
}

.ws-pres-paragraph-head-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ws-pres-paragraph-title {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #14532d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-pres-btn--paragraph {
  color: #14532d;
  background: rgba(20, 83, 45, 0.08);
  border-color: rgba(20, 83, 45, 0.2);
}

.ws-pres-btn--paragraph:hover {
  background: rgba(20, 83, 45, 0.14);
  color: #14532d;
}

.ws-pres-btn--paragraph:disabled {
  opacity: 0.45;
  cursor: default;
}

.ws-pres-btn--edit {
  width: var(--ui-control-height, 36px);
  min-width: var(--ui-control-height, 36px);
  height: var(--ui-control-height, 36px);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
}

.ws-pres-btn--edit .ws-pres-png-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.ws-pres-btn--edit:disabled .ws-pres-png-icon {
  filter: grayscale(1) opacity(0.55);
}

.ws-pres-paragraph-counter {
  text-align: right;
  color: #14532d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ws-pres-paragraph-notes {
  overflow-y: scroll;
  overflow-x: hidden;
  min-height: 2.8em;
  scrollbar-gutter: stable;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #0b1320;
  white-space: pre-line;
}

.ws-pres-paragraph-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ws-pres-paragraph-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body:has(.ws-presenter-bar:not([hidden])) .ws-presenter-active-paragraph,
body:has(.ws-presenter-bar:not([hidden])) [data-ws-presenter-active="1"] {
  position: relative;
  z-index: 1;
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(159, 216, 177, 0.95), inset 0 0 0 1px rgba(24, 90, 97, 0.28);
  background: rgba(159, 216, 177, 0.12);
  border-radius: 0;
}

body:has(.ws-presenter-bar:not([hidden])) .presentation-paragraph {
  padding: 0.25rem 0.45rem;
  box-sizing: border-box;
}

.ws-presenter-notes-panel.is-empty .ws-presenter-notes-body {
  color: #4b5563;
  font-style: italic;
}

body:has(.ws-presenter-bar:not([hidden])) {
  --ws-page-top-offset: 44px;
  padding-top: 44px;
  padding-bottom: var(--ws-presenter-dock-offset, 96px);
}

body:has(.ws-follow-bar:not([hidden])):has(.ws-presenter-bar:not([hidden])) {
  --ws-page-top-offset: 88px;
  padding-top: 88px;
}

@media (max-width: 480px) {
  .ws-follow-bar-label {
    display: none;
  }

  .ws-presenter-paragraph-dock {
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-height: min(38vh, 300px);
  }

  .ws-pres-paragraph-counter {
    min-width: 0;
    flex: 1;
  }

  .ws-pres-paragraph-head {
    align-items: flex-start;
    flex-direction: row;
  }

  .ws-pres-paragraph-title {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ws-pres-paragraph-head-end {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .ws-pres-btn--edit {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }

  .ws-pres-paragraph-actions {
    justify-content: stretch;
  }

  .ws-pres-btn--paragraph {
    flex: 1;
  }

  .ws-presenter-label,
  .ws-pres-status {
    display: none;
  }
}

/* Hard mobile alignment guard for presenter notes header */
@media (max-width: 480px) {
  body:has(.ws-presenter-bar:not([hidden])) .ws-presenter-paragraph-dock .ws-pres-paragraph-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    column-gap: 8px !important;
  }

  body:has(.ws-presenter-bar:not([hidden])) .ws-presenter-paragraph-dock .ws-pres-paragraph-title {
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:has(.ws-presenter-bar:not([hidden])) .ws-presenter-paragraph-dock .ws-pres-paragraph-head-end {
    margin-left: 0 !important;
    justify-self: end !important;
    align-self: start !important;
  }
}


@media print {

  * {
    position: static !important;
    float: none !important;
    transition: none !important;
    animation: none !important;
  }

  header,
  footer,
  .site-header,
  .site-footer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  @page {
    margin: 20mm 18mm;
  }

  .toolbar,
  #toolbarRegion,
  .doc-crumbbar,
  #documentBreadcrumb,
  .doc-prev-next-nav,
  .page-nav,
  .page-nav a,
  .nav-prev,
  .nav-next,
  .toc,
  #backToTop,
  #floatingPlayerControls,
  iframe,
  #sermonPlayer,
  #sermonPlayerPlaceholder,
  .jw-pip-wrapper,
  .jw-pip-close,
  #typographySettingsWrap,
  #typographySettingsPanel,
  #typographySettingsBackdrop,
  #jwRouteLockPasswordPrompt,
  [href="#main-content"],
  [href="#jw-main-content"],
  .jw-skip-link,
  .skip-link,
  .skip-to-content {
    display: none !important;
  }

  .media-embed {
    display: none !important;
  }

  [style*="padding-bottom: 56.25%"],
  [style*="padding-bottom:56.25%"] {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
  }

  .content-card {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 6pt 0 !important;
    background: transparent !important;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11pt;
    line-height: 1.45;
  }

  /* Collapsible buttons als koptekst tonen – geen aparte print-title nodig */
  button.collapsible {
    display: block !important;
    width: 100% !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    padding: 2pt 0 4pt 0 !important;
    margin: 12pt 0 4pt 0 !important;
    text-align: left !important;
    font-size: 14pt !important;
    font-weight: 700 !important;
    color: #000 !important;
    pointer-events: none !important;
    break-after: avoid-page !important;
    page-break-after: avoid !important;
  }

  button.collapsible.sub-collapsible {
    font-size: 12pt !important;
    font-weight: 600 !important;
    border-bottom: 1px dashed #bbb !important;
    margin: 8pt 0 3pt 8mm !important;
    padding-left: 0 !important;
  }

  button.collapsible::after,
  button.collapsible.sub-collapsible::after {
    display: none !important;
  }

  /* h2/h3.print-title zijn overbodig nu buttons als koppen verschijnen */
  h2.print-title,
  h3.print-title {
    display: none !important;
  }

  .content {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: none !important;
    margin-left: 6mm !important;
    padding-left: 4mm !important;
    border-left: 1px solid #bbb !important;
  }

  .content .content {
    margin-left: 6mm !important;
    padding-left: 4mm !important;
    border-left: 1px dashed #999 !important;
  }

  .content .content .content {
    margin-left: 5mm !important;
    padding-left: 3.5mm !important;
    border-left: 1px dotted #999 !important;
  }

  h4.subchapter-title {
    font-size: 11pt;
    margin: 8pt 0 4pt 0;
    border-left: 1px solid #999;
    padding-left: 4mm;
    font-weight: 600;
  }

  p {
    orphans: 3;
    widows: 3;
  }

  ul {
    margin: 0 0 6pt 1.6em;
    padding: 0;
  }

  li {
    margin: 0 0 1pt;
  }

  .content p+ul {
    margin-top: -4pt;
  }

  .content ul+p {
    margin-top: 4pt;
  }

  .collapsible.sub-collapsible+.content {
    margin-left: 4mm !important;
    padding-left: 4mm !important;
    border-left: 1px dashed #999 !important;
  }

  .collapsible+.content {
    margin-left: 6mm !important;
    padding-left: 4mm !important;
    border-left: 1px solid #bbb !important;
  }

  a {
    color: black !important;
    text-decoration: none !important;
  }

}

/* ═══════════════════════════════════════════
   Home page styles  (.main.home-page)
   De class zit op de .main wrapper in de embedded HTML,
   niet op <body> – JouwWeb beheert de body tag zelf.
   ═══════════════════════════════════════════ */

/* Keep line length readable when the home wrapper also receives jw-document styles. */
.main.home-page,
.main.home-page.jw-document,
.jw-document.home-page {
  max-width: 860px !important;
  line-height: 1.62 !important;
  font-size: 1rem !important;
}

/* ── Site-logo hero title ── */
.home-page .hero h1.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(3rem, 7.5vw, 6.4rem) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #185A61 !important;
  margin: 0 0 0.55rem !important;
  user-select: none;
}

.home-page .hero h1.site-logo .logo-word {
  display: inline-block;
  font-size: inherit;
  line-height: 1;
}

.home-page .hero h1.site-logo .logo-ref {
  display: inline-block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(0.55rem, 1.2vw, 0.85rem) !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 clamp(0.35rem, 1vw, 0.65rem);
  line-height: 1;
  white-space: nowrap;
}

/* ── Hero ── */
.home-page .hero {
  text-align: left;
  padding: 1.35rem 1.35rem 1.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  margin-bottom: 1.6rem;
  box-shadow: none;
}

.home-page .hero .hero-kicker {
  margin: 0 0 0.45rem !important;
  color: var(--muted) !important;
  font-size: 1rem !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600 !important;
}

.home-page .hero h1 {
  font-size: 2em !important;
  color: #185A61 !important;
  margin: 0 0 0.55rem !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

.home-page .hero .subtitle {
  display: block !important;
  max-width: 690px;
  margin: 2px 0 0.8rem !important;
  color: var(--muted) !important;
  font-size: 0.85em !important;
  font-weight: 400 !important;
  line-height: 1.45;
  letter-spacing: 0;
}

.home-page .hero .hero-note {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 1em !important;
}

/* ── Hero buttons ── */
.home-page .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

.home-page .btn {
  display: inline-block;
  padding: 0.48rem 0.95rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 0;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  border: 1px solid var(--accent);
  transition: background 0.15s ease;
}

.home-page .btn:hover {
  background: var(--accent-hover);
  text-decoration: none !important;
}

.home-page .btn.btn-secondary {
  background: #ffffff;
  color: var(--accent) !important;
}

.home-page .btn.btn-secondary:hover {
  background: #F3F8F8;
}

.home-page .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  text-decoration: none !important;
}

/* ── Sectie-opmaak ── */
.home-page section {
  margin-bottom: 1.45rem;
}

.home-page section > h2 {
  font-size: 1.5em !important;
  font-weight: 700 !important;
  color: #1F6F78 !important;
  margin: 0 0 0.5rem !important;
  padding-bottom: 0.36rem;
  border-bottom: 1px solid var(--line);
}

/* ── Onderwerpkaarten ── */
.home-page .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.7rem;
  margin: 0;
}

.home-page .card {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  background: var(--surface);
  box-shadow: none;
}

.home-page .card h3 {
  margin: 0 !important;
  font-size: 1.17em !important;
  color: #185A61 !important;
  font-weight: 700 !important;
}

.home-page .card p {
  margin: 0 !important;
  font-size: 1em !important;
  color: var(--muted) !important;
  flex: 1;
  line-height: 1.55;
}

.home-page .card .link {
  font-size: 1rem;
  text-decoration: underline !important;
  font-weight: 600;
  color: var(--accent) !important;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.home-page .card .link:hover {
  text-decoration: underline !important;
  color: var(--accent-hover) !important;
}

.home-page .card .link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Gewone lijsten ── */
.home-page .plain-list {
  margin: 0 0 0 1.25rem !important;
  padding: 0;
  line-height: 1.75;
  font-size: 1em !important;
}

.home-page .plain-list li {
  font-size: 1em !important;
}

.home-page .plain-list a {
  color: var(--accent) !important;
  text-decoration: underline !important;
  font-weight: 500;
  font-size: 1em !important;
}

.home-page .plain-list a:hover {
  text-decoration: underline !important;
}

/* ── Broodtekstsecties ── */
.home-page section p {
  color: var(--text);
  line-height: 1.62;
  font-size: 1em !important;
}

/* ── Presentation intro slide ── */
html.jw-presentation-active .jw-presentation-slide--front {
  position: relative;
  background:
    radial-gradient(circle at 84% 14%, rgba(31, 111, 120, 0.14), transparent 34%),
    linear-gradient(180deg, #f6fbfb 0%, #ffffff 72%) !important;
}

html.jw-presentation-active .jw-presentation-slide--front::before {
  content: "";
  position: absolute;
  top: clamp(18px, 3vw, 30px);
  left: clamp(18px, 3vw, 30px);
  z-index: 2;
  width: clamp(72px, 8vw, 108px);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1F6F78, rgba(31, 111, 120, 0.16));
  box-shadow: 0 0 0 1px rgba(31, 111, 120, 0.1);
}

html.jw-presentation-active .jw-presentation-slide--front .jw-presentation-slide-body {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: clamp(34px, 5vw, 68px) clamp(24px, 4vw, 72px);
}

html.jw-presentation-active .jw-presentation-slide--front .jw-presentation-slide-body > section.hero,
html.jw-presentation-active .jw-presentation-slide--front .jw-presentation-slide-body > section.intro {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 30px) clamp(20px, 2.6vw, 36px);
  border-left: 6px solid #1F6F78;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(24, 90, 97, 0.12);
}

html.jw-presentation-active .jw-presentation-slide--front .hero,
html.jw-presentation-active .jw-presentation-slide--front .intro {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
  text-align: left;
}

html.jw-presentation-active .jw-presentation-slide--front .hero-kicker {
  margin: 0 !important;
  color: #1F6F78 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html.jw-presentation-active .jw-presentation-slide--front h1 {
  margin: 0 !important;
  color: #185A61 !important;
  font-size: clamp(3rem, 6vw, 5.5rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.03em !important;
  max-width: 10ch;
}

html.jw-presentation-active .jw-presentation-slide--front .subtitle {
  display: block !important;
  margin: 0 !important;
  max-width: 34ch;
  color: #2E4A57 !important;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem) !important;
  line-height: 1.35 !important;
}

html.jw-presentation-active .jw-presentation-slide--front p:not(.subtitle) {
  margin: 0 !important;
  max-width: 40ch;
  color: #23313A !important;
  font-size: clamp(1.02rem, 1.75vw, 1.24rem) !important;
  line-height: 1.55 !important;
}

html.jw-presentation-active .jw-presentation-slide--front strong {
  color: #185A61;
}

/* ── Responsief ── */
@media (max-width: 600px) {
  .home-page .hero {
    padding: 1.4rem 0.95rem 1.2rem;
  }
  .home-page .hero h1 {
    font-size: 2em !important;
  }
  .home-page .btn {
    width: auto;
    text-align: left;
  }
}

/* Final guard: anchor buttons should never be underlined. */
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:visited,
a.btn.btn-secondary,
a.btn.btn-secondary:hover,
a.btn.btn-secondary:focus,
a.btn.btn-secondary:active,
a.btn.btn-secondary:visited,
html body a.btn,
html body a.btn:hover,
html body a.btn:focus,
html body a.btn:active,
html body a.btn:visited,
html body a.btn.btn-secondary,
html body a.btn.btn-secondary:hover,
html body a.btn.btn-secondary:focus,
html body a.btn.btn-secondary:active,
html body a.btn.btn-secondary:visited,
html body .home-page a.btn,
html body .home-page a.btn:hover,
html body .home-page a.btn.btn-secondary,
html body .home-page a.btn.btn-secondary:hover {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.typography-quick-actions #settingsDarkModeBtn .dark-mode-icon {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
}

.typography-quick-actions #settingsDarkModeBtn.is-active {
  border-color: var(--jw-presentation-accent, var(--accent));
  background: color-mix(in srgb, var(--jw-presentation-accent, var(--accent)) 14%, white);
}

/* Wandelspoor dark mode */
html.jw-dark-mode {
  --bg: #222F29;
  --surface: #2A3A33;
  --surface-soft: #33463E;
  --text: #FAFAF8;
  --text-dark: #FAFAF8;
  --muted: #C6D7CD;
  --line: #627B6D;
  --border-accent: #6F8B7C;
  --accent: #8FD3A6;
  --accent-hover: #A9E0BC;
  --accent-soft: #2F4B3D;
  --bg-accent: #2F4B3D;
  --button: #355244;
  --button-hover: #416454;
  --button-active: #4D7664;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  background: var(--bg) !important;
}

html.jw-dark-mode body {
  background: var(--bg) !important;
  color: var(--text);
}

html.jw-dark-mode .page-shell,
html.jw-dark-mode .jw-html-wrapper,
html.jw-dark-mode .main,
html.jw-dark-mode .jw-document {
  background: var(--bg) !important;
  color: var(--text);
}

html.jw-dark-mode body .jw-html-wrapper .main,
html.jw-dark-mode body .jw-html-wrapper .jw-document,
html.jw-dark-mode body .jw-document {
  color: #F4FBFF !important;
}

html.jw-dark-mode #toolbarRegion,
html.jw-dark-mode .toolbar,
html.jw-dark-mode #documentBreadcrumb,
html.jw-dark-mode .doc-crumbbar {
  background: var(--surface) !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode a {
  color: var(--accent);
}

html.jw-dark-mode input,
html.jw-dark-mode textarea,
html.jw-dark-mode select,
html.jw-dark-mode button {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

html.jw-dark-mode input[type="search"]::placeholder,
html.jw-dark-mode #searchInput::placeholder,
html.jw-dark-mode #versePreviewSearchInput::placeholder,
html.jw-dark-mode .verse-preview-header-search::placeholder,
html.jw-dark-mode .verse-preview-search-input::placeholder {
  color: #C3D2D7 !important;
  opacity: 1 !important;
}

html.jw-dark-mode .home-page .hero,
html.jw-dark-mode .home-page .btn.btn-secondary,
html.jw-dark-mode .content,
html.jw-dark-mode .sub-collapsible + .content {
  background: var(--surface) !important;
}

html.jw-dark-mode .home-page .hero h1,
html.jw-dark-mode .home-page .card h3,
html.jw-dark-mode .collapsible,
html.jw-dark-mode .sub-collapsible,
html.jw-dark-mode h1,
html.jw-dark-mode h2,
html.jw-dark-mode h3 {
  color: var(--text) !important;
}

html.jw-dark-mode body .jw-html-wrapper .main h1,
html.jw-dark-mode body .jw-html-wrapper .jw-document h1,
html.jw-dark-mode body .jw-content .jw-html-wrapper .main h1,
html.jw-dark-mode body .jw-content .jw-html-wrapper .jw-document h1,
html.jw-dark-mode body .jw-main .jw-html-wrapper .main h1,
html.jw-dark-mode body .jw-main .jw-html-wrapper .jw-document h1,
html.jw-dark-mode body .jw-block .jw-html-wrapper .main h1,
html.jw-dark-mode body .jw-block .jw-html-wrapper .jw-document h1,
body.jw-dark-mode .jw-html-wrapper .main h1,
body.jw-dark-mode .jw-html-wrapper .jw-document h1,
body.jw-dark-mode .jw-content .jw-html-wrapper .main h1,
body.jw-dark-mode .jw-content .jw-html-wrapper .jw-document h1,
body.jw-dark-mode .jw-main .jw-html-wrapper .main h1,
body.jw-dark-mode .jw-main .jw-html-wrapper .jw-document h1,
body.jw-dark-mode .jw-block .jw-html-wrapper .main h1,
body.jw-dark-mode .jw-block .jw-html-wrapper .jw-document h1 {
  color: #F4FBFF !important;
}

html.jw-dark-mode body .jw-html-wrapper .main section.hero h1,
html.jw-dark-mode body .jw-html-wrapper .jw-document section.hero h1,
html.jw-dark-mode body .jw-html-wrapper .main section.intro h1,
html.jw-dark-mode body .jw-html-wrapper .jw-document section.intro h1,
html.jw-dark-mode body .jw-document section.hero h1,
html.jw-dark-mode body .jw-document section.intro h1,
html.jw-dark-mode .home-page .hero h1.site-logo,
html.jw-dark-mode .home-page .hero h1.site-logo .logo-word {
  color: #F4FBFF !important;
}

html.jw-dark-mode .home-page .hero h1.site-logo .logo-ref {
  color: #C3D2D7 !important;
}

html.jw-dark-mode .home-page section > h2 {
  color: var(--text) !important;
  border-bottom-color: var(--line) !important;
}

html.jw-dark-mode .home-page .hero .subtitle,
html.jw-dark-mode .home-page .hero .hero-note,
html.jw-dark-mode .home-page .card p {
  color: var(--muted) !important;
}

html.jw-dark-mode .typography-settings-panel,
html.jw-dark-mode .feedback-dialog,
html.jw-dark-mode .jw-edit-modal-dialog,
html.jw-dark-mode .verse-preview-dialog {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

html.jw-dark-mode .typography-field > span {
  color: #F4FBFF !important;
}

html.jw-dark-mode .jw-edit-modal-meta,
html.jw-dark-mode .feedback-meta,
html.jw-dark-mode .verse-panel-nav-ts,
html.jw-dark-mode .verse-panel-empty {
  color: var(--muted);
}

html.jw-dark-mode .verse-preview-title-link,
html.jw-dark-mode .verse-preview-panel-back,
html.jw-dark-mode .verse-panel-nav-btn {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

html.jw-dark-mode .typography-quick-actions button {
  background: var(--button);
  color: var(--text);
  border-color: var(--line);
}

html.jw-dark-mode .typography-quick-actions button:disabled {
  background: #2a3942;
  border-color: #4c616b;
  color: #9fb1b8;
}

html.jw-dark-mode .typography-quick-actions .settings-png-icon {
  filter: brightness(0) invert(0.9);
}

html.jw-dark-mode .typography-quick-actions button:disabled .settings-png-icon {
  filter: brightness(0) invert(0.68);
}

html.jw-dark-mode .typography-quick-actions #settingsPresentationBtn.is-active,
html.jw-dark-mode .typography-quick-actions #settingsDarkModeBtn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

html.jw-dark-mode #typographySettingsWrap.is-open #typographySettingsBtn.typography-settings-btn {
  border-color: rgba(191, 215, 218, 0.7) !important;
  background: rgba(214, 232, 234, 0.18) !important;
}

html.jw-dark-mode body .jw-html-wrapper .main .toolbar,
html.jw-dark-mode body .jw-html-wrapper .jw-document .toolbar {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

html.jw-dark-mode body .jw-html-wrapper .main .collapsible,
html.jw-dark-mode body .jw-html-wrapper .main button.collapsible,
html.jw-dark-mode body .jw-html-wrapper .jw-document .collapsible,
html.jw-dark-mode body .jw-html-wrapper .jw-document button.collapsible {
  background-color: var(--button) !important;
  color: #E3EDF1 !important;
  border-color: var(--line) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

html.jw-dark-mode body .jw-html-wrapper .main .collapsible:hover,
html.jw-dark-mode body .jw-html-wrapper .main button.collapsible:hover,
html.jw-dark-mode body .jw-html-wrapper .jw-document .collapsible:hover,
html.jw-dark-mode body .jw-html-wrapper .jw-document button.collapsible:hover {
  background-color: var(--button-hover) !important;
}

html.jw-dark-mode body .jw-html-wrapper .main .collapsible.active,
html.jw-dark-mode body .jw-html-wrapper .main button.collapsible.active,
html.jw-dark-mode body .jw-html-wrapper .jw-document .collapsible.active,
html.jw-dark-mode body .jw-html-wrapper .jw-document button.collapsible.active {
  background-color: var(--button-active) !important;
}

html.jw-dark-mode body .jw-html-wrapper .main .sub-collapsible,
html.jw-dark-mode body .jw-html-wrapper .main button.sub-collapsible,
html.jw-dark-mode body .jw-html-wrapper .jw-document .sub-collapsible,
html.jw-dark-mode body .jw-html-wrapper .jw-document button.sub-collapsible {
  background-color: var(--button) !important;
  border-left-color: var(--accent) !important;
  color: #E3EDF1 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main .collapsible::after,
html.jw-dark-mode body .jw-html-wrapper .main button.collapsible::after,
html.jw-dark-mode body .jw-html-wrapper .jw-document .collapsible::after,
html.jw-dark-mode body .jw-html-wrapper .jw-document button.collapsible::after,
html.jw-dark-mode body .jw-html-wrapper .main .sub-collapsible::before,
html.jw-dark-mode body .jw-html-wrapper .main button.sub-collapsible::before,
html.jw-dark-mode body .jw-html-wrapper .jw-document .sub-collapsible::before,
html.jw-dark-mode body .jw-html-wrapper .jw-document button.sub-collapsible::before {
  color: #E3EDF1 !important;
}

html.jw-dark-mode.ws-presenter-mode .collapsible:not(.sub-collapsible)::before,
html.jw-dark-mode body.ws-presenter-mode .collapsible:not(.sub-collapsible)::before {
  color: #F7FCFF !important;
  border-color: #8DA6AF !important;
  background: #38505A !important;
  opacity: 1;
}

html.jw-dark-mode body .jw-html-wrapper .main .sub-collapsible + .content,
html.jw-dark-mode body .jw-html-wrapper .jw-document .sub-collapsible + .content {
  background-color: var(--surface-soft) !important;
  border-left-color: var(--line) !important;
}

html.jw-dark-mode body .jw-html-wrapper .main .content,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content,
html.jw-dark-mode body .jw-document .content {
  color: #F7FCFF !important;
  opacity: 1 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main .content p,
html.jw-dark-mode body .jw-html-wrapper .main .content li,
html.jw-dark-mode body .jw-html-wrapper .main .content strong,
html.jw-dark-mode body .jw-html-wrapper .main .content b,
html.jw-dark-mode body .jw-html-wrapper .main .content em,
html.jw-dark-mode body .jw-html-wrapper .main .content span,
html.jw-dark-mode body .jw-html-wrapper .main .content blockquote,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content p,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content li,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content strong,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content b,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content em,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content span,
html.jw-dark-mode body .jw-html-wrapper .jw-document .content blockquote,
html.jw-dark-mode body .jw-document .content p,
html.jw-dark-mode body .jw-document .content li {
  color: #F7FCFF !important;
}

html.jw-dark-mode body .jw-html-wrapper .main a,
html.jw-dark-mode body .jw-html-wrapper .jw-document a,
html.jw-dark-mode body .jw-document a,
body.jw-dark-mode .jw-html-wrapper .main a,
body.jw-dark-mode .jw-html-wrapper .jw-document a,
body.jw-dark-mode .jw-document a {
  color: #9FD8B1 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main a:hover,
html.jw-dark-mode body .jw-html-wrapper .jw-document a:hover,
html.jw-dark-mode body .jw-document a:hover,
body.jw-dark-mode .jw-html-wrapper .main a:hover,
body.jw-dark-mode .jw-html-wrapper .jw-document a:hover,
body.jw-dark-mode .jw-document a:hover {
  color: #D6EBDD !important;
}

html.jw-dark-mode ::selection {
  background: #3E5E4C !important;
  color: #F7FCFF !important;
}

html.jw-dark-mode body .jw-html-wrapper .main mark,
html.jw-dark-mode body .jw-html-wrapper .jw-document mark,
html.jw-dark-mode body .jw-document mark {
  color: #F7FCFF !important;
  background: #6E5A13 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main mark.blue,
html.jw-dark-mode body .jw-html-wrapper .jw-document mark.blue,
html.jw-dark-mode body .jw-document mark.blue {
  background: #244957 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main mark.green,
html.jw-dark-mode body .jw-html-wrapper .jw-document mark.green,
html.jw-dark-mode body .jw-document mark.green {
  background: #2D5A34 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main mark.orange,
html.jw-dark-mode body .jw-html-wrapper .jw-document mark.orange,
html.jw-dark-mode body .jw-document mark.orange {
  background: #6A4316 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main mark.red,
html.jw-dark-mode body .jw-html-wrapper .jw-document mark.red,
html.jw-dark-mode body .jw-document mark.red {
  background: #6A2F2F !important;
}

html.jw-dark-mode body .jw-html-wrapper .main mark.purple,
html.jw-dark-mode body .jw-html-wrapper .jw-document mark.purple,
html.jw-dark-mode body .jw-document mark.purple {
  background: #4B3D73 !important;
}

html.jw-dark-mode body .jw-html-wrapper .main mark.gray,
html.jw-dark-mode body .jw-html-wrapper .jw-document mark.gray,
html.jw-dark-mode body .jw-document mark.gray {
  background: #46545D !important;
}

html.jw-dark-mode .search-hit {
  background: #6E5A13 !important;
  color: #F7FCFF !important;
}

html.jw-dark-mode a.verse-ref.verse-ref-last-clicked {
  background: #6E5A13 !important;
  color: #F7FCFF !important;
  box-shadow: inset 0 -2px 0 #D9B24C !important;
}

html.jw-dark-mode .verse-preview-selected {
  background: #2C4438 !important;
  color: #F7FCFF !important;
  box-shadow: inset 2px 0 0 #7DBA93, inset -2px 0 0 #7DBA93 !important;
}

html.jw-dark-mode .verse-preview-selected:not(.verse-preview-selected + .verse-preview-selected) {
  box-shadow: inset 2px 0 0 #7DBA93, inset -2px 0 0 #7DBA93, inset 0 2px 0 #7DBA93 !important;
}

html.jw-dark-mode .verse-preview-selected:not(:has(+ .verse-preview-selected)) {
  box-shadow: inset 2px 0 0 #7DBA93, inset -2px 0 0 #7DBA93, inset 0 -2px 0 #7DBA93 !important;
}

html.jw-dark-mode .verse-preview-selected:not(.verse-preview-selected + .verse-preview-selected):not(:has(+ .verse-preview-selected)) {
  box-shadow: inset 2px 0 0 #7DBA93, inset -2px 0 0 #7DBA93, inset 0 2px 0 #7DBA93, inset 0 -2px 0 #7DBA93 !important;
}

html.jw-dark-mode .verse-preview-hit {
  background: #6E5A13 !important;
  color: #F7FCFF !important;
  box-shadow: inset 2px 0 0 #D9B24C, inset -2px 0 0 #D9B24C !important;
}

html.jw-dark-mode .verse-preview-hit:not(:is(.verse-preview-hit + .verse-preview-hit)) {
  box-shadow: inset 2px 0 0 #D9B24C, inset -2px 0 0 #D9B24C, inset 0 2px 0 #D9B24C !important;
}

html.jw-dark-mode .verse-preview-hit:not(:has(+ .verse-preview-hit)) {
  box-shadow: inset 2px 0 0 #D9B24C, inset -2px 0 0 #D9B24C, inset 0 -2px 0 #D9B24C !important;
}

html.jw-dark-mode .verse-preview-hit:not(:is(.verse-preview-hit + .verse-preview-hit)):not(:has(+ .verse-preview-hit)) {
  box-shadow: inset 2px 0 0 #D9B24C, inset -2px 0 0 #D9B24C, inset 0 2px 0 #D9B24C, inset 0 -2px 0 #D9B24C !important;
}

html.jw-dark-mode .verse-preview-selected .verse-preview-text,
html.jw-dark-mode .verse-preview-selected .verse-preview-num,
html.jw-dark-mode .verse-preview-hit .verse-preview-text,
html.jw-dark-mode .verse-preview-hit .verse-preview-num {
  color: #F7FCFF !important;
}

html.jw-dark-mode #documentBreadcrumb .crumb-sep,
html.jw-dark-mode .doc-crumbbar .crumb-sep,
html.jw-dark-mode #documentBreadcrumb .crumb-group-arrow,
html.jw-dark-mode .doc-crumbbar .crumb-group-arrow,
html.jw-dark-mode #documentBreadcrumb .crumb-group-trigger-caret,
html.jw-dark-mode #documentBreadcrumb .crumb-page-trigger-caret,
html.jw-dark-mode .doc-crumbbar .crumb-group-trigger-caret,
html.jw-dark-mode .doc-crumbbar .crumb-page-trigger-caret {
  color: #D8E9DF !important;
  opacity: 1 !important;
}

html.jw-dark-mode .crumb-group-trigger,
html.jw-dark-mode .crumb-page-trigger,
html.jw-dark-mode .crumb-page-select,
html.jw-dark-mode .crumb-group-select,
html.jw-dark-mode .doc-crumbbar .crumb-link,
html.jw-dark-mode .doc-crumbbar .crumb-neutral,
html.jw-dark-mode .verse-preview-title-link,
html.jw-dark-mode .verse-preview-title-book,
html.jw-dark-mode .verse-preview-title-chapter,
html.jw-dark-mode .verse-preview-title-caret {
  color: #F4FBFF !important;
}

html.jw-dark-mode .crumb-group-panel,
html.jw-dark-mode .crumb-page-panel,
html.jw-dark-mode .crumb-submenu,
body.jw-dark-mode .crumb-group-panel,
body.jw-dark-mode .crumb-page-panel,
body.jw-dark-mode .crumb-submenu {
  background: var(--surface) !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .crumb-group-link,
html.jw-dark-mode .crumb-submenu-link,
html.jw-dark-mode .crumb-page-menu-link,
html.jw-dark-mode .doc-crumbbar .crumb-group-panel a,
html.jw-dark-mode .doc-crumbbar .crumb-page-panel a,
body.jw-dark-mode .crumb-group-link,
body.jw-dark-mode .crumb-submenu-link,
body.jw-dark-mode .crumb-page-menu-link,
body.jw-dark-mode .doc-crumbbar .crumb-group-panel a,
body.jw-dark-mode .doc-crumbbar .crumb-page-panel a {
  color: #F4FBFF !important;
  background: transparent !important;
}

html.jw-dark-mode #languageFlagIndicator.toolbar-flag,
html.jw-dark-mode #languageFlagMenu.toolbar-flag-menu,
html.jw-dark-mode .toolbar-flag-option {
  border-color: var(--line) !important;
}

html.jw-dark-mode #languageFlagMenu.toolbar-flag-menu {
  background: var(--surface) !important;
  box-shadow: var(--shadow) !important;
}

html.jw-dark-mode .toolbar-flag-option {
  background: var(--button) !important;
  color: #F4FBFF !important;
}

html.jw-dark-mode .toolbar-flag-option:hover {
  background: var(--button-hover) !important;
}

html.jw-dark-mode .toolbar-flag-option.is-active {
  border-color: var(--accent) !important;
  background: var(--accent-soft) !important;
}

html.jw-dark-mode .toolbar button:hover:not(:disabled),
html.jw-dark-mode .typography-actions button:hover:not(:disabled),
html.jw-dark-mode .typography-quick-actions button:hover:not(:disabled) {
  background: var(--button-hover) !important;
  color: #F4FBFF !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .crumb-group-trigger:hover,
html.jw-dark-mode .crumb-group-menu.is-open .crumb-group-trigger,
html.jw-dark-mode .crumb-page-trigger:hover,
html.jw-dark-mode .crumb-page-menu.is-open .crumb-page-trigger,
html.jw-dark-mode .crumb-page-select:hover,
html.jw-dark-mode .crumb-group-select:hover,
html.jw-dark-mode .doc-crumbbar .crumb-link:hover {
  color: #D6EBDD !important;
}

html.jw-dark-mode .crumb-group-link:hover,
html.jw-dark-mode .crumb-submenu-link:hover,
html.jw-dark-mode .crumb-page-menu-link:hover,
html.jw-dark-mode .crumb-group-item.is-active-group > .crumb-group-row,
html.jw-dark-mode .crumb-submenu-link.is-active-page,
html.jw-dark-mode .crumb-page-menu-link.is-active-page {
  background: var(--button-hover) !important;
  color: #F4FBFF !important;
}

html.jw-dark-mode .doc-prev-next-nav {
  border-top-color: var(--line) !important;
}

html.jw-dark-mode .doc-seq-link {
  color: #9FD8B1 !important;
}

html.jw-dark-mode .doc-seq-link:hover {
  color: #D6EBDD !important;
}

html.jw-dark-mode .ws-presenter-paragraph-dock,
body.jw-dark-mode .ws-presenter-paragraph-dock {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

html.jw-dark-mode .ws-pres-paragraph-head,
body.jw-dark-mode .ws-pres-paragraph-head {
  border-bottom-color: var(--line) !important;
}

html.jw-dark-mode .ws-pres-paragraph-title,
html.jw-dark-mode .ws-pres-paragraph-counter,
html.jw-dark-mode .ws-pres-paragraph-notes,
body.jw-dark-mode .ws-pres-paragraph-title,
body.jw-dark-mode .ws-pres-paragraph-counter,
body.jw-dark-mode .ws-pres-paragraph-notes {
  color: #F4FBFF !important;
}

html.jw-dark-mode .ws-pres-btn--paragraph,
body.jw-dark-mode .ws-pres-btn--paragraph {
  color: #F4FBFF !important;
  background: var(--button) !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .ws-pres-btn--paragraph:hover:not(:disabled),
body.jw-dark-mode .ws-pres-btn--paragraph:hover:not(:disabled) {
  background: var(--button-hover) !important;
}

html.jw-dark-mode .ws-pres-btn--paragraph:disabled,
body.jw-dark-mode .ws-pres-btn--paragraph:disabled {
  color: #9FB1B8 !important;
  border-color: #556B76 !important;
  background: #334651 !important;
  opacity: 1 !important;
}

html.jw-dark-mode .ws-pres-btn--edit .ws-pres-png-icon,
body.jw-dark-mode .ws-pres-btn--edit .ws-pres-png-icon {
  filter: brightness(0) invert(0.92);
}

html.jw-dark-mode .page-nav a,
body.jw-dark-mode .page-nav a {
  background: var(--button) !important;
  color: #E3EDF1 !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .page-nav a:hover,
body.jw-dark-mode .page-nav a:hover {
  background: var(--button-hover) !important;
  color: #F4FBFF !important;
}

html.jw-dark-mode .page-nav .nav-next.is-locked,
html.jw-dark-mode .page-nav .nav-next.is-locked:hover,
html.jw-dark-mode .page-nav .nav-next.is-locked:focus,
html.jw-dark-mode .page-nav .nav-next.is-locked:active,
html.jw-dark-mode .page-nav .nav-next.is-locked:visited,
body.jw-dark-mode .page-nav .nav-next.is-locked,
body.jw-dark-mode .page-nav .nav-next.is-locked:hover,
body.jw-dark-mode .page-nav .nav-next.is-locked:focus,
body.jw-dark-mode .page-nav .nav-next.is-locked:active,
body.jw-dark-mode .page-nav .nav-next.is-locked:visited {
  background: #334651 !important;
  border-color: #556b76 !important;
  color: #9FB1B8 !important;
}

html.jw-dark-mode .verse-preview-modal {
  background: rgba(0, 0, 0, 0.65) !important;
}

html.jw-dark-mode .verse-preview-dialog,
html.jw-dark-mode .verse-preview-inner,
html.jw-dark-mode .verse-preview-body {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .verse-preview-header,
html.jw-dark-mode .verse-preview-searchbar,
html.jw-dark-mode .verse-preview-panel-head,
html.jw-dark-mode .verse-preview-search-head,
html.jw-dark-mode .verse-preview-text-col > .verse-preview-lang-controls,
html.jw-dark-mode .verse-preview-picker-head,
html.jw-dark-mode .verse-preview-actions {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .verse-preview-header-search,
html.jw-dark-mode .verse-preview-search-input,
html.jw-dark-mode .verse-preview-searchbar input,
html.jw-dark-mode .verse-preview-lang-btn,
html.jw-dark-mode .verse-preview-nav-btn,
html.jw-dark-mode .verse-preview-panel-back,
html.jw-dark-mode .verse-preview-panel-nav-btn,
html.jw-dark-mode .verse-preview-actions button,
html.jw-dark-mode .verse-preview-picker-close,
html.jw-dark-mode .verse-preview-chapter-btn,
html.jw-dark-mode .verse-preview-inline-chapter-btn,
html.jw-dark-mode .verse-preview-inline-verse-btn,
html.jw-dark-mode .verse-preview-book-row {
  background: var(--button) !important;
  color: #F4FBFF !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .verse-preview-lang-btn:not(.is-active):not([aria-pressed="true"]) {
  color: #C3D2D7 !important;
}

html.jw-dark-mode .verse-preview-lang-btn.is-active,
html.jw-dark-mode .verse-preview-lang-btn[aria-pressed="true"] {
  background: rgba(214, 232, 234, 0.18) !important;
  color: #F4FBFF !important;
  border-color: rgba(191, 215, 218, 0.7) !important;
  box-shadow: inset 0 0 0 1px rgba(232, 243, 244, 0.28) !important;
}

html.jw-dark-mode .verse-preview-text-col,
html.jw-dark-mode .verse-preview-panel,
html.jw-dark-mode .verse-preview-search-panel,
html.jw-dark-mode .verse-preview-book-pane,
html.jw-dark-mode .verse-preview-picker-shell {
  background: var(--surface-soft) !important;
  color: #F4FBFF !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .verse-preview-local,
html.jw-dark-mode .verse-preview-search-text,
html.jw-dark-mode .verse-preview-search-result,
html.jw-dark-mode .verse-preview-panel-list,
html.jw-dark-mode .verse-preview-search-list,
html.jw-dark-mode .verse-preview-panel-title,
html.jw-dark-mode .verse-preview-search-meta,
html.jw-dark-mode .verse-preview-picker-title,
html.jw-dark-mode .verse-preview-chapter-title,
html.jw-dark-mode .verse-preview-picker-empty,
html.jw-dark-mode .verse-preview-dialog h3 {
  color: #F4FBFF !important;
}

html.jw-dark-mode .verse-panel-nav-ts,
html.jw-dark-mode .verse-panel-empty,
html.jw-dark-mode .verse-preview-search-empty {
  color: #C3D2D7 !important;
}

html.jw-dark-mode .verse-preview-picker-overlay {
  background: rgba(35, 49, 58, 0.95) !important;
}

html.jw-dark-mode .verse-preview-testament-toggle {
  background: var(--button) !important;
  color: #F4FBFF !important;
  border-color: var(--line) !important;
}

html.jw-dark-mode .verse-preview-inline-chapters {
  background: color-mix(in srgb, var(--surface-soft) 82%, #000 18%) !important;
  border-top-color: var(--line) !important;
}

html.jw-dark-mode .verse-preview-inline-verses-wrap,
html.jw-dark-mode .verse-preview-book-row-group,
html.jw-dark-mode .verse-preview-book-section + .verse-preview-book-section {
  border-color: var(--line) !important;
}

html.jw-dark-mode .verse-preview-line:hover,
html.jw-dark-mode .verse-preview-book-row:hover,
html.jw-dark-mode .verse-preview-search-result:hover,
html.jw-dark-mode .verse-preview-nav-btn:hover,
html.jw-dark-mode .verse-preview-panel-back:hover,
html.jw-dark-mode .verse-preview-actions button:hover {
  background: var(--button-hover) !important;
}

html.jw-dark-mode .verse-preview-loading {
  background: rgba(35, 49, 58, 0.9) !important;
  color: #F4FBFF !important;
}
