.spex-launch,.spex-top{z-index:80;border:0;border-radius:30px;align-items:center;gap:9px;font-weight:700;display:flex;position:fixed;box-shadow:0 8px 28px #064e3b33}.spex-launch{color:#fff;background:linear-gradient(120deg,#047857,#0e7490);padding:16px 22px;bottom:24px;right:24px}.spex-launch b{color:#172554;background:#fbbf24;border-radius:20px;padding:4px 8px;font-size:12px}.spex-top{color:#075985;background:#fff;padding:11px 16px;text-decoration:none;bottom:22px;left:20px}.spex-chat{z-index:90;color:#123b45;background:#fff;border:1px solid #b8dcd4;border-radius:24px;flex-direction:column;width:420px;max-height:calc(100dvh - 40px);font:14px/1.5 Arial,sans-serif;display:flex;position:fixed;bottom:20px;right:20px;overflow:hidden;box-shadow:0 20px 80px #082f4950}.spex-chat header{color:#fff;background:linear-gradient(120deg,#047857,#0e7490);align-items:center;gap:12px;padding:18px;display:flex}.spex-chat header strong{font-size:20px}.spex-chat small{font-size:12px;display:block}.spex-chat header button{color:#fff;background:0 0;border:0;margin-left:auto}.spex-avatar{background:#ffffff25;border-radius:18px;place-items:center;width:44px;height:44px;display:grid}.spex-messages{flex:1;min-height:100px;max-height:42dvh;padding:16px;overflow:auto}.spex-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#e8f6f3;border-radius:15px;margin-bottom:12px;padding:12px}.spex-message.agent{background:#e7efff;margin-left:24px}.spex-message.ken{background:#e9e4ff}.spex-message.system{background:#fff6dd}.spex-message p{margin:6px 0}.spex-message time{color:#566d77;font-size:10px}.spex-chat form{gap:8px;padding:10px 14px;display:flex}.spex-chat input{color:#123b45;background:#fff;border:1px solid #a8c9d0;border-radius:12px;flex:1;min-width:0;padding:12px}.spex-chat form button,.spex-action{color:#fff;background:#047857;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:12px;display:flex}.spex-action{margin:8px 14px}.spex-chat button{cursor:pointer}.spex-chat button:disabled{opacity:.5;cursor:default}.spex-chat footer{background:#f4f7fa;padding:10px 15px;font-size:11px}.spex-error{color:#a21932;padding:0 14px}.spex-wait{color:#8c5200;padding:0 14px}.spex-suggestions{flex-wrap:wrap;gap:6px;padding:0 14px;display:flex}.spex-suggestions button,.spex-end,.spex-pages button{color:#075985;background:#fff;border:1px solid #bad3dd;border-radius:10px;padding:7px;font-size:12px}.spex-end{margin:6px 14px}.spex-queue{max-height:155px;padding:8px 14px;overflow:auto}.spex-queue button{text-align:left;color:#123b45;background:#f0f7fb;border:1px solid #d1e3e8;border-radius:10px;width:100%;margin-bottom:6px;padding:8px;display:block}.spex-queue button.selected{border:2px solid #07866c}.spex-history-link{color:#075985;padding:8px 14px}.spex-pages{justify-content:space-between;padding:0 14px 8px;display:flex}.spex-history{z-index:1;width:min(900px,100% - 32px);max-height:none;margin:30px auto;position:relative;bottom:auto;right:auto}.spex-history .spex-messages{min-height:250px;max-height:60dvh}.spex-history .spex-queue{max-height:220px}@media (max-width:520px){.spex-chat{width:calc(100% - 16px);max-height:calc(100dvh - 16px);bottom:8px;right:8px}.spex-launch{bottom:16px;right:12px}.spex-top{padding:9px;bottom:18px;left:10px}.spex-history{margin:20px auto;position:relative;bottom:auto;right:auto}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.spex-avatar:has(img){background:0 0;flex-shrink:0;width:58px;height:58px}.spex-avatar img{border:2px solid #fffc;border-radius:50%;width:58px;height:58px;display:block}.spex-launch-face{border:2px solid #fffa;border-radius:50%;width:36px;height:36px}.spex-more-help{color:#075985!important;background:#e8f4f7!important;border:1px solid #b7d6df!important}.spex-admin-dock{z-index:90;pointer-events:none;align-items:flex-end;gap:12px;max-width:calc(100vw - 28px);display:flex;position:fixed;bottom:14px;right:14px}.spex-admin-dock .spex-chat{pointer-events:auto;width:330px;max-height:80dvh;position:relative;bottom:auto;right:auto}.spex-admin-dock .spex-admin-inbox{width:270px}.spex-admin-inbox .spex-queue{max-height:40dvh}.spex-admin-dock header{padding:13px}.spex-admin-dock header strong{font-size:17px}.spex-conversation .spex-messages{height:38dvh;max-height:38dvh}.spex-mobile-tabs{display:none}.spex-admin-history{z-index:1;flex-wrap:wrap;justify-content:center;max-width:100%;margin:24px auto;position:relative;bottom:auto;right:auto}@media (max-width:1000px){.spex-admin-dock .spex-chat{width:290px}.spex-admin-dock .spex-admin-inbox{width:220px}}@media (max-width:820px){.spex-admin-dock{flex-direction:column;align-items:stretch;gap:6px;max-width:calc(100vw - 16px);bottom:8px;left:8px;right:8px}.spex-admin-dock .spex-chat,.spex-admin-dock .spex-admin-inbox{width:100%}.spex-admin-inbox .spex-queue{max-height:100px}.spex-admin-dock .spex-conversation:not(.focused){display:none}.spex-mobile-tabs{pointer-events:auto;gap:6px;display:flex}.spex-mobile-tabs button{color:#075985;background:#e0f2fe;border:1px solid #38bdf8;border-radius:10px;flex:1;padding:8px}.spex-mobile-tabs button[aria-pressed=true]{color:#fff;background:#047857}.spex-conversation .spex-messages{height:24dvh;min-height:70px;max-height:24dvh}.spex-admin-dock .spex-chat{max-height:55dvh}.spex-admin-dock header{padding:9px}.spex-admin-history{max-width:100%;margin:20px auto;position:relative;bottom:auto;left:auto;right:auto}}.spex-wait-count{color:#172554;vertical-align:middle;background:#fbbf24;border-radius:50%;place-items:center;min-width:25px;height:25px;margin-left:5px;font-size:12px;font-weight:800;display:inline-grid;box-shadow:0 2px 8px #0002;padding:0 6px!important}.spex-reply-suggestions{background:#eef6fb;flex-wrap:wrap;gap:5px;padding:8px 12px;display:flex}.spex-reply-suggestions small{width:100%}.spex-reply-suggestions button{color:#047857;background:#fff;border:1px solid #a8d6cb;border-radius:12px;padding:6px;font-size:12px}.spex-chat textarea{resize:vertical;color:#123b45;min-width:0;font:inherit;background:#fff;border:1px solid #a8c9d0;border-radius:12px;flex:1;padding:10px}.spex-guide header{isolation:isolate;background:radial-gradient(at 18% 75%,#30d5a080,#0000 60%),linear-gradient(125deg,#064e3b,#087b72 65%,#075985);min-height:154px;padding:24px 48px 24px 158px;position:relative}.spex-guide header:after{content:"";pointer-events:none;z-index:-1;border:1px solid #ffffff24;border-radius:16px;position:absolute;inset:12px}.spex-guide header .spex-avatar{background:0 0;border:0;border-radius:0;width:158px;height:174px;position:absolute;bottom:-12px;left:0;overflow:hidden}.spex-guide header .spex-avatar img{object-fit:contain;filter:drop-shadow(0 8px 16px #002c3050);border:none;border-radius:0;width:164px;height:164px}.spex-guide header strong{letter-spacing:-.8px;font-size:29px}.spex-guide header small{max-width:190px;margin-top:7px;font-size:12px;line-height:1.5}.spex-guide header>button{background:#ffffff18;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:16px;right:14px}.spex-guide .spex-messages{background:linear-gradient(#f5faf9,#fff);padding-top:22px}.spex-guide .spex-welcome{background:#fff;border:1px solid #d3e7e2;border-radius:18px;padding:16px;box-shadow:0 5px 18px #064e3b08}.spex-agent-end{color:#46626b;background:0 0;border:0;align-self:center;margin:0 12px 9px;padding:5px 12px;font-weight:600}.spex-agent-end:hover{background:#eaf2f4}.spex-guide .spex-suggestions button{background:#fff;border-radius:14px;padding:9px 11px}.spex-guide footer{background:#f5f8f9;font-size:10px}@media (max-width:520px){.spex-guide header{min-height:132px;padding:20px 42px 20px 136px}.spex-guide header .spex-avatar{width:138px;height:146px}.spex-guide header .spex-avatar img{width:142px;height:142px}.spex-guide header strong{font-size:26px}.spex-guide .spex-messages{min-height:75px;max-height:36dvh}.spex-guide .spex-suggestions{gap:4px}.spex-guide .spex-suggestions button{padding:6px 9px;font-size:12px}}.spex-admin-dock .spex-chat{border:1px solid #d4e9e4;border-radius:22px;box-shadow:0 18px 60px #064e3b26}.spex-admin-dock .spex-chat header{box-sizing:border-box;isolation:isolate;background:radial-gradient(at 10% 0,#34d39966,#0000 65%),linear-gradient(135deg,#064e3b,#087f75 65%,#075985);flex-shrink:0;gap:12px;min-height:110px;padding:22px 40px 22px 18px;position:relative}.spex-admin-dock .spex-chat header:after{content:"";z-index:-1;pointer-events:none;border:1px solid #ffffff24;border-radius:16px;position:absolute;inset:8px}.spex-admin-dock .spex-chat header>button{background:#ffffff15;border-radius:50%;place-items:center;width:29px;height:29px;margin:0;display:grid;position:absolute;top:12px;right:12px}.spex-contact-monogram,.spex-desk-emblem{color:#064e3b;background:linear-gradient(140deg,#c4f9de,#74d8ce);border:1px solid #ffffff60;border-radius:18px;flex-shrink:0;place-items:center;width:54px;height:54px;font-size:20px;font-weight:800;display:grid;box-shadow:0 7px 16px #002e3b30}.spex-desk-emblem{border-radius:15px;width:44px;height:44px}.spex-desk-eyebrow{letter-spacing:1.6px;color:#c5f7e6;margin-bottom:5px;font-size:9px;font-weight:700;display:block}.spex-contact-title{min-width:0}.spex-admin-dock header strong{overflow-wrap:anywhere;font-size:19px;line-height:1.2;display:block}.spex-admin-dock header small{color:#e0faf3;overflow-wrap:anywhere;margin-top:6px;font-size:11px}.spex-admin-inbox header strong{font-size:18px}.spex-conversation .spex-messages{background:linear-gradient(#f0f8f5,#fff);padding-top:18px}.spex-admin-inbox .spex-queue{background:#f5faf9}.spex-admin-dock .spex-queue button{background:#fff;border-color:#d3e7e1;border-radius:13px;padding:11px}.spex-admin-dock .spex-queue button.selected{background:#e2f5ee;border-color:#0a9377}.spex-conversation form{background:#f8fbfa;border-top:1px solid #e2eeea}.spex-conversation form textarea{border-radius:15px;box-shadow:0 2px 8px #064e3b06}.spex-conversation form button{background:linear-gradient(140deg,#087f5b,#0e7490);border-radius:13px;align-self:flex-end}@media (max-width:1000px){.spex-admin-dock .spex-admin-inbox .spex-desk-emblem{display:none}.spex-admin-dock .spex-chat header{padding-left:15px}.spex-contact-monogram{width:46px;height:46px;font-size:17px}}@media (max-width:820px){.spex-admin-dock .spex-chat header{min-height:85px;padding:16px 42px 16px 15px}.spex-admin-dock .spex-admin-inbox header{min-height:74px;padding:14px 42px 14px 15px}.spex-admin-dock .spex-admin-inbox .spex-desk-emblem{width:38px;height:38px;display:grid}.spex-contact-monogram{width:48px;height:48px}.spex-admin-dock header strong{font-size:18px}.spex-admin-inbox .spex-queue{max-height:90px}}.spex-suggestion-heading{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.spex-reply-suggestions .spex-suggestion-heading small{flex:1;width:auto}.spex-reply-suggestions .spex-suggestion-toggle{background:#d7f2e9;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:4px;display:flex}.spex-suggestion-items{flex-wrap:wrap;gap:5px;width:100%;display:flex}.spex-notification-controls{background:#f1faf7;border-bottom:1px solid #d7e9e5;padding:10px 12px}.spex-notification-toggle{color:#08735f;width:100%;font:inherit;background:#fff;border:1px solid #9bd3c3;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:10px;font-size:12px;font-weight:600;display:flex}.spex-notification-controls p{color:#315a57;margin:8px 0 0;font-size:12px;line-height:1.5}
