/* Credit Crawler — (c) 2026 Civet Holdings LLC. All rights reserved. */
.ttm-cc {
	--cc-teal: #0f2b46; --cc-teal-2: #0a1f33; --cc-green: #2e8b3a; --cc-eyebrow: #0089a8; --cc-orange: #00a6ca; --cc-gold: #c99a3b; --cc-red: #c8452b;
	--cc-cream: #f2f8fa; --cc-ink: #1d2b36; --cc-muted: #5b6b78; --cc-line: #dde7ec;
	color: var(--cc-ink); font-size: 15px; line-height: 1.5; max-width: 1180px; margin: 0 auto;
}
.ttm-cc *, .ttm-cc *::before, .ttm-cc *::after { box-sizing: border-box; }
.ttm-cc h2, .ttm-cc h3, .ttm-cc h4 { color: var(--cc-teal); margin: 0; }
.ttm-cc p { margin: 0 0 8px; }
.cc-head { margin-bottom: 14px; }
.cc-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.cc-head p { color: var(--cc-muted); max-width: none; margin-top: 6px; }
.cc-eyebrow, .ttm-cc-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cc-eyebrow, #0089a8); margin-bottom: 4px; }

.cc-btn, .ttm-cc-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #0f2b46; background: #0f2b46; color: #fff; border-radius: 10px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; }
.cc-btn.ghost, .ttm-cc-btn.ghost { background: #e9ecef; color: #0f2b46; border-color: #d3d9df; }
.cc-btn.ghost:hover, .cc-btn.ghost:focus-visible { background: #dde2e7; border-color: #c3cad2; }
.cc-btn.danger { color: var(--cc-red); }
.cc-btn.big { padding: 13px 30px; font-size: 17px; background: var(--cc-orange); border-color: var(--cc-orange); }
.cc-btn:disabled { opacity: .45; cursor: not-allowed; }
.cc-btn[hidden] { display: none; }
.is-busy .cc-btn { cursor: progress; }

/* Workflow bar */
.cc-flow { background: linear-gradient(135deg, var(--cc-teal), var(--cc-teal-2)); color: #fff; border-radius: 16px; padding: 14px 18px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: center; margin-bottom: 16px; }
.cc-steps { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.cc-steps li { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #b9d3e3; padding: 5px 10px 5px 6px; border-radius: 999px; background: rgba(255,255,255,.07); }
.cc-steps li b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 12px; }
.cc-steps li.done { color: #fff; } .cc-steps li.done b { background: var(--cc-orange); }
.cc-flow-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-flow-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cc-flow-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 18px; margin-left: auto; align-self: center; padding-top: 14px; }
.cc-flow-tabs button { appearance: none; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; border-bottom: 2px solid transparent; }
.cc-flow-tabs button:hover { border-bottom-color: rgba(255,255,255,.6); }
.cc-flow-tabs button.on { border-bottom-color: var(--cc-orange); }
.cc-panel { scroll-margin-top: 90px; }
.cc-flow .cc-btn { background: #fff; color: var(--cc-teal); border-color: #fff; }
.cc-flow .cc-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cc-flow .cc-btn.danger { color: #ffd2c4; }
.cc-msg { grid-column: 1 / -1; font-size: 14px; min-height: 0; color: #d7e6ee; }
.cc-msg:empty { display: none; }
.cc-msg.ok { color: #c9f0c4; } .cc-msg.err { color: #ffd2c4; font-weight: 600; }

/* Tabs */
.cc-tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--cc-line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; scroll-margin-top: 90px; }
.cc-tabs::-webkit-scrollbar { display: none; }
.cc-tabs button { appearance: none; border: 0; background: none; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--cc-muted); padding: 11px 15px; margin-bottom: -2px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.cc-tabs button.on { color: var(--cc-teal); border-bottom-color: var(--cc-orange); }
.cc-panel { display: none; } .cc-panel.on { display: block; }

/* Cards and fields */
.cc-card { background: #fff; border: 1px solid var(--cc-line); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(15,43,70,.04), 0 8px 24px rgba(15,43,70,.05); }
.cc-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 18px; margin-bottom: 12px; }
.cc-card h3 small { font-size: 13px; font-weight: 500; color: var(--cc-muted); }
.cc-card h3 .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cc-orange); color: #fff; font-size: 12px; font-weight: 800; }
.cc-card h4 { font-size: 15px; margin: 14px 0 6px; }
.cc-card ul { margin: 0 0 8px; padding-left: 20px; } .cc-card li { margin-bottom: 4px; }
.cc-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; }
.cc-g4 .s2 { grid-column: span 2; }
.cc-f { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.cc-f > span:first-child { font-size: 13px; font-weight: 600; color: var(--cc-ink); }
.cc-f abbr { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--cc-cream); border: 1px solid var(--cc-line); color: var(--cc-muted); font-size: 11px; font-weight: 700; text-decoration: none; cursor: help; }
.cc-f input, .cc-f select, .cc-f output { width: 100%; border: 1px solid var(--cc-line); border-radius: 9px; background: #fff; font: inherit; font-size: 15px; padding: 8px 10px; color: var(--cc-ink); margin: 0; box-shadow: none; height: auto; min-height: 40px; }
.cc-f output { display: flex; align-items: center; background: var(--cc-cream); font-weight: 600; color: var(--cc-teal); }
.cc-f input:focus, .cc-f select:focus { outline: 0; border-color: var(--cc-teal); box-shadow: 0 0 0 3px rgba(15,43,70,.12); }
.cc-f input:disabled, .cc-f select:disabled { background: #f1f5f8; color: #2d3a45; opacity: 1; -webkit-text-fill-color: #2d3a45; }
.cc-ctl { display: flex; align-items: stretch; }
.cc-ctl i { font-style: normal; display: flex; align-items: center; padding: 0 9px; background: var(--cc-cream); border: 1px solid var(--cc-line); color: var(--cc-muted); font-size: 14px; }
.cc-ctl i:first-child { border-radius: 9px 0 0 9px; border-right: 0; } .cc-ctl i:last-child { border-radius: 0 9px 9px 0; border-left: 0; }
.cc-ctl input:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cc-ctl input:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cc-check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0; cursor: pointer; align-self: end; min-height: 40px; }
.cc-check input { width: 17px; height: 17px; accent-color: var(--cc-teal); margin: 0; }
.cc-note { font-size: 13px; color: var(--cc-muted); }
.cc-hint { font-size: 13.5px; padding: 8px 12px; border-radius: 9px; background: var(--cc-cream); }
.cc-hint.ok { background: #eaf6e8; color: #23702a; } .cc-hint.warn { background: #fff3e6; color: #9a4a0b; }
.cc-muted { color: var(--cc-muted); font-size: 14px; }
.cc-empty { color: var(--cc-muted); font-size: 14px; padding: 10px 0; }
.cc-next { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.cc-lock { background: #fff3e6; border: 1px solid #f6c89c; color: #6e3608; border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px; }
.cc-addr { border-top: 1px dashed var(--cc-line); padding-top: 12px; margin-top: 12px; }
.cc-card > .cc-addr:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.cc-addr-h, .cc-row-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cc-addr-h b, .cc-row-h b { color: var(--cc-teal); font-size: 15px; }
.cc-row { border: 1px solid var(--cc-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; background: #f7fbfd; }
.cc-x { margin-left: auto; appearance: none; border: 1px solid var(--cc-line); background: #fff; color: var(--cc-muted); width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.cc-x:hover { color: var(--cc-red); border-color: var(--cc-red); }
.cc-lates { grid-column: span 2; display: flex; flex-direction: column; gap: 4px; }
.cc-lates > span { font-size: 13px; font-weight: 600; }
.cc-lates > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cc-lates .cc-f > span:first-child { font-weight: 500; color: var(--cc-muted); font-size: 12px; }
.cc-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eef0ef; color: #4c5555; white-space: nowrap; }
.cc-chip.good { background: #e3f3e1; color: #23702a; } .cc-chip.warn { background: #fff0dc; color: #9a4a0b; } .cc-chip.danger { background: #fde4dc; color: #a8321f; }

/* Empty states */
.cc-emptystate { text-align: center; border: 2px dashed var(--cc-line); border-radius: 18px; padding: 48px 20px; background: var(--cc-cream); }
.cc-emptystate h3 { font-size: 20px; margin-bottom: 8px; } .cc-emptystate p { color: var(--cc-muted); }

/* Scores */
.cc-score-top, .cc-score-mid, .cc-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
.cc-two { grid-template-columns: 1fr 1fr; }
.cc-gauge-card { text-align: center; }
.cc-gauge { width: 100%; max-width: 340px; display: block; margin: 6px auto 4px; }
.cc-gauge.sm { max-width: 220px; }
.cc-gauge .g-score { font-size: 58px; font-weight: 800; fill: var(--cc-teal); font-family: inherit; }
.cc-gauge .g-band { font-size: 18px; font-weight: 700; font-family: inherit; }
.cc-gauge .g-tick { font-size: 13px; fill: var(--cc-muted); font-family: inherit; }
.cc-basis { font-size: 13px; color: var(--cc-muted); max-width: 380px; margin: 4px auto 0; }
.cc-cats { display: grid; gap: 12px; }
.cc-cat-h, .cc-cat-f { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cc-cat-h em { font-style: normal; color: var(--cc-muted); font-size: 12.5px; }
.cc-cat-h b { font-size: 12.5px; } .cc-cat-f { font-size: 12px; color: var(--cc-muted); margin-top: 3px; }
.cc-bar { height: 10px; background: #e6eef2; border-radius: 99px; overflow: hidden; margin-top: 4px; }
.cc-bar i { display: block; height: 100%; border-radius: 99px; background: var(--cc-teal); }
.ex { color: #23702a; } .gd { color: #5b8f22; } .fr { color: #b0700c; } .nw { color: #a8321f; }
.cc-bar i.ex { background: #2e8b3a; } .cc-bar i.gd { background: #7fb547; } .cc-bar i.fr { background: #e2a23b; } .cc-bar i.nw { background: #c8452b; }
.cc-reasons { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.cc-reasons b { display: block; font-weight: 600; } .cc-reasons span { font-size: 12.5px; color: var(--cc-muted); }
.cc-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--cc-line); border: 1px solid var(--cc-line); border-radius: 12px; overflow: hidden; margin: 0; }
.cc-dl div { background: #fff; padding: 10px 12px; } .cc-dl dt { font-size: 12px; color: var(--cc-muted); } .cc-dl dd { margin: 2px 0 0; font-weight: 700; color: var(--cc-teal); font-size: 16px; }
.cc-ind { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-ind li { display: flex; gap: 10px; border: 1px solid var(--cc-line); border-radius: 12px; padding: 10px 12px; margin: 0; }
.cc-ind .dot { flex: 0 0 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: #9aabb6; }
.cc-ind .danger .dot { background: var(--cc-red); } .cc-ind .warn .dot { background: #e2a23b; } .cc-ind .good .dot { background: var(--cc-green); } .cc-ind .info .dot { background: #6c8fb5; }
.cc-ind li.danger { background: #fff8f6; } .cc-ind li.good { background: #f5fbf4; }
.cc-ind b { font-size: 14px; } .cc-ind p { font-size: 13px; color: #34444f; margin: 2px 0 0; }

/* Report */
.cc-report { background: #fff; border: 1px solid var(--cc-line); border-radius: 16px; overflow: hidden; }
.cc-rep-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, var(--cc-teal), var(--cc-teal-2)); color: #fff; padding: 20px 22px; border-bottom: 4px solid var(--cc-orange); }
.cc-rep-head span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #b9d3e3; font-weight: 700; }
.cc-rep-head h3 { color: #fff; font-size: 26px; margin: 2px 0; } .cc-rep-head p { color: #cfe3ee; font-size: 13px; margin: 0; }
.cc-rep-scores { display: flex; gap: 10px; }
.cc-rep-scores div { background: rgba(255,255,255,.1); border-radius: 12px; padding: 8px 16px; text-align: center; min-width: 130px; }
.cc-rep-scores b { display: block; font-size: 30px; line-height: 1.1; } .cc-rep-scores em { font-style: normal; font-size: 12.5px; color: #ffd8bf; }
.cc-rep-sec { padding: 16px 22px; border-bottom: 1px solid var(--cc-line); }
.cc-rep-sec h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.cc-rep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; }
.cc-rep-grid span { display: block; font-size: 12px; color: var(--cc-muted); } .cc-rep-grid b { font-weight: 600; } .cc-rep-grid em { display: block; font-style: normal; font-size: 12.5px; color: var(--cc-muted); }
.cc-rep-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.cc-rep-stats div { background: var(--cc-cream); border-radius: 10px; padding: 10px; text-align: center; }
.cc-rep-stats b { display: block; font-size: 20px; color: var(--cc-teal); } .cc-rep-stats span { font-size: 12px; color: var(--cc-muted); }
.cc-report > .cc-note, .cc-report > .cc-next { padding: 0 22px; margin-top: 12px; }
.cc-tbl-wrap { overflow-x: auto; border: 1px solid var(--cc-line); border-radius: 12px; }
.cc-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 0; }
.cc-tbl th { background: var(--cc-teal); color: #fff; text-align: left; font-weight: 600; padding: 9px 11px; white-space: nowrap; border: 0; }
.cc-tbl td { padding: 8px 11px; border: 0; border-bottom: 1px solid var(--cc-line); vertical-align: top; }
.cc-tbl tbody tr:nth-child(even) td { background: #f6fafc; }
.cc-tbl td.ok { color: #23702a; font-weight: 600; } .cc-tbl td.bad { color: #a8321f; font-weight: 600; }
.cc-tbl small { color: var(--cc-muted); }
.cc-tbl.lib td:first-child { font-weight: 600; color: var(--cc-teal); white-space: nowrap; }

/* Crawl */
.cc-crawl-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cc-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--cc-muted); margin: 6px 0 12px; }
.cc-presets button { appearance: none; border: 1px solid var(--cc-line); background: var(--cc-cream); color: var(--cc-teal); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cc-presets button:hover { border-color: var(--cc-teal); }
.cc-add { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 10px; align-items: end; background: var(--cc-cream); border-radius: 12px; padding: 12px; }
.cc-params { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.cc-params .cc-muted { align-self: center; margin: 0; }
.cc-changes { margin: 14px 0; padding: 0; list-style: none; counter-reset: ch; display: grid; gap: 8px; }
.cc-changes li { counter-increment: ch; display: flex; align-items: center; gap: 10px; border: 1px solid var(--cc-line); border-radius: 10px; padding: 8px 10px 8px 12px; font-size: 14px; background: #fff; }
.cc-changes li::before { content: counter(ch); display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--cc-teal); color: #fff; font-size: 12px; font-weight: 700; }
.cc-changes li.empty { color: var(--cc-muted); border-style: dashed; } .cc-changes li.empty::before { display: none; }
.cc-crawl-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-mini { display: grid; gap: 8px; text-align: center; }
.cc-mini span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-muted); }
.cc-res-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.cc-res-top div { background: var(--cc-cream); border-radius: 12px; padding: 12px 16px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.cc-res-top span { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-muted); }
.cc-res-top b { font-size: 28px; color: var(--cc-teal); }
.cc-res-top em { font-style: normal; font-weight: 700; font-size: 16px; }
.up { color: #23702a; } .down { color: #a8321f; }
.cc-after { margin-top: 14px; } .cc-after summary { cursor: pointer; font-weight: 600; color: var(--cc-teal); margin-bottom: 10px; }
.cc-plan-g { margin-top: 14px; }
.cc-plan-g h4 { font-size: 16px; margin: 0 0 8px; } .cc-plan-g h4 small { font-weight: 500; color: var(--cc-muted); font-size: 13px; }
.cc-plan-i { display: grid; grid-template-columns: 1fr auto; gap: 14px; border: 1px solid var(--cc-line); border-left: 4px solid var(--cc-orange); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.cc-plan-i.cond { border-left-color: #e2a23b; }
.cc-plan-g.avoid .cc-plan-i { border-left-color: var(--cc-red); background: #fffaf8; }
.cc-plan-t b { display: inline; margin-right: 6px; } .cc-plan-t p { font-size: 13.5px; color: #34444f; margin: 4px 0 2px; } .cc-plan-t small { color: var(--cc-muted); }
.cc-plan-n { display: flex; gap: 8px; align-items: center; }
.cc-plan-n div { text-align: center; background: var(--cc-cream); border-radius: 10px; padding: 6px 10px; min-width: 70px; }
.cc-plan-n span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-muted); }
.cc-plan-n b { font-size: 18px; }

/* Library & legal */
.cc-weights { display: grid; gap: 10px; }
.cc-weights > div { display: grid; grid-template-columns: minmax(140px, 1.2fr) 2fr 44px; gap: 10px; align-items: center; font-size: 14px; }
.cc-weights .cc-bar { margin: 0; } .cc-weights b { text-align: right; color: var(--cc-teal); }
.cc-legal { max-width: 900px; margin: 0 auto; }
.cc-legal p, .cc-legal li { font-size: 14.5px; line-height: 1.65; }
.cc-legal-lead { background: var(--cc-cream); border-left: 4px solid var(--cc-orange); padding: 12px 16px; border-radius: 8px; }
.cc-foot { margin: 22px 0 0; padding-top: 12px; border-top: 1px solid var(--cc-line); font-size: 12px; color: var(--cc-muted); }
.cc-foot button { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--cc-teal); text-decoration: underline; cursor: pointer; }

/* Locked preview */
.ttm-cc-locked { max-width: 760px; margin: 0 auto; text-align: center; background: #f2f8fa; border: 1px solid #dde7ec; border-radius: 18px; padding: 40px 28px; }
.ttm-cc-locked h2 { color: #0f2b46; margin: 0 0 8px; } .ttm-cc-locked p { color: #5b6b78; margin: 0 0 16px; }
.ttm-cc-locked .ttm-cc-btn { margin: 4px; }

@media (max-width: 900px) {
	.cc-flow { grid-template-columns: 1fr; } .cc-flow-btns { justify-content: flex-start; } .cc-flow-right { align-items: flex-start; } .cc-flow-tabs { justify-content: flex-start; margin-left: 0; flex-basis: 100%; padding-top: 4px; }
	.cc-score-top, .cc-score-mid, .cc-two, .cc-crawl-grid { grid-template-columns: 1fr; }
	.cc-g4 { grid-template-columns: 1fr 1fr; }
	.cc-ind, .cc-rep-grid { grid-template-columns: 1fr; }
	.cc-rep-stats { grid-template-columns: repeat(3, 1fr); }
	.cc-add { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.cc-g4 { grid-template-columns: 1fr; } .cc-g4 .s2, .cc-lates { grid-column: auto; }
	.cc-steps li span { display: none; } .cc-steps li { padding: 4px; }
	.cc-card { padding: 16px 14px; }
	.cc-plan-i { grid-template-columns: 1fr; }
	.cc-res-top { grid-template-columns: 1fr; }
	.cc-dl { grid-template-columns: 1fr; }
	.cc-weights > div { grid-template-columns: 1fr 44px; } .cc-weights .cc-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media print {
	body * { visibility: hidden; }
	.ttm-cc, .ttm-cc * { visibility: visible; }
	.ttm-cc { position: absolute; left: 0; top: 0; width: 100%; max-width: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 10pt; }
	.cc-flow, .cc-tabs, .cc-next, .cc-head p, .cc-foot button { display: none !important; }
	.cc-card, .cc-row, .cc-plan-i { box-shadow: none; break-inside: avoid; }
	.cc-tbl-wrap { overflow: visible; }
}

/* Keep button text readable over the theme's link colors */
a.ttm-cc-btn, a.ttm-cc-btn:visited, a.ttm-cc-btn:hover, a.ttm-cc-btn:focus { color: #fff !important; text-decoration: none !important; }
a.ttm-cc-btn:hover { background: #0089a8; border-color: #0089a8; }
a.ttm-cc-btn.ghost, a.ttm-cc-btn.ghost:visited, a.ttm-cc-btn.ghost:hover, a.ttm-cc-btn.ghost:focus { color: #0f2b46 !important; background: #e9ecef; border-color: #d3d9df; }
a.ttm-cc-btn.ghost:hover { border-color: #0f2b46; }

/* Reported score */
.cc-g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cc-anchor { font-size: 13px; color: var(--cc-teal); background: #e3f4f9; border-radius: 10px; padding: 8px 12px; max-width: 380px; margin: 10px auto 0; }
.cc-anchor span { color: var(--cc-muted); }
.cc-anchor.muted { background: var(--cc-cream); color: var(--cc-muted); }
.cc-rep-scores div.rep { background: rgba(243,117,43,.22); }
@media (max-width: 900px) { .cc-g5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cc-g5 { grid-template-columns: 1fr; } }

/* ---- v0.2: reports, plans, account, export ---- */
.cc-switch { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cc-sw { display: flex; flex-direction: column; gap: 3px; min-width: 220px; flex: 0 1 320px; margin: 0; }
.cc-sw span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9d3e3; }
.cc-sw select { border-radius: 9px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 15px; font-weight: 600; padding: 7px 10px; }
.cc-sw select option { color: #1d2b36; }
.cc-btn.sm { padding: 6px 12px; font-size: 13px; }
.cc-flow .cc-switch .cc-btn.ghost { color: #fff; }
.cc-msg.warn { color: #ffe1a8; }
.cc-export { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--cc-line); }
.cc-report .cc-export { padding: 14px 22px; margin: 0; }
.cc-export-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-mail { margin-top: 12px; background: var(--cc-cream); border-radius: 12px; padding: 12px 14px; }
.cc-mail .cc-check { min-height: 0; margin-bottom: 8px; }
.cc-saveplan-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.cc-saveplan-row .cc-f { flex: 1 1 320px; }
.cc-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cc-plan-card { border: 1px solid var(--cc-line); border-radius: 14px; padding: 14px; background: #f7fbfd; display: flex; flex-direction: column; gap: 10px; }
.cc-plan-card.on { border-color: var(--cc-teal); box-shadow: 0 0 0 2px rgba(15,43,70,.15); }
.cc-plan-card-h b { display: block; color: var(--cc-teal); font-size: 15.5px; }
.cc-plan-card-h span { font-size: 12.5px; color: var(--cc-muted); }
.cc-plan-card-s { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-plan-card-s div { background: #fff; border: 1px solid var(--cc-line); border-radius: 10px; padding: 6px 10px; }
.cc-plan-card-s span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-muted); }
.cc-plan-card-s b { font-size: 15px; color: var(--cc-teal); } .cc-plan-card-s em { font-style: normal; font-size: 12.5px; }
.cc-plan-card-b { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.cc-plan-view { margin-top: 6px; }
.cc-plan-view-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0 10px; }
.cc-plan-view-h h3 { font-size: 20px; }
.cc-acc .cc-okline { color: #23702a; font-weight: 600; }
.cc-coderow { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 8px 0; }
.cc-coderow .cc-f { flex: 0 1 260px; }
.cc-acc .cc-check { min-height: 0; margin-top: 6px; font-size: 13px; color: var(--cc-muted); align-items: flex-start; }
.cc-acc .cc-check input { margin-top: 2px; }
.cc-totp { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; margin: 8px 0; }
.cc-qr { background: #fff; border: 1px solid var(--cc-line); border-radius: 12px; padding: 8px; }
.cc-qr svg { width: 100%; height: auto; display: block; }
.cc-totp ol { margin: 0; padding-left: 20px; font-size: 14px; } .cc-totp code { word-break: break-all; background: var(--cc-cream); padding: 1px 5px; border-radius: 4px; }
.cc-backup { background: #fff8e8; border: 1px solid #f3d08b; border-radius: 12px; padding: 12px 14px; }
.cc-backup ol { columns: 2; margin: 8px 0; padding-left: 22px; } .cc-backup code { font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.cc-accmsg { font-size: 14px; margin: 4px 0 16px; } .cc-accmsg.ok { color: #23702a; font-weight: 600; } .cc-accmsg.err { color: #a8321f; font-weight: 600; }
.cc-gate-body { max-width: 760px; }
@media (max-width: 560px) { .cc-totp { grid-template-columns: 1fr; } .cc-qr { max-width: 220px; } .cc-backup ol { columns: 1; } .cc-sw { min-width: 0; flex-basis: 100%; } }
@media print { .cc-switch, .cc-export, .cc-saveplan, .cc-plan-card-b { display: none !important; } }

/* ---- v0.3: profile, identity, account tools ---- */
.cc-dl3 { grid-template-columns: repeat(3, 1fr); }
.cc-dl dd code { font-size: 15px; background: var(--cc-cream); padding: 2px 6px; border-radius: 6px; }
.cc-req { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #9a4a0b; background: #fff0dc; border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.cc-hist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.cc-hist li { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; border-bottom: 1px dashed var(--cc-line); padding-bottom: 6px; }
.cc-hist li span { margin-left: auto; color: var(--cc-muted); }
.cc-danger { border-color: #f1c4b8; }
.cc-danger h3 { color: #a8321f; }
.cc-btn.danger-solid { background: #a8321f; border-color: #a8321f; color: #fff; }
.cc-idok { margin: -4px 0 10px; color: #23702a; font-weight: 600; font-size: 13.5px; }
.cc-idwarn { margin: -4px 0 10px; background: #fff3e6; border: 1px solid #f6c89c; color: #6e3608; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; }
.cc-linkbtn { appearance: none; border: 0; background: none; padding: 0; color: var(--cc-teal); text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 900px) { .cc-dl3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cc-dl3 { grid-template-columns: 1fr; } }

/* ---- v0.4: Credit Test ---- */
.cc-ct-prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 10px; }
.cc-ct-prod { border: 1px solid var(--cc-line); border-radius: 14px; padding: 12px 14px; background: #f7fbfd; display: flex; flex-direction: column; gap: 8px; }
.cc-ct-prod.on { border-color: var(--cc-teal); background: #fff; box-shadow: 0 0 0 2px rgba(15,43,70,.1); }
.cc-ct-prod .cc-check { min-height: 0; font-size: 16px; }
.cc-ct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.cc-ct-card { background: #fff; border: 1px solid var(--cc-line); border-top: 6px solid #9aabb6; border-radius: 16px; padding: 16px 18px; }
.cc-ct-card.most { border-top-color: #2e8b3a; } .cc-ct-card.likely { border-top-color: #e2a23b; } .cc-ct-card.not { border-top-color: #c8452b; }
.cc-ct-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cc-ct-head h4 { margin: 2px 0 0; font-size: 16px; }
.cc-ct-rating { text-align: right; }
.cc-ct-rating b { display: block; font-size: 20px; line-height: 1.1; }
.most .cc-ct-rating b { color: #23702a; } .likely .cc-ct-rating b { color: #9a5b00; } .not .cc-ct-rating b { color: #a8321f; }
.cc-ct-rating span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-muted); }
.cc-ct-prob { margin: 12px 0 6px; } .cc-ct-prob span { font-size: 13px; color: var(--cc-muted); }
.most .cc-ct-prob .cc-bar i { background: #2e8b3a; } .likely .cc-ct-prob .cc-bar i { background: #e2a23b; } .not .cc-ct-prob .cc-bar i { background: #c8452b; }
.cc-ct-cost { font-weight: 700; color: var(--cc-teal); margin: 6px 0 10px; }
.cc-ct-card h5 { margin: 14px 0 6px; font-size: 14px; color: var(--cc-teal); }
.cc-ct-f { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; }
.cc-ct-f li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.cc-ct-f b { flex: 0 0 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; color: #fff; background: #9aabb6; margin-top: 1px; }
.cc-ct-f .pass b { background: #2e8b3a; } .cc-ct-f .warn b { background: #e2a23b; } .cc-ct-f .fail b { background: #c8452b; }
.cc-ct-f .fail { color: #8a2a17; font-weight: 600; }
.cc-ct-prod .cc-ct-va { font-size: 13.5px; justify-content: flex-start; text-align: left; }
.cc-ct-prod select, .cc-ct-prod .cc-f select { width: 100%; border: 1px solid var(--cc-line); border-radius: 9px; background: #fff; font: inherit; font-size: 15px; padding: 8px 10px; min-height: 40px; }
.cc-ct-disc { margin-top: 12px; }
.cc-ct-buy { border-color: var(--cc-teal); }
.cc-ct-mini { display: flex; flex-wrap: wrap; gap: 6px; }

/* v0.5: read-only account sections */
.cc-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cc-card-h h3 { margin: 0; }
.cc-dl4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cc-dl4 .s2 { grid-column: span 2; }
.cc-dl4 dd { font-size: 15px; word-break: break-word; }
.cc-editing { border-color: var(--cc-orange); box-shadow: 0 0 0 2px rgba(0,166,202,.15); }
@media (max-width: 760px) { .cc-dl4 { grid-template-columns: 1fr 1fr; } .cc-dl4 .s2 { grid-column: 1 / -1; } }

.cc-btn.cc-edit { background: var(--cc-orange); border-color: var(--cc-orange); color: #fff; }
.cc-btn.cc-edit:hover { background: #0089a8; border-color: #0089a8; }

/* v0.6: report import */
.cc-import { border: 1px solid var(--cc-line); }
.cc-imp-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.cc-imp-opt { appearance: none; text-align: left; font: inherit; display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--cc-line); background: #fff; border-radius: 14px; padding: 14px 16px; cursor: pointer; color: var(--cc-ink); transition: border-color .15s, box-shadow .15s; }
.cc-imp-opt:hover, .cc-imp-opt:focus-within { border-color: var(--cc-orange); box-shadow: 0 0 0 3px rgba(0,166,202,.12); }
.cc-imp-opt.on { border-color: var(--cc-teal); }
.cc-imp-opt b { font-size: 16px; color: var(--cc-teal); } .cc-imp-opt span { font-size: 13.5px; color: var(--cc-muted); line-height: 1.45; }
.cc-imp-opt.dis { opacity: .55; pointer-events: none; }
.cc-imp-status { display: grid; gap: 6px; margin: 8px 0; } .cc-imp-status span { font-size: 13.5px; color: var(--cc-muted); }
.cc-imp-status .cc-bar i { background: var(--cc-orange); transition: width .3s; }
body.cc-modal-open { overflow: hidden; }
.cc-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(10,31,51,.55); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.cc-modal-box { background: #fff; border-radius: 18px; width: 100%; max-width: 1180px; padding: 22px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.cc-modal-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .cc-modal-h h3 { margin: 2px 0 6px; font-size: 22px; }
.cc-modal-f { position: sticky; bottom: -22px; background: #fff; padding: 14px 0 4px; border-top: 1px solid var(--cc-line); margin-top: 14px; }
.cc-imp-sec { margin-top: 18px; } .cc-imp-sec h4 { color: var(--cc-teal); margin-bottom: 8px; font-size: 16px; }
.cc-imp-tw { overflow-x: auto; border: 1px solid var(--cc-line); border-radius: 12px; }
.cc-imp-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cc-imp-t th { background: var(--cc-cream); text-align: left; padding: 8px; font-size: 12px; color: var(--cc-muted); white-space: nowrap; }
.cc-imp-t td { padding: 6px 8px; border-top: 1px solid var(--cc-line); vertical-align: middle; }
.cc-imp-t input:not([type=checkbox]):not([type=radio]), .cc-imp-t select { width: 100%; min-width: 120px; border: 1px solid var(--cc-line); border-radius: 7px; padding: 6px 8px; font: inherit; font-size: 13.5px; }
.cc-imp-t input.w7 { min-width: 86px; } .cc-imp-lates { display: flex; gap: 4px; } .cc-imp-t .cc-imp-lates input.w3 { min-width: 0 !important; width: 40px !important; text-align: center; padding: 6px 4px; }
.cc-imp-t input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--cc-teal); }
.cc-imp-addr { display: grid; grid-template-columns: 2fr 0.8fr 1.2fr 0.5fr 0.8fr 0.9fr; gap: 6px; } .cc-imp-addr input { min-width: 0 !important; }
.cc-imp-src pre { white-space: pre-wrap; font-size: 12px; background: var(--cc-cream); padding: 8px; border-radius: 8px; margin: 4px 0 0; max-height: 160px; overflow: auto; }
.cc-imp-src summary { cursor: pointer; font-size: 12.5px; color: var(--cc-muted); }
.cc-imp-warn { background: #fff3e6; border: 1px solid #f6c89c; color: #6e3608; border-radius: 10px; padding: 10px 14px 10px 30px; font-size: 13.5px; }
.cc-warn-t { display: block; color: #9a4a0b; font-size: 11px; }
@media (max-width: 760px) { .cc-imp-opts { grid-template-columns: 1fr; } .cc-modal-box { padding: 16px; } .cc-imp-addr { grid-template-columns: 1fr 1fr; } }

/* v0.7 */
.cc-imp-opt { white-space: normal !important; height: auto !important; min-height: 0; align-items: flex-start !important; justify-content: flex-start !important; text-transform: none !important; letter-spacing: normal !important; line-height: 1.4 !important; }
.cc-imp-opt b, .cc-imp-opt span { display: block; width: 100%; white-space: normal; text-align: left; font-weight: inherit; }
.cc-imp-opt b { font-weight: 700; }
.cc-from-acct .cc-dl4 { margin-bottom: 12px; }
.cc-name-extra { margin-top: 4px; }

.cc-check-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.cc-check-row .cc-btn { flex: 0 0 auto; }
.cc-tips summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; } .cc-tips summary::-webkit-details-marker { display: none; }
.cc-tips summary::before { content: '\25B8'; color: var(--cc-orange); } .cc-tips[open] summary::before { content: '\25BE'; }
.cc-tips ul { margin: 10px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.55; } .cc-tips li { margin-bottom: 5px; }
.cc-detect { background: var(--cc-cream); border: 1px solid var(--cc-line); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; font-size: 14px; } .cc-detect p { margin: 4px 0; }

/* v0.8: AI assistant */
.cc-ai { position: fixed; right: 20px; bottom: 20px; z-index: 99990; font-size: 15px; }
.cc-ai-btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; background: var(--cc-teal); color: #fff; font: inherit; font-weight: 700; padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(15,43,70,.3); }
.cc-ai-btn:hover { background: var(--cc-orange); }
.cc-ai-panel { width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(10,31,51,.35); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cc-line); }
.cc-ai-panel[hidden] { display: none; }
.cc-ai-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--cc-teal), var(--cc-teal-2)); color: #fff; padding: 12px 14px; }
.cc-ai-h b { display: block; font-size: 15px; } .cc-ai-h span { font-size: 12px; color: #b9d3e3; }
.cc-ai-icon { appearance: none; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; cursor: pointer; margin-left: 6px; line-height: 1; }
.cc-ai-body { flex: 1; overflow-y: auto; padding: 14px; background: var(--cc-cream); display: flex; flex-direction: column; gap: 10px; }
.cc-ai-m { max-width: 88%; padding: 10px 12px; border-radius: 14px; line-height: 1.5; font-size: 14.5px; }
.cc-ai-m p { margin: 0 0 6px; } .cc-ai-m p:last-child { margin: 0; } .cc-ai-m ul { margin: 4px 0 6px; padding-left: 18px; }
.cc-ai-m.user { align-self: flex-end; background: var(--cc-teal); color: #fff; border-bottom-right-radius: 4px; }
.cc-ai-m.assistant { align-self: flex-start; background: #fff; border: 1px solid var(--cc-line); border-bottom-left-radius: 4px; }
.cc-ai-hello p { margin: 0 0 10px; font-size: 14.5px; } .cc-ai-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-ai-sugg .cc-chip { cursor: pointer; border: 1px solid var(--cc-line); background: #fff; color: var(--cc-teal); font-size: 12.5px; padding: 6px 10px; white-space: normal; text-align: left; }
.cc-ai-sugg .cc-chip:hover { border-color: var(--cc-orange); }
.cc-ai-f { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--cc-line); background: #fff; }
.cc-ai-f textarea { flex: 1; resize: none; border: 1px solid var(--cc-line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14.5px; min-height: 44px; }
.cc-ai-f textarea:focus { outline: 0; border-color: var(--cc-orange); }
.cc-ai-d { margin: 0; padding: 0 12px 10px; font-size: 11.5px; color: var(--cc-muted); background: #fff; }
.cc-ai-typing { display: flex; gap: 4px; } .cc-ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cc-muted); animation: ccai 1s infinite ease-in-out; } .cc-ai-typing i:nth-child(2) { animation-delay: .15s; } .cc-ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ccai { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (max-width: 600px) { .cc-ai { right: 12px; bottom: 12px; } .cc-ai-panel { height: calc(100vh - 90px); } }
@media print { .cc-ai { display: none !important; } }
.cc-ai-btn[hidden] { display: none !important; }

/* Get My Report */
.cc-bur { max-width: 620px; }
.cc-bur-consent { background: #f3f7fc; border: 1px solid #d5e2f1; border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin: 10px 0; max-height: 180px; overflow: auto; }
.cc-imp-opt em { color: #b26200; font-style: normal; }

/* Share links */
.cc-linkbox { border-top: 1px solid #dfe7f1; margin-top: 16px; padding-top: 14px; }
.cc-linkbox h4 { margin: 0 0 6px; font-size: 16px; }
.cc-linkbox h4 + .cc-note { margin-top: 0; }
.cc-linkrow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 8px 0; }
.cc-linkrow .cc-f { margin: 0; min-width: 140px; }
.cc-linkrow .cc-check { margin: 0 0 9px; }
.cc-linknew { display: flex; gap: 8px; margin: 8px 0 0; }
.cc-linknew input { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: 13px; padding: 8px 10px; border: 1px solid #b9cbe2; border-radius: 6px; background: #f3f7fc; }
.cc-links { list-style: none; padding: 0; margin: 10px 0 14px; }
.cc-links li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f7; font-size: 14px; }
@media print { .cc-linkbox { display: none; } }

.cc-imp-opt.cc-imp-unavail { cursor: default; opacity: 1; background: #f7f9fc; }
.cc-imp-unavail b { color: #5b6b82; }
.cc-imp-unavail .cc-unavail { display: inline-block; width: fit-content; align-self: flex-start; margin-top: 8px; padding: 2px 10px; border-radius: 12px; background: #e9eef5; color: #5b6b82; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cc-imp-unavail:hover { border-color: var(--cc-line); box-shadow: none; }
/* Import cards fill with the app's navy on hover (buttons also on focus); text turns white. */
.cc-imp-opt:not(.dis):hover { background: var(--cc-teal); border-color: var(--cc-teal); }
button.cc-imp-opt:focus { background: var(--cc-teal); border-color: var(--cc-teal); }
label.cc-imp-opt:hover b, label.cc-imp-opt:hover span,
button.cc-imp-opt:hover b, button.cc-imp-opt:hover span, button.cc-imp-opt:hover em,
button.cc-imp-opt:focus b, button.cc-imp-opt:focus span, button.cc-imp-opt:focus em { color: #fff; }

/* Tabs: the theme's hover/focus fill is navy, so tab text turns white, including the active tab. */
.cc-tabs button:hover, .cc-tabs button:focus, .cc-tabs button.on:hover, .cc-tabs button.on:focus { color: #fff; }
/* Center the buttons at the bottom of every section, card and dialog. */
.cc-next, .cc-crawl-btns, .cc-export-btns, .cc-plan-card-b, .cc-modal-f,
.cc-card > .cc-coderow:last-child:not(:has(.cc-f)), .cc-acc > .cc-coderow:last-child:not(:has(.cc-f)) { justify-content: center; }
.cc-report > .cc-next { justify-content: center; }
/* Buttons that are links keep button colors over the site's link styles. */
a.cc-btn, a.cc-btn:visited, a.cc-btn:hover, a.cc-btn:focus { color: #fff !important; text-decoration: none !important; }
a.cc-btn.ghost, a.cc-btn.ghost:visited, a.cc-btn.ghost:hover, a.cc-btn.ghost:focus { color: #0f2b46 !important; }
.cc-admin-links { border-left: 4px solid var(--cc-orange); }

.cc-admin-links .cc-admin-msg { text-align: center; }
a.cc-btn.cc-btn-blue { background: #0089a8; border-color: #0089a8; }
a.cc-btn.cc-btn-blue:hover, a.cc-btn.cc-btn-blue:focus { background: #0f2b46; border-color: #0f2b46; }

/* Payments */
.cc-pay-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 4px; }
.cc-pay-btn small { font-weight: 500; opacity: .8; }
.cc-bur-fee { background: #fff8e6; border: 1px solid #f2d68a; border-radius: 8px; padding: 12px 14px; margin: 10px 0; font-size: 14px; line-height: 1.5; }
.cc-hint.ok { color: #137a3a; }

.cc-payframe { max-width: 560px; }
.cc-payframe iframe { width: 100%; height: min(70vh, 640px); border: 1px solid var(--cc-line); border-radius: 10px; background: #fff; }

/* Secure Cloud Processing chooser */
.cc-choose { max-width: 760px; }
.cc-choose-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 6px; }
.cc-choose-opt { border: 2px solid var(--cc-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cc-choose-opt b { font-size: 16px; color: var(--cc-teal); }
.cc-choose-opt p { margin: 0; font-size: 14px; color: var(--cc-muted); line-height: 1.5; }
.cc-choose-opt .cc-bur-consent { font-size: 13px; max-height: 130px; margin: 2px 0; }
.cc-choose-opt label.cc-btn { cursor: pointer; margin-top: auto; }
/* Save in the blue box: a solid light-blue button so it stands out from the dark background. */
.cc-flow .cc-btn[data-act="save"] { background: #00a6ca; color: #fff; border-color: #00a6ca; font-weight: 700; }
.cc-flow .cc-btn[data-act="save"]:hover, .cc-flow .cc-btn[data-act="save"]:focus, .cc-flow .cc-btn[data-act="save"]:disabled { background: #00a6ca; border-color: #00a6ca; color: #fff; opacity: 1; }

/* Crawl: Credit Inquiries row */
.cc-add-inq { margin-top: 14px; border-top: 1px dashed var(--cc-line); padding-top: 12px; }
.cc-add-inq h4 { margin: 0 0 2px; font-size: 15px; color: var(--cc-teal); }
.cc-add-inq > .cc-note { margin: 0 0 8px; }
.cc-add-inq .cc-add { background: #eef6fb; }
.cc-add-inq-btns { display: flex; gap: 8px; flex-wrap: wrap; }
/* Crawl tools: each tool's fields and Add button share one row; each section has its own blue Crawl button. */
.cc-add-sec h4, .cc-list-h { margin: 12px 0 6px; font-size: 15px; color: var(--cc-teal); }
.cc-list-h { margin-top: 16px; }
.cc-add { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 10px; }
.cc-add > .cc-add-type { flex: 1.3 1 190px; min-width: 0; margin: 0; }
.cc-add > .cc-params { display: contents; }
.cc-add > .cc-params > .cc-f { flex: 1 1 130px; min-width: 0; margin: 0; }
.cc-add > .cc-params > .cc-muted { flex: 1 1 160px; margin: 0 0 10px; }
.cc-add > .cc-add-btn { flex: 0 0 auto; white-space: nowrap; }
.cc-sec-crawl { display: flex; justify-content: center; margin: 10px 0 2px; }
.cc-btn.cc-btn-blue { background: #0089a8; border-color: #0089a8; color: #fff; }
.cc-btn.cc-btn-blue:hover, .cc-btn.cc-btn-blue:focus { background: #0f2b46; border-color: #0f2b46; color: #fff; }
.cc-changes li.inq .cc-chip { font-style: normal; font-size: 11px; margin-right: 4px; background: #e6f3f8; color: #0089a8; }
@media (max-width: 760px) {
	.cc-add { flex-wrap: wrap; }
	.cc-add > .cc-add-type, .cc-add > .cc-params > .cc-f, .cc-add > .cc-add-btn { flex: 1 1 100%; }
}

/* Report header score cards: light colors with dark text */
.cc-rep-scores div { color: #0f2b46; border: 1px solid rgba(255,255,255,.6); }
.cc-rep-scores div.rep { background: #e4f6ea; }
.cc-rep-scores div.fs { background: #ece9fb; }
.cc-rep-scores div.vs { background: #fff5d1; }
.cc-rep-head .cc-rep-scores span, .cc-rep-head .cc-rep-scores em { color: #3c5068; }
.cc-rep-head .cc-rep-scores b { color: #0f2b46; }
/* Download PDF, Email, Print and Share: very light gray */
.cc-export-btns .cc-btn, .cc-export-btns .cc-btn.ghost { background: #e9ecef; border-color: #d3d9df; color: #0f2b46; }
.cc-export-btns .cc-btn:hover, .cc-export-btns .cc-btn:focus-visible { background: #e3e7ec; border-color: #c9d0d8; color: #0f2b46; }
/* Confirmation toast */
.cc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2147483000; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; background: #0f2b46; color: #fff; padding: 12px 14px 12px 16px; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.25); font-size: 14.5px; line-height: 1.45; transition: opacity .35s, transform .35s; }
.cc-toast.ok { border-left: 5px solid #3fb950; } .cc-toast.err { border-left: 5px solid #e5533c; }
.cc-toast > b { font-size: 17px; } .cc-toast.ok > b { color: #6fdc7f; } .cc-toast.err > b { color: #ff8a73; }
.cc-toast button { appearance: none; background: none !important; border: 0 !important; color: #fff !important; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; margin-left: 4px; box-shadow: none !important; }
.cc-toast.out { opacity: 0; transform: translate(-50%, 10px); }
@media print { .cc-toast { display: none !important; } }

/* Credit Test: choose Save, Email, or Save and Email */
.cc-ct-opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 14px; }
.cc-ct-opt { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 150px; padding: 10px 16px; border: 1.5px solid #dfe3e8; border-radius: 12px; background: #fff; cursor: pointer; text-align: center; }
.cc-ct-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cc-ct-opt b { color: #0f2b46; font-size: 15px; } .cc-ct-opt span { color: #5b6b78; font-size: 13px; }
.cc-ct-opt.on, .cc-ct-opt:has(input:checked) { border-color: #00a6ca; background: #eaf8fc; box-shadow: 0 0 0 2px rgba(0,166,202,.18); }
.cc-ct-opt:focus-within { outline: 2px solid #0089a8; outline-offset: 2px; }
.cc-ct-add { margin-top: 12px; text-align: center; }

/* Credit Test: read-only Estimated Monthly Payment */
.cc-f.cc-ro output { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px dashed #b9d7e2; border-radius: 9px; background: #eef8fb; color: #0f2b46; font-weight: 700; font-size: 15.5px; }
.cc-ct-prod .cc-f.cc-ro:last-child output { background: #e3f6ec; border-color: #9fd8b6; }
.cc-f input[type="month"] { width: 100%; border: 0; background: transparent; font: inherit; font-size: 15px; min-height: 38px; }

/* Credit Info: accounts by category */
.cc-acct-grp { border: 1px solid var(--cc-line); border-radius: 14px; padding: 12px 14px; margin: 12px 0; background: #fbfdfe; }
.cc-acct-grp.empty { padding: 8px 14px; background: #f7f9fb; }
.cc-acct-grp-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-acct-grp-h h4 { margin: 0; font-size: 16.5px; color: #0f2b46; }
.cc-acct-grp-h > span { color: #5b6b78; font-size: 13.5px; flex: 1; }
.cc-acct-grp-h .cc-btn { margin-left: auto; }
.cc-acct-grp .cc-row { margin-top: 10px; background: #fff; }
@media (max-width: 600px) { .cc-acct-grp-h .cc-btn { margin-left: 0; width: 100%; } }

/* Consumer Info required before importing or Get My Report */
.cc-ci-gate { max-width: 560px; }
.cc-ci-list { margin: 8px 0 12px 20px; padding: 0; } .cc-ci-list li { margin: 4px 0; }
.cc-need { outline: 2px solid #e5533c; outline-offset: 3px; border-radius: 10px; background: #fff5f3; }
.cc-need > span:first-child::after { content: " (required)"; color: #c8452b; font-weight: 600; font-size: 12.5px; }

/* My Account: Payments */
.cc-pay-acc h4 { margin: 14px 0 8px; font-size: 16px; color: #0f2b46; }
.cc-pm-list { display: grid; gap: 10px; margin-bottom: 10px; }
.cc-pm { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid var(--cc-line); border-radius: 12px; padding: 10px 14px; background: #fbfdfe; }
.cc-pm > div:first-child { display: flex; flex-direction: column; gap: 2px; } .cc-pm .cc-muted { font-size: 13px; }
.cc-pm-credits { border: 1px solid #9fd8b6; background: #effaf3; border-radius: 12px; padding: 4px 14px 8px; margin: 12px 0; } .cc-pm-credits ul { margin: 0 0 0 18px; padding: 0; }
.cc-pm-tabs { display: flex; gap: 6px; margin: 16px 0 8px; flex-wrap: wrap; }
.cc-pm-tabs button { appearance: none; border: 1px solid var(--cc-line); background: #fff; color: #0f2b46; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cc-pm-tabs button.on { background: #0f2b46; border-color: #0f2b46; color: #fff; }
.cc-pay-saved { background: #0089a8 !important; border-color: #0089a8 !important; }
.cc-receipt { max-width: 520px; }
@media print { body.cc-print-receipt * { visibility: hidden; } body.cc-print-receipt .cc-receipt, body.cc-print-receipt .cc-receipt * { visibility: visible; } body.cc-print-receipt .cc-receipt { position: absolute; left: 0; top: 0; box-shadow: none; } body.cc-print-receipt .cc-receipt .cc-modal-f, body.cc-print-receipt .cc-receipt .cc-x { display: none; } }

/* Add Payment Method form */
.cc-pmform { max-width: 640px; }
.cc-brandmark { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; color: #0f2b46; margin-bottom: 2px; } .cc-brandmark img { border-radius: 8px; } .cc-brandmark b { font-weight: 800; }
.cc-pmsec { border-top: 1px solid var(--cc-line); padding-top: 12px; margin-top: 12px; }
.cc-pmsec h4 { margin: 0 0 8px; font-size: 15.5px; color: #0f2b46; }
.cc-cardbox { border: 1px solid var(--cc-line); border-radius: 12px; padding: 10px 12px; background: #f7fbfd; margin-top: 8px; }
.cc-cards-acc { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.cc-cardlogo { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #0f2b46; border: 1px solid #c9d6df; background: #fff; border-radius: 5px; padding: 2px 7px; }
.cc-cf { border: 1px solid var(--cc-line); border-radius: 9px; background: #fff; min-height: 40px; overflow: hidden; }
.cc-cf iframe { width: 100% !important; height: 40px !important; }
.cc-cfm { color: #c8452b; min-height: 14px; font-size: 12px; }
.cc-pmfoot { border-top: 1px solid var(--cc-line); margin-top: 14px; padding-top: 12px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cc-secure { color: #3c5068; font-size: 13px; text-align: center; }
.cc-billshow { margin: 4px 0 8px; line-height: 1.5; }
.cc-billedit { border: 1px solid var(--cc-line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.cc-g4 .s4 { grid-column: span 4; } @media (max-width: 760px) { .cc-g4 .s4 { grid-column: span 2; } }

.cc-toast a { color: #8fe3f5; font-weight: 700; margin-left: 4px; }
.cc-cart-btn { background: #e9ecef !important; color: #0f2b46 !important; border-color: #d3d9df !important; }
.cc-rcpt-btns { flex-wrap: nowrap; gap: 6px; }

/* Month and year dropdowns */
.cc-mpick { display: flex; gap: 8px; }
.cc-mpick select { flex: 1 1 0; min-width: 0; width: 100%; border: 1px solid var(--cc-line); border-radius: 9px; background: #fff; font: inherit; font-size: 15px; padding: 8px 10px; min-height: 40px; }
.cc-mpick select:disabled { background: #f3f6f8; color: #5b6b78; }
.cc-next .cc-save-ci { margin-right: 10px; }
.cc-news-opt { min-height: 0; margin-top: 14px; align-items: flex-start; }

/* Affiliate Program (My Account) */
.cc-aff .cc-aff-rw { margin: 8px 0 10px 18px; padding: 0; }
.cc-aff .cc-aff-rw li { margin: 4px 0; }
.cc-aff-form { display: grid; gap: 12px; margin-top: 10px; }
.cc-aff-terms { max-height: 180px; overflow: auto; border: 1px solid var(--cc-line, #dde7ec); border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.5; background: #f8fbfc; }
.cc-aff-promo { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #f3f8fa; border: 1px solid var(--cc-line, #dde7ec); border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.cc-aff-promo span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0089a8; }
.cc-aff-promo b { display: block; font-size: 24px; letter-spacing: .08em; color: #0f2b46; margin: 2px 0; }
.cc-aff-promo small { display: block; color: #5b6b78; max-width: 520px; }
.cc-aff h4 { margin: 18px 0 8px; font-size: 15px; color: #0f2b46; }
.cc-aff-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.cc-aff-link { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; border: 1px solid var(--cc-line, #dde7ec); border-radius: 12px; padding: 12px 14px; }
.cc-aff-link small { display: block; color: #5b6b78; font-size: 12.5px; line-height: 1.4; }
.cc-aff-link code { display: block; font-size: 12px; background: #f3f6f8; border-radius: 6px; padding: 6px 8px; margin: 6px 0 4px; word-break: break-all; }
.cc-aff-qr { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.cc-aff-qrimg { width: 150px; height: 150px; background: #fff; border: 1px solid var(--cc-line, #dde7ec); border-radius: 12px; padding: 8px; }
.cc-aff-qrimg svg { width: 100%; height: 100%; display: block; }
.cc-aff-credits { margin-top: 16px; border-top: 1px solid var(--cc-line, #dde7ec); padding-top: 12px; }
.cc-aff-cl { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 6px; }
.cc-aff-cl li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #f3fbf5; border: 1px solid #cfeadb; border-radius: 10px; padding: 8px 12px; }
.cc-aff-cl li span { color: #5b6b78; font-size: 13px; }
.cc-aff-cl.old li { background: #f6f7f8; border-color: #e3e6ea; }
.cc-push-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; margin: 6px 0 10px; }
.cc-push-types .cc-check { align-items: flex-start; min-height: 0; align-self: start; margin: 0; }
.cc-push-types .cc-check span { display: flex; flex-direction: column; gap: 2px; }
.cc-push-types small { color: var(--cc-muted, #5b6b78); font-size: 13px; }
.cc-push h4 { margin: 14px 0 6px; }

/* =====================================================================
 * Phone and Tablet Layout
 * Grids never force the page wider than the screen, the section tabs
 * scroll with arrows and fades, tables become cards on phones, and
 * inputs use 16px text so iPhones do not zoom in on every tap.
 * ===================================================================== */
.ttm-cc, .ttm-cc * { box-sizing: border-box; }
.cc-plans, .cc-ct-cards, .cc-choose-opts, .cc-aff-links, .cc-push-types { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cc-ct-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* Section tabs: arrows and edge fades show there are more tabs */
.cc-tabs-wrap { position: relative; margin-bottom: 18px; }
.cc-tabs-wrap .cc-tabs { margin-bottom: 0; scroll-behavior: smooth; scroll-snap-type: x proximity; }
.cc-tabs-wrap .cc-tabs button { scroll-snap-align: start; white-space: nowrap; flex: 0 0 auto; }
.cc-tabs-arrow { position: absolute; top: 0; bottom: 2px; width: 44px; border: 0; padding: 0; display: none; align-items: center; cursor: pointer; z-index: 2; color: var(--cc-teal, #0f2b46); font-size: 22px; font-weight: 800; }
.cc-tabs-arrow.prev { left: 0; justify-content: flex-start; padding-left: 4px; background: linear-gradient(90deg, #fff 55%, rgba(255,255,255,0)); }
.cc-tabs-arrow.next { right: 0; justify-content: flex-end; padding-right: 4px; background: linear-gradient(270deg, #fff 55%, rgba(255,255,255,0)); }
.cc-tabs-wrap.more-l .cc-tabs-arrow.prev, .cc-tabs-wrap.more-r .cc-tabs-arrow.next { display: flex; }
.cc-tabs-arrow:hover, .cc-tabs-arrow:focus-visible { color: var(--cc-orange, #00a6ca); background-color: transparent; }
.cc-tabs-count { display: none; }

/* Report summary: name always readable on the dark header */
.cc-rep-head h3, .ttm-cc .cc-rep-head h3 { color: #fff !important; }

@media (max-width: 1024px) {
	.cc-flow { grid-template-columns: minmax(0, 1fr); }
	.cc-flow > *, .cc-flow-right, .cc-switch { min-width: 0; max-width: 100%; }
	.cc-flow-right { align-items: stretch; }
	.cc-flow-btns { justify-content: flex-start; }
	.cc-flow-tabs { justify-content: flex-start; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
	.cc-flow-tabs::-webkit-scrollbar { display: none; }
	.cc-flow-tabs button { white-space: nowrap; flex: 0 0 auto; }
	.cc-steps { flex-wrap: wrap; }
	.cc-rep-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cc-rep-scores { flex-wrap: nowrap; }
}

@media (max-width: 760px) {
	.cc-head h2 { font-size: 28px; }
	.cc-head p { font-size: 15px; }
	/* Tabs stay at the top of the screen while scrolling */
	.cc-tabs-wrap { position: sticky; top: var(--cc-sticky-top, 0px); z-index: 30; background: #fff; margin-left: -4px; margin-right: -4px; padding: 0 4px; box-shadow: 0 6px 10px -8px rgba(15,43,70,.25); }
	.cc-tabs button { padding: 13px 14px; font-size: 15px; min-height: 46px; }
	.cc-tabs-count { display: block; font-size: 12px; color: var(--cc-muted, #5b6b78); margin: 6px 2px 0; text-align: right; }
	.cc-tabs-count b { color: var(--cc-teal, #0f2b46); }
	.cc-flow { padding: 14px; border-radius: 14px; }
	.cc-sw { flex: 1 1 100%; min-width: 0; }
	.cc-sw select { width: 100%; }
	.cc-switch .cc-btn.sm { flex: 1 1 auto; }
	.cc-flow-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.cc-flow-btns .cc-btn { width: 100%; padding-left: 8px; padding-right: 8px; }
	.cc-flow-btns .cc-btn[hidden] { display: none; }
	/* Credit Simulator Report: the three scores fit side by side */
	.cc-rep-head { padding: 16px; flex-direction: column; align-items: stretch; }
	.cc-rep-head h3 { font-size: 22px; }
	.cc-rep-scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.cc-rep-scores div { min-width: 0; padding: 8px 4px; border-radius: 10px; }
	.cc-rep-scores b { font-size: 24px; }
	.cc-rep-scores span { font-size: 10px; letter-spacing: .04em; line-height: 1.2; display: block; }
	.cc-rep-scores em { font-size: 11px; line-height: 1.2; display: block; }
	.cc-rep-sec { padding: 14px 16px; }
	.cc-rep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cc-report > .cc-note, .cc-report > .cc-next { padding: 0 16px; }
	.cc-next { justify-content: stretch; }
	.cc-next .cc-btn { flex: 1 1 auto; }
	.cc-modal-box { width: calc(100vw - 20px); max-width: none; max-height: calc(100vh - 20px); overflow: auto; }
	.cc-card h3 { font-size: 17px; }
	.cc-coderow { flex-wrap: wrap; }
	.cc-coderow > * { flex: 1 1 auto; }
}

@media (max-width: 600px) {
	/* iPhone zooms into fields with text under 16px */
	.ttm-cc input, .ttm-cc select, .ttm-cc textarea { font-size: 16px !important; }
	.cc-card { padding: 14px 12px; border-radius: 14px; }
	.cc-rep-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cc-rep-grid { grid-template-columns: minmax(0, 1fr); }
	/* Tables become one card per row, each value labeled */
	.cc-tbl-wrap { border: 0; overflow: visible; }
	.cc-tbl.cc-stack, .cc-tbl.cc-stack tbody, .cc-tbl.cc-stack tr, .cc-tbl.cc-stack td { display: block; width: 100%; }
	.cc-tbl.cc-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cc-tbl.cc-stack tr { border: 1px solid var(--cc-line, #dde7ec); border-radius: 12px; margin: 0 0 10px; overflow: hidden; background: #fff; }
	.cc-tbl.cc-stack tbody tr:nth-child(even) td { background: transparent; }
	.cc-tbl.cc-stack td { display: flex; justify-content: space-between; gap: 12px; text-align: right; padding: 8px 12px; border-bottom: 1px solid #eef3f6; white-space: normal; }
	.cc-tbl.cc-stack td:last-child { border-bottom: 0; }
	.cc-tbl.cc-stack td::before { content: attr(data-label); flex: 0 0 42%; text-align: left; font-weight: 600; color: var(--cc-muted, #5b6b78); font-size: 12.5px; }
	.cc-tbl.cc-stack td:first-child { background: #f3f8fa; font-weight: 700; color: var(--cc-teal, #0f2b46); text-align: left; }
	.cc-tbl.cc-stack td[colspan] { display: block; text-align: left; }
	.cc-tbl.cc-stack td[colspan]::before { display: none; }
	.cc-tbl.cc-stack td:empty, .cc-tbl.cc-stack td[data-label=""]::before { display: none; }
	.cc-tbl.lib.cc-stack td:first-child { white-space: normal; }
	.cc-dl3, .cc-dl4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.cc-toast { left: 10px; right: 10px; max-width: none; }
}
@media (max-width: 380px) {
	.cc-rep-scores b { font-size: 21px; }
	.cc-flow-btns { grid-template-columns: minmax(0, 1fr); }
	.cc-dl3, .cc-dl4 { grid-template-columns: minmax(0, 1fr); }
}
@media print { .cc-tabs-arrow, .cc-tabs-count { display: none !important; } }
@media (max-width: 760px) {
	.cc-flow-tabs { flex-wrap: wrap; overflow: visible; gap: 6px 16px; }
	.cc-rep-scores span { overflow-wrap: anywhere; hyphens: auto; }
}
.cc-pk-list { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 8px; }
.cc-pk-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--cc-line, #dde7ec); border-radius: 12px; padding: 10px 12px; }
.cc-pk-list span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-pk-list small { color: var(--cc-muted, #5b6b78); font-size: 13px; }
.cc-head .cc-head-sub { font-size: 20px; line-height: 1.3; margin: 6px 0 0; }
.cc-head .cc-head-sub[hidden] { display: none; }
.cc-head p + p { margin-top: 6px; }
@media (max-width: 760px) { .cc-head .cc-head-sub { font-size: 18px; } }

/* My Account sections as tabs */
.cc-acc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; padding: 10px; background: #fff; border: 1px solid var(--cc-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(15,43,70,.04); }
.cc-acc-tabs button { appearance: none; flex: 1 1 auto; border: 1.5px solid var(--cc-line); background: var(--cc-cream); color: var(--cc-teal); border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cc-acc-tabs button:hover { border-color: var(--cc-orange); }
.cc-acc-tabs button.on { background: var(--cc-teal); border-color: var(--cc-teal); color: #fff; box-shadow: inset 0 -3px 0 var(--cc-orange); }
.cc-acc-tabs button:focus-visible { outline: 3px solid rgba(0,166,202,.45); outline-offset: 2px; }
@media (max-width: 760px) {
	.cc-acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
	.cc-acc-tabs button { font-size: 13.5px; padding: 10px 8px; white-space: normal; line-height: 1.25; }
	.cc-acc-tabs button:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.cc-report .cc-rep-sim, .cc-rep-sim { margin: 14px 22px 0; padding: 10px 14px; border-left: 4px solid var(--cc-orange); background: #eef8fb; border-radius: 8px; font-size: 13.5px; line-height: 1.5; color: var(--cc-teal); }

/* Credit Test step 1: one row per product, its fields laid out across the row */
.ttm-cc .cc-ct-prods { grid-template-columns: 1fr; }
@media (min-width: 761px) {
	.ttm-cc .cc-ct-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 14px; align-items: end; }
	.ttm-cc .cc-ct-prod > .cc-check { grid-column: 1 / -1; align-self: start; }
	.ttm-cc .cc-ct-prod > .cc-ct-va { align-self: center; }
}
.ttm-cc .cc-dl-note:empty { display: none; } .ttm-cc .cc-dl-note { margin: 8px 0 0; } .cc-dl-modal .cc-modal-box { max-width: 520px; }

/* Instructions tab */
.ttm-cc .cc-instr h2 { font-size: 20px; margin: 22px 0 6px; color: var(--cc-teal, #0f2b46); }
.ttm-cc .cc-instr h2:first-child { margin-top: 4px; }
.ttm-cc .cc-instr h3 { font-size: 16px; margin: 14px 0 4px; }
.ttm-cc .cc-instr ol { margin: 4px 0 10px 22px; padding: 0; } .ttm-cc .cc-instr li { margin: 4px 0; line-height: 1.5; }
.ttm-cc .cc-instr ol ol { margin: 4px 0 4px 20px; }
.ttm-cc .cc-instr-note { background: #fff7cc; border: 1px solid #f1d24a; border-radius: 10px; padding: 8px 12px; }
.ttm-cc .cc-instr-go { appearance: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--cc-orange, #00a6ca); text-decoration: underline; cursor: pointer; }

/* Administrators: Core Access Panel link at the end of the section tabs */
.ttm-cc .cc-tabs a.cc-tab-panel { display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap; margin: 6px 0 6px 10px; padding: 6px 14px; border-radius: 8px; background: var(--cc-teal, #0f2b46); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; scroll-snap-align: start; }
.ttm-cc .cc-tabs a.cc-tab-panel:hover, .ttm-cc .cc-tabs a.cc-tab-panel:focus-visible { background: var(--cc-orange, #00a6ca); color: #fff; }
