.remark-assistant{position:fixed;right:24px;bottom:22px;z-index:45;font:14px/1.55 Inter,Arial,sans-serif}.ra-launch{display:flex;align-items:center;gap:11px;border:1px solid #5576ff;background:#0032ef;color:#fff;box-shadow:0 6px 24px #0005;padding:13px 19px;border-radius:40px;font:500 13px Inter,Arial,sans-serif;min-height:50px}.ra-launch svg{width:22px;height:22px}.ra-panel{position:absolute;right:0;bottom:65px;width:370px;max-height:min(650px,calc(100dvh - 110px));display:flex;flex-direction:column;overflow:hidden;background:#141414;color:#f6f6f4;border:1px solid #3c3c3c;border-radius:16px;box-shadow:0 18px 60px #0009}.ra-panel[hidden]{display:none!important}.ra-panel header{display:flex;gap:12px;align-items:center;padding:18px;border-bottom:1px solid #333}.ra-avatar{display:grid;place-items:center;background:#0032ef;width:40px;height:40px;border-radius:12px}.ra-panel h2{font:600 16px/1.3 Inter,Arial,sans-serif;letter-spacing:-.03em;color:#fff;margin:0}.ra-panel header p{font-size:11px;color:#999;margin:3px 0 0}.ra-close{margin-left:auto;display:grid;place-items:center;width:32px;height:32px;border:0;background:none;color:#aaa;padding:5px}.ra-close svg{width:19px;height:19px}.ra-messages{padding:18px;overflow-y:auto;overscroll-behavior:contain;min-height:170px;max-height:340px;display:flex;flex-direction:column;gap:13px;scrollbar-width:thin}.ra-message{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.ra-message p{margin:0;color:inherit;white-space:pre-line}.ra-message.user{align-self:end;border-radius:12px 12px 2px 12px;background:#263c89;padding:10px 13px;max-width:88%;color:#fff}.ra-message.assistant{padding:0 5px 0 0;color:#c4c4c4}.ra-message.assistant strong{display:block;color:#fff;font-size:15px;margin-bottom:7px;font-weight:500}.ra-links{display:grid;gap:7px;margin-top:12px}.ra-links a{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#1f1f1f;border:1px solid #383838;border-radius:8px;padding:10px 12px;font-size:12px;color:#fff;text-decoration:none}.ra-links a:hover{border-color:#748fff}.ra-links svg{width:15px;height:15px}.ra-prompts{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 15px}.ra-prompts button{border:1px solid #444;background:transparent;color:#ccc;border-radius:20px;padding:7px 11px;font:11px Inter,Arial,sans-serif;min-height:32px}.ra-prompts button:hover{border-color:#7892ff;color:#fff}.ra-panel form{display:flex;gap:10px;border-top:1px solid #333;margin:0;padding:13px 16px;background:#181818}.ra-panel input{min-width:0;flex:1;border:0;background:none;color:#fff;font:13px Inter,Arial,sans-serif;padding:9px 0;border-radius:0}.ra-panel input:focus{outline:none}.ra-panel input:focus-visible{box-shadow:0 1px #8fa7ff}.ra-panel form button{background:#0032ef;border:0;border-radius:50%;color:white;width:36px;height:36px;display:grid;place-items:center;padding:8px}.ra-panel form button svg{width:20px;height:20px}.ra-foot{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#777;padding:0 18px 12px;background:#181818}.ra-foot a{color:#b8c4ff;text-decoration:none}.ra-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ra-loading{color:#b9c7ff;font-size:12px}.ra-panel button:focus-visible,.ra-panel a:focus-visible{outline:2px solid #8fa7ff;outline-offset:3px}@media(max-width:700px){.remark-assistant{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.ra-launch{width:52px;height:52px;padding:14px;justify-content:center;box-shadow:0 4px 18px #0005}.ra-launch span{display:none}.ra-launch svg{width:23px;height:23px}.ra-panel{position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));width:auto;max-height:min(620px,calc(100dvh - 35px));border-radius:18px}.ra-panel header{padding:16px}.ra-messages{max-height:min(330px,43dvh);min-height:150px;padding:16px}.ra-message{font-size:13px}.ra-panel input{font-size:16px}.ra-prompts{padding-inline:16px}.ra-foot{font-size:9px}.remark-assistant:has(.ra-panel:not([hidden])) .ra-launch{visibility:hidden}}

/* Compact, accessible assistant; never opens automatically. */
@font-face{font-family:Cairo;src:url('fonts/cairo-arabic.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC}
.remark-assistant{right:auto;left:20px;bottom:20px;font-family:'Space Grotesk',Cairo,Arial,sans-serif;z-index:70}.ra-launch{background:#101114;border-color:#4869ee;font-family:inherit;padding:11px 16px;min-height:46px}.ra-launch:hover{background:#182044}.ra-panel{right:auto;left:0;border-color:#444;border-radius:18px;background:#121316;width:360px}.ra-panel h2,.ra-panel button,.ra-panel input{font-family:'Space Grotesk',Cairo,Arial,sans-serif}.ra-panel header{background:#181a20}.ra-avatar{border-radius:50%;background:#203bc4}.ra-messages{min-height:145px;max-height:310px;gap:20px}.ra-message{font-size:13px}.ra-message[dir=rtl]{font-family:Cairo,Arial,sans-serif;font-size:14px}.ra-message.assistant{border-inline-start:2px solid #3e61f5;padding-inline-start:12px}.ra-message.user{background:#253c89;border-radius:12px}.ra-links a{min-height:42px;font-size:12px}.ra-prompts button{min-height:40px;font-size:12px}.ra-foot{font-size:10px;color:#b0b1b7}.ra-close{width:40px;height:40px}.menu-open .remark-assistant{visibility:hidden}.ra-panel form button{width:42px;height:42px;flex-shrink:0}.ra-launch:focus-visible{outline:2px solid white;outline-offset:4px}
@media(max-width:700px){.remark-assistant{left:14px;right:auto;bottom:max(16px,env(safe-area-inset-bottom))}.ra-launch{width:48px;height:48px;min-height:48px;padding:12px}.ra-panel{position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));width:auto;max-height:min(600px,calc(100dvh - 30px))}.ra-messages{max-height:38dvh}.ra-panel input{font-size:16px}}
