
.pph-eec-wrap{
  --pph-bg1:#0b1020;
  --pph-bg2:#121a2e;
  --pph-line:rgba(255,255,255,.08);
  --pph-text:#edf2f7;
  --pph-muted:#aab6ca;
  --pph-gold:#f5c542;
  --pph-gold2:#ffdd72;
  --pph-blue:#60a5fa;
  --pph-blue-soft:#93c5fd;
  color:var(--pph-text);
  background:
    radial-gradient(circle at top right, rgba(245,197,66,.15), transparent 28%),
    radial-gradient(circle at top left, rgba(39,216,121,.10), transparent 30%),
    linear-gradient(135deg,var(--pph-bg1),var(--pph-bg2));
  border-radius:28px;
  padding:30px;
  box-shadow:0 25px 60px rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.05);
}
.pph-eec-wrap *{box-sizing:border-box}
.pph-eec-hero{text-align:center;margin-bottom:26px}
.pph-eec-badge{
  display:inline-block;padding:8px 15px;border-radius:999px;
  background:linear-gradient(135deg, rgba(245,197,66,.18), rgba(39,216,121,.18));
  border:1px solid rgba(245,197,66,.30);color:#fff1b8;font-size:12px;
  letter-spacing:.12em;text-transform:uppercase;font-weight:800;margin-bottom:12px;
}
.pph-eec-hero h2{margin:0 0 10px;font-size:clamp(28px,4vw,42px);line-height:1.1;color:#fff}
.pph-eec-hero p{margin:0 auto;max-width:760px;color:#d4dcec;line-height:1.7}
.pph-eec-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.pph-eec-card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--pph-line);border-radius:24px;padding:24px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.pph-eec-card h3{margin:0 0 18px;color:#fff;font-size:23px}
.pph-eec-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pph-eec-field{display:flex;flex-direction:column;gap:8px}
.pph-eec-field label{font-size:14px;font-weight:700;color:#dfe7f6}
.pph-eec-input-wrap{position:relative}
.pph-eec-prefix,.pph-eec-suffix{
  position:absolute;top:50%;transform:translateY(-50%);color:#ffe6a4;
  font-weight:700;pointer-events:none;font-size:14px
}
.pph-eec-prefix{left:14px}
.pph-eec-suffix{right:14px}
.pph-eec-field input,.pph-eec-field select{
  width:100%;min-height:52px;padding:14px 14px;border-radius:14px;
  border:1px solid var(--pph-line);background:#0b1326;color:#fff;font-size:16px;
  appearance:auto;
}
.pph-eec-field input#pph-eec-initial,.pph-eec-field input#pph-eec-addition{padding-left:34px}
.pph-eec-field input#pph-eec-profit{padding-right:34px}
.pph-eec-field input:focus,.pph-eec-field select:focus{
  outline:none;border-color:rgba(39,216,121,.8);box-shadow:0 0 0 3px rgba(39,216,121,.12);
}
.pph-eec-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.pph-eec-btn{
  border:0;border-radius:14px;padding:15px 22px;min-height:52px;cursor:pointer;
  font-weight:800;font-size:16px;transition:transform .15s ease, opacity .15s ease;flex:1 1 180px;
}
.pph-eec-btn:hover{transform:translateY(-1px)}
.pph-eec-btn-primary{color:#081018;background:linear-gradient(135deg,var(--pph-gold2),var(--pph-gold))}
.pph-eec-btn-secondary{color:#fff;background:rgba(255,255,255,.08)}
.pph-eec-assumptions{
  margin-top:18px;padding:18px;border-radius:18px;background:rgba(255,255,255,.025);border:1px solid var(--pph-line);
}
.pph-eec-assumptions h4{margin:0 0 10px;color:#fff;font-size:16px}
.pph-eec-assumptions ul{margin:0;padding-left:20px;color:#d4dcec;line-height:1.8}
.pph-eec-highlight{
  padding:24px;border-radius:22px;background:linear-gradient(135deg, rgba(59,130,246,.20), rgba(37,99,235,.15));
  border:1px solid rgba(59,130,246,.35);margin-bottom:18px;overflow:hidden;
}
.pph-eec-highlight-label{
  color:var(--pph-blue-soft);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;
}
.pph-eec-final-amount{
  display:block;max-width:100%;font-size:clamp(34px,5vw,54px);line-height:1.06;font-weight:900;color:var(--pph-blue);
  word-break:break-word;overflow-wrap:anywhere;white-space:normal;
}
.pph-eec-final-amount.compact{font-size:clamp(28px,3.6vw,42px)}
.pph-eec-final-amount.xcompact{font-size:clamp(22px,2.8vw,32px)}
.pph-eec-result-note{margin-top:10px;color:#e5f7ee;line-height:1.7}
.pph-eec-exact-value,.pph-eec-stat-exact{
  display:none;margin-top:10px;padding:8px 10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  border-radius:10px;color:#bfdbfe;font-size:12px;line-height:1.5;overflow-x:auto;white-space:nowrap;max-width:100%;
}
.pph-eec-exact-value.show,.pph-eec-stat-exact.show{display:block}
.pph-eec-stats{display:grid;grid-template-columns:0.9fr 1.35fr;gap:12px;margin-bottom:18px;align-items:stretch}
.pph-eec-stat{
  background:rgba(255,255,255,.025);border:1px solid var(--pph-line);border-radius:18px;padding:16px;min-width:0;overflow:hidden;
}
.pph-eec-stat small{
  display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--pph-muted);margin-bottom:8px
}
.pph-eec-stat strong{
  display:block;max-width:100%;font-size:22px;color:var(--pph-blue);word-break:break-word;overflow-wrap:anywhere;
}
.pph-eec-stat strong.compact{font-size:clamp(18px,2vw,24px);line-height:1.22}
.pph-eec-stat strong.xcompact{font-size:clamp(15px,1.5vw,19px);line-height:1.25}
.pph-eec-mobile-cards{display:none}
.pph-eec-mobile-card{
  background:rgba(255,255,255,.025);border:1px solid var(--pph-line);border-radius:16px;padding:14px;margin-bottom:12px;
}
.pph-eec-mobile-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.pph-eec-mobile-card-head strong{font-size:15px;color:#fff}
.pph-eec-mobile-card-head strong:last-child{color:var(--pph-blue)}
.pph-eec-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pph-eec-mobile-item{background:rgba(255,255,255,.03);border-radius:12px;padding:10px}
.pph-eec-mobile-item span{display:block;font-size:11px;color:var(--pph-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.pph-eec-mobile-item strong{display:block;font-size:14px;color:var(--pph-blue);word-break:break-word}
.pph-eec-table-wrap{max-height:360px;overflow:auto;border:1px solid var(--pph-line);border-radius:16px}
.pph-eec-table{width:100%;border-collapse:collapse;min-width:620px}
.pph-eec-table th,.pph-eec-table td{padding:12px 14px;text-align:right;border-bottom:1px solid var(--pph-line);font-size:14px}
.pph-eec-table th:first-child,.pph-eec-table td:first-child{text-align:left}
.pph-eec-table thead th{position:sticky;top:0;z-index:1;background:#0f172b;color:#fff}
.pph-eec-table tbody td:not(:first-child){color:var(--pph-blue);font-weight:600}

@media (max-width: 920px){.pph-eec-grid{grid-template-columns:1fr}}
@media (max-width: 900px){.pph-eec-stats{grid-template-columns:1fr}}
@media (max-width: 768px){
  .pph-eec-wrap{padding:20px;border-radius:22px}
  .pph-eec-card{padding:20px}
  .pph-eec-form-grid,.pph-eec-stats{grid-template-columns:1fr}
  .pph-eec-actions{flex-direction:column}
  .pph-eec-btn{width:100%;flex:1 1 auto}
  .pph-eec-final-amount{font-size:clamp(30px,9vw,44px)}
}
@media (max-width: 560px){
  .pph-eec-wrap{padding:16px}
  .pph-eec-hero h2{font-size:28px}
  .pph-eec-hero p{font-size:14px}
  .pph-eec-card h3{font-size:20px}
  .pph-eec-highlight{padding:18px}
  .pph-eec-result-note{font-size:14px}
  .pph-eec-stat strong{font-size:18px}
  .pph-eec-table-wrap{display:none}
  .pph-eec-mobile-cards{display:block}
  .pph-eec-exact-value{font-size:11px}
}



/* v1.3.1 table overflow fix */
.pph-eec-grid,
.pph-eec-card,
.pph-eec-highlight,
.pph-eec-stats,
.pph-eec-stat{
  min-width: 0;
}

.pph-eec-table-wrap{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pph-eec-table{
  min-width: 980px;
  width: max-content;
  max-width: none;
}

.pph-eec-table th,
.pph-eec-table td{
  white-space: nowrap;
}

@media (max-width: 1200px){
  .pph-eec-table{
    min-width: 900px;
  }
}

@media (max-width: 768px){
  .pph-eec-table{
    min-width: 820px;
  }
}



/* v1.3.2 layout rebalance */
.pph-eec-grid{
  grid-template-columns: 0.78fr 1.32fr;
  align-items: start;
}

.pph-eec-card{
  min-width: 0;
}

.pph-eec-form-grid{
  grid-template-columns: 1fr 1fr;
}

.pph-eec-actions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.pph-eec-btn{
  width:100%;
  flex:none;
}

.pph-eec-assumptions{
  min-width:0;
}

.pph-eec-assumptions ul{
  overflow-wrap:anywhere;
}

@media (max-width: 1200px){
  .pph-eec-grid{
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 920px){
  .pph-eec-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .pph-eec-actions{
    grid-template-columns: 1fr;
  }
}


/* v1.3.3 FINAL LAYOUT FIX - prioritize result/table */
.pph-eec-grid{
  grid-template-columns: 0.55fr 1.45fr !important;
}

@media (max-width: 1200px){
  .pph-eec-grid{
    grid-template-columns: 0.7fr 1.3fr;
  }
}

@media (max-width: 920px){
  .pph-eec-grid{
    grid-template-columns: 1fr;
  }
}


/* v1.3.4 button and table proportion fixes */
.pph-eec-actions{
  display:grid !important;
  grid-template-columns: 1fr !important;
  gap:12px !important;
}

.pph-eec-btn{
  width:100% !important;
  max-width:100% !important;
}

.pph-eec-table-wrap{
  overflow-x:auto !important;
  overflow-y:auto !important;
}

.pph-eec-table{
  width:100% !important;
  min-width:720px !important;
  table-layout:auto !important;
}

.pph-eec-table th,
.pph-eec-table td{
  white-space:nowrap;
}

.pph-eec-table th:nth-child(1),
.pph-eec-table td:nth-child(1){
  width:1%;
  min-width:70px;
}

.pph-eec-table th:nth-child(2),
.pph-eec-table td:nth-child(2),
.pph-eec-table th:nth-child(3),
.pph-eec-table td:nth-child(3),
.pph-eec-table th:nth-child(4),
.pph-eec-table td:nth-child(4),
.pph-eec-table th:nth-child(5),
.pph-eec-table td:nth-child(5){
  width:auto;
}

@media (max-width: 768px){
  .pph-eec-table{
    min-width:680px !important;
  }
}


/* v1.3.5 stack input on top, full-width result/table, centered month */
.pph-eec-grid{
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

.pph-eec-card{
  width: 100% !important;
}

.pph-eec-form-grid{
  grid-template-columns: repeat(4, minmax(160px, 1fr)) !important;
  align-items: end;
}

.pph-eec-actions{
  grid-template-columns: repeat(2, minmax(180px, 260px)) !important;
  justify-content: start !important;
}

.pph-eec-assumptions{
  margin-top: 16px !important;
}

.pph-eec-table-wrap{
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
}

.pph-eec-table{
  width: 100% !important;
  min-width: 100% !important;
  table-layout: auto !important;
}

.pph-eec-table th:nth-child(1),
.pph-eec-table td:nth-child(1){
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  text-align: center !important;
}

.pph-eec-table thead th:nth-child(1),
.pph-eec-table tbody td:nth-child(1){
  text-align: center !important;
}

.pph-eec-table th:nth-child(2),
.pph-eec-table td:nth-child(2),
.pph-eec-table th:nth-child(3),
.pph-eec-table td:nth-child(3),
.pph-eec-table th:nth-child(4),
.pph-eec-table td:nth-child(4),
.pph-eec-table th:nth-child(5),
.pph-eec-table td:nth-child(5){
  width: auto !important;
}

@media (max-width: 1100px){
  .pph-eec-form-grid{
    grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
  }
}

@media (max-width: 768px){
  .pph-eec-form-grid{
    grid-template-columns: 1fr !important;
  }

  .pph-eec-actions{
    grid-template-columns: 1fr !important;
  }
}


/* v1.3.6 input and monthly row cards */
.pph-eec-form-grid{
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  gap:18px !important;
}
.pph-eec-field{
  min-width:0;
}
.pph-eec-actions{
  grid-template-columns: 220px 220px !important;
  align-items:start;
}
.pph-eec-assumptions{
  display:block;
  margin-top:0 !important;
}
.pph-eec-card:first-child .pph-eec-assumptions{
  grid-column: span 2;
}
.pph-eec-card:first-child{
  display:grid;
  grid-template-columns: 2.1fr 1.1fr;
  gap:20px;
  align-items:start;
}
.pph-eec-card:first-child > h3{
  grid-column:1 / -1;
}
.pph-eec-card:first-child .pph-eec-actions{
  margin-top:2px;
}
.pph-eec-card:first-child .pph-eec-assumptions{
  align-self:stretch;
}
.pph-eec-card:first-child .pph-eec-assumptions ul{
  margin-top:8px;
}
.pph-eec-card:first-child .pph-eec-assumptions h4{
  margin-bottom:8px;
}
.pph-eec-rows{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:6px;
}
.pph-eec-row{
  background:rgba(255,255,255,.025);
  border:1px solid var(--pph-line);
  border-radius:18px;
  padding:16px;
}
.pph-eec-row-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.pph-eec-row-head strong{
  font-size:18px;
  color:#fff;
}
.pph-eec-row-head .pph-eec-row-end{
  color:var(--pph-blue);
  font-weight:800;
  font-size:22px;
}
.pph-eec-row-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap:12px;
}
.pph-eec-row-item{
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:12px;
  min-width:0;
}
.pph-eec-row-item span{
  display:block;
  font-size:11px;
  color:var(--pph-muted);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:6px;
}
.pph-eec-row-item strong{
  display:block;
  color:var(--pph-blue);
  font-size:18px;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.pph-eec-mobile-cards,
.pph-eec-table-wrap{
  display:none !important;
}
@media (max-width: 1200px){
  .pph-eec-card:first-child{
    grid-template-columns: 1.8fr 1fr;
  }
  .pph-eec-form-grid{
    grid-template-columns: 1fr 1fr !important;
  }
  .pph-eec-actions{
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 900px){
  .pph-eec-card:first-child{
    grid-template-columns: 1fr;
  }
  .pph-eec-card:first-child .pph-eec-assumptions{
    grid-column:auto;
    margin-top:10px !important;
  }
}
@media (max-width: 768px){
  .pph-eec-form-grid{
    grid-template-columns: 1fr !important;
  }
  .pph-eec-actions{
    grid-template-columns: 1fr !important;
  }
  .pph-eec-row-grid{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px){
  .pph-eec-row-grid{
    grid-template-columns: 1fr;
  }
  .pph-eec-row-head{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* v1.3.7 flat input card and compact top layout */
.pph-eec-wrap{
  background: linear-gradient(135deg, #0b1020, #121a2e) !important;
}

.pph-eec-card:first-child{
  display:block !important;
}

.pph-eec-card:first-child .pph-eec-assumptions{
  display:block !important;
  margin-top:0 !important;
  background:rgba(255,255,255,.025) !important;
}

.pph-eec-card:first-child > h3{
  margin-bottom:18px !important;
}

.pph-eec-card:first-child .pph-eec-form-grid,
.pph-eec-card:first-child .pph-eec-actions,
.pph-eec-card:first-child .pph-eec-assumptions{
  vertical-align:top;
}

.pph-eec-card:first-child .pph-eec-toprow{
  display:grid;
  grid-template-columns: 1.35fr 1.15fr 0.9fr;
  gap:18px;
  align-items:start;
}

.pph-eec-form-grid{
  grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
  gap:14px !important;
}

.pph-eec-field input,
.pph-eec-field select{
  min-height:58px !important;
}

.pph-eec-actions{
  display:grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap:14px !important;
  align-self:start;
}

.pph-eec-btn{
  min-height:58px !important;
  padding:14px 18px !important;
  font-size:15px !important;
  border-radius:16px !important;
}

.pph-eec-assumptions{
  padding:16px 18px !important;
  border-radius:18px !important;
}

.pph-eec-assumptions h4{
  margin:0 0 10px !important;
}

.pph-eec-assumptions ul{
  margin:0 !important;
  padding-left:18px !important;
  line-height:1.65 !important;
}

@media (max-width: 1200px){
  .pph-eec-card:first-child .pph-eec-toprow{
    grid-template-columns: 1fr;
  }

  .pph-eec-form-grid{
    grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
  }
}

@media (max-width: 700px){
  .pph-eec-form-grid{
    grid-template-columns: 1fr !important;
  }

  .pph-eec-actions{
    grid-template-columns: 1fr !important;
  }
}


/* v1.3.8 monitoring-style input area, lighter typography, no calculation basis */
.pph-eec-wrap{
  background:#060b16 !important;
  border-radius:22px !important;
  border:1px solid rgba(255,255,255,.06) !important;
  box-shadow:none !important;
}

.pph-eec-card{
  background:linear-gradient(90deg, rgba(5,17,40,.92), rgba(13,20,40,.92)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:22px !important;
  box-shadow:none !important;
}

.pph-eec-hero{
  text-align:center;
  margin-bottom:22px !important;
}

.pph-eec-hero h2{
  font-size:clamp(26px,4vw,44px) !important;
  font-weight:700 !important;
  letter-spacing:.01em !important;
}

.pph-eec-hero p{
  font-size:15px !important;
  font-weight:400 !important;
  color:#d6deef !important;
}

.pph-eec-badge{
  background:rgba(226,194,92,.12) !important;
  border:1px solid rgba(226,194,92,.32) !important;
  color:#f4dd8c !important;
  font-weight:700 !important;
}

.pph-eec-card h3{
  font-size:20px !important;
  font-weight:700 !important;
  margin-bottom:18px !important;
}

.pph-eec-card:first-child{
  display:block !important;
}

.pph-eec-toprow{
  display:grid !important;
  grid-template-columns: 1fr auto !important;
  gap:16px !important;
  align-items:end !important;
}

.pph-eec-form-grid{
  grid-template-columns: repeat(4, minmax(140px, 1fr)) !important;
  gap:16px !important;
}

.pph-eec-field label{
  font-size:13px !important;
  font-weight:600 !important;
  color:#eef3ff !important;
}

.pph-eec-field input,
.pph-eec-field select{
  min-height:56px !important;
  font-size:15px !important;
  font-weight:500 !important;
  background:#071126 !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:16px !important;
  color:#ffffff !important;
}

.pph-eec-prefix,
.pph-eec-suffix{
  font-weight:600 !important;
}

.pph-eec-actions{
  display:grid !important;
  grid-template-columns: 190px 190px !important;
  gap:12px !important;
  margin-top:0 !important;
  align-self:end !important;
}

.pph-eec-btn{
  min-height:56px !important;
  font-size:14px !important;
  font-weight:700 !important;
  border-radius:16px !important;
  padding:12px 18px !important;
}

.pph-eec-btn-primary{
  background:#eccb5d !important;
  color:#0d1220 !important;
}

.pph-eec-btn-secondary{
  background:#2a3147 !important;
  color:#ffffff !important;
}

.pph-eec-assumptions{
  display:none !important;
}

.pph-eec-highlight{
  background:#1f315d !important;
  border:1px solid rgba(70,122,230,.55) !important;
  border-radius:22px !important;
}

.pph-eec-highlight-label{
  color:#9cc4ff !important;
  font-weight:700 !important;
  font-size:12px !important;
}

.pph-eec-final-amount{
  color:#63a3ff !important;
  font-weight:700 !important;
}

.pph-eec-result-note{
  font-size:14px !important;
  font-weight:400 !important;
  color:#edf3ff !important;
}

.pph-eec-stats{
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
}

.pph-eec-stat{
  background:#11192f !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:18px !important;
}

.pph-eec-stat small{
  font-size:11px !important;
  font-weight:500 !important;
  color:#c7d2e9 !important;
}

.pph-eec-stat strong{
  font-weight:700 !important;
  color:#63a3ff !important;
}

.pph-eec-row{
  background:#11192f !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:18px !important;
}

.pph-eec-row-head strong{
  font-size:17px !important;
  font-weight:600 !important;
}

.pph-eec-row-head .pph-eec-row-end{
  font-size:20px !important;
  font-weight:700 !important;
}

.pph-eec-row-item span{
  font-size:10px !important;
  font-weight:500 !important;
}

.pph-eec-row-item strong{
  font-size:17px !important;
  font-weight:600 !important;
}

@media (max-width: 1200px){
  .pph-eec-toprow{
    grid-template-columns:1fr !important;
    align-items:start !important;
  }
  .pph-eec-actions{
    grid-template-columns: 1fr 1fr !important;
    width:100% !important;
  }
}

@media (max-width: 820px){
  .pph-eec-form-grid{
    grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
  }
}

@media (max-width: 640px){
  .pph-eec-form-grid{
    grid-template-columns: 1fr !important;
  }
  .pph-eec-actions{
    grid-template-columns: 1fr !important;
  }
}


/* v1.3.9 visual refinements */

/* Image 1: reduce top title size */
.pph-eec-hero h2{
  font-size:32px !important;
  font-weight:600 !important;
}

/* Image 2: reduce final amount by ~30% */
.pph-eec-final-amount{
  font-size:70% !important;
  font-weight:600 !important;
}

/* Image 3: remove borders and bold from monthly cards */
.pph-eec-row{
  border:none !important;
  background:transparent !important;
  box-shadow:none !important;
}

.pph-eec-row-head strong{
  font-weight:500 !important;
}

.pph-eec-row-head .pph-eec-row-end{
  font-weight:500 !important;
}

/* match Image 4 style (lighter text) */
.pph-eec-row-item strong{
  font-weight:500 !important;
  font-size:15px !important;
}

.pph-eec-row-item span{
  font-weight:400 !important;
  opacity:0.8;
}

/* remove inner boxes feel */
.pph-eec-row-item{
  background:transparent !important;
  border:none !important;
  padding:6px 0 !important;
}

/* spacing cleaner */
.pph-eec-row-grid{
  gap:8px !important;
}



/* v1.4.0 fixes */

/* FIX BUTTON SIZE + OVERFLOW */
.pph-eec-actions{
  grid-template-columns: 160px 160px !important;
  justify-content:flex-start !important;
}

.pph-eec-btn{
  min-height:48px !important;
  font-size:13px !important;
  padding:10px 14px !important;
}

/* REMOVE month header right value ($220) */
.pph-eec-row-head .pph-eec-row-end{
  display:none !important;
}

/* ALIGN "Month 1" INLINE WITH GRID */
.pph-eec-row-head{
  margin-bottom:8px !important;
}

.pph-eec-row-head strong{
  font-size:14px !important;
  font-weight:500 !important;
}

/* WRAP WHOLE ROW LIKE CARD (same as total contributions) */
.pph-eec-row{
  background:#11192f !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:18px !important;
  padding:14px 18px !important;
}

/* MAKE GRID ALIGN CLEANLY */
.pph-eec-row-grid{
  grid-template-columns: repeat(4, 1fr) !important;
  align-items:center !important;
}

/* CLEAN TEXT */
.pph-eec-row-item strong{
  font-weight:500 !important;
  font-size:14px !important;
}



/* v1.4.1 requested sizing fixes */

/* Image 1: final amount about 3x current tiny size */
.pph-eec-final-amount{
  font-size: clamp(42px, 6vw, 72px) !important;
  line-height: 1.02 !important;
  font-weight: 700 !important;
}

/* Image 2: shrink input controls + buttons so full row fits */
.pph-eec-toprow{
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: end !important;
}
.pph-eec-form-grid{
  grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
  gap: 12px !important;
}
.pph-eec-field label{
  font-size: 12px !important;
}
.pph-eec-field input,
.pph-eec-field select{
  min-height: 44px !important;
  height: 44px !important;
  font-size: 13px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-radius: 14px !important;
}
.pph-eec-actions{
  grid-template-columns: 150px 150px !important;
  gap: 10px !important;
}
.pph-eec-btn{
  min-height: 44px !important;
  height: 44px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  border-radius: 14px !important;
}

/* Image 3: make month inline with rest + reduce row height ~50% */
.pph-eec-row{
  padding: 8px 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px !important;
}
.pph-eec-row-head{
  display:none !important;
}
.pph-eec-row-grid{
  grid-template-columns: 100px repeat(4, minmax(120px, 1fr)) !important;
  gap: 8px !important;
  align-items: center !important;
}
.pph-eec-row-item{
  padding: 2px 6px !important;
}
.pph-eec-row-item span{
  font-size: 10px !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
}
.pph-eec-row-item strong{
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
}
.pph-eec-row-item.pph-eec-row-month span{
  color: var(--pph-muted) !important;
}
.pph-eec-row-item.pph-eec-row-month strong{
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

@media (max-width: 1200px){
  .pph-eec-toprow{
    grid-template-columns: 1fr !important;
  }
  .pph-eec-actions{
    grid-template-columns: 140px 140px !important;
  }
}

@media (max-width: 900px){
  .pph-eec-form-grid{
    grid-template-columns: repeat(2, minmax(120px, 1fr)) !important;
  }
  .pph-eec-row-grid{
    grid-template-columns: repeat(3, minmax(110px, 1fr)) !important;
  }
}

@media (max-width: 640px){
  .pph-eec-form-grid{
    grid-template-columns: 1fr !important;
  }
  .pph-eec-actions{
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }
  .pph-eec-row-grid{
    grid-template-columns: 1fr 1fr !important;
  }
}


/* v1.4.2 color + sizing + alignment */

/* darker blue tone */
:root{
  --pph-blue:#4a8fff !important;
}

/* final amount smaller (50%) */
.pph-eec-final-amount{
  font-size:50% !important;
}

/* center MONTH numbers */
.pph-eec-row-item.pph-eec-row-month{
  text-align:center !important;
}
.pph-eec-row-item.pph-eec-row-month strong{
  display:block;
  text-align:center !important;
}


/* v1.4.3 correct final amount sizing/color/background */
.pph-eec-highlight{
  background: transparent !important;
  border: 1px solid rgba(74, 143, 255, 0.38) !important;
  min-height: 118px !important; /* slightly taller than stat cards */
  padding: 18px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.pph-eec-highlight-label{
  color: #8fb6ff !important;
}

.pph-eec-final-amount{
  font-size: 34px !important; /* true reduced size */
  line-height: 1.06 !important;
  font-weight: 700 !important;
  color: #3f86ff !important; /* darker, sharper blue */
  margin: 4px 0 8px 0 !important;
}

.pph-eec-stat strong,
.pph-eec-row-item strong,
.pph-eec-row-head .pph-eec-row-end{
  color: #3f86ff !important; /* same darker sharper blue */
}

.pph-eec-result-note{
  margin-top: 0 !important;
}

@media (max-width: 768px){
  .pph-eec-highlight{
    min-height: 108px !important;
    padding: 16px 20px !important;
  }
  .pph-eec-final-amount{
    font-size: 28px !important;
  }
}
