
:root{--mc-main:#585858;--mc-second:#FFD569;--mc-light:#F8F8F8;--mc-text:#222;--mc-line:#e5e7eb}
.mc-wrap{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;max-width:1024px;margin:1rem auto;color:var(--mc-text)}
.mc-bar{background:var(--mc-main);color:#fff;padding:.9rem 1.1rem;border-radius:.7rem;font-weight:800}
.mc-card{background:#fff;border:1px solid var(--mc-line);border-radius:.8rem;margin-top:.8rem}
.mc-start{padding:1rem}
.mc-start-title{font-weight:800;margin-bottom:.6rem}
.mc-start-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mc-field label{font-size:.9rem;color:#444;font-weight:700;display:block;margin-bottom:.25rem}
.mc-field input,.mc-col input,.mc-col select{width:100%;padding:.7rem .75rem;border:1px solid #cfd3dc;border-radius:.6rem;background:#fff}
.mc-row{padding:1rem}
.mc-light{background:var(--mc-light)}
.mc-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.mc-col .mc-label{font-size:.9rem;color:#666;margin-bottom:.35rem}
.mc-col .withminus::before{content:'- ';color:#64748b;font-weight:800}
.mc-col .withplus::before{content:'+ ';color:#64748b;font-weight:800}
.mc-money{background:#fff;border:1px dashed #d7dae3;border-radius:.6rem;padding:.7rem .75rem;font-weight:800}
.mc-totalbar{background:#f0f0f0}
.mc-monthlybar{background:#f7f7f7}
.mc-totalmonthbar{background:#ededed}
.mc-total-label{color:#1f2937;font-weight:800}
.mc-paybar{background:#eaecee}
.mc-cta-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:1rem;background:#fff}
.mc-cta{background:var(--mc-second);border:0;padding:.85rem 1rem;border-radius:.6rem;font-weight:900;cursor:pointer}
.mc-cta:hover{filter:brightness(.97)}
.mc-proptax{padding:1rem}
.mc-proptax-inner{display:flex;align-items:center;gap:10px}
.mc-proptax label{font-weight:800}
.mc-proptax input{max-width:160px}
.mc-hint{font-size:.85rem;color:#6b7280}
.mc-tax{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:1rem}
.mc-first-time{padding-right:1rem;border-right:1px solid var(--mc-line)}
.mc-ft-label{font-weight:800;margin-bottom:.5rem}
.mc-ft-choices{display:flex;gap:12px}
.mc-ft-btn{padding:.6rem 1rem;border:1px solid #cfd3dc;background:#fff;border-radius:.6rem;cursor:pointer}
.mc-ft-btn.active{background:var(--mc-second);border-color:var(--mc-second);font-weight:900}
.mc-tax-breakdown{display:grid;gap:10px}
.mc-tax-row{display:flex;justify-content:space-between;border-bottom:1px dotted var(--mc-line);padding:.35rem 0}
.mc-tax-row.total{border-top:1px solid var(--mc-line);border-bottom:0;margin-top:.25rem;padding-top:.6rem;font-weight:900}
@media (max-width:860px){.mc-grid4,.mc-cta-row,.mc-tax{grid-template-columns:1fr}.mc-first-time{border-right:0;padding-right:0}}

/* === ALIGNMENT PATCH v2 ===
   Ensure all 4-column rows share the same baseline and heights */
.mc-grid4{ align-items: center; }
.mc-grid4 .mc-input,
.mc-grid4 .mc-money,
.mc-grid4 select{
  height:56px;
  padding:10px 14px;
  line-height:1.4;
  box-sizing:border-box;
  display:block;
}
/* tighten inner labels */
.mc-col .mc-label{ line-height:1.2; margin-bottom:.35rem; }
/* consistent dashed box radius */
.mc-money{ border-radius:.6rem; }
/* end ALIGNMENT PATCH */

/* === LABEL WRAP FIX v2 === */
.mc-col .mc-label{ white-space:nowrap; display:flex; align-items:center; line-height:1.1; }
/* For safety, align all grid items vertically centered */
.mc-grid4{ align-items:center; }
/* === end LABEL WRAP FIX v2 === */
