:root{--paper:#f5f8fd;--ink:#243650;--muted:#536b8b;--blue:#315d9f;--wash:#e8f0fc;--line:#cddbef;--size:25px}
body.dark{--paper:#141f30;--ink:#e5ebf5;--muted:#b4c3d8;--blue:#afcaf5;--wash:#1d2c44;--line:#354c6a}
.blue-header{max-width:1160px;height:110px;padding:0;display:grid;grid-template-columns:1fr auto 1fr;gap:20px;margin:auto}
.brand-home{gap:10px;justify-self:start}.mark{width:64px;height:64px;object-fit:contain;margin-inline:-9px}.brand{font-size:31px}.subtitle{font-size:9px;letter-spacing:.03em}
.header-tools{justify-self:end;display:flex;align-items:center;gap:8px}.header-tools button{margin:0;min-width:44px}.signup{font-size:12px!important;border:1px solid var(--line);border-radius:4px;padding:0 14px}.phone-label{display:none}
.blue-header .nav{position:static;left:auto;transform:none;border:0;width:auto;padding:0;gap:24px;background:none}.blue-header .nav a{flex:none;padding:10px 0;max-width:none;min-width:0;font-size:12px}
.nav{height:64px;padding:0 16px;align-items:center}.nav a.active{box-shadow:none;font-weight:400}.nav a.active:after{content:'';display:block;width:34px;height:2px;background:var(--blue);margin:9px auto 0}
main.day-overview{display:block;max-width:650px;padding:32px 25px 100px}.day-heading{text-align:center}.day-heading h1{font-size:52px!important;line-height:1.05;margin:14px 0 18px}.date-weekday,.date-month{display:inline}
.datebar{display:grid;grid-template-columns:44px 176px 44px;gap:18px;justify-content:center;align-items:center}.date-trigger{display:grid;grid-template-columns:20px 1fr 20px;gap:8px;align-items:center;width:176px;min-height:44px;border:1px solid var(--line);border-radius:4px;padding:0 10px;font-size:12px}.date-trigger span:nth-child(2){text-align:center}
.return-today{display:block;margin:7px auto 0;color:var(--blue);font-size:12px;min-height:30px}.season-context{font-size:14px;color:var(--muted);margin:18px 0 0}.day-heading .day-sources{margin:0}.day-heading summary{font-size:12px;color:var(--muted);min-height:32px;padding:6px 0}.day-liturgy{border:0;padding:0;margin-top:22px}.day-liturgy>h2{text-align:center;font-size:31px;margin-bottom:16px}
.hours-list{background:var(--wash);border:1px solid var(--line);border-radius:4px;padding:0 22px}.hours-list .source-row{font-family:Literary;font-size:27px;color:var(--ink);gap:20px;padding:15px 0;min-height:58px}.hours-list .source-row small{font:11px Arial,sans-serif;color:var(--muted);width:18px}.hours-list .source-row>span:nth-child(2){flex:1}.hours-list .source-row:last-child{border:0}.hours-list .source-row>span:last-child{font:20px Arial;color:var(--blue)}
.quick-hours{margin:0 0 12px}.quick-hours>summary{text-align:right;font-size:12px;color:var(--muted);min-height:44px;padding:12px 0}.quick-hour{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px;font-size:14px}.quick-hours[open]~.hours-list{display:none}.quick-hour .record-actions{margin:0;gap:10px}.quick-hour button{font-size:12px}
.official-secondary{border:0;margin:25px 0 0;padding:0 18px}.official-secondary .source-row{font:23px Literary;color:var(--ink)}.official-secondary small{display:block;font:11px/1.6 Arial;color:var(--muted);margin-top:4px}
.day-companion{border:0;border-top:1px solid var(--line);padding:21px 18px 0;margin-top:18px}.day-companion>.eyebrow{font-size:10px;text-align:center}.quiet-devotions{display:grid;grid-template-columns:1fr 1fr;gap:25px}.quiet-devotions a{display:flex;justify-content:space-between;align-items:center;font:23px Literary;text-decoration:none;color:var(--ink)}.quiet-devotions small{display:block;font:11px Arial;color:var(--muted);margin-top:4px}
.blue-footer{border-top:1px solid var(--line);margin-top:30px;display:flex;justify-content:space-between;align-items:start;gap:20px;font-size:12px;color:var(--muted)}.blue-footer summary{font-size:12px}.blue-footer>a,.blue-footer>button{min-height:44px;display:flex;align-items:center}.blue-footer>details{max-width:65%}
.readerTop{position:static;max-width:880px;margin:auto;padding:20px 0;display:grid;grid-template-columns:140px 1fr 140px;gap:10px;min-height:80px}.readerTop>span{min-width:0;text-align:center;font-size:12px}.readerTop>button:last-child{justify-self:end}.readerTop>button:first-child{justify-self:start}.position{position:static;max-width:880px;margin:auto;height:1px}.reader-jumps{display:none}.settings{position:static;max-width:880px;margin:auto;border:1px solid var(--line);border-radius:4px;min-height:64px}
.prayer{max-width:730px;padding:38px 40px 125px}.prayer h1{font-size:45px;line-height:1.1}.prayer h3{font-size:30px;scroll-margin-top:24px}.prayer p.prayerline{font-size:var(--size);line-height:1.55}.native-component{padding:10px 0 24px;border:0;scroll-margin-top:24px}.native-component h3{margin-top:25px}.native-options{max-width:650px;font-size:12px}.native-options select{min-height:44px}
.readerBottom{max-width:none;width:100%;left:0;transform:none;height:68px;padding:0 max(22px,calc((100vw - 650px)/2));display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.readerBottom>button{border:0}.readerBottom>a:last-child{background:var(--blue);color:var(--paper);border-radius:4px;margin:10px 0;min-height:44px}
.completion{border-top:1px solid var(--line);padding:24px 0 12px;margin:32px auto 20px;scroll-margin-top:20px}.completion h2{font-size:23px;line-height:1.3;margin:0 0 16px}.completion>.note:first-child{margin:0 0 12px}.record-actions{display:flex;gap:22px;align-items:center;margin:10px 0}.record-actions .primary{width:auto;font-weight:400;margin:0;padding:12px 24px;min-height:48px;font-size:14px}.record-actions button:disabled{background:var(--wash);color:var(--muted);cursor:default}.record-receipt{font-size:12px;color:var(--blue);min-height:18px}.section-end{margin-top:25px}.section-end .primary{font-weight:400;font-size:14px}
dialog{width:min(650px,calc(100vw - 32px));border-radius:4px;padding:20px 24px}.dialog-heading h2{font-size:31px}.dialog-heading{position:static}.dialog-links a{font-size:12px}#reader-contents{max-height:72dvh}.passage-list{margin-left:0}.passage-list a{min-height:44px}.passage-list summary{color:var(--muted)}
#date-dialog{width:340px;padding:20px;max-height:85dvh}#date-dialog::backdrop{background:#0b152744;backdrop-filter:blur(2px)}.calendar-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.calendar-head h2{text-align:center;font:16px Arial}.calendar-grid{gap:0;margin:10px 0}.calendar-grid span{font-size:12px;color:var(--muted);text-align:center;min-height:36px}.calendar-grid button{border-radius:50%;font-size:13px;min-height:44px}.calendar-grid button[aria-current]{background:var(--blue);color:var(--paper)}.calendar-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line)}#date-dialog label{display:flex;justify-content:space-between;align-items:center;gap:20px}#day-date{min-height:44px;min-width:0;max-width:170px}
.book-page{max-width:1100px;padding:36px 25px 110px}.blue-book-grid{display:grid;grid-template-columns:370px 1fr;gap:56px}.book-intro h1{font-size:43px;line-height:1.1;margin:0}.book-intro .intro{font:20px/1.35 Literary;color:var(--muted);margin:13px auto 20px}.bookcover{border:0;padding:0;margin:0}.bookcover .artwork{max-width:330px}.bookcover img{width:100%;max-height:none;object-fit:contain}.bookcover .primary{font-weight:400;font-size:14px}.bookcover .art-credit{font-size:11px}.toc a{font-size:23px;gap:15px;line-height:1.25}.toc span{min-width:23px}.toc small{display:none}.book-page #book-contents{min-width:0;width:100%}.book-page #book-contents>h2{margin:0 0 14px}
.analytics{max-width:930px;padding:35px 25px 110px}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.analytics h1{font-size:46px}.segmented{border:0;gap:6px}.segmented button{font-size:12px;border-radius:4px;min-height:44px}.segmented .active{border:0;background:var(--wash)}.history-grid{display:grid;grid-template-columns:1fr 270px;gap:56px}.statline{justify-content:flex-start;gap:35px;margin:24px 0 30px}.statline>div{display:flex;flex-direction:column;gap:4px}.statline strong{font:43px/1 Literary}.statline span{font-size:11px;color:var(--muted)}.historyrow{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0}.historyrow p{font:14px/1.5 Arial;margin:0 0 6px}.historyrow small{font-size:12px}.historyrow>button{flex-shrink:0}.history-account>summary{display:none}.account-panel{background:var(--wash);border:1px solid var(--line);padding:24px;border-radius:4px}.account-panel h3{font-size:28px}.account-panel .smallaction{display:block}.analytics>details{border-bottom:1px solid var(--line)}.empty-history{border-block:1px solid var(--line);padding:25px 0;margin-bottom:14px}.empty-history h2{font-size:28px}.empty-history .primary{max-width:180px;font-size:14px;font-weight:400}.history-grid>section>details{border-bottom:1px solid var(--line)}#record-form{margin:15px 0 25px}.google-button{display:block;min-height:44px;padding:0;margin:15px 0}.google-button img{width:180px;height:40px;object-fit:contain}.google-dark{display:none}.dark .google-dark{display:block}.dark .google-light{display:none}
@media(min-width:801px){#app>.nav{display:none}}
@media(max-width:1200px){.blue-header{margin:0 40px}}
@media(max-width:800px){.blue-header{display:flex;justify-content:space-between;height:96px;margin:0 24px;gap:8px;border:0}.blue-header>.nav{display:none}.brand{font-size:25px}.mark{width:64px;height:64px}.header-tools{gap:2px}.signup{border:0;padding:0 10px;min-width:64px;font-size:12px}.desktop-label{display:none}.phone-label{display:inline}.header-tools>button:last-child{width:44px;padding:0}main.day-overview{padding:14px 24px 100px;max-width:650px}.day-heading h1{font-size:39px!important;margin:9px 0 12px}.date-weekday,.date-month{display:block}.datebar{gap:10px}.season-context{font-size:13px;margin-top:13px}.day-liturgy{margin-top:16px}.day-liturgy>h2{font-size:28px;margin-bottom:12px}.hours-list{padding:0 18px}.hours-list .source-row{font-size:25px;padding:13px 0;gap:16px}.official-secondary{margin-top:23px}.readerTop{padding:12px 24px;grid-template-columns:82px minmax(0,1fr) 82px;height:72px;gap:8px}.readerTop>button{font-size:12px}.readerTop>span{font-size:11px}.settings{margin:12px 24px;padding:10px;gap:4px}.settings>span{display:none}.prayer{max-width:730px;padding:32px 28px 110px}.prayer h1{font-size:39px}.prayer h3{font-size:28px}.readerBottom{padding:0 22px;gap:8px;font-size:12px}.readerBottom>a,.readerBottom>button{font-size:12px}.book-page{padding:26px 24px 110px}.blue-book-grid{display:block}.book-intro h1{font-size:36px}.book-intro .intro{font-size:18px;max-width:320px}.bookcover .artwork{max-width:300px}.book-page #book-contents{margin-top:36px}.analytics{padding:28px 24px 110px}.analytics h1{font-size:41px}.history-grid{display:block}.history-account>summary{display:list-item;font-size:13px}.history-account{border-bottom:1px solid var(--line)}.history-account .account-panel{margin-bottom:20px}.blue-footer{gap:10px;flex-wrap:wrap}.blue-footer>details{max-width:80%}.blue-footer>button{flex-basis:100%}.statline{gap:32px}.statline strong{font-size:38px}}
@media(max-width:350px){.blue-header{margin:0 18px;gap:4px}.brand{font-size:20px}.subtitle{font-size:8px;letter-spacing:0}.brand-home{gap:7px}.mark{width:52px;height:52px;margin-inline:-8px}.signup{padding:0 7px;min-width:60px}main.day-overview{padding-inline:20px}.day-heading h1{font-size:35px!important}.datebar{grid-template-columns:44px 164px 44px;gap:6px}.date-trigger{width:164px;font-size:11px}.hours-list{padding-inline:14px}.hours-list .source-row{font-size:22px}.readerTop{padding-inline:20px;grid-template-columns:74px minmax(0,1fr) 74px}.prayer{padding-inline:24px}.prayer h1{font-size:36px}.readerBottom{padding-inline:16px}.book-intro h1{font-size:33px}.statline{gap:22px}.completion .record-actions{gap:15px}}

@media(max-width:800px){.bookcover img{max-height:max(180px,calc(100dvh - 405px));object-fit:contain}}

.readerBottom>.primary{width:auto;font-weight:400;font-size:14px;padding:10px 14px;margin:10px 0;color:var(--paper)}.completion:focus,.native-component:focus{outline:none}@media(max-width:800px){.readerBottom>.primary{font-size:12px}}

/* Newcomer candidate: prayer first, source data retained in a quiet disclosure. */
.source-symbol{display:none}.reader-guide{font:15px/1.65 Arial,sans-serif;color:var(--muted);margin:18px 0 8px}.prayer-cue{font:14px/1.65 Arial,sans-serif;color:var(--blue);margin:16px 0 8px}.role-cue{font-size:12px;letter-spacing:.07em;text-transform:uppercase;margin-bottom:4px}.native-component h3{margin-bottom:14px}.prayer-help{font:14px/1.7 Arial,sans-serif;color:var(--muted);margin:8px 0 28px}.prayer-help summary{min-height:36px;padding:4px 0}.prayer-help p{font:inherit}.native-prayer>#native-sources{margin-top:60px;font:14px/1.7 Arial,sans-serif}#native-sources section{margin:32px 0}#native-sources h3{font-size:22px}.native-prayer{padding-bottom:var(--reader-bar-height,160px)}.readerBottom{align-items:center}.readerBottom>*{white-space:normal;line-height:1.4}.prayer .completion{scroll-margin-bottom:var(--reader-bar-height,160px)}.native-component{scroll-margin-top:90px}

.prayer{padding-bottom:var(--reader-bar-height,160px)}

.native-prayer>.prayer-help{margin-bottom:4px}.native-prayer>.prayer-help+.availability[hidden]+#native-online-status[hidden]+.native-component{padding-top:0}.native-prayer>.prayer-help~.native-component:first-of-type h3{margin-top:8px}

.readerBottom{height:auto;min-height:76px;padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.readerBottom>.primary{margin:4px 0}.native-prayer>#native-sources,.native-prayer>.note{overflow-wrap:anywhere}

/* Required attribution remains at its source-defined prayer placements. */
.native-online-notice{font-family:Arial,sans-serif;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--muted);margin:12px 0;}
/* Keep current prayer dates and reading progress visible on narrow screens. */
.matrix-scroll{max-height:65vh;overflow:auto;scrollbar-gutter:stable}.prayer-matrix thead th{position:sticky;top:0;background:var(--paper);z-index:2;min-height:44px;white-space:normal;font-size:10px;padding:6px 2px}.prayer-matrix thead th:first-child{left:0;z-index:3}.prayer-matrix tbody th[scope=row]{z-index:1}.position{position:sticky;top:0;height:3px;z-index:4;background:var(--line);max-width:880px}.position i{display:block;height:100%;background:var(--blue)}.toc .duration{display:block;font:12px/1.5 Arial,sans-serif;color:var(--muted);margin-top:3px}
.prayer-matrix td button{font-size:12px}

.history-grid>section{min-width:0}

.book-epigraph{margin:24px 0 0;max-width:480px}.book-epigraph p{font:20px/1.45 Literary;color:var(--ink);margin:0 0 9px}.book-epigraph cite{font:12px/1.5 Arial,sans-serif;color:var(--muted)}
