/* Scoped common floating tools. No changes to page bodies, enrollment bars or assistant data handling. */
.keri-shell .keri-chatbot.shell-quick-tools{position:fixed;z-index:180;right:clamp(12px,calc((100vw - 1280px)/2 - 80px),24px);bottom:calc(var(--quick-bottom,12px) + var(--quick-keyboard,0px) + env(safe-area-inset-bottom,0px));display:flex;align-items:flex-end;flex-direction:column;gap:14px;width:auto;max-width:calc(100vw - 24px);margin:0;padding:0;font-family:PreviewPretendard,'Malgun Gothic',sans-serif;color:#182833}
.keri-shell .shell-quick-tools.is-suspended{visibility:hidden;pointer-events:none}
.keri-shell .shell-quick-dock{display:flex;flex-direction:column;align-items:center;gap:10px}
.keri-shell .shell-quick-tools :is(button,a,input,textarea,summary):focus-visible{outline:3px solid #245cc3;outline-offset:3px}
.keri-shell .shell-quick-tools :is(.keri-chatbot__launcher,.shell-back-top){box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:64px;min-width:64px;min-height:64px;padding:10px 4px;border:1px solid #245cc3;border-radius:22px;background:#245cc3;color:#fff;font:650 12px/1.25 PreviewPretendard,sans-serif;cursor:pointer;box-shadow:0 6px 20px #18283312;transition:background-color .18s,color .18s,border-color .18s}
.keri-shell .shell-quick-tools .ui-icon{display:block;width:28px;height:28px;flex:none}
.keri-shell .shell-quick-tools .keri-chatbot__launcher b{font:inherit}
.keri-shell .shell-quick-tools .shell-back-top{min-height:60px;border-color:#6a7d90;border-radius:50%;background:#fff;color:#43576b;box-shadow:none}
.keri-shell .shell-back-top .ui-icon{width:19px;height:19px;transform:rotate(90deg)}
.keri-shell .shell-quick-tools .keri-chatbot__launcher:is(:hover,:focus-visible){background:#174596;border-color:#174596;color:#fff}
.keri-shell .shell-quick-tools .shell-back-top:is(:hover,:focus-visible){background:#edf2fa;border-color:#245cc3;color:#245cc3}
.keri-shell .shell-quick-tools .keri-chatbot__panel{box-sizing:border-box;width:376px;max-width:calc(100vw - 24px);max-height:var(--quick-panel-height,calc(100dvh - 140px));overflow:auto;overscroll-behavior:contain;border:1px solid #6a7d90;border-radius:24px;background:#fff;box-shadow:0 16px 50px #18283326;scroll-padding:12px}
.keri-shell .shell-quick-tools .keri-chatbot__panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 20px;border:0;background:#edf2fa;color:#182833}
.keri-shell .shell-quick-tools .keri-chatbot__panel header span{display:block;margin:0 0 7px;color:#43576b;font-size:12px;font-weight:650;letter-spacing:0}
.keri-shell .shell-quick-tools .keri-chatbot__panel h2{margin:0;color:#182833;font-size:20px;line-height:1.5;letter-spacing:-.035em}
.keri-shell .shell-quick-tools .keri-chatbot__panel header button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #6a7d90;border-radius:50%;background:#fff;color:#43576b;cursor:pointer}
.keri-shell .shell-quick-tools .keri-chatbot__panel header button .ui-icon{width:20px;height:20px}
.keri-shell .shell-quick-tools .keri-chatbot__log{display:flex;max-height:220px;flex-direction:column;gap:12px;overflow:auto;padding:20px 20px 10px}
.keri-shell .shell-quick-tools .keri-chatbot__message{box-sizing:border-box;max-width:100%;padding:15px 16px;border:0;border-radius:4px 18px 18px;background:#f2f5f9}
.keri-shell .shell-quick-tools .keri-chatbot__message--user{align-self:flex-end;border-radius:18px 4px 18px 18px;background:#eaf0fd}
.keri-shell .shell-quick-tools .keri-chatbot__message strong{color:#245cc3;font-size:12px}
.keri-shell .shell-quick-tools .keri-chatbot__message p{margin:6px 0 0;color:#43576b;font-size:15px;line-height:1.65;white-space:pre-wrap}
.keri-shell .shell-quick-tools .keri-chatbot__form{display:grid;gap:10px;margin:0;padding:14px 20px 18px}
.keri-shell .shell-quick-tools .keri-chatbot__form>label:first-child{color:#182833;font-size:15px;font-weight:650}
.keri-shell .shell-quick-tools .keri-chatbot__form textarea{box-sizing:border-box;width:100%;min-height:84px;resize:vertical;padding:12px;border:1px solid #6a7d90;border-radius:12px;background:#fff;color:#182833;font:16px/1.6 PreviewPretendard,sans-serif}
.keri-shell .shell-quick-tools textarea::placeholder{color:#536471;opacity:1}
.keri-shell .shell-quick-tools .keri-chatbot__consent{display:grid;grid-template-columns:20px 1fr;gap:9px;align-items:start;padding-block:4px;color:#43576b;font-size:13px;line-height:1.6;cursor:pointer}
.keri-shell .shell-quick-tools .keri-chatbot__consent input{width:20px;height:20px;margin:0;accent-color:#245cc3}
.keri-shell .shell-quick-tools .keri-chatbot__status{min-height:0;margin:0;color:#43576b;font-size:13px;line-height:1.6}
.keri-shell .shell-quick-tools .keri-chatbot__form button{min-height:48px;border:1px solid #245cc3;border-radius:12px;background:#245cc3;color:#fff;font:650 15px/1.5 PreviewPretendard,sans-serif;cursor:pointer}
.keri-shell .shell-quick-tools .keri-chatbot__form button:disabled{opacity:1;background:#e5eaf1;border-color:#6a7d90;color:#536471;cursor:not-allowed;box-shadow:none}
.keri-shell .shell-quick-tools .keri-chatbot__quick{border-top:1px solid #dce3ed}
.keri-shell .shell-quick-tools .keri-chatbot__quick summary{min-height:48px;padding:15px 20px;box-sizing:border-box;color:#245cc3;font-size:15px;font-weight:650;cursor:pointer}
.keri-shell .shell-quick-tools .keri-chatbot__panel nav{display:grid;gap:8px;padding:0 20px 16px}
.keri-shell .shell-quick-tools .keri-chatbot__panel nav a{display:flex;align-items:center;min-height:46px;padding:8px 12px;box-sizing:border-box;border:1px solid #6a7d90;border-radius:10px;background:#fff;color:#245cc3;font-size:14px;font-weight:600;text-decoration:none}
.keri-shell .shell-quick-tools .keri-chatbot__panel nav a::after{content:none}
.keri-shell .shell-quick-tools .keri-chatbot__panel nav a:is(:hover,:focus-visible){background:#edf2fa}
.keri-shell .shell-quick-tools .keri-chatbot__support{display:block;margin:0 20px 20px;min-height:44px;padding-top:12px;box-sizing:border-box;color:#245cc3;font-size:14px;font-weight:600;line-height:1.5;text-align:center;text-underline-offset:4px}
@media(max-width:767px){.keri-shell .shell-quick-dock{flex-direction:row;gap:8px}.keri-shell .shell-quick-tools :is(.keri-chatbot__launcher,.shell-back-top){width:52px;min-width:52px;min-height:52px;border-radius:18px;font-size:10px;gap:3px;padding:6px 3px}.keri-shell .shell-quick-tools .keri-chatbot__launcher .ui-icon{width:23px;height:23px}.keri-shell .shell-quick-tools .shell-back-top{border-radius:50%}.keri-shell .shell-quick-tools .keri-chatbot__panel{border-radius:20px}.keri-shell .shell-quick-tools .keri-chatbot__panel header{padding:16px}.keri-shell .shell-quick-tools .keri-chatbot__panel h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.keri-shell .shell-quick-tools button{transition:none}}

/* Dark return control, visually distinct from the chat launcher. */
.keri-shell .shell-quick-tools .shell-back-top{background:#334155;border-color:#334155;color:#fff}
.keri-shell .shell-quick-tools .shell-back-top:focus-visible{background:#334155;border-color:#334155;color:#fff}
@media(hover:hover){.keri-shell .shell-quick-tools .shell-back-top:is(:hover,:focus-visible){background:#1e293b;border-color:#1e293b;color:#fff}}
