:root{color-scheme:light;--paper:#f9f7f2;--ink:#242521;--muted:#6c6b64;--red:#7a2528;--line:#d6d2c8;--panel:#eeebe3;--font-size:1.3rem}
:root[data-theme=dark]{color-scheme:dark;--paper:#191b1b;--ink:#e7e6df;--muted:#aba99f;--red:#dfa29a;--line:#41423e;--panel:#292c2b}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--paper:#191b1b;--ink:#e7e6df;--muted:#aba99f;--red:#dfa29a;--line:#41423e;--panel:#292c2b}}
*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;font-family:Georgia,'Times New Roman',serif}button,select,summary{touch-action:manipulation}button,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--red);outline-offset:4px}button{min-height:44px;border:0;background:none}button:disabled{opacity:.35;cursor:default}.shell{max-width:710px;margin:auto;padding:0 32px;padding-bottom:env(safe-area-inset-bottom)}header{padding-top:max(32px,env(safe-area-inset-top))}.masthead{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ink);padding-bottom:22px;margin-bottom:14px}h1{font-size:2.25rem;font-weight:400;letter-spacing:-.04em;line-height:1.1;margin:0}summary{list-style:none;cursor:pointer;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;color:var(--red);font-size:1rem}summary::-webkit-details-marker{display:none}.large-a{font-size:1.5rem}details{position:relative}.type-panel{position:absolute;right:0;top:52px;z-index:2;background:var(--paper);padding:16px;border:1px solid var(--line);box-shadow:0 8px 28px #0002;min-width:210px;font-family:system-ui,sans-serif;font-size:.875rem}.type-panel label{display:block;margin:14px 0 8px;color:var(--muted)}.type-panel select{width:100%;padding:8px;border:1px solid var(--line);border-radius:0;background:var(--paper)}.size-buttons{display:flex;gap:8px}.size-buttons button{background:var(--panel);flex:1;font-family:Georgia,serif;font-size:1.15rem}.toolbar{display:flex;justify-content:space-between;align-items:center;font-family:system-ui,sans-serif;font-size:.875rem;color:var(--muted);margin-bottom:12px}.day-picker{display:flex;align-items:center;gap:3px}.day-picker select{min-width:64px;min-height:44px;background:transparent;border:0;color:var(--ink);font-weight:500;padding:0 7px}#today{color:var(--red);padding:0 0 0 18px}.office-switch{display:flex;border:1px solid var(--line);padding:4px;gap:4px}.office-switch button{flex:1;font-family:system-ui,sans-serif;font-size:.875rem;min-height:42px;color:var(--muted)}.office-switch button[aria-pressed=true]{color:var(--paper);background:var(--red)}main{padding-top:38px;outline:none}.reading-heading{margin-bottom:38px}.date{font-family:system-ui,sans-serif;font-size:.875rem;color:var(--muted);margin:0 0 10px}.reading-heading h2{font-size:1.8rem;font-weight:400;line-height:1.3;margin:0}.note{font-size:.875rem;font-style:italic;color:var(--muted);margin:12px 0 0}.psalm{margin:0 0 44px}.psalm h3{color:var(--red);font-family:system-ui,sans-serif;font-size:.8rem;font-weight:500;letter-spacing:.15em;text-transform:uppercase;margin:0 0 10px;line-height:1.6}.latin{font-size:1.125rem;font-style:italic;margin:0 0 22px;line-height:1.5}.verse{font-size:var(--font-size);line-height:1.65;margin:0 0 .85em;overflow-wrap:break-word}.verse-number{font-size:.68em;color:var(--red);margin-right:.42em;font-variant-numeric:oldstyle-nums}.breath{color:var(--red)}footer{display:flex;justify-content:space-between;gap:12px;padding:24px 0 36px;margin-top:24px;border-top:1px solid var(--line);font-size:.75rem;line-height:1.6;color:var(--muted)}.loading,.error{font-size:1.1rem;line-height:1.6}.retry{display:block;color:var(--red);text-decoration:underline;padding:0}::selection{background:#af525333}
@media(min-width:900px){header{padding-top:60px}main{padding-top:46px}.shell{padding-left:40px;padding-right:40px}h1{font-size:2.6rem}}
@media(max-width:420px){.shell{padding-left:22px;padding-right:22px}header{padding-top:max(22px,env(safe-area-inset-top))}footer{flex-direction:column;gap:0}.reading-heading h2{font-size:1.6rem}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .12s,color .12s}}

@font-face{font-family:'Noto Serif Hebrew';src:url('./hebrew.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{--red:#284c5c;--font-size:1.3rem}
:root[data-theme=dark]{--red:#9bc5d3}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--red:#9bc5d3}}
.shell{max-width:1140px}.hebraica-title{font-style:normal;font-size:.8em;letter-spacing:-.025em;color:var(--red)}
.parallel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 42px;align-items:start}
.parallel>div{min-width:0}.english-column{padding-right:28px;border-right:1px solid var(--line)}
.column-label{font-family:system-ui,sans-serif;font-size:.875rem;color:var(--muted);margin:0 0 22px;line-height:1.5}
.hebrew-verse{font-family:'Noto Serif Hebrew','SBL Hebrew','Times New Roman',serif;font-size:calc(var(--font-size)*1.22);line-height:1.95;margin:0 0 .68em;text-align:right;overflow-wrap:break-word;letter-spacing:normal;font-weight:400}
.hebrew-verse .verse-number{font-family:Georgia,serif;font-size:.58em;margin:0 0 0 .55em;unicode-bidi:isolate}
.psalm{padding-bottom:32px;margin-bottom:32px;border-bottom:1px solid var(--line)}.psalm:last-child{border-bottom:0;padding-bottom:0}
footer{font-size:.875rem;align-items:start}.text-note{max-width:700px}.text-note summary{min-height:44px;justify-content:start;color:var(--muted);font-family:system-ui,sans-serif;font-size:.875rem;text-decoration:underline;text-underline-offset:4px}.text-note p{line-height:1.7}.text-note a{color:var(--red)}footer>span{white-space:nowrap;padding-top:12px}
@media(max-width:600px){.shell{padding-left:16px;padding-right:16px}h1{font-size:1.8rem;line-height:1.25}.parallel{gap:0 14px}.english-column{padding-right:12px}.verse{font-size:calc(var(--font-size)*.85);line-height:1.65}.hebrew-verse{font-size:calc(var(--font-size)*1.06);line-height:1.95}.column-label{font-size:.875rem}.masthead{gap:8px}.reading-heading{margin-bottom:28px}footer{flex-direction:column;gap:8px}}

footer{flex-wrap:wrap}.credit{flex:0 0 100%;width:100%;margin:16px 0 0;font-family:system-ui,sans-serif;font-size:.875rem;font-style:normal;color:var(--muted);text-align:center;line-height:1.6}
