.chu-root{--chu-navy:#123f60;--chu-teal:#126f9f;--chu-clearance:22px;--chu-launcher-height:96px;font-family:'DM Sans',Arial,sans-serif;color:#123c57;font-size:14px;line-height:1.5}
.chu-root [hidden]{display:none!important}
.chu-launcher{position:fixed;right:24px;bottom:calc(var(--chu-clearance) + env(safe-area-inset-bottom));z-index:1001;display:flex;align-items:center;gap:12px;padding:10px 16px 10px 10px;border:3px solid white;border-radius:999px;background:var(--chu-navy);color:white;box-shadow:0 8px 28px #123f6033;cursor:pointer;text-align:left}
.chu-launcher-avatar{display:block;width:70px;height:70px;flex:none;object-fit:contain;padding:1px;border:2px solid white;border-radius:50%;background:#f8fcff}
.chu-launcher strong{display:block;font-size:16px;line-height:1.3}
.chu-launcher small{display:block;font-size:10px;color:#c8e8f6;letter-spacing:.03em}
.chu-panel{position:fixed;right:24px;bottom:calc(var(--chu-clearance) + var(--chu-launcher-height) + 12px + env(safe-area-inset-bottom));z-index:1002;width:min(410px,calc(100vw - 32px));max-height:min(690px,calc(100dvh - var(--chu-launcher-height) - var(--chu-clearance) - 36px));display:flex;flex-direction:column;overflow:hidden;border:5px solid white;outline:1px solid #d3e1e9;border-radius:19px;background:white;box-shadow:0 18px 65px #092e4852}
.chu-header{display:flex;align-items:center;gap:12px;padding:17px 18px;background:var(--chu-navy);color:white;flex:none}
.chu-avatar{display:block;width:53px;height:53px;flex:none;object-fit:contain;padding:1px;border:2px solid white;border-radius:50%;background:#f8fcff}
.chu-header h2{margin:0;color:white;font-family:'Playfair Display',Georgia,serif;font-size:27px;letter-spacing:0;line-height:1.1}
.chu-header p{margin:4px 0 0;font-size:11px;color:#d1e8f3}
.chu-header button{margin-left:auto;border:0;background:transparent;color:white;font-size:25px;padding:6px 10px;cursor:pointer;line-height:1}
.chu-preview-note{margin:0;padding:8px 15px;background:#fff3dc;color:#6c501c;font-size:11px}
.chu-disclosure{margin:0;padding:11px 16px;border-bottom:1px solid #e0e9ee;color:#637983;font-size:11px;line-height:1.5;flex:none}
.chu-disclosure a{text-decoration:underline;text-underline-offset:2px}
.chu-body{flex:1;min-height:130px;overflow:auto;overscroll-behavior:contain;padding:17px 15px;background:#f5f9fc}
.chu-message{margin:0 18px 14px 0;padding:13px 14px;border:1px solid #e0e9ef;border-radius:3px 15px 15px;background:white;overflow-wrap:anywhere}
.chu-message p{margin:0;white-space:pre-wrap;font-size:13px;line-height:1.65}
.chu-message.chu-user{margin:0 0 14px 30px;border-color:#d0e5ee;border-radius:15px 3px 15px 15px;background:#e5f3f9}
.chu-message.chu-error{border-color:#f0d4b9;background:#fff6ed}
.chu-message-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.chu-message-links a{padding:6px 10px;border:1px solid #b5d7e9;border-radius:6px;color:var(--chu-teal);font-size:11px;font-weight:700;background:#f7fcff}
.chu-starters{display:grid;gap:8px;margin:0 0 13px}
.chu-starters-hint{grid-column:1/-1;margin:0 0 2px;font-size:12px;line-height:1.45;color:var(--chu-navy)}
.chu-starters button{padding:10px 13px;background:white;border:1px solid #b6d6e6;border-radius:9px;text-align:left;color:var(--chu-navy);font-size:12px;cursor:pointer}
.chu-status{min-height:18px;margin:4px 2px 0;font-size:11px;color:#637983}
.chu-summary{margin:0 0 14px;padding:13px;border:1px solid #bfdbe8;border-radius:12px;background:white}
.chu-summary h3{font-family:inherit;margin:0 0 8px;font-size:14px;letter-spacing:0}
.chu-summary p{margin:0 0 10px;font-size:11px;color:#637983}
.chu-summary textarea{width:100%;min-height:150px;padding:10px;border:1px solid #c6dbe7;border-radius:6px;color:#123c57;font:12px/1.6 'DM Sans',Arial,sans-serif;resize:vertical}
.chu-summary-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.chu-summary-actions button,.chu-summary-actions a{padding:8px 10px;border:1px solid #b9d6e7;border-radius:5px;background:#edf7fc;color:var(--chu-navy);font-size:11px;font-weight:700;cursor:pointer}
.chu-composer{display:flex;align-items:end;gap:9px;padding:12px 14px 10px;background:white;border-top:1px solid #e0e9ee;flex:none}
.chu-composer textarea{flex:1;min-width:0;height:58px;max-height:105px;resize:none;border:1px solid #c5d8e4;border-radius:8px;padding:9px 10px;color:var(--chu-navy);font:13px/1.5 'DM Sans',Arial,sans-serif}
.chu-send{padding:10px 12px;background:var(--chu-teal);border:0;border-radius:8px;color:white;font-size:12px;font-weight:700;cursor:pointer}
.chu-root button:disabled{opacity:.5;cursor:default}
.chu-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px;padding:0 15px 14px;flex:none;font-size:11px}
.chu-actions button{padding:0;background:none;border:0;color:var(--chu-teal);font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.chu-actions a{margin-left:auto;color:var(--chu-navy);font-weight:700}
.chu-root :is(button,a,textarea):focus-visible{outline:3px solid #d07827;outline-offset:3px}
.chu-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.chu-root{--chu-launcher-height:88px}.chu-launcher{right:14px;padding:10px 15px 10px 10px}.chu-launcher-avatar{width:62px;height:62px}.chu-panel{right:12px;width:calc(100vw - 24px);border-radius:15px}.chu-header{padding:13px 14px}.chu-disclosure{padding:9px 12px}.chu-body{padding:13px 11px}.chu-composer textarea{font-size:16px}.chu-composer{padding:10px 11px}.chu-actions{padding:0 12px 12px;gap:9px 11px}}
@media print{.chu-root{display:none}}
