.rlcs, .rlcs * {box-sizing:border-box}
.rlcs [hidden] {display:none !important}
.rlcs {--r-accent:#c85c80;--r-ink:#354055;--r-sub:#687084;--r-line:#eadde5;--r-soft:#fff5f9;--r-bg:#fff; font-family:inherit;color:var(--r-ink);max-width:860px;margin:22px auto;padding:25px;background:linear-gradient(145deg,#fff9fc 0%,#ffffff 50%,#f6fffb 100%);border:1px solid #f0e5ec;border-radius:22px;box-shadow:0 14px 48px rgba(103,58,86,.07);font-size:15px;line-height:1.6}
.rlcs-heading {display:flex;align-items:center;gap:15px;margin-bottom:24px}.rlcs-heading h2 {font-size:clamp(19px,3vw,25px);font-weight:700;line-height:1.4;color:#8a315c;margin:0 0 5px}.rlcs-heading p {margin:0;color:var(--r-sub);font-size:14px}.rlcs-logo{width:57px;height:57px;display:inline-flex;justify-content:center;align-items:center;background:linear-gradient(140deg,#f6a6bb,#dc6694);font-size:33px;color:white;border-radius:18px;box-shadow:0 6px 16px rgba(220,102,148,.2);flex-shrink:0}
.rlcs-setup{background:white;border:1px solid var(--r-line);border-radius:17px;padding:20px}.rlcs-control label{font-weight:700;display:block;margin-bottom:7px;color:#6f3554}.rlcs select,.rlcs textarea {width:100%;background:#fff;color:var(--r-ink);border:1px solid #cdd5da;border-radius:11px;padding:10px 12px;line-height:1.5;font-family:inherit;font-size:15px;min-height:46px;box-shadow:none}.rlcs textarea {resize:vertical;min-height:92px}.rlcs select:focus-visible,.rlcs textarea:focus-visible,.rlcs button:focus-visible,.rlcs input:focus-visible {outline:3px solid #7fcfff;outline-offset:3px}.rlcs-description{background:#eff8ff;color:#30516e;font-size:13px;padding:11px 14px;border-radius:10px;margin:10px 0 19px}.rlcs-config-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.rlcs-disclaimer {color:var(--r-sub);font-size:12px;margin:18px 0 12px}.rlcs-consent {display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #e2ebee;background:#f7fbfa;border-radius:11px;font-size:13px;cursor:pointer}.rlcs-consent input {flex-shrink:0;width:17px;height:17px;margin:4px 0 0;accent-color:var(--r-accent)}.rlcs-consent small {display:block;margin-top:3px;color:var(--r-sub);font-size:12px}.rlcs-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.rlcs-btn {display:inline-block;cursor:pointer;border:1px solid transparent;border-radius:12px;padding:11px 20px;line-height:1.4;font-weight:700;font-family:inherit;font-size:14px;text-align:center;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}.rlcs-btn:hover:not(:disabled){transform:translateY(-1px)}.rlcs-btn:disabled{opacity:.6;cursor:wait}.rlcs-primary{background:linear-gradient(135deg,#d9618c,#b94f78);color:white!important;box-shadow:0 5px 14px rgba(210,95,140,.2)}.rlcs-secondary{background:white;color:#9a3b6a!important;border-color:#ecc8d6}.rlcs-link-btn{font:inherit;color:#814566;cursor:pointer;background:transparent;border:0;padding:5px 2px;font-size:12px;text-decoration:underline;text-underline-offset:3px}.rlcs-topbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:3px 0 9px}.rlcs-topbar strong{color:#824568;font-size:17px}.rlcs-progress-text{font-size:12px;color:var(--r-sub)}.rlcs-top-actions{display:flex;gap:14px;flex-wrap:wrap}.rlcs-progress{height:7px;border-radius:50px;background:#f3e7ed;overflow:hidden;margin-bottom:15px}.rlcs-progress>span{display:block;background:linear-gradient(90deg,#e5a5bd,#b9dbcd);height:100%;transition:width .3s ease}
.rlcs-chat {height:min(53vh,435px);min-height:260px;overflow-y:auto;background:#eff5f2;border:1px solid #dce8e1;border-radius:17px;padding:18px 17px;display:flex;flex-direction:column;gap:13px;overscroll-behavior:contain}.rlcs-bubble{width:fit-content;max-width:82%;border-radius:17px;padding:9px 14px 11px;overflow-wrap:anywhere;white-space:pre-wrap;box-shadow:0 3px 7px rgba(40,60,56,.06)}.rlcs-partner{background:#fff;color:#394851;align-self:flex-start;border-bottom-left-radius:4px}.rlcs-me{background:#c8f0d4;color:#254134;align-self:flex-end;border-bottom-right-radius:4px}.rlcs-speaker{display:block;font-size:11px;opacity:.7;margin-bottom:3px}.rlcs-bubble p{margin:0;line-height:1.7;font-size:14px}.rlcs-hint{margin-top:14px;padding:13px 15px;background:#fff9fc;border:1px solid #f2e4ec;border-radius:13px}.rlcs-hint strong{font-size:13px;color:#8f416b}.rlcs-hint>p{font-size:14px;margin:4px 0 8px}.rlcs-suggest{display:flex;gap:7px;flex-wrap:wrap}.rlcs-example{border:1px solid #e6cbd7;border-radius:30px;background:white;color:#74445a;padding:7px 11px;font-size:12px;cursor:pointer;text-align:left;font-family:inherit;line-height:1.45}.rlcs-example:hover{background:#fff0f6}.rlcs-hint small{display:block;font-size:11px;color:var(--r-sub);margin-top:8px}.rlcs-composer{margin-top:15px}.rlcs-composer label{font-weight:700;display:block;margin-bottom:6px}.rlcs-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.rlcs-compose-bottom span{font-size:12px;color:var(--r-sub)}.rlcs-inline-feedback{font-size:13px;color:#476f63;margin-top:10px}.rlcs-inline-feedback:empty{display:none}.rlcs-status{margin:10px 0 0;font-size:13px;color:#466354}.rlcs-status:empty{display:none}.rlcs-error{color:#ad3a4d!important}
.rlcs-results{margin:17px 0 5px;padding:21px;background:white;border:1px solid var(--r-line);border-radius:15px}.rlcs-results h3{font-size:20px;margin:0 0 14px;color:#8f416b}.rlcs-results h4{font-size:15px;color:#8f416b;margin:21px 0 9px}.rlcs-score-overview{padding:12px 15px;background:#fff8fb;border-radius:12px;margin-bottom:18px}.rlcs-score-value strong{font-size:39px;font-variant-numeric:tabular-nums;color:#b94376;line-height:1}.rlcs-score-value span{color:var(--r-sub);font-size:12px}.rlcs-score-overview p{margin:4px 0 0;font-size:13px;color:var(--r-sub)}.rlcs-score-bars{display:grid;gap:13px}.rlcs-score-label{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:4px}.rlcs-score-track{height:8px;background:#f0ebef;border-radius:30px;overflow:hidden}.rlcs-score-fill{height:100%;background:linear-gradient(90deg,#efacc9,#adcbca);border-radius:30px}.rlcs-report-advice{margin:0;padding-left:22px}.rlcs-report-advice li{margin-bottom:6px;font-size:14px}.rlcs-report-note{color:var(--r-sub);font-size:12px;border-top:1px dashed var(--r-line);padding-top:13px;margin-top:15px}.rlcs-report-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
@media(max-width:640px){.rlcs{padding:15px;border-radius:13px;margin:12px auto}.rlcs-setup{padding:14px}.rlcs-config-grid{grid-template-columns:1fr;gap:11px}.rlcs-heading{gap:10px}.rlcs-logo{width:46px;height:46px;font-size:27px}.rlcs-chat{min-height:260px;height:44vh;padding:12px}.rlcs-bubble{max-width:92%}.rlcs-topbar{align-items:flex-start}.rlcs-top-actions{gap:8px}.rlcs-btn{padding:10px 13px}}
@media(prefers-reduced-motion:reduce){.rlcs *{transition:none!important}}

/* v2: searchable scenario catalog */
.rlcs .rlcs-catalog-filter{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px}
.rlcs .rlcs-catalog-filter input[type="search"]{width:100%;min-width:0;border:1px solid #d8d9df;border-radius:12px;padding:11px 12px;background:#fff;color:#303640;font-size:15px}
.rlcs .rlcs-turn-control{max-width:390px;margin:12px 0}
@media(max-width:620px){.rlcs .rlcs-catalog-filter{grid-template-columns:1fr}}
