header.nav{
  position:sticky;top:0;z-index:70;background:inherit;
  /* Do not become a containing block for the fixed sheet or ask bar. */
  transform:none;filter:none;perspective:none;contain:none;will-change:auto;overflow:visible
}
/* MNTY menu PREVIEW (Nov 12 2026). Elena drawer sheet. Not for production.
   Phone-first full-screen sheet, one panel at a time, Back, 48px taps.
   Basket, Buy, Menu, and Close stay visible. */

.mnty-preview-banner{background:#1F1300;color:#F2C14E;font:700 .85rem/1.3 "Nunito Sans",system-ui,sans-serif;text-align:center;padding:.45rem .8rem;letter-spacing:.02em;position:sticky;top:0;z-index:30}
.mnty-preview-banner strong{font-weight:800}

/* Keep Buy, basket, donate, and the Menu button visible at every width. */
.nav .wrap>.buy,
.nav a.buy,
.site-basket-link,
.nav .home-basket-actions,
.nav .home-basket-link,
.nav .donate-pill,
.mnty-menu-btn{
  display:inline-flex!important;visibility:visible!important;opacity:1!important;
  flex:0 0 auto!important;pointer-events:auto!important;align-items:center
}

.mnty-menu-btn,
.mnty-top .mnty-top-item{
  list-style:none;cursor:pointer;user-select:none;text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;
  gap:.3em;min-height:48px;min-width:48px;padding:.35em .7em;
  font:800 .82rem/1.1 "Nunito Sans",system-ui,sans-serif;
  letter-spacing:.03em;text-transform:none;
  color:inherit;background:linear-gradient(#fff7e6,#f3e2b3);
  border:2px solid #c9a44a;border-bottom-width:4px;border-radius:6px 6px 4px 4px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 1px 0 rgba(0,0,0,.08);
  white-space:nowrap
}
.mnty-menu-btn:hover,
.mnty-menu-btn[aria-expanded="true"],
.mnty-top .mnty-top-item:hover,
.mnty-top .mnty-top-item[aria-current="true"]{background:linear-gradient(#ffe7a3,#f2c14e);border-color:#8a6a22}

.mnty-top{display:none;align-items:stretch;gap:.35rem;flex:1 1 auto;min-width:0;justify-content:flex-end}

/* Phone: Menu only. Desktop: the top drawers in the header. */
@media(max-width:1099px){
  .mnty-menu-btn{display:inline-flex!important}
  .mnty-top{display:none!important}
    header.nav>.wrap{
    display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;
    width:100%;max-width:100%;box-sizing:border-box;min-width:0;overflow:visible
  }
  header.nav>.wrap>.brand{flex:1 1 auto;min-width:0;overflow:hidden}
  header.nav>.wrap>.brand>span:not(.badge){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  header.nav>.wrap>.buy,
  header.nav>.wrap>.donate-pill,
  header.nav>.wrap>.site-basket-link,
  header.nav>.wrap>.home-basket-actions,
  header.nav>.wrap>.mnty-menu-btn,
  header.nav>.wrap>.mnty-top{flex:0 0 auto}
  html[data-variant="church"] .nav .donate-pill{
    font-size:0;min-width:48px;min-height:48px;padding:.2em;
    display:inline-flex!important;align-items:center;justify-content:center
  }
  html[data-variant="church"] .nav .donate-pill [aria-hidden]{font-size:1.1rem}
}
@media(min-width:1100px){
  .mnty-menu-btn{display:none!important}
  .mnty-top{display:flex!important;flex-wrap:wrap;justify-content:flex-end}
  header.nav>.wrap{overflow-x:visible}
}
@media(min-width:1100px) and (max-width:1399px){
  .mnty-top{gap:.2rem}
  .mnty-top .mnty-top-item{padding:.35em .45em;font-size:.75rem}
}

/* The sheet is a body-level overlay under the header and the search bar.
   It must not live inside header.nav: a sticky header is a containing
   block for position:fixed descendants on iOS, which hid the search bar. */
#mnty-sheet{
  position:fixed;left:0;right:0;top:var(--mnty-header-bottom,56px);bottom:0;
  z-index:60;display:flex;flex-direction:column;
  background:#fffaf0;border-top:2px solid #c9a44a;
  box-shadow:0 -8px 24px rgba(0,0,0,.08);
  overflow-x:hidden;min-width:0;
  height:auto;max-height:100vh;max-height:100dvh
}
#mnty-sheet[hidden]{display:none!important}
@media(min-width:1100px){
  #mnty-sheet{
    left:auto;width:min(480px,100%);right:0;
    border-left:2px solid #c9a44a;box-shadow:-8px 0 28px rgba(0,0,0,.18)
  }
}

.mnty-sheet-bar{
  position:sticky;top:0;z-index:2;flex:0 0 auto;
  display:flex;align-items:center;gap:.4rem;
  min-height:56px;padding:.25rem .6rem;
  background:#fff7e6;border-bottom:2px solid #c9a44a
}
.mnty-sheet-bar h2{
  flex:1 1 auto;margin:0;min-width:0;
  font:800 1.05rem/1.2 "Nunito Sans",system-ui,sans-serif;
  color:#1F1300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.mnty-sheet-back,
.mnty-sheet-close{
  flex:0 0 auto;min-height:48px;min-width:48px;padding:.3em .7em;
  border:2px solid #c9a44a;border-radius:10px;
  background:#fff;font:800 .95rem "Nunito Sans",system-ui,sans-serif;
  color:#1F1300;cursor:pointer
}
.mnty-sheet-back[hidden]{display:none!important}
.mnty-sheet-close{background:#f2c14e}

.mnty-sheet-view{position:relative;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto}
.mnty-sheet-panel{
  box-sizing:border-box;width:100%;min-width:0;padding:.4rem .6rem .9rem;
  overflow-x:hidden
}
.mnty-sheet-panel.is-forward{animation:mnty-in-right .22s ease-out}
.mnty-sheet-panel.is-back{animation:mnty-in-left .22s ease-out}
@keyframes mnty-in-right{from{transform:translateX(100%);opacity:.6}to{transform:none;opacity:1}}
@keyframes mnty-in-left{from{transform:translateX(-100%);opacity:.6}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){
  .mnty-sheet-panel.is-forward,.mnty-sheet-panel.is-back{animation:none}
}

/* Do not set overflow:hidden on html/body when the menu is open: that
   breaks position:sticky on the header and sends it off-screen after
   a long scroll. JS locks the page with body position:fixed instead. */
html.mnty-sheet-open,html.mnty-sheet-open body{overscroll-behavior:none}
html.mnty-sheet-open body{touch-action:none}
html.mnty-sheet-open #mnty-sheet,html.mnty-sheet-open #mnty-sheet-view{touch-action:pan-y}
html.mnty-sheet-open #ask,html.mnty-sheet-open .sask-band,html.mnty-sheet-open .mask-band{touch-action:auto}

.mnty-row{
  display:flex;flex-direction:column;justify-content:center;align-items:stretch;
  box-sizing:border-box;width:100%;min-width:0;min-height:48px;
  margin:0;padding:.45rem .7rem;border:0;border-radius:8px;
  background:transparent;color:inherit;text-align:left;text-decoration:none;
  font:700 .98rem/1.25 "Nunito Sans",system-ui,sans-serif;cursor:pointer
}
.mnty-row small{display:block;font-weight:500;font-size:.78rem;opacity:.75;white-space:normal}
.mnty-row:hover,.mnty-row:focus-visible{background:#fff3cc}
.mnty-row[aria-current="page"]{background:#f2c14e;color:#1F1300}
.mnty-push::after,
.mnty-role::after{
  content:"";position:absolute;right:.85rem;width:.38em;height:.38em;
  border-right:2.5px solid #8a6a22;border-bottom:2.5px solid #8a6a22;
  transform:rotate(-45deg)
}
.mnty-push,.mnty-role{position:relative;padding-right:2rem}

/* Direct top-level / in-sheet links use an arrow, not the drawer chevron. */
.mnty-row-link{
  position:relative;
  padding-right:2rem;
  box-sizing:border-box
}
.mnty-row-link::after{
  content:"\203A";
  position:absolute;right:.7rem;top:50%;
  transform:translateY(-50%);
  font-weight:800;font-size:1.2em;line-height:1;color:#8a6a22
}
.mnty-top .mnty-top-link::after{
  content:"\203A";
  font-weight:800;font-size:1.05em;line-height:1;color:#8a6a22
}
a.mnty-lives{
  display:inline-flex;align-items:center;min-height:48px;min-width:48px;
  padding:.15em .2em;border:0;border-radius:8px;background:none;
  color:#1F1300;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer
}

.mnty-sheet-panel h2{
  margin:.55rem .55rem .15rem;font-size:.68rem;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:#8a6a22
}
.mnty-sheet-panel h2:first-child{margin-top:.2rem}

.mnty-note,.xref{
  margin:.45rem .35rem .2rem;padding:.45rem .6rem;border-left:3px solid #c9a44a;
  background:#fff;font-size:.9rem;font-weight:500;line-height:1.35;color:#3a2a10;
  overflow-wrap:anywhere;word-break:break-word
}
.mnty-note button,.xref button{
  display:inline;min-height:0;padding:0;border:0;background:none;
  color:#1F1300;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer
}
.mnty-note button.mnty-lives,
button.mnty-lives{
  display:inline-flex;align-items:center;min-height:48px;min-width:48px;
  padding:.15em .2em;border:0;border-radius:8px;background:none;
  color:#1F1300;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer
}
.mnty-lives-row{margin:.15rem .35rem .35rem}

#mnty-panel-source{display:none!important}

.mnty-listen{
  display:inline-flex;align-items:center;gap:.3em;min-height:48px;
  margin:.15rem .35rem;padding:.3rem .7rem;border:0;border-radius:8px;
  background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer
}
.mnty-listen:hover{background:#fff3cc}

.mock-flag{
  display:inline-block;margin:.2rem 0 .35rem;padding:.1rem .4rem;
  border-radius:999px;background:#1F1300;color:#F2C14E;
  font:800 .68rem/1.2 "Nunito Sans",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase
}
.manage-block{
  margin:.45rem .35rem;padding:.55rem .65rem;border:1.5px solid #d4b56a;
  border-radius:10px;background:#fffef8
}
.manage-block label{display:block;font-size:.8rem;font-weight:700;margin:.25rem 0 .1rem}
.manage-block input, .unlock-box input, #role-lock-modal input[type="text"]{
  width:100%;min-height:48px;margin:0 0 .35rem;padding:.4rem .6rem;
  border:2px solid #c9a44a;border-radius:8px;font:inherit;box-sizing:border-box
}
.manage-block button[disabled],.manage-block input[disabled]{opacity:.7;cursor:not-allowed}
.unlock-box form.preview-unlock{margin:.2rem 0 0}
.unlock-err{margin:.25rem 0 0;font-size:.85rem;font-weight:700;color:#8a1c1c}
.unlock-err.is-ok{color:#1a5a1a}
.unlock-box button[type="submit"],
#role-lock-go{
  min-height:48px;min-width:48px;padding:.35em .9em;margin:.25rem 0;
  border-radius:10px;border:2px solid #c9a44a;
  background:#f2c14e;font:800 .95rem "Nunito Sans",system-ui,sans-serif;cursor:pointer
}
.code-exits{display:flex;flex-direction:column;gap:.25rem;margin:.55rem .15rem .2rem}
.code-exits button{
  display:flex;align-items:center;min-height:48px;width:100%;
  padding:.3rem .6rem;border:0;border-radius:8px;
  background:transparent;color:#1F1300;text-align:left;
  font:800 .95rem/1.3 "Nunito Sans",system-ui,sans-serif;
  text-decoration:underline;cursor:pointer
}
.code-exits button:hover{background:#fff3cc}

#role-lock-modal{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:rgba(20,12,0,.45);padding:1rem}
#role-lock-modal[hidden]{display:none!important}
#role-lock-modal .box{width:min(440px,100%);max-width:100%;background:#fffaf0;border:2px solid #c9a44a;border-radius:14px;padding:1.1rem 1.15rem 1.2rem;box-shadow:0 16px 40px rgba(0,0,0,.25);box-sizing:border-box;overflow-x:hidden}
#role-lock-modal h2{margin:0 0 .4rem;font-size:1.15rem}
#role-lock-modal p{margin:.35rem 0;font-size:.92rem}
#role-lock-modal .acts{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.7rem;flex-wrap:wrap}
#role-lock-modal .acts button{min-height:48px;min-width:48px;padding:.35em .9em;border-radius:10px;border:2px solid #c9a44a;font:800 .95rem "Nunito Sans",system-ui,sans-serif;cursor:pointer;background:#fff}
#role-lock-err{color:#8a1c1c;font-weight:700}
#role-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.mnty-signed{margin:.35rem .35rem .5rem;padding:.5rem .65rem;border-radius:10px;background:#fff3cc;font-weight:700}

/* Pin the site search / Ask bar just under the header while the menu is open.
   It must stay visible and typeable. Do not hide header chrome. */
html.mnty-sheet-open #ask,
html.mnty-sheet-open .sask-band,
html.mnty-sheet-open .mask-band,
.mnty-ask-pinned{
  position:fixed!important;
  left:0!important;right:0!important;
  top:var(--mnty-chrome-top,56px)!important;
  z-index:65!important;
  isolation:auto;
  visibility:visible!important;
  pointer-events:auto!important;
  opacity:1!important;
  margin:0!important;
  min-height:0!important;
  height:auto!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}
/* Home/church .mask uses 72px padding as homepage decoration. While the
   menu is open, drop that so the search pill stays compact and does not
   cover Close. */
html.mnty-sheet-open #ask .mask,
html.mnty-sheet-open #ask .sask,
html.mnty-sheet-open .mask-band .mask,
html.mnty-sheet-open .sask-band .sask,
.mnty-ask-pinned .mask,
.mnty-ask-pinned .sask{
  padding-top:0!important;
  padding-bottom:0!important;
  min-height:0!important;
  margin-top:0!important;
}
html.mnty-sheet-open .mask-band,
.mask-band.mnty-ask-pinned{display:flex!important;justify-content:center;align-items:flex-start}
html.mnty-sheet-open #ask input,
html.mnty-sheet-open .sask-band input,
html.mnty-sheet-open .mask-band input,
.mnty-ask-pinned input{
  pointer-events:auto!important
}

/* An open Ask answer sits in the reserved chrome gap above the sheet.
   Cap its height so Close and the sheet bar stay visible and on top. */
html.mnty-sheet-open #ask .p,
html.mnty-sheet-open .sask .p,
html.mnty-sheet-open #ask .mask-p,
html.mnty-sheet-open .mask-p{
  max-height:min(36vh,260px);
  overflow-y:auto;
  position:relative;
  z-index:55;
}
html.mnty-sheet-open #ask form,
html.mnty-sheet-open .sask form,
html.mnty-sheet-open .mask-pill{
  position:relative;
  z-index:65;
}
#mnty-sheet .mnty-sheet-bar{z-index:2}

/* Disabled Coming soon controls and Listen must stay 48px taps. */
.manage-block button,
.manage-block button[disabled],
.manage-actions button,
.manage-block input[disabled],
.manage-block input[type="text"][disabled]{
  min-height:48px!important;
  min-width:48px;
  box-sizing:border-box;
}
button.mnty-listen,
.mnty-listen,
a.mnty-listen{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:48px!important;
  min-width:48px!important;
  box-sizing:border-box;
  padding:.3rem .7rem;
}

/* Hash targets (promise, our-promise, ethics headings) clear the sticky header. */
[id="promise"],
[id="our-promise"],
h2[id^="et-"],
h2[id^="pv-"]{
  scroll-margin-top:96px;
}
