/* 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
}
.mlc-pillgrp button{
  border:2px solid #f9b245;
  color:#f9b245;
  background:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer
}
.mlc-pillgrp button.on{
  background:#f9b245;
  color:#fff
}
.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;
    background: #f9b245;
    color: #000;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 0px;
    font-weight: 600;
    text-align: center;
}
@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: #f9b245; 
  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(#f9b245 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: #f9b245;
}
.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: #f9b245; }
.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: #f9b245; 
  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: #f9b245;    
  border: 2px solid #fff;
  cursor: pointer;
}

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