/* v251 — MoMPA "More" grid (partials/more-grid): round icon tiles, plum #46143C / #6D3AA3, gold #C79A3C, Fraunces + Plus Jakarta Sans.
   Self-contained (works inside Tailwind, Livewire and plain shells). 44 px+ targets; 4 per row on phones, 6 on tablets. */
.mg{--mg-plum:#46143C;--mg-pu:#6D3AA3;--mg-gold:#C79A3C;--mg-ink:#2B1E33;--mg-mu:#8A7A93;font-family:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
.mg *,.mg *::before,.mg *::after{box-sizing:border-box}
.mg-sec{padding:18px 4px 6px}
.mg-sec+.mg-sec{border-top:1px solid rgba(199,154,60,.18)}
.mg-h{display:flex;align-items:center;gap:8px;margin:0 6px 14px;font:800 11.5px/1 'Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:var(--mg-mu)}
.mg-h::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,rgba(199,154,60,.35),transparent)}
.mg-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 6px}
@media (min-width:560px){.mg-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.mg-f{display:contents;margin:0}
.mg-t{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;min-height:96px;padding:0 2px;border:0;background:none;cursor:pointer;
  text-decoration:none;color:var(--mg-ink);font:inherit;-webkit-tap-highlight-color:transparent}
.mg-orb{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;color:var(--mg-plum);
  background:radial-gradient(120% 120% at 30% 20%,#FFFFFF 0%,#FBF6EE 55%,#F4EADB 100%);
  box-shadow:inset 0 0 0 1px rgba(199,154,60,.32),inset 0 -6px 12px -8px rgba(199,154,60,.35),0 10px 22px -16px rgba(70,20,60,.55),0 2px 4px -2px rgba(70,20,60,.12);
  transition:transform .18s ease,box-shadow .18s ease}
.mg-orb::after{content:'';position:absolute;inset:3px;border-radius:50%;background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(255,255,255,0) 45%);pointer-events:none}
.mg-svg{position:relative;z-index:1;display:block}
.mg-a{color:var(--mg-gold);opacity:.38}
.mg-l{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;font-size:11.5px;font-weight:650;line-height:1.3;letter-spacing:-.01em;text-align:center;color:#3A2A40;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:auto;hyphens:auto}
.mg-t:hover .mg-orb{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(199,154,60,.55),inset 0 -6px 12px -8px rgba(199,154,60,.45),0 16px 28px -16px rgba(70,20,60,.6)}
.mg-t:active .mg-orb{transform:scale(.94)}
.mg-t:focus-visible{outline:none}
.mg-t:focus-visible .mg-orb{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--mg-gold)}
.mg-t.out .mg-orb{color:#A21C1C;background:radial-gradient(120% 120% at 30% 20%,#fff,#FDF1EF 60%,#F9DEDA)}
.mg-t.out .mg-a{color:#D9473F}
.mg-t.out .mg-l{color:#A21C1C}
.mg-t.off{cursor:default}
.mg-t.off .mg-orb{opacity:.5;filter:grayscale(.6)}
.mg-t.off .mg-l{color:#A79BB0}
.mg-n{position:absolute;z-index:2;top:-2px;right:-4px;min-width:21px;height:21px;padding:0 6px;border-radius:999px;display:grid;place-items:center;
  font:800 11px/1 'Plus Jakarta Sans',system-ui,sans-serif;color:#fff;background:linear-gradient(150deg,#E2574F,#B42323);box-shadow:0 0 0 2px #fff}
.mg-orb .unb{position:absolute;z-index:2;top:-2px;right:-4px}
.mg-dot{position:absolute;z-index:2;top:4px;right:4px;width:10px;height:10px;border-radius:50%;background:#E2574F;box-shadow:0 0 0 2px #fff}
.mg-lock{position:absolute;z-index:2;bottom:-4px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:2px 7px;border-radius:999px;
  font:800 9.5px/1.2 'Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#6B5D76;background:#fff;box-shadow:0 0 0 1px #EADFEF}
.mg-lock .mg-svg{width:11px;height:11px}
@media (prefers-reduced-motion:reduce){.mg-orb{transition:none}}

/* the sheet that holds the grid (admin / owner / staff pages: partials/admin/mobile-nav) */
.mgs{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;justify-content:flex-end}
.mgs[hidden]{display:none}
.mgs-bg{position:absolute;inset:0;background:rgba(42,10,36,.45);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.mgs-c{position:relative;display:flex;flex-direction:column;max-height:92dvh;border-radius:28px 28px 0 0;background:#FBF8F3;box-shadow:0 -24px 50px -20px rgba(42,10,36,.5);
  padding-bottom:env(safe-area-inset-bottom,0px);animation:mgs-up .28s cubic-bezier(.2,.9,.3,1)}
@keyframes mgs-up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.mgs-c{animation:none}}
.mgs-grab{width:42px;height:5px;margin:10px auto 0;border-radius:999px;background:#E2D6E6}
.mgs-hd{position:relative;display:flex;align-items:center;gap:12px;margin:12px 14px 4px;padding:16px;border-radius:22px;color:#FAF3E7;overflow:hidden;
  background:radial-gradient(120% 140% at 100% 0%,rgba(199,154,60,.38),transparent 55%),linear-gradient(150deg,#5A1E4E,#46143C 60%,#2C0B26)}
.mgs-av{flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font:700 20px 'Fraunces',Georgia,serif;color:#46143C;background:linear-gradient(150deg,#FFF6E2,#F1D9A6);box-shadow:0 0 0 3px rgba(246,216,142,.5)}
.mgs-who{flex:1;min-width:0}
.mgs-who small{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#F0C97A}
.mgs-who b{display:block;font:600 19px/1.2 'Fraunces',Georgia,serif;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mgs-x{flex:none;width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#fff;background:rgba(255,255,255,.14)}
.mgs-body{overflow-y:auto;overscroll-behavior:contain;padding:0 12px 18px}
@media (min-width:768px){.mgs{justify-content:center;align-items:center;padding:24px}.mgs-c{width:min(720px,100%);border-radius:28px;max-height:86dvh}.mgs-grab{display:none}}

/* bottom tab bar (partials/admin/mobile-nav) */
.mgb{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;max-width:560px;margin:0 auto;
  padding:6px 8px max(8px,env(safe-area-inset-bottom));background:rgba(255,255,255,.96);
  box-shadow:0 -1px 0 rgba(199,154,60,.22),0 -14px 30px -22px rgba(70,20,60,.55);font-family:'Plus Jakarta Sans',system-ui,sans-serif}
.mgb-t{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border:0;border-radius:16px;background:none;cursor:pointer;
  text-decoration:none;font-size:11px;font-weight:700;color:#8A7A93;-webkit-tap-highlight-color:transparent}
.mgb-i{position:relative;display:grid;place-items:center;width:46px;height:30px;border-radius:999px;transition:background .18s}
.mgb-i .mg-a{color:#C79A3C;opacity:.35}
.mgb-t.on{color:#46143C}
.mgb-t.on .mgb-i{background:linear-gradient(150deg,#F4EEFA,#EFE2F7);box-shadow:inset 0 0 0 1px rgba(109,58,163,.18)}
.mgb-t.on .mg-a{opacity:.6}
.mgb-t:active .mgb-i{transform:scale(.94)}
@media (min-width:768px){.mgb{display:none}}
.mg-orb>span{position:relative;z-index:1;display:grid;place-items:center}.mg-orb>span>svg{display:block;width:26px;height:26px}
/* v258 — floating pill tab bar (MoMPA Team · staff home design) with a gold "+" in the middle */
.mgb.mgb-fl{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));max-width:536px;padding:8px;border-radius:28px;background:rgba(255,252,246,.97);
  box-shadow:0 0 0 1px rgba(70,20,60,.08),0 18px 36px -18px rgba(70,20,60,.55)}
.mgb.mgb-fl .mgb-t{border-radius:20px}
.mgb.mgb-fl .mgb-t.on{color:#fff;background:none}
.mgb.mgb-fl .mgb-t.on .mgb-i{width:62px;height:38px;color:#fff;background:linear-gradient(150deg,#5A1E4E,#46143C);box-shadow:0 8px 16px -10px rgba(70,20,60,.9)}
.mgb.mgb-fl .mgb-t.on .mg-a{color:#F0C97A;opacity:.7}
.mgb.mgb-fl .mgb-t.on>span:last-child{color:#46143C}
.mgb-plus{display:grid;place-items:center;align-self:start;margin-top:-26px;text-decoration:none}
.mgb-plus>span{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;color:#46143C;
  background:linear-gradient(180deg,#D9B05A,#C79A3C 60%,#B08428);box-shadow:0 0 0 5px #FFFCF6,0 14px 26px -12px rgba(150,105,25,.9)}
.mgb-plus .mg-a{color:#fff;opacity:.5}
.mgb-plus:active>span{transform:scale(.94)}
/* v388 (owner): search in the More sheet */
.mgs-q{display:flex;align-items:center;gap:10px;margin:8px 14px 6px;padding:0 14px;min-height:48px;border-radius:16px;background:#fff;color:#8A7590;box-shadow:inset 0 0 0 1.5px #EADFEA}
.mgs-q:focus-within{box-shadow:inset 0 0 0 2px #C79A3C}
.mgs-q input{flex:1;min-width:0;height:46px;border:0;outline:0;background:transparent;font:500 16px 'Plus Jakarta Sans',system-ui,sans-serif;color:#2A1426}
.mgs-q input::-webkit-search-cancel-button{cursor:pointer}
.mgs-none{margin:18px 6px;text-align:center;font-size:14px;color:#7C6A78}
.mg-sec[hidden],.mg-t[hidden],.mg-f[hidden]{display:none!important}

/* v420 (audit UX-9): the page behind the More sheet does not scroll */
html.m-lock,html.m-lock body{overflow:hidden}
