/* Essencial: shared light-only product surfaces, independently of OS appearance. */
:root{color-scheme:only light;--web-bg:#f8f9fb;--web-surface:#fff;--web-surface-2:#f5f6f4;--web-ink:#302e2b;--web-ink-2:#686761;--web-ink-3:#686761;--web-line:#e8e9e5;--web-clay:#ac4327;--web-clay-deep:#92381f;--web-clay-tint:#fbede5;--web-sage:#32604d;--web-sage-soft:#edf5ee}
.web-app{color-scheme:only light}
.essential-shell{display:grid;grid-template-columns:180px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100dvh}
.essential-app-header{grid-column:1/-1;position:sticky;top:0;z-index:35;display:flex;align-items:center;gap:24px;min-height:80px;padding:16px 26px;background:#fff;border-bottom:1px solid var(--web-line)}
.essential-app-header .web-brand-line{display:flex;align-items:center;gap:8px}
.essential-app-header .web-brand{font-size:27px;font-weight:650;letter-spacing:-1px}
.adorai-logo{display:block;flex-shrink:0;object-fit:contain}
.essential-brand-mark{width:34px;height:34px}
.essential-church{flex:1;min-width:0;display:flex;align-items:center;gap:10px;border-left:1px solid var(--web-line);padding-left:22px;color:var(--web-ink-2)}
.essential-church strong,.essential-church small{display:block;overflow-wrap:anywhere}
.essential-church>span{min-width:0}
.essential-church strong{font-size:13px;color:var(--web-ink);font-weight:600}
.essential-church small{font-size:11px;margin-top:2px}
.essential-profile{position:relative;flex-shrink:0}
.essential-profile-button{width:44px;height:44px;border:3px solid #fff;box-shadow:0 0 0 1px var(--web-line);background:var(--web-clay-tint);color:var(--web-clay);font-size:12px;cursor:pointer}
.essential-profile-menu{position:absolute;right:0;top:52px;z-index:40;width:min(290px,calc(100vw - 28px));background:#fff;border:1px solid var(--web-line);border-radius:13px;box-shadow:0 12px 30px #31291d14;padding:7px}
.essential-profile-menu[hidden]{display:none}
.essential-profile-menu button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;min-height:48px;border:0;border-radius:8px;padding:10px;background:transparent;color:var(--web-ink);font-size:14px;cursor:pointer}
.essential-profile-menu button:hover{background:var(--web-clay-tint)}
.essential-shell .web-sidebar{position:sticky;grid-column:1;grid-row:2;top:80px;align-self:start;width:auto;height:calc(100dvh - 80px);padding:20px 12px;background:#fff;border-right:1px solid var(--web-line);display:block}
.essential-shell .web-nav{margin:0;gap:7px}
.essential-shell .web-nav button{display:flex;align-items:center;gap:11px;min-height:48px;padding:12px;border-radius:11px;font-size:14px;font-weight:500;background:transparent;color:var(--web-ink-2)}
.essential-shell .web-nav button.active{background:var(--web-clay-tint);color:var(--web-clay);font-weight:600;box-shadow:none}
.essential-shell .web-main{grid-column:2;grid-row:2;margin:0;min-width:0;padding:28px clamp(20px,3vw,44px) 36px;width:100%;max-width:1440px;justify-self:center}
.essential-shell .web-topbar{margin:0 0 24px;gap:18px;align-items:center;flex-wrap:wrap}
.essential-shell .web-topbar .web-muted{margin:7px 0 0;font-size:14px;line-height:1.5}
.essential-shell .web-view-title{font-size:30px;font-weight:600;letter-spacing:-.9px;line-height:1.2;overflow-wrap:anywhere}
.essential-shell .web-card{border-radius:16px;border-color:var(--web-line);box-shadow:0 2px 4px #332b2203;background:#fff}
.essential-shell .web-card.dark{background:#fff4ec;color:var(--web-ink)}
.essential-shell .web-card h2,.essential-shell .web-card h3{margin:0;font-weight:600}
.web-btn{border-radius:10px;min-height:44px;font-weight:600}
/* Controls need their own visible boundary; card dividers remain subtle. */
:root{--web-control-outline:#7c8178;--web-amber:#815700}
.web-btn,.web-icon-btn{-webkit-text-fill-color:currentColor}
.web-btn.secondary,.web-icon-btn{border-color:var(--web-control-outline)}
.web-btn:not(:disabled):hover{filter:none;background:var(--web-clay-deep)}
.web-btn.secondary:not(:disabled):hover{background:var(--web-line)}
.web-btn.ghost:not(:disabled):hover{background:var(--web-clay-tint)}
.web-btn.dark:not(:disabled):hover{background:#1f1e1c}
.web-btn.danger:not(:disabled):hover{background:#7c251c}
.web-btn:disabled,.web-icon-btn:disabled,.web-segment button:disabled{opacity:1;background:var(--web-line);color:var(--web-ink-2);border-color:var(--web-control-outline);cursor:not-allowed;box-shadow:none}
.web-tabs button.active,.web-segment button.active{background:var(--web-clay-tint);color:var(--web-clay-deep);box-shadow:inset 0 -2px var(--web-clay)}
.essential-shell .web-card.clickable:hover{border-color:#d6c5b9;box-shadow:0 4px 14px #54403109;transform:none}
.essential-hero{display:grid;grid-template-columns:minmax(0,1fr) 154px;gap:12px 24px;padding:25px 26px 16px;background:radial-gradient(ellipse at 100% 0%,#ffe8d8 0%,#fff4ec 60%);border:1px solid #eddfd3;border-radius:18px;color:#382d26}
.essential-cult-label{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:600;border:1px solid #ecd9c9;border-radius:7px;background:#ffffffb8;color:#87502f;padding:4px 7px}
.essential-hero h2{font:600 clamp(26px,3vw,36px)/1.12 var(--web-display);letter-spacing:-.9px;margin:13px 0}
.essential-hero p{color:#6d5d50;font-size:14px;line-height:1.6;margin:0 0 20px}
.essential-hero .web-btn{font-size:13px;box-shadow:0 2px 3px #8b301317}
.essential-progress{width:154px;position:relative;align-self:center}
.essential-ring{width:100%;height:auto;display:block;transform:rotate(-90deg)}
.essential-ring-track{fill:none;stroke:#ecd7c5;stroke-width:6}
.essential-ring-fill{fill:none;stroke:var(--web-clay);stroke-width:6;stroke-linecap:round;transition:stroke-dashoffset .24s ease}
.essential-progress>span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.essential-progress strong{font:600 34px/1.15 var(--web-display);letter-spacing:-1px}
.essential-progress small{font:400 12px/1.5 var(--web-ui);color:#6d5d50}
.essential-progress strong small{font-size:17px}
.essential-hero-foot{grid-column:1/-1;border-top:1px solid #e9d8c9;display:flex;align-items:center;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;margin-top:5px;padding-top:12px}
.essential-hero-foot .web-row{flex-wrap:wrap;gap:12px}
.essential-hero-foot small{font-size:12px;color:#6d5d50}
.essential-hero-foot .web-btn{box-shadow:none;font-size:12px}
.essential-avatar-stack{display:flex;padding-right:5px}
.essential-avatar-stack span{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:#f2ddc3;border:2px solid #fff4ec;color:#66492d;font-size:10px;font-weight:600;margin-right:-6px}
.essential-avatar-stack span:nth-child(even){background:#e2ece0;color:#36583c}
.essential-personal-symbol{color:#ac4327;align-self:center;justify-self:center;background:#ffffffb8;padding:24px;border-radius:24px}
.essential-home-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;margin-top:20px;align-items:start}
.essential-home-grid>.web-card{padding:20px;min-width:0}
.essential-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:15px;flex-wrap:wrap}
.essential-section-head h2{font-size:17px;font-weight:600;letter-spacing:-.25px;margin:0}
.essential-section-head span,.essential-section-head small{font-size:12px;color:var(--web-ink-2)}
.essential-task{display:flex;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid var(--web-line)}
.essential-task:last-child{border-bottom:0}
.essential-check{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--web-control-outline);border-radius:11px;background:#f5f6f4;color:var(--web-ink-2);cursor:pointer}
.essential-check[aria-pressed=true]{background:#edf5ee;color:#32604d}
.essential-task-open{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;min-height:44px;padding:0;border:0;background:transparent;color:var(--web-ink);text-align:left;cursor:pointer}
.essential-task-open strong{font-size:15px;font-weight:600;display:block}
.essential-task-open small{font-size:12px;color:var(--web-ink-2);display:block;margin-top:3px;line-height:1.5}
.essential-task-open>svg{color:var(--web-ink-2)}
.essential-device-note{font-size:12px;color:var(--web-ink-2);margin:14px 0 0;line-height:1.6}
.essential-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:14px}
.essential-week button{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;min-height:65px;padding:7px 0;border:0;border-radius:9px;background:#f8f9f7;color:var(--web-ink-2);cursor:pointer}
.essential-week small{font-size:11px}
.essential-week strong{font-size:16px;font-weight:600}
.essential-week i{height:4px;width:4px;border-radius:50%;background:transparent}
.essential-week i.has-event{background:var(--web-clay)}
.essential-week button[aria-pressed=true]{background:var(--web-clay);color:#fff}
.essential-week button[aria-pressed=true] i.has-event{background:#fff}
.essential-day-events>button{display:flex;align-items:center;gap:10px;width:100%;min-height:72px;padding:11px 0;border:0;border-bottom:1px solid var(--web-line);background:transparent;text-align:left;color:var(--web-ink);cursor:pointer}
.essential-day-events>button:last-child{border:0}
.essential-day-events time{min-width:40px;font-size:12px;color:var(--web-ink-2);font-variant-numeric:tabular-nums}
.essential-day-events>button>span{flex:1;min-width:0;border-left:2px solid #ddb7a1;padding-left:10px}
.essential-day-events strong,.essential-day-events small{display:block}
.essential-day-events strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.essential-day-events small{font-size:12px;color:var(--web-ink-2);margin-top:3px}
.essential-link-row{display:flex;align-items:center;gap:12px;min-height:74px;width:100%;padding:14px 0;background:transparent;border:0;border-bottom:1px solid var(--web-line);text-align:left;color:var(--web-ink);cursor:pointer}
.essential-link-row>span{flex:1;min-width:0}
.essential-link-row strong,.essential-link-row small{display:block}
.essential-link-row strong{font-size:14px;font-weight:600}
.essential-link-row small{font-size:12px;color:var(--web-ink-2);margin-top:4px}
.essential-settings{max-width:800px}
.essential-settings h2{font-size:18px}
.essential-settings p{margin:0;line-height:1.6}
.essential-settings .essential-link-row{padding:20px}
.essential-shell .web-bottom{display:none}
.essential-service-hub{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}
.essential-service-hub button{display:flex;align-items:center;gap:8px;min-height:48px;min-width:0;padding:12px;border:1px solid var(--web-control-outline);border-radius:11px;background:#fff;color:var(--web-clay-deep);font-size:14px;font-weight:600;cursor:pointer}
.essential-service-hub button>span{flex:1;text-align:left}
.essential-shell :is(button,a,input,select,summary,textarea):focus-visible{outline:3px solid var(--web-clay-deep);outline-offset:3px}
@media(min-width:761px) and (max-width:1080px){.essential-home-grid{grid-template-columns:1fr}.essential-shell{grid-template-columns:158px minmax(0,1fr)}}
@media(max-width:760px){
 .essential-service-hub{grid-template-columns:repeat(2,minmax(0,1fr))}
 .essential-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;padding-bottom:82px}
 .essential-shell .web-sidebar{display:none}
 .essential-app-header{padding:13px 17px;gap:13px;min-height:74px}
 .essential-app-header .web-brand{font-size:23px}.essential-brand-mark{width:30px;height:30px}
 .essential-church{padding-left:11px;gap:7px}.essential-church>svg{display:none}.essential-church strong{font-size:12px}.essential-church small{font-size:11px}
 .essential-church strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.essential-church small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.essential-app-header .web-demo-badge{display:none}
 .essential-shell .web-main{grid-column:1;padding:23px 17px 20px;overflow:visible}
 .essential-shell .web-topbar{gap:14px;margin-bottom:20px}.essential-shell .web-topbar>.web-actions{display:flex;flex-wrap:wrap}
 .essential-shell .web-view-title{font-size:29px}.essential-shell .web-topbar .web-muted{font-size:13px}
 .essential-hero{grid-template-columns:minmax(0,1fr) 100px;gap:12px 10px;padding:19px 17px 12px;border-radius:16px}
 .essential-hero h2{font-size:27px}.essential-hero p{font-size:12px;margin-bottom:16px}.essential-hero .web-actions{gap:8px}.essential-hero .web-btn{font-size:12px;padding:10px 12px;width:auto}
 .essential-progress{width:100px}.essential-progress strong{font-size:28px}.essential-progress small{font-size:11px}
 .essential-hero-foot small{font-size:11px}.essential-hero-foot .web-btn{padding-inline:0}.essential-hero-foot .web-row{gap:10px}
 .essential-avatar-stack span{width:27px;height:27px}.essential-home-grid{grid-template-columns:1fr;gap:15px;margin-top:16px}.essential-home-grid>.web-card{padding:17px}
 .essential-section-head h2{font-size:16px}.essential-section-head small,.essential-section-head span{font-size:11px}
 .essential-shell .web-bottom{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:auto;min-height:72px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));gap:5px;background:#fff;border-top:1px solid var(--web-line);z-index:30}
 .essential-shell .web-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:54px;padding:8px 3px;border:0;border-radius:10px;background:transparent;color:var(--web-ink-2)}
 .essential-shell .web-bottom button small{font-size:12px}.essential-shell .web-bottom button.active{color:var(--web-clay);background:var(--web-clay-tint)}
 .essential-shell .web-repertoire-actions,.essential-shell .web-page-toolbar>.web-mobile-only{display:none}
 .web-modal-backdrop:has(.web-service-detail),.web-modal-backdrop:has([data-submit="service"]),.web-modal-backdrop:has([data-submit="liturgy"]){padding:0}
 .web-modal:has(.web-service-detail){width:100%;max-height:100dvh;border-radius:0;min-height:100dvh}
}
@media(max-width:380px){.essential-app-header{gap:10px;padding-inline:14px}.essential-church{padding-left:0;border:0}.essential-church small{display:none}.essential-shell .web-main{padding-inline:13px}.essential-hero{grid-template-columns:minmax(0,1fr) 84px;padding-inline:13px}.essential-progress{width:84px}.essential-progress strong{font-size:25px}.essential-home-grid>.web-card{padding:14px}.essential-week{grid-template-columns:repeat(4,minmax(0,1fr))}.essential-week button{min-height:65px}}
@media(prefers-reduced-motion:no-preference){.essential-shell .web-main{animation:essential-enter .18s ease-out}.essential-shell .web-card,.essential-shell button{transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}.essential-shell .web-btn:active{transform:scale(.985)}@keyframes essential-enter{from{opacity:.75;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.essential-ring-fill,.essential-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
