.av-icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.19em;flex:none}
.iconbtn .av-icon,#aviva-theme-toggle .av-icon{display:block;width:21px;height:21px}
#aviva-theme-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0}
.team-nav .av-icon{width:21px;height:21px}
.tool-card{position:relative}.tool-card h3{display:flex;align-items:center;gap:10px}
.tool-card .av-icon,.work-heading h1 .av-icon{color:var(--accent)}
.work-heading h1 .av-icon{width:.75em;height:.75em;margin-inline-end:.2em}
.profile-id{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.profile-avatar{width:74px;height:74px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:var(--wave);color:var(--ink);font-weight:800;font-size:24px;flex:none}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.mobile-studio .av-icon{font-size:36px;color:var(--accent)}
#dev-activation{position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:24px;background:var(--work);color:var(--ink);overflow:auto}
#dev-activation[open]{display:grid;place-items:center;isolation:isolate}
#dev-activation::backdrop{background:#070b14}
.dev-activate-panel{z-index:1;width:min(100%,620px);border:1px solid var(--line);border-radius:22px;padding:clamp(20px,6vw,54px);background:var(--panel);box-shadow:var(--shadow);animation:dev-appear .55s ease both}
.dev-activate-panel>.av-icon{font-size:62px;color:var(--accent)}
.dev-activate-panel h2{font-size:clamp(1.6rem,5vw,2.4rem);line-height:1.12}
.dev-activate-panel .preserve{overflow-wrap:anywhere;max-height:40vh;overflow:auto}
#dev-activation[open]::before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--accent) 27%,transparent),transparent 67%);animation:dev-appear .65s ease both}
@keyframes dev-appear{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.dev-activate-panel,#dev-activation[open]::before{animation:none}}
#dev-revocation{width:min(calc(100% - 32px),540px);max-width:none;max-height:calc(100% - 32px);padding:0;border:0;border-radius:22px;background:transparent;color:var(--ink);overflow:auto}
#dev-revocation::backdrop{background:rgba(10,13,19,.74)}
#dev-revocation .dev-activate-panel{width:100%;animation:dev-appear .42s ease-out both}
#dev-revocation .eyebrow{margin-top:.9rem}
@media(prefers-reduced-motion:reduce){#dev-revocation .dev-activate-panel{animation:none}}
.tour-layout{display:grid;grid-template-columns:minmax(145px,210px) minmax(0,1fr);gap:16px;align-items:start}
.tour-index{display:grid;gap:5px;max-height:58vh;overflow:auto}
.tour-index .btn{justify-content:flex-start;text-align:left}.tour-index [aria-current=step]{border-color:var(--accent);background:var(--wave)}
.tour-demo{border:1px solid var(--line);border-radius:16px;background:var(--work);overflow:hidden}
.tour-demo-head{padding:10px 16px;border-bottom:1px solid var(--line);font-weight:800;color:var(--muted);background:var(--panel)}
.tour-demo-body{padding:16px}.tour-demo-body header{margin-bottom:14px}.tour-demo-body h3{margin:.1em 0}
.tour-label{display:inline-block;color:var(--accent);font-weight:750;margin-bottom:8px}
.tour-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:8px;margin-bottom:12px;color:var(--muted)}.tour-tiles span{border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--panel)}
.tour-highlight{padding:14px;border:2px solid var(--accent);border-radius:10px;background:var(--panel)}.tour-highlight p{margin:.35rem 0 .7rem}
@media(max-width:660px){.tour-layout{grid-template-columns:minmax(0,1fr)}.tour-index{display:flex;max-height:none;overflow:auto;white-space:nowrap}}
.dark-only{display:none}
html[data-theme=dark] .dark-only{display:initial}
.page-banner{margin:0 0 22px}
.page-banner:empty{display:none}
[data-studio-editable] .page-banner:empty{display:block;min-height:55px;border:1px dashed var(--line);border-radius:12px}
.page-banner img{display:block;width:100%;height:auto;max-height:450px;object-fit:cover;border-radius:16px}

.page-overline{font-weight:inherit}
.brand .church-logo{display:block;width:auto;height:42px;max-width:125px;object-fit:contain}
.team-brand-label{border-left:1px solid var(--line);padding-left:9px;font-size:.72rem;font-weight:750;white-space:normal}
.nav-avatar,.profile-avatar{display:inline-grid;place-items:center;overflow:hidden;border-radius:50%;position:relative;background:var(--wave);color:var(--ink)}
.nav-avatar{width:24px;height:24px;flex:none;font-size:.65rem;font-weight:800}
.nav-avatar img,.profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:450px){.team-brand{gap:.35rem}.team-brand .church-logo{height:34px;max-width:86px}.team-brand-label{font-size:.62rem;max-width:62px;padding-left:5px}}
.brand-description{font-size:.76rem}
@media(max-width:520px){.brand-description{display:none}.team-nav .nav-avatar{width:21px;height:21px}}
.tile-icon img{display:block;width:36px;height:36px;object-fit:contain}
.ministry-intro{display:flex;gap:16px;align-items:center}
.ministry-intro img{object-fit:contain;flex:none}
.vitrine-bar{margin:16px 0;display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap}
.vitrine-bar input,.vitrine-bar select{appearance:auto;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:9px;max-width:100%}
.vitrine-bar input{flex:1;min-width:min(170px,100%)}
.vitrine-bar p{flex-basis:100%;margin:0;color:var(--muted);font-size:.88rem}
#vitrine-public [hidden]{display:none}
.vitrine-rating-summary{margin-top:.5rem;color:var(--muted);font-size:.86rem}
.aviva-gallery-dialog{max-width:min(90vw,1024px);padding:10px;border:1px solid var(--line);background:var(--panel);color:var(--ink)}
.aviva-gallery-dialog img{display:block;max-width:100%;max-height:72vh;object-fit:contain;margin:auto}
.aviva-gallery-dialog .actions{margin:0 0 7px;justify-content:space-between}
.vitrine-review-image{display:block;width:min(100%,320px);height:auto;margin:.5rem 0;border-radius:8px}
.tool-section + .tool-section{margin-block-start:2.5rem}
.tool-section h2{margin:0 0 .23rem;font-size:clamp(1.35rem,3vw,1.9rem);letter-spacing:-.025em}
.tool-section>.muted{margin:0 0 .85rem}
.aviva-studio-tool-logo{display:inline-block;width:28px;height:28px;object-fit:contain;flex:none}
.event-ministry-choices{margin:0;padding:1rem;border:1px solid var(--line);border-radius:12px;min-width:0}
.event-ministry-choices legend{font-weight:750;padding:0 .4rem}
.event-ministry-choices .check{margin-top:.6rem}
.event-alerts{margin-block:0 1rem}
.event-planning-alert{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap;padding:clamp(15px,3vw,28px);background:var(--panel);border:1px solid var(--line);border-left:6px solid var(--accent);border-radius:14px;box-shadow:var(--shadow)}
.event-alert-copy h2{margin:.35rem 0}.event-alert-copy h3{margin:.7rem 0 .25rem}.event-alert-copy .muted{margin:0}.event-alert-copy ul{padding-inline-start:1.2rem;margin:.4rem 0}
.event-review-image{margin:1rem 0;min-width:0}
.event-review-image figcaption{font-weight:750;margin-bottom:.45rem}
.event-review-image img{display:block;width:100%;max-width:360px;max-height:300px;object-fit:contain;object-position:left center;border-radius:9px}
