/* The help chat (js/chat-widget.js): a button in the corner, a panel on a computer, the full screen on a phone.
   Cheating Debt navy and green, matching the site. */
.cdc { --cdc-navy: #1e3a8a; --cdc-green: #059669; --cdc-ink: #0f172a; --cdc-line: #e2e8f0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.cdc [hidden] { display: none !important; }
.cdc-launch { position: fixed; z-index: 9990; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 18px 0 14px; border: 0; border-radius: 99px; background: var(--cdc-navy); color: #fff; font: inherit; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, .45); cursor: pointer; }
.cdc-launch:hover { background: #1e40af; }
.cdc-launch svg { width: 22px; height: 22px; }
.cdc-launch:focus-visible, .cdc-panel button:focus-visible, .cdc-panel a:focus-visible, .cdc-panel input:focus-visible, .cdc-panel textarea:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.cdc-panel { position: fixed; z-index: 9991; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100vh - 32px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cdc-line); border-radius: 18px; overflow: hidden; color: var(--cdc-ink);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35); font-size: 15px; line-height: 1.5; }
@media (max-width: 600px) {
  .cdc-panel { inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); }
  html.cdc-is-open, html.cdc-is-open body { overflow: hidden; }
}
.cdc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 16px; background: var(--cdc-navy); color: #fff; }
.cdc-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cdc-logo { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--cdc-navy); font-weight: 800; font-size: 13px; }
.cdc-who strong { display: block; font-size: 15px; }
.cdc-who small { display: block; color: #c7d2fe; font-size: 12px; }
.cdc-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.cdc-close:hover { background: rgba(255, 255, 255, .12); }
.cdc-log { flex: 1; overflow-y: auto; padding: 14px; background: #f8fafc; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cdc-msg { display: flex; }
.cdc-me { justify-content: flex-end; }
.cdc-bubble { max-width: 88%; padding: 10px 13px; border-radius: 16px; overflow-wrap: anywhere; }
.cdc-bot .cdc-bubble { background: #fff; border: 1px solid var(--cdc-line); border-bottom-left-radius: 6px; }
.cdc-me .cdc-bubble { background: var(--cdc-navy); color: #fff; border-bottom-right-radius: 6px; }
.cdc-bubble p { margin: 0 0 8px; }
.cdc-bubble p:last-child { margin-bottom: 0; }
.cdc-bubble ul { margin: 0 0 8px; padding-left: 18px; }
.cdc-bubble li { margin: 2px 0; }
.cdc-bubble a { color: var(--cdc-navy); font-weight: 600; }
.cdc-linkbtn { border: 0; background: none; padding: 0; color: var(--cdc-navy); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cdc-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px 2px; max-height: 132px; overflow-y: auto; background: #fff; border-top: 1px solid var(--cdc-line); }
.cdc-chips:empty { display: none; }
.cdc-chip { min-height: 36px; padding: 6px 12px; border: 1px solid #c7d2fe; border-radius: 99px; background: #eef2ff; color: var(--cdc-navy); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left; }
.cdc-chip:hover { background: #e0e7ff; }
.cdc-chip-email { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.cdc-form { display: flex; gap: 8px; padding: 10px 12px 6px; background: #fff; }
.cdc-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; font-size: 16px; }
.cdc-send { flex: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--cdc-green); color: #fff; cursor: pointer; display: grid; place-items: center; }
.cdc-send svg { width: 22px; height: 22px; }
.cdc-note { margin: 0; padding: 0 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; color: #64748b; font-size: 12px; }
.cdc-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 4px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--cdc-green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cdc-cta:disabled { opacity: .6; cursor: default; }
.cdc-askcard { width: 100%; max-width: 100%; }
.cdc-ask { display: grid; gap: 8px; }
.cdc-ask label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #334155; }
.cdc-ask input, .cdc-ask textarea { min-height: 44px; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; resize: vertical; }
.cdc-ts { min-height: 65px; }
.cdc-status { margin: 0; font-size: 13px; color: #b91c1c; min-height: 1em; }
/* Not during the sign-up's signing step */
body:has(#step3.su-step-now) .cdc-launch { display: none; }
@media print { .cdc { display: none !important; } }
