/* Styling */
.mlc-card{
  max-width:720px;
  margin:16px auto;
  padding:20px 18px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto
}
.mlc-card h2{
  margin:6px 0 14px;
  font-size:22px
}
.mlc-card label{
  display:block;
  margin:14px 0 6px;
  color:#333;
  font-weight:600
}
.mlc-row{
  display:flex;
  align-items:center;
  gap:12px
}
.mlc-card input[type=range]{
  flex:1
}
.mlc-card output{
  min-width:82px;
  text-align:right;
  font-variant-numeric:tabular-nums
}
.mlc-pillgrp{
  display:flex;
  gap:10px;
  margin:6px 0 4px
}
/* Default button style */
.mlc-pillgrp button{
  border:2px solid #f9b245;
  color:#f9b245;
  background:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  transition: all 0.3s ease;
}

/* Apply gradient only when button has .on class */
.mlc-pillgrp button.on{
  color:#fff;
  background-image: var(--button_gradient, linear-gradient(var(--button_gradient_angle, 180deg), var(--button_gradient_top_color, #f9b245) var(--button_gradient_start, 0%), var(--button_gradient_bottom_color, #f9b245) var(--button_gradient_end, 100%)));
  border:2px solid transparent;
}

.mlc-results{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px
}
.mlc-kpi{
  background:#f2f6ff;
  border:1px solid #e1e9ff;
  border-radius:14px;
  padding:12px
}
.kpi-label{
  color:#6b7280;
  font-size:13px
}
.kpi-value{
  font-size:20px;
  font-weight:800
}
.mlc-cta {
    display: inline-block;
    margin: 10px 0 0;
    color: #000;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 50px;
    line-height: 1em;
    font-weight: 600;
    text-align: center;
    background-image: var(--button_gradient, linear-gradient(var(--button_gradient_angle, 180deg), var(--button_gradient_top_color, #f9b245) var(--button_gradient_start, 0%), var(--button_gradient_bottom_color, #f9b245) var(--button_gradient_end, 100%)));
}
@media (min-width:680px){
  .mlc-results{
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
}





.mlc-card input[type="range"] {
  -webkit-appearance: none; 
  width: 100%;
  height: 6px;
  background: transparent;
}


.mlc-card input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: #ddd;
}
.mlc-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  background: #ff9800; 
  border-radius: 50%;
  border: 2px solid white;
  margin-top: -5px;     
  position: relative;
  z-index: 2;
}

.mlc-card input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(#ff9800 0 0) no-repeat #ddd;
  background-size: var(--sx,0%) 100%;
}
.mlc-card input[type="range"]:focus {
  outline: none;
}


.mlc-card input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #ddd;
}
.mlc-card input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: #ff9800;
}
.mlc-card input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  background: #1e73be;
  border-radius: 50%;
  border: 2px solid white;
}


.mlc-card input[type="range"]::-ms-fill-lower { background: #ff9800; }
.mlc-card input[type="range"]::-ms-fill-upper { background: #ddd; }


.mlc-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff9800; 
  border: 2px solid #fff;  
  cursor: pointer;
  margin-top: -6px;     
}

.mlc-card input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff9800;    
  border: 2px solid #fff;
  cursor: pointer;
}

.mlc-card input[type="range"]::-ms-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff9800;
  border: 2px solid #fff;
  cursor: pointer;
}