/* ═══ COST CALCULATOR — shared by /calculator and /mumbai (v21.39) ═══════════════════
   Moved as-is out of calculator.html so the two pages show the same calculator and
   cannot drift. Phone (≤900px): estimate first, mint card, breakdown folded. */
/* ═══ CALCULATOR v21.29 — inputs left, a receipt-style estimate right ═══════ */
.cx{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start;}
.cx > *{min-width:0;}
.cx-in{background:#fff;border:1px solid #e7e3d8;border-radius:20px;padding:28px 28px 22px;}
.cx-step{padding-top:20px;margin-top:20px;border-top:1px solid #f0ede4;}
.cx-step:first-child{border-top:none;margin-top:0;padding-top:0;}
.cx-lbl{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin-bottom:10px;}
.cx-lbl small{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:#94a3b8;}
.cx-chips{display:flex;flex-wrap:wrap;gap:8px;}
.cx-chip{border:1.5px solid #e2ddd0;background:#fff;color:#1F2A44;border-radius:999px;padding:8px 14px;font-family:inherit;font-weight:600;font-size:13.5px;line-height:1;cursor:pointer;transition:.15s;}
.cx-chip:hover{border-color:#1F2A44;}
.cx-chip.on{background:#1F2A44;border-color:#1F2A44;color:#fff;}
.cx-chip.sm{padding:6px 11px;font-size:12.5px;}
.cx-money{display:flex;align-items:center;gap:6px;border:1.5px solid #e2ddd0;border-radius:12px;padding:0 14px;background:#fcfbf8;transition:.15s;}
.cx-money:focus-within{border-color:#0f8b6f;background:#fff;box-shadow:0 0 0 3px rgba(15,139,111,.12);}
/* The site-wide focus ring (design-system.css: input:focus-visible{outline:2px solid}) drew a dark box
   INSIDE the field on phones (owner's screenshot, v21.35). The field's own border shows focus instead. */
.cx-money input:focus,.cx-money input:focus-visible,.cx-months input:focus,.cx-months input:focus-visible{outline:none;box-shadow:none;}
.cx-select:focus-visible{outline:none;}
.cx-money span{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:18px;font-weight:600;color:#94a3b8;}
.cx-money input{flex:1;min-width:0;border:none;background:transparent;outline:none;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:22px;font-weight:700;color:#1F2A44;padding:10px 0;font-variant-numeric:tabular-nums;}
.cx-money input::-webkit-outer-spin-button,.cx-money input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.cx-money em{font-style:normal;font-size:13px;color:#94a3b8;white-space:nowrap;}
.cx-range{width:100%;margin:14px 0 4px;accent-color:#1F2A44;}
.cx-row2{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px;}
.cx-months{display:flex;align-items:center;border:1.5px solid #e2ddd0;border-radius:999px;overflow:hidden;}
.cx-months button{border:none;background:#fff;width:34px;height:34px;font-size:18px;color:#1F2A44;cursor:pointer;}
.cx-months input{width:46px;border:none;text-align:center;font-family:inherit;font-weight:700;font-size:15px;color:#1F2A44;outline:none;-moz-appearance:textfield;}
.cx-months input::-webkit-outer-spin-button,.cx-months input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.cx-link{background:none;border:none;color:#4f46e5;font-family:inherit;font-weight:600;font-size:13px;cursor:pointer;padding:0;}
#fieldSlabs{margin-top:12px;background:#fcfbf8;border:1px dashed #e2ddd0;border-radius:12px;padding:12px;}
#kaStampPicker .cx-lbl{margin-top:2px;}
/* the estimate */
.cx-out{position:sticky;top:90px;background:#1F2A44;color:#e8ecf5;border-radius:20px 20px 6px 6px;padding:26px 26px 30px;
  -webkit-mask:radial-gradient(circle 5px at 50% 100%,transparent 4.5px,#000 5px) 0 0/14px 100% repeat-x;
          mask:radial-gradient(circle 5px at 50% 100%,transparent 4.5px,#000 5px) 0 0/14px 100% repeat-x;}
.cx-cap{font-size:13.5px;color:#aab4c8;}
.cx-total{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:44px;line-height:1.1;font-weight:800;color:#fff;margin:6px 0 2px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;}
.cx-plus{font-size:12.5px;color:#f7c35f;min-height:0;}
.cx-hr{border-top:1px dashed rgba(255,255,255,.22);margin:16px 0;}
.cx-r{display:flex;justify-content:space-between;gap:12px;font-size:14.5px;color:#c9d1e0;padding:5px 0;}
.cx-r span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap;}
.cx-r.sub{font-weight:700;color:#fff;font-size:15.5px;}
.cx-r.hint{font-size:12px;color:#8a95ab;padding-top:0;}
.cx-r s{color:#8a95ab;margin-right:6px;}
.cx-more{margin:6px 0 0;}
.cx-more summary{list-style:none;cursor:pointer;font-size:13.5px;color:#c9d1e0;padding:6px 0;display:flex;align-items:center;gap:8px;}
.cx-more summary::-webkit-details-marker{display:none;}
.cx-more summary::before{content:'';width:0;height:0;border-left:6px solid #c9d1e0;border-top:4px solid transparent;border-bottom:4px solid transparent;transition:transform .15s;}
.cx-more[open] summary::before{transform:rotate(90deg);}
.cx-more summary small{color:#8a95ab;font-size:12px;}
.cx-more ul{margin:4px 0 4px 14px;padding:0;font-size:13px;color:#aab4c8;line-height:1.75;}
.cx-addon{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:6px 0;border:1px solid rgba(255,255,255,.14);border-radius:12px;cursor:pointer;transition:.15s;}
.cx-addon:hover{border-color:rgba(255,255,255,.35);}
.cx-addon input{width:18px;height:18px;accent-color:#d6e2ad;flex-shrink:0;}
.cx-addon b{display:block;color:#fff;font-size:14px;font-weight:600;}
.cx-addon small{display:block;color:#8a95ab;font-size:12px;}
.cx-addon em{margin-left:auto;font-style:normal;font-weight:700;color:#fff;white-space:nowrap;}
.cx-note{font-size:12.5px;line-height:1.55;color:#f7c35f;background:rgba(247,195,95,.08);border:1px solid rgba(247,195,95,.25);border-radius:10px;padding:9px 11px;margin-top:12px;}
.cx-note a{color:#f7c35f;font-weight:700;}
.cx-note.quiet{color:#aab4c8;background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12);}
.cx-btns{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:20px;}
.cx-go{display:block;text-align:center;background:#d6e2ad;color:#1F2A44;border-radius:10px;padding:14px 10px;font-weight:700;font-size:14.5px;text-decoration:none;transition:.15s;white-space:nowrap;}
.cx-go:hover{background:#e2ecbd;}
.cx-print{background:transparent;color:#e8ecf5;border:1px solid rgba(255,255,255,.28);border-radius:10px;padding:0 14px;font-family:inherit;font-weight:600;font-size:13.5px;cursor:pointer;}
.cx-print:hover{border-color:#fff;}
.cx-printonly{display:none;}
.cx-select{display:none;width:100%;appearance:none;-webkit-appearance:none;border:1.5px solid #e2ddd0;border-radius:10px;background:#fcfbf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F2A44' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding:12px 40px 12px 14px;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;font-weight:700;color:#1F2A44;cursor:pointer;}
.cx-select:focus{outline:none;border-color:#0f8b6f;background-color:#fff;box-shadow:0 0 0 3px rgba(15,139,111,.12);}
.cx-wa{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;color:#d6e2ad;font-size:13.5px;font-weight:700;text-decoration:none;padding:9px;border-radius:10px;border:1px solid rgba(214,226,173,.3);}
.cx-wa:hover{border-color:#d6e2ad;}
.cx-mwa{display:none;}
.cx-trust{list-style:none;margin:0 0 22px;padding:0;grid-template-columns:repeat(4,1fr);gap:10px;}
.cx-trust li{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e7e3d8;border-radius:12px;padding:11px 12px;font-size:13px;font-weight:600;color:#1F2A44;line-height:1.35;}
.cx-trust i{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#e8f2ec;color:#2f6b4f;font-style:normal;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.cx-mini{display:none;}
.cx-bd > summary{display:none;}
.cx-how p{font-size:13px;line-height:1.6;color:#aab4c8;margin:4px 0 8px;}
.cx-how b{color:#e8ecf5;}
.cx-mcta{display:none;}
.cx-other{display:none;}
.cx-stamp{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.cx-stamp button{position:relative;border:1.5px solid #e2ddd0;background:#fff;border-radius:12px;padding:10px 4px 8px;cursor:pointer;font-family:inherit;text-align:center;}
.cx-stamp button.on{border-color:#1F2A44;background:#1F2A44;color:#fff;}
.cx-stamp b{display:block;font-size:16px;}
.cx-stamp small{display:block;font-size:10.5px;color:#94a3b8;margin-top:2px;}
.cx-stamp button.on small{color:#c9d1e0;}
.cx-stamp i{position:absolute;top:-8px;left:50%;transform:translateX(-50%);background:#16a34a;color:#fff;font-family:inherit;font-weight:800;font-size:9px;line-height:1;font-style:normal;padding:3px 7px;border-radius:999px;white-space:nowrap;letter-spacing:.04em;}
@media(max-width:900px){
  .cx{display:flex;flex-direction:column;align-items:stretch;gap:10px;}
  .cx > *{width:100%;min-width:0;box-sizing:border-box;}
  .cx-out{order:-1;position:static;border-radius:14px;padding:12px 14px 10px;-webkit-mask:none;mask:none;
          background:linear-gradient(180deg,#eef7ea 0%,#e1f0da 100%);color:#1F2A44;border:1px solid #c9e2bf;box-shadow:0 4px 14px rgba(47,107,79,.08);}
  .cx-cap{font-size:12px;color:#64748b;}
  .cx-total{font-size:26px;margin:0;line-height:1.15;color:#1F2A44;font-weight:800;}
  .cx-mini{display:block;font-size:12px;color:#64748b;margin-top:1px;}
  .cx-bd{margin-top:8px;}
  .cx-bd > summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;
          font-size:12.5px;font-weight:700;color:#2f6b4f;padding:7px 11px;border:1px solid #c3dcb8;background:rgba(255,255,255,.65);border-radius:9px;}
  .cx-bd > summary::-webkit-details-marker{display:none;}
  .cx-bd > summary::after{content:'';width:6px;height:6px;border-right:2px solid #2f6b4f;border-bottom:2px solid #2f6b4f;transform:rotate(45deg);margin-top:-4px;transition:transform .15s;}
  .cx-bd[open] > summary::after{transform:rotate(225deg);margin-top:3px;}
  .cx-bd[open] > summary{color:#1F2A44;}
  .cx-hr{border-top-color:#c9e2bf;}
  .cx-r{color:#475569;}
  .cx-r.sub{color:#1F2A44;}
  .cx-r.hint,.cx-r s{color:#94a3b8;}
  .cx-more summary{color:#475569;}
  .cx-more summary::before{border-left-color:#475569;}
  .cx-more summary small{color:#94a3b8;}
  .cx-more ul,.cx-how p{color:#64748b;}
  .cx-how b{color:#1F2A44;}
  .cx-addon{border-color:#e7e3d8;}
  .cx-addon b,.cx-addon em{color:#1F2A44;}
  .cx-addon small{color:#94a3b8;}
  .cx-note{color:#92400e;background:#fffbeb;border-color:#fde68a;}
  .cx-note a{color:#92400e;}
  .cx-note.quiet{color:#64748b;background:#f8fafc;border-color:#e2e8f0;}
  #cxCities{display:none !important;}
  .cx-select{display:block;}
  .cx-hr{margin:10px 0;}
  .cx-r{font-size:13.5px;padding:3px 0;}
  .cx-btns{display:none;}
  .cx-note{font-size:12px;margin-top:8px;}
  .cx-in{padding:14px 14px 14px;border-radius:16px;}
  .cx-step{padding-top:0;margin-top:12px;border-top:none;}
  .cx-lbl{margin-bottom:6px;font-size:11px;letter-spacing:.06em;}
  .cx-lbl small{display:none;}
  #cxCities{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -14px;padding:0 14px 2px;gap:6px;}
  #cxCities::-webkit-scrollbar{display:none;}
  #cxCities .cx-chip{flex:0 0 auto;padding:8px 13px;font-size:13px;}
  .cx-money{border-radius:10px;padding:0 12px;background:#fff;border:1px solid #d6dae1;}
  .cx-money span{font-size:16px;font-weight:500;}
  .cx-money input{font-size:17px;font-weight:600;padding:12px 0;}
  .cx-select{background-color:#fff;border:1px solid #d6dae1;font-size:16px;font-weight:600;padding:12px 40px 12px 12px;}
  .cx-money em{font-size:12px;}
  .cx-range,#fieldDeposit .cx-row2{display:none;}
  #fieldRentType{margin-top:6px;}
  #fieldRentType .cx-link{font-size:12px;}
  #fieldDuration .cx-row2{margin-top:0;}
  #cxDurs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;margin:0 -14px;padding:0 14px 2px;gap:6px;}
  #cxDurs::-webkit-scrollbar{display:none;}
  #cxDurs .cx-chip{padding:8px 12px;font-size:13px;flex:0 0 auto;white-space:nowrap;}
  #fieldDuration .cx-months{display:none;}
  #fieldDuration.show-months .cx-months{display:flex;margin-top:8px;}
  .cx-other{display:inline-block;}
  #fieldDuration.show-months .cx-other{background:#1F2A44;color:#fff;border-color:#1F2A44;}
  .cx-row2{min-width:0;}
  .cx-stamp button{padding:7px 4px 6px;}
  .cx-stamp b{font-size:14.5px;}
  .cx-mcta{display:block;margin-top:14px;background:#1F2A44;color:#fff;font-size:15px;padding:14px 12px;border-radius:11px;}
  .cx-mcta:hover{background:#2c3a5c;}
  .cx-mwa{display:flex;color:#15803d;border-color:#bbf7d0;background:#f0fdf4;margin-top:8px;}
  #cxWa{display:none;}
  .cx-trust{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;}
  .cx-trust li{font-size:12.5px;padding:10px;}
}
@media print{
  body *{visibility:hidden !important;}
  #estimate,#estimate *{visibility:visible !important;}
  #estimate{position:absolute;left:0;top:0;width:100%;-webkit-mask:none;mask:none;background:#fff !important;color:#111 !important;border:1px solid #999;border-radius:8px;}
  #estimate .cx-total,#estimate .cx-r,#estimate .cx-r.sub,#estimate .cx-cap{color:#111 !important;}
  #estimate .cx-btns,#estimate #vasSection,#estimate .cx-more{display:none !important;}
  #estimate .cx-hr{border-color:#999;}
  .cx-printonly{display:block !important;font-size:12px;color:#333;margin-top:14px;line-height:1.6;}
}
