
.mhm-calculator,
.mhm-calculator *{box-sizing:border-box}

.mhm-calculator{
  --mhm-navy:#10233f;
  --mhm-green:#2f8f62;
  --mhm-green-dark:#23734d;
  --mhm-line:#d9e1e5;
  --mhm-text:#1f2b36;
  --mhm-muted:#667482;
  --mhm-danger:#a33434;

  width:100%;
  max-width:1020px;
  margin:0 auto;
  padding:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--mhm-text);
  background:transparent;
}

.mhm-calculator .mhm-header{
  background:var(--mhm-navy);
  color:#fff;
  padding:20px 24px;
  border-radius:16px 16px 0 0;
}

.mhm-calculator .mhm-header h1{
  margin:0 0 5px;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(25px,3vw,34px);
  font-weight:800;
  line-height:1.1;
  text-transform:none;
}

.mhm-calculator .mhm-header p{
  margin:0;
  max-width:760px;
  color:#dbe7f0!important;
  font-size:14px;
  line-height:1.4;
}

.mhm-calculator .mhm-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  background:#fff;
  padding:18px;
  border-radius:0 0 16px 16px;
  box-shadow:0 10px 28px rgba(16,35,63,.08);
}

.mhm-calculator .mhm-panel{
  border:1px solid var(--mhm-line);
  border-radius:14px;
  padding:18px;
  background:#fff;
}

.mhm-calculator .mhm-panel h2{
  margin:0 0 14px;
  color:var(--mhm-navy)!important;
  font-size:21px;
  font-weight:800;
  line-height:1.2;
}

.mhm-calculator .mhm-field{
  margin-bottom:11px;
}

.mhm-calculator label{
  display:block;
  margin:0 0 5px;
  color:var(--mhm-navy)!important;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
}

.mhm-calculator .mhm-help{
  display:block;
  margin-top:3px;
  color:var(--mhm-muted)!important;
  font-size:12px;
  line-height:1.3;
}

.mhm-calculator input,
.mhm-calculator select{
  width:100%;
  min-height:40px;
  margin:0;
  border:1px solid #bcc8cf;
  border-radius:9px;
  padding:8px 11px;
  background:#fff!important;
  color:var(--mhm-text)!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:14px!important;
  box-shadow:none;
}

.mhm-calculator input:focus,
.mhm-calculator select:focus{
  outline:3px solid rgba(47,143,98,.16);
  border-color:var(--mhm-green);
}

.mhm-calculator .mhm-button-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}

.mhm-calculator button{
  min-height:40px;
  border:0;
  border-radius:9px;
  padding:9px 15px;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.mhm-calculator .mhm-primary{
  background:var(--mhm-green)!important;
  color:#fff!important;
}

.mhm-calculator .mhm-primary:hover{
  background:var(--mhm-green-dark)!important;
}

.mhm-calculator .mhm-secondary{
  background:#e9eef1!important;
  color:var(--mhm-navy)!important;
}

.mhm-calculator .mhm-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:11px;
}

.mhm-calculator .mhm-metric{
  border:1px solid var(--mhm-line);
  background:#fbfcfc;
  border-radius:10px;
  padding:10px 12px;
}

.mhm-calculator .mhm-metric-label{
  margin-bottom:3px;
  color:var(--mhm-muted)!important;
  font-size:12px;
  line-height:1.25;
}

.mhm-calculator .mhm-metric-value{
  color:var(--mhm-navy)!important;
  font-size:20px;
  font-weight:800;
  line-height:1.15;
  overflow-wrap:anywhere;
}

.mhm-calculator .mhm-highlight{
  margin:10px 0;
  border:1px solid #b9dfca;
  border-radius:11px;
  padding:12px;
  background:#eef8f3;
}

.mhm-calculator .mhm-highlight strong{
  display:block;
  margin-bottom:4px;
  color:var(--mhm-green-dark)!important;
  font-size:14px;
}

.mhm-calculator .mhm-highlight span{
  color:var(--mhm-text)!important;
  font-size:13px;
  line-height:1.35;
}

.mhm-calculator .mhm-status{
  margin:10px 0;
  border-radius:10px;
  padding:11px;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}

.mhm-calculator .mhm-status.good{
  border:1px solid #b6dfc8;
  background:#e9f7ef;
  color:#175d3d!important;
}

.mhm-calculator .mhm-status.warn{
  border:1px solid #efd1a4;
  background:#fff5e7;
  color:#754400!important;
}

.mhm-calculator .mhm-status.bad{
  border:1px solid #e8bbbb;
  background:#fdeeee;
  color:#7a2525!important;
}

.mhm-calculator .mhm-detail-list{
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid var(--mhm-line);
}

.mhm-calculator .mhm-detail-list li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:0;
  padding:8px 0;
  border-bottom:1px solid var(--mhm-line);
  font-size:13px;
  line-height:1.25;
}

.mhm-calculator .mhm-detail-list span{
  color:var(--mhm-muted)!important;
}

.mhm-calculator .mhm-detail-list strong{
  color:var(--mhm-navy)!important;
  text-align:right;
}

.mhm-calculator .mhm-disclaimer{
  grid-column:1/-1;
  padding:2px 2px 0;
  color:var(--mhm-muted)!important;
  font-size:12px;
  line-height:1.35;
}

@media(max-width:800px){
  .mhm-calculator{max-width:100%}
  .mhm-calculator .mhm-grid{
    grid-template-columns:1fr;
    padding:14px;
  }
  .mhm-calculator .mhm-header{
    padding:18px 20px;
  }
}

@media(max-width:480px){
  .mhm-calculator .mhm-summary{
    grid-template-columns:1fr;
  }

  .mhm-calculator .mhm-detail-list li{
    display:block;
  }

  .mhm-calculator .mhm-detail-list strong{
    display:block;
    margin-top:3px;
    text-align:left;
  }

  .mhm-calculator .mhm-button-row button{
    width:100%;
  }
}
