#mos-support-open{position:fixed;right:16px;bottom:16px;z-index:2000;background:#8de8cd;color:#10281f;border:1px solid #40546c;border-radius:24px;min-height:48px;padding:12px 18px;font:600 15px system-ui;box-shadow:0 4px 20px #0005;cursor:pointer}
#mos-support{box-sizing:border-box;background:#101822;color:#e7edf6;border:1px solid #52657e;border-radius:16px;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;overflow:auto;font:15px/1.5 system-ui;z-index:2001}
#mos-support::backdrop{background:#0009}#mos-support *{box-sizing:border-box}#mos-support [hidden]{display:none!important}#mos-support header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;position:sticky;top:0;background:#192433;border-bottom:1px solid #40546c;z-index:1}#mos-support h2{font-size:18px;margin:0}#mos-support .mos-body{padding:16px}#mos-support p{margin:8px 0;color:#c9d7e6}#mos-support label{display:block;font-weight:600;margin:12px 0 4px}#mos-support input,#mos-support textarea,#mos-support select{font:inherit;width:100%;min-width:0;background:#101a27;color:#edf4fd;border:1px solid #52657e;border-radius:8px;padding:10px}#mos-support textarea{min-height:80px;resize:vertical}#mos-support input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px}#mos-support button{font:inherit;background:#233247;color:#edf4fd;border:1px solid #52657e;border-radius:8px;padding:10px 12px;min-height:44px;cursor:pointer;margin:6px 6px 0 0}#mos-support button:disabled{opacity:.5;cursor:wait}#mos-support .mos-primary{background:#8de8cd;color:#10281f}#mos-support :focus-visible,#mos-support-open:focus-visible{outline:3px solid #9fc7ff;outline-offset:3px}#mos-support .mos-small{font-size:13px;color:#b4c5d9}#mos-support .mos-actions{display:flex;flex-wrap:wrap;gap:4px}#mos-support #mos-chat-log{max-height:240px;overflow:auto;border:1px solid #40546c;border-radius:8px;padding:10px;white-space:pre-wrap;overflow-wrap:anywhere}#mos-support #mos-support-status{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid #8de8cd;padding:10px;background:#192433}#mos-support details{border-top:1px solid #40546c;margin-top:16px;padding-top:12px}#mos-support summary{cursor:pointer;min-height:44px;font-weight:600}#mos-support a{color:#9fc7ff}
@media(max-width:500px){#mos-support{width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;border:0;border-radius:0}#mos-support .mos-body{padding:16px 16px max(20px,env(safe-area-inset-bottom))}#mos-support-open{bottom:max(12px,env(safe-area-inset-bottom));right:12px}}

#mos-support.mos-expanded{width:calc(100vw - 32px);max-width:1200px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
#mos-support.mos-expanded #mos-chat-log{max-height:55dvh}
#mos-support .mos-window-actions{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}
#mos-support header h2{min-width:0;overflow-wrap:anywhere}
#mos-support .mos-chat-entry{border-bottom:1px solid #40546c;padding:6px 0;white-space:normal}
#mos-support .mos-chat-entry p{white-space:pre-wrap;overflow-wrap:anywhere}
#mos-support .mos-chat-entry button{font-size:13px}
@media(max-width:500px){#mos-support header{flex-wrap:wrap}#mos-support.mos-expanded{width:100%;height:100dvh;max-height:100dvh;margin:0}#mos-support.mos-expanded #mos-chat-log{max-height:55dvh}}
