/* Customer chat experience: mode switch, thinking state, answer parts, suggested checks. Dark rules at the end. */
.cx{display:grid;gap:12px;max-width:100%}
.cx-mode{display:grid;gap:8px;padding:12px 14px;border:1px solid #d9e2dc;border-radius:14px;background:#f8faf8}
.cx-switch{display:inline-flex;align-items:center;gap:10px;font-weight:600;color:#18261e;cursor:pointer}
.cx-switch input{width:20px;height:20px;accent-color:#0b5f4f}
.cx-note{margin:0;color:#4b5d53;font-size:14px;line-height:1.5}
.cx-disclosure summary{cursor:pointer;color:#08493d;font-weight:600;font-size:14px}
.cx-disclosure>div{display:grid;gap:8px;margin-top:8px;font-size:14px;line-height:1.5;color:#4b5d53}
.cx-disclosure p{margin:0}
.cx-sees-review{padding:8px 10px;border:1px solid #d9e2dc;border-radius:10px;background:#fff}
.cx-sees-review strong{display:block;color:#18261e}.cx-sees-review small{color:#5d6d64}.cx-sees-review ul{margin:6px 0 0;padding-left:18px}
.cx-starters:empty{display:none}
.cx-status{margin:0;min-height:1.2em;color:#4b5d53;font-size:13px}
.cx-usage{margin:0;color:#5d6d64;font-size:13px}
.cx-stop{justify-self:start}
.cx-thinking{margin:0;color:#4b5d53}
.cx-thinking::after{content:'...';display:inline-block;width:1.2em;overflow:hidden;vertical-align:bottom;animation:cx-dots 1.2s steps(4,end) infinite}
@keyframes cx-dots{from{width:0}to{width:1.2em}}
@media (prefers-reduced-motion:reduce){.cx-thinking::after{animation:none;width:1.2em}}
.cx-headline{margin:0 0 8px;font-size:18px;line-height:1.35;color:#18261e}
.cx-body>p{margin:0 0 10px}.cx-body>p:last-child{margin-bottom:0}
.cx-step{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;margin:0 0 8px;padding:10px 12px;border:1px solid #d9e2dc;border-radius:12px;background:#f8faf8}
.cx-step p{margin:0}
.cx-step-n{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#0b5f4f;color:#fff;font-size:13px;font-weight:700}
.cx-table{margin:0 0 10px}.cx-table table{border-collapse:collapse;width:100%;font-size:14px}.cx-table th,.cx-table td{padding:6px 8px;border:1px solid #d9e2dc;text-align:left}
.cx-sources{margin:10px 0 0;color:#5d6d64;font-size:13px}
.cx-fallback-note{margin:10px 0 0;padding:8px 10px;border-left:3px solid #a56a00;border-radius:4px;background:#fff7e6;color:#59400b;font-size:13px}
.cx-checks{margin:12px 0 0;padding:12px;border:1px solid #bcd4c8;border-radius:12px;background:#f1f8f4}
.cx-checks h4{margin:0 0 8px;font-size:15px;color:#18261e}
.cx-check{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:8px 0;border-top:1px solid #d9e2dc}
.cx-check:first-of-type{border-top:0}
.cx-check strong{display:block;color:#18261e}.cx-check small{color:#4b5d53;font-size:13px}
.cx-check-note{display:block;margin-top:6px;color:#5d6d64}
.cx-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.cx-badge{padding:2px 9px;border-radius:999px;background:#e8eee9;color:#2c4034;font-size:12px;font-weight:600}
.cx-action{min-height:34px;padding:5px 12px;border:1px solid #b9c9be;border-radius:8px;background:#fff;color:#0b5f4f;font:inherit;font-size:14px;cursor:pointer}
@media(max-width:480px){.cx-check .st-btn{width:100%}}
@media print{.cx-mode,.cx-actions,.cx-checks{display:none}}
@media (prefers-color-scheme:dark){
  .rp-main .cx-mode,.rp-main .cx-checks{border-color:#2f3d36;background:#1b2520}
  .rp-main .cx-switch,.rp-main .cx-headline,.rp-main .cx-checks h4,.rp-main .cx-check strong,.rp-main .cx-sees-review strong{color:#f2f5f3}
  .rp-main .cx-note,.rp-main .cx-disclosure>div,.rp-main .cx-status,.rp-main .cx-thinking,.rp-main .cx-check small{color:#c4d0ca}
  .rp-main .cx-usage,.rp-main .cx-sources,.rp-main .cx-check-note,.rp-main .cx-sees-review small{color:#aebcb5}
  .rp-main .cx-disclosure summary{color:#7dd3c7}
  .rp-main .cx-sees-review,.rp-main .cx-step{border-color:#2f3d36;background:#141d19}
  .rp-main .cx-check{border-color:#2f3d36}
  .rp-main .cx-table th,.rp-main .cx-table td{border-color:#2f3d36}
  .rp-main .cx-fallback-note{background:#332811;color:#ffcf70;border-color:#ffcf70}
  .rp-main .cx-badge{background:#26342d;color:#e3ece7}
  .rp-main .cx-action{border-color:#44564c;background:#1b2520;color:#7dd3c7}
  .rp-main .cx-step-n{background:#0b5f4f;color:#fff}
}
