.mpp-refresh-box{background:#fff;border-radius:14px;padding:16px;max-width:560px;margin:auto;box-shadow:0 6px 20px rgba(0,0,0,.08)}
.mpp-refresh-title{margin:0}
.mpp-refresh-sub{opacity:.7;margin:4px 0 12px}
.mpp-tabs{display:flex;gap:8px;margin:10px 0 14px}
.mpp-tab{flex:1;padding:10px 12px;border-radius:999px;border:1px solid rgba(0,0,0,.15);background:#fff;font-weight:900}
.mpp-tab.is-active{background:#f3e4e1;border-color:rgba(192,57,43,.35)}
.mpp-panel{display:none}.mpp-panel.is-active{display:block}
.mpp-row{display:flex;flex-direction:column;margin-bottom:12px}
.mpp-row label{font-size:.95rem;margin-bottom:6px}
.mpp-row input{padding:10px 12px;border-radius:12px;border:1px solid #ddd;font-size:1rem}
.mpp-inline{display:flex;align-items:center;gap:8px}
.mpp-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.mpp-presets button{padding:6px 10px;border-radius:10px;border:1px solid rgba(0,0,0,.15);background:#fff;font-weight:700}
.mpp-btn{width:100%;padding:12px;border-radius:14px;border:none;background:#e8f0ee;font-weight:900}
.mpp-sep{border:none;border-top:1px solid rgba(0,0,0,.12);margin:12px 0}
.mpp-result{margin-top:14px}
.mpp-line{display:flex;justify-content:space-between;margin:6px 0}
.mpp-note{border:1px dashed rgba(0,0,0,.2);padding:10px;border-radius:12px;margin-bottom:10px}
.mpp-table{border:1px solid rgba(0,0,0,.1);border-radius:12px;overflow:hidden}
.mpp-thead,.mpp-tr{display:grid;grid-template-columns:48px 1.2fr 1fr 1fr 1.1fr}
.mpp-thead{background:rgba(0,0,0,.04);font-weight:900}
.mpp-thead>div,.mpp-tr>div{padding:10px;border-top:1px solid rgba(0,0,0,.08)}
.mpp-tr:first-of-type>div{border-top:none}
.mpp-mini{font-size:.8rem;opacity:.7}
.is-hidden{display:none!important}
@media(max-width:520px){.mpp-refresh-box{padding:14px}}


/* ===== Main tabs (pestañas) ===== */
.mpp-tabs--main{
  gap:0;
  border-bottom:1px solid rgba(0,0,0,.12);
  margin:10px 0 18px;
}
.mpp-tabs--main .mpp-tab{
  flex:1;
  border:1px solid rgba(0,0,0,.12);
  border-bottom:none;
  border-radius:14px 14px 0 0;
  background:rgba(255,255,255,.6);
  padding:12px 10px;
}
.mpp-tabs--main .mpp-tab:not(.is-active){
  opacity:.75;
}
.mpp-tabs--main .mpp-tab.is-active{
  background:#fff;
  opacity:1;
}

/* ===== Calculator mode selector (distinct from tabs) ===== */
.mpp-calc-mode{
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  padding:12px;
  background:rgba(0,0,0,.02);
  margin:6px 0 14px;
}
.mpp-calc-mode-title{
  font-weight:900;
  margin-bottom:8px;
}
.mpp-calc-mode-options{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mpp-calc-mode-btn{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  text-align:left;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-weight:800;
}
.mpp-calc-mode-btn .dot{
  width:14px;height:14px;border-radius:999px;
  border:2px solid rgba(0,0,0,.35);
  box-sizing:border-box;
  flex:0 0 14px;
}
.mpp-calc-mode-btn.is-active{
  border-color:rgba(192,57,43,.35);
  background:#f3e4e1;
}
.mpp-calc-mode-btn.is-active .dot{
  border-color:rgba(192,57,43,.6);
  background:rgba(192,57,43,.9);
}

.mpp-plan-finalhyd{
  margin:10px 0 6px;
  padding:10px 12px;
  border:1px dashed rgba(0,0,0,.2);
  border-radius:12px;
  background:rgba(255,255,255,.6);
  font-weight:800;
}
