/* The launcher occupies a real header slot; no floating control covers portfolio content. */
.rk-chat-open { display:flex;align-items:center;justify-content:center;gap:7px;min-width:42px;min-height:42px;padding:7px 10px;border:1px solid #ffffff35;border-radius:24px;background:#15171970;backdrop-filter:blur(12px);font-size:10px;letter-spacing:1px;transition:background 120ms ease-out,border-color 120ms ease-out; }
.rk-chat-open[hidden] { display:none; }
.rk-chat-open:hover { border-color:#e7243290;background:#301319a8; }
.rk-chat-open svg { width:23px;height:23px;color:#eeeae2; }
#rk-chat { position:fixed;inset:0;margin:auto;width:min(390px,calc(100vw - 28px));height:min(580px,calc(100dvh - 42px));max-height:calc(100dvh - 42px);padding:0;overflow:hidden;border:1px solid #ffffff35;border-radius:22px;color:#eeeae2;background:linear-gradient(145deg,#232126ed,#111216f7 65%);box-shadow:0 22px 80px #0009;backdrop-filter:blur(24px);font:15px/1.5 Rajdhani,Arial,sans-serif; }
#rk-chat::backdrop { background:#03040780;backdrop-filter:blur(4px); }
#rk-chat[open] { display:flex;flex-direction:column;animation:rk-chat-in 240ms cubic-bezier(.2,0,0,1) both; }
.rk-chat-head { display:flex;align-items:center;justify-content:space-between;padding:17px 18px 12px;border-bottom:1px solid #ffffff16;gap:12px;flex:none; }
.rk-chat-head h2 { margin:0;font-size:20px;letter-spacing:-.2px;line-height:1.2; }
.rk-chat-head p { margin:4px 0 0;color:#c7bfc0;font-size:12px; }
.rk-chat-dot { display:inline-block;width:5px;height:5px;margin-right:6px;background:#e72432;border-radius:50%;vertical-align:middle; }
.rk-chat-close { width:40px;height:40px;padding:8px;border:1px solid #ffffff20;border-radius:50%;font-size:20px;flex:none; }
.rk-chat-messages { flex:1;min-height:0;padding:18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#66575b transparent; }
.rk-chat-message { margin:0 0 12px;padding:11px 13px;max-width:94%;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:4px 16px 16px 16px;background:#ffffff0a;border:1px solid #ffffff0d; }
.rk-chat-message[data-role="user"] { margin-left:auto;border-radius:16px 4px 16px 16px;background:#5e1c2966;border-color:#d35b6d25; }
.rk-chat-message[data-error] { color:#ffd2d7;border-color:#e7243250; }
.rk-chat-suggestions { display:flex;flex-wrap:wrap;gap:7px;margin:0 0 15px; }
.rk-chat-suggestions[hidden] { display:none; }
.rk-chat-suggestions button { padding:7px 10px;border:1px solid #ffffff30;border-radius:14px;font-size:12px; }
.rk-chat-contact { display:flex;flex-wrap:wrap;gap:16px;padding:0 18px 10px;flex:none; }
.rk-chat-contact a { font-size:11px;letter-spacing:.6px;text-decoration:underline;text-underline-offset:3px;color:#e3d7d9; }
.rk-chat-contact button{font:600 12px Rajdhani,Arial,sans-serif;border:1px solid #ffffff40;border-radius:16px;padding:6px 10px;color:#f0e7e7;background:#ffffff08}.rk-chat-contact [data-human]{width:100%;min-height:36px}.rk-chat-contact [data-erase]{margin-left:auto;font-size:10px;border:0;padding:0}.rk-chat-contact [hidden],.rk-chat-suggestions[hidden]{display:none}.rk-handoff-state{margin:10px 14px 0;padding:9px 12px;border:1px solid #c9bfc733;border-radius:12px;background:#ffffff09;font-size:12px;line-height:1.4}.rk-message-author{display:block;margin-bottom:3px;font-size:10px;letter-spacing:.5px;color:#c3b6bb}.rk-chat-message[data-role="human"]{background:#18382b70;border-color:#72ad8b38}.rk-chat-suggestions{padding:0 18px;margin-bottom:10px}
.rk-chat-form { padding:0 14px 13px;flex:none; }
.rk-chat-composer { display:flex;gap:8px;align-items:flex-end;padding:7px;border:1px solid #ffffff35;border-radius:16px;background:#08090b77; }
.rk-chat-composer textarea { display:block;resize:none;flex:1;min-width:0;height:55px;max-height:110px;padding:6px;border:0;background:transparent;color:#f8f3f3;font:16px/1.35 Rajdhani,Arial,sans-serif; }
.rk-chat-composer textarea::placeholder { color:#b4acaf;opacity:1; }
.rk-chat-send { width:40px;min-height:40px;flex:none;border-radius:12px;background:#c51f2d;color:white;font-size:21px; }
.rk-chat-note { margin:8px 4px 0;color:#b2a9ad;font-size:11px;line-height:1.35; }
.rk-chat-status { min-height:18px;margin:0 4px 6px;color:#f0bdc3;font-size:12px; }
#rk-chat :is(button,a,textarea):focus-visible { outline:2px solid #ff7280;outline-offset:3px; }
@keyframes rk-chat-in { from { opacity:0;transform:translateY(10px) scale(.985); } to { opacity:1;transform:none; } }
@media(max-width:1100px) { .rk-chat-open span { display:none; }.rk-chat-open { padding:7px; } }
@media(max-width:760px) { .masthead .header-actions { gap:12px; }.rk-chat-open { width:40px;min-width:40px; }.masthead .languages { gap:5px; } }
@media(max-width:350px) { .masthead .header-actions { gap:7px; }.masthead .brand { width:100px; }.rk-chat-open { min-width:36px;width:36px;min-height:40px; } }
@media(prefers-reduced-motion:reduce) { #rk-chat[open] { animation:none; }.rk-chat-open { transition:none; } }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { #rk-chat { background:#171519;backdrop-filter:none; }.rk-chat-open { background:#161319;backdrop-filter:none; } }
@media(forced-colors:active) { #rk-chat,.rk-chat-message,.rk-chat-send,.rk-chat-open { background:Canvas;color:CanvasText;border:1px solid CanvasText; } }
