/* Scoped reader: all colors and fonts come from the portal's active palette. */
.avvisi-web-hero,.avvisi-web-reading,.avvisi-standalone-book{
  --av-line:color-mix(in srgb,var(--ink,#183b42) 18%,transparent);
  --av-soft:color-mix(in srgb,var(--accent,#286776) 7%,var(--surface,#fff));
  --av-muted:var(--muted,#475f66);color:var(--ink,#183b42);
}
#main .avvisi-native-page.avvisi-web-hero{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(15rem,.65fr);gap:.6rem 2.5rem;
  padding-block:2rem 1.6rem;border-bottom:1px solid var(--av-line);margin-bottom:2rem;
}
.avvisi-web-hero>.eyebrow{grid-column:1/-1;color:var(--av-muted);font-size:.68rem;letter-spacing:.17em}
.avvisi-web-hero .breadcrumbs{grid-column:1/-1;font-size:.75rem;margin:.1rem 0 .7rem;color:var(--av-muted)}
.avvisi-web-hero h1{font-size:clamp(2.1rem,4.5vw,3.8rem);font-weight:650;letter-spacing:-.055em;line-height:1.04;margin:0!important;max-width:13ch;grid-column:1;grid-row:3}
.avvisi-web-hero .section-intro{grid-column:1;grid-row:4;font-size:1rem;line-height:1.5;margin:.45rem 0 0;max-width:42ch}
.avvisi-web-hero .avvisi-native-meta{grid-column:2;grid-row:3/5;align-self:center;border-left:1px solid var(--av-line);padding-left:1.5rem;display:flex;flex-direction:column;gap:.45rem;align-items:start;max-width:100%;margin:0}
.avvisi-web-hero .avvisi-native-meta span:first-child{font-size:.68rem;letter-spacing:.04em;line-height:1.5;overflow-wrap:anywhere}
.avvisi-web-hero .avvisi-native-meta span:nth-child(2){font-size:clamp(1rem,1.6vw,1.3rem);line-height:1.4;font-weight:600}
.avvisi-web-hero .avvisi-native-meta span:last-child{font-size:.72rem;color:var(--av-muted)}
.avvisi-web-hero .launch-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.55rem;justify-content:flex-start;margin:1.2rem 0 0}
.avvisi-web-hero .launch-actions a.button{min-height:46px;border-radius:.8rem;padding:.65rem 1rem;font-size:.86rem;border:1px solid var(--av-line);box-shadow:none}
.avvisi-web-hero .launch-actions a.secondary{background:var(--surface,transparent);color:var(--ink,inherit)}
.avvisi-web-hero .launch-actions a.primary{background:var(--accent,var(--forest));color:var(--ui-on-primary,#fff)}
.avvisi-web-hero .avvisi-share{grid-column:1/-1;margin:0;justify-self:start}
.avvisi-web-hero .avvisi-share:empty{display:none}
.avvisi-original-reader.avvisi-web-reading{padding-block:0 3rem}
.avvisi-web-reading>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.avvisi-web-shell{display:grid;grid-template-columns:minmax(10.5rem,.25fr) minmax(0,1fr);gap:clamp(1.8rem,5vw,4.8rem);align-items:start}
.avvisi-web-rail{position:sticky;top:7.5rem;min-width:0;max-height:calc(100dvh - 8.5rem);overflow:auto;padding-right:.4rem;font-size:.83rem}
.avvisi-web-kicker{display:block;font-size:.64rem;font-weight:700;line-height:1.5;text-transform:uppercase;letter-spacing:.16em;color:var(--accent,var(--ink));margin-bottom:1rem}
.avvisi-web-index{padding-top:1rem;border-top:1px solid var(--av-line)}
.avvisi-web-index ol{list-style:none;padding:0;margin:0}
.avvisi-web-index a{display:flex;align-items:baseline;gap:.65rem;padding:.75rem 0;border-bottom:1px solid var(--av-line);line-height:1.5;text-decoration:none;font-weight:600}
.avvisi-web-index a:hover{color:var(--accent)}
.avvisi-web-index-number{font-size:.66rem;letter-spacing:.04em;color:var(--av-muted);font-variant-numeric:tabular-nums}
.avvisi-web-reading-tools{padding-top:1.1rem}
.avvisi-web-reading-tools button{border:1px solid var(--av-line);border-radius:.6rem;padding:.6rem .75rem;min-height:44px;background:var(--surface,transparent);color:inherit;text-align:left;font-size:.8rem}
.avvisi-web-reading-tools button[aria-pressed=true]{background:var(--accent);color:var(--ui-on-primary,#fff)}
.avvisi-web-masthead{margin-bottom:1.5rem;color:var(--av-muted);font-size:.75rem;line-height:1.6}
.avvisi-web-masthead summary{font-weight:600;cursor:pointer;padding:.6rem 0;min-height:44px}
.avvisi-web-masthead p{margin:.65rem 0}
.avvisi-web-masthead p:first-of-type{font-weight:600}
.avvisi-web-rail .is-mark{margin:0 0 .3rem}
.avvisi-web-rail .is-mark img{width:3.7rem;height:auto;margin:0}
.avvisi-web-content{min-width:0;overflow-wrap:anywhere}
.avvisi-web-content :is(p,li,blockquote){font-size:clamp(1.04rem,.99rem + .16vw,1.17rem);line-height:1.8}
.avvisi-web-module{margin-bottom:2.5rem;scroll-margin-top:7rem}
.avvisi-web-feature{margin:0 0 1.7rem;border-top:3px solid var(--accent,var(--forest));padding-top:1.2rem}
.avvisi-web-feature h2{font-size:clamp(2rem,4.1vw,3.65rem);font-weight:600;letter-spacing:-.05em;line-height:1.08;text-wrap:balance;max-width:22ch}
.avvisi-web-prose{max-width:66ch}
.avvisi-web-prose p{margin:0 0 1.1em}
.avvisi-web-prose p:first-child{font-size:clamp(1.15rem,1.05rem + .4vw,1.4rem);line-height:1.65;color:var(--ink);font-weight:500}
.avvisi-web-content a:not(.avvisi-web-day-nav a){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.avvisi-web-text p{margin:.7rem 0}
.avvisi-web-figure{margin:1.5rem 0}
.avvisi-web-image{display:block;max-width:100%;width:auto;height:auto;border-radius:.8rem}
.avvisi-web-figure figcaption{font-size:.8rem;color:var(--av-muted);margin-top:.55rem}
.avvisi-web-calendar{position:relative;margin:3rem 0 0;scroll-margin-top:7rem}
.avvisi-web-module-heading{border-top:1px solid var(--av-line);padding-top:1.5rem;margin-bottom:1.4rem}
.avvisi-web-module-heading h2{font-size:clamp(1.8rem,3vw,2.6rem);letter-spacing:-.04em;font-weight:600;line-height:1.12}
.avvisi-web-day-nav{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1.5rem}
.avvisi-web-day-nav a{border:1px solid var(--av-line);border-radius:.6rem;padding:.55rem .7rem;min-height:44px;font-size:.8rem;line-height:1.5;font-weight:600;text-transform:capitalize;background:var(--surface,transparent)}
.avvisi-web-day-nav a:hover{background:var(--av-soft)}
.avvisi-web-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}
.avvisi-web-days.is-agenda{grid-template-columns:1fr}
.avvisi-web-day{background:var(--surface,transparent);border:1px solid var(--av-line);border-radius:1rem;overflow:hidden;padding:1.2rem;scroll-margin-top:7rem;min-width:0}
.avvisi-web-day h3.avvisi-web-date{display:flex;gap:1rem;align-items:center;margin:0 0 1rem;letter-spacing:0;font-family:inherit}
.avvisi-web-date-number{display:grid;place-items:center;flex:0 0 3.2rem;min-height:3.4rem;border-radius:.7rem;background:var(--av-soft);color:var(--accent,var(--ink));font-size:1.9rem;font-weight:650;font-variant-numeric:tabular-nums}
.avvisi-web-date-copy{display:flex;flex-direction:column;gap:.3rem;text-transform:capitalize;font-weight:650;font-size:1rem;line-height:1.2}
.avvisi-web-date-copy small{font-size:.77rem;color:var(--av-muted);font-weight:400}
.avvisi-web-liturgy{padding:0 0 .8rem;color:var(--av-muted)}
.avvisi-web-liturgy p{font-size:.83rem;line-height:1.6;margin:.3rem 0}
.avvisi-web-events{list-style:none;margin:0;padding:0}
.avvisi-web-events li{font-size:.93rem;line-height:1.6;border-top:1px solid var(--av-line);padding:.8rem 0}
.avvisi-web-events li:last-child{padding-bottom:0}
.avvisi-web-events li.has-time{display:grid;grid-template-columns:minmax(3.3rem,max-content) minmax(0,1fr);gap:.65rem}
.avvisi-web-events strong{font-size:.86rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--accent,var(--ink))}
.avvisi-web-anchor{position:absolute;top:0;scroll-margin-top:7rem}
.avvisi-web-table-scroll{overflow:auto;max-width:100%;border:1px solid var(--av-line);border-radius:.8rem}
.avvisi-web-table table{border-collapse:collapse;width:100%;min-width:24rem}
.avvisi-web-table caption{text-align:left;padding:1rem;font-size:1.1rem;font-weight:600}
.avvisi-web-table :is(th,td){text-align:left;vertical-align:top;padding:.8rem 1rem;border-top:1px solid var(--av-line);font-size:1rem;line-height:1.65}
.avvisi-web-table th{background:var(--av-soft)}
.avvisi-web-list{border-block:1px solid var(--av-line);padding:1rem 0}
.avvisi-web-list ul{padding-left:1.5rem}
.avvisi-web-quote blockquote{border-left:3px solid var(--accent);padding:1rem 1.5rem;margin:0;background:var(--av-soft)}
.avvisi-web-notice{border:1px solid var(--av-line);border-radius:1rem;padding:1rem}
.avvisi-web-module.is-wide .avvisi-web-prose{max-width:none}
.is-large-text .avvisi-web-content :is(p,li){font-size:1.3rem;line-height:1.85}
.avvisi-standalone-book{padding-block:1rem 2rem;min-width:0}
.avvisi-standalone-book>.launch-actions{display:flex;justify-content:space-between;margin-block:.25rem 1rem}
.avvisi-standalone-book .avvisi-book-toolbar{position:relative;top:auto}
.avvisi-standalone-book .avvisi-book-stage{overflow:auto}
.avvisi-standalone-book .avvisi-book-toolbar>div{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}
.avvisi-standalone-book .avvisi-book-toolbar :is(button,input){min-height:44px}
@media(max-width:900px){
 .avvisi-web-shell{grid-template-columns:1fr;gap:1.4rem}
 .avvisi-web-rail{position:static;max-height:none;display:grid;grid-template-columns:1fr auto;gap:0 1rem;padding:0}
 .avvisi-web-rail .is-mark,.avvisi-web-masthead{display:none}
 .avvisi-web-rail:has(.avvisi-web-masthead) .avvisi-web-masthead{display:block;grid-column:1/-1;margin:0 0 .6rem}
 .avvisi-web-rail:has(.avvisi-web-masthead) .is-mark{display:block;grid-column:1/-1}
 .avvisi-web-rail .is-mark img{width:2.8rem}
 .avvisi-web-index{border:0;padding:0}
 .avvisi-web-index .avvisi-web-kicker{margin-bottom:.35rem}
 .avvisi-web-index a{font-size:.78rem;padding:.6rem 0}
 .avvisi-web-reading-tools{align-self:start;padding-top:1.3rem}
}
@media(max-width:600px){
 #main .avvisi-native-page.avvisi-web-hero{grid-template-columns:1fr;gap:.4rem;padding-block:1.2rem;margin-bottom:1.2rem}
 .avvisi-web-hero h1{grid-row:auto;max-width:none;font-size:2.55rem}
 .avvisi-web-hero .section-intro{grid-row:auto;font-size:.95rem}
 .avvisi-web-hero .avvisi-native-meta{grid-column:1;grid-row:auto;border-left:0;padding:1rem 0 0;gap:.3rem}
 .avvisi-web-hero .avvisi-native-meta span:nth-child(2){font-size:1rem}
 .avvisi-web-hero .launch-actions{gap:.4rem;margin-top:.8rem}
 .avvisi-web-hero .launch-actions a.button{flex:1 1 auto;padding:.6rem .75rem;font-size:.8rem}
 .avvisi-web-shell{gap:1.2rem}
 .avvisi-web-feature h2{font-size:2.15rem}
 .avvisi-web-days{grid-template-columns:1fr}
 .avvisi-web-calendar{margin-top:2.2rem}
 .avvisi-web-rail{grid-template-columns:1fr}
 .avvisi-web-reading-tools{padding-top:.7rem}
 .avvisi-web-reading-tools button{padding:.45rem .7rem}
 .avvisi-web-day{padding:1.1rem}
 .avvisi-standalone-book.wrap{padding-inline:.5rem}
}
@media(prefers-reduced-motion:reduce){.avvisi-web-reading{scroll-behavior:auto}}
@media print{
 .avvisi-web-rail,.avvisi-web-hero .launch-actions,.avvisi-web-day-nav,.avvisi-web-hero .avvisi-share{display:none}
 .avvisi-web-shell{display:block}.avvisi-web-day{break-inside:avoid}.avvisi-web-days{display:block}
 .avvisi-web-content{color:#000;background:#fff}.avvisi-web-content :is(p,li){font-size:12pt}
}

.avvisi-flipbook-section[hidden]{display:none!important}
.aw-layout{width:min(1150px,96vw);max-width:96vw;max-height:92dvh;overflow:auto;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px}
.aw-layout::backdrop{background:#08191dcc;backdrop-filter:blur(5px)}
.aw-module-list{padding:0;list-style:none;display:grid;gap:10px}
.aw-module-list li{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:1px solid var(--line);border-radius:12px;padding:12px}
.aw-module-list strong{flex:1 1 240px;overflow-wrap:anywhere}
.aw-module-list button,.aw-module-list select,.aw-layout>.launch-actions button{min-height:44px;padding:8px 12px}
.aw-module-preview{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.aw-module-preview .avvisi-web-rail{position:static}
@media(max-width:600px){.aw-layout{padding:16px}.aw-module-list strong{flex-basis:100%}}
