:root{color-scheme:light;--ink:#282e28;--muted:#69715c;--paper:#f4f0e7;--line:#d6d8cb;--accent:#344d3a;--soft:#e9e7dc;--warn:#e9e7dc;--white:#fbf9f3;--mark:#f1dba8;--navy:#0f2537;--gold:#c6a15b}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}.masthead{max-width:1260px;margin:auto;padding:40px 28px 26px}.eyebrow{font-size:.74rem;letter-spacing:.17em;font-weight:700}h1{font:500 clamp(2rem,5vw,3.4rem)/1.2 Georgia,serif;margin:12px 0}h2{font:500 1.55rem/1.3 Georgia,serif;margin:0 0 18px}.masthead p{margin:0;color:var(--muted);max-width:720px}main{max-width:1260px;margin:auto;padding:0 28px}.notice{padding:15px 20px;background:var(--warn);border:1px solid #e6ce91;border-radius:8px;margin-bottom:22px;font-size:.93rem}.notice.error{border-color:#a43d3d;color:#792c2c}.controls{padding:22px;background:var(--white);border:1px solid var(--line);border-radius:10px;margin-bottom:24px;display:grid;grid-template-columns:minmax(260px,1.2fr) 1fr;gap:22px}label{font-size:.87rem;font-weight:600;display:block}select,input[type=search]{width:100%;font:inherit;color:var(--ink);border:1px solid #aebcb2;background:white;border-radius:6px;padding:10px 12px;min-height:46px;margin-top:5px}select{font-size:.95rem}button{font:600 .9rem/1.4 system-ui;cursor:pointer;background:var(--accent);border:1px solid var(--accent);color:white;border-radius:6px;padding:10px 15px;min-height:44px}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #94722b;outline-offset:3px}.reference-controls{display:grid;grid-template-columns:1.5fr .6fr 46px 46px;gap:12px;align-items:end}.layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:26px;align-items:start}.reader-panel,.search-panel{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:26px}.section-top{display:flex;gap:12px;align-items:baseline;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:22px}.tag{font:600 .75rem/1.3 system-ui;background:var(--soft);padding:5px 8px;border-radius:4px;white-space:nowrap}.verse{display:flex;gap:14px;align-items:baseline;margin:0 0 18px}.verse-number{font:600 .75rem/1.4 system-ui;flex-shrink:0;min-width:20px;color:var(--muted);direction:ltr;unicode-bidi:isolate}.verse-text{font:1.25rem/1.85 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}.verse-text[lang=he]{font:1.75rem/2.1 "SBL Hebrew","Ezra SIL","Times New Roman",serif}.heading-row{font-style:italic}.verse.target{background:var(--soft);box-shadow:0 0 0 8px var(--soft);border-radius:4px}.small{font-size:.85rem;color:var(--muted)}.input-row{display:flex;gap:8px;align-items:stretch}.input-row input{margin:0;min-width:0}.search-options{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}.search-options label{font-size:.8rem;display:flex;gap:5px;align-items:center;font-weight:500}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}.spellings{font-size:1.05rem;background:var(--soft);padding:8px 12px;border-radius:5px;overflow-wrap:anywhere}.spellings:empty{display:none}.result{padding:16px 0;border-top:1px solid var(--line)}.result button{background:transparent;border:0;color:var(--accent);padding:0;min-height:30px;text-align:left;text-decoration:underline}.result p{margin:6px 0 0;font:1.1rem/1.85 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}.result p[lang=he]{font-size:1.5rem;line-height:2}mark{background:var(--mark);color:inherit;border-radius:2px}details{font-size:.84rem;color:var(--muted);margin-top:22px;border-top:1px solid var(--line);padding-top:18px}summary{cursor:pointer;color:var(--ink);font-weight:600}details p{margin:12px 0}.license{padding:25px 0;border-top:1px solid var(--line);margin-top:35px;font-size:.87rem;max-width:900px}.license h2{font-size:1.2rem}.license a{color:var(--accent)}.license p{margin:7px 0}.illustration{margin:28px 0;border-top:1px solid var(--line);padding-top:22px}.illustration img{display:block;width:100%;max-height:480px;object-fit:contain;background:var(--paper);border-radius:6px}.illustration figcaption{font-size:.8rem;color:var(--muted);margin-top:8px}.image-missing{background:var(--soft);padding:18px;font-size:.87rem;border-radius:6px}footer{max-width:1260px;margin:0 auto;padding:0 28px 30px;color:var(--muted);font-size:.77rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#more{width:100%;margin-top:16px}[hidden]{display:none!important}@media(max-width:900px){.controls{grid-template-columns:1fr}.layout{grid-template-columns:1fr}.search-panel{order:-1}}@media(max-width:520px){main,.masthead,footer{padding-left:16px;padding-right:16px}.masthead{padding-top:28px}.reader-panel,.search-panel,.controls{padding:18px}.reference-controls{grid-template-columns:minmax(90px,1fr) 65px 40px 40px;gap:7px}.reference-controls button{padding:6px}.input-row{flex-wrap:wrap}.input-row input{flex:1 1 150px}.input-row button{flex:1 0 70px}.verse-text{font-size:1.15rem}.verse-text[lang=he]{font-size:1.65rem}}
/* Shared visual language with the existing Bible area. */
html{scroll-padding-top:24px}body{font-family:Inter,Aptos,"Segoe UI","Helvetica Neue",Arial,sans-serif}.site-bar{background:var(--navy);color:#fff}.site-bar nav{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;max-width:1260px;margin:auto;min-height:76px;padding:12px 28px}.site-bar a{color:inherit;text-decoration:none;font-size:.87rem}.site-bar .brand{display:inline-flex;align-items:center;gap:.75rem;font-weight:700;font-size:.95rem}.brand-mark{display:grid;place-items:center;width:2.3rem;height:2.3rem;border:1px solid var(--gold);color:var(--gold);font:600 .86rem Georgia,serif}.site-bar a:hover{text-decoration:underline;text-underline-offset:5px}.skip-link{position:fixed;z-index:20;top:12px;left:12px;transform:translateY(-180%);padding:10px 15px;color:var(--navy);background:#fff;border:2px solid var(--gold)}.skip-link:focus{transform:none}.masthead{padding-top:clamp(2.8rem,6vw,4.5rem)}h1{font-weight:400;letter-spacing:-.035em;font-size:clamp(2.6rem,6vw,4.8rem)}.eyebrow{color:#707660}.notice{background:transparent;border:0;padding:0;margin-bottom:1.25rem;color:var(--muted);font-size:.85rem;min-height:1.4em}.notice.error{padding:16px;border:1px solid #ab5555;background:#fff1ed}.controls{background:#e9e7dc;border-color:#dcdccf}.reader-panel,.search-panel{border-radius:7px}.reader-panel{background:transparent;border:0;padding:15px 0}.search-panel{padding:24px;background:#fbf9f3}.edition-description{margin:0 0 8px;font-size:.74rem;letter-spacing:.04em}.section-top h2{font-size:clamp(1.9rem,3vw,2.8rem);font-weight:400;letter-spacing:-.03em;margin-bottom:20px}.section-top{margin-bottom:28px}.verse{scroll-margin-top:28px}.verse-text{font-family:Georgia,"Times New Roman",serif;font-size:1.28rem;line-height:1.95}.verse-text[lang=he]{font-family:"SBL Hebrew","Ezra SIL","Times New Roman",serif;font-size:1.8rem;line-height:2.15}.verse[dir=rtl]{text-align:right}.verse-number{min-width:23px}.illustration{max-width:400px;margin:30px auto;padding:0;border:0}.illustration img{max-height:560px;border-radius:5px;box-shadow:0 10px 30px #29312318}.illustration a{display:block;cursor:zoom-in}.illustration figcaption{text-align:left;line-height:1.6}.source-title{font-weight:600}.license{max-width:none}.license p{max-width:950px}.license a,footer a{color:var(--accent);text-underline-offset:4px}.license{font-size:.83rem}#results{max-height:36rem;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}#image-note:empty{display:none}.search-panel h2{font-size:1.5rem}.search-panel>.small{margin-top:0}.search-panel details{line-height:1.65}.spellings bdi{font-family:Georgia,"Times New Roman",serif}.spellings bdi[lang=he]{font-size:1.25rem}.result button{line-height:1.5;text-underline-offset:4px}footer{display:flex;align-items:center;gap:1.3rem;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px}.image-missing{color:var(--muted)}
@media(min-width:1000px){.layout{gap:40px;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr)}.search-panel{position:sticky;top:22px;max-height:calc(100vh - 44px);overflow:auto}}
@media(max-width:900px){.reader-panel{padding:12px 0}.search-panel{order:-1}.section-top h2{font-size:2.2rem}}
@media(max-width:520px){.site-bar nav{padding:12px 16px;gap:15px}.site-bar .brand{font-size:.85rem}.site-bar nav>a:last-child{font-size:.74rem}.brand-mark{width:2rem;height:2rem}.reader-panel{padding:5px 0}.masthead{padding-top:32px}.section-top{gap:10px}.section-top h2{font-size:1.9rem}.verse{gap:10px}.verse-text{font-size:1.17rem}.verse-text[lang=he]{font-size:1.7rem}.illustration{max-width:340px}footer{justify-content:flex-start;flex-wrap:wrap;gap:.6rem 1.1rem}footer span{width:100%;order:2}.controls{padding:16px}.search-panel{padding:18px}#results{max-height:28rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.site-bar,.controls,.search-panel,footer,.skip-link,.notice{display:none}.layout{display:block}body,.reader-panel{background:white}.reader-panel{padding:0}.illustration,.verse{break-inside:avoid}.masthead{padding-top:0}.license{font-size:10pt}}
.sources-page{padding-bottom:36px}.sources-page .license{max-width:960px;margin-top:24px;padding-top:28px;font-size:.97rem}.sources-page .license h2{font-size:1.6rem;margin-bottom:16px}.sources-page .license p{margin-bottom:12px}
.illustration img{height:auto}#image-note{margin:0 0 26px;line-height:1.65}
