.maia-chat-launcher{position:fixed;right:24px;bottom:74px;z-index:900;background:#173e69;color:white;border:1px solid #5cc8e4;border-radius:24px;padding:11px 17px;box-shadow:0 4px 18px #0c33582b;display:flex;align-items:center;gap:8px}.maia-chat-launcher svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.maia-chat-window{position:fixed;right:24px;bottom:122px;width:min(460px,calc(100vw - 32px));height:min(700px,calc(100dvh - 150px));z-index:910;display:flex;flex-direction:column;background:#fff;color:#15334b;border:1px solid #bdcfdf;border-radius:16px;box-shadow:0 12px 45px #15334b44;overflow:hidden}.maia-chat-window[hidden]{display:none}.maia-chat-window header{padding:12px 16px;background:#173e69;color:white;display:flex;align-items:center;gap:8px}.maia-chat-window header strong{flex:1}.maia-chat-window header button{color:white;background:transparent;border:1px solid #60809d;padding:5px 8px}.maia-chat-controls{padding:10px 14px;border-bottom:1px solid #dce5ed;font-size:12px}.maia-chat-controls select{width:100%;margin:5px 0}.maia-chat-messages{overflow:auto;flex:1;padding:14px;min-height:100px;overscroll-behavior:contain}.maia-chat-question{background:#eaf3fa;border-radius:12px;padding:10px;white-space:pre-wrap;overflow-wrap:anywhere}.maia-chat-reply{border-bottom:1px solid #dce5ed;padding-bottom:14px;margin-bottom:14px;font-size:14px;line-height:1.5}.maia-chat-reply li{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.maia-chat-reply details{font-size:12px;background:#f6f9fc;padding:8px;margin:8px 0}.maia-chat-reply pre{white-space:pre-wrap;font:inherit;max-height:180px;overflow:auto}.maia-chat-window form{padding:12px 14px;background:#f6f9fc;border-top:1px solid #dce5ed}.maia-chat-window textarea{width:100%;min-height:65px;resize:vertical;max-height:150px}.maia-chat-status{padding:4px 14px;font-size:12px;color:#53677a}.maia-chat-notice{font-size:11px;margin:4px 0}.maia-chat-window label{font-size:12px}.maia-chat-window .chat-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:7px}@media(max-width:600px){.maia-chat-window{right:8px;bottom:120px;width:calc(100vw - 16px);height:calc(100dvh - 135px)}.maia-chat-launcher{right:16px}}
.maia-chat-confirmation{border:1px solid #b9d2e4;border-radius:12px;background:#f4f9fd;padding:12px;margin:12px 0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.maia-chat-confirmation p{margin:0 0 10px}.maia-chat-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:9px}.maia-chat-options button{white-space:normal;text-align:left;max-width:100%;border-radius:9px;padding:9px 12px}.maia-chat-options button:focus-visible{outline:3px solid #1591bb;outline-offset:2px}.maia-chat-confirmation small{color:#53677a}
/* Conversational reading hierarchy and accessible contextual choices. */
.maia-chat-window{width:min(520px,calc(100vw - 32px));height:min(760px,calc(100dvh - 150px))}
.maia-chat-question{margin:8px 0 18px 30px;padding:12px 14px;border:1px solid #d5e6f3}
.maia-chat-reply{line-height:1.65;border-bottom:0;margin:0 0 24px;padding:0 2px 12px}
.maia-chat-reply ol{padding-left:22px}.maia-chat-single{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 16px}
.maia-chat-citation{color:#64778a;font-size:11px}.maia-chat-reply summary{cursor:pointer;font-weight:600;padding:3px 0}
.maia-chat-source-summary{line-height:1.5}.maia-chat-query-options{display:grid;gap:8px;margin:12px 0}
.maia-chat-query-options button{width:100%;min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:12px 14px;border:1px solid #bad0e1;border-radius:10px;background:#f4f9fd;color:#173e69;font-weight:600;line-height:1.45}
.maia-chat-query-options button:hover:not(:disabled){background:#e8f3fb;border-color:#2879a3}
.maia-chat-window button:focus-visible,.maia-chat-window summary:focus-visible,.maia-chat-window textarea:focus-visible,.maia-chat-window select:focus-visible{outline:3px solid #1585ae;outline-offset:2px}
.maia-chat-query-options button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.maia-chat-window{width:calc(100vw - 16px);height:calc(100dvh - 135px)}.maia-chat-question{margin-left:16px}}
@media(max-height:600px){.maia-chat-window{top:8px;bottom:8px;height:calc(100dvh - 16px)}.maia-chat-controls{max-height:110px;overflow:auto}.maia-chat-window textarea{min-height:44px;max-height:90px}}
.maia-chat-messages{position:relative;min-height:0}.maia-chat-window header,.maia-chat-window form{flex-shrink:0}
.maia-chat-settings{margin-top:5px}.maia-chat-settings summary{cursor:pointer;color:#49657c;font-size:12px}
.maia-chat-controls{flex-shrink:0}.maia-chat-status{margin:3px 0;min-height:20px}
.maia-chat-query-options button{justify-content:flex-start}

.maia-chat-starters>p{color:#435c70;line-height:1.5}
.maia-chat-starters>details{border:1px solid #d8e3ed;border-radius:10px;margin:10px 0;background:#f8fbfd}
.maia-chat-starters>details>summary{padding:14px;cursor:pointer;font-weight:650;color:#173f57}
.maia-chat-starters .maia-chat-query-options{padding:0 10px 10px}
.maia-chat-topics{margin:12px 0}
.maia-chat-topics>summary{cursor:pointer;color:#165a77;padding:10px 0}
