.bhsuite-root{--bhs-bg:#f7f5ef;--bhs-surface:#fff;--bhs-text:#1d2430;--bhs-muted:#596273;--bhs-border:#d8d5cc;--bhs-accent:#205a78;--bhs-accent-strong:#15445d;--bhs-accent-on:#fff;--bhs-soft:#edf3f6;--bhs-hebrew:#161b22;--bhs-focus:#8a4b08;--bhs-qere:#6b3b72;--bhs-success:#17623b;--bhs-danger:#9b2c2c;box-sizing:border-box;color:var(--bhs-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;max-width:1320px;margin:2rem auto;padding:0 1rem;color-scheme:light}
.bhsuite-root *,.bhsuite-root *::before,.bhsuite-root *::after{box-sizing:border-box}
.bhsuite-root button,.bhsuite-root select,.bhsuite-root input{font:inherit}
.bhsuite-root button,.bhsuite-root select{min-height:42px}
.bhsuite-root button:focus-visible,.bhsuite-root select:focus-visible,.bhsuite-root input:focus-visible,.bhsuite-root summary:focus-visible{outline:3px solid var(--bhs-focus);outline-offset:2px}
.bhsuite-shell{background:var(--bhs-bg);border:1px solid var(--bhs-border);border-radius:22px;overflow:hidden;box-shadow:0 18px 48px rgba(26,32,44,.08)}
.bhsuite-header{display:flex;justify-content:space-between;gap:2rem;padding:2rem 2.25rem;background:var(--bhs-surface);border-bottom:1px solid var(--bhs-border)}
.bhsuite-kicker{margin:0 0 .35rem;color:var(--bhs-accent-strong);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.bhsuite-title,.bhsuite-root h2,.bhsuite-root h3{color:var(--bhs-text);line-height:1.18;margin:.15rem 0 .55rem}
.bhsuite-title{font-size:clamp(1.8rem,4vw,3rem)}
.bhsuite-subtitle{max-width:760px;color:var(--bhs-muted);margin:0}
.bhsuite-version{display:flex;flex-direction:column;align-items:flex-end;gap:.4rem;white-space:nowrap}
.bhsuite-version span{background:var(--bhs-soft);border:1px solid var(--bhs-border);border-radius:999px;padding:.35rem .7rem;font-size:.8rem;font-weight:700}
.bhsuite-nav{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(105px,.6fr) minmax(105px,.6fr) auto;gap:.8rem;padding:1rem 1.25rem;background:var(--bhs-surface);border-bottom:1px solid var(--bhs-border);align-items:end}
.bhsuite-nav label,.bhsuite-vocab-filter{display:flex;flex-direction:column;gap:.28rem;color:var(--bhs-muted);font-size:.8rem;font-weight:700}
.bhsuite-nav select,.bhsuite-vocab-filter select{width:100%;border:1px solid var(--bhs-border);border-radius:10px;background:var(--bhs-surface);color:var(--bhs-text);padding:.5rem .7rem}
.bhsuite-nav-buttons{display:flex;gap:.45rem}
.bhsuite-nav button,.bhsuite-mode,.bhsuite-word-close{border:1px solid var(--bhs-accent-strong);background:var(--bhs-accent-strong);color:var(--bhs-accent-on,#fff);border-radius:10px;padding:.5rem .85rem;font-weight:750;cursor:pointer}
.bhsuite-nav button:hover,.bhsuite-mode:hover,.bhsuite-word-close:hover{background:var(--bhs-accent)}
.bhsuite-tabs{display:flex;gap:.25rem;padding:.65rem 1.25rem 0;overflow-x:auto;background:var(--bhs-bg)}
.bhsuite-tabs button{border:1px solid transparent;border-bottom:0;border-radius:10px 10px 0 0;padding:.62rem .9rem;background:transparent;color:var(--bhs-muted);font-weight:750;cursor:pointer;white-space:nowrap}
.bhsuite-tabs button[aria-selected="true"]{background:var(--bhs-surface);border-color:var(--bhs-border);color:var(--bhs-accent-strong)}
.bhsuite-status{min-height:1.6rem;padding:.45rem 1.4rem;color:var(--bhs-muted);font-size:.88rem;background:var(--bhs-surface);border-top:1px solid var(--bhs-border)}
.bhsuite-panel{background:var(--bhs-surface);padding:1.25rem 1.5rem 2rem}
.bhsuite-display-controls{display:flex;flex-wrap:wrap;gap:.65rem 1.1rem;align-items:center;margin-bottom:1rem;padding:.7rem .85rem;border:1px solid var(--bhs-border);background:var(--bhs-soft);border-radius:12px}
.bhsuite-display-controls label{display:inline-flex;align-items:center;gap:.4rem;font-size:.88rem;font-weight:650;color:var(--bhs-text)}
.bhsuite-display-controls input{width:1.05rem;height:1.05rem;accent-color:var(--bhs-accent-strong)}
.bhsuite-mode{margin-inline-start:auto;min-height:36px;padding:.35rem .7rem}
.bhsuite-mode[aria-pressed="false"]{background:var(--bhs-surface);color:var(--bhs-accent-strong)}
.bhsuite-study-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,350px);gap:1.25rem;align-items:start}
.bhsuite-passage-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.2rem 0 1rem;font-size:1.05rem;font-weight:800;color:var(--bhs-text)}
.bhsuite-passage{padding:1.25rem;border:1px solid var(--bhs-border);border-radius:16px;background:var(--bhs-surface);color:var(--bhs-hebrew);font-family:"SBL Hebrew","Noto Sans Hebrew","Ezra SIL","Times New Roman",serif;font-size:clamp(1.55rem,2.4vw,2rem);line-height:2.05;text-align:right;unicode-bidi:plaintext}
.bhsuite-verse{display:block;margin:0 0 .55rem}
.bhsuite-verse-number{display:inline-block;direction:ltr;font-family:system-ui,sans-serif;font-size:.68em;line-height:1;vertical-align:super;color:var(--bhs-muted);margin-inline:.15rem .35rem;font-weight:700}
.bhsuite-word{appearance:none;border:0;background:transparent;color:inherit;padding:.05rem .08rem;margin:0;border-radius:5px;cursor:pointer;font:inherit;line-height:inherit;min-height:auto;text-decoration-thickness:1px;text-underline-offset:.22em}
.bhsuite-root[data-study="1"] .bhsuite-word{border-bottom:1px dotted var(--bhs-muted)}
.bhsuite-word:hover,.bhsuite-word[aria-current="true"]{background:var(--bhs-soft);color:var(--bhs-accent-strong)}
.bhsuite-seg{white-space:pre}
.bhsuite-qere-marker{border:1px solid var(--bhs-border);background:var(--bhs-soft);color:var(--bhs-accent-strong);border-radius:999px;font-family:system-ui,sans-serif;font-size:.52em;font-weight:850;line-height:1;min-height:auto;padding:.2rem .35rem;margin-inline:.14rem;vertical-align:super;cursor:pointer}
.bhsuite-qere-inline{display:inline-flex;align-items:baseline;gap:.25rem;direction:ltr;font-family:system-ui,sans-serif;font-size:.52em;line-height:1.3;border:1px dashed var(--bhs-border);border-radius:7px;padding:.2rem .35rem;color:var(--bhs-text);background:var(--bhs-soft);margin-inline:.2rem}
.bhsuite-qere-inline .bhsuite-qere-hebrew{direction:rtl;font-family:"SBL Hebrew","Noto Sans Hebrew",serif;font-size:1.55em}
.bhsuite-language-badge{display:inline-block;direction:ltr;font-family:system-ui,sans-serif;font-size:.48em;line-height:1;border:1px solid var(--bhs-border);border-radius:999px;padding:.18rem .34rem;color:var(--bhs-muted);background:var(--bhs-soft);margin-inline:.25rem;vertical-align:middle}
.bhsuite-reading-note,.bhsuite-method-note{font-size:.88rem;color:var(--bhs-muted);margin:.75rem .15rem 0}
.bhsuite-word-panel{position:sticky;top:1rem;border:1px solid var(--bhs-border);border-radius:16px;background:var(--bhs-surface);box-shadow:0 10px 28px rgba(26,32,44,.08);padding:1rem;max-height:78vh;overflow:auto}
.bhsuite-word-panel h3{font-size:1.55rem;margin:0 0 .25rem;font-family:"SBL Hebrew","Noto Sans Hebrew",serif;direction:rtl;text-align:right}
.bhsuite-word-panel h4{font-size:.86rem;text-transform:uppercase;letter-spacing:.06em;margin:1rem 0 .45rem;color:var(--bhs-accent-strong)}
.bhsuite-word-panel p{margin:.35rem 0}
.bhsuite-word-empty{color:var(--bhs-muted)}
.bhsuite-word-close{display:none;width:100%;margin-top:.85rem}
.bhsuite-field-grid{display:grid;grid-template-columns:100px 1fr;gap:.42rem .65rem;font-size:.9rem}
.bhsuite-field-grid dt{color:var(--bhs-muted);font-weight:700}.bhsuite-field-grid dd{margin:0;overflow-wrap:anywhere}
.bhsuite-lexeme-list{display:grid;gap:.45rem}.bhsuite-lexeme{border:1px solid var(--bhs-border);border-radius:10px;padding:.55rem .65rem;background:var(--bhs-soft)}
.bhsuite-lexeme-hebrew{font-family:"SBL Hebrew","Noto Sans Hebrew",serif;font-size:1.35rem;direction:rtl}.bhsuite-lexeme-meta{font-size:.8rem;color:var(--bhs-muted)}
.bhsuite-word-panel details,.bhsuite-sources-copy details{border-top:1px solid var(--bhs-border);margin-top:.8rem;padding-top:.65rem}.bhsuite-word-panel summary,.bhsuite-sources-copy summary{cursor:pointer;font-weight:750;color:var(--bhs-accent-strong)}
.bhsuite-bdb{white-space:pre-wrap;font-size:.86rem;line-height:1.55;max-height:300px;overflow:auto;background:var(--bhs-soft);padding:.65rem;border-radius:8px;margin-top:.55rem}
.bhsuite-section-heading{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:1rem}.bhsuite-section-heading h2{margin:0}
.bhsuite-vocab-summary{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.8rem}.bhsuite-chip{border:1px solid var(--bhs-border);background:var(--bhs-soft);border-radius:999px;padding:.35rem .65rem;font-size:.82rem;font-weight:700}
.bhsuite-vocab-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.65rem}
.bhsuite-vocab-card{border:1px solid var(--bhs-border);border-radius:12px;padding:.75rem;background:var(--bhs-surface)}
.bhsuite-vocab-card button{border:0;background:transparent;padding:0;min-height:auto;color:var(--bhs-accent-strong);cursor:pointer;text-align:left;font-weight:750}
.bhsuite-vocab-card .bhsuite-vocab-hebrew{display:block;font-family:"SBL Hebrew","Noto Sans Hebrew",serif;font-size:1.45rem;direction:rtl;text-align:right;color:var(--bhs-hebrew)}
.bhsuite-vocab-card p{margin:.28rem 0;color:var(--bhs-muted);font-size:.86rem}.bhsuite-vocab-count{font-size:.8rem;font-weight:700;color:var(--bhs-text)}
.bhsuite-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.7rem;margin:1rem 0}.bhsuite-stat-card{border:1px solid var(--bhs-border);border-radius:12px;padding:.8rem;background:var(--bhs-soft)}.bhsuite-stat-card strong{display:block;font-size:1.55rem;color:var(--bhs-accent-strong)}.bhsuite-stat-card span{font-size:.82rem;color:var(--bhs-muted)}
.bhsuite-stat-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.bhsuite-stat-details table{width:100%;border-collapse:collapse;font-size:.88rem}.bhsuite-stat-details th,.bhsuite-stat-details td{border-bottom:1px solid var(--bhs-border);padding:.45rem;text-align:left}.bhsuite-stat-details th:last-child,.bhsuite-stat-details td:last-child{text-align:right}
.bhsuite-sources-copy{max-width:920px}.bhsuite-sources-copy p{color:var(--bhs-text)}.bhsuite-sources-copy dl{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:.45rem 1rem;font-size:.85rem}.bhsuite-sources-copy dt{font-weight:750}.bhsuite-sources-copy dd{margin:0;overflow-wrap:anywhere;color:var(--bhs-muted)}
.bhsuite-error{border:1px solid #c85858;background:#fff1f1;color:#702020;border-radius:10px;padding:.7rem}
.bhsuite-route-main{width:min(100%,1440px);margin-inline:auto}
@media (prefers-color-scheme:dark){.bhsuite-root:not([data-site-palette="1"]){--bhs-bg:#111820;--bhs-surface:#18212b;--bhs-text:#edf3f8;--bhs-muted:#b6c2ce;--bhs-border:#3b4855;--bhs-accent:#8cc9e7;--bhs-accent-strong:#a8dcf5;--bhs-soft:#202c37;--bhs-hebrew:#f4f1e9;--bhs-focus:#ffd166;--bhs-qere:#e6b9ec;color-scheme:dark}.bhsuite-root:not([data-site-palette="1"]) .bhsuite-passage{background:#131b22}.bhsuite-root:not([data-site-palette="1"]) .bhsuite-word:hover,.bhsuite-root:not([data-site-palette="1"]) .bhsuite-word[aria-current="true"]{background:#28485c;color:#fff}.bhsuite-root:not([data-site-palette="1"]) .bhsuite-qere-marker{background:#322438;color:#f2d6f6;border-color:#7e6584}.bhsuite-root:not([data-site-palette="1"]) .bhsuite-qere-inline{background:#2d2231;color:#efd9f2;border-color:#755b7b}}
@media (max-width:900px){.bhsuite-header{flex-direction:column;padding:1.4rem}.bhsuite-version{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.bhsuite-nav{grid-template-columns:1fr 1fr}.bhsuite-nav label:first-child{grid-column:1/-1}.bhsuite-nav-buttons{grid-column:1/-1}.bhsuite-nav-buttons button{flex:1}.bhsuite-study-grid{grid-template-columns:1fr}.bhsuite-word-panel{position:fixed;z-index:99999;left:.75rem;right:.75rem;bottom:.75rem;top:auto;max-height:72vh;transform:translateY(calc(100% + 2rem));transition:transform .18s ease}.bhsuite-word-panel[data-open="1"]{transform:translateY(0)}.bhsuite-word-close{display:block}.bhsuite-panel{padding:1rem}.bhsuite-passage{padding:.9rem}.bhsuite-section-heading{align-items:stretch;flex-direction:column}}
@media (max-width:560px){.bhsuite-root{margin:1rem auto;padding:0 .4rem}.bhsuite-shell{border-radius:14px}.bhsuite-nav{grid-template-columns:1fr 1fr;padding:.8rem}.bhsuite-tabs{padding-left:.8rem}.bhsuite-panel{padding:.8rem}.bhsuite-display-controls{gap:.55rem}.bhsuite-mode{width:100%;margin-inline-start:0}.bhsuite-passage{font-size:1.52rem;line-height:1.95}.bhsuite-field-grid{grid-template-columns:1fr}.bhsuite-field-grid dd{margin-bottom:.35rem}.bhsuite-sources-copy dl{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.bhsuite-root *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media (forced-colors:active){.bhsuite-root,.bhsuite-shell,.bhsuite-passage,.bhsuite-word-panel,.bhsuite-stat-card,.bhsuite-vocab-card{forced-color-adjust:auto}.bhsuite-word{border-bottom:1px solid ButtonText}.bhsuite-word:focus-visible{outline:3px solid Highlight}}
/* v0.2.0: site-palette integration and learner workflow */
.bhsuite-root[data-site-palette="1"]{color-scheme:normal}
.bhsuite-root[data-site-palette="1"] .bhsuite-shell{box-shadow:0 12px 34px color-mix(in srgb,var(--bhs-text) 10%,transparent)}
.bhsuite-root[data-site-palette="1"] .bhsuite-header,.bhsuite-root[data-site-palette="1"] .bhsuite-nav,.bhsuite-root[data-site-palette="1"] .bhsuite-panel,.bhsuite-root[data-site-palette="1"] .bhsuite-status{background:var(--bhs-surface)}
.bhsuite-root[data-site-palette="1"] .bhsuite-tabs{background:var(--bhs-bg)}
.bhsuite-nav button:hover,.bhsuite-mode:hover,.bhsuite-word-close:hover,.bhsuite-practice-check:hover,.bhsuite-practice-next:hover{filter:brightness(.94)}
.bhsuite-tabs button:focus-visible{outline:3px solid var(--bhs-focus);outline-offset:2px}
.bhsuite-word.bhsuite-known-word{box-shadow:inset 0 -2px 0 var(--bhs-accent);border-bottom-color:transparent}
.bhsuite-word-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin:.75rem 0}
.bhsuite-known-toggle,.bhsuite-vocab-known,.bhsuite-practice-check,.bhsuite-practice-next{border:1px solid var(--bhs-accent-strong);border-radius:9px;background:var(--bhs-accent-strong);color:var(--bhs-accent-on,#fff);padding:.48rem .72rem;font-weight:750;cursor:pointer;min-height:40px}
.bhsuite-known-toggle[aria-pressed="true"],.bhsuite-vocab-known[aria-pressed="true"]{background:var(--bhs-soft);color:var(--bhs-accent-strong)}
.bhsuite-vocab-controls{display:flex;gap:.65rem;flex-wrap:wrap;align-items:end}.bhsuite-vocab-controls .bhsuite-vocab-filter{min-width:180px}
.bhsuite-vocab-open{width:100%;border:0;background:transparent;padding:0;min-height:auto;color:var(--bhs-accent-strong);cursor:pointer;text-align:left;font-weight:750}
.bhsuite-vocab-card.is-known{box-shadow:inset 4px 0 0 var(--bhs-accent)}
.bhsuite-vocab-card .bhsuite-vocab-known{margin-top:.55rem;width:100%;font-size:.82rem;border:1px solid var(--bhs-accent-strong);background:var(--bhs-accent-strong);color:var(--bhs-accent-on,#fff);padding:.48rem .72rem}.bhsuite-vocab-card .bhsuite-vocab-known[aria-pressed="true"]{background:var(--bhs-soft);color:var(--bhs-accent-strong)}
.bhsuite-practice{max-width:780px}.bhsuite-practice-card{border:1px solid var(--bhs-border);border-radius:16px;background:var(--bhs-surface);padding:clamp(1rem,3vw,1.5rem)}
.bhsuite-practice-meta{color:var(--bhs-muted);font-size:.85rem;font-weight:700}.bhsuite-practice-form{font-family:"SBL Hebrew","Noto Sans Hebrew","Ezra SIL","Times New Roman",serif;font-size:clamp(2rem,5vw,3.25rem);line-height:1.7;text-align:center;color:var(--bhs-hebrew);margin:.65rem 0}
.bhsuite-practice-prompt{font-weight:750;text-align:center}.bhsuite-practice-controls{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1rem 0}.bhsuite-practice-controls label{display:flex;flex-direction:column;gap:.3rem;color:var(--bhs-muted);font-size:.82rem;font-weight:750}.bhsuite-practice-controls select{min-height:44px;border:1px solid var(--bhs-border);border-radius:9px;background:var(--bhs-surface);color:var(--bhs-text);padding:.5rem .65rem}
.bhsuite-practice-actions{display:flex;gap:.6rem;flex-wrap:wrap}.bhsuite-practice-next{background:var(--bhs-surface);color:var(--bhs-accent-strong)}.bhsuite-practice-feedback{margin-top:1rem;border-radius:10px;padding:.75rem;font-weight:700;min-height:1.5rem}.bhsuite-practice-feedback:empty{display:none}.bhsuite-practice-feedback.is-correct{border:2px solid var(--bhs-success);color:var(--bhs-text);background:color-mix(in srgb,var(--bhs-success) 8%,var(--bhs-surface))}.bhsuite-practice-feedback.is-incorrect{border:2px solid var(--bhs-danger);color:var(--bhs-text);background:color-mix(in srgb,var(--bhs-danger) 8%,var(--bhs-surface))}.bhsuite-practice-feedback.is-neutral{border:1px solid var(--bhs-border);color:var(--bhs-text);background:var(--bhs-soft)}.bhsuite-practice-source{margin-top:.3rem;font-size:.78rem;font-weight:500;color:var(--bhs-muted)}
@media (max-width:700px){.bhsuite-practice-controls{grid-template-columns:1fr}.bhsuite-vocab-controls{display:grid;grid-template-columns:1fr;width:100%}.bhsuite-vocab-controls .bhsuite-vocab-filter{min-width:0}}
/* v0.3.0: structured morphology and expanded parsing practice */
.bhsuite-practice-session{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 .85rem}
.bhsuite-practice-explain{margin:.55rem 0 0;font-size:.86rem;font-weight:500;color:var(--bhs-text)}
.bhsuite-practice-controls{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.bhsuite-lexeme-meta{line-height:1.45}
/* v0.4.0: install-hardened book packs, adaptive review, and grammar teaching */
.bhsuite-practice-review-note{margin:.55rem 0 0;padding:.5rem .6rem;border-inline-start:3px solid var(--bhs-accent);background:var(--bhs-soft);font-size:.85rem;font-weight:650;color:var(--bhs-text)}
.bhsuite-grammar-help{margin-top:.8rem}.bhsuite-grammar-help ul{margin:.55rem 0 .4rem;padding-inline-start:1.2rem}.bhsuite-grammar-help li{margin:.35rem 0;color:var(--bhs-text);font-size:.88rem}
