/* Consolidated runtime repairs — 3.21.0 */
body .mkc-account-shell{width:100%;max-width:1280px;margin:0 auto;grid-template-columns:230px minmax(0,1fr)!important}
body .mkc-account-main{min-width:0;width:100%;padding:32px clamp(20px,3vw,42px) 56px!important}
body .mkc-account-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%;gap:16px}
body .mkc-account-card{width:100%;min-width:0}
body .mkc-account-table-wrap{width:100%;overflow-x:auto}
body .mkc-account-card table{width:100%;table-layout:auto;min-width:720px}
body .mkc-account-properties{width:100%}
body .mkc-account-welcome{display:flex!important;justify-content:space-between;gap:24px;width:100%}
body .mkc-form textarea[name="address"]{min-height:48px;height:48px;resize:vertical}
body .mkc-project form{margin-top:18px}
body .mkc-project summary{padding:8px 4px}
body .mkc-legacy-account-page .site-main,
body .mkc-legacy-account-page main{max-width:1180px;margin:0 auto;padding:32px 20px}
body .woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--mkc-border);border-radius:12px;padding:16px}
body .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
body .woocommerce-MyAccount-navigation a{display:block;padding:11px 12px;border-radius:8px;text-decoration:none;font-weight:700}
body .woocommerce-MyAccount-navigation .is-active a{background:#e8f1ef;color:#00382f}
body .woocommerce-MyAccount-content{background:#fff;border:1px solid var(--mkc-border);border-radius:12px;padding:24px;min-height:320px}
.mkc-shop-category-strip{display:grid;grid-template-columns:repeat(8,minmax(110px,1fr));gap:12px;margin:0 0 26px;overflow-x:auto;padding-bottom:6px}
.mkc-shop-category-strip a{display:grid;grid-template-rows:90px auto;background:#fff;border:1px solid var(--mkc-border);border-radius:12px;overflow:hidden;text-decoration:none;color:#18324b;font-weight:800;text-align:center;min-width:120px}
.mkc-shop-category-strip img{width:100%;height:90px;object-fit:cover}
.mkc-shop-category-strip span{padding:10px 8px}
.mkc-shop-empty{max-width:880px;margin:24px auto}
.mkc-password-field{position:relative}.mkc-password-toggle{position:absolute;right:10px;bottom:10px;background:transparent!important;color:#00382f!important;padding:6px!important;min-height:0!important}
@media(max-width:1020px){body .mkc-account-shell{grid-template-columns:190px minmax(0,1fr)!important}.mkc-shop-category-strip{grid-template-columns:repeat(4,minmax(130px,1fr))}}
@media(max-width:760px){body .mkc-account-shell{display:block!important}body .mkc-account-stats{grid-template-columns:1fr!important}body .mkc-account-card table{min-width:0}.mkc-shop-category-strip{grid-template-columns:repeat(2,minmax(130px,1fr))}}


/* 3.24.0 — full-width customer portal shell on every account path */
body.mkc-portal-page,
body.mkc-customer-account-page{overflow-x:hidden}
body.mkc-portal-page .wp-site-blocks,
body.mkc-portal-page .site,
body.mkc-portal-page .site-content,
body.mkc-portal-page .content-area,
body.mkc-portal-page .site-main,
body.mkc-portal-page article,
body.mkc-portal-page .entry-content,
body.mkc-portal-page .wp-block-post-content,
body.mkc-customer-account-page .wp-site-blocks,
body.mkc-customer-account-page .site,
body.mkc-customer-account-page .site-content,
body.mkc-customer-account-page .content-area,
body.mkc-customer-account-page .site-main,
body.mkc-customer-account-page article,
body.mkc-customer-account-page .entry-content,
body.mkc-customer-account-page .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  display:block!important;
  grid-template-columns:none!important;
}
body.mkc-portal-page .entry-content>*:not(.mkc-account-dashboard),
body.mkc-customer-account-page .entry-content>*:not(.mkc-account-dashboard){max-width:none}
body.mkc-portal-page .mkc-account-dashboard,
body.mkc-customer-account-page .mkc-account-dashboard{
  display:block!important;
  width:100vw!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  box-sizing:border-box!important;
  clear:both!important;
}
body.mkc-portal-page .mkc-account-topbar,
body.mkc-customer-account-page .mkc-account-topbar{width:100%!important;max-width:none!important}
body.mkc-portal-page .mkc-account-shell,
body.mkc-customer-account-page .mkc-account-shell{
  display:grid!important;
  grid-template-columns:238px minmax(0,1fr)!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
body.mkc-portal-page .mkc-account-sidebar,
body.mkc-customer-account-page .mkc-account-sidebar{width:auto!important;min-width:0!important;box-sizing:border-box!important}
body.mkc-portal-page .mkc-account-main,
body.mkc-customer-account-page .mkc-account-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body.mkc-portal-page .mkc-account-welcome,
body.mkc-portal-page .mkc-account-stats,
body.mkc-portal-page .mkc-account-card,
body.mkc-portal-page .mkc-account-properties,
body.mkc-customer-account-page .mkc-account-welcome,
body.mkc-customer-account-page .mkc-account-stats,
body.mkc-customer-account-page .mkc-account-card,
body.mkc-customer-account-page .mkc-account-properties{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.mkc-portal-page .mkc-account-card,
body.mkc-customer-account-page .mkc-account-card{display:block!important}
body.mkc-portal-page .mkc-account-table-wrap,
body.mkc-customer-account-page .mkc-account-table-wrap{display:block!important;width:100%!important;max-width:100%!important}
body.mkc-portal-page .mkc-account-card table,
body.mkc-customer-account-page .mkc-account-card table{width:100%!important}
body.mkc-portal-page footer,
body.mkc-customer-account-page footer{clear:both;width:100%!important;max-width:none!important}
@media(max-width:1020px){
 body.mkc-portal-page .mkc-account-shell,
 body.mkc-customer-account-page .mkc-account-shell{grid-template-columns:190px minmax(0,1fr)!important}
}
@media(max-width:760px){
 body.mkc-portal-page .mkc-account-dashboard,
 body.mkc-customer-account-page .mkc-account-dashboard{width:100%!important;margin-left:0!important;margin-right:0!important}
 body.mkc-portal-page .mkc-account-shell,
 body.mkc-customer-account-page .mkc-account-shell{display:block!important}
 body.mkc-portal-page .mkc-account-main,
 body.mkc-customer-account-page .mkc-account-main{padding:22px 16px 40px!important}
}


/* 3.25.0 — internal customer portal layout rebuild on every role and section */
.myketchum-customer-portal .mkc-account-dashboard,
.entry-content .mkc-account-dashboard,
.wp-block-post-content .mkc-account-dashboard,
main .mkc-account-dashboard,
.mkc-account-dashboard{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  font-size:16px!important;
}
.mkc-account-dashboard *,
.mkc-account-dashboard *::before,
.mkc-account-dashboard *::after{box-sizing:border-box!important}
.mkc-account-dashboard>.mkc-account-topbar{display:none!important}
.mkc-account-dashboard>.mkc-account-shell,
.mkc-account-shell{
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  float:none!important;
  box-sizing:border-box!important;
}
.mkc-account-shell>.mkc-account-sidebar,
.mkc-account-sidebar{
  display:block!important;
  width:240px!important;
  max-width:240px!important;
  min-width:0!important;
  margin:0!important;
  padding:24px 16px!important;
  float:none!important;
  position:relative!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.mkc-account-shell>.mkc-account-main,
.mkc-account-main{
  display:block!important;
  grid-column:2!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:32px clamp(20px,3vw,44px) 56px!important;
  float:none!important;
  position:relative!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.mkc-account-main>*{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
  box-sizing:border-box!important;
}
.mkc-account-welcome{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
}
.mkc-account-stats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
.mkc-account-stats>article{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
}
.mkc-account-card,
.mkc-account-properties{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  overflow:hidden!important;
}
.mkc-account-card-head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:16px!important;
  width:100%!important;
}
.mkc-account-table-wrap{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
}
.mkc-account-table-wrap table,
.mkc-account-card table{
  display:table!important;
  width:100%!important;
  max-width:none!important;
  min-width:720px!important;
  table-layout:auto!important;
  border-collapse:collapse!important;
}
.mkc-account-card thead{display:table-header-group!important}
.mkc-account-card tbody{display:table-row-group!important}
.mkc-account-card tr{display:table-row!important;width:auto!important;padding:0!important;margin:0!important}
.mkc-account-card th,
.mkc-account-card td{
  display:table-cell!important;
  width:auto!important;
  min-width:0!important;
  position:static!important;
  padding:15px 22px!important;
  border-bottom:1px solid #edf1ef!important;
  vertical-align:top!important;
}
.mkc-account-card td::before{content:none!important;display:none!important}
.mkc-account-properties article,
.mkc-account-properties>article{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.mkc-account-sidebar nav,
.mkc-account-sidebar nav a{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
@media (max-width:1020px){
  .mkc-account-dashboard>.mkc-account-shell,
  .mkc-account-shell{grid-template-columns:190px minmax(0,1fr)!important}
  .mkc-account-shell>.mkc-account-sidebar,
  .mkc-account-sidebar{width:190px!important;max-width:190px!important;padding:20px 12px!important}
  .mkc-account-stats{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  .mkc-account-dashboard>.mkc-account-shell,
  .mkc-account-shell{display:block!important;width:100%!important}
  .mkc-account-shell>.mkc-account-sidebar,
  .mkc-account-sidebar{
    width:100%!important;
    max-width:none!important;
    padding:10px 12px!important;
    overflow-x:auto!important;
  }
  .mkc-account-sidebar nav{display:flex!important;width:max-content!important;min-width:100%!important;gap:6px!important}
  .mkc-account-sidebar nav a{width:auto!important;white-space:nowrap!important}
  .mkc-account-shell>.mkc-account-main,
  .mkc-account-main{grid-column:auto!important;padding:22px 16px 40px!important}
  .mkc-account-welcome{flex-direction:column!important;align-items:flex-start!important}
  .mkc-account-stats{grid-template-columns:1fr!important}
  .mkc-account-card table{display:block!important;min-width:0!important}
  .mkc-account-card thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  .mkc-account-card tbody,.mkc-account-card tr,.mkc-account-card td{display:block!important;width:100%!important}
  .mkc-account-card tr{padding:12px 16px!important}
  .mkc-account-card td{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:12px!important;padding:7px 0!important;border:0!important}
  .mkc-account-card td::before{content:attr(data-label)!important;display:block!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase!important;color:#60766f!important}
  .mkc-account-card td[colspan]{display:block!important}
  .mkc-account-card td[colspan]::before{content:none!important;display:none!important}
}
