    * {
      box-sizing: border-box
    }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: #f6f7fb;
      color: #111;
    }

    .loan-wrap {
      padding: 28px 16px
    }

    .loan-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      gap: 18px;
      grid-template-columns: 360px 1fr;
      align-items: start;
    }

    .card {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 14px;
      box-shadow: 0 6px 18px rgba(20, 20, 40, .06);
      overflow: hidden;
    }

    .card-head {
      padding: 18px 18px 10px;
      border-bottom: 1px solid #f0f0f0;
    }

    .card-head h2 {
      margin: 0 0 6px;
      font-size: 18px
    }

    .card-head p {
      margin: 0;
      color: #666;
      font-size: 13px
    }

    /* LEFT: BANK LIST */
    .bank-table {
      padding: 8px 0
    }

    .bank-row {
      display: grid;
      grid-template-columns: 1fr 110px;
      gap: 12px;
      padding: 13px 16px;
      border-top: 1px solid #f2f2f2;
    }

    .bank-head {
      font-weight: 700;
      color: #333;
      background: #fafafa
    }

    .bank-item {
      width: 100%;
      text-align: left;
      background: #fff;
      border: 0;
      cursor: pointer;
    }

    .bank-item:hover {
      background: #fbfbff
    }

    .bank-name {
      display: flex;
      align-items: center;
      gap: 10px
    }

    .bank-name img {
      width: 34px;
      height: 34px;
      object-fit: contain;
      border-radius: 8px;
      background: #fff;
      border: 1px solid #f0f0f0;
    }

    .right {
      text-align: right
    }

    .hint {
      padding: 12px 16px;
      color: #666;
      font-size: 12px;
      border-top: 1px solid #f2f2f2;
    }

    /* RIGHT: EMI */
    .emi-grid {
      display: grid;
      gap: 18px;
      grid-template-columns: 1.1fr .9fr;
      padding: 16px;
    }

    .emi-controls .field {
      padding: 12px 0;
      border-bottom: 1px solid #f2f2f2;
    }

    .emi-controls label {
      display: block;
      font-weight: 700;
      font-size: 13px;
      margin-bottom: 10px;
    }

    .emi-controls select,
    .emi-controls input[type="number"] {
      width: 100%;
      height: 44px;
      border: 1px solid #e4e4e4;
      border-radius: 10px;
      padding: 0 12px;
      font-size: 15px;
      outline: none;
    }

    .emi-controls select:focus,
    .emi-controls input[type="number"]:focus {
      border-color: #6d28d9;
      box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.12);
    }

    .emi-controls input[type="range"] {
      width: 100%
    }

    .input-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }

    .meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 8px;
      color: #666;
      font-size: 12px;
    }

    .meta strong {
      color: #111;
      font-size: 13px
    }

    .emi-result {
      border-left: 1px solid #f0f0f0;
      padding-left: 16px;
    }

    .emi-top {
      padding: 10px 0 12px
    }

    .kicker {
      color: #666;
      font-size: 13px
    }

    .emi-amt {
      font-size: 34px;
      font-weight: 800;
      letter-spacing: .2px
    }

    .chart-box {
      border: 1px solid #f0f0f0;
      border-radius: 14px;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #fff;
    }

    .breakup {
      padding: 12px 0 0;
      display: grid;
      gap: 10px;
    }

    .brow {
      display: flex;
      gap: 10px;
      align-items: flex-start
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      margin-top: 6px
    }

    .dot.interest {
      background: #6d28d9
    }

    .dot.principal {
      background: #312e81
    }

    .dot.fee {
      background: #fb7185
    }

    .btxt .lbl {
      color: #666;
      font-size: 12px
    }

    .btxt .val {
      font-weight: 800
    }

    .note {
      margin-top: 10px;
      font-size: 12px;
      color: #777;
      line-height: 1.4;
    }

    @media (max-width: 980px) {
      .loan-grid {
        grid-template-columns: 1fr
      }

      .emi-grid {
        grid-template-columns: 1fr
      }

      .emi-result {
        border-left: 0;
        border-top: 1px solid #f0f0f0;
        padding-left: 0;
        padding-top: 16px;
      }
    }

    .dot.total {
      background: #111;
    }

    .total-payable {
      border-top: 1px solid #eee;
      margin-top: 10px;
      padding-top: 10px;
    }