/* ========================================================================
   PHOTOPROMPT × WCFM / 3.9.4
   Public vendor registration + WCFM surfaces. Scoped to body.pp-wcfm-route.
   ======================================================================== */

body.pp-wcfm-route{
  --pp-wcfm-bg:#f3efe9;
  --pp-wcfm-panel:#fffdf9;
  --pp-wcfm-panel-2:#f7f2ec;
  --pp-wcfm-ink:#111315;
  --pp-wcfm-muted:#6e6b67;
  --pp-wcfm-border:rgba(17,19,21,.14);
  --pp-wcfm-accent:#cf572f;
  --pp-wcfm-accent-hover:#b94826;
  background:var(--pp-wcfm-bg)!important;
}
html[data-pp-theme='dark'] body.pp-wcfm-route{
  --pp-wcfm-bg:#0d0f10;
  --pp-wcfm-panel:#151719;
  --pp-wcfm-panel-2:#1d2023;
  --pp-wcfm-ink:#f7f3ed;
  --pp-wcfm-muted:#aaa49c;
  --pp-wcfm-border:rgba(247,243,237,.14);
  --pp-wcfm-accent:#d65b32;
  --pp-wcfm-accent-hover:#e2673d;
  background:var(--pp-wcfm-bg)!important;
  color:var(--pp-wcfm-ink)!important;
}

body.pp-wcfm-route #main,
body.pp-wcfm-route #primary,
body.pp-wcfm-route .site-main,
body.pp-wcfm-route .ct-container-full,
body.pp-wcfm-route .ct-container{
  background:transparent!important;
}

/* Registration / membership canvas */
body.pp-wcfm-route #wcfm_membership_registration_form_expander,
body.pp-wcfm-route #wcfm_vendor_registration_form_expander,
body.pp-wcfm-route .wcfm_membership_registration_form,
body.pp-wcfm-route .wcfm_registration_form,
body.pp-wcfm-route .wcfm_registration_form_wrapper,
body.pp-wcfm-route .wcfm-membership-wrapper,
body.pp-wcfm-route .wcfmmp_become_vendor_link,
body.pp-wcfm-route .wcfm-container,
body.pp-wcfm-route .wcfm-content{
  color:var(--pp-wcfm-ink)!important;
}

body.pp-wcfm-route #wcfm_membership_registration_form_expander,
body.pp-wcfm-route #wcfm_vendor_registration_form_expander,
body.pp-wcfm-route .wcfm_membership_registration_form,
body.pp-wcfm-route .wcfm_registration_form{
  width:min(1180px,calc(100vw - 36px))!important;
  margin:clamp(54px,7vw,110px) auto!important;
  padding:clamp(26px,4vw,58px)!important;
  border:1px solid var(--pp-wcfm-border)!important;
  border-radius:28px!important;
  background:var(--pp-wcfm-panel)!important;
  box-shadow:0 26px 90px rgba(0,0,0,.16)!important;
  overflow:hidden!important;
}
html[data-pp-theme='dark'] body.pp-wcfm-route #wcfm_membership_registration_form_expander,
html[data-pp-theme='dark'] body.pp-wcfm-route #wcfm_vendor_registration_form_expander,
html[data-pp-theme='dark'] body.pp-wcfm-route .wcfm_membership_registration_form,
html[data-pp-theme='dark'] body.pp-wcfm-route .wcfm_registration_form{
  box-shadow:0 30px 110px rgba(0,0,0,.46)!important;
}

body.pp-wcfm-route .wcfm_membership_registration_form_heading,
body.pp-wcfm-route .wcfm_registration_form_heading,
body.pp-wcfm-route #wcfm_membership_registration_form_expander > h2,
body.pp-wcfm-route #wcfm_vendor_registration_form_expander > h2,
body.pp-wcfm-route .wcfm-content h2,
body.pp-wcfm-route .wcfm-content h3{
  margin:0 0 28px!important;
  color:var(--pp-wcfm-ink)!important;
  -webkit-text-fill-color:var(--pp-wcfm-ink)!important;
  font-family:var(--pp-display,var(--pp-sans,Arial,sans-serif))!important;
  font-weight:800!important;
  letter-spacing:-.045em!important;
  line-height:.95!important;
}
body.pp-wcfm-route .wcfm_membership_registration_form_heading,
body.pp-wcfm-route .wcfm_registration_form_heading,
body.pp-wcfm-route #wcfm_membership_registration_form_expander > h2,
body.pp-wcfm-route #wcfm_vendor_registration_form_expander > h2{
  font-size:clamp(42px,5vw,78px)!important;
}

/* WCFM often paints a dark row in light mode and a white row in dark mode.
   Normalize every form row to Photoprompt surfaces instead. */
body.pp-wcfm-route .wcfm_ele,
body.pp-wcfm-route .wcfm_title,
body.pp-wcfm-route .wcfm_registration_form label,
body.pp-wcfm-route .wcfm_membership_registration_form label,
body.pp-wcfm-route .wcfm-content label{
  color:var(--pp-wcfm-ink)!important;
  -webkit-text-fill-color:var(--pp-wcfm-ink)!important;
}
body.pp-wcfm-route .wcfm_title,
body.pp-wcfm-route .wcfm_registration_form label,
body.pp-wcfm-route .wcfm_membership_registration_form label{
  font-weight:750!important;
  letter-spacing:-.01em!important;
}

body.pp-wcfm-route .wcfm_registration_form p,
body.pp-wcfm-route .wcfm_membership_registration_form p,
body.pp-wcfm-route .wcfm-content p,
body.pp-wcfm-route .wcfm-content small,
body.pp-wcfm-route .wcfm-content .description,
body.pp-wcfm-route .wcfm-content .wcfm_help_text{
  color:var(--pp-wcfm-muted)!important;
  -webkit-text-fill-color:var(--pp-wcfm-muted)!important;
}

body.pp-wcfm-route input.wcfm-text,
body.pp-wcfm-route input.wcfm-input,
body.pp-wcfm-route .wcfm_registration_form input[type='text'],
body.pp-wcfm-route .wcfm_registration_form input[type='email'],
body.pp-wcfm-route .wcfm_registration_form input[type='password'],
body.pp-wcfm-route .wcfm_registration_form input[type='url'],
body.pp-wcfm-route .wcfm_membership_registration_form input[type='text'],
body.pp-wcfm-route .wcfm_membership_registration_form input[type='email'],
body.pp-wcfm-route .wcfm_membership_registration_form input[type='password'],
body.pp-wcfm-route .wcfm_membership_registration_form input[type='url'],
body.pp-wcfm-route textarea.wcfm-textarea,
body.pp-wcfm-route select.wcfm-select,
body.pp-wcfm-route .wcfm-content input[type='text'],
body.pp-wcfm-route .wcfm-content input[type='email'],
body.pp-wcfm-route .wcfm-content input[type='password'],
body.pp-wcfm-route .wcfm-content input[type='url'],
body.pp-wcfm-route .wcfm-content textarea,
body.pp-wcfm-route .wcfm-content select{
  min-height:54px!important;
  padding:13px 16px!important;
  border:1px solid var(--pp-wcfm-border)!important;
  border-radius:12px!important;
  background:var(--pp-wcfm-panel-2)!important;
  color:var(--pp-wcfm-ink)!important;
  -webkit-text-fill-color:var(--pp-wcfm-ink)!important;
  box-shadow:none!important;
  outline:none!important;
  font:600 15px/1.3 var(--pp-sans,Arial,sans-serif)!important;
}
body.pp-wcfm-route textarea.wcfm-textarea,
body.pp-wcfm-route .wcfm-content textarea{min-height:130px!important;resize:vertical!important}
body.pp-wcfm-route input::placeholder,
body.pp-wcfm-route textarea::placeholder{
  color:color-mix(in srgb,var(--pp-wcfm-muted) 68%,transparent)!important;
  -webkit-text-fill-color:color-mix(in srgb,var(--pp-wcfm-muted) 68%,transparent)!important;
  opacity:1!important;
}
body.pp-wcfm-route input:focus,
body.pp-wcfm-route textarea:focus,
body.pp-wcfm-route select:focus{
  border-color:var(--pp-wcfm-accent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--pp-wcfm-accent) 18%,transparent)!important;
}

/* Links + generated store slug */
body.pp-wcfm-route .wcfm_registration_form a,
body.pp-wcfm-route .wcfm_membership_registration_form a,
body.pp-wcfm-route .wcfm-content a{
  color:var(--pp-wcfm-ink)!important;
  text-decoration-color:var(--pp-wcfm-accent)!important;
  text-underline-offset:3px!important;
}
body.pp-wcfm-route .wcfm_registration_form a:hover,
body.pp-wcfm-route .wcfm_membership_registration_form a:hover,
body.pp-wcfm-route .wcfm-content a:hover{color:var(--pp-wcfm-accent)!important}

/* Submit buttons */
body.pp-wcfm-route .wcfm_submit_button,
body.pp-wcfm-route button.wcfm_submit_button,
body.pp-wcfm-route input.wcfm_submit_button,
body.pp-wcfm-route .wcfm_form_simple_submit_wrapper button,
body.pp-wcfm-route .wcfm_form_simple_submit_wrapper input[type='submit'],
body.pp-wcfm-route .wcfm_registration_form input[type='submit'],
body.pp-wcfm-route .wcfm_membership_registration_form input[type='submit']{
  min-height:56px!important;
  padding:0 25px!important;
  border:1px solid var(--pp-wcfm-accent)!important;
  border-radius:12px!important;
  background:var(--pp-wcfm-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
  font:800 12px/1 var(--pp-mono,var(--pp-sans,Arial,sans-serif))!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease!important;
}
body.pp-wcfm-route .wcfm_submit_button:hover,
body.pp-wcfm-route .wcfm_form_simple_submit_wrapper button:hover,
body.pp-wcfm-route .wcfm_registration_form input[type='submit']:hover,
body.pp-wcfm-route .wcfm_membership_registration_form input[type='submit']:hover{
  background:var(--pp-wcfm-accent-hover)!important;
  border-color:var(--pp-wcfm-accent-hover)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-1px)!important;
}

/* Messages: never pale text on pale background again. */
body.pp-wcfm-route .wcfm-message,
body.pp-wcfm-route .wcfm-error,
body.pp-wcfm-route .wcfm-success,
body.pp-wcfm-route .wcfm-warning,
body.pp-wcfm-route .woocommerce-error,
body.pp-wcfm-route .woocommerce-message,
body.pp-wcfm-route .woocommerce-info{
  margin:18px 0!important;
  padding:15px 17px!important;
  border:1px solid var(--pp-wcfm-border)!important;
  border-left:4px solid var(--pp-wcfm-accent)!important;
  border-radius:10px!important;
  background:var(--pp-wcfm-panel-2)!important;
  color:var(--pp-wcfm-ink)!important;
  -webkit-text-fill-color:var(--pp-wcfm-ink)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route .wcfm-error,
body.pp-wcfm-route .woocommerce-error{border-left-color:#e25a4d!important}
body.pp-wcfm-route .wcfm-success,
body.pp-wcfm-route .woocommerce-message{border-left-color:#6f9c72!important}

/* Checkbox/radio controls */
body.pp-wcfm-route input[type='checkbox'],
body.pp-wcfm-route input[type='radio']{accent-color:var(--pp-wcfm-accent)!important}

/* WCFM store manager surfaces in dark mode: keep internal panels coherent but
   avoid flattening WCFM's functional navigation. */
html[data-pp-theme='dark'] body.pp-wcfm-route #wcfm-main-contentainer,
html[data-pp-theme='dark'] body.pp-wcfm-route .wcfm-collapse,
html[data-pp-theme='dark'] body.pp-wcfm-route .wcfm-tabWrap,
html[data-pp-theme='dark'] body.pp-wcfm-route .wcfm-container{
  background:#151719!important;
  color:#f7f3ed!important;
  border-color:rgba(247,243,237,.12)!important;
}
html[data-pp-theme='dark'] body.pp-wcfm-route .page_collapsible,
html[data-pp-theme='dark'] body.pp-wcfm-route .wcfm-tabWrap .page_collapsible{
  background:#1d2023!important;
  color:#f7f3ed!important;
  border-color:rgba(247,243,237,.12)!important;
}

@media(max-width:760px){
  body.pp-wcfm-route #wcfm_membership_registration_form_expander,
  body.pp-wcfm-route #wcfm_vendor_registration_form_expander,
  body.pp-wcfm-route .wcfm_membership_registration_form,
  body.pp-wcfm-route .wcfm_registration_form{
    width:calc(100vw - 24px)!important;
    margin:30px auto 70px!important;
    padding:22px 16px 26px!important;
    border-radius:18px!important;
  }
  body.pp-wcfm-route .wcfm_registration_form_heading,
  body.pp-wcfm-route .wcfm_membership_registration_form_heading,
  body.pp-wcfm-route #wcfm_membership_registration_form_expander > h2,
  body.pp-wcfm-route #wcfm_vendor_registration_form_expander > h2{
    font-size:clamp(38px,12vw,58px)!important;
  }
  body.pp-wcfm-route .wcfm_title,
  body.pp-wcfm-route .wcfm_ele{float:none!important;width:100%!important;max-width:none!important}
  body.pp-wcfm-route input.wcfm-text,
  body.pp-wcfm-route textarea.wcfm-textarea,
  body.pp-wcfm-route select.wcfm-select{width:100%!important}
}

/* ========================================================================
   v3.9.4 — PHOTOPROMPT STORE MANAGER / DARK-SAFE UI
   WCFM remains the functional backend; Photoprompt owns typography + palette.
   ======================================================================== */

/* One typography system. Do not let WCFM/FontAwesome defaults leak into copy. */
body.pp-wcfm-route :where(
  #wcfm-main-contentainer,.wcfm-content,.wcfm-container,.wcfm-collapse,
  .wcfm-collapse-content,.wcfm-tabWrap,.wcfm_dashboard_wc_status,
  .wcfm_dashboard_stats_block,.wcfm-page-headig,.wcfm-page-heading,
  .wcfm_registration_form_wrapper,.wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
){
  font-family:var(--pp-sans,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
}
body.pp-wcfm-route :where(h1,h2,h3,h4,h5,h6,.wcfm-page-headig,.wcfm-page-heading){
  font-family:var(--pp-display,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
}

/* Registration: WCFM Ultimate nests the form in additional white wrappers. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper,
  #wcfm_membership_registration_form,
  #wcfm_vendor_registration_form,
  .wcfm_registration_form_expander,
  .wcfm_membership_registration_form_expander
){
  background:var(--pp-wcfm-panel)!important;
  color:var(--pp-wcfm-ink)!important;
  -webkit-text-fill-color:var(--pp-wcfm-ink)!important;
  border-color:var(--pp-wcfm-border)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
){
  width:min(1180px,calc(100vw - 36px))!important;
  margin:clamp(38px,5vw,78px) auto clamp(72px,8vw,120px)!important;
  padding:clamp(22px,3.5vw,48px)!important;
  border:1px solid var(--pp-wcfm-border)!important;
  border-radius:24px!important;
  overflow:visible!important;
}
html[data-pp-theme='dark'] body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
){
  background:#111315!important;
  box-shadow:0 26px 90px rgba(0,0,0,.34)!important;
}

/* Registration headings and helper copy must never be cream-on-white. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(h1,h2,h3,h4,label,strong,b,p,span,small,.wcfm_title,.wcfm_ele){
  color:var(--pp-wcfm-ink)!important;
  -webkit-text-fill-color:var(--pp-wcfm-ink)!important;
}
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(.description,.wcfm_help_text,small){
  color:var(--pp-wcfm-muted)!important;
  -webkit-text-fill-color:var(--pp-wcfm-muted)!important;
}

/* Ultimate sometimes uses generic inputs without wcfm-text classes. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(input:not([type='checkbox']):not([type='radio']):not([type='submit']),textarea,select){
  width:100%!important;
  min-height:52px!important;
  padding:12px 15px!important;
  border:1px solid var(--pp-wcfm-border)!important;
  border-radius:10px!important;
  background:var(--pp-wcfm-panel-2)!important;
  color:var(--pp-wcfm-ink)!important;
  -webkit-text-fill-color:var(--pp-wcfm-ink)!important;
  box-shadow:none!important;
}

/* Remove WCFM notification bell from the public Store Manager header. */
body.pp-wcfm-route :where(
  #wcfm_notification,
  .wcfm_notification,
  .wcfm_header_panel_notification,
  .wcfm_header_panel a[href*='notification'],
  .wcfm_header_panel a[href*='notifications'],
  .wcfm_header_panel [class*='bell']
){display:none!important}
@supports selector(:has(*)){
  body.pp-wcfm-route .wcfm_header_panel :is(a,span,div):has(> :is(.fa-bell,.wcfmfa-bell,[class*='bell'])){display:none!important}
}

/* Store Manager canvas. */
body.pp-wcfm-route #wcfm-main-contentainer{
  --pp-manager-bg:#111315;
  --pp-manager-panel:#181B1E;
  --pp-manager-panel-2:#202428;
  --pp-manager-ink:#F5F1EC;
  --pp-manager-muted:#AAA49C;
  --pp-manager-border:rgba(245,241,236,.13);
  --pp-manager-accent:#CD542F;
  width:min(1540px,calc(100vw - 32px))!important;
  margin:clamp(22px,3vw,48px) auto clamp(80px,8vw,130px)!important;
  border:1px solid var(--pp-manager-border)!important;
  background:var(--pp-manager-bg)!important;
  color:var(--pp-manager-ink)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.22)!important;
}
html[data-pp-theme='light'] body.pp-wcfm-route #wcfm-main-contentainer{
  --pp-manager-bg:#F2EEE8;
  --pp-manager-panel:#FFFCF7;
  --pp-manager-panel-2:#E9E3DB;
  --pp-manager-ink:#111315;
  --pp-manager-muted:#706B65;
  --pp-manager-border:rgba(17,19,21,.14);
}

/* Left navigation: charcoal + rust, never teal/blue. */
body.pp-wcfm-route :where(#wcfm_menu,.wcfm_menu,.wcfm_menu_items){
  background:#181B1E!important;
  border-color:rgba(245,241,236,.10)!important;
}
body.pp-wcfm-route :where(#wcfm_menu,.wcfm_menu) :where(a,.wcfm_menu_item,.wcfm_menu_item a){
  background:transparent!important;
  color:#F5F1EC!important;
  -webkit-text-fill-color:#F5F1EC!important;
  border-color:rgba(245,241,236,.08)!important;
  font-family:var(--pp-sans)!important;
  font-weight:650!important;
}
body.pp-wcfm-route :where(#wcfm_menu,.wcfm_menu) :where(a:hover,.wcfm_menu_item:hover,.wcfm_menu_item a:hover){
  background:#24282C!important;
  color:#fff!important;
}
body.pp-wcfm-route :where(#wcfm_menu,.wcfm_menu) :where(.active,.wcfm_menu_item.active,.wcfm_menu_item a.active,.wcfm_menu_item_here){
  background:var(--pp-manager-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.pp-wcfm-route :where(#wcfm_menu,.wcfm_menu) :where(i,svg,[class*='fa-']){
  color:inherit!important;
  fill:currentColor!important;
}
body.pp-wcfm-route :where(.wcfm_menu_logo,.wcfm_menu_logo h4,.wcfm_menu_logo a){
  background:#141618!important;
  color:#F5F1EC!important;
  -webkit-text-fill-color:#F5F1EC!important;
  border-color:rgba(245,241,236,.1)!important;
}

/* Manager top bar. */
body.pp-wcfm-route :where(.wcfm-page-headig,.wcfm-page-heading,.wcfm_header_panel,.wcfm_header_panel_container){
  background:#111315!important;
  color:#F5F1EC!important;
  -webkit-text-fill-color:#F5F1EC!important;
  border-color:rgba(245,241,236,.12)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route .wcfm_header_panel :where(a,i,span,svg){
  color:#F5F1EC!important;
  fill:currentColor!important;
  border-color:rgba(245,241,236,.25)!important;
}
body.pp-wcfm-route .wcfm_header_panel a:hover{color:var(--pp-manager-accent)!important}

/* Main content/panels. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm-content,.wcfm-container,.wcfm-collapse,.wcfm-collapse-content,.wcfm-tabWrap,
  .wcfm_dashboard_wc_status,.wcfm_dashboard_stats_block,.wcfm_dashboard_notification,
  .wcfm_dashboard_latest_topics,.wcfm_dashboard_enquiry,.wcfm_dashboard_reviews
){
  background:var(--pp-manager-panel)!important;
  color:var(--pp-manager-ink)!important;
  -webkit-text-fill-color:var(--pp-manager-ink)!important;
  border-color:var(--pp-manager-border)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(h1,h2,h3,h4,h5,h6,strong,b,label,th,td,p,li,small,span){
  color:var(--pp-manager-ink)!important;
  -webkit-text-fill-color:var(--pp-manager-ink)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.description,.wcfm_help_text,.wcfm_dashboard_stats_block_label,small){
  color:var(--pp-manager-muted)!important;
  -webkit-text-fill-color:var(--pp-manager-muted)!important;
}

/* Dashboard statistic tiles: one palette, no cyan/yellow/blue. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_wc_status_data,.wcfm_dashboard_stats_block,.wcfm_dashboard_wc_status_data > div
){
  background:var(--pp-manager-panel-2)!important;
  border-color:var(--pp-manager-border)!important;
  color:var(--pp-manager-ink)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_wc_status_data .fa,.wcfm_dashboard_wc_status_data i,
  .wcfm_dashboard_stats_block_icon,.wcfm_dashboard_stats_block .fa
){
  background:var(--pp-manager-accent)!important;
  color:#fff!important;
  border-color:var(--pp-manager-accent)!important;
}

/* Tabs, collapsibles and selected controls. */
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible,.wcfm-tabWrap .page_collapsible){
  background:var(--pp-manager-panel-2)!important;
  color:var(--pp-manager-ink)!important;
  border-color:var(--pp-manager-border)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible:hover,.page_collapsible.collapse-close,.page_collapsible.active){
  background:var(--pp-manager-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Manager forms + tables. */
body.pp-wcfm-route #wcfm-main-contentainer :where(input:not([type='checkbox']):not([type='radio']),textarea,select){
  background:var(--pp-manager-panel-2)!important;
  color:var(--pp-manager-ink)!important;
  -webkit-text-fill-color:var(--pp-manager-ink)!important;
  border:1px solid var(--pp-manager-border)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(table,thead,tbody,tr,th,td){
  border-color:var(--pp-manager-border)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(table,tbody,tr,td){background:var(--pp-manager-panel)!important}
body.pp-wcfm-route #wcfm-main-contentainer :where(thead,thead tr,thead th){background:var(--pp-manager-panel-2)!important}

/* Buttons and links: Photoprompt rust. */
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_button,.wcfm_submit_button,button:not(.pp-theme-toggle),input[type='submit']){
  background:var(--pp-manager-accent)!important;
  border-color:var(--pp-manager-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer a:not(.wcfm_menu_item):not(.wcfm_menu_item a){
  color:var(--pp-manager-ink)!important;
  text-decoration-color:var(--pp-manager-accent)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer a:hover{color:var(--pp-manager-accent)!important}


@media(max-width:980px){
  body.pp-wcfm-route #wcfm-main-contentainer{width:calc(100vw - 20px)!important;margin-top:18px!important}
}
@media(max-width:760px){
  body.pp-wcfm-route :where(.wcfm_registration_form_wrapper,.wcfm_membership_registration_form_wrapper,.wcfm-membership-wrapper){
    width:calc(100vw - 20px)!important;
    margin:22px auto 72px!important;
    padding:18px 14px 24px!important;
    border-radius:16px!important;
  }
}

/* ========================================================================
   v3.9.4 — registration geometry fix
   WCFM Ultimate nests one or more form panels inside the registration shell.
   Never give nested panels the viewport-sized width/margins of the outer shell.
   ======================================================================== */
body.pp-wcfm-route,
body.pp-wcfm-route *{
  box-sizing:border-box;
}

/* The outer WCFM wrapper owns page width + centering. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
){
  position:relative!important;
  width:min(1180px,calc(100vw - 36px))!important;
  max-width:1180px!important;
  margin:clamp(32px,4.5vw,64px) auto clamp(64px,7vw,108px)!important;
  padding:clamp(28px,3.8vw,48px)!important;
  overflow:hidden!important;
}

/* Every registration panel nested in that shell must stay INSIDE it. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(
  #wcfm_membership_registration_form_expander,
  #wcfm_vendor_registration_form_expander,
  #wcfm_membership_registration_form,
  #wcfm_vendor_registration_form,
  .wcfm_membership_registration_form,
  .wcfm_registration_form,
  .wcfm_membership_registration_form_expander,
  .wcfm_registration_form_expander
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:clamp(24px,3vw,36px) 0 0!important;
  padding:clamp(24px,3vw,34px)!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
  float:none!important;
  clear:both!important;
  border:1px solid var(--pp-wcfm-border)!important;
  border-radius:18px!important;
  background:var(--pp-wcfm-panel-2)!important;
  overflow:hidden!important;
}

/* Do not create another bordered card when WCFM nests forms more deeply. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(
  #wcfm_membership_registration_form_expander,
  #wcfm_vendor_registration_form_expander,
  .wcfm_membership_registration_form,
  .wcfm_registration_form
) :where(
  #wcfm_membership_registration_form,
  #wcfm_vendor_registration_form,
  .wcfm_membership_registration_form,
  .wcfm_registration_form
){
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

/* WCFM's legacy floated label/input geometry is too fragile here. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(.wcfm_ele_wrapper,.wcfm_form_field,.wcfm_form_simple_submit_wrapper){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
  clear:both!important;
}
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(.wcfm_title,label){
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 9px!important;
  float:none!important;
  clear:both!important;
  text-align:left!important;
}
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(
  input:not([type='checkbox']):not([type='radio']):not([type='submit']),
  textarea,
  select,
  .select2-container
){
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
}

/* Generated store URL belongs below the shop-name field, aligned to the input. */
body.pp-wcfm-route :where(
  .wcfm_registration_form_wrapper,
  .wcfm_membership_registration_form_wrapper,
  .wcfm-membership-wrapper
) :where(.wcfm_store_url,.store_address,.wcfm-store-url,.wcfm_store_slug,.wcfm_store_slug_url){
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:8px 0 0!important;
  padding:0!important;
  text-align:left!important;
  color:var(--pp-wcfm-muted)!important;
  -webkit-text-fill-color:var(--pp-wcfm-muted)!important;
  font-size:12px!important;
  line-height:1.45!important;
  overflow-wrap:anywhere!important;
}

/* Empty WCFM notification rails should not leave decorative black bars. */
body.pp-wcfm-route :where(.wcfm-message,.wcfm-error,.wcfm-success,.wcfm-warning):empty{
  display:none!important;
}

@media(max-width:760px){
  body.pp-wcfm-route :where(
    .wcfm_registration_form_wrapper,
    .wcfm_membership_registration_form_wrapper,
    .wcfm-membership-wrapper
  ){
    width:calc(100vw - 20px)!important;
    margin:20px auto 56px!important;
    padding:22px 14px!important;
    border-radius:18px!important;
  }
  body.pp-wcfm-route :where(
    .wcfm_registration_form_wrapper,
    .wcfm_membership_registration_form_wrapper,
    .wcfm-membership-wrapper
  ) :where(
    #wcfm_membership_registration_form_expander,
    #wcfm_vendor_registration_form_expander,
    #wcfm_membership_registration_form,
    #wcfm_vendor_registration_form,
    .wcfm_membership_registration_form,
    .wcfm_registration_form,
    .wcfm_membership_registration_form_expander,
    .wcfm_registration_form_expander
  ){
    margin-top:20px!important;
    padding:20px 14px!important;
    border-radius:14px!important;
  }
}

/* ========================================================================
   v3.9.5 — FULL WCFM DASHBOARD AUDIT
   One coherent Photoprompt UI in light + dark. No WCFM blue/cyan/yellow.
   ======================================================================== */

body.pp-wcfm-route #wcfm-main-contentainer{
  --pp-mgr-bg:#F1ECE5;
  --pp-mgr-surface:#FFFDF8;
  --pp-mgr-surface-2:#E9E2D9;
  --pp-mgr-surface-3:#DED5CA;
  --pp-mgr-text:#121416;
  --pp-mgr-muted:#6E6963;
  --pp-mgr-border:rgba(18,20,22,.14);
  --pp-mgr-accent:#CD542F;
  --pp-mgr-accent-hover:#B94727;
  --pp-mgr-sidebar:#171A1D;
  --pp-mgr-sidebar-2:#202428;
  --pp-mgr-sidebar-text:#F7F3ED;
  --pp-mgr-paper:#F7F2EA;
  --pp-mgr-paper-text:#24211E;
  color-scheme:light;
  border-radius:16px!important;
  overflow:hidden!important;
}
html[data-pp-theme='dark'] body.pp-wcfm-route #wcfm-main-contentainer{
  --pp-mgr-bg:#0D0F10;
  --pp-mgr-surface:#151719;
  --pp-mgr-surface-2:#1D2023;
  --pp-mgr-surface-3:#282C30;
  --pp-mgr-text:#F7F3ED;
  --pp-mgr-muted:#B2ACA4;
  --pp-mgr-border:rgba(247,243,237,.13);
  --pp-mgr-accent:#D45A31;
  --pp-mgr-accent-hover:#E2673D;
  --pp-mgr-sidebar:#111315;
  --pp-mgr-sidebar-2:#1A1D20;
  --pp-mgr-sidebar-text:#F7F3ED;
  --pp-mgr-paper:#F4EFE7;
  --pp-mgr-paper-text:#27231F;
  color-scheme:dark;
}

/* Remove all legacy blue/cyan/yellow accents without recoloring functional text. */
body.pp-wcfm-route #wcfm-main-contentainer{
  background:var(--pp-mgr-bg)!important;
  color:var(--pp-mgr-text)!important;
  font-family:var(--pp-sans,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(h1,h2,h3,h4,h5,h6,.wcfm-page-headig,.wcfm-page-heading){
  font-family:var(--pp-display,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
  letter-spacing:-.035em!important;
}

/* Sidebar is intentionally dark in BOTH themes. Prevent content color rules leaking in. */
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu,#wcfm_menu_items,.wcfm_menu_items){
  background:var(--pp-mgr-sidebar)!important;
  color:var(--pp-mgr-sidebar-text)!important;
  border-color:rgba(247,243,237,.09)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(
  .wcfm_menu_logo,.wcfm_menu_logo h4,.wcfm_menu_logo a,
  .wcfm_menu_item,.wcfm_menu_item a,a,span,b,strong,i,svg
){
  color:var(--pp-mgr-sidebar-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-sidebar-text)!important;
  fill:currentColor!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(.wcfm_menu_item,.wcfm_menu_item a){
  background:transparent!important;
  border-color:rgba(247,243,237,.07)!important;
  font-weight:650!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(.wcfm_menu_item:hover,.wcfm_menu_item a:hover){
  background:var(--pp-mgr-sidebar-2)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(
  .wcfm_menu_item.active,.wcfm_menu_item_here,.wcfm_menu_item.active a,.wcfm_menu_item_here a,.active
){
  background:var(--pp-mgr-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_menu_logo,.wcfm_menu_logo h4,.wcfm_menu_logo a){
  background:#101214!important;
}

/* Header: calm charcoal bar, rust interaction, notification bell removed. */
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_header_panel,.wcfm_header_panel_container,.wcfm-page-headig,.wcfm-page-heading){
  background:#111315!important;
  color:#F7F3ED!important;
  -webkit-text-fill-color:#F7F3ED!important;
  border-color:rgba(247,243,237,.1)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_header_panel :where(a,button,span,i,svg){
  color:#F7F3ED!important;
  -webkit-text-fill-color:#F7F3ED!important;
  fill:currentColor!important;
  border-color:rgba(247,243,237,.18)!important;
  background-color:transparent!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_header_panel :where(a,button):hover{
  color:var(--pp-mgr-accent)!important;
  -webkit-text-fill-color:var(--pp-mgr-accent)!important;
}
body.pp-wcfm-route :where(
  #wcfm_notification,.wcfm_notification,.wcfm_header_panel_notification,
  .wcfm_header_panel a[href*='notification'],.wcfm_header_panel a[href*='notifications'],
  .wcfm_header_panel .fa-bell,.wcfm_header_panel .wcfmfa-bell,
  .wcfm_header_panel [class*='bell'],.wcfm_header_panel [class*='notification']
){display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Main working area. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm-content,.wcfm-collapse,.wcfm-collapse-content,.wcfm-container,.wcfm-tabWrap,
  .wcfm_dashboard_wc_status,.wcfm_dashboard_notification,.wcfm_dashboard_latest_topics,
  .wcfm_dashboard_enquiry,.wcfm_dashboard_reviews,.wcfm_dashboard_stats_block
){
  background:var(--pp-mgr-surface)!important;
  color:var(--pp-mgr-text)!important;
  border-color:var(--pp-mgr-border)!important;
  box-shadow:none!important;
}
/* Critical: only content copy gets content color. Sidebar/header are excluded above. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm-content,.wcfm-collapse-content,.wcfm-container,.wcfm-tabWrap,
  .wcfm_dashboard_wc_status,.wcfm_dashboard_notification,.wcfm_dashboard_latest_topics,
  .wcfm_dashboard_enquiry,.wcfm_dashboard_reviews
) :where(h1,h2,h3,h4,h5,h6,p,li,label,legend,strong,b,small,th,td,address){
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm-content,.wcfm-collapse-content,.wcfm-container,.wcfm-tabWrap
) :where(.description,.wcfm_help_text,.wcfm_dashboard_stats_block_label,.wcfm-info,small){
  color:var(--pp-mgr-muted)!important;
  -webkit-text-fill-color:var(--pp-mgr-muted)!important;
}

/* Welcome / summary card. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_wc_status,.wcfm_dashboard_wc_status_data,.wcfm_dashboard_stats_block,
  .wcfm_dashboard_wc_status_data > div
){
  background:var(--pp-mgr-surface-2)!important;
  color:var(--pp-mgr-text)!important;
  border-color:var(--pp-mgr-border)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_wc_status_data_icon,.wcfm_dashboard_stats_block_icon,
  .wcfm_dashboard_wc_status_data .fa,.wcfm_dashboard_wc_status_data i,.wcfm_dashboard_stats_block .fa
){
  background:var(--pp-mgr-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:var(--pp-mgr-accent)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_wc_status_data strong,.wcfm_dashboard_wc_status_data b,
  .wcfm_dashboard_stats_block strong,.wcfm_dashboard_stats_block b
){
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
}

/* Tabs + collapsibles. */
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible,.wcfm-tabWrap .page_collapsible,.wcfm-tabWrap .page_collapsible_content_holder){
  background:var(--pp-mgr-surface-2)!important;
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
  border-color:var(--pp-mgr-border)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible:hover,.page_collapsible.collapse-close,.page_collapsible.active){
  background:var(--pp-mgr-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Forms — cover native, WCFM, Select2 and chosen fields. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
  textarea,select,.select2-container .select2-selection--single,.select2-container .select2-selection--multiple,
  .chosen-container-single .chosen-single,.chosen-container-multi .chosen-choices
){
  min-height:48px!important;
  padding:11px 14px!important;
  border:1px solid var(--pp-mgr-border)!important;
  border-radius:8px!important;
  background:var(--pp-mgr-surface-2)!important;
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
  box-shadow:none!important;
  outline:0!important;
  font-family:var(--pp-sans,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(textarea){min-height:120px!important;resize:vertical!important}
body.pp-wcfm-route #wcfm-main-contentainer :where(input,textarea)::placeholder{
  color:var(--pp-mgr-muted)!important;
  -webkit-text-fill-color:var(--pp-mgr-muted)!important;
  opacity:.76!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(input,textarea,select):focus{
  border-color:var(--pp-mgr-accent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--pp-mgr-accent) 16%,transparent)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.select2-container .select2-selection__rendered,.select2-selection__placeholder,.chosen-container .chosen-single span){
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
}
body.pp-wcfm-route .select2-dropdown,
body.pp-wcfm-route .chosen-container .chosen-drop{
  background:var(--pp-mgr-surface)!important;
  color:var(--pp-mgr-text)!important;
  border-color:var(--pp-mgr-border)!important;
}
body.pp-wcfm-route :where(.select2-results__option,.chosen-results li){
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
}
body.pp-wcfm-route :where(.select2-results__option--highlighted,.chosen-results li.highlighted){
  background:var(--pp-mgr-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.pp-wcfm-route #wcfm-main-contentainer input[type='checkbox'],
body.pp-wcfm-route #wcfm-main-contentainer input[type='radio']{accent-color:var(--pp-mgr-accent)!important}

/* Buttons — rust primary, charcoal secondary. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_button,.wcfm_submit_button,.add_new_wcfm_ele_dashboard,.wcfm_add_new_product,
  button:not(.pp-theme-toggle),input[type='submit'],input[type='button'],
  .dt-button,.dataTables_wrapper .dt-button
){
  min-height:42px!important;
  padding:0 15px!important;
  border:1px solid var(--pp-mgr-accent)!important;
  border-radius:7px!important;
  background:var(--pp-mgr-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
  font:750 11px/1 var(--pp-sans,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
  letter-spacing:.025em!important;
  text-transform:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_button,.wcfm_submit_button,.add_new_wcfm_ele_dashboard,.wcfm_add_new_product,
  button:not(.pp-theme-toggle),input[type='submit'],input[type='button'],.dt-button
):hover{
  background:var(--pp-mgr-accent-hover)!important;
  border-color:var(--pp-mgr-accent-hover)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content) a:not(.wcfm_button):not(.button){
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
  text-decoration-color:var(--pp-mgr-accent)!important;
  text-underline-offset:3px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content) a:not(.wcfm_button):not(.button):hover{
  color:var(--pp-mgr-accent)!important;
  -webkit-text-fill-color:var(--pp-mgr-accent)!important;
}

/* Status/filter line and DataTables toolbar. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .dataTables_wrapper,.dataTables_length,.dataTables_filter,.dataTables_info,.dataTables_paginate,
  .dt-buttons,.wcfm_filters_wrap,.wcfm_filters_wrap span,.wcfm_filters_wrap a
){
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
  font-family:var(--pp-sans,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_filters_wrap a,.dataTables_wrapper a){
  text-decoration:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_filters_wrap a:hover,.wcfm_filters_wrap a.active){
  color:var(--pp-mgr-accent)!important;
  -webkit-text-fill-color:var(--pp-mgr-accent)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .dataTables_filter input{
  min-width:150px!important;
  background:var(--pp-mgr-surface)!important;
}

/* Tables — no white-on-white / black-on-charcoal combinations. */
body.pp-wcfm-route #wcfm-main-contentainer :where(table,.dataTable){
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:var(--pp-mgr-surface)!important;
  color:var(--pp-mgr-text)!important;
  border:1px solid var(--pp-mgr-border)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(table,.dataTable) :where(th,td){
  padding:13px 14px!important;
  border-color:var(--pp-mgr-border)!important;
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
  background:var(--pp-mgr-surface)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(table,.dataTable) thead :where(tr,th),
body.pp-wcfm-route #wcfm-main-contentainer :where(table,.dataTable) tfoot :where(tr,th,td){
  background:var(--pp-mgr-surface-2)!important;
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
  font-weight:700!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(table,.dataTable) tbody tr:hover td{
  background:color-mix(in srgb,var(--pp-mgr-accent) 7%,var(--pp-mgr-surface))!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.dataTables_empty,.wcfm-empty-data){
  color:var(--pp-mgr-muted)!important;
  -webkit-text-fill-color:var(--pp-mgr-muted)!important;
}

/* Pagination. */
body.pp-wcfm-route #wcfm-main-contentainer .dataTables_paginate :where(.paginate_button,a,span){
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
  border-color:var(--pp-mgr-border)!important;
  background:var(--pp-mgr-surface)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .dataTables_paginate :where(.paginate_button.current,.paginate_button:hover,a:hover){
  background:var(--pp-mgr-accent)!important;
  border-color:var(--pp-mgr-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}


/* WCFM modals / date picker / popups. */
body.pp-wcfm-route :where(.wcfm_popup_wrapper,.wcfm_popup_container,.wcfm_modal,.wcfm-modal-content,.daterangepicker){
  background:var(--pp-mgr-surface)!important;
  color:var(--pp-mgr-text)!important;
  border-color:var(--pp-mgr-border)!important;
  box-shadow:0 24px 80px rgba(0,0,0,.28)!important;
}
body.pp-wcfm-route .daterangepicker :where(.calendar-table,td,th){
  background:var(--pp-mgr-surface)!important;
  color:var(--pp-mgr-text)!important;
  border-color:var(--pp-mgr-border)!important;
}
body.pp-wcfm-route .daterangepicker td.active,
body.pp-wcfm-route .daterangepicker td.active:hover{
  background:var(--pp-mgr-accent)!important;
  color:#fff!important;
}

/* Notices. */
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-message,.wcfm-error,.wcfm-success,.wcfm-warning,.woocommerce-info,.woocommerce-message,.woocommerce-error){
  padding:15px 17px!important;
  border:1px solid var(--pp-mgr-border)!important;
  border-left:4px solid var(--pp-mgr-accent)!important;
  border-radius:8px!important;
  background:var(--pp-mgr-surface-2)!important;
  color:var(--pp-mgr-text)!important;
  -webkit-text-fill-color:var(--pp-mgr-text)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before,
body.pp-wcfm-route #wcfm-main-contentainer :where(.woocommerce-info,.woocommerce-message,.woocommerce-error)::after{
  display:none!important;
  content:none!important;
}

/* Registration field geometry, including generated store URL. */
body.pp-wcfm-route :where(.wcfm_registration_form_wrapper,.wcfm_membership_registration_form_wrapper,.wcfm-membership-wrapper) :where(.wcfm_ele_wrapper,.wcfm_form_field){
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
}
body.pp-wcfm-route :where(.wcfm_registration_form_wrapper,.wcfm_membership_registration_form_wrapper,.wcfm-membership-wrapper) :where(.wcfm_title,label){
  display:block!important;
  width:100%!important;
  margin:0 0 8px!important;
  float:none!important;
  text-align:left!important;
}
body.pp-wcfm-route :where(.wcfm_registration_form_wrapper,.wcfm_membership_registration_form_wrapper,.wcfm-membership-wrapper) :where(
  input:not([type='checkbox']):not([type='radio']):not([type='submit']),textarea,select,.select2-container
){
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  float:none!important;
}
body.pp-wcfm-route :where(.wcfm_registration_form_wrapper,.wcfm_membership_registration_form_wrapper,.wcfm-membership-wrapper) :where(
  .wcfm_store_url,.store_address,.wcfm-store-url,.wcfm_store_slug,.wcfm_store_slug_url
){
  display:block!important;
  width:100%!important;
  margin:8px 0 0!important;
  text-align:left!important;
  color:var(--pp-wcfm-muted)!important;
  -webkit-text-fill-color:var(--pp-wcfm-muted)!important;
  font-size:12px!important;
  overflow-wrap:anywhere!important;
}

/* Mobile/tablet manager: never let sidebars/tables make text disappear. */
@media(max-width:980px){
  body.pp-wcfm-route #wcfm-main-contentainer{
    width:calc(100vw - 18px)!important;
    margin:14px auto 72px!important;
    border-radius:12px!important;
  }
  body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content,.wcfm-container){
    min-width:0!important;
  }
  body.pp-wcfm-route #wcfm-main-contentainer .dataTables_wrapper{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.pp-wcfm-route #wcfm-main-contentainer :where(table,.dataTable){min-width:760px!important}
}
@media(max-width:760px){
  body.pp-wcfm-route #wcfm-main-contentainer :where(.dataTables_filter,.dataTables_length,.dt-buttons){
    float:none!important;
    width:100%!important;
    margin:0 0 10px!important;
    text-align:left!important;
  }
  body.pp-wcfm-route #wcfm-main-contentainer .dataTables_filter input{
    width:100%!important;
    margin:7px 0 0!important;
  }
  body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_button,.wcfm_submit_button,.dt-button){min-height:44px!important}
}

/* Shared manager tokens for dropdowns/modals that WCFM appends directly to <body>. */
body.pp-wcfm-route{
  --pp-mgr-bg:#F1ECE5;
  --pp-mgr-surface:#FFFDF8;
  --pp-mgr-surface-2:#E9E2D9;
  --pp-mgr-surface-3:#DED5CA;
  --pp-mgr-text:#121416;
  --pp-mgr-muted:#6E6963;
  --pp-mgr-border:rgba(18,20,22,.14);
  --pp-mgr-accent:#CD542F;
  --pp-mgr-accent-hover:#B94727;
}
html[data-pp-theme='dark'] body.pp-wcfm-route{
  --pp-mgr-bg:#0D0F10;
  --pp-mgr-surface:#151719;
  --pp-mgr-surface-2:#1D2023;
  --pp-mgr-surface-3:#282C30;
  --pp-mgr-text:#F7F3ED;
  --pp-mgr-muted:#B2ACA4;
  --pp-mgr-border:rgba(247,243,237,.13);
  --pp-mgr-accent:#D45A31;
  --pp-mgr-accent-hover:#E2673D;
}

/* ========================================================================
   v3.12.1 — PHOTOPROMPT WCFM FINAL LAYER
   Consolidated replacement for historical 3.9.9–3.11.3 override patches.
   ======================================================================== */
body.pp-wcfm-route{
  --pp-os-moss:var(--pp-moss,#566052);
  --pp-os-rust:#CD542F;
  --pp-os-bg:#F2EDE6;
  --pp-os-panel:#FFFDF9;
  --pp-os-panel-2:#EEE7DE;
  --pp-os-ink:#111315;
  --pp-os-muted:#6C665F;
  --pp-os-line:rgba(17,19,21,.13);
  --pp-os-sidebar:#111315;
  --pp-os-sidebar-2:#191C1F;
  --pp-os-sidebar-ink:#F7F3ED;
  --pp-os-shadow:0 18px 54px rgba(17,19,21,.07);
}
html[data-pp-theme='dark'] body.pp-wcfm-route{
  --pp-os-bg:#0D0F10;
  --pp-os-panel:#16191B;
  --pp-os-panel-2:#1D2124;
  --pp-os-ink:#F7F3ED;
  --pp-os-muted:#B8B0A7;
  --pp-os-line:rgba(247,243,237,.13);
  --pp-os-sidebar:#101214;
  --pp-os-sidebar-2:#181B1E;
  --pp-os-sidebar-ink:#F7F3ED;
  --pp-os-shadow:0 24px 64px rgba(0,0,0,.28);
}

/* ---------- global manager canvas ---------- */
body.pp-wcfm-route,
body.pp-wcfm-route #wcfm-main-contentainer{
  background:var(--pp-os-bg)!important;
  color:var(--pp-os-ink)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer{
  border-radius:22px!important;
  overflow:hidden!important;
  font-family:var(--pp-sans,'Helvetica Neue',Helvetica,Arial,sans-serif)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(h1,h2,h3,h4,h5,h6,p,span,small,strong,b,label,legend,a,li,td,th){
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

/* ---------- dark sidebar ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu,#wcfm_menu_items,.wcfm_menu_items){
  background:linear-gradient(180deg,var(--pp-os-sidebar),var(--pp-os-sidebar-2))!important;
  color:var(--pp-os-sidebar-ink)!important;
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(a,span,b,strong,i,svg,[class*='fa-']){
  color:var(--pp-os-sidebar-ink)!important;
  -webkit-text-fill-color:var(--pp-os-sidebar-ink)!important;
  fill:currentColor!important;
  opacity:1!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(.wcfm_menu_item,.wcfm_menu_item a){
  border-radius:12px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(.wcfm_menu_item:hover,.wcfm_menu_item a:hover){
  background:rgba(247,243,237,.07)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(#wcfm_menu,.wcfm_menu) :where(.wcfm_menu_item.active,.wcfm_menu_item_here,.wcfm_menu_item.active a,.wcfm_menu_item_here a){
  background:var(--pp-os-moss)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* ---------- top header ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-page-headig,.wcfm-page-heading,.wcfm_header_panel,.wcfm_header_panel_container){
  min-height:64px!important;
  background:linear-gradient(180deg,#15181A,#101214)!important;
  color:#F7F3ED!important;
  -webkit-text-fill-color:#F7F3ED!important;
  border-color:rgba(247,243,237,.10)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-page-headig,.wcfm-page-heading,.wcfm_header_panel,.wcfm_header_panel_container) :where(a,span,strong,b,i,svg,[class*='fa-']){
  color:#F7F3ED!important;
  -webkit-text-fill-color:#F7F3ED!important;
  fill:currentColor!important;
  opacity:1!important;
}

/* ---------- common panel/readability ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm-content,.wcfm-container,.wcfm-collapse-content,.wcfm-tabWrap,
  .wcfm_dashboard_widget,.wcfm_report_box,.wcfm_report_widget,
  .wcfm_vendor_profile,.vendor_profile,.store_profile,.wcfm_profile_box,.wcfm_profile_widget
){
  background:var(--pp-os-panel)!important;
  border-color:var(--pp-os-line)!important;
  color:var(--pp-os-ink)!important;
  -webkit-text-fill-color:var(--pp-os-ink)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm-content,.wcfm-container,.wcfm-collapse-content,.wcfm-tabWrap,
  .wcfm_dashboard_widget,.wcfm_report_box,.wcfm_report_widget,
  .wcfm_vendor_profile,.vendor_profile,.store_profile,.wcfm_profile_box,.wcfm_profile_widget
) :where(h1,h2,h3,h4,h5,h6,p,span,strong,b,label,legend,a,li,td,th,div){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.description,.wcfm_help_text,.wcfm-info,.note,small,.dataTables_info,.dataTables_length label){
  color:var(--pp-os-muted)!important;
  -webkit-text-fill-color:var(--pp-os-muted)!important;
  opacity:1!important;
}

/* Explicit welcome/profile fix: never white-on-white in dark mode. */
body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_welcome,.wcfm_welcome_box,.wcfm_dashboard_profile,
  .wcfm_vendor_profile,.vendor_profile,.wcfm_profile_box,.wcfm_profile_widget
){
  padding:22px!important;
  border:1px solid var(--pp-os-line)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,var(--pp-os-panel),var(--pp-os-panel-2))!important;
  color:var(--pp-os-ink)!important;
  -webkit-text-fill-color:var(--pp-os-ink)!important;
  box-shadow:none!important;
}
html[data-pp-theme='dark'] body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_welcome,.wcfm_welcome_box,.wcfm_dashboard_profile,
  .wcfm_vendor_profile,.vendor_profile,.wcfm_profile_box,.wcfm_profile_widget
){
  background:linear-gradient(135deg,#181B1E,#121416)!important;
  color:#F7F3ED!important;
  -webkit-text-fill-color:#F7F3ED!important;
}
html[data-pp-theme='dark'] body.pp-wcfm-route #wcfm-main-contentainer :where(
  .wcfm_dashboard_welcome,.wcfm_welcome_box,.wcfm_dashboard_profile,
  .wcfm_vendor_profile,.vendor_profile,.wcfm_profile_box,.wcfm_profile_widget
) :where(h1,h2,h3,h4,p,span,strong,b,a,small){
  color:#F7F3ED!important;
  -webkit-text-fill-color:#F7F3ED!important;
  opacity:1!important;
}

/* ---------- summary/revenue cards ---------- */
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data{
  gap:12px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a){
  position:relative!important;
  min-width:0!important;
  min-height:112px!important;
  padding:18px!important;
  overflow:hidden!important;
  border:1px solid var(--pp-os-line)!important;
  border-radius:14px!important;
  background:var(--pp-os-panel)!important;
  color:var(--pp-os-ink)!important;
  -webkit-text-fill-color:var(--pp-os-ink)!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a)::before{
  content:'';position:absolute;inset:0 0 auto 0;height:3px;background:var(--pp-os-rust);
}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a):nth-child(2)::before{background:var(--pp-os-moss)}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a):nth-child(3)::before{background:#948D84}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a):nth-child(4)::before{background:#323833}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a) :where(.fa,i,[class*='icon']){
  background:transparent!important;color:var(--pp-os-moss)!important;border:0!important;box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a) :where(strong,b,.wcfm_dashboard_stats_block_value){
  color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;font-size:clamp(22px,2vw,32px)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data > :where(div,a) :where(small,.wcfm_dashboard_stats_block_label){
  color:var(--pp-os-muted)!important;-webkit-text-fill-color:var(--pp-os-muted)!important;font-size:11px!important;line-height:1.4!important;
}

/* ---------- widget headers / collapsibles ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible,.wcfm-tabWrap .page_collapsible){
  position:relative!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 42px 0 14px!important;
  border:0!important;
  border-bottom:1px solid var(--pp-os-line)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--pp-os-ink)!important;
  -webkit-text-fill-color:var(--pp-os-ink)!important;
  font-style:normal!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible,.wcfm-tabWrap .page_collapsible)::after{
  content:'→';position:absolute;right:14px;top:50%;transform:translateY(-50%);font:700 12px/1 var(--pp-mono);color:var(--pp-os-muted);opacity:.65;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible,.wcfm-tabWrap .page_collapsible) :where(span,b,strong,label,a){
  color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;opacity:1!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible,.wcfm-tabWrap .page_collapsible) :where(i,svg,[class*='fa-']){
  color:var(--pp-os-moss)!important;-webkit-text-fill-color:var(--pp-os-moss)!important;fill:currentColor!important;opacity:1!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.page_collapsible:hover,.page_collapsible.active,.page_collapsible.collapse-close){
  background:color-mix(in srgb,var(--pp-os-panel) 84%,var(--pp-os-moss) 16%)!important;
  box-shadow:inset 3px 0 0 var(--pp-os-moss)!important;
}

/* ---------- charts / reports ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_dashboard_chart,.wcfm_dashboard_charts,.chart-container,.wcfm_chart_box,.wcfm-chart-box){
  padding:18px!important;border:1px solid var(--pp-os-line)!important;border-radius:16px!important;background:var(--pp-os-panel)!important;box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_reports_filter,.wcfm_reports_filter_wrap,.wcfm_report_filter,.report_filter,.reports_filter,.wcfm_filters_wrap){
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px!important;border:1px solid var(--pp-os-line)!important;border-radius:14px!important;background:var(--pp-os-panel)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_reports_filter,.wcfm_reports_filter_wrap,.wcfm_report_filter,.report_filter,.reports_filter,.wcfm_filters_wrap) a{
  min-height:38px!important;padding:0 13px!important;display:inline-flex!important;align-items:center!important;border:1px solid var(--pp-os-line)!important;border-radius:999px!important;background:var(--pp-os-panel-2)!important;color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;font:800 10px/1 var(--pp-mono)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_reports_filter,.wcfm_reports_filter_wrap,.wcfm_report_filter,.report_filter,.reports_filter,.wcfm_filters_wrap) a:is(:hover,.active,.selected){
  background:var(--pp-os-moss)!important;border-color:var(--pp-os-moss)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}

/* ---------- settings rail + content ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_settings_form,.wcfm_vendor_settings,.wcfm_store_settings,.wcfm_settings_wrapper){
  display:grid!important;grid-template-columns:minmax(230px,290px) minmax(0,1fr)!important;gap:22px!important;align-items:start!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_settings_form,.wcfm_vendor_settings,.wcfm_store_settings,.wcfm_settings_wrapper) > .wcfm-tabWrap{
  padding:10px!important;border:1px solid var(--pp-os-line)!important;border-radius:14px!important;background:var(--pp-os-panel)!important;box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_settings_form,.wcfm_vendor_settings,.wcfm_store_settings,.wcfm_settings_wrapper) :where(.wcfm-content,.wcfm-collapse-content){
  padding:30px 32px!important;border:1px solid var(--pp-os-line)!important;border-radius:14px!important;background:var(--pp-os-panel)!important;box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content) :where(.wcfm_title,label,legend){
  margin:0 0 8px!important;color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;font:700 13px/1.35 var(--pp-sans)!important;font-style:normal!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content) :where(input:not([type='checkbox']):not([type='radio']):not([type='submit']),select,textarea,.select2-selection){
  width:min(100%,760px)!important;min-height:48px!important;padding:10px 12px!important;border:1px solid var(--pp-os-line)!important;border-radius:10px!important;background:var(--pp-os-panel)!important;color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content) textarea{min-height:130px!important}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content) :where(input,select,textarea,.select2-selection):focus{
  outline:none!important;border-color:var(--pp-os-moss)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--pp-os-moss) 15%,transparent)!important;
}

/* ---------- checkboxes ---------- */
body.pp-wcfm-route #wcfm-main-contentainer input[type='checkbox']{
  -webkit-appearance:none!important;appearance:none!important;width:20px!important;height:20px!important;min-width:20px!important;margin:0 10px 0 0!important;display:inline-grid!important;place-items:center!important;border:1px solid var(--pp-os-line)!important;border-radius:6px!important;background:var(--pp-os-panel-2)!important;box-shadow:none!important;vertical-align:middle!important;
}
body.pp-wcfm-route #wcfm-main-contentainer input[type='checkbox']::after{content:'✓';font:800 12px/1 var(--pp-sans);color:#fff;transform:scale(0);transition:transform .12s ease}
body.pp-wcfm-route #wcfm-main-contentainer input[type='checkbox']:checked{background:var(--pp-os-moss)!important;border-color:var(--pp-os-moss)!important}
body.pp-wcfm-route #wcfm-main-contentainer input[type='checkbox']:checked::after{transform:scale(1)}
body.pp-wcfm-route #wcfm-main-contentainer input[type='radio']{accent-color:var(--pp-os-moss)!important}

/* ---------- buttons ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_button,.wcfm_submit_button,.button,.dt-button,input[type='submit']){
  min-height:42px!important;padding:0 15px!important;border:1px solid var(--pp-os-rust)!important;border-radius:10px!important;background:var(--pp-os-rust)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:800 10px/1 var(--pp-mono)!important;letter-spacing:.05em!important;text-transform:uppercase!important;box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_button,.wcfm_submit_button,.button,.dt-button,input[type='submit']):hover{
  background:#B94727!important;border-color:#B94727!important;transform:translateY(-1px)!important;
}

/* ---------- tables/products/orders/payouts ---------- */
body.pp-wcfm-route #wcfm-main-contentainer :where(table.dataTable,table.wcfm-table,table.shop_table){
  width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--pp-os-line)!important;border-radius:12px!important;overflow:hidden!important;background:var(--pp-os-panel)!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(table.dataTable,table.wcfm-table,table.shop_table) thead th{
  padding:14px 16px!important;background:var(--pp-os-panel-2)!important;color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;font:800 10px/1.25 var(--pp-mono)!important;letter-spacing:.05em!important;text-transform:uppercase!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(table.dataTable,table.wcfm-table,table.shop_table) tbody td{
  padding:14px 16px!important;border-top:1px solid var(--pp-os-line)!important;background:transparent!important;color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;vertical-align:middle!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-action-icon,.wcfm_action_icon,.wcfm_actions a,.wcfm-actions a,.dataTable td:last-child a.text_tip,.dataTable td:last-child a[class*='action']){
  width:36px!important;height:36px!important;display:inline-grid!important;place-items:center!important;margin:2px 3px!important;border:1px solid var(--pp-os-line)!important;border-radius:9px!important;background:var(--pp-os-panel-2)!important;color:var(--pp-os-ink)!important;-webkit-text-fill-color:var(--pp-os-ink)!important;box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-action-icon,.wcfm_action_icon,.wcfm_actions a,.wcfm-actions a,.dataTable td:last-child a.text_tip,.dataTable td:last-child a[class*='action']):hover{
  background:var(--pp-os-moss)!important;border-color:var(--pp-os-moss)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(a[href*='delete'],a[class*='delete'],.delete,.wcfm-delete-action,.wcfm_delete_action):hover{
  background:var(--pp-os-rust)!important;border-color:var(--pp-os-rust)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.pp-wcfm-route #wcfm-main-contentainer :where(.dataTable,.wcfm-table,table) td:last-child{min-width:96px!important;white-space:nowrap!important}

/* ---------- responsive ---------- */
@media(max-width:1180px){
  body.pp-wcfm-route #wcfm-main-contentainer .pp-wcfm-dashboard-zone{grid-template-columns:1fr!important}
  body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm_settings_form,.wcfm_vendor_settings,.wcfm_store_settings,.wcfm_settings_wrapper){grid-template-columns:1fr!important}
}
@media(max-width:760px){
  body.pp-wcfm-route #wcfm-main-contentainer{border-radius:12px!important}
  body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content){padding:20px 16px!important}
  body.pp-wcfm-route #wcfm-main-contentainer .wcfm_dashboard_wc_status_data{grid-template-columns:1fr!important}
  body.pp-wcfm-route #wcfm-main-contentainer :where(.wcfm-content,.wcfm-collapse-content) :where(input:not([type='checkbox']):not([type='radio']):not([type='submit']),select,textarea,.select2-selection){width:100%!important}
}

/* ========================================================================
   3.12.4 — WCFM DASHBOARD STRUCTURE FINAL
   Uses logical WCFM widget pairs; never styles script/style nodes as cards.
   ======================================================================== */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page{
  --pp-dash-rust:#CD542F;
  --pp-dash-moss:#566052;
  --pp-dash-sand:#BBAA98;
  --pp-dash-taupe:#8B837A;
  --pp-dash-panel:var(--pp-os-panel);
  --pp-dash-panel-2:var(--pp-os-panel-2);
  --pp-dash-ink:var(--pp-os-ink);
  --pp-dash-muted:var(--pp-os-muted);
  --pp-dash-line:var(--pp-os-line);
}

/* Inline WCFM chart scripts must never become visible content. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page :where(script,style,noscript,.pp-wcfm-script-node){
  display:none!important;
  visibility:hidden!important;
}

/* Main lower dashboard zone: stable insight rail + main widget area. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status.pp-wcfm-dashboard-zone{
  display:grid!important;
  grid-template-columns:minmax(290px,340px) minmax(0,1fr)!important;
  gap:20px!important;
  align-items:start!important;
  width:100%!important;
  margin-top:22px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_data,
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_graph{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_data{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  align-content:start!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_graph{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:start!important;
}

/* A logical WCFM widget = header + container, wrapped by our JS. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget{
  --pp-widget-tone:var(--pp-dash-moss);
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  float:none!important;
  overflow:hidden!important;
  border:1px solid var(--pp-dash-line)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,var(--pp-dash-panel),var(--pp-dash-panel-2))!important;
  color:var(--pp-dash-ink)!important;
  -webkit-text-fill-color:var(--pp-dash-ink)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:var(--pp-widget-tone);
  z-index:3;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget[data-pp-tone='rust']{--pp-widget-tone:var(--pp-dash-rust)}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget[data-pp-tone='moss']{--pp-widget-tone:var(--pp-dash-moss)}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget[data-pp-tone='sand']{--pp-widget-tone:var(--pp-dash-sand)}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget[data-pp-tone='taupe']{--pp-widget-tone:var(--pp-dash-taupe)}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_graph > .pp-wcfm-widget--wide{
  grid-column:1/-1!important;
  min-height:350px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats > .pp-wcfm-widget{
  min-height:0!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_graph > .pp-wcfm-widget:not(.pp-wcfm-widget--wide){
  min-height:245px!important;
}

/* Widget header is always horizontal and readable. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget > :where(.page_collapsible,.dashboard_widget_head,.wcfm_dashboard_item_title),
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget :where(.page_collapsible,.dashboard_widget_head,.wcfm_dashboard_item_title){
  min-height:50px!important;
  padding:0 42px 0 16px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  border:0!important;
  border-bottom:1px solid var(--pp-dash-line)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--pp-dash-ink)!important;
  -webkit-text-fill-color:var(--pp-dash-ink)!important;
  font:800 13px/1.2 var(--pp-sans)!important;
  letter-spacing:-.01em!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget :where(.page_collapsible,.dashboard_widget_head,.wcfm_dashboard_item_title) :where(i,svg,[class*='fa-']){
  flex:0 0 auto!important;
  color:var(--pp-widget-tone)!important;
  -webkit-text-fill-color:var(--pp-widget-tone)!important;
  fill:currentColor!important;
  opacity:1!important;
}

/* Inner WCFM container/content becomes one clean card body. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget > .wcfm-container,
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget :where(.wcfm-container,.wcfm-content,.wcfm-collapse-content,.wcfm_dashboard_widget){
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  float:none!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--pp-dash-ink)!important;
  -webkit-text-fill-color:var(--pp-dash-ink)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget :where(.wcfm-content,.wcfm-collapse-content){
  padding:18px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget :where(h1,h2,h3,h4,h5,h6,p,span,small,strong,b,a,label,li,td,th,div){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget :where(small,.description,.wcfm_help_text,.wcfm-info){
  color:var(--pp-dash-muted)!important;
  -webkit-text-fill-color:var(--pp-dash-muted)!important;
}

/* Empty states and lists. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .pp-wcfm-widget :where(.wcfm_dashboard_enquiry,.wcfm_dashboard_notification,.wcfm_dashboard_reviews,.wcfm_dashboard_latest_topics){
  min-height:150px!important;
  padding:20px!important;
  display:flex!important;
  align-items:center!important;
  color:var(--pp-dash-muted)!important;
  -webkit-text-fill-color:var(--pp-dash-muted)!important;
  font-size:14px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats .pp-wcfm-widget :where(ul,.wcfm_dashboard_stats,.wcfm_dashboard_stats_list){
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  margin:0!important;
  padding:14px!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats .pp-wcfm-widget :where(li,.wcfm_dashboard_stats>div,.wcfm_dashboard_stats_list>div){
  min-width:0!important;
  padding:11px 12px!important;
  border:1px solid var(--pp-dash-line)!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--pp-dash-panel) 86%,var(--pp-widget-tone) 14%)!important;
}

/* Charts: no forced cream canvas in dark mode. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page :where(.wcfm_dashboard_chart,.wcfm_dashboard_charts,.chart-container,.wcfm_chart_box,.wcfm-chart-box){
  min-height:280px!important;
  padding:16px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page canvas{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  background:transparent!important;
}

/* Responsive dashboard composition. */
@media(max-width:1180px){
  body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status.pp-wcfm-dashboard-zone{
    grid-template-columns:1fr!important;
  }
  body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:860px){
  body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats,
  body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_graph{
    grid-template-columns:1fr!important;
  }
  body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_wc_status_graph > .pp-wcfm-widget--wide{
    grid-column:auto!important;
  }
}


/* Compact KPI rows inside insight widgets: value and label stay aligned. */
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats .pp-wcfm-widget li{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats .pp-wcfm-widget li :where(a,span,strong,b,small){
  min-width:0!important;
}
body.pp-wcfm-route #wcfm-main-contentainer.pp-wcfm-dashboard-page .wcfm_dashboard_more_stats .pp-wcfm-widget li :where(strong,b,.count,.value,.number){
  justify-self:end!important;
  color:var(--pp-dash-ink)!important;
  -webkit-text-fill-color:var(--pp-dash-ink)!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
