/* Koshira assistant: purposely isolated to avoid changing bespoke homepage design. */
.k-chat-launch{position:relative;display:inline-grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:1px solid #d5c9ff;color:#fff;background:linear-gradient(155deg,#323450,#15192b);border-radius:16px;cursor:pointer;opacity:.78;box-shadow:0 10px 24px #0b0c1a66;transition:opacity .22s,transform .22s,box-shadow .22s,border-color .22s;padding:0;isolation:isolate;z-index:1}
.k-chat-launch svg{width:34px;height:34px;display:block;overflow:visible}
.k-chat-launch:hover,.k-chat-launch:focus-visible,.k-chat-launch[aria-expanded=true]{opacity:1;transform:translateY(-4px) scale(1.10);box-shadow:0 16px 33px #0909178c;border-color:#ff826a}
.k-chat-launch::after{content:'Ask me anything!';position:absolute;white-space:nowrap;bottom:calc(100% + 13px);right:-11px;padding:10px 12px 11px;border-radius:12px 12px 3px 12px;border:1px solid #ffd1c7;background:#ff826a;color:#131626;font:800 11px/1.2 Inter,'Segoe UI',Arial,sans-serif;letter-spacing:0;opacity:.36;transform:translateY(3px) scale(.96);transform-origin:right bottom;transition:opacity .22s,transform .22s;pointer-events:none;box-shadow:0 7px 15px #111a}
.k-chat-launch:hover::after,.k-chat-launch:focus-visible::after,.k-chat-launch[aria-expanded=true]::after{opacity:1;transform:translateY(-3px) scale(1.04)}
.k-chat-panel{position:fixed;z-index:90;bottom:88px;right:20px;width:min(390px,calc(100vw - 26px));height:min(540px,calc(100dvh - 118px));min-height:260px;border:1px solid #dcd8ed;border-radius:20px;background:#fff;color:#141827;box-shadow:0 25px 75px #080c1aa8;overflow:hidden;display:flex;flex-direction:column;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;text-align:left;line-height:1.5;animation:kChatIn .18s ease-out}
.k-chat-panel[hidden]{display:none!important}
.k-chat-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;background:#181a30;color:white;padding:17px 18px 15px}
.k-chat-heading{display:flex;gap:10px;align-items:center}.k-chat-heading>span:first-child{display:grid;place-items:center;background:#31324a;border-radius:10px;color:#ffab96;width:32px;height:32px;font-size:19px}
.k-chat-header strong{display:block;font-size:15px;color:white;font-weight:850}.k-chat-header small{display:block;color:#d2cde3;font-size:11px;line-height:1.4}
.k-chat-close{background:none;color:#fff;border:1px solid #ffffff55;border-radius:9px;width:30px;height:30px;font:24px/1 Arial;cursor:pointer}
.k-chat-disclosure{font-size:11px;line-height:1.5;background:#f3f0fa;color:#514a65;padding:9px 16px;border-bottom:1px solid #e4dfed}
.k-chat-disclosure a{font-weight:750;text-decoration:underline}
.k-chat-log{padding:16px;flex:1;overflow-y:auto;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:12px}
.k-chat-message{border-radius:14px;padding:11px 13px;font-size:13px;line-height:1.6;max-width:95%;white-space:pre-wrap;word-break:normal}
.k-chat-message.bot{align-self:flex-start;background:#efebfa;color:#2c2940}
.k-chat-message.user{align-self:flex-end;background:#ffded5;color:#2f2524}
.k-chat-message a{display:inline-block;margin-top:6px;text-decoration:underline;font-weight:800;color:#3f3762}
.k-chat-chips{display:flex;flex-wrap:wrap;gap:5px;padding:7px 12px 9px;border-top:1px solid #ece8ee}
.k-chat-chips button{font:750 11px Inter,'Segoe UI',sans-serif;padding:6px 9px;background:white;border:1px solid #ddd5e8;border-radius:22px;color:#2e3040;cursor:pointer}
.k-chat-chips button:hover{border-color:#7364ad;background:#f5f1ff}
.k-chat-form{display:flex;gap:7px;padding:10px 12px 12px;border-top:1px solid #ece8ee;background:#fff}
.k-chat-input{flex:1;width:100%;min-width:0;border:1px solid #c7c3ce;border-radius:9px;padding:11px;font:13px Inter,'Segoe UI',sans-serif;color:#151827;background:white}
.k-chat-send{font:800 12px Inter,'Segoe UI',sans-serif;color:#171726;background:#ff826a;border:0;border-radius:9px;padding:10px 13px;cursor:pointer}
.k-chat-send:disabled{opacity:.55;cursor:wait}
.k-chat-foot{border-top:1px solid #ede9f0;padding:8px 13px;font-size:11px;color:#696577;text-align:center;background:#f9f8fb}
.k-chat-foot a{text-decoration:underline;font-weight:750}
body:not([data-page=home]) .interaction-tools.k-inner-dock{position:fixed;bottom:18px;right:19px;z-index:89;display:flex;align-items:center;gap:9px}
body:not([data-page=home]) .motion-switch{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#1e2135;border:1px solid #eee4ef70;border-radius:100px;color:white;min-height:42px;padding:9px 13px;font:750 11px Inter,'Segoe UI',Arial,sans-serif;box-shadow:0 10px 24px #1115;cursor:pointer}
body:not([data-page=home]) .motion-switch:hover{background:#30354f}
html.motion-off *,html.motion-off *::before,html.motion-off *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}
@keyframes kChatIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:570px){
.k-chat-panel{right:7px;bottom:76px;width:calc(100vw - 14px);height:min(570px,calc(100dvh - 110px));border-radius:17px}
.k-chat-launch{width:44px;height:44px;border-radius:14px}.k-chat-launch svg{width:32px;height:32px}
.k-chat-launch::after{font-size:10px;right:-3px;bottom:calc(100% + 9px)}
body:not([data-page=home]) .interaction-tools.k-inner-dock{right:9px;bottom:10px;gap:7px}
body:not([data-page=home]) .motion-switch{min-height:40px;padding:8px 10px}
.k-chat-header{padding:13px 14px}.k-chat-log{padding:12px}.k-chat-disclosure{padding:8px 13px}
}
@media(prefers-reduced-motion:reduce){.k-chat-panel{animation:none}.k-chat-launch,.k-chat-launch::after{transition:none}.k-chat-launch:hover,.k-chat-launch:focus-visible{transform:none}}
/* Keep the floating hint out of the way after chat opens and on touchscreens. */
.k-chat-launch[aria-expanded="true"]::after{opacity:0!important;transform:translateY(0) scale(.92)!important}
@media(hover:none){.k-chat-launch::after{opacity:0;transform:translateY(4px) scale(.9)}.k-chat-launch:focus-visible::after{opacity:1;transform:translateY(-3px) scale(1.02)}}
@media(max-width:570px){.k-chat-launch::after{opacity:0;transform:translateY(3px) scale(.94)}.k-chat-launch:hover::after,.k-chat-launch:focus-visible::after{opacity:1;transform:translateY(-2px) scale(1.01)}}
