@scope (#original-content) {

    #amortCalcSection *{box-sizing:border-box}
    #amortCalcSection .am-wrap{max-width:1280px;margin:0 auto;padding:24px}
    #amortCalcSection .am-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:20px;align-items:start}
    #amortCalcSection .am-panel{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid var(--am-line);border-radius:20px;box-shadow:0 10px 30px rgba(2,8,23,.06)}
    #amortCalcSection .am-copy{padding:28px}
    #amortCalcSection .am-copy h1{margin:0 0 12px;font-size:clamp(28px,4vw,42px);line-height:1.1;letter-spacing:-.02em}
    #amortCalcSection .am-copy p{margin:0 0 14px;color:var(--am-muted);font-size:16px;line-height:1.7}
    #amortCalcSection .am-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
    #amortCalcSection .am-badge{padding:8px 12px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:13px;font-weight:700}
    #amortCalcSection .am-form{padding:22px}
    #amortCalcSection .am-form h2,#amortCalcSection .am-section h2{margin:0 0 12px;font-size:24px;line-height:1.2}
    #amortCalcSection .am-form p,#amortCalcSection .am-section p{margin:0 0 14px;color:var(--am-muted);line-height:1.7}
    #amortCalcSection .am-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    #amortCalcSection .am-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
    #amortCalcSection .am-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
    #amortCalcSection .am-field{display:flex;flex-direction:column;gap:8px}
    #amortCalcSection .am-field label{font-size:13px;font-weight:800;color:var(--am-text);letter-spacing:.01em}
    #amortCalcSection .am-field input,
    #amortCalcSection .am-field select{width:100%;min-height:48px;border:1px solid var(--am-line);border-radius:14px;padding:12px 14px;background:#fff;color:var(--am-text);font-size:15px;outline:none;transition:.2s ease}
    #amortCalcSection .am-field input:focus,
    #amortCalcSection .am-field select:focus{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.12)}
    #amortCalcSection .am-inline{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
    #amortCalcSection .am-help{font-size:12px;color:var(--am-muted);line-height:1.5}
    #amortCalcSection .am-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
    #amortCalcSection .am-btn{appearance:none;border:0;border-radius:14px;padding:12px 16px;font-size:14px;font-weight:800;cursor:pointer;transition:.2s ease}
    #amortCalcSection .am-btn-primary{background:linear-gradient(135deg,var(--am-accent),var(--am-accent2));color:#fff}
    #amortCalcSection .am-btn-secondary{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
    #amortCalcSection .am-btn-ghost{background:#fff;color:var(--am-text);border:1px solid var(--am-line)}
    #amortCalcSection .am-btn:hover{transform:translateY(-1px)}
    #amortCalcSection details{margin-top:14px;border:1px solid var(--am-line);border-radius:16px;background:#fff}
    #amortCalcSection summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:800}
    #amortCalcSection summary::-webkit-details-marker{display:none}
    #amortCalcSection .am-advanced{padding:0 16px 16px}
    #amortCalcSection .am-note{margin-top:14px;padding:12px 14px;border-radius:14px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:13px;line-height:1.6}
    #amortCalcSection .am-results{margin-top:20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
    #amortCalcSection .am-card{padding:18px;border-radius:18px;background:var(--am-card);border:1px solid var(--am-line)}
    #amortCalcSection .am-card .am-k{display:block;font-size:12px;font-weight:800;color:var(--am-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
    #amortCalcSection .am-card .am-v{display:block;font-size:24px;font-weight:900;line-height:1.2}
    #amortCalcSection .am-card small{display:block;margin-top:8px;color:var(--am-muted);line-height:1.5}
    #amortCalcSection .am-card.am-primary{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border-color:#bfdbfe}
    #amortCalcSection .am-card.am-success{background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);border-color:#a7f3d0}
    #amortCalcSection .am-card.am-warning{background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);border-color:#fdba74}
    #amortCalcSection .am-section{margin-top:20px;padding:22px}
    #amortCalcSection .am-toolbar{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:14px}
    #amortCalcSection .am-toolbar-left,#amortCalcSection .am-toolbar-right{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
    #amortCalcSection .am-pillset{display:flex;gap:8px;flex-wrap:wrap}
    #amortCalcSection .am-pill{border:1px solid var(--am-line);background:#fff;color:var(--am-text);padding:10px 12px;border-radius:999px;font-size:13px;font-weight:800;cursor:pointer}
    #amortCalcSection .am-pill.active{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
    #amortCalcSection .am-table-wrap{overflow:auto;border:1px solid var(--am-line);border-radius:18px;background:#fff}
    #amortCalcSection table{width:100%;border-collapse:collapse;min-width:860px}
    #amortCalcSection th,#amortCalcSection td{padding:12px 14px;border-bottom:1px solid #e7edf5;text-align:left;font-size:14px;white-space:nowrap}
    #amortCalcSection th{position:sticky;top:0;background:#f8fafc;z-index:1;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--am-muted)}
    #amortCalcSection tr:hover td{background:#fbfdff}
    #amortCalcSection .am-canvas-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
    #amortCalcSection .am-chart-card{padding:16px;border-radius:18px;background:#fff;border:1px solid var(--am-line)}
    #amortCalcSection .am-chart-card h3{margin:0 0 8px;font-size:16px}
    #amortCalcSection .am-chart-card p{margin:0 0 12px;color:var(--am-muted);font-size:13px;line-height:1.6}
    #amortCalcSection canvas{width:100%;height:260px;display:block}
    #amortCalcSection .am-milestones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
    #amortCalcSection .am-milestone{padding:16px;border-radius:18px;background:#fff;border:1px solid var(--am-line)}
    #amortCalcSection .am-milestone strong{display:block;font-size:14px;margin-bottom:6px}
    #amortCalcSection .am-milestone span{display:block;color:var(--am-muted);font-size:13px;line-height:1.6}
    #amortCalcSection .am-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
    #amortCalcSection .am-compare .am-card .am-v{font-size:20px}
    #amortCalcSection .am-foot{margin-top:20px;padding:16px 18px;border-radius:18px;background:#f8fafc;border:1px solid var(--am-line);font-size:13px;line-height:1.7;color:var(--am-muted)}
    #amortCalcSection .am-mini{font-size:12px;color:var(--am-muted)}
    #amortCalcSection .am-empty{padding:18px;color:var(--am-muted)}
    #amortCalcSection .am-error{margin-top:14px;padding:12px 14px;border-radius:14px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:13px;display:none}
    @media (max-width:1100px){
      #amortCalcSection .am-hero{grid-template-columns:1fr}
      #amortCalcSection .am-results{grid-template-columns:repeat(2,minmax(0,1fr))}
      #amortCalcSection .am-canvas-grid{grid-template-columns:1fr}
      #amortCalcSection .am-milestones{grid-template-columns:repeat(2,minmax(0,1fr))}
      #amortCalcSection .am-compare{grid-template-columns:1fr}
      #amortCalcSection .am-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:720px){
      #amortCalcSection .am-wrap{padding:14px}
      #amortCalcSection .am-copy,#amortCalcSection .am-form,#amortCalcSection .am-section{padding:16px}
      #amortCalcSection .am-grid,#amortCalcSection .am-grid-3,#amortCalcSection .am-grid-4{grid-template-columns:1fr}
      #amortCalcSection .am-results{grid-template-columns:1fr}
      #amortCalcSection .am-milestones{grid-template-columns:1fr}
      #amortCalcSection .am-toolbar{align-items:flex-start}
      #amortCalcSection .am-card .am-v{font-size:22px}
    }
    @media print{
      #amortCalcSection .am-actions,
      #amortCalcSection .am-toolbar-right,
      #amortCalcSection .am-pillset,
      #amortCalcSection details,
      #amortCalcSection .am-canvas-grid,
      #amortCalcSection .am-milestones,
      #amortCalcSection .am-compare,
      #amortCalcSection .am-foot{display:none !important}
      #amortCalcSection .am-panel,
      #amortCalcSection .am-card,
      #amortCalcSection .am-section{box-shadow:none !important}
    }
  
}
