/* Club Privilege v2.8.1 — Management final shell
 * Premium management presentation for desktop + mobile.
 * Front House/POS is deliberately excluded from desktop shell overrides.
 */

:root{
  --cpm-red:#d71934;
  --cpm-red-deep:#a50e27;
  --cpm-black:#101014;
  --cpm-ink:#202027;
  --cpm-muted:#6d6d77;
  --cpm-gold:#d6ad5c;
  --cpm-gold-soft:#f4ddb0;
  --cpm-line:#e7e7ec;
  --cpm-canvas:#f4f4f7;
  --cpm-white:#fff;
  --cpm-shadow:0 18px 44px rgba(24,24,31,.08);
}

/* ======================================================================
   PRIVATE WORDPRESS ADMIN APP SHELL — DESKTOP
   ====================================================================== */
@media(min-width:783px){
  html.wp-toolbar:has(body.cp-management-mobile-shell:not(.cp-pos-admin)){padding-top:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin){
    min-width:0!important;
    background:
      radial-gradient(circle at 85% 3%,rgba(215,25,52,.055),transparent 26%),
      linear-gradient(180deg,#f7f7f9 0%,#f2f2f5 100%)!important;
    color:var(--cpm-ink)!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpadminbar,
  body.cp-management-mobile-shell:not(.cp-pos-admin) #adminmenumain,
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpfooter,
  body.cp-management-mobile-shell:not(.cp-pos-admin) #screen-meta-links,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .update-nag{display:none!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpcontent,
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpfooter{margin-left:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpcontent{padding-left:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpbody{padding-top:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpbody-content{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-height:100vh!important;
    padding:88px 28px 64px 138px!important;
    overflow-x:hidden!important;
  }

  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar{
    display:flex!important;
    position:fixed!important;
    left:0!important;right:0!important;top:0!important;
    z-index:100000!important;
    min-height:68px!important;
    padding:10px 24px 10px 18px!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    background:rgba(15,15,19,.985)!important;
    border-bottom:1px solid rgba(214,173,92,.24)!important;
    box-shadow:0 12px 30px rgba(0,0,0,.17)!important;
    backdrop-filter:blur(16px)!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar>a{
    display:grid!important;
    grid-template-columns:42px auto!important;
    grid-template-rows:auto auto!important;
    column-gap:11px!important;
    align-items:center!important;
    text-decoration:none!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar>a>span{
    grid-row:1/3!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;height:42px!important;
    border-radius:13px!important;
    background:linear-gradient(145deg,#e62a44,#b80f2b)!important;
    color:#fff!important;
    font-size:21px!important;
    font-weight:950!important;
    box-shadow:0 10px 22px rgba(215,25,52,.25)!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar strong{
    color:#fff!important;
    font-size:15px!important;
    line-height:1.05!important;
    letter-spacing:.09em!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar small{
    color:#c8aa70!important;
    font-size:9px!important;
    line-height:1.1!important;
    font-weight:800!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar>em{
    display:inline-flex!important;
    align-items:center!important;
    min-height:34px!important;
    padding:0 12px!important;
    border:1px solid rgba(214,173,92,.34)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.05)!important;
    color:#f1d295!important;
    font-size:9px!important;
    line-height:1!important;
    font-style:normal!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
  }

  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav{
    display:grid!important;
    position:fixed!important;
    left:14px!important;
    top:86px!important;
    right:auto!important;
    bottom:auto!important;
    z-index:99999!important;
    width:104px!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:8px!important;
    border:1px solid #e1e1e6!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 18px 45px rgba(25,25,30,.12)!important;
    backdrop-filter:blur(12px)!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav>a{
    min-width:0!important;
    min-height:72px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:7px 4px!important;
    border-radius:15px!important;
    color:#51515a!important;
    text-decoration:none!important;
    text-align:center!important;
    transition:.16s ease!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav>a:hover,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav>a:focus{
    background:#fff1f3!important;
    color:#ae1029!important;
    outline:none!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav span{font-size:20px!important;line-height:1!important;font-weight:950!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav b{max-width:100%!important;font-size:9px!important;line-height:1.05!important;white-space:normal!important}

  body.cp-management-mobile-shell:not(.cp-pos-admin) .wrap{
    box-sizing:border-box!important;
    width:min(100%,1600px)!important;
    max-width:1600px!important;
    margin:0 auto!important;
    padding:0 8px 36px!important;
  }
}

/* ======================================================================
   MANAGEMENT CONTROL CENTRE — DESKTOP + FRONTEND
   ====================================================================== */
.cp-management-dashboard{
  --cpm-card-radius:22px;
  color:var(--cpm-ink)!important;
}
.cp-management-dashboard .cp-mgmt-hero{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(214,173,92,.34)!important;
  border-top:0!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 88% 10%,rgba(215,25,52,.19),transparent 27%),
    linear-gradient(135deg,#0d0d10 0%,#171217 58%,#250810 100%)!important;
  color:#fff!important;
  box-shadow:0 26px 62px rgba(18,15,19,.22)!important;
}
.cp-management-dashboard .cp-mgmt-hero:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  border-top:6px solid var(--cpm-red)!important;
}
.cp-management-dashboard .cp-mgmt-kicker{color:#f0cd8b!important}
.cp-management-dashboard .cp-mgmt-hero h1{color:#fff!important}
.cp-management-dashboard .cp-mgmt-hero p{color:#d8cfd2!important}
.cp-management-dashboard .cp-mgmt-user-card{
  border:1px solid rgba(214,173,92,.32)!important;
  background:rgba(255,255,255,.065)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
  backdrop-filter:blur(9px)!important;
}
.cp-management-dashboard .cp-mgmt-user-card>span{color:#beaeb3!important}
.cp-management-dashboard .cp-mgmt-user-card>strong{color:#fff!important}
.cp-management-dashboard .cp-mgmt-user-card>em{
  background:linear-gradient(135deg,#e52a43,#b60f2a)!important;
  color:#fff!important;
}
.cp-management-dashboard .cp-mgmt-user-card>a{color:#f0cd8b!important}

.cp-management-dashboard .cp-mgmt-mobile-summary>a,
.cp-management-dashboard .cp-mgmt-section,
.cp-management-dashboard .cp-mgmt-access-note{
  border-color:var(--cpm-line)!important;
  background:#fff!important;
  box-shadow:var(--cpm-shadow)!important;
}
.cp-management-dashboard .cp-mgmt-mobile-summary>a{
  position:relative!important;
  overflow:hidden!important;
}
.cp-management-dashboard .cp-mgmt-mobile-summary>a:before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;
  width:4px!important;
  background:var(--cpm-red)!important;
}
.cp-management-dashboard .cp-mgmt-mobile-summary strong{color:var(--cpm-red)!important}
.cp-management-dashboard .cp-mgmt-section{border-radius:24px!important}
.cp-management-dashboard .cp-mgmt-section-head>div>span{
  background:#111116!important;
  color:#f0cd8b!important;
  box-shadow:0 8px 18px rgba(16,16,20,.12)!important;
}
.cp-management-dashboard .cp-mgmt-section-head h2{color:#17171b!important}
.cp-management-dashboard .cp-mgmt-action{
  min-height:138px!important;
  border-color:#e4e4e9!important;
  border-radius:19px!important;
  background:linear-gradient(180deg,#fff 0%,#fdfdfe 100%)!important;
}
.cp-management-dashboard .cp-mgmt-action-icon{
  background:#fff2f4!important;
  color:#b8102a!important;
}
.cp-management-dashboard .cp-mgmt-action.is-primary{
  border-color:#a90e28!important;
  background:linear-gradient(135deg,#d71934,#9d0d25)!important;
}
.cp-management-dashboard .cp-mgmt-action.is-primary .cp-mgmt-action-icon{background:rgba(255,255,255,.16)!important;color:#fff!important}

/* Frontend Management: same navigation behaves like a desktop rail. */
@media(min-width:783px){
  .cp-management-control-centre-page .cp-management-app-shell.cp-management-dashboard{
    width:min(100%,1580px)!important;
    margin:0 auto!important;
    padding:32px 28px 54px 142px!important;
  }
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav{
    display:grid!important;
    position:fixed!important;
    left:18px!important;
    top:28px!important;
    bottom:auto!important;
    right:auto!important;
    z-index:99999!important;
    width:105px!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:8px!important;
    border:1px solid #e1e1e6!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 18px 45px rgba(25,25,30,.12)!important;
  }
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav>a{
    min-height:74px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border-radius:15px!important;
    color:#4c4c55!important;
    text-decoration:none!important;
    text-align:center!important;
  }
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav>a:hover,
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav>a:focus{background:#fff1f3!important;color:#a90f28!important;outline:none!important}
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav span{font-size:20px!important;line-height:1!important}
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav b{font-size:9px!important;line-height:1.05!important;white-space:normal!important}
}

/* ======================================================================
   SHARED CP ADMIN PRESENTATION
   ====================================================================== */
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-events-admin,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-partners-admin,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-help-admin,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-intel-admin{
  color:var(--cpm-ink)!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-hero,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-events-admin-hero,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-help-admin-hero,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-intel-hero{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(214,173,92,.31)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 89% 8%,rgba(215,25,52,.18),transparent 28%),
    linear-gradient(135deg,#0e0e11 0%,#171216 60%,#260910 100%)!important;
  color:#fff!important;
  box-shadow:0 20px 50px rgba(18,15,19,.17)!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-hero h1,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-events-admin-hero h1,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-help-admin-hero h1,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-intel-hero h1{color:#fff!important}
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-hero p,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-events-admin-hero p,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-help-admin-hero p,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-intel-hero p{color:#d7cfd2!important}
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-eyebrow{color:#efd08f!important}

body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-panel,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-card,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-help-admin-panel,
body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-intel-panel{
  border:1px solid var(--cpm-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(26,26,34,.055)!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) .button,
body.cp-management-mobile-shell:not(.cp-pos-admin) button,
body.cp-management-mobile-shell:not(.cp-pos-admin) input[type=submit]{
  border-radius:10px!important;
  font-weight:800!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) .button-primary{
  border-color:#b7102b!important;
  background:linear-gradient(135deg,#d71934,#ad1029)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(215,25,52,.14)!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) input:not([type=checkbox]):not([type=radio]),
body.cp-management-mobile-shell:not(.cp-pos-admin) select,
body.cp-management-mobile-shell:not(.cp-pos-admin) textarea{
  border-color:#dcdce2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#24242a!important;
  box-shadow:none!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) input:focus,
body.cp-management-mobile-shell:not(.cp-pos-admin) select:focus,
body.cp-management-mobile-shell:not(.cp-pos-admin) textarea:focus{
  border-color:#e8a9b5!important;
  box-shadow:0 0 0 3px rgba(215,25,52,.07)!important;
  outline:none!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) .widefat{
  border:1px solid #e4e4e9!important;
  border-radius:14px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) .widefat thead th{
  background:#121216!important;
  color:#f4e7cf!important;
  border-bottom:0!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
body.cp-management-mobile-shell:not(.cp-pos-admin) .widefat tbody tr:nth-child(even){background:#fafafd!important}
body.cp-management-mobile-shell:not(.cp-pos-admin) .widefat td{border-bottom-color:#ededf1!important}

/* ======================================================================
   MEMBER PHOTO MODERATION
   ====================================================================== */
.cp-member-media-panel{
  position:relative!important;
  overflow:hidden!important;
  border-top:5px solid var(--cpm-red)!important;
}
.cp-member-media-panel:before{
  content:""!important;
  position:absolute!important;
  width:260px!important;height:260px!important;
  right:-130px!important;top:-160px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(215,25,52,.08),transparent 70%)!important;
  pointer-events:none!important;
}
.cp-member-media-head{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-bottom:18px!important;
}
.cp-member-media-head h2{margin:4px 0 6px!important;color:#17171b!important;font-size:26px!important}
.cp-member-media-head p{max-width:760px!important;margin:0!important;color:#6a6a74!important;line-height:1.55!important}
.cp-member-media-private{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:0 10px!important;
  border:1px solid #dfbd79!important;
  border-radius:999px!important;
  background:#111114!important;
  color:#f2d59b!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
  white-space:nowrap!important;
}
.cp-member-media-warning{
  margin:0 0 18px!important;
  padding:13px 15px!important;
  border:1px solid #efccd3!important;
  border-left:4px solid var(--cpm-red)!important;
  border-radius:12px!important;
  background:#fff6f7!important;
  color:#6c3b45!important;
  line-height:1.5!important;
}
.cp-member-media-subhead{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:20px 0 10px!important;
  padding-top:16px!important;
  border-top:1px solid #ececf0!important;
}
.cp-member-media-subhead strong{color:#26262c!important;font-size:15px!important}
.cp-member-media-subhead span{color:#8a8a94!important;font-size:11px!important}
.cp-member-media-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
.cp-member-media-card{
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid #e4e4e9!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(25,25,32,.055)!important;
}
.cp-member-media-image{
  position:relative!important;
  display:block!important;
  width:100%!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  background:#111114!important;
}
.cp-member-media-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  background:#111114!important;
}
.cp-member-media-image span{
  position:absolute!important;
  left:9px!important;top:9px!important;
  display:inline-flex!important;
  min-height:25px!important;
  align-items:center!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:rgba(9,9,11,.86)!important;
  color:#f1d49a!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.07em!important;
}
.cp-member-media-copy{padding:12px!important}
.cp-member-media-copy strong{display:block!important;color:#24242a!important;font-size:14px!important;line-height:1.2!important}
.cp-member-media-copy small{display:block!important;margin-top:4px!important;color:#7c7c86!important;line-height:1.35!important}
.cp-member-media-delete-form{margin:10px 0 0!important}
.cp-member-media-delete-form .cp-media-delete{
  width:100%!important;
  min-height:40px!important;
  border:1px solid #d58e9a!important;
  background:#fff!important;
  color:#aa1029!important;
  box-shadow:none!important;
}
.cp-member-media-delete-form .cp-media-delete:hover,
.cp-member-media-delete-form .cp-media-delete:focus{
  border-color:#a90e28!important;
  background:#a90e28!important;
  color:#fff!important;
}
.cp-member-media-empty{
  padding:18px!important;
  border:1px dashed #d9d9df!important;
  border-radius:13px!important;
  background:#fafafd!important;
  color:#777781!important;
}
.cp-member-media-notice{
  margin:0 0 16px!important;
  padding:12px 14px!important;
  border:1px solid #bfe0ca!important;
  border-radius:11px!important;
  background:#eef9f2!important;
  color:#236b3d!important;
  font-weight:800!important;
}

@media(max-width:1180px){
  .cp-member-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* ======================================================================
   MOBILE — TAP-FIRST MANAGEMENT
   ====================================================================== */
@media(max-width:782px){
  html.wp-toolbar{padding-top:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin){background:#f5f5f7!important;min-width:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpadminbar,
  body.cp-management-mobile-shell:not(.cp-pos-admin) #adminmenumain,
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpfooter,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .update-nag{display:none!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpcontent,
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpfooter{margin-left:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpcontent{padding-left:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpbody{padding-top:0!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) #wpbody-content{
    width:100%!important;
    max-width:100%!important;
    padding:68px 0 96px!important;
    overflow-x:hidden!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar{
    display:flex!important;
    position:fixed!important;
    left:0!important;right:0!important;top:0!important;
    z-index:100000!important;
    min-height:58px!important;
    padding:8px 12px!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    background:rgba(16,16,20,.985)!important;
    border-bottom:1px solid rgba(214,173,92,.22)!important;
    box-shadow:0 8px 24px rgba(24,24,29,.12)!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar>a{
    grid-template-columns:34px auto!important;
    column-gap:8px!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar>a>span{width:34px!important;height:34px!important;border-radius:10px!important;font-size:17px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar strong{font-size:13px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar small{font-size:8px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mobile-management-topbar>em{max-width:42%!important;min-height:0!important;padding:6px 8px!important;font-size:7px!important;text-align:center!important}

  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav{
    display:grid!important;
    position:fixed!important;
    left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;
    z-index:100000!important;
    width:auto!important;
    grid-template-columns:repeat(auto-fit,minmax(55px,1fr))!important;
    gap:3px!important;
    padding:6px!important;
    border:1px solid #e2e2e8!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 18px 45px rgba(25,25,30,.18)!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav>a{
    min-height:58px!important;
    gap:3px!important;
    padding:4px 2px!important;
    border-radius:12px!important;
  }
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav span{font-size:17px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-mgmt-mobile-nav b{font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

  body.cp-management-mobile-shell:not(.cp-pos-admin) .wrap{width:100%!important;max-width:100%!important;margin:0!important;padding:10px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-hero,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-events-admin-hero,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-help-admin-hero,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-intel-hero{padding:20px 17px!important;border-radius:18px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) h1{font-size:clamp(28px,9vw,39px)!important;line-height:1.02!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-panel,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-admin-card,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-help-admin-panel,
  body.cp-management-mobile-shell:not(.cp-pos-admin) .cp-intel-panel{padding:16px!important;border-radius:16px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) input:not([type=checkbox]):not([type=radio]),
  body.cp-management-mobile-shell:not(.cp-pos-admin) select,
  body.cp-management-mobile-shell:not(.cp-pos-admin) textarea{max-width:100%!important;min-height:46px!important;font-size:16px!important}
  body.cp-management-mobile-shell:not(.cp-pos-admin) .button,
  body.cp-management-mobile-shell:not(.cp-pos-admin) button,
  body.cp-management-mobile-shell:not(.cp-pos-admin) input[type=submit]{min-height:44px!important}

  .cp-management-control-centre-page .cp-management-app-shell.cp-management-dashboard{padding:10px 10px 96px!important}
  .cp-management-dashboard .cp-mgmt-hero{padding:22px 18px!important;border-radius:20px!important}
  .cp-management-dashboard .cp-mgmt-hero h1{font-size:40px!important}
  .cp-management-dashboard .cp-mgmt-hero p{font-size:14px!important}
  .cp-management-dashboard .cp-mgmt-section{margin-top:12px!important;padding:16px!important;border-radius:18px!important}
  .cp-management-dashboard .cp-mgmt-action{min-height:96px!important;padding:13px!important}
  .cp-management-dashboard .cp-mgmt-mobile-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .cp-management-dashboard .cp-mgmt-mobile-summary>a{min-height:78px!important;padding:12px!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important}
  .cp-management-dashboard .cp-mgmt-mobile-summary span{text-align:left!important}
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav{
    display:grid!important;
    position:fixed!important;
    left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;
    z-index:99999!important;
    grid-template-columns:repeat(auto-fit,minmax(55px,1fr))!important;
    gap:3px!important;
    padding:6px!important;
    border:1px solid #e2e2e8!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 18px 45px rgba(25,25,30,.18)!important;
  }
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav>a{min-height:58px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;border-radius:12px!important;color:#4b4b52!important;text-decoration:none!important;text-align:center!important}
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav span{font-size:17px!important;line-height:1!important}
  .cp-management-control-centre-page .cp-mgmt-app-bottom-nav b{font-size:8px!important;line-height:1.05!important;white-space:nowrap!important}

  .cp-member-media-head{flex-direction:column!important}
  .cp-member-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .cp-member-media-copy{padding:10px!important}
  .cp-member-media-copy strong{font-size:13px!important}
  .cp-member-media-copy small{font-size:10px!important}
  .cp-member-media-delete-form .cp-media-delete{font-size:11px!important}
}

@media(max-width:520px){
  .cp-member-media-grid{grid-template-columns:1fr!important}
  .cp-member-media-image{aspect-ratio:4/3!important}
}
