@scope (#original-content) {

    #hm-heloc-payment-calculator,
    #hm-heloc-payment-calculator * {
      box-sizing: border-box;
    }

    #hm-heloc-payment-calculator {
      --hm-primary: #2563eb;
      --hm-primary-dark: #1d4ed8;
      --hm-green: #16a34a;
      --hm-orange: #ea580c;
      --hm-red: #dc2626;
      --hm-bg: #ffffff;
      --hm-card: #ffffff;
      --hm-soft-blue: #eff6ff;
      --hm-soft-green: #ecfdf5;
      --hm-soft-yellow: #fffbeb;
      --hm-soft-red: #fef2f2;
      --hm-border: #dbeafe;
      --hm-text: #0f172a;
      --hm-muted: #475569;
      --hm-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
      background: #ffffff;
      color: var(--hm-text);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.7;
      padding: 24px 16px;
    }

    #hm-heloc-payment-calculator .hm-wrap {
      max-width: 1180px;
      margin: 0 auto;
    }

    #hm-heloc-payment-calculator .hm-seo-meta {
      background: #f8fafc;
      border: 1px dashed #94a3b8;
      border-radius: 18px;
      padding: 18px;
      margin-bottom: 24px;
    }

    #hm-heloc-payment-calculator .hm-seo-meta p {
      margin: 8px 0;
      font-size: 15px;
      color: #334155;
      font-weight: 700;
    }

    #hm-heloc-payment-calculator .hm-hero {
      background: linear-gradient(135deg, #eff6ff 0%, #ffffff 48%, #ecfdf5 100%);
      border: 1px solid var(--hm-border);
      border-radius: 28px;
      padding: 34px;
      box-shadow: var(--hm-shadow);
      margin-bottom: 24px;
    }

    #hm-heloc-payment-calculator .hm-kicker {
      display: inline-flex;
      align-items: center;
      background: #ffffff;
      border: 1px solid #bfdbfe;
      color: #1d4ed8;
      padding: 8px 14px;
      border-radius: 999px;
      font-weight: 900;
      font-size: 14px;
      margin-bottom: 16px;
    }

    #hm-heloc-payment-calculator h1,
    #hm-heloc-payment-calculator h2,
    #hm-heloc-payment-calculator h3 {
      color: #0f172a;
      line-height: 1.25;
      margin: 0 0 14px;
      font-weight: 900;
    }

    #hm-heloc-payment-calculator h1 {
      font-size: clamp(32px, 5vw, 56px);
      letter-spacing: -0.04em;
    }

    #hm-heloc-payment-calculator h2 {
      font-size: clamp(25px, 3vw, 38px);
      margin-top: 34px;
    }

    #hm-heloc-payment-calculator h3 {
      font-size: clamp(20px, 2vw, 26px);
      margin-top: 24px;
    }

    #hm-heloc-payment-calculator p,
    #hm-heloc-payment-calculator li {
      color: var(--hm-muted);
      font-size: 17px;
      font-weight: 600;
    }

    #hm-heloc-payment-calculator .hm-hero p {
      max-width: 900px;
      font-size: 18px;
    }

    #hm-heloc-payment-calculator .hm-grid {
      
      grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
      gap: 22px;
      align-items: start;
      margin: 24px 0;
    }

    #hm-heloc-payment-calculator .hm-card {
      background: var(--hm-card);
      border: 1px solid var(--hm-border);
      border-radius: 24px;
      padding: 24px;
      box-shadow: var(--hm-shadow);
    }

    #hm-heloc-payment-calculator .hm-input-row {
      margin-bottom: 18px;
    }

    #hm-heloc-payment-calculator label {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      color: #111827;
      font-weight: 900;
      margin-bottom: 8px;
      font-size: 15px;
    }

    #hm-heloc-payment-calculator .hm-hint {
      font-size: 13px;
      color: #64748b;
      font-weight: 700;
      text-align: right;
    }

    #hm-heloc-payment-calculator input,
    #hm-heloc-payment-calculator select {
      width: 100%;
     
      border: 1px solid #bfdbfe;
      border-radius: 14px;
      font-size: 16px;
      font-weight: 800;
      color: #0f172a;
      background: #ffffff;
      outline: none;
    }

    #hm-heloc-payment-calculator input:focus,
    #hm-heloc-payment-calculator select:focus {
      border-color: var(--hm-primary);
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

    #hm-heloc-payment-calculator .hm-two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    #hm-heloc-payment-calculator .hm-btns {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 18px;
    }

    #hm-heloc-payment-calculator button {
      border: 0;
      border-radius: 14px;
      padding: 14px 18px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 900;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #hm-heloc-payment-calculator button:hover {
      transform: translateY(-1px);
    }

    #hm-heloc-payment-calculator .hm-primary-btn {
      background: var(--hm-primary);
      color: #ffffff;
      box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
    }

    #hm-heloc-payment-calculator .hm-secondary-btn {
      background: #e0f2fe;
      color: #075985;
    }

    #hm-heloc-payment-calculator .hm-result-box {
      display: grid;
      gap: 14px;
    }

    #hm-heloc-payment-calculator .hm-result-item {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 18px;
      padding: 16px;
    }

    #hm-heloc-payment-calculator .hm-result-label {
      color: #475569;
      font-size: 14px;
      font-weight: 900;
      margin-bottom: 4px;
    }

    #hm-heloc-payment-calculator .hm-result-value {
      color: #0f172a;
      font-size: clamp(22px, 3vw, 32px);
      font-weight: 900;
      letter-spacing: -0.03em;
    }

    #hm-heloc-payment-calculator .hm-result-note {
      font-size: 13px;
      color: #64748b;
      font-weight: 700;
      margin-top: 5px;
    }

    #hm-heloc-payment-calculator .hm-status {
      border-radius: 16px;
      padding: 14px 16px;
      font-weight: 900;
      margin-top: 12px;
      border: 1px solid transparent;
    }

    #hm-heloc-payment-calculator .hm-status.good {
      background: var(--hm-soft-green);
      color: #166534;
      border-color: #bbf7d0;
    }

    #hm-heloc-payment-calculator .hm-status.warn {
      background: var(--hm-soft-yellow);
      color: #92400e;
      border-color: #fde68a;
    }

    #hm-heloc-payment-calculator .hm-status.bad {
      background: var(--hm-soft-red);
      color: #991b1b;
      border-color: #fecaca;
    }

    #hm-heloc-payment-calculator .hm-chart-wrap {
      margin-top: 20px;
      background: #ffffff;
      border: 1px solid #dbeafe;
      border-radius: 20px;
      padding: 18px;
      overflow-x: auto;
    }

    #hm-heloc-payment-calculator canvas {
      width: 100%;
      min-height: 280px;
    }

    #hm-heloc-payment-calculator .hm-table-wrap {
      overflow-x: auto;
      border: 1px solid #dbeafe;
      border-radius: 18px;
      margin-top: 18px;
    }

    #hm-heloc-payment-calculator table {
      width: 100%;
      border-collapse: collapse;
      min-width: 820px;
      background: #ffffff;
    }

    #hm-heloc-payment-calculator th,
    #hm-heloc-payment-calculator td {
      padding: 13px 14px;
      text-align: right;
      border-bottom: 1px solid #e5e7eb;
      font-weight: 800;
      color: #334155;
    }

    #hm-heloc-payment-calculator th:first-child,
    #hm-heloc-payment-calculator td:first-child {
      text-align: left;
    }

    #hm-heloc-payment-calculator th {
      background: #eff6ff;
      color: #1e3a8a;
      font-size: 14px;
      font-weight: 900;
    }

    #hm-heloc-payment-calculator .hm-formula {
      background: #f8fafc;
      border-left: 5px solid var(--hm-primary);
      border-radius: 16px;
      padding: 18px;
      margin: 18px 0;
      overflow-x: auto;
    }

    #hm-heloc-payment-calculator .hm-highlight {
      background: var(--hm-soft-yellow);
      border: 1px solid #fde68a;
      border-radius: 20px;
      padding: 20px;
      margin: 22px 0;
    }

    #hm-heloc-payment-calculator .hm-info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin: 22px 0;
    }

    #hm-heloc-payment-calculator .hm-info {
      border: 1px solid #dbeafe;
      border-radius: 20px;
      padding: 18px;
      background: #ffffff;
    }

    #hm-heloc-payment-calculator .hm-info strong {
      display: block;
      color: #0f172a;
      font-size: 18px;
      margin-bottom: 8px;
      font-weight: 900;
    }

    #hm-heloc-payment-calculator .hm-faq details {
      border: 1px solid #dbeafe;
      border-radius: 18px;
      padding: 16px 18px;
      background: #ffffff;
      margin-bottom: 12px;
    }

    #hm-heloc-payment-calculator .hm-faq summary {
      cursor: pointer;
      color: #0f172a;
      font-weight: 900;
      font-size: 18px;
    }

    #hm-heloc-payment-calculator .hm-disclaimer {
      background: #fff7ed;
      border: 1px solid #fed7aa;
      color: #9a3412;
      border-radius: 18px;
      padding: 18px;
      font-weight: 800;
      margin-top: 22px;
    }

    @media (max-width: 900px) {
      #hm-heloc-payment-calculator .hm-grid {
        grid-template-columns: 1fr;
      }

      #hm-heloc-payment-calculator .hm-info-grid {
        grid-template-columns: 1fr;
      }

      #hm-heloc-payment-calculator .hm-hero,
      #hm-heloc-payment-calculator .hm-card {
        padding: 22px;
      }
    }

    @media (max-width: 640px) {
      #hm-heloc-payment-calculator {
        padding: 14px 10px;
      }

      #hm-heloc-payment-calculator .hm-two-col {
        grid-template-columns: 1fr;
      }

      #hm-heloc-payment-calculator .hm-btns {
        flex-direction: column;
      }

      #hm-heloc-payment-calculator button {
        width: 100%;
      }

      #hm-heloc-payment-calculator p,
      #hm-heloc-payment-calculator li {
        font-size: 16px;
      }

      #hm-heloc-payment-calculator label {
        flex-direction: column;
      }

      #hm-heloc-payment-calculator .hm-hint {
        text-align: left;
      }
    }
  
}
