/* Credit Crawler free calculators */
.cc-calc { --cc-navy: #0f2b46; --cc-blue: #00a6ca; --cc-line: #dde7ec; --cc-soft: #f2f8fa; --cc-ink: #1d2b36; --cc-muted: #5b6b78; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--cc-ink); background: #fff; border: 1px solid var(--cc-line); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 22px; box-shadow: 0 10px 30px rgba(15, 43, 70, .06); }
.cc-calc *, .cc-calc *::before, .cc-calc *::after { box-sizing: border-box; }
.cc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.cc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.cc-form, .cc-out { min-width: 0; }
.cc-field.wide { grid-column: 1 / -1; }
.cc-field[hidden] { display: none; }
.cc-lbl { font-weight: 700; font-size: 14px; color: var(--cc-navy); }
.cc-field small { color: var(--cc-muted); font-size: 12px; line-height: 1.35; }
.cc-inp { display: flex; align-items: stretch; border: 1.5px solid var(--cc-line); border-radius: 10px; background: #fff; overflow: hidden; }
.cc-inp:focus-within, .cc-field select:focus { border-color: var(--cc-blue); box-shadow: 0 0 0 3px rgba(0, 166, 202, .15); outline: none; }
.cc-inp span { display: flex; align-items: center; padding: 0 10px; background: var(--cc-soft); color: var(--cc-muted); font-size: 14px; white-space: nowrap; }
.cc-inp input { flex: 1; min-width: 0; border: 0; padding: 12px; font-size: 16px; font-family: inherit; color: var(--cc-ink); background: transparent; }
.cc-inp input:focus { outline: none; }
.cc-field select { width: 100%; border: 1.5px solid var(--cc-line); border-radius: 10px; padding: 12px; font-size: 16px; font-family: inherit; background: #fff; color: var(--cc-ink); min-height: 48px; }
.cc-out { background: var(--cc-soft); border-radius: 14px; padding: 20px; align-self: start; }
.cc-big span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cc-muted); }
.cc-big b { display: block; font-size: clamp(32px, 6vw, 44px); line-height: 1.1; color: var(--cc-navy); margin: 4px 0 14px; font-weight: 800; }
.cc-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #e6eef2; margin-bottom: 14px; }
.cc-bar i { display: block; height: 100%; }
.cc-bar .c0 { background: #0f2b46; } .cc-bar .c1 { background: #00a6ca; } .cc-bar .c2 { background: #ffd200; } .cc-bar .c3 { background: #7fb8c9; } .cc-bar .c4 { background: #b9c7d1; }
.cc-rows { margin: 0; }
.cc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--cc-line); }
.cc-rows div:last-child { border-bottom: 0; }
.cc-rows dt { color: var(--cc-muted); font-size: 14px; }
.cc-rows dd { margin: 0; font-weight: 700; color: var(--cc-navy); text-align: right; }
.cc-notes { margin: 12px 0 0; padding-left: 18px; color: var(--cc-muted); font-size: 13px; line-height: 1.45; }
.cc-notes li { margin: 4px 0; }
.cc-verdict { border-radius: 12px; padding: 14px 16px; background: #fff; border-left: 5px solid var(--cc-blue); }
.cc-verdict.ok { border-left-color: #1e9e52; } .cc-verdict.warn { border-left-color: #e0a100; }
.cc-verdict b { display: block; font-size: 18px; color: var(--cc-navy); }
.cc-verdict p { margin: 8px 0 0; font-size: 14px; }
.cc-more { margin: 12px 0 0; font-size: 14px; }
.cc-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-share { appearance: none; border: 1.5px solid var(--cc-navy); background: #fff; color: var(--cc-navy); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; min-height: 44px; }
.cc-share:hover { background: var(--cc-navy); color: #fff; }
.cc-copied { color: #1e6b34; font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .cc-calc { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; border-radius: 14px; } }
@media (max-width: 420px) { .cc-form { grid-template-columns: minmax(0, 1fr); } }
/* Free Tools hub cards */
.ccs-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ccs-tool { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #dde7ec; border-radius: 16px; padding: 22px; text-decoration: none !important; color: #1d2b36 !important; transition: border-color .15s, transform .15s; }
.ccs-tool:hover { border-color: #00a6ca; transform: translateY(-2px); }
.ccs-tool .ic { width: 48px; height: 48px; border-radius: 12px; background: #e6f7fb; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ccs-tool b { font-size: 1.2em; color: #0f2b46; }
.ccs-tool span.go { margin-top: auto; font-weight: 700; color: #0089a8; }
.ccs-embed-box { background: #f2f8fa; border: 1px solid #dde7ec; border-radius: 14px; padding: 18px 20px; margin-top: 26px; }
.ccs-embed-box textarea { width: 100%; min-height: 110px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; border: 1px solid #dde7ec; border-radius: 10px; padding: 10px; background: #fff; }
.ccs-calc-how { margin: 0 0 22px; max-width: 820px; }
.ccs-calc-how h2 { margin-top: 0; }
/* Mortgage report: amortization, PDF and email */
.cc-report { grid-column: 1 / -1; border-top: 1px solid var(--cc-line); padding-top: 18px; display: grid; gap: 14px; min-width: 0; }
.cc-report-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-calc .cc-btn { appearance: none; border: 1.5px solid var(--cc-navy); background: var(--cc-navy); color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; min-height: 44px; }
.cc-calc .cc-btn:hover, .cc-calc .cc-btn:focus { background: #163b5f; border-color: #163b5f; color: #fff; }
.cc-calc .cc-btn.ghost { background: #fff; color: var(--cc-navy); }
.cc-calc .cc-btn.ghost:hover, .cc-calc .cc-btn.ghost:focus { background: var(--cc-soft); color: var(--cc-navy); }
.cc-calc .cc-btn:disabled { opacity: .6; cursor: wait; }
.cc-email { background: var(--cc-soft); border-radius: 14px; padding: 16px; display: grid; gap: 8px; max-width: 560px; }
.cc-email[hidden], .cc-am[hidden] { display: none; }
.cc-email-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-email-row input { flex: 1 1 220px; min-width: 0; border: 1.5px solid var(--cc-line); border-radius: 10px; padding: 12px; font-size: 16px; font-family: inherit; }
.cc-email-row input:focus { border-color: var(--cc-blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 166, 202, .15); }
.cc-email small { color: var(--cc-muted); font-size: 12px; }
.cc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cc-em-msg { margin: 0; font-size: 14px; min-height: 1em; }
.cc-em-msg.ok { color: #13734b; font-weight: 600; }
.cc-em-msg.err { color: #b42318; font-weight: 600; }
.cc-am { min-width: 0; }
.cc-am-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cc-am-head h3 { margin: 0; font-size: 18px; color: var(--cc-navy); }
.cc-seg { display: inline-flex; border: 1.5px solid var(--cc-navy); border-radius: 999px; overflow: hidden; }
.cc-calc .cc-seg button { appearance: none; border: 0; background: #fff; color: var(--cc-navy); padding: 8px 16px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; min-height: 38px; }
.cc-calc .cc-seg button.on { background: var(--cc-navy); color: #fff; }
.cc-am-note { margin: 8px 0 10px; color: var(--cc-muted); font-size: 13px; }
.cc-am-wrap { max-height: 520px; overflow: auto; border: 1px solid var(--cc-line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.cc-calc .cc-am-table { margin: 0; border: 0; width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cc-calc .cc-am-table th, .cc-calc .cc-am-table td { border-left: 0; border-right: 0; border-top: 0; padding: 9px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--cc-line); }
.cc-am-table th:first-child { text-align: left; }
.cc-calc .cc-am-table thead th { position: sticky; top: 0; background: var(--cc-navy); color: #fff; font-size: 13px; z-index: 1; }
.cc-am-table tbody tr:nth-child(even) { background: #f6fafc; }
.cc-am-table tbody tr.yr { border-bottom: 2px solid var(--cc-blue); }
.cc-am-table tbody th { color: var(--cc-navy); }
.cc-calc .cc-am-table tfoot th, .cc-calc .cc-am-table tfoot td { position: sticky; bottom: 0; background: var(--cc-soft); font-weight: 800; color: var(--cc-navy); border-top: 2px solid var(--cc-navy); }
.cc-edu { margin: 0; color: var(--cc-muted); font-size: 12px; }
.ccs-all-tools { font-weight: 700; white-space: nowrap; }
.ccs-all-tools::after { content: " \2192"; }
@media (max-width: 520px) { .cc-calc .cc-am-table { font-size: 13px; } .cc-calc .cc-am-table th, .cc-calc .cc-am-table td { padding: 8px 9px; } .cc-calc .cc-report-btns .cc-btn { flex: 1 1 100%; } }
