/* v18.107: founder-approved elegant, uncomplicated host flow.
 * Only existing organiser DOM. No media, QR, Stripe, data or privacy selectors. */
#manageView .host-bottom-nav{
 background:rgba(255,251,244,.95)!important;
 border-top:1px solid rgba(198,173,134,.55)!important;
 box-shadow:0 -4px 18px rgba(48,35,19,.07);
 padding-bottom:max(7px,env(safe-area-inset-bottom))!important;
}
@supports (backdrop-filter:blur(8px)){
 #manageView .host-bottom-nav{
  background:rgba(255,251,244,.9)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
 }
}
#manageView .host-bottom-nav .host-nav-btn,
#manageView .host-bottom-nav .host-plus-btn{
 min-width:0;flex:1 1 0;min-height:47px;touch-action:manipulation;
}
#manageView .host-bottom-nav .host-plus-btn{
 flex:0 0 52px;min-width:52px;min-height:52px;
 width:52px;height:52px;
}
#manageView #p107HostUploadsNav{
 border:0;background:none;cursor:pointer;
 color:#756955;display:flex;align-items:center;justify-content:center;
 flex-direction:column;gap:2px;
 font:750 10px/1.25 system-ui,sans-serif;
}
#manageView #p107HostUploadsNav .nav-icon{
 font:600 21px/1 system-ui,sans-serif;
}
#manageView #p107HostUploadsNav.active,
#manageView #p107HostUploadsNav[aria-current="page"]{
 color:#755021;
}
#manageView #p107HostUploadsNav:focus-visible{
 outline:3px solid #b48e51;outline-offset:2px;border-radius:12px;
}
/* One clear set of gallery category choices. The main statistic tiles
 * already invoke the exact same authorisation-preserving filters. */
#manageView #hostGalleryTab #adminFilters{
 display:none!important;
}
#manageView #hostGalleryTab .host-gallery-stats{
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
 gap:7px;
}
#manageView #hostGalleryTab .host-gallery-stats button{
 min-height:65px;min-width:0;padding:10px 5px;
 border-radius:14px;transition:border-color .18s ease,background .18s ease;
}
#manageView #hostGalleryTab .host-gallery-stats button b{
 font-size:clamp(19px,3.7vw,26px);
}
#manageView #hostGalleryTab .host-gallery-stats button span{
 font-size:10px;line-height:1.3;overflow-wrap:anywhere;
}
#manageView #hostGalleryTab .host-gallery-stats button[data-gallery-filter="pending"].p107-needs-review{
 border-color:#bc995f;background:#f8efdb;
 box-shadow:inset 0 0 0 1px rgba(182,140,74,.22);
}
#manageView #hostGalleryTab .host-gallery-stats button:focus-visible{
 outline:3px solid #a57b41;outline-offset:2px;
}
#manageView #hostGalleryTab .host-gallery-stat-note{
 font-size:11px;line-height:1.4;margin-top:-2px;
}
#manageView #hostGalleryTab .host-gallery-hero{
 gap:8px;
}
#manageView #hostGalleryTab .host-gallery-head{
 gap:10px;
}
#manageView #hostGalleryTab .host-gallery-main-card{
 scroll-margin-top:calc(14px + env(safe-area-inset-top));
}
#manageView #hostGalleryTab #adminEmpty{
 line-height:1.55;
}
/* Settings: four short, single-row category switches instead of a second
 * tall grid of menus. Original accordion forms remain progressively hidden. */
#manageView #hostSettingsTab #hostSettingsTools{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:6px!important;
}
#manageView #hostSettingsTab #hostSettingsTools .host-settings-tool{
 min-width:0;min-height:55px!important;
 padding:8px 3px!important;border-radius:12px!important;
 gap:3px;
 transition:border-color .18s ease,background .18s ease;
}
#manageView #hostSettingsTab #hostSettingsTools .host-settings-tool span{
 font-size:17px;line-height:1;max-height:20px;
}
#manageView #hostSettingsTab #hostSettingsTools .host-settings-tool b{
 font-size:10px;line-height:1.2;overflow-wrap:anywhere;
}
#manageView #hostSettingsTab .settings-tool-panel{
 scroll-margin-top:calc(14px + env(safe-area-inset-top));
}
#manageView #hostSettingsTab .settings-tool-panel>summary{
 min-height:52px;touch-action:manipulation;
}
#manageView #hostEventTab #p90HostActions .p90-action{
 transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
#manageView #hostEventTab #p90HostActions .p90-action:active{
 transform:scale(.992);
}
#manageView #hostEventTab #hostHeroCover:not(.hidden){
 object-fit:contain!important;object-position:center!important;
}
/* Phone-specific comfort, including 320px screens and Android safe areas. */
@media(max-width:600px){
 #manageView #hostGalleryTab .host-gallery-stats{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 #manageView #hostGalleryTab .host-gallery-stats button{
  min-height:61px!important;padding:8px 5px;
 }
 #manageView #hostGalleryTab .host-gallery-stats button:last-child{
  grid-column:auto!important;min-height:61px!important;
 }
 #manageView #hostGalleryTab .host-gallery-top-actions .btn{
  min-height:44px;
 }
 #manageView #hostSettingsTab .host-settings-context{
  margin-top:2px;
 }
}
@media(max-width:360px){
 #manageView #hostSettingsTab #hostSettingsTools{gap:4px!important}
 #manageView #hostSettingsTab #hostSettingsTools .host-settings-tool b{font-size:9px}
 #manageView #hostGalleryTab .host-gallery-stats button span{font-size:9px}
 #manageView #p107HostUploadsNav{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 #manageView #hostEventTab #p90HostActions .p90-action,
 #manageView #hostGalleryTab .host-gallery-stats button,
 #manageView #hostSettingsTab #hostSettingsTools .host-settings-tool{
  transition:none!important;transform:none!important;
 }
}
