/* Merlin V15 additive conversations interface. Scoped CSS only. */
body.merlin-v15-open { overflow: hidden; }
.merlin-v15-launch { position:fixed;right:20px;bottom:20px;z-index:5000;background:#182c52;border:1px solid #65799c;color:#fff;padding:11px 16px;border-radius:999px;font:600 14px system-ui;box-shadow:0 6px 28px #0005;cursor:pointer; }
.merlin-v15-inline-launch { position:static;margin-left:8px;box-shadow:none;vertical-align:middle; }
.merlin-v15-overlay[hidden] { display:none!important; }
.merlin-v15-overlay { position:fixed;inset:0;z-index:99999;background:#040c19d9;display:flex;align-items:center;justify-content:center;color:#e9edf7;font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif; }
.merlin-v15-shell { display:flex;width:min(1170px,97vw);height:min(850px,96dvh);background:#121b2d;border:1px solid #394765;border-radius:17px;overflow:hidden;box-shadow:0 25px 100px #000a; }
.merlin-v15-shell * { box-sizing:border-box; }
.merlin-v15-sidebar { width:276px;min-width:246px;background:#0c1628;display:flex;flex-direction:column;border-right:1px solid #33415b; }
.merlin-v15-sidebar-top { display:flex;gap:8px;justify-content:space-between;align-items:center;padding:18px 14px 12px; }
.merlin-v15-new,.merlin-v15-rename,.merlin-v15-archive,.merlin-v15-close,.merlin-v15-sidebar-toggle { color:#e8edf6;border:1px solid #52607a;background:#27334a;border-radius:8px;cursor:pointer;padding:7px 9px;font:inherit; }
.merlin-v15-new:hover,.merlin-v15-rename:hover,.merlin-v15-archive:hover,.merlin-v15-close:hover { background:#3b4c69; }
.merlin-v15-search-label { color:#aab7cb;font-size:12px;margin:0 14px 14px; }
.merlin-v15-search { width:100%;margin-top:7px;padding:9px 10px;color:#fff;background:#111e32;border:1px solid #3d4e69;border-radius:8px;font:inherit; }
.merlin-v15-thread-list { overflow:auto;flex:1;padding:0 8px 12px; }
.merlin-v15-group { font-size:11px;color:#9baed0;text-transform:uppercase;letter-spacing:.08em;padding:13px 8px 5px; }
.merlin-v15-thread { width:100%;text-align:left;display:flex;flex-direction:column;gap:4px;border:none;background:none;color:#e0e8f7;padding:10px 11px;border-radius:8px;cursor:pointer;font:inherit; }
.merlin-v15-thread:hover,.merlin-v15-thread.selected { background:#273854; }
.merlin-v15-thread-title {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;font-weight:550;}
.merlin-v15-thread small {color:#95a7c2;}
.merlin-v15-sidebar-foot {padding:13px;font-size:11px;color:#91a1bb;border-top:1px solid #31405a;}
.merlin-v15-empty {color:#abb7cd;padding:8px 11px;}
.merlin-v15-main { display:flex; flex:1; min-width:0;flex-direction:column; }
.merlin-v15-topbar {display:flex;gap:9px;align-items:center;border-bottom:1px solid #35445b;padding:13px 15px;}
.merlin-v15-heading {display:flex;flex-direction:column;flex:1;min-width:0;}
.merlin-v15-title {font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.merlin-v15-subtitle,.merlin-v15-msg-meta {font-size:11px;color:#a8b7cc;}
.merlin-v15-close {font-size:20px;min-width:36px;}
.merlin-v15-status {color:#b1d3ff;min-height:21px;padding:3px 20px;font-size:12px;}
.merlin-v15-status.error {color:#ffaeae;}
.merlin-v15-exchanges {flex:1;overflow-y:auto;padding:5px min(4vw,32px) 16px;display:flex;flex-direction:column;gap:16px;}
.merlin-v15-welcome {color:#b4c2d7;text-align:center;margin:65px 8px;}
.merlin-v15-exchange {border:1px solid #374862;background:#18253a;padding:16px;border-radius:13px;display:flex;flex-direction:column;gap:12px;}
.merlin-v15-question {margin-left:12%;background:#263e61;border-radius:10px;padding:10px 14px;}
.merlin-v15-answer {margin-right:6%;padding:1px 4px;}
.merlin-v15-question-body {white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;}
.merlin-v15-answer-body {margin-top:7px;overflow-wrap:anywhere;line-height:1.6;}
.merlin-v15-answer-line {white-space:pre-wrap;}
.merlin-v15-answer-body strong {font-weight:750;}
.merlin-v15-answer-body a {color:#9bd3ff;}
.merlin-v15-answer-list {margin:4px 0;padding-left:23px;}
.merlin-v15-code {background:#09121e;overflow:auto;border-radius:7px;padding:10px;white-space:pre;}
.merlin-v15-spacer {height:8px;}
.merlin-v15-action {display:inline-block;margin-top:12px;padding:8px 12px;background:#2e5e98;border-radius:8px;text-decoration:none;color:white!important;font-weight:600;}
.merlin-v15-compose {display:flex;gap:10px;padding:15px 18px 6px;border-top:1px solid #34435b;align-items:flex-end;}
.merlin-v15-compose textarea {flex:1;resize:vertical;min-height:58px;max-height:180px;border:1px solid #536681;border-radius:10px;background:#091526;color:#f3f7ff;padding:10px 12px;font:inherit;}
.merlin-v15-send {background:#346fad;color:white;border:0;border-radius:9px;padding:13px 17px;font:600 14px system-ui;cursor:pointer;}
.merlin-v15-send:disabled {opacity:.5;cursor:wait;}
.merlin-v15-help {color:#8d9eb8;font-size:11px;padding:0 18px 10px;}
.merlin-v15-sidebar-toggle {display:none;}
.merlin-v15-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
@media (max-width:760px){.merlin-v15-shell{width:100vw;height:100dvh;border-radius:0;}.merlin-v15-sidebar{display:none;position:absolute;top:0;bottom:0;left:0;z-index:2;box-shadow:12px 0 30px #0009;}.merlin-v15-overlay.mobile-sidebar .merlin-v15-sidebar{display:flex;}.merlin-v15-sidebar-toggle{display:block;}.merlin-v15-rename,.merlin-v15-archive{font-size:12px;padding:6px;}.merlin-v15-exchanges{padding:9px 10px;}.merlin-v15-question{margin-left:2%;}.merlin-v15-answer{margin-right:0;}.merlin-v15-launch{bottom:12px;right:12px;}}
