/* Presentation only. Native controls and readable labels work without colour. */
.book-family{--family:#386249;--wash:#eef4e9}
.book-family-history{--family:#866027;--wash:#f7f0e2}
.book-family-poetry{--family:#80566c;--wash:#f6edf2}
.book-family-major{--family:#5f608b;--wash:#eeedf7}
.book-family-minor{--family:#846346;--wash:#f6eee6}
.book-family-gospel{--family:#356b80;--wash:#eaf4f8}
.book-family-acts{--family:#366e67;--wash:#eaf4f0}
.book-family-paul{--family:#655c90;--wash:#f0edf8}
.book-family-letters{--family:#8b5260;--wash:#f8edf0}
.book-family-revelation{--family:#846222;--wash:#f7f0df}
.book-family-other{--family:#63665f;--wash:#f1f2ed}
select.book-select-grouped optgroup{color:var(--family);background:var(--wash);font-style:normal;font-weight:700}
select.book-select-grouped option{color:#242820;background:#fff;padding:9px 12px;font-weight:400}
select.book-select-grouped{display:inline-flex!important;align-items:center;justify-content:space-between;gap:8px}
@supports(appearance:base-select){select.book-select-grouped,select.book-select-grouped::picker(select){appearance:base-select}select.book-select-grouped::picker(select){border:1px solid var(--line,#bbb);border-radius:12px;max-height:min(65vh,560px)}select.book-select-grouped optgroup{padding:8px}select.book-select-grouped option{border-radius:6px}select.book-select-grouped option:checked{font-weight:700}select.book-select-grouped option:hover{background:var(--wash)}}
.book-directory{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
.book-directory .book-family{padding:16px;border:1px solid var(--family);border-left:5px solid var(--family);border-radius:12px;background:var(--wash);display:flex;flex-wrap:wrap;align-content:start;gap:6px}
.book-directory h2{flex-basis:100%;font-size:1rem!important;margin:0 0 8px!important;color:var(--family)}
.book-directory a{display:inline-flex;align-items:center;min-height:44px;padding:6px 11px!important;border:1px solid transparent!important;border-radius:7px;background:transparent!important;color:#252b29!important;text-decoration:none}
.book-directory a:hover,.book-directory a:focus-visible{background:#fff!important;border-color:var(--family)!important}
.book-chapters{padding:14px 18px;border:1px solid var(--line,#c9c7bf);border-radius:10px;margin:8px 0;scroll-margin-top:18px}
.book-chapters summary{cursor:pointer;font-weight:650;min-height:28px}
.book-chapters ul{display:flex;flex-wrap:wrap;list-style:none;gap:8px;padding:0}
.book-chapters a{display:block;padding:8px}
.book-directory .book-chapters{border:0;padding:0;margin:0;background:transparent;min-width:0}
.book-directory .book-chapters summary{padding:9px 10px;min-height:44px;box-sizing:border-box;color:#252b29;border-radius:7px;font-weight:500;cursor:pointer}
.book-directory .book-chapters summary:hover{background:#fff}
.book-directory .book-chapters[open]{flex-basis:100%;background:#ffffff80;border-radius:8px}
.book-directory .book-chapters ul{gap:4px;margin:4px 8px 12px}
.book-directory .book-chapters li{margin:0}
.book-directory .book-chapters a{min-width:44px;justify-content:center}
.reader-source-details,.reader-extra-details{font-size:.9rem;margin:12px 0;color:var(--muted,inherit)}
.reader-source-details summary,.reader-extra-details summary{cursor:pointer;padding:8px 0}
.reader-source-details .meta{margin:8px 0}
.simple-chapter-navigation{display:flex;justify-content:space-between;gap:16px;margin:14px 0}
.simple-chapter-navigation a{display:inline-flex;align-items:center;min-height:44px;padding:6px 12px}
.simple-chapter-navigation a:last-child{margin-left:auto}
.home-progress-compact{margin:28px 0;padding:20px;border:1px solid var(--line,#ddd);border-radius:16px}
.home-progress-compact>summary{cursor:pointer;font-weight:650}
.home-progress-compact .home-progress{margin-top:20px}
.home-complete{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.home-complete span{display:inline-block;padding:7px 14px;border-radius:8px;font-size:.95rem;background:#eef4e9;color:#315641;border:1px solid #9bb09c}
.home-complete span+span{background:#eaf4f8;color:#28596c;border-color:#93aebb}
:root:root .site-home #cantonese-bible-intro{margin:22px 0;padding:20px}
:root:root .site-home #cantonese-bible-intro h2{font-size:1.25rem;margin:0 0 8px}
:root:root .site-home #cantonese-bible-intro p{margin:0;line-height:1.7}
:root:root .site-home .home-context,:root:root .site-home .reading-kicker{display:none}
.home-wordcloud .cloud-term{cursor:default}
.home-wordcloud .cloud-term:hover{text-decoration:none!important}
.home-wordcloud .cloud-term span{animation-iteration-count:1!important;animation-duration:1s!important}
.home-wordcloud .cloud-pause{display:none!important}
.site-home .search-examples,.site-home #resume-reading small{display:none}
@media(max-width:600px){.book-directory{grid-template-columns:1fr}.book-directory .book-family{padding:12px}.home-progress-compact{padding:16px}.home-complete{gap:8px}.home-complete span{font-size:.85rem}}
[data-theme=dark] .book-directory .book-family{background:#272b28;border-color:var(--family)}
[data-theme=dark] .book-directory h2{color:#e1e3dd}
[data-theme=dark] .book-directory a{color:#eceee7!important}
[data-theme=dark] .book-directory .book-chapters summary{color:#eceee7}
[data-theme=dark] .book-directory .book-chapters[open],[data-theme=dark] .book-directory .book-chapters summary:hover{background:#3b413c}
[data-theme=dark] .book-directory a:hover,[data-theme=dark] .book-directory a:focus-visible{background:#3b413c!important}
@media(forced-colors:active){.book-family,.home-complete span{border-color:CanvasText}.book-directory h2,.book-directory a{color:CanvasText!important}}
[data-a11y-contrast] .book-directory .book-family,[data-a11y-contrast] .home-complete span{background:var(--paper,Canvas);color:inherit;border-color:currentColor}
[data-a11y-contrast] .book-directory h2,[data-a11y-contrast] .book-directory a,[data-a11y-contrast] .book-directory summary{color:inherit!important}
