:root{--navy:#071a2d;--navy2:#0d2a47;--gold:#c7a460;--cream:#f6f1e7;--white:#fff;--ink:#17202a;--muted:#68717c;--line:#dde2e7;--danger:#a93226;--ok:#1f7a4f}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f4f6f8;color:var(--ink)}a{color:inherit}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,var(--navy),#0d365b)}.auth-card{width:min(480px,100%);background:white;border-radius:24px;padding:34px;box-shadow:0 24px 70px #0004}.auth-logo{display:block;width:110px;margin:0 auto 22px}.auth-card h1{font-size:2rem;margin:.2rem 0 .5rem;text-align:center;color:var(--navy)}.auth-card>.intro{text-align:center;color:var(--muted);margin:0 0 24px}.field{display:grid;gap:7px;margin:14px 0}.field label{font-weight:700;font-size:.9rem}.field input,.field textarea,.field select{width:100%;border:1px solid #ccd3da;border-radius:12px;padding:12px 13px;font:inherit;background:#fff}.field textarea{min-height:110px;resize:vertical}.btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:800;cursor:pointer}.btn-primary{background:var(--navy);color:white}.btn-gold{background:var(--gold);color:var(--navy)}.btn-light{background:#edf1f4;color:var(--navy)}.btn-danger{background:#fbe9e7;color:var(--danger)}.btn:disabled{opacity:.55;cursor:not-allowed}.full{width:100%}.msg{min-height:24px;margin:14px 0 0;font-size:.92rem}.msg.error{color:var(--danger)}.msg.ok{color:var(--ok)}.small{font-size:.86rem;color:var(--muted)}.center{text-align:center}.dash{min-height:100vh}.dash-top{position:sticky;top:0;z-index:20;background:var(--navy);color:white;padding:12px 18px;display:flex;align-items:center;gap:14px;box-shadow:0 2px 16px #0002}.dash-top img{width:50px;height:50px;object-fit:contain;background:white;border-radius:10px;padding:4px}.dash-brand{min-width:0}.dash-brand strong{display:block}.dash-brand span{display:block;font-size:.8rem;color:#c9d4df}.dash-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.dash-layout{display:grid;grid-template-columns:240px 1fr;min-height:calc(100vh - 74px)}.dash-nav{background:white;border-right:1px solid var(--line);padding:18px 12px}.dash-nav button{width:100%;text-align:left;border:0;background:none;padding:12px;border-radius:10px;font:inherit;font-weight:700;color:#46515c;cursor:pointer;margin:2px 0}.dash-nav button.active{background:#eaf0f5;color:var(--navy)}.dash-nav button[hidden]{display:none}.dash-main{padding:24px;max-width:1300px;width:100%;margin:0 auto}.panel{display:none}.panel.active{display:block}.page-head{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.page-head h1,.page-head h2{margin:0;color:var(--navy)}.page-head p{margin:.3rem 0 0;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat,.card{background:white;border:1px solid var(--line);border-radius:16px;padding:18px}.stat span{font-size:.82rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.stat strong{display:block;font-size:2rem;color:var(--navy);margin-top:4px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.list{display:grid;gap:10px}.row-card{background:white;border:1px solid var(--line);border-radius:14px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.row-card h3{margin:0 0 4px;font-size:1rem;color:var(--navy)}.row-meta{font-size:.86rem;color:var(--muted)}.row-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.modal{position:fixed;inset:0;background:#071a2dbb;z-index:50;display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal-card{background:white;width:min(680px,100%);max-height:90vh;overflow:auto;border-radius:20px;padding:22px}.modal-head{display:flex;align-items:center;gap:12px}.modal-head h2{margin:0;color:var(--navy)}.modal-head button{margin-left:auto}.check{display:flex;align-items:center;gap:8px}.check input{width:auto}.media-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:10px}.media-preview img,.media-preview video{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#eee}.badge{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:.72rem;font-weight:800;background:#edf1f4;color:var(--navy)}.badge.owner{background:#fff3d6}.badge.admin{background:#e4eef9}.badge.member{background:#edf4ec}.account-banner{background:#eaf0f5;border-radius:14px;padding:14px;margin-bottom:16px}.member-home{max-width:700px;margin:40px auto}.member-home h1{color:var(--navy)}@media(max-width:800px){.dash-layout{grid-template-columns:1fr}.dash-nav{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px;position:sticky;top:74px;z-index:15}.dash-nav button{width:auto;white-space:nowrap}.dash-main{padding:16px}.stats,.grid2{grid-template-columns:1fr}.row-card{grid-template-columns:1fr}.row-actions{justify-content:flex-start}.dash-brand span{display:none}.dash-top{padding:10px}.dash-top .btn{padding:10px 11px}.page-head{align-items:flex-start;flex-direction:column}.auth-card{padding:26px 20px}}


/* V57 member profile */
.member-welcome{display:flex;align-items:center;gap:22px}.account-avatar{width:108px;height:108px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#0b2740;color:#fff;font-size:2rem;font-weight:800;flex:0 0 auto;border:4px solid #fff;box-shadow:0 8px 24px rgba(5,20,34,.16)}.account-avatar img{width:100%;height:100%;object-fit:cover}.account-avatar.small-avatar{width:82px;height:82px;font-size:1.45rem;margin-bottom:16px}.testimony-admin-row p{max-width:760px;line-height:1.55;margin:.45rem 0 0;color:#46555f}@media(max-width:620px){.member-welcome{align-items:flex-start;flex-direction:column}.account-avatar{width:88px;height:88px}}

/* V64 My Church management */
.member-connect-home{max-width:1100px}.member-connect-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.member-span-2{grid-column:1/-1}.member-schedule-card{border:1px solid var(--line);border-radius:14px;padding:14px;margin:10px 0;background:#fbfcfd}.member-schedule-card h3{margin:4px 0 8px;color:var(--navy)}.member-schedule-date{font-size:.8rem;font-weight:800;color:#80642f;text-transform:uppercase;letter-spacing:.04em}.assignment-pill{padding:9px 11px;border-radius:10px;background:#eef3f7;margin:7px 0;display:flex;justify-content:space-between;gap:12px}.assignment-pill span{color:var(--muted);font-size:.85rem}.birthday-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.birthday-month{border:1px solid var(--line);border-radius:14px;padding:13px}.birthday-month h3{margin:0 0 8px;color:var(--navy)}.birthday-person{display:flex;align-items:center;gap:9px;padding:7px 0;border-top:1px solid #edf0f2}.birthday-person:first-of-type{border-top:0}.birthday-person img,.birthday-person>span{width:36px;height:36px;border-radius:50%;object-fit:cover;background:var(--navy);color:white;display:grid;place-items:center;font-size:.7rem;font-weight:800}.birthday-person strong,.birthday-person small{display:block}.birthday-person small{color:var(--muted);font-size:.78rem}.compact-list{gap:6px}.mini-row{border:1px solid var(--line);border-radius:10px;padding:10px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.row-card p{margin:.5rem 0 0;line-height:1.5}.field select[multiple]{min-height:120px}@media(max-width:760px){.member-connect-grid{grid-template-columns:1fr}.member-span-2{grid-column:auto}.assignment-pill{flex-direction:column}.mini-row{grid-template-columns:1fr}}

/* V68 — Push notification registered-device counter */
.notification-device-summary{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;margin:0 0 20px;padding:20px 22px;border:1px solid rgba(180,145,68,.28);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fbf8f0 100%);box-shadow:0 10px 28px rgba(10,31,58,.07)}
.notification-device-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;font-size:26px;background:#0d2b4e;color:#fff;box-shadow:0 8px 18px rgba(13,43,78,.18)}
.notification-device-label{display:block;text-transform:uppercase;letter-spacing:.09em;font-size:11px;font-weight:800;color:#8a6c2d;margin-bottom:2px}
.notification-device-summary strong{display:block;font-size:38px;line-height:1;color:#0d2b4e;margin:1px 0 5px}
.notification-device-summary p{margin:0;color:#5e6670;font-size:13px}
@media(max-width:700px){.notification-device-summary{grid-template-columns:auto 1fr}.notification-device-summary .btn{grid-column:1/-1;width:100%}}


/* V74 — Registered push-device management */
.push-devices-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:26px 0 12px}.push-devices-head h3{margin:0 0 4px;color:var(--navy)}.push-devices-head p{margin:0}.push-device-list{display:grid;gap:10px}.push-device-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px 15px}.push-device-avatar{width:46px;height:46px;border-radius:14px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:900;letter-spacing:.03em}.push-device-main{min-width:0}.push-device-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.push-device-title strong{color:var(--navy);font-size:1rem}.push-active-dot{display:inline-flex;align-items:center;gap:5px;font-size:.74rem;font-weight:800;color:var(--ok)}.push-active-dot:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--ok)}.push-device-meta{display:flex;gap:7px 14px;flex-wrap:wrap;margin-top:6px;color:var(--muted);font-size:.8rem}.push-device-meta span{position:relative}.push-device-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:760px){.push-devices-head{align-items:flex-start;flex-direction:column}.push-device-row{grid-template-columns:auto 1fr}.push-device-actions{grid-column:1/-1;justify-content:flex-start}.push-device-actions .btn{flex:1 1 130px}.push-device-meta{flex-direction:column;gap:3px}}
/* V75 My Church video meetings */
.meeting-info-card{border-left:4px solid #c59a48;background:linear-gradient(135deg,#fff,#fbf7ef)}
.video-meeting-row{position:relative;overflow:hidden}.video-meeting-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#c59a48}
.video-meeting-badge{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#17385e;background:#edf3f8;border-radius:999px;padding:6px 10px}
.video-meeting-badge:before{content:"";width:8px;height:8px;border-radius:50%;background:#c59a48}
.meeting-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.member-video-meetings{background:linear-gradient(135deg,#fff 0%,#fbf8f1 100%);border-top:4px solid #c59a48}
.meeting-join-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}
@media(max-width:700px){.video-meeting-row .row-actions{width:100%;justify-content:flex-start}.meeting-section-head{display:block}}
.meeting-page{margin:0;background:#f5f1e8;color:#17243a;min-height:100vh}.meeting-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;background:#fff;border-bottom:1px solid #dfe4ea;position:sticky;top:0;z-index:5}.meeting-page-brand{display:flex;align-items:center;gap:12px}.meeting-page-brand img{width:48px;height:48px;object-fit:contain}.meeting-page-brand strong,.meeting-page-brand span{display:block}.meeting-page-brand span{font-size:12px;color:#667085}.meeting-page-main{max-width:1280px;margin:0 auto;padding:28px}.meeting-gate{max-width:720px;margin:36px auto;padding:30px}.meeting-gate h1{font-size:clamp(28px,5vw,46px);margin:12px 0}.meeting-room-section{background:#0d1d31;border-radius:22px;padding:14px;box-shadow:0 20px 50px rgba(13,29,49,.18)}.meeting-room-top{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#fff;padding:7px 7px 14px}.meeting-room-top strong,.meeting-room-top span{display:block}.meeting-room-top span{font-size:12px;opacity:.75;margin-top:3px}.daily-room{height:min(76vh,820px);min-height:520px;border-radius:18px;overflow:hidden;background:#101820}.daily-room iframe{display:block!important;width:100%!important;height:100%!important;position:static!important}.member-video-meetings .member-schedule-card{border-left:4px solid #c59a48}.meeting-join-btn{margin-top:8px}@media(max-width:700px){.meeting-page-header{padding:10px 12px}.meeting-page-main{padding:14px}.meeting-page-brand img{width:40px;height:40px}.meeting-page-header .btn{font-size:12px;padding:10px}.meeting-room-top{align-items:flex-start;flex-direction:column}.daily-room{height:68vh;min-height:460px}.meeting-gate{margin:10px auto;padding:22px}}

/* V78 — My Church home feed + account dropdown */
.mychurch-top{min-height:76px}.mychurch-nav{margin-left:auto;display:flex;align-items:center;gap:12px}.mychurch-home-link{color:#dce6ef;text-decoration:none;font-weight:800;padding:10px 12px;border-radius:10px}.mychurch-home-link.active,.mychurch-home-link:hover{background:#ffffff14;color:#fff}.mychurch-account{position:relative}.mychurch-account-btn{border:1px solid #ffffff2b;background:#ffffff10;color:white;border-radius:14px;padding:7px 10px 7px 7px;display:flex;align-items:center;gap:9px;font:inherit;font-weight:800;cursor:pointer}.top-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#c7a460;color:#071a2d;font-size:.75rem;font-weight:900;overflow:hidden}.top-avatar img{width:100%;height:100%;object-fit:cover;background:transparent;padding:0;border-radius:50%}.mychurch-account-menu{position:absolute;right:0;top:calc(100% + 9px);width:220px;background:#fff;color:#263341;border:1px solid var(--line);border-radius:15px;padding:7px;box-shadow:0 18px 45px #071a2d2e;z-index:40}.mychurch-account-menu a,.mychurch-account-menu button{display:block;width:100%;text-align:left;padding:11px 12px;border:0;background:none;border-radius:9px;text-decoration:none;color:#33404d;font:inherit;font-weight:700;cursor:pointer}.mychurch-account-menu a:hover,.mychurch-account-menu button:hover,.mychurch-account-menu a.active{background:#edf2f6;color:var(--navy)}.mychurch-account-menu button{border-top:1px solid #edf0f2;border-radius:0 0 9px 9px;margin-top:4px;color:#8e3028}.mychurch-home{max-width:1180px}.mychurch-hero{display:flex;align-items:center;gap:22px;padding:24px;background:linear-gradient(135deg,#fff 0%,#f8f4ea 100%);border-top:4px solid var(--gold)}.mychurch-hero-copy h1{margin:5px 0 5px;color:var(--navy);font-size:clamp(1.7rem,4vw,2.45rem)}.mychurch-hero-copy p{margin:0 0 15px;color:var(--muted)}.mychurch-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.mychurch-summary-card{background:var(--navy);color:#fff;border-radius:16px;padding:17px 18px;min-width:0}.mychurch-summary-card>span{display:block;color:#d7c69d;text-transform:uppercase;letter-spacing:.08em;font-size:.7rem;font-weight:900}.mychurch-summary-card strong{display:block;font-size:1.15rem;margin:7px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mychurch-summary-card small{color:#c6d0da}.mychurch-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mychurch-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mychurch-section-head h2{margin:3px 0 2px;color:var(--navy)}.section-kicker{font-size:.68rem;letter-spacing:.12em;color:#8b6c2d;font-weight:900}.mychurch-feed{display:grid;gap:8px;margin-top:12px}.mychurch-feed-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:13px;align-items:center;padding:12px 0;border-top:1px solid #edf0f2}.mychurch-feed-item:first-child{border-top:0}.mychurch-feed-date{width:52px;height:58px;border-radius:12px;background:#edf2f6;display:grid;place-items:center;align-content:center;color:var(--navy);line-height:1}.mychurch-feed-date strong{font-size:.62rem;letter-spacing:.08em;color:#8b6c2d}.mychurch-feed-date span{font-size:1.45rem;font-weight:900;margin-top:4px}.mychurch-feed-body{min-width:0}.mychurch-feed-body h3{margin:2px 0;color:var(--navy);font-size:1rem}.mychurch-feed-body p{margin:0;color:var(--muted);font-size:.82rem}.mychurch-feed-body small{display:block;color:#68717c;margin-top:4px}.feed-type{font-size:.63rem;letter-spacing:.09em;font-weight:900;color:#8b6c2d}.mychurch-empty{padding:24px;border:1px dashed #cad2da;border-radius:14px;text-align:center;display:grid;gap:5px;color:var(--muted)}.mychurch-empty strong{color:var(--navy)}.mychurch-settings-page{max-width:900px}.mychurch-profile-card{display:grid;grid-template-columns:130px 1fr;gap:28px;align-items:start}.mychurch-profile-card .account-avatar{width:120px;height:120px}.mychurch-profile-card form{max-width:620px}
@media(max-width:760px){.mychurch-top .dash-brand{display:none}.mychurch-nav{width:100%;justify-content:flex-end}.mychurch-home-link{margin-right:auto}.mychurch-account-btn #topName{display:none}.mychurch-hero{align-items:flex-start;flex-direction:column}.mychurch-summary-grid,.mychurch-content-grid{grid-template-columns:1fr}.mychurch-content-grid .member-span-2{grid-column:auto}.mychurch-feed-item{grid-template-columns:52px 1fr}.mychurch-feed-item>.btn{grid-column:2;width:max-content}.mychurch-profile-card{grid-template-columns:1fr}.mychurch-profile-card .account-avatar{width:90px;height:90px}.mychurch-settings-page .grid2{grid-template-columns:1fr}}

/* V79 — reliable circular member photo rendering on iOS/Safari */
.account-avatar,.top-avatar{position:relative;isolation:isolate}
.account-avatar>img,.top-avatar>img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
}
.account-avatar{aspect-ratio:1/1}
.top-avatar{aspect-ratio:1/1}


/* V83 — unified My Church header for Member/Admin/Owner */
.admin-my-church-top{min-height:72px;padding:10px 18px;gap:12px}
.admin-my-church-brand strong{font-size:1.02rem;letter-spacing:-.01em}
.admin-my-church-brand span{font-size:.75rem}
.admin-account-menu-wrap{margin-left:auto}
.admin-account-trigger{min-width:0;padding:6px 9px 6px 6px;border-color:#ffffff24;background:#ffffff0d}
.admin-account-trigger:hover{background:#ffffff17}
.admin-account-copy{display:grid;min-width:0;text-align:left;line-height:1.05}
.admin-account-copy strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem}
.admin-account-copy small{margin-top:4px;color:#d8c69a;font-size:.61rem;letter-spacing:.1em;font-weight:900}
.admin-menu-chevron{font-size:.72rem;opacity:.7}
.admin-account-menu{width:232px}
.admin-account-menu button.menu-signout{color:#8e3028;border-top:1px solid #edf0f2;margin-top:4px;border-radius:0 0 9px 9px}

/* Member header gets the same compact app-bar proportions */
.mychurch-top{padding:10px 16px;gap:11px}
.mychurch-top>img{width:48px;height:48px;flex:0 0 48px}
.mychurch-account-btn{min-height:46px}

@media(max-width:760px){
  .dash-top.mychurch-top{min-height:64px;padding:8px 12px;gap:9px}
  .dash-top.mychurch-top>img{width:44px;height:44px;flex-basis:44px;border-radius:11px}
  .admin-my-church-top .dash-brand{display:block!important;min-width:0;flex:1}
  .admin-my-church-brand strong{font-size:.96rem;white-space:nowrap}
  .admin-my-church-brand span{font-size:.64rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .admin-account-trigger{width:46px;height:46px;padding:5px;border-radius:14px;justify-content:center}
  .admin-account-trigger .top-avatar{width:34px;height:34px;flex:0 0 34px}
  .admin-account-copy,.admin-menu-chevron{display:none}
  .admin-account-menu{position:fixed;right:12px;top:66px;width:min(280px,calc(100vw - 24px));border-radius:16px;padding:8px;box-shadow:0 20px 50px #071a2d40}

  /* Member/Profile/Settings header: logo + My Church + one avatar only */
  .mychurch-top:not(.admin-my-church-top) .dash-brand{display:block!important;min-width:0;flex:1}
  .mychurch-top:not(.admin-my-church-top) .dash-brand strong{font-size:.94rem;white-space:nowrap}
  .mychurch-top:not(.admin-my-church-top) .dash-brand span{font-size:.63rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mychurch-nav{width:auto;margin-left:auto;gap:6px}
  .mychurch-home-link{display:none}
  .mychurch-account-btn{width:46px;height:46px;padding:5px;border-radius:14px;justify-content:center}
  .mychurch-account-btn #topName,.mychurch-account-btn>span:last-child{display:none}
  .mychurch-account-btn .top-avatar{width:34px;height:34px;flex:0 0 34px}
  .mychurch-account-menu{position:fixed;right:12px;top:66px;width:min(280px,calc(100vw - 24px));border-radius:16px;padding:8px;box-shadow:0 20px 50px #071a2d40}
}

/* V85 — consistent Admin mobile tab strip */
@media(max-width:800px){
  .dash-layout{
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr);
    align-content:start;
    min-height:calc(100vh - 64px);
  }
  .dash-nav{
    align-items:center;
    align-self:start;
    min-height:62px;
    height:62px;
    padding:8px 10px;
    gap:5px;
  }
  .dash-nav button{
    flex:0 0 auto;
    width:auto;
    height:46px;
    min-height:46px;
    padding:0 14px;
    margin:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1.1;
    white-space:nowrap;
    border-radius:12px;
  }
  .dash-nav button.active{
    height:46px;
    min-height:46px;
  }
}


/* V86 — My Church social-app redesign */
html{scroll-behavior:smooth}
.mychurch-app-body{background:#eef2f5;padding-bottom:0}
.social-app-top{background:linear-gradient(135deg,#06182b 0%,#0b2c4c 100%);border-bottom:1px solid #ffffff17;box-shadow:0 8px 30px #071a2d24}
.social-app-top>img{background:transparent!important;padding:0!important;border-radius:13px!important;box-shadow:0 0 0 1px #d3ad5a55,0 7px 20px #0003}
.social-app-top .dash-brand strong{font-size:1.08rem}.social-app-top .dash-brand span{color:#d5b15e;text-transform:uppercase;letter-spacing:.08em;font-size:.66rem;font-weight:800}

/* Member home */
.social-member-home{padding-top:18px}
.social-member-hero{position:relative;overflow:hidden;border-radius:26px;padding:28px;background:linear-gradient(140deg,#06182b 0%,#0b2f55 70%,#123e68 100%);color:#fff;box-shadow:0 22px 48px #071a2d24;margin-bottom:18px}
.social-member-hero:after{content:"";position:absolute;width:270px;height:270px;border-radius:50%;right:-105px;top:-125px;background:radial-gradient(circle,#d3ad5a2e 0,#d3ad5a00 68%);pointer-events:none}
.social-member-identity{display:flex;align-items:center;gap:20px;position:relative;z-index:1}.social-member-identity .account-avatar{width:88px;height:88px;border:3px solid #d8b460;background:#fff;color:var(--navy);box-shadow:0 10px 28px #0004}.social-member-identity h1{font-size:clamp(1.9rem,5vw,3rem);margin:3px 0 5px;color:#fff;letter-spacing:-.03em}.social-member-identity p{margin:0;color:#d8e2eb}.social-eyebrow{display:block;color:#d7b35c;letter-spacing:.14em;font-size:.67rem;font-weight:900}
.social-quick-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px;position:relative;z-index:1}.social-quick{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:15px;background:#ffffff12;border:1px solid #ffffff19;color:#fff;text-decoration:none;font-size:.85rem}.social-quick span{color:#d8b35d;font-size:1.15rem}.social-quick b{font-weight:800}
.social-summary-grid{margin-top:0}.social-summary-card{background:#fff;color:var(--navy);border:1px solid #dce3e8;box-shadow:0 8px 22px #071a2d0b;border-radius:20px;position:relative;overflow:hidden}.social-summary-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#d0aa56}.social-summary-card>span{color:#8c6a27}.social-summary-card small{color:#75808b}.social-summary-card strong{font-size:1.22rem}
.social-content-grid{gap:16px}.social-content-grid>.card,.social-panel,.social-feed-card{border:1px solid #dce3e8;border-radius:22px;box-shadow:0 8px 24px #071a2d0b;padding:20px}.social-feed-card{background:#fff}.social-panel h2,.social-feed-card h2{letter-spacing:-.02em}.social-alert{border:1px solid #e7d49b;background:#fffaf0;border-radius:18px}
.mychurch-feed-item{border-top-color:#edf1f3}.mychurch-feed-date{background:#f5efe2;border:1px solid #eadbb6}.member-schedule-card{background:#fff;border-radius:17px}.birthday-month{background:#fff;border-radius:17px}

/* Admin social dashboard */
.admin-social-body .dash-main{max-width:1380px}
.admin-social-hero{border-radius:26px;padding:28px 30px;background:linear-gradient(135deg,#06182b,#0b2f55 72%,#123c63);color:#fff;box-shadow:0 20px 45px #071a2d20;margin-bottom:18px;position:relative;overflow:hidden}.admin-social-hero:after{content:"";position:absolute;width:320px;height:320px;border:1px solid #d4ad5740;border-radius:50%;right:-125px;top:-180px;box-shadow:0 0 0 35px #d4ad5709,0 0 0 70px #d4ad5706}.admin-social-hero h1{margin:6px 0 4px;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em}.admin-social-hero p{margin:0;color:#dbe4ec;max-width:620px}.admin-social-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:24px;position:relative;z-index:2}.admin-social-actions button{border:1px solid #ffffff1f;background:#ffffff12;color:#fff;border-radius:15px;min-height:56px;padding:10px 12px;font:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.admin-social-actions button span{color:#d6b15d;font-size:1.1rem}.admin-social-actions button b{font-size:.83rem}
.social-admin-stats{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:-2px}.social-admin-stats .stat{border-radius:20px;box-shadow:0 8px 24px #071a2d0a;padding:18px 20px}.social-admin-stats .stat small{display:block;color:#818a93;margin-top:2px}.admin-social-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:16px}.admin-social-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;border-radius:21px;box-shadow:0 8px 24px #071a2d0a}.admin-social-card h2{margin:0 0 4px;color:var(--navy);font-size:1.05rem}.admin-social-card p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.45}.social-card-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#f5efe2;color:#9b742a;font-size:1.35rem;font-weight:900}
.admin-social-body .panel>.page-head{padding:3px 2px}.admin-social-body .panel>.page-head h2{font-size:1.7rem;letter-spacing:-.03em}.admin-social-body .row-card,.admin-social-body .card{border-color:#dce3e8;box-shadow:0 7px 20px #071a2d09}.admin-social-body .row-card{border-radius:18px}.admin-social-body .btn{border-radius:13px}

/* Bottom navigation */
.social-bottom-nav{display:none}
@media(max-width:800px){
  .mychurch-app-body{padding-bottom:82px}
  .social-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:10px;right:10px;bottom:8px;z-index:45;background:#071a2df5;color:#d9e1e8;border:1px solid #ffffff14;border-radius:22px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));box-shadow:0 14px 42px #071a2d4a;backdrop-filter:blur(16px)}
  .social-bottom-nav a,.social-bottom-nav button{min-width:0;min-height:50px;border:0;background:transparent;color:inherit;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:inherit;border-radius:13px;cursor:pointer}.social-bottom-nav span{font-size:1.15rem;line-height:1}.social-bottom-nav b{font-size:.61rem;white-space:nowrap}.social-bottom-nav .active{background:#ffffff10;color:#d9b65f}.social-bottom-nav .active span{color:#d9b65f}
  .social-member-home{padding:12px}.social-member-hero{border-radius:22px;padding:20px 16px}.social-member-identity{align-items:center;gap:14px}.social-member-identity .account-avatar{width:68px;height:68px;flex:0 0 68px}.social-member-identity h1{font-size:1.75rem}.social-member-identity p{font-size:.88rem}.social-quick-row{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:18px}.social-quick{min-height:58px;flex-direction:column;gap:3px;font-size:.65rem;padding:6px 2px}.social-quick span{font-size:1.1rem}.social-summary-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding-bottom:3px;margin:12px 0 14px}.social-summary-card{flex:0 0 76%;scroll-snap-align:start;min-height:118px}.social-content-grid{display:block}.social-content-grid>.card{margin-bottom:12px}.social-content-grid .member-span-2{grid-column:auto}.social-feed-card,.social-panel{padding:16px;border-radius:19px}
  .admin-social-body .dash-main{padding:14px 12px}.admin-social-hero{border-radius:22px;padding:21px 17px;margin-bottom:12px}.admin-social-hero h1{font-size:2rem}.admin-social-actions{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:18px}.admin-social-actions button{min-height:64px;padding:7px 3px;flex-direction:column;gap:4px}.admin-social-actions button b{font-size:.62rem}.social-admin-stats{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:10px 0}.social-admin-stats .stat{flex:0 0 72%;scroll-snap-align:start}.admin-social-grid{grid-template-columns:1fr;gap:10px}.admin-social-card{grid-template-columns:auto 1fr;padding:15px}.admin-social-card .btn{grid-column:2;width:max-content}.admin-social-body .dash-nav{top:64px;background:#fff;box-shadow:0 6px 18px #071a2d0a;min-height:56px;height:56px}.admin-social-body .dash-nav button{height:40px;min-height:40px;padding:0 12px;border-radius:11px;font-size:.8rem}.admin-social-body .dash-nav button.active{height:40px;min-height:40px;background:#071a2d;color:#fff}
}
@media(min-width:801px){.social-member-home{padding-bottom:34px}.admin-social-body .dash-nav{padding-top:20px}.admin-social-body .dash-nav button.active{background:#071a2d;color:#fff}}

/* V87: fully interactive My Church mobile navigation */
@media(max-width:800px){
  .social-bottom-nav{pointer-events:auto!important;touch-action:manipulation;isolation:isolate;-webkit-user-select:none;user-select:none}
  .social-bottom-nav a,.social-bottom-nav button{pointer-events:auto!important;position:relative;z-index:2;touch-action:manipulation;-webkit-tap-highlight-color:rgba(216,180,96,.18)}
  .social-bottom-nav a:active,.social-bottom-nav button:active{transform:scale(.96);background:#ffffff18}
}

/* V88 — private My Church social feed */
.church-family-feed-shell{padding:0!important;overflow:hidden;border:1px solid #dfe5eb;background:#fff;box-shadow:0 14px 42px rgba(5,25,46,.07)}
.admin-church-feed{margin:22px 0}
.church-feed-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px 26px 18px;border-bottom:1px solid #e6ebf0}
.church-feed-heading h2{margin:3px 0 4px;font-size:1.45rem}.church-feed-heading p{margin:0}
.feed-private-pill{background:#f6efe0;color:#8f6719;border:1px solid #e8d5ad;border-radius:999px;padding:7px 11px;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.church-feed-composer{display:flex;gap:12px;padding:18px 24px;background:linear-gradient(180deg,#fbfcfd,#fff);border-bottom:1px solid #e6ebf0}
.feed-composer-avatar,.feed-post-avatar,.feed-comment-avatar{flex:0 0 auto;border-radius:50%;overflow:hidden;background:#d3ad5a;color:#071a2d;display:grid;place-items:center;font-weight:900}
.feed-composer-avatar{width:46px;height:46px}.feed-post-avatar{width:48px;height:48px}.feed-comment-avatar{width:34px;height:34px}
.feed-composer-avatar img,.feed-post-avatar img,.feed-comment-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.feed-composer-main{flex:1;min-width:0}.feed-composer-main textarea{width:100%;resize:vertical;min-height:72px;border:1px solid #dfe5eb;border-radius:18px;padding:13px 15px;font:inherit;font-size:1rem;background:#f7f9fb;color:#071a2d;outline:none}.feed-composer-main textarea:focus{border-color:#b99342;box-shadow:0 0 0 3px #d3ad5a24;background:#fff}
.feed-composer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.feed-composer-actions select{border:1px solid #dfe5eb;border-radius:999px;padding:9px 12px;background:#fff;font-weight:800;color:#17324e}.feed-pin-check{display:flex;align-items:center;gap:6px;font-size:.82rem;font-weight:800;color:#66717f}.feed-compose-status{font-size:.8rem;color:#66717f;margin-left:auto}.feed-post-btn{border:0;border-radius:999px;background:#071a2d;color:#fff;padding:10px 18px;font-weight:900;font-size:.9rem;cursor:pointer}.feed-post-btn:disabled{opacity:.55}
.church-social-feed{background:#f4f7f9;padding:14px;display:grid;gap:14px}.church-social-feed.loading{opacity:.65}
.church-feed-post{background:#fff;border:1px solid #dfe5eb;border-radius:20px;overflow:hidden;box-shadow:0 5px 20px rgba(5,25,46,.045)}.church-feed-post.pinned{border-color:#dfc27e;box-shadow:0 7px 24px rgba(166,123,31,.10)}
.feed-pinned-label{padding:8px 18px;background:#fbf5e7;color:#8a641c;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid #eddcaf}
.feed-post-head{display:flex;align-items:center;gap:11px;padding:16px 18px 8px}.feed-post-author{flex:1;min-width:0}.feed-post-author>strong{display:block;color:#071a2d;font-size:1rem}.feed-post-author>div{font-size:.75rem;color:#7a8591;margin-top:3px}.feed-type-badge{font-weight:850;color:#38516a}.feed-type-badge.type-prayer{color:#77547e}.feed-type-badge.type-praise{color:#9a6c13}.feed-type-badge.type-encouragement{color:#2f6d62}.feed-type-badge.type-announcement{color:#a04b3c}
.feed-post-menu{display:flex;gap:6px}.feed-post-menu button{border:0;background:#eef2f5;color:#435366;border-radius:999px;padding:7px 10px;font-size:.72rem;font-weight:850;cursor:pointer}.feed-post-menu .feed-danger{color:#a43128;background:#faecea}
.feed-post-body{padding:8px 18px 15px;color:#152a40;font-size:1rem;line-height:1.55}.feed-post-stats{min-height:26px;padding:0 18px 8px;display:flex;justify-content:space-between;gap:12px;color:#798491;font-size:.76rem}.feed-reaction-bar{border-top:1px solid #edf0f3;display:grid;grid-template-columns:repeat(4,1fr);padding:5px 8px}.feed-reaction-bar button{border:0;background:transparent;border-radius:12px;padding:9px 5px;color:#566577;font-weight:800;cursor:pointer;white-space:nowrap}.feed-reaction-bar button.active{background:#f7f0df;color:#8b6318}.feed-reaction-bar button:hover{background:#f3f6f8}
.feed-comments{border-top:1px solid #edf0f3;padding:12px 18px 16px;background:#fafbfc}.feed-comments-list{display:grid;gap:9px}.feed-comment{display:flex;align-items:flex-start;gap:8px}.feed-comment-bubble{background:#eef2f5;border-radius:15px;padding:8px 11px;max-width:min(90%,680px)}.feed-comment-bubble strong{display:block;font-size:.8rem;color:#0d2943}.feed-comment-bubble p{margin:2px 0;color:#25394e;font-size:.87rem;line-height:1.4}.feed-comment-bubble small{font-size:.67rem;color:#7c8792}.feed-comment-bubble small button{border:0;background:none;padding:0;color:#8d3d33;font:inherit;cursor:pointer}.feed-comment-form{display:flex;align-items:center;gap:8px;margin-top:12px}.feed-comment-form input{flex:1;min-width:0;border:1px solid #dfe5eb;border-radius:999px;padding:10px 13px;font:inherit;background:#fff}.feed-comment-form button{border:0;border-radius:999px;background:#071a2d;color:#fff;padding:10px 14px;font-weight:850;cursor:pointer}
.church-feed-empty{padding:35px 24px;text-align:center;background:#fff;border-radius:18px;color:#687684}.church-feed-empty>span{display:grid;margin:0 auto 12px;width:46px;height:46px;place-items:center;border-radius:50%;background:#f7f0df;color:#9b711c;font-size:1.4rem}.church-feed-empty strong{display:block;color:#102c47;font-size:1.05rem}.church-feed-empty p{max-width:520px;margin:7px auto 0;font-size:.88rem}
@media(min-width:1000px){.admin-church-feed .church-social-feed{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.admin-church-feed .church-feed-composer{padding-left:28px;padding-right:28px}.admin-church-feed .church-feed-heading{padding-left:28px;padding-right:28px}}
@media(max-width:720px){.church-feed-heading{padding:18px 16px 14px}.church-feed-heading h2{font-size:1.25rem}.church-feed-composer{padding:14px}.feed-composer-avatar{width:40px;height:40px}.feed-composer-actions{gap:7px}.feed-compose-status{width:100%;order:4;margin:0}.feed-post-head{padding:14px 14px 7px}.feed-post-avatar{width:42px;height:42px}.feed-post-body{padding:7px 14px 13px}.feed-post-stats{padding-left:14px;padding-right:14px}.church-social-feed{padding:10px}.feed-reaction-bar button{font-size:.78rem}.feed-reaction-bar button span{display:none}.feed-comments{padding:10px 12px 13px}.feed-private-pill{font-size:.62rem;padding:6px 8px}}

/* V90 account editor */
.church-user-summary{display:flex;align-items:center;gap:12px;min-width:0}.church-user-list-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:0 0 46px;background:#eaf0f5}.church-user-list-avatar.fallback{display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900;font-size:.78rem}.edit-user-profile-head{display:flex;align-items:center;gap:14px;padding:14px 0 4px}.edit-user-avatar{width:68px;height:68px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900;font-size:1.1rem}.edit-user-avatar img{width:100%;height:100%;object-fit:cover}.edit-user-profile-head strong,.edit-user-profile-head span{display:block}.account-edit-divider{border:0;border-top:1px solid var(--line);margin:24px 0}.church-user-row .row-actions select{min-width:110px;border:1px solid #ccd3da;border-radius:12px;padding:10px;background:#fff;font:inherit;font-weight:700}@media(max-width:760px){.church-user-summary{align-items:flex-start}.church-user-row .row-actions{width:100%}.church-user-row .row-actions .btn,.church-user-row .row-actions select{flex:1 1 auto}}
.user-last-active{margin-top:5px;color:#536170;font-size:.8rem}.user-last-active strong{color:var(--navy)}

/* V91 username + shared church calendar */
.admin-upcoming-church-events{margin-top:22px}.admin-upcoming-church-events .mychurch-feed{margin-top:14px}.field input[name="username"]{text-transform:lowercase}
@media(max-width:720px){.social-quick-row{overflow-x:auto;justify-content:flex-start}.social-quick{min-width:88px;flex:0 0 auto}}

/* V95: full-screen video meeting + My Church pull to refresh */
html,body.mychurch-app-body,body.admin-social-body,body.meeting-page{overscroll-behavior-y:contain}
.meeting-room-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.meeting-fullscreen-btn{white-space:nowrap}
.meeting-room-section.meeting-focus-mode{position:fixed!important;inset:0!important;z-index:99999!important;border-radius:0!important;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;background:#071421!important;display:flex!important;flex-direction:column!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important}
.meeting-room-section.meeting-focus-mode .meeting-room-top{flex:0 0 auto;padding:6px 6px 10px}
.meeting-room-section.meeting-focus-mode .daily-room{flex:1 1 auto;height:auto!important;min-height:0!important;border-radius:14px}
.meeting-room-section:fullscreen,.meeting-room-section:-webkit-full-screen{background:#071421;padding:12px;display:flex;flex-direction:column;width:100%;height:100%}
.meeting-room-section:fullscreen .daily-room,.meeting-room-section:-webkit-full-screen .daily-room{flex:1;height:auto!important;min-height:0!important}
body.meeting-focus-active{overflow:hidden!important}
.mychurch-pull-refresh{position:fixed;left:50%;top:max(8px,env(safe-area-inset-top));transform:translate(-50%,-76px);z-index:100000;display:flex;align-items:center;gap:9px;background:#fff;color:#0b2f55;border:1px solid rgba(11,47,85,.12);border-radius:999px;padding:9px 15px;box-shadow:0 10px 30px rgba(4,25,45,.18);font:700 13px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease}
.mychurch-pull-refresh.show{opacity:1}.mychurch-pull-refresh.ready{background:#0b2f55;color:#fff}.mychurch-pull-refresh-icon{font-size:17px;line-height:1}.mychurch-pull-refresh.refreshing .mychurch-pull-refresh-icon{animation:bfupc-spin .7s linear infinite}@keyframes bfupc-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.meeting-room-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.meeting-room-actions .btn{width:100%;justify-content:center}.meeting-room-section.meeting-focus-mode .meeting-room-top{flex-direction:row;align-items:center}.meeting-room-section.meeting-focus-mode .meeting-room-top>div:first-child span{display:none}.meeting-room-section.meeting-focus-mode .meeting-room-actions{width:auto;display:flex}.meeting-room-section.meeting-focus-mode .meeting-room-actions .btn{width:auto;padding:9px 11px;font-size:12px}}

/* V103 — full-width My Church layout on portrait tablets */
.dash-layout,.dash-main,.panel,.card{min-width:0}
.admin-social-hero h1,.admin-social-card{overflow-wrap:anywhere}

/* V104 — keep the calendar management control readable at tablet widths */
.admin-upcoming-church-events .church-feed-heading>.btn{
  flex:0 0 auto;
  min-width:max-content;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
@media(max-width:620px){
  .admin-upcoming-church-events .church-feed-heading{flex-direction:column}
  .admin-upcoming-church-events .church-feed-heading>.btn{
    width:100%;
    min-width:0;
    text-align:center;
  }
}

@media (min-width:801px) and (max-width:1180px) and (orientation:portrait){
  html,body{max-width:100%;overflow-x:hidden}
  .mychurch-app-body{padding-bottom:88px}
  .dash-layout{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr);
    align-content:start;
    min-height:calc(100vh - 72px);
  }
  .dash-nav{
    display:flex;
    align-items:center;
    gap:6px;
    height:62px;
    min-height:62px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:8px 12px;
    position:sticky;
    top:72px;
    z-index:15;
    background:#fff;
    box-shadow:0 6px 18px #071a2d0a;
  }
  .dash-nav::-webkit-scrollbar{display:none}
  .dash-nav button{
    flex:0 0 auto;
    width:auto;
    height:44px;
    min-height:44px;
    margin:0;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    border-radius:11px;
  }
  .admin-social-body .dash-nav button.active{
    height:44px;
    min-height:44px;
    background:var(--navy);
    color:#fff;
  }
  .dash-main,.admin-social-body .dash-main{
    width:100%;
    max-width:100%;
    min-width:0;
    padding:20px 18px;
  }
  .admin-social-hero{padding:25px 24px}
  .admin-social-hero h1{font-size:clamp(2rem,5vw,2.65rem);line-height:1.05}
  .admin-social-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-social-actions button{min-width:0;padding-left:7px;padding-right:7px}
  .admin-social-actions button b{line-height:1.15}
  .social-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .social-admin-stats .stat{min-width:0;padding:17px}
  .social-admin-stats .stat strong{font-size:1.75rem;overflow-wrap:anywhere}
  .admin-church-feed .church-social-feed{grid-template-columns:1fr}
  .grid2,.member-connect-grid,.mychurch-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .row-card,.admin-social-card{min-width:0}
  .field input,.field textarea,.field select{min-width:0;max-width:100%}
  .social-bottom-nav{
    position:fixed;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    left:18px;
    right:18px;
    bottom:10px;
    z-index:45;
    background:#071a2df5;
    color:#d9e1e8;
    border:1px solid #ffffff14;
    border-radius:22px;
    padding:7px 8px calc(7px + env(safe-area-inset-bottom));
    box-shadow:0 14px 42px #071a2d4a;
    backdrop-filter:blur(16px);
  }
  .social-bottom-nav a,.social-bottom-nav button{
    min-width:0;
    min-height:50px;
    border:0;
    background:transparent;
    color:inherit;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    font:inherit;
    border-radius:13px;
    cursor:pointer;
  }
  .social-bottom-nav span{font-size:1.15rem;line-height:1}
  .social-bottom-nav b{font-size:.68rem;white-space:nowrap}
  .social-bottom-nav .active{background:#ffffff10;color:#d9b65f}
}

@media (min-width:801px) and (max-width:920px) and (orientation:portrait){
  .admin-social-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-social-actions button{min-height:54px}
  .admin-social-grid{grid-template-columns:1fr}
  .admin-social-card{grid-template-columns:auto minmax(0,1fr) auto}
}

/* V103 — Ministry account presentation and read-only Connect Cards */
.badge.ministry{background:#f4e9fb;color:#6f3b82}
.ministry-access-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:18px 20px;border-left:4px solid var(--gold);background:linear-gradient(135deg,#fff,#fbf7ed)}
.ministry-access-card[hidden],[data-ministry-only][hidden]{display:none!important}
.ministry-access-card h2{margin:3px 0 4px;color:var(--navy)}
.ministry-access-card p{margin:0;color:var(--muted)}
.ministry-connect-page{max-width:1100px}
.ministry-connect-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:18px 20px;background:linear-gradient(135deg,#071a2d,#0d365b);color:#fff;border-radius:20px}
.ministry-connect-summary span{display:block;color:#dbc27f;font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.ministry-connect-summary strong{display:block;margin-top:3px;font-size:1.9rem}
.ministry-connect-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,220px) minmax(160px,220px);gap:12px;align-items:end;margin-bottom:16px}
.ministry-connect-toolbar .field{margin:0}
.ministry-card-detail p{line-height:1.6}
.ministry-readonly-note{padding:11px 13px;border-radius:12px;background:#f6f1e7;color:#715719;font-size:.84rem;font-weight:750}
@media(max-width:760px){.ministry-access-card{align-items:flex-start;flex-direction:column}.ministry-access-card .btn{width:100%;text-align:center}.ministry-connect-toolbar{grid-template-columns:1fr}.ministry-connect-summary{align-items:flex-start;flex-direction:column}}

/* V105 — shared member navigation, role-based management bar, and account switching */
.role-management-nav{
  position:sticky;
  top:76px;
  z-index:18;
  min-height:58px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:8px 14px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 6px 18px #071a2d0a;
}
.role-management-nav[hidden]{display:none!important}
.role-management-nav::-webkit-scrollbar{display:none}
.role-management-nav .role-management-label{flex:0 0 auto;padding:0 8px 0 2px;color:#8b6c2d;font-size:.64rem;font-weight:900;letter-spacing:.11em;white-space:nowrap}
.role-management-nav a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border-radius:11px;color:#46515c;text-decoration:none;font-size:.8rem;font-weight:800;white-space:nowrap}
.role-management-nav a:hover,.role-management-nav a.active{background:var(--navy);color:#fff}

.admin-social-body .dash-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-content:start;min-height:calc(100vh - 72px)}
.admin-social-body .dash-nav{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:62px;
  height:62px;
  padding:8px 14px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  position:sticky;
  top:72px;
  z-index:15;
  background:#fff;
  border-right:0;
  border-bottom:1px solid var(--line);
  box-shadow:0 6px 18px #071a2d0a;
}
.admin-social-body .dash-nav::-webkit-scrollbar{display:none}
.admin-social-body .dash-nav button{flex:0 0 auto;width:auto;height:44px;min-height:44px;margin:0;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:11px}
.admin-social-body .dash-nav button.active{height:44px;min-height:44px;background:var(--navy);color:#fff}

.member-alerts-panel{scroll-margin-top:150px;background:linear-gradient(135deg,#fff,#fbf7ed);border-top:4px solid var(--gold)!important}
.member-alert-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:14px;background:var(--navy);color:var(--gold);font-size:1.3rem}
.member-alerts-panel>.btn{margin-top:16px}
.standalone-member-section{max-width:980px}
.compact-section-hero{padding-top:22px;padding-bottom:22px}
.compact-section-hero .social-member-identity .account-avatar{width:72px;height:72px;flex-basis:72px}

/* V112 — keep the complete member/account name inside the available hero width */
.social-member-identity>div:last-child{flex:1 1 0;width:0;min-width:0;max-width:100%}
.social-member-identity h1{max-width:100%;line-height:1.08;overflow-wrap:anywhere;word-break:normal}
.social-member-identity h1 #name{display:block;max-width:100%}
@media (min-width:801px) and (max-width:1180px) and (orientation:portrait){
  .social-member-identity h1{font-size:clamp(2rem,4.2vw,2.55rem)}
}

.account-switcher-section{margin:5px 0;padding:7px 0;border-top:1px solid #e8edf1;border-bottom:1px solid #e8edf1}
.account-switcher-heading{display:block;padding:4px 12px 6px;color:#8b6c2d;font-size:.62rem;font-weight:900;letter-spacing:.11em}
.mychurch-account-menu .account-switcher-section button.account-switcher-profile,.mychurch-account-menu .account-switcher-section button.account-switcher-add{
  display:block;width:100%;margin:0;padding:9px 12px;border:0;border-radius:9px;background:none;color:#33404d;text-align:left;font:inherit;cursor:pointer
}
.mychurch-account-menu .account-switcher-section button.account-switcher-profile:hover,.mychurch-account-menu .account-switcher-section button.account-switcher-add:hover{background:#edf2f6;color:var(--navy)}
.mychurch-account-menu .account-switcher-section button.account-switcher-profile.current{background:#f6f1e7;color:var(--navy);cursor:default;opacity:1}
.account-switcher-profile span,.account-switcher-profile small{display:block}
.account-switcher-profile span{font-size:.83rem;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-switcher-profile small{margin-top:2px;color:#74808b;font-size:.66rem;font-weight:750}
.mychurch-account-menu .account-switcher-section button.account-switcher-add{color:#765a20;font-size:.78rem;font-weight:850}
.account-switcher-modal{z-index:100002}
.account-switcher-modal .modal-card{width:min(520px,100%)}
.account-switcher-modal .modal-head>div{min-width:0}
.account-switcher-modal .modal-head h2{margin-top:3px}

@media(max-width:760px){
  .social-member-identity h1{font-size:clamp(1.45rem,6.6vw,1.75rem)}
  .role-management-nav{top:64px;min-height:56px;padding:7px 10px}
  .role-management-nav a{min-height:40px;padding:0 12px;font-size:.76rem}
  .admin-social-body .dash-nav{top:64px;height:56px;min-height:56px;padding:7px 10px}
  .admin-social-body .dash-nav button{height:40px;min-height:40px;padding:0 12px;font-size:.78rem}
  .member-alerts-panel{scroll-margin-top:130px}
}

/* V111 — richer private My Church feed */
.feed-photo-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #dfe5eb;border-radius:999px;padding:9px 12px;background:#fff;color:#17324e;font-size:.82rem;font-weight:850;cursor:pointer}
.feed-photo-button:hover{border-color:#b99342;background:#fbf7ed}
.feed-photo-preview{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.feed-photo-preview span{max-width:100%;padding:6px 9px;border-radius:9px;background:#eef3f7;color:#526172;font-size:.72rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feed-photo-preview .feed-photo-error{background:#faecea;color:#98372f}
.feed-audience-badge{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:999px;background:#e8f0f7;color:#315a7d;font-size:.64rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.feed-post-media{display:grid;gap:3px;margin:0 0 13px;background:#e6ebef;max-height:560px;overflow:hidden}
.feed-post-media button{display:block;min-height:0;padding:0;border:0;background:#e6ebef;cursor:zoom-in;overflow:hidden}
.feed-post-media img{display:block;width:100%;height:100%;min-height:220px;max-height:560px;object-fit:cover}
.feed-post-media.media-count-2,.feed-post-media.media-count-3,.feed-post-media.media-count-4{grid-template-columns:repeat(2,minmax(0,1fr));height:min(70vw,520px)}
.feed-post-media.media-count-2 img,.feed-post-media.media-count-3 img,.feed-post-media.media-count-4 img{min-height:0;max-height:none}
.feed-post-media.media-count-3 button:first-child{grid-row:span 2}
.feed-reaction-bar{grid-template-columns:repeat(5,1fr)}
.feed-view-toggle{grid-column:1/-1;display:flex;gap:7px;justify-content:flex-end;align-items:center;padding:1px 2px 3px}.feed-view-toggle button{border:1px solid #dfe5eb;background:#fff;color:#536274;border-radius:999px;padding:8px 12px;font:inherit;font-size:.76rem;font-weight:850;cursor:pointer}.feed-view-toggle button.active{border-color:#c8a24f;background:#f8f1e1;color:#795713}
.feed-post-menu button:disabled{opacity:.62;cursor:default}
.church-feed-post.reported{border-color:#d9a8a2}
.feed-reported-label{padding:8px 18px;background:#faecea;color:#963d35;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #eccbc7}
.feed-celebrations{grid-column:1/-1;border:1px solid #e8d5ad;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#fff);overflow:hidden}
.feed-celebration-title{display:flex;align-items:center;gap:11px;padding:15px 17px;border-bottom:1px solid #f0e3c6}
.feed-celebration-title>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#d3ad5a;color:#071a2d;font-weight:900}
.feed-celebration-title strong,.feed-celebration-title small{display:block}.feed-celebration-title strong{color:#102c47}.feed-celebration-title small{margin-top:2px;color:#7a6c51}
.feed-celebration-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1px;background:#eee5d2}
.feed-celebration-list article{display:flex;align-items:center;gap:9px;padding:12px 14px;background:#fff}
.feed-celebration-list article strong,.feed-celebration-list article span{display:block}.feed-celebration-list article strong{font-size:.84rem;color:#102c47}.feed-celebration-list article span{margin-top:2px;color:#7a8591;font-size:.7rem}
.feed-celebration-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#071a2d;color:#fff;font-size:.7rem;font-weight:900}.feed-celebration-avatar img{width:100%;height:100%;object-fit:cover}
.feed-report-dialog{width:min(540px,calc(100% - 28px));border:0;border-radius:22px;padding:0;box-shadow:0 28px 80px #071a2d55;color:#263341}
.feed-report-dialog::backdrop{background:#071a2d99;backdrop-filter:blur(3px)}
.feed-report-dialog form{padding:22px}.feed-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.feed-report-head h2{margin:4px 0 0;color:#071a2d}.feed-dialog-close{border:0;background:#eef2f5;color:#3e4d5d;width:36px;height:36px;border-radius:50%;font-size:1.35rem;cursor:pointer}
.feed-moderation-stats{margin:0 0 18px}.feed-moderation-row{align-items:start}.feed-moderation-row h3{margin:8px 0}.feed-moderation-meta{display:flex;align-items:center;gap:9px;color:#77828d;font-size:.73rem}.feed-moderation-post{max-width:760px;margin:7px 0;color:#263b50;line-height:1.5}.feed-moderation-details{margin:10px 0 0;padding:10px 12px;border-left:3px solid #c49b45;background:#fbf7ed;border-radius:0 9px 9px 0;font-size:.85rem}.feed-moderation-empty{text-align:center;padding:36px}.feed-moderation-empty p{margin:7px 0 0;color:var(--muted)}
.dash-nav .nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:7px;padding:0 5px;border-radius:999px;background:#a33c33;color:#fff;font-size:.65rem;font-weight:900}.dash-nav button.active .nav-count{background:#d3ad5a;color:#071a2d}
@media(max-width:720px){
  .feed-photo-button{padding:8px 10px}.feed-post-media img{min-height:190px}.feed-post-media.media-count-2,.feed-post-media.media-count-3,.feed-post-media.media-count-4{height:min(92vw,430px)}
  .feed-reaction-bar button{padding:9px 2px}.feed-report-dialog form{padding:18px}.feed-celebration-list{grid-template-columns:1fr 1fr}.feed-moderation-row{display:block}.feed-moderation-row .row-actions{margin-top:14px}
}
@media(max-width:480px){.feed-celebration-list{grid-template-columns:1fr}}

/* V113 — My Church visual refresh */
.ui-icon,.social-bottom-nav svg,.social-quick svg{width:1.2em;height:1.2em;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-app-top{background:linear-gradient(110deg,#06182b,#0b3157);border-bottom:1px solid #d9b65f30}
.social-app-top>img{box-shadow:0 0 0 1px #d3ad5a78,0 8px 22px #0004}

.role-management-nav{overflow:visible;justify-content:space-between;padding:9px max(14px,calc((100vw - 1180px)/2));background:rgba(255,255,255,.97);backdrop-filter:blur(14px)}
.role-management-summary{display:flex;align-items:center;gap:10px;min-width:0}
.role-level-badge{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:#f7edcf;color:#795817;border:1px solid #ead29a;font-size:.76rem;font-weight:900;letter-spacing:.04em}
.role-level-badge.role-admin{background:#eaf1f7;color:#244d70;border-color:#ccdce9}.role-level-badge.role-ministry{background:#edf4ec;color:#39623b;border-color:#d4e3d1}
.role-management-context{color:#78838e;font-size:.76rem;font-weight:750}
.role-management-menu-button{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:0 14px;border:1px solid #d1a84f;border-radius:12px;background:#fff;color:#715118;font:inherit;font-size:.84rem;font-weight:900;cursor:pointer}.role-management-menu-button:hover,.role-management-menu-button[aria-expanded="true"]{background:#fbf4e3}.role-management-menu-button .ui-icon{font-size:1.05rem}.role-management-menu-button .management-chevron{font-size:.82rem;transition:transform .18s ease}.role-management-menu-button[aria-expanded="true"] .management-chevron{transform:rotate(90deg)}
.role-management-links{position:absolute;right:max(14px,calc((100vw - 1180px)/2));top:calc(100% + 8px);width:min(430px,calc(100vw - 28px));display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:10px;background:#fff;border:1px solid #dfe5eb;border-radius:17px;box-shadow:0 22px 56px #071a2d35;z-index:60}
.role-management-links[hidden]{display:none!important}.role-management-links a{min-width:0;min-height:44px;padding:10px 12px;display:flex;justify-content:space-between;gap:8px;border-radius:10px;white-space:normal}.role-management-links a:hover{background:#f6f1e7;color:#624713}.role-management-links a span{color:#b0832e;font-size:1.15rem}

.social-member-hero{min-height:0;padding:25px 28px;background-image:linear-gradient(90deg,rgba(6,24,43,.98) 0%,rgba(10,43,75,.92) 62%,rgba(12,49,83,.75) 100%),url('/assets/church-building.jpg');background-size:cover;background-position:center 48%;box-shadow:0 15px 36px #071a2d20}
.social-member-identity .account-avatar{width:82px;height:82px;flex-basis:82px}.social-member-identity h1{font-size:clamp(1.75rem,4vw,2.6rem);line-height:1.05;margin:5px 0 7px}.social-member-identity p{font-size:.94rem}.social-quick-row{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:20px}.social-quick{min-height:48px;border-radius:13px;background:#ffffff0e}.social-quick .ui-icon,.social-quick svg{width:20px;height:20px}

.social-summary-grid{gap:12px}.social-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:112px;padding:17px;text-decoration:none;border-radius:19px;transition:transform .16s ease,box-shadow .16s ease}.social-summary-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px #071a2d14}.social-summary-card:before{display:none}.summary-card-icon{width:48px;height:48px;display:grid!important;place-items:center;border-radius:14px;background:#f7f1e4;color:#9a711e}.summary-card-icon .ui-icon{width:24px;height:24px}.summary-card-copy{min-width:0;display:block}.summary-card-copy>span{display:block;color:#8c6a27;text-transform:uppercase;letter-spacing:.08em;font-size:.67rem;font-weight:900}.summary-card-copy strong{display:block;margin:5px 0 3px;color:var(--navy);font-size:1.03rem;line-height:1.15;white-space:normal;overflow:visible}.summary-card-copy small{display:block;color:#75808b;font-size:.75rem}.summary-card-chevron{color:#9aa4ad;font-size:1.7rem;font-weight:400}

.church-family-feed-shell{border-radius:22px!important;box-shadow:0 12px 32px #071a2d0b}.church-feed-heading{padding:22px 24px 17px}.church-feed-heading h2{font-size:1.55rem}.church-feed-composer{padding:18px 22px}.feed-composer-main textarea{background:#f8fafb;border-radius:16px;min-height:68px}.feed-photo-button{gap:7px}.feed-photo-button .ui-icon{width:17px;height:17px}.feed-video-button{color:#315a7d;background:#f3f7fa}.feed-video-button:hover{background:#eaf2f7;border-color:#88a9c1}.feed-photo-preview span{display:inline-flex;align-items:center;gap:5px}.feed-photo-preview .ui-icon{width:14px;height:14px}.feed-post-media.has-video{display:block;height:auto;max-height:none;background:#071a2d}.feed-video-wrap{position:relative;background:#071a2d}.feed-video-wrap video{display:block;width:100%;max-height:640px;background:#071a2d}.feed-video-wrap>span{position:absolute;right:10px;bottom:10px;padding:5px 8px;border-radius:999px;background:#071a2dcc;color:#fff;font-size:.65rem;font-weight:800;pointer-events:none}.feed-reaction-bar button{display:flex;align-items:center;justify-content:center;gap:6px}.feed-reaction-bar .ui-icon{width:18px;height:18px}.feed-reaction-bar button.active .ui-icon{fill:#d9b65f22}

.social-bottom-nav svg{width:22px;height:22px}.social-bottom-nav span{display:grid;place-items:center}.social-bottom-nav a,.social-bottom-nav button{transition:background .16s ease,color .16s ease,transform .12s ease}.social-bottom-nav .active{position:relative}.social-bottom-nav .active:after{content:"";position:absolute;left:25%;right:25%;bottom:2px;height:3px;border-radius:99px;background:#ddb95f}

@media(max-width:800px){
  .mychurch-app-body{padding-bottom:104px}
  .role-management-nav{top:64px;min-height:58px;padding:8px 12px}.role-management-context{display:none}.role-level-badge{min-height:38px;padding:0 13px}.role-management-menu-button{min-height:40px;padding:0 12px}.role-management-links{position:fixed;right:12px;top:130px;width:calc(100vw - 24px);max-height:calc(100vh - 155px);overflow-y:auto;grid-template-columns:1fr 1fr}
  .social-member-home{padding:12px 12px 22px}.social-member-hero{padding:20px 17px;border-radius:21px;margin-bottom:12px;background-position:62% center}.social-member-identity{gap:13px;align-items:center}.social-member-identity .account-avatar{width:66px;height:66px;flex-basis:66px}.social-member-identity h1{font-size:clamp(1.42rem,6.25vw,1.72rem);line-height:1.06;margin:4px 0 6px}.social-member-identity p{font-size:.83rem;line-height:1.35}.social-eyebrow{font-size:.61rem}.social-quick-row{display:none}
  .social-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:9px;margin:9px 0 12px}.social-summary-card{min-width:0;min-height:126px;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;padding:13px;gap:5px 8px}.social-summary-card:nth-child(3){grid-column:1/-1;min-height:94px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr}.summary-card-icon{width:43px;height:43px;grid-column:1;grid-row:1}.summary-card-copy{grid-column:1/-1;grid-row:2}.social-summary-card:nth-child(3) .summary-card-copy{grid-column:2;grid-row:1}.summary-card-chevron{grid-column:2;grid-row:1;align-self:center}.social-summary-card:nth-child(3) .summary-card-chevron{grid-column:3}.summary-card-copy>span{font-size:.58rem}.summary-card-copy strong{font-size:.96rem}.summary-card-copy small{font-size:.69rem;line-height:1.25}.summary-card-icon .ui-icon{width:22px;height:22px}
  .church-family-feed-shell{border-radius:19px!important}.church-feed-heading{padding:18px 17px 14px}.church-feed-heading h2{font-size:1.35rem}.church-feed-heading p{font-size:.78rem;line-height:1.4}.feed-private-pill{font-size:.56rem;padding:6px 8px}.church-feed-composer{padding:15px 14px;gap:9px}.feed-composer-avatar{width:39px;height:39px}.feed-composer-main textarea{min-height:74px;font-size:.9rem}.feed-composer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.feed-composer-actions select{min-width:0;width:100%;padding:9px 10px}.feed-photo-button{justify-content:center;min-width:0;padding:9px 8px;font-size:.72rem}.feed-video-button{grid-column:1/-1}.feed-pin-check{grid-column:1/-1}.feed-compose-status{grid-column:1/-1;order:initial}.feed-post-btn{grid-column:2;justify-self:end;min-width:86px}.feed-view-toggle{justify-content:stretch}.feed-view-toggle button{flex:1}.feed-post-media.has-video video{max-height:70vh}.feed-reaction-bar{padding:5px 4px}.feed-reaction-bar button{padding:9px 1px}.feed-reaction-bar .ui-icon{width:19px;height:19px}.feed-reaction-bar button span{display:none}
  .social-bottom-nav{left:8px;right:8px;bottom:7px;border-radius:19px;padding:7px 4px calc(8px + env(safe-area-inset-bottom))}.social-bottom-nav a,.social-bottom-nav button{min-height:53px}.social-bottom-nav b{font-size:.62rem}.social-bottom-nav .active:after{bottom:0}
}
@media(max-width:430px){.role-management-links{grid-template-columns:1fr}.feed-composer-actions{grid-template-columns:1fr}.feed-video-button,.feed-pin-check,.feed-compose-status,.feed-post-btn{grid-column:1}.feed-post-btn{justify-self:stretch}.feed-photo-button{justify-content:flex-start}}
.feed-record-button{color:#765717;background:#fbf5e8;border-color:#e4cf9f}.feed-record-button:hover{background:#f6ebd0;border-color:#cda951}
@media(max-width:800px){.feed-video-button{grid-column:auto}}
@media(max-width:430px){.feed-record-button{grid-column:1}}

/* V114 — Owner-selected notification recipients */
.push-recipient-field{padding:14px;border:1px solid #dcc78f;border-radius:15px;background:linear-gradient(135deg,#fffaf0,#fff)}
.push-recipient-field[hidden]{display:none}
.push-recipient-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.push-recipient-heading label{margin:0}
.push-recipient-heading span{color:#85651f;font-size:.74rem;font-weight:900}
.push-recipient-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0}
.push-recipient-toolbar .btn{min-height:36px;padding:7px 11px;font-size:.75rem}
.push-recipient-list{display:grid;gap:6px;max-height:320px;padding:3px;overflow-y:auto;border-radius:12px}
.push-recipient-option{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid #e1e6eb;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.push-recipient-option:hover{border-color:#cfad61;background:#fffdf8}
.push-recipient-option:has(input:checked){border-color:#c79b3d;background:#fbf4e3;box-shadow:inset 0 0 0 1px #c79b3d55}
.push-recipient-option.unavailable{opacity:.58;cursor:not-allowed;background:#f5f6f7}
.push-recipient-option input{width:18px;height:18px;margin:0;accent-color:#0d2b4e}
.push-recipient-avatar{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#0d2b4e;color:#fff;font-size:.68rem;font-weight:900}
.push-recipient-avatar img{width:100%;height:100%;object-fit:cover}
.push-recipient-copy{min-width:0}
.push-recipient-copy strong,.push-recipient-copy small{display:block}
.push-recipient-copy strong{color:#102d49;font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.push-recipient-copy small{margin-top:3px;color:#78838e;font-size:.68rem;line-height:1.3;white-space:normal}
.push-recipient-empty{padding:18px;text-align:center;color:#7d8791;font-size:.8rem}
.push-recipient-field>p.small{margin:9px 2px 0}
@media(max-width:520px){.push-recipient-heading{align-items:flex-start;flex-direction:column;gap:4px}.push-recipient-toolbar{display:grid;grid-template-columns:1fr 1fr}.push-recipient-toolbar .btn{width:100%;white-space:normal}}

/* V115 — persistent management dropdown and church-time schedule fixes */
.admin-social-body .admin-management-nav{position:sticky;top:72px;z-index:19;min-height:62px;padding:9px max(14px,calc((100vw - 1380px)/2 + 24px));overflow:visible;border-right:0;border-bottom:1px solid var(--line);box-shadow:0 6px 18px #071a2d0a}
.admin-management-links button{min-width:0;min-height:44px;margin:0;padding:10px 12px;display:flex;align-items:center;gap:8px;border:0;border-radius:10px;background:transparent;color:#46515c;font:inherit;font-size:.8rem;font-weight:800;line-height:1.25;text-align:left;white-space:normal;cursor:pointer}
.admin-management-links button:hover,.admin-management-links button.active{background:#f6f1e7;color:#624713}
.admin-management-links button:focus-visible{outline:3px solid #d3ad5a80;outline-offset:1px}
.admin-management-links button[hidden]{display:none!important}
.admin-management-links .management-item-arrow{margin-left:auto;color:#b0832e;font-size:1.15rem}
.admin-management-links .nav-count{display:inline-grid;place-items:center;flex:0 0 auto;min-width:20px;height:20px;margin-left:auto;padding:0 5px;border-radius:999px;background:#a33c33;color:#fff;font-size:.65rem;font-weight:900}
.admin-management-links .nav-count+.management-item-arrow{margin-left:0}
@media(max-width:800px){.admin-social-body .admin-management-nav{top:64px;min-height:58px;padding:8px 12px}.admin-management-links button{min-height:46px;font-size:.78rem}}
