.mcr-root{position:fixed;right:16px;bottom:16px;z-index:99999;font:15px/1.45 Arial,sans-serif;color:#17283d;max-width:calc(100vw - 32px)}.mcr-buttons{display:flex;gap:7px;justify-content:flex-end}.mcr-buttons a,.mcr-buttons button,.mcr-panel button{border:0;border-radius:24px;padding:12px 15px;background:#183653;color:white;text-decoration:none;cursor:pointer;font:inherit}.mcr-buttons a{background:#167747}.mcr-panel{width:350px;max-width:100%;background:white;border:1px solid #ddd;border-radius:16px;box-shadow:0 6px 30px #0003;margin-bottom:10px;overflow:hidden}.mcr-panel[hidden]{display:none!important}.mcr-panel header{background:#183653;color:white;padding:10px 15px;display:flex;justify-content:space-between;align-items:center;font-weight:bold}.mcr-panel header button{padding:3px 10px}.mcr-log{height:260px;max-height:35vh;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.mcr-msg{padding:9px 12px;border-radius:12px;background:#edf2f6;white-space:pre-wrap;overflow-wrap:anywhere}.mcr-msg.user{background:#183653;color:white;align-self:flex-end}.mcr-panel small{display:block;padding:8px 12px;font-size:11px}.mcr-panel form{display:flex;padding:10px;gap:6px}.mcr-panel input{min-width:0;flex:1;border:1px solid #aaa;border-radius:8px;padding:8px;font:inherit;color:#17283d;background:white}

.mcr-root{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);color:#242424;box-sizing:border-box}.mcr-root *{box-sizing:border-box}.mcr-panel{width:370px;max-width:100%;border:1px solid #d5b65d}.mcr-panel header{background:#151515;color:#f4d477;gap:8px;justify-content:flex-start}.mcr-panel header button{margin-left:auto;background:transparent;color:#f4d477}.mcr-logo{width:36px;height:36px;object-fit:contain;border-radius:50%}.mcr-buttons button,.mcr-panel form button,.mcr-hint{background:#d9b64e;color:#171717;font-weight:bold}.mcr-msg.user{background:#202020;color:#fff}.mcr-msg.bot{background:#f5f0e5;color:#242424}.mcr-log{height:300px;max-height:36vh;max-height:36dvh;min-height:0}.mcr-panel input{font-size:16px}.mcr-hint{display:block;margin:0 0 8px auto;border:1px solid #b99538;border-radius:14px;padding:10px;cursor:pointer;font:inherit;box-shadow:0 3px 15px #0002}.mcr-panel:not([hidden])~.mcr-hint{display:none}.mcr-panel button:disabled{opacity:.55}.mcr-buttons a,.mcr-buttons button{white-space:nowrap}@media(max-width:480px){.mcr-root{left:10px;right:10px;width:auto;max-width:none;bottom:max(10px,env(safe-area-inset-bottom))}.mcr-panel{width:100%;max-height:calc(100dvh - 90px);display:flex;flex-direction:column}.mcr-log{height:270px;max-height:32dvh;flex:1 1 auto}.mcr-panel form,.mcr-panel header,.mcr-panel small{flex-shrink:0}.mcr-buttons{gap:5px}.mcr-buttons a,.mcr-buttons button{padding:10px 12px;font-size:14px}.mcr-panel small{font-size:11px;line-height:1.35}.mcr-panel form button{padding:9px 13px}}
