/* Ported from private-warm-stone-theme */

/* Approved private presentation: Burgundy and stone / Warm stone Bible paper. */
body.theobib-warm-stone{--tb-burgundy:#661e3e;--tb-burgundy-ink:#fff8fc;--tb-controls:#d1c8cf;--tb-paper:#d5d0ca;--tb-paper-line:#b7aea5;--tb-study:#dfd1d9;--tb-study-card:#ede2e8;--tb-study-tabs:#c6afbd;--tb-study-line:#bea4b3;background:#f2ecef}
body.theobib-warm-stone .app-masthead{background:var(--tb-burgundy);color:var(--tb-burgundy-ink);padding:16px 22px!important;border:0;margin-bottom:0!important;border-radius:6px 6px 0 0}
body.theobib-warm-stone .brand-home-link{color:var(--tb-burgundy-ink)}
body.theobib-warm-stone .brand-full-logo,body.theobib-warm-stone .brand-logo{background:#f8f5ef;border-radius:3px;padding:3px;mix-blend-mode:normal}
body.theobib-warm-stone .brand-subtitle{color:#efe0e8}
body.theobib-warm-stone .app-nav{border:0;padding-bottom:0}
body.theobib-warm-stone .app-nav>button,body.theobib-warm-stone .nav-group>summary,body.theobib-warm-stone .nav-utilities>button{color:var(--tb-burgundy-ink)}
body.theobib-warm-stone .app-nav>button:hover,body.theobib-warm-stone .nav-group>summary:hover,body.theobib-warm-stone .nav-utilities>button:hover{background:#7b3554;color:white}
body.theobib-warm-stone .app-nav>button.active,body.theobib-warm-stone .nav-group>summary.active{background:#efe5eb;color:#4a1c32;box-shadow:inset 0 -2px #bc98aa}
body.theobib-warm-stone .nav-group-panel{background:#f8f1f5;border-color:var(--tb-study-line)}
body.theobib-warm-stone .nav-group-panel button{color:#56203a}
body.theobib-warm-stone .nav-group-panel button:hover,body.theobib-warm-stone .nav-group-panel button.active{background:#dfccd7;color:#442032}
body.theobib-warm-stone .brand-actions button{color:var(--tb-burgundy-ink);background:#752b4b;border-color:#b68c9f}
body.theobib-warm-stone .brand-actions button:hover{background:#874460}
body.theobib-warm-stone .platform-languages button[aria-pressed=true]{background:#f2e9ee;border-color:#f2e9ee;color:#4a1c32}
body.theobib-warm-stone #reader-workspace{--ui-action:#6a2343;--ui-selection:#dfd0d8;--ui-text:#30252c;--ui-secondary:#655661;--ui-line:#c4b6bf;--ui-control:#aa8c9c;--green:#6a2343;--ink:#30252c;--muted:#655661;--line:#c4b6bf;--pale:#e8dce3;color:var(--ui-text)}
body.theobib-warm-stone #reader-workspace .interlinear-main-section{padding:0;background:#f2ecef;border:0;border-radius:0;box-shadow:none;overflow:visible}
body.theobib-warm-stone #reader-workspace .interlinear-main-section>.scripture-heading{margin:0;padding:22px 24px 14px;background:var(--tb-controls);border:0;border-radius:0}
body.theobib-warm-stone #reader-workspace .scripture-heading h2{color:#352730}
body.theobib-warm-stone #reader-workspace .scripture-heading p.muted{margin:5px 0 0;font-size:13px}
body.theobib-warm-stone #reader-workspace .scripture-kicker{color:#5e3e50}
body.theobib-warm-stone #reader-workspace .scripture-heading .badge{background:#e7dce2;color:#5d4352}
body.theobib-warm-stone #reader-workspace .reader-control-band{background:var(--tb-controls);padding:0 24px 18px;border-bottom:1px solid #b5a5af}
html.visual-revision body.theobib-warm-stone #reader-workspace .reader-control-band form.scripture-selection-panel{margin:0;padding:0;border:0;background:transparent;border-radius:0}
body.theobib-warm-stone #reader-workspace .reader-reference-row{grid-template-columns:minmax(0,1fr) minmax(120px,165px) auto;gap:10px}
body.theobib-warm-stone #reader-workspace .reader-reference-row label{font-size:12px;color:#493b46}
body.theobib-warm-stone #reader-workspace .reader-reference-row input,body.theobib-warm-stone #reader-workspace .reader-reference-row select{background:#fffdfa;border-color:#aa98a3;color:#30252c}
body.theobib-warm-stone #reader-workspace button.primary{background:var(--tb-burgundy);border-color:var(--tb-burgundy);color:#fff8fc}
body.theobib-warm-stone #reader-workspace button.primary:hover{background:#7b2e50}
body.theobib-warm-stone #reader-workspace .reader-picker{margin-top:8px}
body.theobib-warm-stone #reader-workspace .reader-control-band .scripture-actions,body.theobib-warm-stone #reader-workspace .reader-control-band .pt-reader-toolbar{margin:9px 0 0;padding:0}
body.theobib-warm-stone #reader-workspace .reader-control-band .scripture-secondary,body.theobib-warm-stone #reader-workspace .reader-control-band .personal-note-actions>button,body.theobib-warm-stone #reader-workspace .reader-control-band .pt-reader-settings>button{background:#e8dfe4;color:#57223b;border-color:#b5a1ac}
body.theobib-warm-stone #reader-workspace .chapter-navigation{margin:0;padding:18px 22px 12px;border:0}
body.theobib-warm-stone #reader-workspace .chapter-navigation button{background:#e8dce3;color:#57223b;border-color:#b5a1ac}
body.theobib-warm-stone #reader-workspace .reader-study-hint,body.theobib-warm-stone #reader-workspace .chronology-chapter-tabs,body.theobib-warm-stone #reader-workspace .pt-book-resources{margin-left:22px;margin-right:22px}
body.theobib-warm-stone #reader-workspace .scripture-study-layout{margin:0 22px 20px;gap:22px}
body.theobib-warm-stone #reader-workspace #verses{background:var(--tb-paper);border:1px solid var(--tb-paper-line);border-radius:5px;padding:24px 22px;margin:0;min-width:0;color:#30252c}
body.theobib-warm-stone #reader-workspace #verses .bible-verse{color:#30252c}
body.theobib-warm-stone #reader-workspace #verses .bible-verse sup{color:#65534f}
body.theobib-warm-stone #reader-workspace #verses .bible-verse.is-selected,body.theobib-warm-stone #reader-workspace #verses .pt-verse-text[aria-selected=true]{background:#c7bbc0;box-shadow:inset 3px 0 #6a2343}
body.theobib-warm-stone #reader-workspace .verse-study-actions .verse-language-action{background:#e5d7df!important;color:#57223b!important;border-color:#b5a1ac!important}
body.theobib-warm-stone #reader-workspace .verse-study-actions .verse-language-action[aria-expanded=true]{background:#c6afbd!important;box-shadow:inset 0 -2px #6a2343}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-panel,.interlinear-panel,#tyndaleStudyPanel,#netBibleNotesPanel,.tyndale-dictionary-card,.pt-study-panel,.inline-interlinear,.inline-study-card,.unified-word-card,.bible-place-info){background:var(--tb-study)!important;border-color:var(--tb-study-line)!important;box-shadow:none;color:#392431}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-panel,.interlinear-panel,#tyndaleStudyPanel,#netBibleNotesPanel,.tyndale-dictionary-card,.pt-study-panel) :is(.interlinear-heading,.tyndale-heading,.pt-study-head){background:var(--tb-burgundy);color:var(--tb-burgundy-ink);margin:-15px -15px 12px;padding:15px;border-radius:10px 10px 0 0;border:0}
body.theobib-warm-stone #reader-workspace :is(.interlinear-heading,.tyndale-heading,.pt-study-head) :is(h3,h4,p,.small-meta){color:inherit}
body.theobib-warm-stone #reader-workspace :is(.interlinear-heading,.tyndale-heading,.pt-study-head)>button{color:#5b2340;background:#f2e6ed;border-color:#d3b7c6}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-group,.pt-resource-card,.tyndale-note,.study-card,.net-note,.inline-study-person){background:var(--tb-study-card)!important;border-color:var(--tb-study-line)!important;color:#392431}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-text,.cross-reference-group-heading,.cross-reference-link,.tyndale-content,.study-card-text){color:#392431}
body.theobib-warm-stone #reader-workspace :is(.greek-options,.pt-greek-options,.hebrew-source-tabs,.study-tabs,.lxx-tabs){background:var(--tb-study-tabs);padding:6px;border-radius:5px}
body.theobib-warm-stone #reader-workspace :is(.greek-options,.pt-greek-options,.hebrew-source-tabs,.study-tabs,.lxx-tabs) button{color:#57223b;background:#e7d7e0;border-color:#b599a9}
body.theobib-warm-stone #reader-workspace :is(.greek-options,.pt-greek-options,.hebrew-source-tabs,.study-tabs,.lxx-tabs) button:is([aria-selected=true],[aria-pressed=true]){background:#c6afbd!important;color:#442032!important;box-shadow:inset 0 -2px #6a2343}
body.theobib-warm-stone #reader-workspace .reader-about{margin:16px 22px;padding-bottom:18px}
body.theobib-warm-stone.reader-full-view #reader-workspace .reader-control-band,body.theobib-warm-stone.pt-reader-full-view #reader-workspace .reader-control-band{padding:8px 18px}
@media(max-width:760px){body.theobib-warm-stone .app-masthead{padding:14px 16px!important}body.theobib-warm-stone #reader-workspace .interlinear-main-section>.scripture-heading{padding:18px 16px 12px}body.theobib-warm-stone #reader-workspace .reader-control-band{padding:0 16px 16px}body.theobib-warm-stone #reader-workspace .reader-reference-row{grid-template-columns:minmax(0,1fr) 130px}body.theobib-warm-stone #reader-workspace .reader-reference-row .passage-submit-row{grid-column:1/-1!important}body.theobib-warm-stone #reader-workspace .scripture-study-layout{margin:0 12px 16px;gap:16px}body.theobib-warm-stone #reader-workspace #verses{padding:20px 14px}body.theobib-warm-stone #reader-workspace .chapter-navigation{padding:16px 12px 10px}}
@media(max-width:450px){body.theobib-warm-stone #reader-workspace .reader-reference-row{grid-template-columns:1fr}body.theobib-warm-stone #reader-workspace .reader-reference-row .passage-submit-row{grid-column:auto!important}body.theobib-warm-stone #reader-workspace .reader-control-band .personal-note-actions{width:100%}body.theobib-warm-stone #reader-workspace .scripture-heading .badge{display:none}}
@media print{body.theobib-warm-stone{background:white}body.theobib-warm-stone #reader-workspace .reader-control-band{display:none}body.theobib-warm-stone #reader-workspace #verses{background:white;color:black;border:0;padding:0}body.theobib-warm-stone #reader-workspace .scripture-study-layout{margin:0}}
/* Match the DARK appearance of the accepted Warm stone preview exactly.
   Bible paper and Bible ink stay fixed; application and study surfaces use
   the preview's dark burgundy/plum values, independently of system theme. */
@media screen{
body.theobib-warm-stone{--tb-burgundy:#4c142d;--tb-burgundy-ink:#f4f7ff;--tb-controls:#4b3c48;--tb-paper:#d5d0ca;--tb-paper-line:#b7aea5;--tb-study:#44303e;--tb-study-card:#503b48;--tb-study-tabs:#34212e;--tb-study-line:#7a5c6f;background:#251b22}
body.theobib-warm-stone .brand-subtitle{color:#cebac7}
body.theobib-warm-stone .app-nav>button.active,body.theobib-warm-stone .nav-group>summary.active{background:#2c2429;color:#f4e9f0;box-shadow:inset 0 -2px #eab3ce}
body.theobib-warm-stone .app-nav>button:hover,body.theobib-warm-stone .nav-group>summary:hover,body.theobib-warm-stone .nav-utilities>button:hover{background:#65435a;color:#f4e9f0}
body.theobib-warm-stone .nav-group-panel{background:#44303e;border-color:#7a5c6f}
body.theobib-warm-stone .nav-group-panel button{color:#f4e9f0}
body.theobib-warm-stone .nav-group-panel button:hover,body.theobib-warm-stone .nav-group-panel button.active{background:#65435a;color:#f4e9f0}
body.theobib-warm-stone .brand-actions button{color:#f4e9f0;background:#4c142d;border-color:#7a5c6f}
body.theobib-warm-stone .brand-actions button:hover{background:#65435a}
body.theobib-warm-stone .platform-languages button[aria-pressed=true]{background:#65435a;border-color:#b18b9f;color:#f4e9f0}
body.theobib-warm-stone #reader-workspace{--ui-action:#eab3ce;--ui-selection:#65435a;--ui-text:#f4e9f0;--ui-secondary:#cebac7;--ui-line:#705363;--ui-control:#7a5c6f;--green:#eab3ce;--ink:#f4e9f0;--muted:#cebac7;--line:#705363;--pale:#44303e;color:#f4e9f0}
body.theobib-warm-stone #reader-workspace .interlinear-main-section{background:#251b22}
body.theobib-warm-stone #reader-workspace .scripture-heading h2,body.theobib-warm-stone #reader-workspace .scripture-heading p.muted,body.theobib-warm-stone #reader-workspace .scripture-heading .scripture-kicker{color:#f9f2f7}
body.theobib-warm-stone #reader-workspace .scripture-heading .badge{background:#65435a;color:#f4e9f0}
body.theobib-warm-stone #reader-workspace .reader-control-band{border-bottom-color:#705363}
body.theobib-warm-stone #reader-workspace .reader-reference-row label,body.theobib-warm-stone #reader-workspace .reader-control-band .dictionary-visibility,body.theobib-warm-stone #reader-workspace .reader-control-band .reader-phase-message,body.theobib-warm-stone #reader-workspace .reader-control-band .reader-picker-state{color:#f9f2f7}
body.theobib-warm-stone #reader-workspace .reader-reference-row input,body.theobib-warm-stone #reader-workspace .reader-reference-row select,body.theobib-warm-stone #reader-workspace .reader-picker select,body.theobib-warm-stone #reader-workspace .reader-picker input{color-scheme:dark;background:#2c2429;border-color:#705363;color:#f4e9f0}
body.theobib-warm-stone #reader-workspace .reader-control-band input::placeholder{color:#cebac7}
body.theobib-warm-stone #reader-workspace .reader-control-band .scripture-secondary,body.theobib-warm-stone #reader-workspace .reader-control-band .personal-note-actions>button,body.theobib-warm-stone #reader-workspace .reader-control-band .pt-reader-settings>button,body.theobib-warm-stone #reader-workspace .scripture-heading .language-section-controls>button{background:#44303e;color:#f4e9f0;border-color:#7a5c6f}
body.theobib-warm-stone #reader-workspace .chapter-navigation button,body.theobib-warm-stone #reader-workspace .chronology-chapter-tabs button{background:#44303e;color:#f4e9f0;border-color:#7a5c6f}
body.theobib-warm-stone #reader-workspace .reader-edition,body.theobib-warm-stone #reader-workspace .reader-study-hint{color:#cebac7}
body.theobib-warm-stone #reader-workspace #verses{color:#30252c}
body.theobib-warm-stone #reader-workspace #verses .bible-verse{color:#30252c}
body.theobib-warm-stone #reader-workspace #verses .bible-verse sup{color:#5f554d}
body.theobib-warm-stone #reader-workspace #verses .bible-verse.is-selected,body.theobib-warm-stone #reader-workspace #verses .pt-verse-text[aria-selected=true]{background:color-mix(in srgb,#d5d0ca 88%,#7b214a);box-shadow:inset 3px 0 #7b214a}
body.theobib-warm-stone #reader-workspace .verse-study-actions .verse-language-action{background:#503b48!important;color:#f4e9f0!important;border-color:#7a5c6f!important}
body.theobib-warm-stone #reader-workspace .verse-study-actions .verse-language-action[aria-expanded=true]{background:#65435a!important;color:#f4e9f0!important;box-shadow:inset 0 -2px #eab3ce}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-panel,.interlinear-panel,#tyndaleStudyPanel,#netBibleNotesPanel,.tyndale-dictionary-card,.pt-study-panel,.inline-interlinear,.inline-study-card,.unified-word-card,.bible-place-info){color:#f4e9f0}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-group,.pt-resource-card,.tyndale-note,.study-card,.net-note,.inline-study-person){color:#f4e9f0}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-text,.cross-reference-group-heading,.cross-reference-link,.tyndale-content,.study-card-text){color:#f4e9f0}
body.theobib-warm-stone #reader-workspace :is(.cross-reference-notice,.cross-reference-source-details p,.cross-reference-source-details summary,.cross-reference-unavailable,.pt-study-panel .small-meta){color:#cebac7}
body.theobib-warm-stone #reader-workspace :is(.study-card-text a,.tyndale-content a,.pt-resource-link,.pt-study-reference,.cross-reference-source-details a){color:#eab3ce}
body.theobib-warm-stone #reader-workspace :is(.interlinear-heading,.tyndale-heading,.pt-study-head)>button{color:#f4e9f0;background:#503b48;border-color:#7a5c6f}
body.theobib-warm-stone #reader-workspace :is(.greek-options,.pt-greek-options,.hebrew-source-tabs,.study-tabs,.lxx-tabs) button{color:#f4e9f0;background:#503b48;border-color:#7a5c6f}
body.theobib-warm-stone #reader-workspace :is(.greek-options,.pt-greek-options,.hebrew-source-tabs,.study-tabs,.lxx-tabs) button:is([aria-selected=true],[aria-pressed=true]){background:#65435a!important;color:#f4e9f0!important;box-shadow:inset 0 -2px #eab3ce}
body.theobib-warm-stone #reader-workspace button:disabled{background:#392b34!important;color:#bda8b5!important;border-color:#705363!important}
body.theobib-warm-stone #reader-workspace .bible-size-label,body.theobib-warm-stone #reader-workspace .pt-reader-settings output{color:#f9f2f7}
body.theobib-warm-stone #reader-workspace #verses .open-study-toolbar button{background:#e5d7df;color:#57223b;border-color:#b5a1ac}
body.theobib-warm-stone:not(:has(#reader-workspace.active)){background:#f2ecef}
body.theobib-warm-stone #reader-workspace .reader-location h2,body.theobib-warm-stone #reader-workspace .reader-location h2 *{color:#f4e9f0!important}
body.theobib-warm-stone #reader-workspace .language-workspace-tools{--ui-text:#30252c;--ui-secondary:#655661;--green:#6a2343;--ink:#30252c;--muted:#655661;--line:#c4b6bf;color:#30252c}
/* Render the existing line art and full title in white; screen blending
   removes the inverted paper background against the burgundy header. */
body.theobib-warm-stone .brand-full-logo,body.theobib-warm-stone .brand-logo{background:transparent;border-radius:0;padding:0;filter:grayscale(1) contrast(1.2) invert(1);mix-blend-mode:screen}
body.theobib-warm-stone .brand-copy h1{color:#fff}
}


/* Ported from private-reader-contrast */

/* Contrast correction for the private burgundy/stone presentation.
   Keep Bible paper and map colours unchanged. Pair each surface with its ink;
   do not let the dark reader's variables leak into light resource cards. */
@media screen {
  body.theobib-warm-stone #reader-workspace { --ui-error: #ffc0b9; }
  body.theobib-warm-stone #reader-workspace .scripture-status { color: #cebac7; }
  body.theobib-warm-stone #reader-workspace .tyndale-meta { color: #cebac7; }
  body.theobib-warm-stone #reader-workspace .language-workspace-heading h2 { color: #f4e9f0; }
  body.theobib-warm-stone #reader-workspace .language-workspace-heading p { color: #cebac7; }
  body.theobib-warm-stone #libraryView .kind { color: #615a5e; }
  body.theobib-warm-stone #bookIntroduction {
    --ink: #f4e9f0;
    --muted: #cebac7;
    --green: #eab3ce;
    color: #f4e9f0;
  }
  body.theobib-warm-stone #bookIntroduction :is(
    .book-introduction-kicker, .book-introduction-source,
    .book-introduction-status, .book-introduction-secondary
  ) { color: #cebac7; }
  body.theobib-warm-stone #bookIntroduction :is(
    .book-introduction-fact, .book-introduction-section
  ) { background: #44303e; border-color: #7a5c6f; color: #f4e9f0; }
  body.theobib-warm-stone #bookIntroduction .book-introduction-section > summary {
    background: #34212e; color: #f4e9f0;
  }
  body.theobib-warm-stone #bookIntroduction :is(
    .book-introduction-fact h3, .book-introduction-assessments > summary
  ) { color: #cebac7; }
  body.theobib-warm-stone #bookIntroduction :is(
    .book-introduction-value, .tyndale-content
  ) { color: #f4e9f0; }
  body.theobib-warm-stone #bookIntroduction :is(button, select) {
    background: #503b48; border-color: #967789; color: #f4e9f0;
  }
  body.theobib-warm-stone #bookIntroduction button:hover {
    background: #65435a; color: #fff8fc;
  }
  body.theobib-warm-stone #bookIntroduction :is(a, .book-outline-label) {
    color: #eab3ce;
  }
  body.theobib-warm-stone #bookIntroduction :is(
    .book-outline-warning, .book-outline-correction
  ) { color: #efd0a4; }
  body.theobib-warm-stone #bookIntroduction :is(.outline-target, .outline-passage-banner) {
    background: #503b48; color: #f4e9f0; border-color: #b18b9f;
  }

  /* Catalogue buttons are light surfaces within the dark reader. */
  body.theobib-warm-stone #reader-workspace .pt-book-resource-list {
    --ink: #30252c; --green: #652c4c; --muted: #5d4d57;
    color: #30252c;
  }
  body.theobib-warm-stone #reader-workspace .pt-book-resource-list button {
    color: #57223b; background: #f2e6ed; border-color: #b5a1ac;
  }
  /* Edition notes sit on the light Bible paper, not the dark application. */
  body.theobib-warm-stone #verses .scripture-verse-block > details.small-meta {
    --muted: #5d4d57; --green: #652c4c;
    color: #5d4d57;
  }
  body.theobib-warm-stone #verses .bsb-footnotes {
    --muted: #5d4d57; --green: #652c4c;
    color: #30252c;
  }
  body.theobib-warm-stone #reader-workspace #verses .bible-verse sup {
    color: #4c403b;
  }
  body.theobib-warm-stone #verses :is(.bsb-footnote-marker a, .bsb-footnote-backlink) {
    color: #275473;
  }
  body.theobib-warm-stone #chapterContextRoot .chapter-context-current > button {
    background: #edf2e8; color: #315b45; border-color: #bdcbbf;
  }
  body.theobib-warm-stone #verses .verse-media-selection > button {
    color: #31523a;
  }
  body.theobib-warm-stone #reader-workspace :is(
    .tyndale-note, .pt-resource-card, .study-card, .net-note
  ) :is(h4, h5) { color: #f4e9f0; }
  body.theobib-warm-stone #netBibleNotesPanel :is(.net-verse-text, .net-note-body) {
    color: #f4e9f0;
  }
  body.theobib-warm-stone #netBibleNotesPanel .net-note-body a { color: #eab3ce; }
  body.theobib-warm-stone #netBibleNotesPanel .net-notes-head > button {
    background: #503b48; color: #f4e9f0; border-color: #967789;
  }
  body.theobib-warm-stone #reader-workspace .inline-interlinear :is(
    .greek-precision-form, .inline-interlinear-pair .interlinear-word-link, .sblgnt-panel
  ) { color: #f4e9f0; }
  body.theobib-warm-stone #reader-workspace .inline-interlinear :is(
    .greek-precision-gloss, .inline-interlinear-gloss
  ) { color: #a8d7ff; }
  body.theobib-warm-stone #reader-workspace .inline-interlinear :is(
    .greek-precision-morph, .greek-precision-note, .inline-interlinear-hint,
    .sblgnt-note, .greek-source-entry > summary
  ) { color: #cebac7; }
  body.theobib-warm-stone #reader-workspace .inline-interlinear .greek-precision-token:is(
    :hover, :focus-visible, [aria-pressed="true"]
  ) { background: #65435a; border-color: #b18b9f; }
  /* SBLGNT's embedded source card and bracket highlights remain light. */
  body.theobib-warm-stone #reader-workspace .inline-interlinear .sblgnt-study {
    --ink: #293e2f; --green: #315b42; --muted: #526258; color: #293e2f;
  }
  body.theobib-warm-stone #reader-workspace .inline-interlinear .sblgnt-bracketed {
    color: #293e2f;
  }
  body.theobib-warm-stone #reader-workspace .inline-interlinear .sblgnt-panel > .sblgnt-disclosure > summary {
    color: #cebac7;
  }
  body.theobib-warm-stone #reader-workspace .unified-word-card :is(
    .unified-word-lemma, .unified-word-meta, summary, .unified-note-back
  ) { color: #cebac7; }
  body.theobib-warm-stone #reader-workspace .unified-word-card :is(a, .unified-word-reference) {
    color: #a8d7ff;
  }
  body.theobib-warm-stone #reader-workspace .unified-word-card .unified-footnote-ref {
    color: #eab3ce !important;
  }
  body.theobib-warm-stone #reader-workspace .unified-word-card :is(
    select, .unified-reading-choice, .unified-word-more
  ) { color: #30252c; background: #f2e6ed; }
  body.theobib-warm-stone #reader-workspace .unified-word-card :is(
    .lexical-source-record, .unified-minimal-occurrences mark,
    .unified-word-preview-token.is-match
  ) { --ink: #293e2f; --muted: #526258; --green: #315b42; color: #293e2f; }
  body.theobib-warm-stone #reader-workspace .unified-word-card .lexical-source-record :is(
    summary, a, .unified-word-meta
  ) { color: #315b42; }
  /* Ancient-author cards retain their own light, readable surface. */
  body.theobib-warm-stone #reader-workspace .helloao-ancient-panel {
    --ink: #263d31; --muted: #526258; --green: #315b42; --pale: #e4ece1;
    color: #263d31;
  }
  body.theobib-warm-stone #reader-workspace .helloao-ancient-panel :is(button, select) {
    background: #f2e6ed; color: #57223b; border-color: #b5a1ac;
  }
  body.theobib-warm-stone #reader-workspace .helloao-ancient-panel [aria-selected="true"] {
    background: #d9c3d0; color: #442032; border-color: #856073;
  }
}


/* Ported from private-reader-paper-style */

/* Bible paper only. Existing study cards and application colours stay local. */
@media screen {
 body[data-bible-paper="gray"] {
  --reader-paper-bg:#d5d0ca;--reader-paper-ink:#30252c;--reader-paper-secondary:#4c403b;
  --reader-paper-note:#5d4d57;--reader-paper-link:#275473;--reader-paper-line:#b7aea5;
  --reader-paper-selection:color-mix(in srgb,#d5d0ca 88%,#7b214a);
 }
 body[data-bible-paper="white"] {
  --reader-paper-bg:#fff;--reader-paper-ink:#000;--reader-paper-secondary:#353535;
  --reader-paper-note:#353535;--reader-paper-link:#1d4f78;--reader-paper-line:#c9c9c9;
  --reader-paper-selection:#eee8ec;
 }
 body[data-bible-paper="black"] {
  --reader-paper-bg:#000;--reader-paper-ink:#fff;--reader-paper-secondary:#d6d6d6;
  --reader-paper-note:#d6d6d6;--reader-paper-link:#a8d7ff;--reader-paper-line:#777;
  --reader-paper-selection:#292229;
 }
 body.theobib-warm-stone[data-bible-paper] #reader-workspace #verses {
  background:var(--reader-paper-bg);color:var(--reader-paper-ink);border-color:var(--reader-paper-line);
 }
 body.theobib-warm-stone[data-bible-paper] #reader-workspace #verses .bible-verse {
  color:var(--reader-paper-ink);
 }
 body.theobib-warm-stone[data-bible-paper] #reader-workspace #verses :is(.bible-verse.is-selected,.pt-verse-text[aria-selected="true"]) {
  background:var(--reader-paper-selection);
 }
 body.theobib-warm-stone[data-bible-paper] #reader-workspace #verses .bible-verse sup {
  color:var(--reader-paper-secondary);
 }
 body.theobib-warm-stone[data-bible-paper] #verses .scripture-verse-block > details.small-meta {
  --muted:var(--reader-paper-note);--green:var(--reader-paper-link);color:var(--reader-paper-note);
 }
 body.theobib-warm-stone[data-bible-paper] #verses .bsb-footnotes {
  --muted:var(--reader-paper-note);--green:var(--reader-paper-link);color:var(--reader-paper-ink);border-color:var(--reader-paper-line);
 }
 body.theobib-warm-stone[data-bible-paper] #verses .bsb-footnotes h3 { color:var(--reader-paper-ink); }
 body.theobib-warm-stone[data-bible-paper] #verses .source-place-footnotes {
  --muted:var(--reader-paper-note);--green:var(--reader-paper-link);color:var(--reader-paper-ink);border-color:var(--reader-paper-line);
 }
 body.theobib-warm-stone[data-bible-paper] #verses .source-place-footnotes h3 { color:var(--reader-paper-ink); }
 body.theobib-warm-stone[data-bible-paper] #verses .source-place-footnotes .source-place-citation { color:var(--reader-paper-link); }
 body.theobib-warm-stone[data-bible-paper] #verses .source-place-footnotes > details > button {
  background:var(--reader-paper-selection);color:var(--reader-paper-ink);
 }
 body.theobib-warm-stone[data-bible-paper] #verses .bsb-section-heading h3 { color:var(--reader-paper-ink); }
 body.theobib-warm-stone[data-bible-paper] #verses .bsb-heading-source { color:var(--reader-paper-note); }
 body.theobib-warm-stone[data-bible-paper] #verses .pt-bible-psalm-title { color:var(--reader-paper-note); }
 body.theobib-warm-stone[data-bible-paper] #verses .bsb-heading-references .study-reference-text { color:var(--reader-paper-link); }
 body.theobib-warm-stone[data-bible-paper] #verses :is(.bsb-footnote-marker a,.bsb-footnote-backlink,.pt-bible-note-marker,.verse-media-selection > button) {
  color:var(--reader-paper-link);
 }
 body.theobib-warm-stone #reader-workspace .chapter-navigation > .reader-next-group {
  display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;justify-self:end;
 }
 body.theobib-warm-stone #reader-workspace .reader-next-group > button {
  flex:0 1 auto;min-height:36px;padding:6px 10px;width:auto;min-width:0;
 }
 body.theobib-warm-stone #reader-workspace .reader-paper-options {
  display:flex;align-items:center;gap:2px;flex:0 0 auto;
 }
 body.theobib-warm-stone #reader-workspace .chapter-navigation .reader-paper-option {
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;
  width:36px;height:36px;min-width:36px;min-height:36px;padding:4px;margin:0;
  border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer;
 }
 .reader-paper-swatch {
  display:grid;place-items:center;width:26px;height:26px;border:2px solid #a59a91;
  border-radius:50%;background:#d5d0ca;color:#000;box-sizing:border-box;
 }
 [data-reader-paper-choice="white"] .reader-paper-swatch { background:#fff; }
 [data-reader-paper-choice="black"] .reader-paper-swatch { background:#000;border:2px solid #fff;color:#fff; }
 [data-reader-paper-choice][aria-checked="true"] .reader-paper-swatch::after { content:'✓';font:700 16px/1 system-ui; }
 body.theobib-warm-stone #reader-workspace .chapter-navigation .reader-paper-option[aria-checked="true"] { box-shadow:0 0 0 2px #eab3ce; }
 body.theobib-warm-stone #reader-workspace .chapter-navigation .reader-paper-option:focus-visible { outline:3px solid #fff;outline-offset:3px; }
 .language-mode .reader-paper-options { display:none!important; }
 @media(max-width:760px) {
  body.theobib-warm-stone #reader-workspace .chapter-navigation > .reader-next-group { grid-column:2;grid-row:2;flex-wrap:wrap;gap:5px;width:100%; }
  body.theobib-warm-stone #reader-workspace .reader-next-group > button { flex:1 1 auto; }
  body.theobib-warm-stone #reader-workspace .reader-paper-options { margin-left:auto; }
  body.theobib-warm-stone #reader-workspace .interlinear-main-section > .language-section-content > .reader-about {
   flex-basis:calc(100% - 44px);max-width:calc(100% - 44px);box-sizing:border-box;
  }
 }
}


/* Ported from private-contrast-followup */

/* Scoped corrections for the screenshot-reported light tabs and dark-paper subheadings. */
@media screen {
body.theobib-warm-stone #reader-workspace #verses .helloao-ancient-panel .helloao-author-tabs>button{
  background:#f2e6ed!important;color:#57223b!important;border-color:#9c7189!important;
}
body.theobib-warm-stone #reader-workspace #verses .helloao-ancient-panel .helloao-author-tabs>button[aria-selected=true]{
  background:#65435a!important;color:#fff!important;border-color:#b993a8!important;box-shadow:inset 0 -2px #eab3ce;
}
body.theobib-warm-stone #reader-workspace #verses .helloao-ancient-panel .helloao-author-tabs>button:hover:not(:disabled):not([aria-selected=true]){
  background:#e1ccd8!important;color:#442032!important;border-color:#856073!important;
}
body.theobib-warm-stone #reader-workspace #verses .helloao-ancient-panel .helloao-author-tabs>button:focus-visible{
  outline:3px solid #652c4c;outline-offset:3px;
}
body.theobib-warm-stone[data-bible-paper] #reader-workspace #verses .bsb-section-heading :is(h3,h4){
  color:var(--reader-paper-ink,#30252c)!important;
}
}


/* Ported from private-comparison-background */

/* Comparison is a separate reading surface; verse actions share one state palette. */
@media screen {
body.theobib-warm-stone #reader-workspace #verses .scripture-verse-block>.open-study-compare{
  --compare-bg:#eee3eb;--compare-ink:#30252c;--compare-line:#ae8ba1;--compare-accent:#7b365b;--compare-control:#fff8fc;--compare-link:#57223b;
  background:var(--compare-bg);color:var(--compare-ink);border:1px solid var(--compare-line);border-left:3px solid var(--compare-accent);border-radius:6px;padding:12px 16px;margin:8px auto 14px;
}
body.theobib-warm-stone[data-bible-paper=white] #reader-workspace #verses .scripture-verse-block>.open-study-compare{--compare-bg:#e3d5e1}
body.theobib-warm-stone[data-bible-paper=black] #reader-workspace #verses .scripture-verse-block>.open-study-compare{
  --compare-bg:#352834;--compare-ink:#f4e9f0;--compare-line:#92768a;--compare-accent:#c597b0;--compare-control:#4b3846;--compare-link:#f3bdd9;
}
body.theobib-warm-stone #reader-workspace #verses .open-study-compare-text{color:var(--compare-ink)}
body.theobib-warm-stone #reader-workspace #verses .open-study-compare-edition select{
  color-scheme:light;background:var(--compare-control);color:var(--compare-ink);border-color:var(--compare-line);
}
body.theobib-warm-stone[data-bible-paper=black] #reader-workspace #verses .open-study-compare-edition select{color-scheme:dark}
body.theobib-warm-stone #reader-workspace #verses .open-study-compare-rights[open]{background:var(--compare-control);color:var(--compare-ink);border-color:var(--compare-line)}
body.theobib-warm-stone #reader-workspace #verses .open-study-compare .open-study-notice{color:var(--compare-ink)}
body.theobib-warm-stone #reader-workspace #verses .open-study-compare a{color:var(--compare-link)}
/* Direct children only: keep author tabs and other nested light cards independent. */
body.theobib-warm-stone #reader-workspace #verses .scripture-verse-block>.verse-study-actions>.verse-language-action{
  background:#503b48!important;color:#f4e9f0!important;border-color:#7a5c6f!important;box-shadow:none!important;
}
body.theobib-warm-stone #reader-workspace #verses .scripture-verse-block>.verse-study-actions>.verse-language-action[aria-expanded=true]{
  background:#65435a!important;color:#f4e9f0!important;border-color:#7a5c6f!important;box-shadow:inset 0 -2px #eab3ce!important;
}
body.theobib-warm-stone #reader-workspace #verses .scripture-verse-block>.verse-study-actions>.verse-language-action:hover:not(:disabled):not([aria-expanded=true]){
  background:#634455!important;color:#f4e9f0!important;border-color:#ab859b!important;
}
body.theobib-warm-stone #reader-workspace #verses .scripture-verse-block>.verse-study-actions>.verse-language-action:focus-visible{outline:3px solid #eab3ce;outline-offset:3px}
@media(max-width:480px){body.theobib-warm-stone #reader-workspace #verses .scripture-verse-block>.open-study-compare{padding:10px 12px}}
}


/* Ported from private-word-preview-contrast */

/* Pair word interaction colours explicitly on every Bible paper option. */
@media screen {
 body.theobib-warm-stone #reader-workspace #verses :is(
  .tyndale-term,.pt-dictionary-term,.geography-term,.source-place-link,
  .inline-study-term,.context-place-term
 ):is(:hover,:focus-visible,[aria-expanded="true"]) {
  background:#65435a;color:#fff;
  text-decoration-color:#fff;text-decoration-style:solid;
  border-radius:2px;
 }
 body.theobib-warm-stone #verses :is(
  .tyndale-term,.pt-dictionary-term,.geography-term,.source-place-link,
  .inline-study-term,.context-place-term
 ):focus-visible {outline:2px solid #b76b93;outline-offset:2px}

 /* Solid, clearly bounded resource menus above light and dark Bible paper. */
 body.theobib-warm-stone :is(
  .inline-study-choices,.context-place-choices,.geography-choices
 ) {
  box-sizing:border-box;max-width:calc(100vw - 16px);flex-wrap:wrap;
  padding:8px;gap:6px;background:#33242e;color:#fff;
  border:2px solid #b88da5;border-radius:9px;
  box-shadow:0 5px 20px #0006;
 }
 body.theobib-warm-stone :is(
  .inline-study-choices,.context-place-choices,.geography-choices
 ) button {
  min-height:40px;margin:0;padding:8px 12px;
  background:#f6e9f0;color:#402035;border:1px solid #b88da5;
  border-radius:5px;font:600 14px/1.4 system-ui;cursor:pointer;
 }
 body.theobib-warm-stone :is(
  .inline-study-choices,.context-place-choices,.geography-choices
 ) button:is(:hover,:focus-visible) {
  background:#65435a;color:#fff;border-color:#eab3ce;
 }
 body.theobib-warm-stone :is(
  .inline-study-choices,.context-place-choices,.geography-choices
 ) button:focus-visible {outline:2px solid #fff;outline-offset:2px}
}


/* Ported from private-map-theme */

/* Map presentation shares the reader's burgundy/plum controls.
   Geographic layers, source images, water and regional swatches keep their colours. */
@media screen {
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) {
  --ink:#f4e9f0;--muted:#cebac7;--green:#eab3ce;--line:#7a5c6f;--pale:#44303e;
  --ui-text:#f4e9f0;--ui-secondary:#cebac7;--ui-action:#eab3ce;
  --ui-selection:#65435a;--ui-control:#967789;
  background:#44303e;color:#f4e9f0;border:1px solid #7a5c6f;
  border-radius:12px;box-shadow:0 6px 22px #0002;
  font:15px/1.6 system-ui;overflow-wrap:anywhere;
 }
 body.theobib-warm-stone :is(.passage-map-head,.bible-map-head) {
  align-items:flex-start;gap:12px;padding-bottom:10px;margin-bottom:12px;
  border-bottom:1px solid #7a5c6f;
 }
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) :is(h3,h4,strong,summary) {color:#f4e9f0}
 body.theobib-warm-stone :is(.passage-map-head,.bible-map-head) h3 {
  margin:0;padding:0;border:0;font:600 25px/1.3 Georgia,serif;
 }
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) :is(button,select) {
  box-sizing:border-box;min-height:40px;margin:0;padding:8px 12px;
  border:1px solid #967789;border-radius:7px;background:#503b48;color:#f4e9f0;
  font:600 14px/1.4 system-ui;max-width:100%;white-space:normal;
 }
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) select {color-scheme:dark}
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) button:hover:not(:disabled) {
  background:#65435a;color:#fff;border-color:#eab3ce;
 }
 body.theobib-warm-stone :is(.passage-map-tabs,.passage-map-tools,.bible-map-choices,.bible-map-controls) {gap:8px}
 body.theobib-warm-stone :is(.passage-map-tabs,.passage-map-tools,.bible-map-choices,.bible-map-controls) button:is([aria-pressed="true"],[aria-selected="true"]) {
  background:#eab3ce;color:#402035;border-color:#eab3ce;box-shadow:inset 0 -2px #b77496;
 }
 body.theobib-warm-stone :is(.passage-map-head,.bible-map-head)>button {
  flex:0 0 40px;width:40px;min-width:40px;height:40px;padding:0;font-size:24px;line-height:1;
 }
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) :is(a,.passage-map-list button) {color:#f2c8dd}
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) :is(a,button,select,summary,[tabindex]):focus-visible {
  outline:3px solid #eab3ce;outline-offset:3px;
 }
 body.theobib-warm-stone :is(.passage-map-note,.passage-map-explanation,.bible-map-status,.bible-map-credit,.passage-journey-notes small) {color:#cebac7}
 body.theobib-warm-stone :is(.passage-map-card,.bible-map-card,.bible-place-info) small {color:#cebac7}
 body.theobib-warm-stone :is(.passage-atlas-legend,.passage-journey-notes,.geography-enrichment) {
  padding:12px;border:1px solid #7a5c6f;border-radius:8px;background:#342730;color:#f4e9f0;
 }
 body.theobib-warm-stone .passage-atlas-legend {font-size:13px}
 body.theobib-warm-stone .geography-enrichment {background:#342730!important;border-color:#7a5c6f!important}
 body.theobib-warm-stone .passage-atlas-legend strong {display:block;margin-top:9px}
 body.theobib-warm-stone .passage-atlas-legend ul {gap:7px 16px;margin:6px 0}
 body.theobib-warm-stone .passage-atlas-swatch {flex:0 0 17px;border-color:#b6a7ad}
 body.theobib-warm-stone .geography-passage-preview {background:#503b48!important;color:#f4e9f0!important;border-color:#967789!important}
 body.theobib-warm-stone .bible-map-status.is-unavailable {background:#503b48;color:#f4e9f0}

 body.theobib-warm-stone :is(.passage-map-dialog,.bible-map-dialog,.offline-atlas-dialog) {
  background:#2c2229;color:#f4e9f0;border:1px solid #967789;border-radius:12px;
  box-shadow:0 16px 56px #0007;overscroll-behavior:contain;
 }
 body.theobib-warm-stone :is(.passage-map-dialog,.bible-map-dialog,.offline-atlas-dialog)::backdrop {background:#160d15c9}
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas,.static-map-viewport,.atlas-viewport) {border-color:#967789}
 body.theobib-warm-stone :is(.static-map-viewport,.atlas-viewport) {background:#d5d0ca}
 /* Leaflet's light map controls and source labels need their own dark ink. */
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) :is(.leaflet-popup-content-wrapper,.leaflet-tooltip:not(.passage-water-label):not(.passage-region-label),.passage-map-north) {
  background:#fff;color:#402035;border-color:#b8a0ad;
 }
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) .leaflet-popup-content-wrapper a {color:#6a2346}
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) a.leaflet-popup-close-button {color:#402035}
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) :is(a,button,[tabindex]):focus-visible {outline-color:#6a2346}
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) .leaflet-control-zoom a {
  background:#fff;color:#402035;border-color:#b8a0ad;text-decoration:none;
 }
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) .leaflet-control-zoom a:hover {background:#f2e6ed;color:#402035}
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) .leaflet-control-scale-line {background:#fff;color:#402035;border-color:#7a5c6f}
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) .leaflet-control-attribution {background:#fff;color:#402035}
 body.theobib-warm-stone :is(.passage-map-canvas,.bible-map-canvas) .leaflet-control-attribution a {color:#1d4f78}
 @media(max-width:650px){
  body.theobib-warm-stone :is(.passage-map-head,.bible-map-head) h3 {font-size:21px}
  body.theobib-warm-stone :is(.passage-map-card,.bible-map-card) {padding:12px}
  body.theobib-warm-stone .passage-map-tools select {width:100%;min-width:0}
  body.theobib-warm-stone :is(.passage-atlas-legend,.passage-journey-notes,.geography-enrichment) {padding:10px}
 }
}


/* Ported from private-sblgnt-contrast */

/* SBLGNT appears in both English inline and Portuguese study panels. */
@media screen {
  body.theobib-warm-stone #reader-workspace .sblgnt-panel { color:#f4e9f0; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-note { color:#cebac7; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-disclosure > summary { color:#eab3ce; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel a { color:#a8d7ff; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-study {
    --ink:#293e2f; --muted:#526258; --green:#315b42;
    background:#f7faf3; color:#293e2f;
  }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-study :is(h4,.sblgnt-prose,.sblgnt-heading) { color:#293e2f; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-study .sblgnt-note { color:#526258; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-study summary { color:#315b42; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-study a { color:#275f80; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-bracketed { color:#293e2f; }
  body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-word:is(:hover,:focus-visible,[aria-pressed="true"]) { background:#dcebd5; color:#244e33; }
}
@media screen {
  body.theobib-warm-stone #reader-workspace .pt-original-word {
    background:#fff; color:#293e2f; border-color:#a7b8a5;
  }
  body.theobib-warm-stone #reader-workspace .pt-original-word > span:first-child { color:#293e2f; }
  body.theobib-warm-stone #reader-workspace .pt-original-word small { color:#526258; }
  body.theobib-warm-stone #reader-workspace .pt-original-word .pt-token-gloss { color:#155b96; }
  body.theobib-warm-stone #reader-workspace .pt-original-word:is(:hover,:focus-visible,[aria-pressed="true"]) {
    background:#e4ece1; color:#293e2f; border-color:#71866d;
  }
}

/* Ported from private-context-design */

/* Context uses the private reader's existing burgundy/plum study palette. */
@media screen {
body.theobib-warm-stone #reader-workspace #chapterContextRoot{
 --ctx-panel:#44303e;--ctx-card:#503b48;--ctx-tabs:#34212e;--ctx-line:#7a5c6f;--ctx-text:#f4e9f0;--ctx-muted:#cebac7;--ctx-accent:#eab3ce;--ctx-active:#65435a;
 color:var(--ctx-text);
}
body.theobib-warm-stone #reader-workspace #chapterContextPanel{background:var(--ctx-panel);color:var(--ctx-text);border-color:var(--ctx-line);border-radius:10px;padding:16px}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-head{background:#4c142d;color:var(--ctx-text);margin:-16px -16px 12px;padding:14px 16px;border-radius:9px 9px 0 0}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-head h3{color:var(--ctx-text);font-size:24px;margin:4px 0 0}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-eyebrow,.chapter-context-budget,.chapter-context-trail,.chapter-context-facts dt,.chapter-context-dating,.chapter-context-source,.chapter-context-credits,.chapter-context-video-credit){color:var(--ctx-muted)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-tabs{background:var(--ctx-tabs);padding:6px;border-radius:6px;margin:10px 0 14px}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-tabs>button{background:var(--ctx-card);color:var(--ctx-text);border-color:var(--ctx-line);border-radius:6px;min-height:36px;box-shadow:none}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-tabs>button[aria-selected=true]{background:var(--ctx-active);color:var(--ctx-text);border-color:#b18b9f;box-shadow:inset 0 -2px var(--ctx-accent)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-step,.chapter-context-video-card){background:var(--ctx-card);color:var(--ctx-text);border-color:var(--ctx-line);border-radius:8px;padding:16px}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-step h4,.chapter-context-step h5,.chapter-context-videos>h4,.chapter-context-video-card h5){color:var(--ctx-text)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-step p,.chapter-context-step dd,.chapter-context-videos>p,.chapter-context-video-card>p){color:var(--ctx-text)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-source p,.chapter-context-dating,.chapter-context-video-credit){color:var(--ctx-muted)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-number,.chapter-context-video-duration){background:var(--ctx-active);color:var(--ctx-text)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-current{border-left:3px solid var(--ctx-accent)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-section{border-top-color:var(--ctx-line)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-question{background:var(--ctx-active);color:var(--ctx-text)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-source a,.chapter-context-credits a,.chapter-context-cues button){color:#f1bfd9}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-cues button{background:transparent}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-current>button,.chapter-context-actions button,.chapter-context-neighbours button){background:var(--ctx-card);color:var(--ctx-text);border:1px solid var(--ctx-line);border-radius:6px;padding:8px 12px;min-height:36px}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-current>button{background:var(--ctx-active);border-color:#aa869c}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-actions button:first-child,.chapter-context-watch){background:#4c142d;color:#fff;border-color:#aa869c}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-tabs>button,.chapter-context-actions button,.chapter-context-neighbours button,.chapter-context-current>button):hover:not(:disabled){background:var(--ctx-active);border-color:#b18b9f;color:var(--ctx-text)}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :focus-visible{outline:3px solid var(--ctx-accent);outline-offset:3px}
body.theobib-warm-stone #reader-workspace #chapterContextTab{background:#44303e;color:#f4e9f0;border-color:#7a5c6f;box-shadow:none}
body.theobib-warm-stone #reader-workspace #chapterContextTab[aria-expanded=true]{background:#65435a;color:#f4e9f0;border-color:#b18b9f;box-shadow:inset 0 -2px #eab3ce}
/* The chronology chart keeps its data colours on a light reading surface. */
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chronology-widget{--ink:#30252c;--green:#652c4c;--muted:#655661;--line:#c4b6bf;background:#f3eff2;color:#30252c;border-color:#bca6b4}
body.theobib-warm-stone #reader-workspace #chapterContextRoot .chronology-embedded-heading{color:#30252c}
body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chronology-controls>button,.chronology-focus-label select,.chronology-period-choices button){background:#fff;color:#57223b;border-color:#bca6b4}
@media(max-width:650px){
 body.theobib-warm-stone #reader-workspace #chapterContextPanel{padding:12px}
 body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-tabs{gap:4px;padding:4px}
 body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-tabs>button{flex:1 1 0;min-width:0;font-size:12px;padding:7px 5px}
 body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-head{margin:-12px -12px 10px;padding:12px}
 body.theobib-warm-stone #reader-workspace #chapterContextRoot .chapter-context-head h3{font-size:22px}
 body.theobib-warm-stone #reader-workspace #chapterContextRoot :is(.chapter-context-step,.chapter-context-video-card){padding:13px}
}
}


/* Ported from private-study-cards-design */

/* Complete the existing study-card palette without changing rendering or layout logic. */
@media screen {
body.theobib-warm-stone #reader-workspace{--study-surface:#44303e;--study-card:#503b48;--study-tab:#34212e;--study-line:#7a5c6f;--study-text:#f4e9f0;--study-muted:#cebac7;--study-link:#eab3ce;--study-active:#65435a}
body.theobib-warm-stone #reader-workspace :is(.lxx-panel,.helloao-ancient-panel,.open-study-panel){
 --ink:var(--study-text);--muted:var(--study-muted);--green:var(--study-link);--line:var(--study-line);--panel-bg:var(--study-card);--border:var(--study-line);
 background:var(--study-surface);color:var(--study-text);border-color:var(--study-line);border-left-color:var(--study-link);border-radius:10px;
}
body.theobib-warm-stone #reader-workspace .lxx-panel{--study-pad:14px;padding:var(--study-pad)}
body.theobib-warm-stone #reader-workspace :is(.helloao-ancient-panel,.open-study-panel,.unified-word-card){--study-pad:16px;padding:var(--study-pad)}
body.theobib-warm-stone #reader-workspace #netBibleNotesPanel{--study-pad:15px}
body.theobib-warm-stone #reader-workspace .inline-study-card{--study-pad:12px}
body.theobib-warm-stone #reader-workspace :is(.lxx-head,.helloao-heading,.open-study-heading,.net-notes-head,.unified-word-heading,.inline-study-heading){
 background:#4c142d;color:var(--study-text);margin:calc(-1 * var(--study-pad)) calc(-1 * var(--study-pad)) 12px;padding:var(--study-pad);border-radius:9px 9px 0 0;
}
body.theobib-warm-stone #reader-workspace :is(.lxx-head,.helloao-heading,.open-study-heading,.net-notes-head,.unified-word-heading,.inline-study-heading)>:is(h3,h4){color:var(--study-text);border:0;padding:0;margin:0}
body.theobib-warm-stone #reader-workspace :is(.lxx-head,.helloao-heading,.open-study-heading,.net-notes-head,.unified-word-heading,.inline-study-heading)>button{background:var(--study-card);color:var(--study-text);border:1px solid #967789;border-radius:6px;min-width:30px}
/* Historical authors: content, tabs and secondary source labels. */
body.theobib-warm-stone #reader-workspace .helloao-author-content{background:var(--study-card);color:var(--study-text);border:1px solid var(--study-line);border-radius:7px;padding:12px}
body.theobib-warm-stone #reader-workspace .helloao-ancient-panel :is(.helloao-prose,.helloao-author-content>h4,.helloao-entry h5){color:var(--study-text)}
body.theobib-warm-stone #reader-workspace .helloao-ancient-panel :is(.helloao-meta,.helloao-sources){color:var(--study-muted)}
body.theobib-warm-stone #reader-workspace .helloao-entry{border-color:var(--study-line)}
body.theobib-warm-stone #reader-workspace :is(.helloao-author-tabs,.unified-minimal-tabs){background:var(--study-tab);border-color:var(--study-line);padding:6px;border-radius:6px;gap:6px}
body.theobib-warm-stone #reader-workspace #verses .helloao-ancient-panel .helloao-author-tabs>button,
body.theobib-warm-stone #reader-workspace .unified-minimal-tabs>button{background:#503b48!important;color:#f4e9f0!important;border-color:#7a5c6f!important;box-shadow:none}
body.theobib-warm-stone #reader-workspace #verses .helloao-ancient-panel .helloao-author-tabs>button[aria-selected=true],
body.theobib-warm-stone #reader-workspace .unified-minimal-tabs>button[aria-pressed=true]{background:#65435a!important;color:#f4e9f0!important;border-color:#b18b9f!important;box-shadow:inset 0 -2px #eab3ce}
body.theobib-warm-stone #reader-workspace #verses .helloao-ancient-panel .helloao-author-tabs>button:hover:not(:disabled):not([aria-selected=true]),
body.theobib-warm-stone #reader-workspace .unified-minimal-tabs>button:hover:not(:disabled):not([aria-pressed=true]){background:#634455!important;color:#f4e9f0!important;border-color:#ab859b!important}
body.theobib-warm-stone #reader-workspace .helloao-ancient-panel .first-clement-scripture-result{background:var(--study-card);color:var(--study-text);border-color:var(--study-line)}
body.theobib-warm-stone #reader-workspace .helloao-ancient-panel :is(a,.first-clement-scripture-result button){color:var(--study-link)}
/* LXX forms, translations, lexical details and concordance remain distinct. */
body.theobib-warm-stone #reader-workspace .lxx-panel :is(.lxx-greek,.lxx-english,.lxx-word-details h4,.lxx-meaning,.lxx-index-column h5,.lxx-index-forms){color:var(--study-text)}
body.theobib-warm-stone #reader-workspace .lxx-panel :is(.lxx-gloss,.lxx-index-ref){color:#a8d7ff}
body.theobib-warm-stone #reader-workspace .lxx-panel :is(.lxx-meta,.lxx-edition,.lxx-reference,.lxx-alternatives,.lxx-provenance,.lxx-empty,.lxx-index-candidate,.lxx-index-legend,.lxx-index-about,.lxx-match-group h6,.lxx-lemma-label){color:var(--study-muted)}
body.theobib-warm-stone #reader-workspace .lxx-panel .lxx-error{color:#ffc0b9}
body.theobib-warm-stone #reader-workspace .lxx-panel :is(.lxx-word-details,.lxx-concordance){background:var(--study-card);color:var(--study-text);border-color:var(--study-line)}
body.theobib-warm-stone #reader-workspace .lxx-panel .lxx-concordance>summary{color:var(--study-link)}
body.theobib-warm-stone #reader-workspace .lxx-panel .lxx-source+.lxx-source{border-color:var(--study-line)}
body.theobib-warm-stone #reader-workspace .lxx-panel .lxx-word:is(:hover,:focus-visible,[aria-pressed=true]){background:var(--study-active);border-color:#b18b9f}
body.theobib-warm-stone #reader-workspace :is(.lxx-panel select,.net-notes-controls select,.open-study-panel select){color-scheme:dark;background:var(--study-tab);color:var(--study-text);border-color:#967789}
body.theobib-warm-stone #reader-workspace .lxx-panel :is(.lxx-close,.lxx-index-more),
body.theobib-warm-stone #reader-workspace .helloao-ancient-panel>[data-open-study-authors]{background:var(--study-card);color:var(--study-text);border:1px solid #967789;border-radius:6px}
/* Historical author comparison and inline person/event resources. */
body.theobib-warm-stone #reader-workspace .open-study-author-grid>div{background:var(--study-card);border:1px solid var(--study-line);border-radius:7px;padding:12px;min-width:0}
body.theobib-warm-stone #reader-workspace .open-study-panel :is(h4,h5,.open-study-author-text,.open-study-notice){color:var(--study-text)}
body.theobib-warm-stone #reader-workspace :is(.open-study-panel,.inline-study-card) a{color:var(--study-link)}
body.theobib-warm-stone #reader-workspace .inline-study-card :is(.inline-study-meta,.inline-study-credit){color:var(--study-muted)}
body.theobib-warm-stone #reader-workspace :is(.inline-study-supplement,.inline-study-person,.open-study-preview){border-color:var(--study-line)}
/* Keep source quotation areas light, using a neutral plum tint and dark ink. */
body.theobib-warm-stone #reader-workspace :is(.lexical-source-record,.sblgnt-study,.pt-original-word,.selected-word-details,.strongs-lexicon){
 --ink:#30252c;--muted:#655661;--green:#57223b;--line:#c4b0bd;background:#f3edf1;color:#30252c;border-color:#c4b0bd;
}
body.theobib-warm-stone #reader-workspace .lexical-source-record :is(.lexical-entry-headword,.lexical-source-heading h5,summary,a){color:#57223b}
body.theobib-warm-stone #reader-workspace .lexical-source-record :is(.lexical-language,.lexical-citation,.lexical-sense-number,.unified-word-meta){color:#655661}
body.theobib-warm-stone #reader-workspace :is(.lexical-source-heading,.lexical-sense,.lexical-original){border-color:#c4b0bd}
body.theobib-warm-stone #reader-workspace :is(.selected-word-context,.selected-word-label,.selected-word-metadata,.strongs-definition-label){color:#655661}
body.theobib-warm-stone #reader-workspace :is(.selected-word-headword,.selected-word-transliteration,.strongs-transliteration){color:#30252c}
body.theobib-warm-stone #reader-workspace :is(.selected-word-english,.strongs-reference-link){color:#57223b}
body.theobib-warm-stone #reader-workspace .unified-word-card .unified-occurrence-text{border-color:var(--study-line)}
body.theobib-warm-stone #reader-workspace .unified-word-card :is(.unified-word-reference,.unified-word-preview){border-color:var(--study-line)}
body.theobib-warm-stone #reader-workspace .unified-word-card .unified-word-more{background:var(--study-card);color:var(--study-text);border-color:#967789}
body.theobib-warm-stone #reader-workspace :is(.lxx-panel,.helloao-ancient-panel,.open-study-panel,.unified-word-card,.inline-study-card) :focus-visible{outline:3px solid #eab3ce;outline-offset:3px}
body.theobib-warm-stone #reader-workspace .sblgnt-panel .sblgnt-study,
body.theobib-warm-stone #reader-workspace .unified-word-card .lexical-source-record{--ink:#30252c;--muted:#655661;--green:#57223b;--line:#c4b0bd;background:#f3edf1;color:#30252c;border-color:#c4b0bd}
body.theobib-warm-stone #reader-workspace .unified-word-card .lexical-source-record :is(summary,a,.unified-word-meta){color:#57223b}
body.theobib-warm-stone #reader-workspace :is(.lexical-source-record,.sblgnt-study,.selected-word-details,.strongs-lexicon) :focus-visible{outline-color:#652c4c}
/* Word-resource menus sit outside the reader DOM; keep their existing placement. */
body.theobib-warm-stone .inline-study-choices{background:#34212e;border-color:#967789}
body.theobib-warm-stone .inline-study-choices button{background:#503b48;color:#f4e9f0}
body.theobib-warm-stone .inline-study-choices button:hover{background:#65435a;color:#f4e9f0}
body.theobib-warm-stone .lxx-index-preview{background:#f3edf1;color:#30252c;border-color:#b18b9f}
body.theobib-warm-stone .lxx-index-preview .lxx-preview-ref{color:#57223b}
@media(max-width:650px){
 body.theobib-warm-stone #reader-workspace :is(.lxx-panel,.helloao-ancient-panel,.open-study-panel,.unified-word-card,.inline-study-card,#netBibleNotesPanel){--study-pad:12px;padding:var(--study-pad)}
 body.theobib-warm-stone #reader-workspace .helloao-author-content{padding:10px}
}
}

