#filemon{--fm-color-primary:#2F80ED;--fm-color-primary-hover:#2563EB;--fm-color-primary-light:#EAF3FF;--fm-color-background:#F4F7FB;--fm-color-surface:#FFFFFF;--fm-color-surface-alt:#F8FAFC;--fm-color-text:#111827;--fm-color-text-secondary:#6B7280;--fm-color-border:#E5E7EB;--fm-color-assistant:#FFFFFF;--fm-color-visitor:#2F80ED;--fm-color-visitor-text:#FFFFFF;--fm-space-1:4px;--fm-space-2:8px;--fm-space-3:12px;--fm-space-4:16px;--fm-space-5:20px;--fm-space-6:24px;--fm-space-7:32px;--fm-space-8:40px;--fm-radius-xs:8px;--fm-radius-sm:12px;--fm-radius-md:16px;--fm-radius-lg:20px;--fm-radius-xl:24px;--fm-radius-pill:999px;--fm-shadow-xs:0 2px 8px rgba(15,23,42,.05);--fm-shadow-sm:0 10px 30px rgba(15,23,42,.08);--fm-shadow-md:0 18px 48px rgba(15,23,42,.12);--fm-shadow-lg:0 28px 72px rgba(15,23,42,.18);--fm-transition-fast:.18s ease;--fm-transition-normal:.25s ease;--fm-transition-slow:.35s ease;--fm-font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--fm-font-size-xs:.75rem;--fm-font-size-sm:.875rem;--fm-font-size-md:1rem;--fm-font-size-lg:1.125rem;--fm-font-size-xl:1.25rem;--fm-font-weight-regular:400;--fm-font-weight-medium:500;--fm-font-weight-semibold:600;--fm-font-weight-bold:700;--fm-widget-width:520px;--fm-widget-height:780px;--fm-widget-min-width:360px;--fm-widget-min-height:520px;--fm-launcher-size:64px;--fm-z-widget:999999;--fm-z-window:1000000}#filemon{font-family:var(--fm-font);font-size:16px;line-height:1.5;color:var(--fm-color-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}#filemon *,#filemon *:before,#filemon *:after{box-sizing:border-box}#filemon button:before,#filemon button:after,#filemon a:before,#filemon a:after{content:none!important}#filemon button,#filemon input,#filemon textarea,#filemon select{font:inherit;color:inherit}#filemon button{appearance:none;-webkit-appearance:none;background:none;border:none;cursor:pointer}#filemon input,#filemon textarea{appearance:none;-webkit-appearance:none;outline:none;background:transparent}#filemon textarea{resize:none}#filemon img{display:block;max-width:100%;height:auto;border:0}#filemon svg{display:block;width:100%;height:100%;fill:currentColor}#filemon a{color:inherit;text-decoration:none}#filemon ul,#filemon ol{list-style:none}#filemon table{border-collapse:collapse;border-spacing:0}#filemon :focus{outline:none}#filemon :focus-visible{outline:3px solid rgba(47,128,237,.25);outline-offset:3px}#filemon ::selection{background:#2f80ed2e}#filemon{position:fixed;right:24px;bottom:24px;z-index:var(--fm-z-widget);font-family:var(--fm-font)}#filemon .fm-window{position:relative;transform-origin:bottom right;transition:opacity var(--fm-transition-fast),transform var(--fm-transition-fast),visibility var(--fm-transition-fast)}#filemon .fm-window-open{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}#filemon .fm-window-closed{opacity:0;visibility:hidden;transform:translateY(16px) scale(.95);pointer-events:none}#filemon .fm-app{display:flex;flex-direction:column;width:var(--fm-widget-width);height:var(--fm-widget-height);min-width:var(--fm-widget-min-width);min-height:var(--fm-widget-min-height);max-width:100%;max-height:calc(100dvh - 48px);overflow:hidden;background:var(--fm-color-surface);border:1px solid rgba(255,255,255,.65);border-radius:24px;box-shadow:var(--fm-shadow-lg);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);isolation:isolate}#filemon .fm-hidden{display:none!important}#filemon .fm-header{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#ffffffeb;border-bottom:1px solid var(--fm-color-border);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);flex-shrink:0}#filemon .fm-brand{display:flex;align-items:center;gap:16px;min-width:0;flex:1}#filemon .fm-logo{width:48px;height:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,var(--fm-color-primary),#5A9BFF);color:#fff;font-size:18px;font-weight:700;box-shadow:var(--fm-shadow-sm)}#filemon .fm-logo.fm-logo-image{background:#f7f7f5}#filemon .fm-logo-img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}#filemon .fm-brand-info{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}#filemon .fm-brand-name{font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.08em;color:var(--fm-color-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#filemon .fm-title{font-size:17px;font-weight:600;line-height:1.2;color:var(--fm-color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#filemon .fm-subtitle,#filemon .fm-status,#filemon .fm-organization{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--fm-color-text-secondary)}#filemon .fm-status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#6cbf5b}#filemon .fm-status-text{line-height:1}#filemon .fm-header-actions{display:flex;align-items:center;gap:8px;margin-left:16px;flex-shrink:0}#filemon .fm-header-menu-wrapper{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0}#filemon .fm-icon-button{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:4px;border:none;outline:none;border-radius:10px;background:transparent;box-shadow:none;color:var(--fm-color-text-secondary);cursor:pointer;transition:color .2s ease,background .2s ease,transform .15s ease,opacity .2s ease}#filemon .fm-icon-button:hover{color:var(--fm-color-text);background:#0f172a0f}#filemon .fm-icon-button:active{transform:scale(.94)}#filemon .fm-icon-button[aria-expanded=true]{color:var(--fm-color-text);background:#0f172a12}#filemon .fm-icon-button svg{width:20px;height:20px;display:block;flex-shrink:0}#filemon .fm-header-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:100;width:220px;padding:6px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:12px;box-shadow:0 8px 24px #0f172a1a,0 2px 6px #0f172a0d;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px) scale(.98);transform-origin:top right;transition:opacity .16s ease,visibility .16s ease,transform .16s ease}#filemon .fm-header-menu.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}#filemon .fm-header-menu-item{appearance:none;-webkit-appearance:none;width:100%;min-height:42px;display:flex;align-items:center;padding:9px 10px;border:none;border-radius:8px;background:transparent;color:var(--fm-color-text);font-family:inherit;font-size:14px;font-weight:500;line-height:1.2;text-align:left;cursor:pointer;transition:background .16s ease,color .16s ease}#filemon .fm-header-menu-item:hover{background:#f5f7fa;color:var(--fm-color-text)}#filemon .fm-header-menu-item:active{background:#eef1f5}#filemon .fm-header-menu-icon{display:none}#filemon .fm-header-menu-label{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#filemon .fm-header-menu-item:focus-visible{outline:2px solid rgba(47,128,237,.3);outline-offset:-2px}@media(max-width:520px){#filemon .fm-header-menu{width:210px}}#filemon .fm-response-container{flex:1;display:flex;flex-direction:column;gap:8px;overflow-y:auto;overflow-x:hidden;padding:24px;background:var(--fm-color-surface-alt);scroll-behavior:smooth}#filemon .fm-response-container::-webkit-scrollbar{width:8px}#filemon .fm-response-container::-webkit-scrollbar-track{background:transparent}#filemon .fm-response-container::-webkit-scrollbar-thumb{background:#d6dee8;border-radius:999px}#filemon .fm-response-container::-webkit-scrollbar-thumb:hover{background:#bec9d8}#filemon .fm-message{display:flex;align-items:flex-start;gap:0px;width:100%;animation:fmFade .25s ease}#filemon .fm-message.fm-assistant{justify-content:flex-start}#filemon .fm-message.fm-visitor{justify-content:flex-end}#filemon .fm-avatar{display:none}#filemon .fm-content{display:flex;flex-direction:column;gap:2px;min-width:0;max-width:84%}#filemon .fm-message.fm-assistant .fm-content{order:2;align-items:flex-start}#filemon .fm-message.fm-visitor .fm-content{order:1;align-items:flex-end}#filemon .fm-message-header{display:flex;align-items:center;gap:6px;width:100%}#filemon .fm-author{font-size:.82rem;font-weight:600;color:var(--fm-color-text)}#filemon .fm-time{margin-left:auto;font-size:.7rem;color:var(--fm-color-text-secondary);opacity:.8;white-space:nowrap}#filemon .fm-message.fm-visitor .fm-message-header{justify-content:flex-end}#filemon .fm-message.fm-visitor .fm-author{order:2}#filemon .fm-message.fm-visitor .fm-time{order:1;margin-left:0;margin-right:8px}#filemon .fm-bubble{display:inline-block;max-width:100%;padding:14px 18px;border-radius:18px;line-height:1.6;font-size:.94rem;word-break:break-word;overflow-wrap:anywhere;box-shadow:var(--fm-shadow-xs)}#filemon .fm-assistant .fm-bubble{background:#fff;border:1px solid #E8EDF3}#filemon .fm-visitor .fm-bubble{background:var(--fm-color-visitor);color:#fff}#filemon .fm-bubble p{margin:0}#filemon .fm-bubble p+p{margin-top:12px}#filemon .fm-bubble strong{font-weight:700}#filemon .fm-bubble em{font-style:italic}#filemon .fm-bubble code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;background:#0000000f;padding:2px 5px;border-radius:6px}#filemon .fm-bubble pre{overflow:auto;margin:12px 0;padding:14px;border-radius:12px;background:#111827;color:#fff}#filemon .fm-bubble pre code{background:none;padding:0;color:inherit}#filemon .fm-bubble ul,#filemon .fm-bubble ol{padding-left:20px}#filemon .fm-bubble li+li{margin-top:6px}#filemon .fm-bubble a{color:inherit;text-decoration:underline}#filemon .fm-bubble img{display:block;max-width:100%;height:auto;border-radius:12px;margin-top:10px}#filemon .fm-composer{flex-shrink:0;padding:14px 16px 8px;border-top:1px solid var(--fm-color-border);background:var(--fm-color-surface)}#filemon .fm-composer-inner{position:relative;display:flex;align-items:center;width:100%}#filemon .fm-input{display:block;width:100%;min-height:54px;padding:0 60px 0 18px;border:1px solid #E5E7EB;border-radius:16px;background:#fff;color:var(--fm-color-text);font-family:var(--fm-font);font-size:.95rem;font-weight:400;line-height:54px;outline:none;box-shadow:0 2px 8px #0f172a0a;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}#filemon .fm-input::placeholder{color:var(--fm-color-text-secondary);opacity:.85}#filemon .fm-input:focus{border-color:var(--fm-color-primary);box-shadow:0 0 0 2px #2f80ed1a,0 4px 12px #0f172a0a}#filemon .fm-send:disabled{color:#b8c0cc;opacity:1;cursor:default;transform:translateY(-30%)}#filemon .fm-send{position:absolute;top:50%;right:20px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;border:none;background:transparent;color:var(--fm-color-primary);cursor:pointer;transition:color .2s ease,transform .18s ease,opacity .2s ease}#filemon .fm-send svg{width:18px;height:18px;display:block;flex-shrink:0;color:inherit}#filemon .fm-send:hover{transform:translateY(-50%) scale(1.08);color:var(--fm-color-primary-dark,var(--fm-color-primary))}#filemon .fm-send:active{transform:translateY(-50%) scale(.94)}#filemon .fm-send:disabled{color:var(--fm-color-text-secondary);opacity:.45;cursor:not-allowed;transform:translateY(-50%)}#filemon .fm-credit{display:flex;justify-content:center;align-items:center;gap:2px;flex-shrink:0;padding:8px 16px 12px;font-size:.72rem;line-height:1;-webkit-user-select:none;user-select:none}#filemon .fm-credit-link{color:var(--fm-color-primary);opacity:.8;text-decoration:none;font-weight:600;transition:opacity .2s ease,color .2s ease}#filemon .fm-credit-link:hover{opacity:.75}#filemon .fm-credit-text{color:var(--fm-color-text-secondary);font-style:italic}#filemon .fm-launcher{position:absolute;right:20px;bottom:30px;width:var(--fm-launcher-size);height:var(--fm-launcher-size);display:flex;align-items:center;justify-content:center;flex-shrink:0;border:none;border-radius:50%;padding:0;overflow:hidden;background:var(--fm-color-primary);color:#fff;cursor:pointer;box-shadow:var(--fm-shadow-md);z-index:10;transition:transform .18s ease,filter .2s ease,box-shadow .2s ease,opacity .2s ease,visibility .2s ease}#filemon .fm-launcher svg{width:28px;height:28px;display:block;flex-shrink:0;color:inherit}#filemon .fm-launcher img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}#filemon .fm-launcher:hover{transform:translateY(-2px) scale(1.05);filter:brightness(1.03);box-shadow:var(--fm-shadow-lg)}#filemon .fm-launcher:active{transform:scale(.95)}#filemon .fm-launcher:focus-visible{outline:3px solid rgba(47,128,237,.25);outline-offset:4px}#filemon .fm-launcher.fm-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:scale(.85)}@keyframes fmFade{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fmWindowOpen{0%{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fmWindowClose{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(16px) scale(.96)}}@keyframes fmPulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes fmSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fmBounce{0%{transform:translateY(0)}30%{transform:translateY(-5px)}60%{transform:translateY(2px)}to{transform:translateY(0)}}#filemon .fm-animate-fade{animation:fmFade .25s ease both}#filemon .fm-animate-open{animation:fmWindowOpen .2s ease both}#filemon .fm-animate-close{animation:fmWindowClose .18s ease both}#filemon .fm-animate-pulse{animation:fmPulse 2s infinite}#filemon .fm-animate-spin{animation:fmSpin 1s linear infinite}#filemon .fm-animate-bounce{animation:fmBounce .45s ease}@media(prefers-reduced-motion:reduce){#filemon *,#filemon *:before,#filemon *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(max-width:1024px){#filemon{right:20px;bottom:20px}#filemon .fm-app{width:500px;max-height:calc(100dvh - 40px)}}@media(max-width:768px){#filemon{inset:0 0 auto;width:100%;height:100svh}#filemon .fm-window{width:100%;height:100svh}#filemon .fm-app{width:100vw;height:100svh;min-width:0;min-height:0;max-width:none;max-height:100svh;border:none;border-radius:0}#filemon .fm-header{padding:16px}#filemon .fm-response-container{padding:18px}#filemon .fm-composer{padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}#filemon .fm-content{max-width:88%}#filemon .fm-launcher{right:20px;bottom:20px}}@media(max-width:480px){#filemon .fm-header{padding:14px}#filemon .fm-brand{gap:12px}#filemon .fm-logo{width:42px;height:42px;flex-basis:42px}#filemon .fm-title{font-size:16px}#filemon .fm-response-container{padding:16px;gap:14px}#filemon .fm-bubble{padding:12px 16px;font-size:.92rem}#filemon .fm-input{min-height:50px;line-height:50px;padding-right:56px}#filemon .fm-send{width:38px;height:38px}}@media(max-height:640px){#filemon{height:100svh}#filemon .fm-window,#filemon .fm-app{height:100svh;max-height:100svh}}#filemon .fm-quick-actions{display:flex;flex-direction:column;gap:8px;width:72%;margin:12px 0 18px;padding:0 0 0 32px;animation:fmFade .25s ease}#filemon .fm-quick-action{display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 14px;border-radius:16px;background:#fff;border:1px solid #E8EDF3;box-shadow:0 2px 10px #0000000a;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}#filemon .fm-quick-action:hover{border-color:var(--fm-color-primary);box-shadow:0 8px 18px #00000014;transform:translateY(-1px)}#filemon .fm-quick-action:active{transform:scale(.985)}#filemon .fm-quick-action-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:12px;background:#f7f9fc}#filemon .fm-quick-action-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}#filemon .fm-quick-action-content{display:flex;flex-direction:column;justify-content:center;gap:2px;flex:1;min-width:0}#filemon .fm-quick-action-title{font-size:.88rem;font-weight:600;line-height:1.2;color:#1f2937}#filemon .fm-quick-action-description{font-size:.73rem;line-height:1.25;color:#6b7280}#filemon .fm-quick-action-arrow{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;color:#9ca3af;opacity:.55;font-size:18px;font-weight:300;line-height:1;transition:transform .18s ease,color .18s ease}#filemon .fm-quick-action-arrow svg{display:none}#filemon .fm-quick-action-arrow:before{content:">"}#filemon .fm-quick-action:hover .fm-quick-action-arrow{transform:translate(1px);color:var(--fm-color-primary)}
