.companion-launcher{position:fixed;bottom:20px;z-index:45;display:flex;gap:10px;align-items:center;min-height:48px;padding:12px 17px;background:linear-gradient(#26353b,#162128);border:1px solid #b4985e;border-radius:7px;color:#eedcaf;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;box-shadow:0 4px 20px #0009;cursor:pointer}.companion-launcher svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.companion-launcher.chat-launcher{left:18px}.companion-launcher.assistant-launcher{right:18px}.companion-launcher[aria-expanded=true]{background:#3a3425;border-color:#e0c180}.companion-panel{position:fixed;bottom:82px;z-index:46;width:min(340px,calc(100vw - 28px));height:min(610px,calc(100dvh - 112px));display:flex;flex-direction:column;overflow:hidden;background:#101b22;border:1px solid #8f784f;border-radius:9px;color:#e5dfd0;box-shadow:0 10px 45px #000b;font:14px/1.55 system-ui,sans-serif}.companion-panel[hidden]{display:none}.companion-chat{left:18px}.companion-assistant{right:18px}.companion-panel>header{padding:16px;background:linear-gradient(120deg,#293730,#19252b);border-bottom:1px solid #786542;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.companion-panel header h2{font:400 24px/1.2 var(--serif,Georgia,serif);margin:0 0 4px;color:#f0d69a}.companion-panel header p{margin:0;font-size:12px;color:#bdc8c4}.companion-close{background:transparent;border:1px solid #6e755f;border-radius:5px;color:#ecdfc1;font-size:22px;line-height:1;min-width:36px;min-height:36px;cursor:pointer}.companion-body{overflow:auto;min-height:0;flex:1;padding:14px;overscroll-behavior:contain}.companion-message{padding:11px 12px;margin:0 0 12px;background:#202c33;border:1px solid #37474a;border-radius:7px;overflow-wrap:anywhere}.companion-message .message-heading{display:flex;gap:8px;align-items:baseline;justify-content:space-between}.companion-message strong{color:#e1c48a}.companion-message time{font-size:11px;color:#b7c1bd}.companion-message p{margin:6px 0;white-space:pre-wrap;line-height:1.6}.message-tools{display:flex;gap:12px}.message-tools button{border:0;background:none;color:#bdc4b6;padding:4px 0;text-decoration:underline;font:inherit;font-size:11px;cursor:pointer}.companion-form{padding:12px 14px;border-top:1px solid #53604e;background:#152229;display:grid;gap:8px}.companion-form label{font-size:12px;color:#c3c9be}.companion-form input,.companion-form textarea{width:100%;box-sizing:border-box;background:#0c161d;border:1px solid #65705b;border-radius:5px;color:#eee6d7;padding:9px 10px;font:inherit;resize:vertical}.companion-form textarea{min-height:60px;max-height:125px}.companion-form button[type=submit]{background:linear-gradient(#5a4b2c,#3b3424);border:1px solid #b99a60;border-radius:5px;color:#ffe8ac;min-height:42px;padding:8px 14px;font:inherit;cursor:pointer}.companion-form button:disabled{opacity:.55;cursor:wait}.companion-status{margin:0;font-size:12px;min-height:18px;color:#d2cabb}.companion-note{margin:0;color:#afbcb9;font-size:11px}.companion-note a,.companion-answer a{color:#e3c78c;text-decoration:underline}.assistant-question{margin-left:22px;background:#303727}.companion-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.companion-suggestions button{background:#253536;border:1px solid #7a7752;border-radius:5px;color:#e9d8b0;padding:7px 9px;font:inherit;font-size:12px;cursor:pointer}.companion-result{display:block;border-top:1px solid #46514b;padding:10px 0;text-decoration:none!important}.companion-result span{display:block;font-size:11px;color:#b6c2b9}.companion-result strong{display:block;color:#efdaa8;font-size:14px}.companion-result p{font-size:12px;color:#c6cdc5;margin:4px 0;white-space:normal}.companion-panel :focus-visible,.companion-launcher:focus-visible{outline:2px solid #f1cc7f;outline-offset:3px}.companion-empty{padding:15px 3px;color:#c3cec5}.companion-panel .assistant-disclosure{font-size:11px;color:#afbbb3;margin:10px 0}.gate-logo .gate-logo-subtitle{font:400 clamp(7px,.72vw,11px)/1.4 system-ui,sans-serif;letter-spacing:.5px;margin-top:10px;color:#e9d7ad;white-space:nowrap}.brand .brand-subtitle{display:block;font-size:9px;line-height:1.5;letter-spacing:.6px;color:#bbb69b;text-transform:none;margin-top:4px}.header .brand{align-items:center}.companion-admin{max-width:900px;margin:45px auto;padding:20px}.companion-admin input{font:inherit;padding:12px;max-width:100%;background:#18252c;color:#eee;border:1px solid #827351}.companion-admin button{padding:10px 14px;background:#302c21;color:#e9d6aa;border:1px solid #97814d;border-radius:4px;cursor:pointer}.companion-admin .message-tools{margin-top:8px}.companion-admin section{margin:18px 0}.companion-admin a{color:#dfc68f}@media(max-width:740px){.companion-launcher{bottom:12px;font-size:12px;padding:10px 12px;max-width:calc(50vw - 20px)}.companion-launcher.chat-launcher{left:12px}.companion-launcher.assistant-launcher{right:12px}.companion-panel{left:12px;right:12px;bottom:74px;width:auto;height:min(570px,calc(100dvh - 90px))}.companion-launcher svg{width:19px;height:19px}.gate-logo .gate-logo-subtitle{font-size:8px;letter-spacing:0;margin-top:6px}.footer{padding-bottom:90px}}
