.jcwa{--jcwa-accent:#ff4c00;position:fixed;right:22px;bottom:22px;z-index:999999;font-family:"IBM Plex Sans",Arial,sans-serif;color:#171717}.jcwa *{box-sizing:border-box}.jcwa-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:999px;background:var(--jcwa-accent);color:#fff;padding:10px 17px 10px 10px;box-shadow:0 8px 28px rgba(0,0,0,.25);font:700 15px/1 inherit;cursor:pointer}.jcwa-launcher-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#111;color:#fff;font-size:20px}.jcwa-panel{position:absolute;right:0;bottom:62px;width:min(410px,calc(100vw - 28px));height:min(680px,calc(100vh - 105px));overflow:hidden;border-radius:16px;background:#f7f7f7;box-shadow:0 16px 55px rgba(0,0,0,.3);border:1px solid #ddd}.jcwa-panel[hidden]{display:none}.jcwa-header{display:flex;align-items:center;justify-content:space-between;background:#050505;color:#fff;padding:16px 18px;border-top:4px solid var(--jcwa-accent)}.jcwa-header strong{display:block;font-size:18px}.jcwa-header small{display:block;margin-top:2px;color:#cfcfcf}.jcwa-close{border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer}.jcwa-messages{height:225px;overflow-y:auto;padding:16px}.jcwa-message{max-width:90%;margin:0 0 10px;padding:10px 12px;border-radius:12px;white-space:pre-wrap;font-size:14px;line-height:1.45}.jcwa-bot{background:#fff;border:1px solid #e3e3e3}.jcwa-user{margin-left:auto;background:#222;color:#fff}.jcwa-actions{height:335px;overflow-y:auto;padding:0 16px 14px}.jcwa-action{display:block;width:100%;margin:7px 0;padding:10px 12px;border:1px solid var(--jcwa-accent);border-radius:8px;background:#fff;color:#111;text-align:left;font:600 14px/1.3 inherit;text-decoration:none;cursor:pointer}.jcwa-action:hover,.jcwa-action:focus{background:var(--jcwa-accent);color:#fff}.jcwa-action.is-secondary{border-color:#bbb;color:#555}.jcwa-question-form{display:flex;height:58px;border-top:1px solid #ddd;background:#fff;padding:9px}.jcwa-question-form input{min-width:0;flex:1;border:1px solid #ccc;border-radius:7px 0 0 7px;padding:9px;font:14px inherit}.jcwa-question-form button,.jcwa-submit{border:0;border-radius:0 7px 7px 0;background:var(--jcwa-accent);color:#fff;padding:0 14px;font-weight:700;cursor:pointer}.jcwa-enquiry label{display:block;margin:8px 0;font-size:12px;font-weight:700}.jcwa-enquiry input,.jcwa-enquiry select,.jcwa-enquiry textarea{display:block;width:100%;margin-top:3px;padding:8px;border:1px solid #bbb;border-radius:5px;background:#fff;font:14px inherit}.jcwa-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.jcwa-enquiry .jcwa-submit{width:100%;border-radius:7px;padding:11px}.jcwa-text-button{display:block;margin:9px auto;border:0;background:transparent;color:#555;text-decoration:underline;cursor:pointer}.jcwa-note,.jcwa-form-status{font-size:11px;line-height:1.4;color:#555}.jcwa-form-status{font-weight:700;color:#9d2a00}.jcwa-consent{display:grid!important;grid-template-columns:18px 1fr;gap:6px;align-items:start;font-weight:400!important;line-height:1.35}.jcwa-consent input{width:auto!important;margin:2px 0 0!important}.jcwa-consent a{color:#084fbd}.jcwa-hp{position:absolute!important;left:-9999px!important}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.jcwa button:focus-visible,.jcwa a:focus-visible,.jcwa input:focus-visible,.jcwa textarea:focus-visible,.jcwa select:focus-visible{outline:3px solid #005fcc;outline-offset:2px}@media(max-width:520px){.jcwa{right:14px;bottom:14px}.jcwa-launcher-label{display:none}.jcwa-launcher{padding:9px}.jcwa-panel{position:fixed;inset:12px;width:auto;height:auto}.jcwa-messages{height:31vh}.jcwa-actions{height:calc(69vh - 160px)}.jcwa-two{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.jcwa *{scroll-behavior:auto!important}}
/* 2.1: keep every topic and follow-up reachable above the question field. */
.jcwa-panel{display:flex;flex-direction:column;min-height:0}
.jcwa-header,.jcwa-question-form{flex:0 0 auto}
.jcwa-header-controls{display:flex;align-items:center;gap:12px}
.jcwa-expand{border:0;background:transparent;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:3px}
.jcwa-panel.is-expanded{width:min(760px,calc(100vw - 28px));height:min(850px,calc(100vh - 35px))}
.jcwa-messages{height:auto;flex:0 1 auto;min-height:90px;max-height:42%;overflow-y:auto;overscroll-behavior:contain}
.jcwa-actions{height:auto;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:16px}
.jcwa-panel .jcwa-actions .jcwa-action{display:block;position:relative;width:100%;min-height:40px;white-space:normal;overflow:visible;opacity:1;pointer-events:auto;cursor:pointer}
.jcwa-panel .jcwa-actions button.jcwa-action:focus-visible,.jcwa-expand:focus-visible{outline:3px solid #005fcc;outline-offset:2px}
@media(max-width:520px){.jcwa-panel,.jcwa-panel.is-expanded{inset:12px;width:auto;height:auto}.jcwa-messages{height:auto;max-height:32%}.jcwa-actions{height:auto;min-height:0}.jcwa-expand{display:none}}

/* 2.2: persistent topic navigation and flexible conversation layout. */
.jcwa-topics{display:flex;flex:0 0 auto;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:10px 14px;background:#fff;border-bottom:1px solid #ddd}
.jcwa .jcwa-topics .jcwa-topic{flex:0 0 auto;width:auto;min-height:38px;margin:0;padding:8px 12px;border:1px solid #bbb;border-radius:20px;background:#fff;color:#222;white-space:nowrap;font:600 13px/1.25 "IBM Plex Sans",Arial,sans-serif;cursor:pointer}
.jcwa .jcwa-topics .jcwa-topic:hover,.jcwa .jcwa-topics .jcwa-topic[aria-pressed="true"]{background:#222;color:#fff;border-color:#222}
.jcwa .jcwa-topics .jcwa-topic:focus-visible{outline:3px solid #005fcc;outline-offset:2px}
.jcwa-action-heading{margin:8px 0 10px;font-size:13px;font-weight:700;color:#333}
.jcwa-messages{flex:0 1 auto;min-height:100px;max-height:42%}
.jcwa-actions{flex:1 1 auto;min-height:100px;padding-top:8px}
.jcwa-panel .jcwa-actions .jcwa-action{margin:7px 0;touch-action:manipulation}
@media(max-width:520px){.jcwa-panel{inset:12px}.jcwa-panel.is-expanded{inset:12px}.jcwa-messages{min-height:90px;max-height:38%}.jcwa-actions{min-height:100px}.jcwa-topics{padding:9px 12px}}
/* 2.3: all topics appear in a wrapping grid, with a collapse control for reading space. */
.jcwa-topics-toggle{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;width:100%;padding:8px 16px;border:0;border-bottom:1px solid #ddd;background:#fff;color:#222;text-align:left;font:700 13px/1.3 "IBM Plex Sans",Arial,sans-serif;cursor:pointer}
.jcwa-topics-toggle span{font-size:18px;line-height:1}
.jcwa-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow-x:hidden;overflow-y:auto;max-height:min(225px,35vh);padding:8px 12px;min-height:0}
.jcwa-topics[hidden]{display:none}
.jcwa .jcwa-topics .jcwa-topic{width:100%;min-width:0;height:auto;min-height:40px;white-space:normal;overflow-wrap:anywhere;text-align:center;padding:7px 8px}
.jcwa-panel.is-expanded .jcwa-topics{grid-template-columns:repeat(3,minmax(0,1fr));max-height:min(180px,30vh)}
.jcwa-messages{min-height:65px}
.jcwa-actions{min-height:65px}
@media(max-width:520px){.jcwa-launcher-label{display:inline}.jcwa-launcher{padding:9px 15px 9px 9px}.jcwa-topics,.jcwa-panel.is-expanded .jcwa-topics{grid-template-columns:repeat(2,minmax(0,1fr));max-height:30vh}.jcwa-messages,.jcwa-actions{min-height:65px}}
/* 2.4: show the entire opening message before the topic grid. */
.jcwa-greeting{flex:0 0 auto;max-height:32%;overflow-y:auto;padding:12px 16px;background:#fff;white-space:pre-wrap;font-size:14px;line-height:1.45;border-bottom:1px solid #e4e4e4}
.jcwa-greeting:empty{display:none}
.jcwa-messages:empty{display:none}
.jcwa-topics,.jcwa-panel.is-expanded .jcwa-topics{max-height:27%;flex:0 1 auto}
.jcwa-actions{min-height:0}
@media(max-width:520px){.jcwa-greeting{max-height:27%}.jcwa-topics,.jcwa-panel.is-expanded .jcwa-topics{max-height:25%}}
/* 2.5: one continuous scroll for topics, messages and every next-step button. */
.jcwa-panel{display:flex;flex-direction:column;min-height:0}
.jcwa-greeting{max-height:none;overflow:visible}
.jcwa-greeting[hidden]{display:none}
.jcwa-topics-toggle{flex:0 0 auto}
.jcwa-content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fafafa;scrollbar-width:auto}
.jcwa-content:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}
.jcwa-topics,.jcwa-panel.is-expanded .jcwa-topics{max-height:none;height:auto;overflow:visible;flex:none;padding:12px 14px;border-bottom:1px solid #ddd}
.jcwa-topics[hidden]{display:none}
.jcwa-messages,.jcwa-actions{height:auto;min-height:0;max-height:none;overflow:visible;flex:none}
.jcwa-messages{padding:14px 16px 0}
.jcwa-messages:empty{display:none}
.jcwa-actions{padding:8px 16px 20px}
.jcwa-question-form{flex:0 0 58px}
@media(max-width:520px){.jcwa-greeting{max-height:none;overflow:visible}.jcwa-topics,.jcwa-panel.is-expanded .jcwa-topics{max-height:none}.jcwa-messages,.jcwa-actions{height:auto;min-height:0;max-height:none;overflow:visible}}
/* 2.6: Skipper avatar and clear selected topic state. */
.jcwa-launcher-icon{overflow:hidden}
.jcwa-launcher-icon img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%}
.jcwa-header-identity{display:flex;align-items:center;gap:10px;min-width:0}
.jcwa-header-avatar{display:block;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#2b2b2b;object-fit:cover;object-position:center 24%;border:1px solid #666}
.jcwa-header-identity span{min-width:0}
.jcwa .jcwa-topics .jcwa-topic:hover,.jcwa .jcwa-topics .jcwa-topic[aria-pressed="true"]{background:var(--jcwa-accent);border-color:var(--jcwa-accent);color:#fff}
.jcwa .jcwa-topics .jcwa-topic:active{background:#d83e00;border-color:#d83e00;color:#fff}
.jcwa-consent span{min-width:0}
.jcwa-consent a{display:inline;white-space:nowrap}
@media(max-width:520px){.jcwa-header-avatar{flex-basis:36px;width:36px;height:36px}.jcwa-header-identity{gap:8px}}
/* 2.7: match the site's rounded capsule buttons. */
.jcwa .jcwa-topics .jcwa-topic{border-radius:999px;min-height:42px;padding:9px 13px;line-height:1.3}
/* 2.8: match the website's gently rounded rectangular CTA corners. */
.jcwa .jcwa-topics .jcwa-topic{border-radius:7px}
/* 2.10: allow the longer subtitle to wrap without crowding the controls. */
.jcwa-header-controls{flex:0 0 auto}
.jcwa-header-identity small{white-space:normal;line-height:1.3}
.jcwa-launcher-label{white-space:nowrap}
@media(max-width:520px){.jcwa-launcher{font-size:13px;padding-right:12px}.jcwa-header{gap:8px}}

/* 2.15.1: larger Skipper portrait on a light background. */
.jcwa .jcwa-launcher-icon{flex:0 0 52px;width:52px;height:52px;background:#f3eee5;border:2px solid #fff}
.jcwa .jcwa-launcher-icon img{object-fit:contain;object-position:center center}
.jcwa .jcwa-header-avatar{flex:0 0 72px;width:72px;height:72px;background:#f3eee5;border:2px solid #fff;object-fit:contain;object-position:center center;padding:2px}
.jcwa .jcwa-header-identity{gap:12px}
@media(min-width:521px){.jcwa .jcwa-panel{bottom:90px;height:min(680px,calc(100vh - 130px))}}
@media(max-width:520px){.jcwa .jcwa-header-avatar{flex-basis:60px;width:60px;height:60px}.jcwa .jcwa-launcher-icon{flex-basis:48px;width:48px;height:48px}}
@media(max-width:360px){.jcwa .jcwa-header-avatar{flex-basis:52px;width:52px;height:52px}.jcwa .jcwa-header-identity{gap:8px}}
