#m4y-assistant-root{position:fixed;right:22px;bottom:22px;z-index:99990;font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;color:#17364b}#m4y-assistant-root *{box-sizing:border-box}#m4y-assistant-root [hidden]{display:none!important}.m4ya-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:28px;background:#17678b;color:#fff;cursor:pointer;padding:13px 17px;box-shadow:0 6px 22px #14334b36;font:700 14px system-ui}.m4ya-launcher span:first-child{font-size:19px}.m4ya-launcher i{width:7px;height:7px;background:#7af0ac;border-radius:50%}.m4ya-window{display:flex;flex-direction:column;position:absolute;right:0;bottom:68px;width:min(470px,calc(100vw - 26px));height:min(720px,calc(100dvh - 100px));min-height:320px;background:white;border-radius:18px;border:1px solid #d5e4ed;box-shadow:0 12px 45px #09283d3d;overflow:hidden}.m4ya-header{display:flex;align-items:center;gap:10px;padding:13px 14px;background:#125c7f;color:#fff;min-height:68px}.m4ya-logo{width:37px;height:37px;display:grid;place-items:center;background:#e8f4fa;color:#1b6383;border-radius:12px;font-weight:800;font-size:12px}.m4ya-heading{display:flex;flex-direction:column;flex:1;min-width:0}.m4ya-heading small{font-size:11px;opacity:.9}.m4ya-minimize{background:transparent;color:#fff;border:0;cursor:pointer;font-size:26px;padding:0 6px}.m4ya-toolbar{display:flex;gap:6px;padding:8px 10px;background:#f7fbfd;flex-wrap:wrap;border-bottom:1px solid #e1edf3}.m4ya-toolbar button,.m4ya-btn{font:600 12px system-ui;border:1px solid #cfe0e7;background:#fff;color:#155d7d;border-radius:9px;padding:7px 10px;cursor:pointer}.m4ya-main{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}.m4ya-chat{display:flex;flex:1;min-height:0;flex-direction:column}.m4ya-stream{flex:1;overflow-y:auto;min-height:0;padding:16px 14px;display:flex;flex-direction:column;gap:12px;scrollbar-color:#b1c9d6 transparent}.m4ya-message{max-width:95%;padding:11px 12px;border:1px solid #e0edf3;background:#f1f8fb;border-radius:13px;overflow-wrap:anywhere;white-space:normal}.m4ya-message.m4ya-user{align-self:flex-end;background:#e3f2f1;border-color:#c5e0dc;max-width:85%}.m4ya-role{display:block;font-size:11px;font-weight:700;color:#47748d;margin-bottom:5px}.m4ya-content p{margin:0 0 7px;white-space:pre-wrap;line-height:1.55}.m4ya-content pre{overflow-x:auto;background:#102e41;color:#f1fafc;padding:12px;border-radius:10px;white-space:pre;position:relative;font-size:12px}.m4ya-content pre button{display:block;margin:9px 0 0;background:#deeff5;color:#13445c;border:0;border-radius:5px;padding:4px 8px;cursor:pointer}.m4ya-sources{border-top:1px solid #d0e3e9;margin-top:8px;padding-top:8px;display:flex;flex-direction:column;gap:4px}.m4ya-source{color:#176080;text-decoration:underline;font-size:12px}.m4ya-compose{display:flex;gap:7px;padding:12px;background:#fff;border-top:1px solid #e1edf3;align-items:flex-end}.m4ya-compose textarea{min-width:0;flex:1;resize:vertical;max-height:120px;min-height:48px;border-radius:10px;border:1px solid #bdceda;padding:10px;color:#143a51;background:#fff;font:14px/1.4 system-ui}.m4ya-send{border:0;border-radius:9px;padding:12px 13px;background:#146b88;color:#fff;font:700 13px system-ui;cursor:pointer}.m4ya-send:disabled{opacity:.55}.m4ya-privacy{margin:0;padding:8px 12px;border-top:1px solid #e5eef3;color:#526c7c;background:#f7fafc;font-size:11px}.m4ya-prompts{display:flex;gap:6px;flex-wrap:wrap}.m4ya-prompts button{text-align:left}.m4ya-pending{color:#526f7a;font-size:12px}.m4ya-request{overflow-y:auto;padding:16px;flex:1}.m4ya-request h3{margin:14px 0;font-size:17px}.m4ya-request-form{display:grid;gap:12px}.m4ya-request-form label{display:grid;gap:5px;color:#284f64;font-weight:600}.m4ya-request-form input:not([type=checkbox]),.m4ya-request-form textarea{padding:9px;border:1px solid #c5dbe5;border-radius:8px;width:100%;font:13px system-ui;background:#fff;color:#16405b}.m4ya-request-form .m4ya-consent{display:flex;align-items:start;gap:7px}.m4ya-honey{position:absolute!important;left:-100000px!important;width:1px!important;height:1px!important;opacity:0!important}.m4ya-feedback{font-size:12px;line-height:1.5;color:#176080}#m4y-assistant-root button:focus-visible,#m4y-assistant-root a:focus-visible{outline:3px solid #33b9cc;outline-offset:2px}@media(max-width:600px){#m4y-assistant-root{bottom:12px;right:12px}.m4ya-window{position:fixed;right:0;bottom:0;width:100vw;height:min(100dvh,800px);max-height:100dvh;border-radius:14px 14px 0 0}.m4ya-launcher{padding:11px 13px}}@media(prefers-reduced-motion:no-preference){.m4ya-window{animation:m4ya-open .18s ease-out}@keyframes m4ya-open{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}

.m4ya-tools{display:flex;flex-direction:column;gap:6px;margin:9px 0}.m4ya-tools strong{font-size:12px}.m4ya-tool{display:block;color:#126887;font-size:12px;padding:7px 9px;border-radius:8px;background:#fff;border:1px solid #cfe2e9;text-decoration:none}.m4ya-tool:hover{background:#e8f4fa}

#m4y-assistant-root.m4ya-left{right:auto;left:22px}#m4y-assistant-root.m4ya-left .m4ya-window{right:auto;left:0}.m4ya-window{width:min(var(--m4ya-width,470px),calc(100vw - 26px));height:min(var(--m4ya-height,720px),calc(100dvh - 100px))}.m4ya-launcher,.m4ya-send{background:var(--m4ya-accent,#146b88)}@media(max-width:600px){#m4y-assistant-root.m4ya-left{left:12px}.m4ya-window{width:100vw;height:min(100dvh,var(--m4ya-height,720px));max-height:100dvh}#m4y-assistant-root.m4ya-left .m4ya-window{left:0}}


/* v0.9.55: strict styling boundary and compact conversation layout (theme-independent). */
#m4y-assistant-root{font-size:14px!important;line-height:1.45!important;max-width:none!important;min-height:0!important;transform:none!important}
#m4y-assistant-root .m4ya-window{position:absolute!important;right:0!important;left:auto!important;bottom:68px!important;display:flex!important;flex-direction:column!important;width:min(var(--m4ya-width,470px),calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;height:min(var(--m4ya-height,720px),calc(100dvh - 94px))!important;max-height:calc(100dvh - 94px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 45px rgba(9,40,61,.24)!important}
#m4y-assistant-root.m4ya-left .m4ya-window{left:0!important;right:auto!important}
#m4y-assistant-root .m4ya-header{flex:0 0 auto!important;min-height:65px!important;padding:10px 14px!important;gap:10px!important}
#m4y-assistant-root .m4ya-heading strong{font-size:15px!important;line-height:1.25!important;color:#fff!important;margin:0!important}
#m4y-assistant-root .m4ya-heading small{font-size:11px!important;color:#e3f2f6!important;line-height:1.3!important}
#m4y-assistant-root .m4ya-logo{flex:0 0 36px!important;width:36px!important;height:36px!important}
#m4y-assistant-root .m4ya-toolbar{display:flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;padding:8px 12px!important;gap:8px!important;min-height:49px!important;position:relative!important;z-index:5!important}
#m4y-assistant-root .m4ya-toolbar button,#m4y-assistant-root .m4ya-actions summary{font-family:inherit!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important;padding:9px 10px!important;min-width:0!important;min-height:0!important;max-width:none!important;margin:0!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none!important;border-radius:8px!important;white-space:nowrap!important}
#m4y-assistant-root .m4ya-actions{position:relative!important;flex:0 0 auto!important;margin:0!important;min-width:0!important}
#m4y-assistant-root .m4ya-actions summary{display:block!important;list-style:none!important;cursor:pointer!important;border:1px solid #cfe0e7!important;background:#fff!important;color:#155d7d!important}
#m4y-assistant-root .m4ya-actions summary::-webkit-details-marker{display:none}
#m4y-assistant-root .m4ya-actions-menu{position:absolute!important;right:0!important;top:calc(100% + 6px)!important;min-width:185px!important;display:flex!important;flex-direction:column!important;gap:5px!important;padding:7px!important;background:#fff!important;border:1px solid #cfe0e7!important;border-radius:10px!important;box-shadow:0 8px 20px #17364b30!important;z-index:9!important}
#m4y-assistant-root .m4ya-actions-menu button{text-align:left!important;width:100%!important}
#m4y-assistant-root .m4ya-main{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
#m4y-assistant-root .m4ya-chat{display:flex!important;flex:1 1 auto!important;min-height:0!important;min-width:0!important}
#m4y-assistant-root .m4ya-stream{flex:1 1 auto!important;min-height:0!important;min-width:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:13px 12px!important;gap:10px!important}
#m4y-assistant-root .m4ya-message{flex:0 0 auto!important;max-width:94%!important;padding:10px 12px!important;font-size:13px!important;line-height:1.48!important;min-width:0!important;border-radius:13px!important}
#m4y-assistant-root .m4ya-content{font-size:13px!important;line-height:1.55!important;overflow-wrap:anywhere!important;min-width:0!important}
#m4y-assistant-root .m4ya-content p{margin:0 0 7px!important;font-size:inherit!important;line-height:1.55!important;white-space:normal!important;letter-spacing:normal!important}
#m4y-assistant-root .m4ya-content ul{padding-left:19px!important;margin:5px 0 9px!important;list-style:disc!important}
#m4y-assistant-root .m4ya-content li{font-size:inherit!important;margin:2px 0!important;line-height:1.5!important}
#m4y-assistant-root .m4ya-content pre{overflow-x:auto!important;max-width:100%!important;white-space:pre!important;margin:8px 0!important;font-size:12px!important}
#m4y-assistant-root .m4ya-sources{margin-top:11px!important;padding-top:10px!important;gap:6px!important}
#m4y-assistant-root .m4ya-source{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
#m4y-assistant-root .m4ya-compose{flex:0 0 auto!important;display:flex!important;align-items:end!important;gap:8px!important;padding:10px!important;margin:0!important;min-height:0!important;max-width:100%!important}
#m4y-assistant-root .m4ya-compose textarea{flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;height:53px!important;min-height:53px!important;max-height:115px!important;padding:10px!important;margin:0!important;font:13px/1.45 system-ui,sans-serif!important;resize:vertical!important}
#m4y-assistant-root .m4ya-send{flex:0 0 auto!important;width:auto!important;height:43px!important;padding:0 12px!important;margin:0!important;font-size:12px!important;line-height:1.2!important}
#m4y-assistant-root .m4ya-privacy{flex:0 0 auto!important;margin:0!important;padding:7px 12px!important;font-size:10px!important;line-height:1.4!important}
#m4y-assistant-root .m4ya-tool{font-size:12px!important;line-height:1.4!important;padding:8px 9px!important}
#m4y-assistant-root .m4ya-copy-answer{font-size:11px!important;line-height:1.2!important;padding:6px 9px!important;margin-top:8px!important}
#m4y-assistant-root .m4ya-minimize{flex:0 0 auto!important;width:32px!important;height:32px!important;line-height:28px!important;margin:0!important;padding:0!important;font-size:24px!important;border:0!important}
#m4y-assistant-root.m4ya-open>.m4ya-launcher{display:none!important}
#m4y-assistant-root .m4ya-request{flex:1!important;min-height:0!important;overflow-y:auto!important;padding:14px!important}
#m4y-assistant-root .m4ya-request-form{display:grid!important;gap:9px!important}
#m4y-assistant-root .m4ya-request-form input:not([type=checkbox]),#m4y-assistant-root .m4ya-request-form textarea{font-size:13px!important;line-height:1.45!important;min-height:36px!important}
@media(max-width:600px){#m4y-assistant-root .m4ya-window{position:fixed!important;inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}#m4y-assistant-root .m4ya-toolbar{padding:7px 9px!important}#m4y-assistant-root .m4ya-toolbar button,#m4y-assistant-root .m4ya-actions summary{font-size:11px!important;padding:8px!important}#m4y-assistant-root .m4ya-stream{padding:10px!important}#m4y-assistant-root .m4ya-message{max-width:98%!important}}
#m4y-assistant-root.m4ya-open .m4ya-window{bottom:0!important}
#m4y-assistant-root .m4ya-window[hidden]{display:none!important}
/* Reset theme-wide form/button sizing without affecting the rest of the site. */
#m4y-assistant-root button{min-height:0!important;max-height:none!important;max-width:100%!important;font-family:inherit!important;font-size:12px!important;line-height:1.35!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none!important}
#m4y-assistant-root .m4ya-launcher{min-height:41px!important;padding:11px 15px!important}
#m4y-assistant-root .m4ya-minimize{min-height:0!important;max-height:32px!important;padding:0!important;line-height:28px!important;font-size:24px!important}
#m4y-assistant-root .m4ya-send{min-height:0!important;max-height:43px!important}
#m4y-assistant-root .m4ya-content pre button,#m4y-assistant-root .m4ya-copy-answer{display:inline-block!important;width:auto!important;min-height:0!important;height:auto!important;padding:6px 9px!important;line-height:1.25!important;margin:8px 0 0!important}
#m4y-assistant-root .m4ya-privacy{max-height:72px!important}
#m4y-assistant-root .m4ya-main,#m4y-assistant-root .m4ya-chat{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
#m4y-assistant-root .m4ya-stream,#m4y-assistant-root .m4ya-compose{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
#m4y-assistant-root .m4ya-request{width:100%!important;max-width:100%!important;margin:0!important}

/* 0.9.56 — Relevant published articles only, NYR-style compact result list. */
#m4y-assistant-root .m4ya-message.m4ya-assistant:has(.m4ya-article-list){max-width:100%!important;width:100%!important;background:#f5f7fb!important;border-color:#e4e9f1!important}
#m4y-assistant-root .m4ya-article-list{display:flex!important;flex-direction:column!important;margin-top:8px!important;width:100%!important}
#m4y-assistant-root .m4ya-article{display:flex!important;flex-direction:column!important;gap:4px!important;padding:12px 0!important;margin:0!important;border-top:1px solid #d5dfeb!important;min-width:0!important}
#m4y-assistant-root .m4ya-article-title{display:inline!important;color:#28518e!important;text-decoration:underline!important;text-underline-offset:2px!important;font-weight:700!important;font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
#m4y-assistant-root .m4ya-article-description{color:#34445c!important;margin:0!important;font-size:12px!important;line-height:1.45!important;overflow-wrap:anywhere!important;white-space:normal!important}
#m4y-assistant-root .m4ya-article-title:focus-visible{outline:2px solid #2376b5!important;outline-offset:3px!important}
@media(max-width:600px){#m4y-assistant-root .m4ya-article{padding:10px 0!important}}
