/* Calculators panel: small additions on top of tools.css (same tokens, same look as the other tools). */
.cx-search { width: 100%; max-width: 460px; height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15.5px; margin-top: 16px; }
.cx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-grid .tl-card { padding: 18px; position: relative; }
.cx-grid .tl-card[hidden], .cx-sect[hidden] { display: none; }
.cx-pro { position: absolute; top: 14px; right: 14px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--warn); color: var(--warn); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.cx-sub { margin: -8px 0 14px; color: var(--ink-2); font-size: 14.5px; }
.cx-sec { margin: 22px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.cx-sec:first-child { margin-top: 0; }
.cx-rows .row { position: relative; margin: 0 0 14px; padding: 16px 16px 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }
.cx-rows .row legend { padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--brand); }
.cx-del { position: absolute; top: 6px; right: 10px; border: 0; background: none; color: var(--down); font-size: 16px; cursor: pointer; }
.cx-rows .cx-add { width: 100%; margin-bottom: 14px; }
.cx-out .tl-step { margin-bottom: 10px; }
.cx-out .tr-stats dt { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.cx-out .tr-stats dd { font-size: clamp(15px, 1.5vw, 18px); }
.cx-out .tr-stats > div.w2 { grid-column: 1 / -1; }
.cx-ring { margin-top: 14px; }
.cx-ring .ring { background: var(--bg); }
.cx-tw { margin-top: 14px; max-height: 360px; overflow: auto; }
.cx-actions { display: flex; gap: 10px; }
.cx-actions .btn { flex: 1; }
.tl-truth.bad { background: linear-gradient(135deg, #5a1e12, #c2410c); }
@media (min-width: 981px) { .cx-out { position: sticky; top: 90px; } }
@media (max-width: 900px) { .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cx-grid { grid-template-columns: 1fr; } }

/* Home-style tool tiles (same look as the home page "Money tools" tiles) */
.cx-t { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cx-t a { position: relative; min-height: 148px; }
.cx-t a[hidden] { display: none; }
.cx-t b { font-size: 15.5px; line-height: 1.25; }
.cx-t small { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cx-t .go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--a); }
.cx-t .cx-pro { position: absolute; top: 14px; right: 14px; font-style: normal; }
.cx-hic { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 10px; background: var(--a); color: #fff; vertical-align: middle; }
.cx-hic .i { width: 18px; height: 18px; }
.cx-sect .tl-h { margin: 30px 0 14px; }
@media (max-width: 1100px) { .cx-t { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cx-t { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cx-t a { min-height: 132px; padding: 14px; } }

/* Result overview */
.cx-out .seg.lg { margin-bottom: 14px; }
.cx-out .seg.lg button { padding: 0 6px; font-size: 13px; }
.cx-dec { padding: 26px 24px; text-align: center; }
.cx-dec .tl-step { color: #ffd166; margin-bottom: 8px; }
.cx-k { margin: 0; font-size: 16px; font-weight: 600; color: #cfdcff; }
.cx-big { margin: 6px 0 2px; font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #7ef0c9, #8ec5ff); -webkit-background-clip: text; background-clip: text; color: transparent; word-break: break-word; }
.cx-w { margin: 0 0 10px; color: #a9bcff; font-weight: 600; }
.cx-dec .sub { margin: 10px auto 0; max-width: 46ch; font-size: 15.5px; }
.cx-kp { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-card { margin-top: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.cx-card h3 { margin: 0 0 14px; font-size: 18px; font-weight: 700; text-align: center; }
.cx-bars { display: grid; gap: 14px; }
.cx-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 13.5px; }
.cx-bar span { color: var(--ink-2); font-weight: 600; } .cx-bar b { font-variant-numeric: tabular-nums; }
.cx-bar > div { grid-column: 1 / -1; order: 3; height: 12px; border-radius: 8px; background: var(--wash); overflow: hidden; }
.cx-bar i { display: block; height: 100%; border-radius: 8px; background: var(--brand); }
.cx-bar i.c1 { background: var(--up); } .cx-bar i.c2 { background: var(--warn); } .cx-bar i.c3 { background: #7c3aed; } .cx-bar i.neg { background: var(--down); }
.cx-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cx-list dt { color: var(--ink-2); } .cx-list dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cx-pane[hidden] { display: none; }

/* SVG charts */
.cx-cv h3 { margin: 0 0 10px; }
.cx-cv svg { display: block; width: 100%; height: auto; }
.cx-cv .gl { stroke: var(--line); stroke-dasharray: 3 5; } .cx-cv .zl { stroke: var(--mute); } .cx-cv .gd { stroke: var(--mute); stroke-dasharray: 4 4; }
.cx-cv .ax { fill: var(--mute); font-size: 11px; } .cx-cv .vl { fill: var(--ink); font-size: 11.5px; font-weight: 700; }
.cx-cv .bar { transition: opacity .15s; } .cx-cv .bar:hover { opacity: .8; }
.cx-lw { position: relative; } .cx-tip { position: absolute; top: 8px; z-index: 2; min-width: 170px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 12.5px; box-shadow: var(--shadow); pointer-events: none; }
.cx-tip[hidden] { display: none; } .cx-tip b { display: block; margin-bottom: 4px; } .cx-tip span { display: block; } .cx-tip em { font-style: normal; font-weight: 700; }
.cx-tip i, .cx-leg i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; }
.cx-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cx-csub { margin-bottom: 12px; display: flex; flex-wrap: wrap; border-radius: 16px; } .cx-csub button { height: auto; min-height: 36px; padding: 6px 12px; white-space: normal; line-height: 1.2; }
.cx-cv .ring { border: 0; background: none; }

/* ===== v3: tile colours per category, empty state, result design ===== */
.cx-sect { --a: var(--cx); }
.cx-t a { --a: var(--cx); }
.cx-t .ic { background: var(--a); }

.cx-empty { padding: 28px 24px; border: 1px dashed var(--line-2); border-radius: 24px; background: var(--wash); text-align: center; }
.cx-empty[hidden], #cx-res[hidden] { display: none; }
.cx-eic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand); }
.cx-eic .i { width: 28px; height: 28px; }
.cx-empty h2 { margin: 14px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.cx-empty > p { margin: 0 auto; max-width: 40ch; color: var(--ink-2); }
.cx-want { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.cx-want li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.cx-want i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-size: 13px; font-weight: 800; }
.cx-want b { display: block; font-size: 14.5px; } .cx-want span { font-size: 13.5px; color: var(--ink-2); }
.cx-ghost { display: flex; align-items: flex-end; justify-content: center; gap: 10px; height: 90px; margin-top: 20px; opacity: .55; }
.cx-ghost i { width: 34px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 25%, transparent)); }

.cx-dec { padding: 24px 22px; text-align: left; background: linear-gradient(135deg, #0c2459, #1d4ed8); }
.cx-dec.good { background: linear-gradient(135deg, #064e3b, #0f9d6b); }
.cx-dec.bad { background: linear-gradient(135deg, #7c2d12, #e8590c); }
.cx-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cx-badge { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cx-tool { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.7); }
.cx-k { margin: 18px 0 0; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); }
.cx-big { margin: 4px 0 0; font-size: clamp(34px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #fff; background: none; -webkit-text-fill-color: #fff; word-break: break-word; font-variant-numeric: tabular-nums; }
.cx-w { margin: 4px 0 0; font-weight: 600; color: rgba(255,255,255,.75); }
.cx-read { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.cx-read small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ffd166; }
.cx-read p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: #fff; }

.cx-h { margin: 22px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.cx-kp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cx-kp > div { padding: 14px 14px 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; background: var(--bg); }
.cx-kp .c1 { border-left-color: var(--up); } .cx-kp .c2 { border-left-color: var(--warn); } .cx-kp .c3 { border-left-color: #7c3aed; }
.cx-kp small { display: block; font-size: 12.5px; font-weight: 600; color: var(--mute); line-height: 1.3; }
.cx-kp b { display: block; margin-top: 4px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; word-break: break-word; }
.cx-muted { margin: -6px 0 14px; font-size: 13.5px; color: var(--mute); text-align: center; }
.cx-card h3 { text-align: left; }
.cx-cv h3 { text-align: center; }

.cx-list > div { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cx-list > div:last-child { border-bottom: 0; }
.cx-list dt { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.cx-list .n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-size: 11.5px; font-weight: 800; }
.cx-list dd { font-size: 15.5px; }
.cx-list .bb { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--wash); overflow: hidden; }
.cx-list .bb u { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--up)); }
#cx-info .cx-list > div { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; }
#cx-info .cx-list dd { font-size: 14.5px; }
.cx-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); } .cx-steps b { color: var(--ink); }
.cx-notes { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: 14.5px; }
#cx-info p { margin: 0; color: var(--ink-2); line-height: 1.55; }

/* business tools: add-on checkboxes, copy blocks, checkbox fields */
.cx-checks { margin: 6px 0 16px; }
.cx-x { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.cx-x label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.cx-x input[type=checkbox], .cx-chkf input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.cx-xa { display: inline-flex; align-items: center; gap: 4px; color: var(--mute); } .cx-xa input { width: 92px; height: 36px; padding: 0 8px; text-align: right; }
.cx-chkf label { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.cx-chkf input { width: 18px !important; height: 18px !important; }
.cx-block pre { margin: 0 0 12px; padding: 14px; white-space: pre-wrap; word-break: break-word; border-radius: 12px; background: var(--wash); font: 13.5px/1.55 ui-monospace, Menlo, Consolas, monospace; color: var(--ink); }

/* ===== v4: calm hub (hero card, light tiles, tidy section headers) ===== */
.cx-hero { position: relative; margin: 6px 0 28px; padding: 34px 24px 26px; border-radius: 24px; text-align: center; color: #fff; background: radial-gradient(900px 300px at 70% -20%, rgba(56,189,248,.25), transparent), linear-gradient(160deg, #0c2459, #081a3f); overflow: hidden; }
.cx-script { display: block; font: italic 600 20px/1 "Segoe Script", "Brush Script MT", cursive; color: #5eead4; margin-bottom: 8px; }
.cx-hero h1 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.cx-hero p { margin: 12px auto 0; max-width: 62ch; font-size: 15px; line-height: 1.6; color: #c3d2f5; }
.cx-find { position: relative; display: block; max-width: 460px; margin: 20px auto 0; }
.cx-find .i { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #9db3e0; pointer-events: none; }
.cx-find .cx-search { max-width: none; width: 100%; height: 46px; margin: 0; padding: 0 16px 0 42px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; }
.cx-find .cx-search::placeholder { color: #a9bbe0; }
.cx-find .cx-search:focus { outline: none; border-color: #5eead4; background: rgba(255,255,255,.12); }
.cx-pts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: #bcd0f7; }
.cx-pts li { display: inline-flex; align-items: center; gap: 6px; } .cx-pts .i { width: 14px; height: 14px; color: #5eead4; }

.cx-sect { margin-top: 26px; }
.cx-sh { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.cx-sh h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.cx-sh .cx-sub { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--mute); }
.cx-n { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--wash); color: var(--mute); font-size: 11.5px; font-weight: 600; vertical-align: 2px; }
.cx-hic { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; margin: 0; border-radius: 10px; background: color-mix(in srgb, var(--a) 13%, var(--bg)); color: var(--a); }
.cx-hic .i { width: 18px; height: 18px; }

.cx-t { gap: 10px; }
.cx-t a { min-height: 0; padding: 14px 14px 12px; gap: 3px; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 12px; background: var(--bg); box-shadow: none; transition: border-color .15s, background .15s; }
.cx-t a:hover { transform: none; box-shadow: none; border-color: var(--a); background: color-mix(in srgb, var(--a) 4%, var(--bg)); }
.cx-t .ic { width: 28px; height: 28px; margin-bottom: 6px; border-radius: 8px; box-shadow: none; background: color-mix(in srgb, var(--a) 13%, var(--bg)); color: var(--a); }
.cx-t .ic .i { width: 15px; height: 15px; }
.cx-t b { font-size: 14px; font-weight: 650; line-height: 1.3; color: var(--ink); }
.cx-t small { font-size: 12.5px; line-height: 1.45; color: var(--mute); -webkit-line-clamp: 2; }
.cx-t .go { padding-top: 6px; font-size: 12.5px; font-weight: 600; }
.cx-t .go .i { width: 12px; height: 12px; }
@media (max-width: 760px) { .cx-hero { padding: 26px 16px 20px; border-radius: 20px; } .cx-t a { padding: 12px; } }

/* ===== v5: unique hub top, wisdom pages, lead card, mobile pass ===== */
.cx-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px; align-items: center; margin: 4px 0 30px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(500px 220px at 100% 0, color-mix(in srgb, var(--brand) 10%, transparent), transparent), var(--brand-50); }
.cx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.cx-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 22%, transparent); }
.cx-copy h1 { margin: 14px 0 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 750; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }
.cx-copy > p { margin: 12px 0 0; max-width: 54ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.cx-copy .cx-find { max-width: 480px; margin: 20px 0 0; }
.cx-copy .cx-find .i { color: var(--mute); }
.cx-copy .cx-find .cx-search { border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); }
.cx-copy .cx-find .cx-search::placeholder { color: var(--mute); }
.cx-copy .cx-find .cx-search:focus { border-color: var(--brand); background: var(--bg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cx-chips a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: border-color .15s, color .15s; }
.cx-chips a:hover { border-color: var(--brand); color: var(--brand); }
.cx-art { position: relative; min-height: 230px; }
.cx-art .mc { position: absolute; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: 0 8px 24px -14px rgba(15,23,42,.35); }
.cx-art small { font-size: 11.5px; font-weight: 600; color: var(--mute); } .cx-art b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.cx-art .a { top: 0; left: 6%; width: 58%; color: var(--up); } .cx-art .a b { color: var(--ink); } .cx-art .a svg { width: 100%; height: 30px; margin-top: 4px; }
.cx-art .b { top: 82px; right: 0; width: 62%; flex-direction: row; align-items: center; gap: 12px; } .cx-art .b svg { width: 52px; height: 52px; flex: none; } .cx-art .b span { display: grid; gap: 2px; } .cx-art .b b { font-size: 14.5px; }
.cx-art .c { bottom: 0; left: 0; width: 52%; } .cx-art .bars { display: flex; align-items: flex-end; gap: 7px; height: 46px; } .cx-art .bars i { flex: 1; border-radius: 5px 5px 0 0; background: var(--brand); } .cx-art .bars i:nth-child(even) { background: var(--warn); }

.cx-wh { margin: 8px 0 22px; max-width: 760px; }
.cx-wh h1 { margin: 12px 0 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.cx-wh p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cx-wtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cx-wtabs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.cx-wtabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cx-wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cx-wcard { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.cx-wtop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cx-wn { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em; }
.cx-wtag { padding: 3px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 11.5px; font-weight: 700; }
.cx-wcard h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.cx-wcard > p { margin: 8px 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.cx-wcard dl { margin: auto 0 0; border-top: 1px solid var(--line); }
.cx-wcard dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cx-wcard dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cx-wcard dt { color: var(--mute); font-weight: 600; } .cx-wcard dd { margin: 0; color: var(--ink); font-weight: 600; }
.cx-wnote { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--wash); color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.cx-wnote .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.cx-wcta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--brand-50); }
.cx-wcta b { display: block; font-size: 16px; } .cx-wcta span { font-size: 13.5px; color: var(--ink-2); }

.cx-lead { padding: 24px 22px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg); text-align: center; box-shadow: 0 10px 30px -18px rgba(15,23,42,.4); }
.cx-lead[hidden] { display: none; }
.cx-lead.ping { animation: cxping 1.2s ease; }
@keyframes cxping { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 30%, transparent); } }
.cx-lead h2 { margin: 12px 0 4px; font-size: 21px; letter-spacing: -.02em; }
.cx-lead > p { margin: 0 auto 16px; max-width: 36ch; color: var(--ink-2); font-size: 14.5px; }
.cx-lead form { display: grid; gap: 0; text-align: left; }
.cx-lead .f { margin-bottom: 12px; } .cx-lead .btn { width: 100%; margin-top: 4px; }
.cx-lead small { display: block; margin-top: 10px; text-align: center; font-size: 12px; color: var(--mute); }
.cx-lead .err { margin: 0 0 8px; color: var(--down); font-size: 13.5px; font-weight: 600; }
.cx-lead .hp { position: absolute; left: -9999px; }

html { -webkit-text-size-adjust: 100%; }
.tl-page { overflow-x: clip; }

@media (max-width: 980px) {
  .cx-top { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 18px; }
  .cx-art { display: none; }
  .cx-out { margin-top: 4px; }
  .cx-wgrid { grid-template-columns: minmax(0, 1fr); }
  .tl-calc .tl-inputs .btn-primary { position: sticky; bottom: 10px; z-index: 5; box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 60%, transparent); }
}
@media (max-width: 640px) {
  .tl-page { padding-block: 14px 32px; }
  .tl-head { margin: 8px 0 18px; } .tl-head h1 { font-size: 26px; } .tl-head p { font-size: 14.5px; margin-top: 8px; }
  .tl-calc { gap: 16px; }
  .tl-calc .tl-inputs { padding: 16px; border-radius: 18px; }
  .tl-inputs .f input:not([type=range]), .tl-inputs .f select { height: 48px; font-size: 16px; }
  .cx-sec { margin: 18px 0 10px; }
  .cx-rows .row { padding: 14px 12px 2px; border-radius: 14px; } .cx-del { top: 4px; right: 6px; width: 36px; height: 36px; }
  .cx-x { flex-wrap: wrap; align-items: center; } .cx-x label { flex: 1 1 100%; } .cx-xa { margin-left: 28px; }
  .cx-out .seg.lg { display: flex; overflow-x: auto; scrollbar-width: none; gap: 2px; padding: 3px; } .cx-out .seg.lg::-webkit-scrollbar { display: none; }
  .cx-out .seg.lg button { flex: 1 0 auto; padding: 0 12px; height: 40px; font-size: 13px; white-space: nowrap; }
  .cx-csub { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .cx-csub::-webkit-scrollbar { display: none; } .cx-csub button { flex: 0 0 auto; white-space: nowrap; }
  .cx-dec { padding: 20px 16px; border-radius: 20px; } .cx-big { font-size: 32px; } .cx-k { margin-top: 14px; }
  .cx-read { padding: 12px 14px; } .cx-read p { font-size: 14.5px; }
  .cx-kp { gap: 8px; } .cx-kp > div { padding: 12px 10px 12px 12px; } .cx-kp b { font-size: 15.5px; }
  .cx-card { padding: 14px; border-radius: 16px; } .cx-card h3 { font-size: 16px; }
  .cx-list > div { padding: 11px 0; gap: 4px 10px; } .cx-list dt { font-size: 13.5px; gap: 8px; } .cx-list dd { font-size: 14.5px; }
  .cx-tip { min-width: 0; max-width: 62%; font-size: 12px; padding: 8px 10px; }
  .cx-bar { font-size: 12.5px; }
  .tl-table th, .tl-table td { padding: 10px 8px; font-size: 13px; white-space: nowrap; }
  .cx-top { padding: 20px 16px; border-radius: 20px; } .cx-copy h1 { font-size: 27px; } .cx-copy > p { font-size: 14.5px; }
  .cx-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 4px; scrollbar-width: none; } .cx-chips::-webkit-scrollbar { display: none; }
  .cx-sh h2 { font-size: 16px; } .cx-sect { margin-top: 22px; }
  .cx-empty { padding: 22px 16px; } .cx-lead { padding: 20px 16px; }
  .cx-wcard { padding: 16px; } .cx-wcard dl > div { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: 13px; }
  .cx-wcta { flex-direction: column; align-items: stretch; text-align: center; } .cx-wcta .btn { width: 100%; }
}
@media (max-width: 420px) {
  .cx-t { grid-template-columns: minmax(0, 1fr); }
  .cx-t small { -webkit-line-clamp: 3; }
  .cx-kp { grid-template-columns: minmax(0, 1fr); }
}

/* decision-card header row (was sharing a class name with the hub hero) + list markers the site reset removes */
.cx-dtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cx-steps { list-style: decimal; } .cx-notes { list-style: disc; }
.cx-steps li, .cx-notes li { display: list-item; padding-left: 4px; }
.cx-steps li::marker { font-weight: 800; color: var(--brand); } .cx-notes li::marker { color: var(--brand); }
@media (max-width: 640px) {
  .cx-cv .ax { font-size: 17px; } .cx-cv .vl { font-size: 17px; }
  .cx-cv svg text.ax { letter-spacing: -.01em; }
}

/* tools.css turns .tb-offers into a sideways carousel on phones; the calculators hub wants a grid */
@media (max-width: 760px) {
  .cx-t { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; gap: 10px; }
  .cx-t a { flex: none; min-width: 0; }
}
@media (max-width: 420px) { .cx-t { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .cx-t { gap: 8px; }
  .cx-t a { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 12px; }
  .cx-t .ic { grid-row: 1 / span 2; margin: 0; width: 30px; height: 30px; }
  .cx-t b, .cx-t small { grid-column: 2; }
  .cx-t small { -webkit-line-clamp: 2; margin-top: 1px; }
  .cx-t .go { display: none; }
  .cx-t .cx-pro { display: none; }
}
