.frc-window{--frc-bg:#fff;--frc-text:#0b0d12;--frc-muted:#667085;--frc-border:#e4e7ec;--frc-assistant-bg:#f2f4f7;--frc-assistant-text:#0b0d12;--frc-user-bg:#0b0d12;--frc-user-text:#fff;--frc-accent:#2563eb;--frc-danger:#b42318;--frc-radius:16px;background:var(--frc-bg);height:100%;min-height:0;color:var(--frc-text);flex-direction:column;font-size:14px;line-height:1.45;display:flex}:where(:root[data-theme=dark]) .frc-window:not([data-theme=light]),.frc-window[data-theme=dark]{--frc-bg:#0f1117;--frc-text:#eef0f3;--frc-muted:#98a2b3;--frc-border:#2a2f37;--frc-assistant-bg:#1d2129;--frc-assistant-text:#eef0f3;--frc-user-bg:#eef0f3;--frc-user-text:#0b0d12;--frc-accent:#60a5fa;--frc-danger:#f97066}@media (prefers-color-scheme:dark){:where(:root:not([data-theme=light])) .frc-window:not([data-theme=light]){--frc-bg:#0f1117;--frc-text:#eef0f3;--frc-muted:#98a2b3;--frc-border:#2a2f37;--frc-assistant-bg:#1d2129;--frc-assistant-text:#eef0f3;--frc-user-bg:#eef0f3;--frc-user-text:#0b0d12;--frc-accent:#60a5fa;--frc-danger:#f97066}}.frc-scroll{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.frc-viewport{scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}.frc-messages{flex-direction:column;gap:8px;margin:0;padding:16px;list-style:none;display:flex}.frc-message{display:flex;position:relative}.frc-to-end{border:1px solid color-mix(in srgb, var(--frc-text) 22%, transparent);background:var(--frc-bg);width:34px;height:34px;color:var(--frc-text);cursor:pointer;border-radius:50%;place-items:center;padding:0;animation:.16s ease-out frc-rise;display:grid;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000038}.frc-to-end:hover{border-color:var(--frc-muted)}.frc-to-end:focus-visible{outline:2px solid var(--frc-accent);outline-offset:2px}.frc-to-end svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}@keyframes frc-rise{0%{opacity:0;transform:translate(-50%,6px)}}.frc-word{animation:.38s ease-out both frc-word-in}@keyframes frc-word-in{0%{opacity:0}}.frc-message[data-role=user]{justify-content:flex-end}.frc-bubble{border-radius:var(--frc-radius);white-space:pre-wrap;overflow-wrap:anywhere;max-width:85%;margin:0;padding:9px 13px}.frc-message[data-role=assistant] .frc-bubble{min-width:0;max-width:none;color:var(--frc-assistant-text);border-radius:0;flex:1;padding:2px 0}.frc-message[data-role=assistant] .frc-typing{padding:10px 0}.frc-reply{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.frc-tools{flex-direction:column;gap:4px;display:flex}.frc-tool{border:1px solid var(--frc-border);color:var(--frc-muted);border-radius:10px;font-size:12.5px}.frc-tool-head{align-items:center;gap:7px;min-width:0;padding:6px 10px;list-style:none;display:flex}summary.frc-tool-head{cursor:pointer;border-radius:9px}summary.frc-tool-head::-webkit-details-marker{display:none}summary.frc-tool-head:hover .frc-tool-label{color:var(--frc-accent)}summary.frc-tool-head:focus-visible{outline:2px solid var(--frc-accent);outline-offset:2px}.frc-tool-label{color:var(--frc-text);flex:none;font-weight:500}.frc-tool-input{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.frc-tool[open] .frc-tool-input{white-space:normal;overflow-wrap:anywhere}.frc-tool-summary{flex:none;margin-left:auto;padding-left:6px}.frc-tool[data-status=failed] .frc-tool-summary{color:var(--frc-danger)}.frc-tool-icon,.frc-tool-chevron{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.frc-tool-chevron{transition:transform .15s}.frc-tool[open] .frc-tool-chevron{transform:rotate(90deg)}.frc-tool-spinner{border:1.5px solid var(--frc-border);border-top-color:var(--frc-accent);border-radius:50%;flex:none;width:12px;height:12px;margin:1px;animation:.8s linear infinite frc-spin}@keyframes frc-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.frc-tool-spinner{animation-duration:2.4s}}.frc-tool-items{border-top:1px solid var(--frc-border);flex-direction:column;gap:8px;max-height:260px;margin:0;padding:8px 10px 9px 31px;list-style:none;display:flex;overflow-y:auto}.frc-tool-items a,.frc-tool-item-title{color:var(--frc-text);overflow-wrap:anywhere;font-weight:500;text-decoration:none}.frc-tool-items a:hover{color:var(--frc-accent);text-decoration:underline}.frc-tool-items p{overflow-wrap:anywhere;margin:2px 0 0;line-height:1.45}.frc-message[data-role=user] .frc-bubble{background:var(--frc-user-bg);color:var(--frc-user-text);border-bottom-right-radius:6px}.frc-message[data-pending] .frc-bubble{opacity:.6}.frc-typing{align-items:center;gap:4px;padding:13px 14px;display:inline-flex}.frc-typing span{background:var(--frc-muted);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite frc-bounce}.frc-typing span:nth-child(2){animation-delay:.15s}.frc-typing span:nth-child(3){animation-delay:.3s}@keyframes frc-bounce{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.frc-typing span{animation:none}}.frc-suggestions{flex-wrap:wrap;gap:6px;padding:0 16px 10px;display:flex}.frc-suggestion{border:1px solid var(--frc-border);color:var(--frc-text);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:6px 12px;font-size:13px}.frc-suggestion:hover{border-color:var(--frc-accent);color:var(--frc-accent)}.frc-notice{color:var(--frc-danger);margin:0;padding:0 16px 8px;font-size:12.5px}.frc-composer{border:1px solid var(--frc-border);border-radius:22px;align-items:flex-end;gap:8px;margin:0 12px 12px;padding:6px 6px 6px 14px;display:flex}.frc-composer:focus-within{border-color:var(--frc-accent)}.frc-composer textarea{resize:none;min-width:0;color:var(--frc-text);font:inherit;background:0 0;border:0;outline:none;flex:1;padding:6px 0}.frc-composer textarea::placeholder{color:var(--frc-muted)}.frc-send{background:var(--frc-user-bg);width:32px;height:32px;color:var(--frc-user-text);cursor:pointer;border:0;border-radius:50%;flex-shrink:0;place-items:center;display:grid}.frc-send:disabled{opacity:.35;cursor:default}.frc-send svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.frc-suggestion:focus-visible,.frc-send:focus-visible{outline:2px solid var(--frc-accent);outline-offset:2px}.frc-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.frc-md{white-space:normal}.frc-md :where(p,ul,ol,pre,blockquote,table,hr,section,h1,h2,h3,h4,h5,h6){margin:0}.frc-md *+:where(p,ul,ol,pre,blockquote,table,hr,section,h1,h2,h3,h4,h5,h6){margin-top:.65em}.frc-md :where(h1,h2,h3,h4,h5,h6){font-size:1em;font-weight:600;line-height:1.35}.frc-md :where(h1){font-size:1.15em}.frc-md :where(h2){font-size:1.07em}.frc-md :where(strong){font-weight:600}.frc-md :where(ul,ol){padding-left:1.35em}.frc-md :where(ul){list-style:outside}.frc-md :where(ul ul){list-style:circle}.frc-md :where(ol){list-style:decimal}.frc-md :where(ul.contains-task-list){padding-left:.2em;list-style:none}.frc-md :where(li+li,li>ul,li>ol){margin-top:.25em}.frc-md :where(li>p+p){margin-top:.35em}.frc-md :where(a){color:var(--frc-accent);text-underline-offset:2px;text-decoration:underline}.frc-md :where(code){background:color-mix(in srgb, currentColor 9%, transparent);border-radius:5px;padding:.1em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em}.frc-md :where(pre){border:1px solid var(--frc-border);background:var(--frc-assistant-bg);white-space:pre;scrollbar-width:thin;border-radius:10px;padding:10px 12px;overflow-x:auto}.frc-md :where(pre code){background:0 0;padding:0;font-size:.85em}.frc-md :where(blockquote){border-left:3px solid var(--frc-border);color:var(--frc-muted);padding-left:10px}.frc-md :where(hr){border:0;border-top:1px solid var(--frc-border)}.frc-md :where(table){border-collapse:collapse;scrollbar-width:thin;max-width:100%;font-size:.92em;display:block;overflow-x:auto}.frc-md :where(th,td){border:1px solid var(--frc-border);text-align:left;padding:5px 9px}.frc-md :where(th){font-weight:600}.frc-md :where(input[type=checkbox]){vertical-align:middle;margin:0 6px 0 0}@media (prefers-reduced-motion:reduce){.frc-word,.frc-to-end{animation:none}}:root{--page-bg:#f4f5f7;--card-bg:#fff;--card-border:#e4e7ec;--text:#0b0d12;--muted:#667085;--hover:#f2f4f7;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--page-bg:#07080b;--card-bg:#0f1117;--card-border:#2a2f37;--text:#eef0f3;--muted:#98a2b3;--hover:#1d2129;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--page-bg:#07080b;--card-bg:#0f1117;--card-border:#2a2f37;--text:#eef0f3;--muted:#98a2b3;--hover:#1d2129}}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:var(--page-bg);color:var(--text)}body:has(.chat-shell[data-mode=widget]){background:0 0}.chat-shell{justify-content:center;height:100%;padding:24px 16px;display:flex}.chat-shell[data-mode=widget]{padding:0}.chat-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:20px;flex-direction:column;width:100%;max-width:720px;height:100%;display:flex;overflow:hidden;box-shadow:0 1px 2px #1018280d,0 12px 32px #10182814}.chat-shell[data-mode=widget] .chat-card{border-radius:16px;max-width:none}.chat-shell[data-mode=page]{--column:max(16px, calc((100% - 768px) / 2));padding:0}.chat-shell[data-mode=page] .chat-card{max-width:none;box-shadow:none;border:0;border-radius:0}.chat-shell[data-mode=page] .frc-window{font-size:15px;line-height:1.55}.chat-shell[data-mode=page] :is(.frc-messages,.frc-suggestions,.frc-notice){padding-inline:var(--column)}.chat-shell[data-mode=page] .frc-messages{gap:14px;padding-block:24px}.chat-shell[data-mode=page] .frc-composer{margin:0 var(--column) 20px}.chat-bar{border-bottom:1px solid var(--card-border);align-items:center;gap:12px;padding:14px 14px 14px 18px;display:flex}.chat-avatar{background:var(--text);width:36px;height:36px;color:var(--card-bg);border-radius:50%;flex-shrink:0;place-items:center;font-weight:600;display:grid}.chat-title{flex:1;min-width:0}.chat-title h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;font-weight:600;line-height:20px;overflow:hidden}.chat-title p{color:var(--muted);margin:0;font-size:12.5px}.chat-icon-button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;place-items:center;display:grid}.chat-icon-button:hover:not(:disabled){background:var(--hover);color:var(--text)}.chat-icon-button:disabled{opacity:.4;cursor:default}.chat-icon-button:focus-visible,.chat-text-button:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.chat-icon-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.chat-body{flex:1;min-height:0}.chat-body .frc-window{--frc-bg:var(--card-bg)}.chat-problem{height:auto;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:12px;margin:auto 0;padding:40px 24px}.chat-problem p{margin:0}.chat-text-button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;text-decoration:underline}.home-shell{place-items:center;min-height:100%;padding:32px 16px;display:grid}.home-card{border:1px solid var(--card-border);background:var(--card-bg);border-radius:20px;width:100%;max-width:560px;padding:32px}.home-header{align-items:center;gap:12px;display:flex}.home-logo{flex-shrink:0;width:40px;height:40px}.home-header h1{letter-spacing:-.01em;margin:0;font-size:20px}.home-header p{color:var(--muted);margin:2px 0 0;font-size:13.5px}.home-status{border:1px solid var(--card-border);border-radius:14px;align-items:center;gap:10px;margin:28px 0 20px;padding:14px 16px;font-weight:600;display:flex}.home-dot{background:var(--muted);border-radius:50%;flex-shrink:0;width:10px;height:10px}.home-status[data-state=ok] .home-dot{background:#12b76a;box-shadow:0 0 0 4px #12b76a33}.home-status[data-state=down] .home-dot{background:#ec3336}.home-text,.home-hint{color:var(--muted);margin:0;font-size:14px;line-height:1.55}.home-hint{margin-top:8px;font-size:12.5px}.home-card h2{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:24px 0 10px;font-size:13px;font-weight:600}.home-card code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}.home-snippet{background:var(--hover);border-radius:12px;align-items:flex-start;gap:8px;padding:12px;display:flex}.home-snippet code{overflow-wrap:anywhere;flex:1;min-width:0}.home-snippet button,.home-links a{border:1px solid var(--card-border);background:var(--card-bg);color:var(--text);font:inherit;cursor:pointer;border-radius:8px;flex-shrink:0;padding:6px 12px;font-size:13px;font-weight:500;text-decoration:none}.home-links{flex-wrap:wrap;gap:8px;margin-top:24px;display:flex}.home-links a{padding:8px 14px;font-size:14px}.home-snippet button:hover,.home-links a:hover{background:var(--hover)}.home-footer{color:var(--muted);margin-top:28px;font-size:12px}@media (width<=480px){.home-card{padding:24px 20px}}
