.mimamenu-theme-customizer-page{
  max-width:1360px
}
.mmtc-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:18px 0 20px;
  padding:26px 28px;
  border:1px solid #e6edf5;
  border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#f8fbff 48%,#eef7ff 100%);
  box-shadow:0 18px 45px rgba(15,23,42,.07)
}
.mmtc-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:800
}
.mmtc-hero h1{
  margin:0 0 7px;
  font-size:30px;
  line-height:1.15;
  color:#0f172a;
  font-weight:900;
  letter-spacing:-.03em
}
.mmtc-hero p{
  margin:0;
  max-width:800px;
  color:#64748b;
  font-size:14px;
  line-height:1.7
}
.mmtc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 16px;
  border:1px solid transparent;
  border-radius:13px;
  text-decoration:none!important;
  font-size:13px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease,color .16s ease
}
.mmtc-btn:hover,
.mmtc-btn:focus{
  transform:translateY(-1px);
  text-decoration:none!important;
  outline:none
}
.mmtc-btn-primary{
  color:#fff!important;
  background:linear-gradient(135deg,#2563eb,#4f46e5);
  border-color:#2f54e8;
  box-shadow:0 12px 28px rgba(37,99,235,.25)
}
.mmtc-btn-primary:hover,
.mmtc-btn-primary:focus{
  color:#fff!important;
  box-shadow:0 16px 34px rgba(37,99,235,.32)
}
.mmtc-btn-secondary{
  color:#1d4ed8!important;
  background:#eff6ff;
  border-color:#bfdbfe;
  box-shadow:0 8px 20px rgba(37,99,235,.1)
}
.mmtc-btn-secondary:hover,
.mmtc-btn-secondary:focus{
  background:#dbeafe;
  color:#1e40af!important
}
.mmtc-btn-ghost{
  color:#64748b!important;
  background:#fff;
  border-color:#e2e8f0;
  box-shadow:0 8px 20px rgba(15,23,42,.06)
}
.mmtc-btn-ghost:hover,
.mmtc-btn-ghost:focus{
  color:#0f172a!important;
  border-color:#cbd5e1;
  background:#f8fafc
}
.mmtc-btn-small{
  min-height:34px;
  padding:0 12px;
  border-radius:11px;
  font-size:12px
}
.mmtc-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 440px;
  gap:22px;
  align-items:start
}
.mmtc-panel,
.mmtc-preview-card{
  background:#fff;
  border:1px solid #e5edf5;
  border-radius:24px;
  box-shadow:0 16px 42px rgba(15,23,42,.075);
  overflow:hidden
}
.mmtc-panel{
  padding:22px
}
.mmtc-section-head,
.mmtc-color-head,
.mmtc-layout-head,
.mmtc-card-head,
.mmtc-category-head,
.mmtc-top-controls-head,
.mmtc-badge-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px
}
.mmtc-section-head h2,
.mmtc-color-head h2,
.mmtc-layout-head h2,
.mmtc-card-head h2,
.mmtc-category-head h2,
.mmtc-top-controls-head h2,
.mmtc-badge-head h2{
  margin:0 0 6px;
  font-size:22px;
  color:#0f172a;
  letter-spacing:-.02em
}
.mmtc-section-head p,
.mmtc-color-head p,
.mmtc-layout-head p,
.mmtc-card-head p,
.mmtc-category-head p,
.mmtc-top-controls-head p,
.mmtc-badge-head p{
  margin:0;
  max-width:760px;
  color:#64748b;
  line-height:1.6
}
.mmtc-save-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  flex-shrink:0
}
.mmtc-save-state{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:4px 11px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-size:12px;
  font-weight:900
}
.mmtc-save-state.is-unsaved{
  background:#fff7ed;
  color:#c2410c
}
.mmtc-presets{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px
}
.mmtc-preset-card{
  display:block;
  position:relative;
  border:1px solid #e5edf5;
  border-radius:18px;
  background:#fff;
  padding:16px;
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
.mmtc-preset-card:hover{
  transform:translateY(-2px);
  border-color:#cbd5e1;
  box-shadow:0 16px 35px rgba(15,23,42,.08)
}
.mmtc-preset-card.is-active{
  border-color:#2563eb;
  box-shadow:0 20px 45px rgba(37,99,235,.15)
}
.mmtc-preset-card input{
  position:absolute;
  opacity:0;
  pointer-events:none
}
.mmtc-preset-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px
}
.mmtc-preset-top strong{
  color:#0f172a;
  font-size:15px
}
.mmtc-preset-top span{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  background:#f1f5f9;
  color:#64748b;
  font-size:11px;
  font-weight:900
}
.mmtc-preset-card.is-active .mmtc-preset-top span{
  background:#dbeafe;
  color:#1d4ed8
}
.mmtc-preset-desc{
  display:block;
  color:#64748b;
  font-size:13px;
  line-height:1.55;
  min-height:40px
}
.mmtc-swatches{
  display:flex;
  gap:7px;
  margin-top:14px
}
.mmtc-swatches i{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  box-shadow:0 5px 12px rgba(15,23,42,.08)
}
.mmtc-color-section,
.mmtc-layout-settings-section,
.mmtc-card-style-section,
.mmtc-category-style-section,
.mmtc-top-controls-section,
.mmtc-badge-style-section{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid #edf2f7
}
.mmtc-color-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:12px;
  align-items:start
}
.mmtc-color-field{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:76px;
  padding:13px;
  border:1px solid #e5edf5;
  border-radius:16px;
  background:#f8fafc
}
.mmtc-color-meta{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px
}
.mmtc-color-label{
  display:block!important;
  color:#0f172a;
  font-size:13px;
  font-weight:900;
  line-height:1.25
}
.mmtc-color-field code{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:3px 7px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e5edf5;
  color:#64748b;
  font-size:11px
}
.mmtc-color-field .wp-picker-container{
  flex:0 0 auto;
  position:relative
}
.mmtc-color-field .wp-color-result.button{
  width:48px;
  height:48px;
  min-height:48px;
  margin:0;
  padding:0;
  border:1px solid #dbe4ee;
  border-radius:16px;
  background-image:none;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  overflow:hidden
}
.mmtc-color-field .wp-color-result-text{
  display:none
}
.mmtc-color-field .wp-picker-container.wp-picker-active{
  display:block;
  margin-top:10px;
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 16px 36px rgba(15,23,42,.1)
}
.mmtc-color-field .wp-picker-container.wp-picker-active .wp-color-result.button{
  margin-bottom:8px
}
.mmtc-color-field .wp-picker-input-wrap{
  display:flex!important;
  align-items:center;
  gap:8px;
  margin:0 0 10px
}
.mmtc-color-field .wp-picker-input-wrap label{
  margin:0
}
.mmtc-color-field .wp-picker-input-wrap .wp-color-picker{
  width:105px!important;
  min-height:34px;
  border-color:#dbe4ee;
  border-radius:10px
}
.mmtc-color-field .wp-picker-input-wrap .wp-picker-clear{
  display:none!important
}
.mmtc-color-field .wp-picker-holder{
  position:relative;
  z-index:20
}
.mmtc-color-field .iris-picker{
  max-width:100%;
  border:1px solid #dbe4ee;
  border-radius:16px;
  box-shadow:none
}
.mmtc-mini-note{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-size:12px;
  font-weight:900;
  white-space:nowrap
}
.mmtc-layout-controls,
.mmtc-card-controls,
.mmtc-category-controls,
.mmtc-top-controls{
  display:grid;
  gap:14px
}
.mmtc-layout-group,
.mmtc-card-group,
.mmtc-category-group,
.mmtc-top-control-group{
  margin:0;
  padding:14px;
  border:1px solid #e5edf5;
  border-radius:18px;
  background:#f8fafc
}
.mmtc-layout-group legend,
.mmtc-card-group legend,
.mmtc-category-group legend,
.mmtc-top-control-group legend{
  padding:0 7px;
  color:#0f172a;
  font-size:14px;
  font-weight:900
}
.mmtc-layout-choice-grid,
.mmtc-card-choice-grid,
.mmtc-category-choice-grid,
.mmtc-top-control-choice-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px
}
.mmtc-layout-choice,
.mmtc-card-choice,
.mmtc-category-choice,
.mmtc-top-control-choice{
  position:relative;
  display:block;
  padding:13px 14px;
  border:1px solid #e1eaf4;
  border-radius:15px;
  background:#fff;
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
.mmtc-layout-choice:hover,
.mmtc-card-choice:hover,
.mmtc-category-choice:hover,
.mmtc-top-control-choice:hover{
  transform:translateY(-1px);
  border-color:#cbd5e1;
  box-shadow:0 10px 24px rgba(15,23,42,.07)
}
.mmtc-layout-choice.is-selected,
.mmtc-card-choice.is-selected,
.mmtc-category-choice.is-selected,
.mmtc-top-control-choice.is-selected{
  border-color:#2563eb;
  background:#eff6ff;
  box-shadow:0 12px 30px rgba(37,99,235,.13)
}
.mmtc-layout-choice input,
.mmtc-card-choice input,
.mmtc-category-choice input,
.mmtc-top-control-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none
}
.mmtc-layout-choice strong,
.mmtc-card-choice strong,
.mmtc-category-choice strong,
.mmtc-top-control-choice strong{
  display:block;
  margin-bottom:4px;
  color:#0f172a;
  font-size:13px;
  font-weight:900
}
.mmtc-layout-choice em,
.mmtc-card-choice em,
.mmtc-category-choice em,
.mmtc-top-control-choice em{
  display:block;
  color:#64748b;
  font-size:12px;
  line-height:1.45;
  font-style:normal
}
.mmtc-layout-choice.is-selected strong,
.mmtc-card-choice.is-selected strong,
.mmtc-category-choice.is-selected strong,
.mmtc-top-control-choice.is-selected strong{
  color:#1d4ed8
}
.mmtc-preview-card{
  position:sticky;
  top:46px
}
.mmtc-preview-head,
.mmtc-preview-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-bottom:1px solid #edf2f7
}
.mmtc-preview-head strong,
.mmtc-preview-modal-head strong{
  display:block;
  color:#0f172a
}
.mmtc-preview-head span,
.mmtc-preview-modal-head span{
  display:block;
  color:#64748b;
  font-size:12px;
  margin-top:2px
}
.mmtc-preview-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end
}
.mmtc-device-tabs{
  display:flex;
  gap:8px;
  padding:12px 16px;
  border-bottom:1px solid #edf2f7;
  background:#f8fafc
}
.mmtc-device-tabs button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  border:1px solid #dbe4ee;
  border-radius:999px;
  background:#fff;
  color:#64748b;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease
}
.mmtc-device-tabs button:hover,
.mmtc-device-tabs button.is-active{
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
  box-shadow:0 8px 20px rgba(37,99,235,.22)
}
.mmtc-preview-stage{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  width:100%;
  overflow:auto;
  padding:0;
  background:linear-gradient(135deg,#f8fafc,#eef2ff)
}
.mmtc-preview-frame{
  display:block;
  height:720px;
  border:0;
  background:#fff;
  transition:width .2s ease,box-shadow .2s ease;
  box-shadow:0 0 0 1px rgba(15,23,42,.08)
}
.mmtc-preview-card .mmtc-preview-stage{
  padding:0;
  background:linear-gradient(135deg,#f8fafc,#eef2ff)
}
.mmtc-preview-card .mmtc-preview-frame{
  width:390px;
  min-width:390px;
  max-width:100%
}
.mmtc-quick-mobile-stage{
  overflow:hidden
}
.mmtc-preview-modal[hidden]{
  display:none!important
}
.mmtc-preview-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(15,23,42,.62);
  backdrop-filter:blur(8px)
}
.mmtc-preview-modal-panel{
  width:min(1320px,100%);
  max-height:calc(100vh - 56px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.24);
  border-radius:24px;
  background:#fff;
  box-shadow:0 30px 80px rgba(2,6,23,.32)
}
.mmtc-preview-modal .mmtc-preview-stage{
  flex:1;
  min-height:0;
  padding:18px;
  background:#0f172a
}
.mmtc-preview-frame-modal{
  height:calc(100vh - 210px);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.28)
}
.mmtc-preview-modal-panel[data-device="desktop"] .mmtc-preview-frame{
  width:min(1280px,100%);
  min-width:0
}
.mmtc-preview-modal-panel[data-device="tablet"] .mmtc-preview-frame{
  width:768px;
  min-width:768px
}
.mmtc-preview-modal-panel[data-device="mobile"] .mmtc-preview-frame{
  width:390px;
  min-width:390px
}
body.mmtc-modal-open{
  overflow:hidden
}
@media (max-width:1100px){
  .mmtc-layout{
    grid-template-columns:1fr
  }
  .mmtc-preview-card{
    position:relative;
    top:auto
  }
  .mmtc-preview-card .mmtc-preview-frame{
    height:560px;
    width:390px;
    min-width:0;
    max-width:100%
  }
}
@media (max-width:782px){
  .mmtc-hero,
  .mmtc-section-head,
  .mmtc-color-head,
  .mmtc-layout-head,
  .mmtc-card-head,
  .mmtc-category-head,
  .mmtc-preview-head,
  .mmtc-preview-modal-head{
    display:block
  }
  .mmtc-hero .mmtc-btn,
  .mmtc-section-head .mmtc-btn,
  .mmtc-color-head .mmtc-btn,
  .mmtc-layout-head .mmtc-btn,
  .mmtc-card-head .mmtc-btn,
  .mmtc-category-head .mmtc-btn,
  .mmtc-preview-head .mmtc-btn,
  .mmtc-preview-modal-head .mmtc-btn{
    margin-top:14px
  }
  .mmtc-hero h1{
    font-size:25px
  }
  .mmtc-panel{
    padding:16px
  }
  .mmtc-save-actions,
  .mmtc-preview-actions{
    margin-top:14px;
    align-items:flex-start;
    justify-content:flex-start
  }
  .mmtc-save-state{
    order:3
  }
  .mmtc-mini-note{
    margin-top:12px
  }
  .mmtc-layout-choice-grid,
  .mmtc-card-choice-grid,
  .mmtc-category-choice-grid{
    grid-template-columns:1fr
  }
  .mmtc-preview-modal{
    padding:12px
  }
  .mmtc-preview-frame-modal{
    height:calc(100vh - 190px)
  }
}

.mmtc-badge-style-section{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid #edf2f7
}
.mmtc-badge-controls{
  display:flex;
  flex-direction:column;
  gap:14px
}
.mmtc-badge-text-row{
  margin-bottom:14px
}
.mmtc-text-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px;
  background:#f8fafc;
  border:1px solid #e5edf5;
  border-radius:16px;
  max-width:420px
}
.mmtc-text-field span{
  color:#0f172a;
  font-size:13px;
  font-weight:900
}
.mmtc-text-field input{
  min-height:40px;
  border:1px solid #dbe4ee;
  border-radius:12px;
  padding:0 12px;
  color:#0f172a;
  font-weight:800;
  background:#fff
}
.mmtc-badge-group{
  margin:0;
  padding:16px;
  border:1px solid #e5edf5;
  border-radius:18px;
  background:#f8fafc
}
.mmtc-badge-group legend{
  padding:0 8px;
  color:#0f172a;
  font-size:14px;
  font-weight:950
}
.mmtc-badge-choice-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px
}
.mmtc-badge-choice{
  display:flex;
  cursor:pointer;
  min-height:70px;
  border:1px solid #e5edf5;
  border-radius:14px;
  background:#fff;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.mmtc-badge-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none
}
.mmtc-badge-choice span{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  padding:12px 14px;
  width:100%
}
.mmtc-badge-choice strong{
  color:#0f172a;
  font-size:14px;
  font-weight:950
}
.mmtc-badge-choice em{
  color:#64748b;
  font-style:normal;
  font-size:12px;
  line-height:1.35;
  font-weight:700
}
.mmtc-badge-choice.is-selected{
  background:#eff6ff;
  border-color:#2563eb;
  box-shadow:0 0 0 1px #2563eb inset
}
.mmtc-badge-choice.is-selected strong{
  color:#1d4ed8
}

/* Theme Customizer 1.6.4 polish */
.mmtc-color-grid{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:14px;
}
.mmtc-color-field{
  align-items:flex-start;
  background:#fff;
  border-color:#e2eaf3;
  box-shadow:0 8px 22px rgba(15,23,42,.035);
  padding:16px;
  min-height:96px;
}
.mmtc-color-meta{gap:5px;max-width:185px;}
.mmtc-color-label{font-size:14px;line-height:1.25;}
.mmtc-color-desc{display:block;color:#64748b;font-size:12px;font-weight:700;line-height:1.35;}
.mmtc-color-field code{margin-top:3px;background:#f8fafc;color:#475569;border-color:#e2e8f0;}
.mmtc-color-control{display:flex;align-items:flex-start;justify-content:flex-end;min-width:58px;}
.mmtc-color-field .wp-picker-container{position:relative;display:flex!important;align-items:flex-start;justify-content:flex-end;}
.mmtc-color-field .wp-color-result.button{
  width:52px!important;
  height:52px!important;
  min-height:52px!important;
  border-radius:16px!important;
  border:1px solid #dbe4ee!important;
  box-shadow:0 10px 22px rgba(15,23,42,.09)!important;
}
.mmtc-color-field .wp-color-result.button:after,
.mmtc-color-field .wp-color-result-text{display:none!important;}
.mmtc-color-field .wp-picker-container.wp-picker-active{
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.mmtc-color-field .wp-picker-input-wrap{
  position:absolute;
  z-index:30;
  top:60px;
  right:0;
  display:flex!important;
  align-items:center;
  gap:8px;
  padding:10px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 42px rgba(15,23,42,.13);
}
.mmtc-color-field .wp-picker-input-wrap label{margin:0!important;}
.mmtc-color-field .wp-picker-input-wrap .wp-color-picker{
  width:112px!important;
  min-height:36px!important;
  border-radius:10px!important;
  border:1px solid #cbd5e1!important;
  font-weight:800!important;
}
.mmtc-color-field .wp-picker-input-wrap .wp-picker-clear,
.mmtc-color-field .wp-picker-input-wrap .wp-picker-default{display:none!important;}
.mmtc-color-field .wp-picker-holder{
  position:absolute;
  z-index:29;
  top:112px;
  right:0;
}
.mmtc-color-field .iris-picker{
  border-radius:16px!important;
  box-shadow:0 18px 42px rgba(15,23,42,.14)!important;
  overflow:hidden;
}
.mmtc-badge-color-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:12px;
  margin:0 0 14px;
}
.mmtc-badge-color-field{min-height:92px;}
.mmtc-badge-choice-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));}

/* Theme Customizer compact color controls */
.mmtc-panel{
  overflow:visible;
}
.mmtc-color-section{
  position:relative;
  z-index:4;
}
.mmtc-color-grid,
.mmtc-badge-color-grid{
  grid-template-columns:repeat(auto-fit,minmax(225px,1fr));
  gap:10px;
}
.mmtc-color-field,
.mmtc-badge-color-field{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:4px 10px;
  min-height:60px;
  padding:10px 12px;
  border:1px solid #e5edf5;
  border-radius:14px;
  background:#fff;
  box-shadow:none;
}
.mmtc-color-field:hover,
.mmtc-badge-color-field:hover{
  border-color:#cbd5e1;
  box-shadow:0 8px 22px rgba(15,23,42,.045);
}
.mmtc-color-field:focus-within,
.mmtc-badge-color-field:focus-within{
  z-index:50;
  border-color:#93c5fd;
  box-shadow:0 0 0 3px rgba(37,99,235,.08);
}
.mmtc-color-control{
  grid-column:1;
  grid-row:1 / span 2;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.mmtc-color-meta{
  grid-column:2;
  min-width:0;
  max-width:none;
  gap:3px;
}
.mmtc-color-label{
  font-size:13px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mmtc-color-desc{
  display:none!important;
}
.mmtc-color-field code{
  margin:0;
  width:max-content;
  max-width:100%;
  padding:2px 7px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#64748b;
  font-size:10.5px;
  line-height:1.35;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  letter-spacing:.01em;
}
.mmtc-color-field .wp-picker-container{
  position:static!important;
  display:block!important;
  width:38px;
  height:38px;
}
.mmtc-color-field .wp-color-result.button{
  width:38px!important;
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dbe4ee!important;
  border-radius:11px!important;
  box-shadow:0 5px 12px rgba(15,23,42,.07)!important;
  background-image:none!important;
  overflow:hidden!important;
}
.mmtc-color-field .wp-color-result.button:focus{
  outline:none!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.16)!important;
}
.mmtc-color-field .wp-color-result.button:after,
.mmtc-color-field .wp-color-result-text{
  display:none!important;
}
.mmtc-color-field .wp-picker-container.wp-picker-active{
  position:static!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.mmtc-color-field .wp-picker-input-wrap{
  display:none!important;
}
.mmtc-color-field .wp-picker-container.wp-picker-active .wp-picker-input-wrap{
  position:absolute;
  z-index:70;
  top:58px;
  left:10px;
  display:flex!important;
  align-items:center;
  gap:8px;
  padding:8px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#fff;
  box-shadow:0 14px 34px rgba(15,23,42,.13);
}
.mmtc-color-field .wp-picker-input-wrap label{
  margin:0!important;
}
.mmtc-color-field .wp-picker-input-wrap .wp-color-picker{
  width:104px!important;
  min-height:32px!important;
  border:1px solid #cbd5e1!important;
  border-radius:9px!important;
  font-size:12px!important;
  font-weight:800!important;
}
.mmtc-color-field .wp-picker-input-wrap .wp-picker-clear,
.mmtc-color-field .wp-picker-input-wrap .wp-picker-default{
  display:none!important;
}
.mmtc-color-field .wp-picker-container:not(.wp-picker-active) .wp-picker-holder{
  display:none!important;
}
.mmtc-color-field .wp-picker-holder{
  position:absolute;
  z-index:69;
  top:104px;
  left:10px;
  right:auto;
}
.mmtc-color-field .iris-picker{
  border:1px solid #dbe4ee!important;
  border-radius:14px!important;
  box-shadow:0 18px 42px rgba(15,23,42,.14)!important;
  overflow:hidden;
}
.mmtc-badge-color-grid{
  margin-bottom:14px;
}
@media (max-width:782px){
  .mmtc-color-grid,
  .mmtc-badge-color-grid{
    grid-template-columns:1fr;
  }
  .mmtc-color-field .wp-picker-holder{
    left:0;
  }
}


/* Preview UX refinement */
.mmtc-preview-card .mmtc-preview-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
}
.mmtc-preview-card .mmtc-preview-head > div:first-child{
  min-width:0;
  flex:1 1 auto;
}
.mmtc-preview-card .mmtc-preview-actions{
  width:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
  margin:0;
}
.mmtc-preview-card .mmtc-preview-actions .mmtc-btn{
  width:auto;
  min-width:68px;
  min-height:32px;
  padding:0 12px;
  border-radius:10px;
  font-size:12px;
  box-shadow:none;
}
.mmtc-preview-card .mmtc-preview-actions .mmtc-btn-primary{
  box-shadow:0 8px 18px rgba(37,99,235,.18);
}
.mmtc-preview-card .mmtc-preview-actions .mmtc-btn-secondary{
  background:#fff;
}
.mmtc-preview-modal .mmtc-preview-stage{
  justify-content:center;
  align-items:flex-start;
  overflow:auto;
}
.mmtc-preview-modal-panel[data-device="desktop"] .mmtc-preview-frame{
  width:min(1120px,100%);
  max-width:100%;
  min-width:0;
}
.mmtc-preview-modal-panel[data-device="tablet"] .mmtc-preview-frame{
  width:min(768px,100%);
  max-width:100%;
  min-width:0;
}
.mmtc-preview-modal-panel[data-device="mobile"] .mmtc-preview-frame{
  width:390px;
  max-width:100%;
  min-width:0;
}
@media (max-width:1180px){
  .mmtc-preview-card .mmtc-preview-head{
    flex-direction:column;
    align-items:stretch;
  }
  .mmtc-preview-card .mmtc-preview-actions{
    justify-content:flex-start;
  }
}
@media (max-width:782px){
  .mmtc-preview-card .mmtc-preview-actions{
    justify-content:flex-start;
  }
}


/* Theme Customizer 1.6.12 release polish */
.mmtc-hero{
  padding:22px 24px;
}
.mmtc-section-head{
  position:sticky;
  top:32px;
  z-index:20;
  margin:-22px -22px 20px;
  padding:18px 22px;
  border-bottom:1px solid #edf2f7;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
}
.mmtc-save-state{
  position:relative;
  padding-left:28px;
}
.mmtc-save-state:before{
  content:'';
  position:absolute;
  left:11px;
  top:50%;
  width:8px;
  height:8px;
  border-radius:50%;
  transform:translateY(-50%);
  background:#10b981;
  box-shadow:0 0 0 3px rgba(16,185,129,.12);
}
.mmtc-save-state.is-unsaved:before{
  background:#f97316;
  box-shadow:0 0 0 3px rgba(249,115,22,.14);
}
.mmtc-color-groups{
  display:grid;
  gap:14px;
}
.mmtc-color-group{
  padding:14px;
  border:1px solid #e5edf5;
  border-radius:18px;
  background:#f8fafc;
}
.mmtc-color-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.mmtc-color-group-head strong{
  color:#0f172a;
  font-size:14px;
  font-weight:950;
}
.mmtc-color-group-head span{
  color:#64748b;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
  text-align:right;
}
.mmtc-color-group .mmtc-color-grid{
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
}
.mmtc-color-group .mmtc-color-field{
  background:#fff;
}
.mmtc-color-group .mmtc-color-desc{
  display:block!important;
  color:#64748b;
  font-size:11px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:160px;
}
.mmtc-color-group .mmtc-color-field code{
  margin-top:1px;
}
.mmtc-mini-note{
  background:#f1f5f9;
  color:#475569;
}
.mmtc-preview-card .mmtc-preview-head span,
.mmtc-preview-modal-head span{
  max-width:260px;
  line-height:1.45;
}
@media (max-width:782px){
  .mmtc-section-head{
    position:relative;
    top:auto;
    margin:-16px -16px 18px;
    padding:16px;
  }
  .mmtc-color-group-head{
    display:block;
  }
  .mmtc-color-group-head span{
    display:block;
    margin-top:4px;
    text-align:left;
  }
}

/* Theme Customizer 1.6.14 save bar and badge polish */
.mmtc-section-head{
  position:static;
  top:auto;
  z-index:auto;
  margin:0 0 18px;
  padding:0;
  border-bottom:0;
  background:transparent;
  backdrop-filter:none;
}
.mmtc-global-savebar{
  position:sticky;
  top:32px;
  z-index:35;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:-6px -6px 22px;
  padding:12px 14px;
  border:1px solid #e5edf5;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 34px rgba(15,23,42,.09);
  backdrop-filter:blur(14px);
}
.mmtc-global-savebar-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.mmtc-global-savebar-text strong{
  color:#0f172a;
  font-size:13px;
  font-weight:900;
}
.mmtc-global-savebar-text span{
  color:#64748b;
  font-size:12px;
  line-height:1.35;
}
.mmtc-badge-choice[data-badge-style-preview="solid"]:after,
.mmtc-badge-choice[data-badge-style-preview="soft"]:after,
.mmtc-badge-choice[data-badge-style-preview="outline"]:after{
  content:'BEST';
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:20px;
  margin:10px 0 0;
  padding:0 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
}
.mmtc-badge-choice[data-badge-style-preview="solid"]:after{
  color:#fff;
  background:#d9a400;
  border:1px solid #d9a400;
  box-shadow:0 6px 14px rgba(0,0,0,.14);
}
.mmtc-badge-choice[data-badge-style-preview="soft"]:after{
  color:#b48400;
  background:rgba(217,164,0,.16);
  border:1px solid rgba(217,164,0,.28);
  box-shadow:none;
}
.mmtc-badge-choice[data-badge-style-preview="outline"]:after{
  color:#b48400;
  background:transparent;
  border:1px solid #d9a400;
  box-shadow:none;
}
@media (max-width:782px){
  .mmtc-global-savebar{
    top:46px;
    align-items:stretch;
    flex-direction:column;
  }
  .mmtc-global-savebar .mmtc-save-actions{
    justify-content:flex-start;
  }
}

/* Theme Customizer 1.6.14 badge option preview refinement */
.mmtc-badge-choice[data-badge-style-preview]{
  align-items:center;
  gap:10px;
}
.mmtc-badge-choice[data-badge-style-preview] span{
  flex:1 1 auto;
  width:auto;
  min-width:0;
  padding-right:4px;
}
.mmtc-badge-choice[data-badge-style-preview="solid"]:after,
.mmtc-badge-choice[data-badge-style-preview="soft"]:after,
.mmtc-badge-choice[data-badge-style-preview="outline"]:after{
  flex:0 0 auto;
  align-self:center;
  content:'BEST';
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:22px;
  min-height:0;
  min-width:42px;
  margin:0 12px 0 0;
  padding:0 9px;
  border-radius:999px;
  font-size:9px;
  line-height:1;
  font-weight:950;
  letter-spacing:.02em;
  white-space:nowrap;
  box-sizing:border-box;
}
.mmtc-badge-choice[data-badge-style-preview="solid"]:after{
  color:#fff;
  background:#d9a400;
  border:1px solid #d9a400;
  box-shadow:0 5px 10px rgba(15,23,42,.14);
}
.mmtc-badge-choice[data-badge-style-preview="soft"]:after{
  color:#9a6a00;
  background:#fff5cf;
  border:1px solid #f3d678;
  box-shadow:none;
}
.mmtc-badge-choice[data-badge-style-preview="outline"]:after{
  color:#9a6a00;
  background:#fff;
  border:1px solid #d9a400;
  box-shadow:none;
}
@media (max-width:782px){
  .mmtc-badge-choice[data-badge-style-preview="solid"]:after,
  .mmtc-badge-choice[data-badge-style-preview="soft"]:after,
  .mmtc-badge-choice[data-badge-style-preview="outline"]:after{
    margin-right:10px;
  }
}
