:root{color:#1d2533;background:#f4f2eb;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--rodelag-blue: #2f5fd0;--rodelag-blue-dark: #244dad;--rodelag-panel: #dce2eb;--rodelag-panel-border: #c5cedb;--rodelag-text-soft: #71809b;--rodelag-white: #ffffff;--rodelag-shadow: 0 24px 60px rgba(35, 56, 105, .16)}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100%}body{margin:0;min-width:320px;overscroll-behavior:none}button,input{font:inherit}button{border:none;cursor:pointer}.app-shell{position:relative;min-height:100vh;min-height:100dvh;overflow:hidden;background:#f6f8fb}.app-shell-embed{background:transparent}.demo-grid{min-height:100vh;background:linear-gradient(rgba(47,95,208,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(47,95,208,.08) 1px,transparent 1px);background-size:32px 32px}.widget-layer{position:fixed;right:26px;bottom:24px;z-index:12;display:flex;flex-direction:column;align-items:flex-end;gap:14px}.chat-window{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(430px,calc(100vw - 24px));height:min(710px,calc(100vh - 118px));border:1px solid var(--rodelag-panel-border);border-radius:24px;background:var(--rodelag-panel);box-shadow:var(--rodelag-shadow);overflow:hidden}.chat-window-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:var(--rodelag-white);border-bottom:1px solid rgba(47,95,208,.08)}.assistant-profile{display:flex;align-items:center;gap:14px}.assistant-avatar{display:block;width:42px;height:42px;border:2px solid #ffffff;border-radius:50%;object-fit:cover;object-position:center 35%;box-shadow:0 0 0 2px #7cbd45,0 5px 14px #28427629}.assistant-meta strong{display:block;color:#12223f;font-size:1.15rem;font-weight:500}.assistant-meta p{margin:2px 0 0;color:var(--rodelag-text-soft);font-size:.86rem}.chat-alert{margin:16px 16px 0;padding:14px;border:1px solid rgba(218,74,74,.18);border-radius:18px;background:#ffffffb3;color:#7a2f2f}.chat-alert p{margin:0 0 12px}.chat-alert-actions{display:flex;gap:10px}.ghost-button,.chat-alert-actions button{padding:10px 14px;border-radius:999px;background:var(--rodelag-blue);color:#fff}.chat-body{display:flex;min-height:0;flex-direction:column}.chat-thread-shell{position:relative;flex:1;min-height:0}.chat-empty-state{position:absolute;right:18px;bottom:22px;left:18px;display:flex;align-items:flex-start;gap:10px;pointer-events:none}.chat-empty-state span{display:inline-flex;flex:0 0 28px;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#7cbd45;color:#fff;font-size:.58rem;font-weight:700}.chat-empty-state p{max-width:270px;margin:0;padding:11px 14px;border-radius:15px 15px 15px 4px;background:#fff;color:#4b5568;box-shadow:0 8px 20px #2336600f;font-size:.9rem}.message-list{height:100%;padding:16px 14px 20px;overflow-y:auto}.message-separator{margin:16px 0 18px;color:#8f97a7;font-size:.9rem;text-align:center}.message-row{display:flex;min-width:0;align-items:flex-end;gap:10px;margin-bottom:12px}.message-row-user{justify-content:flex-end}.message-row-assistant{justify-content:flex-start}.message-indicator{flex:0 0 16px;width:16px;height:16px;margin-bottom:14px;border-radius:50%;border:4px solid rgba(255,255,255,.95);box-shadow:0 1px 3px #4855722e}.message-indicator-assistant{background:#cfd4dd}.message-indicator-human{background:#19b763}.message-bubble{min-width:0;max-width:77%;padding:14px 16px 10px;border-radius:16px;background:var(--rodelag-white);color:#40454d;box-shadow:0 10px 24px #2336600f}.message-user{border-bottom-right-radius:4px}.message-assistant{border-bottom-left-radius:4px}.message-content{min-width:0;overflow-wrap:anywhere;word-break:break-word}.message-content>:first-child{margin-top:0}.message-content>:last-child{margin-bottom:0}.message-content p{margin:0;font-size:.98rem;white-space:pre-wrap}.message-content p+p,.message-content p+ul,.message-content p+ol,.message-content ul+p,.message-content ol+p,.message-content .message-table-scroll+p{margin-top:12px}.message-content ul,.message-content ol{margin:10px 0;padding-left:22px}.message-content li+li{margin-top:4px}.message-content a{color:var(--rodelag-blue-dark);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere;word-break:break-word}.message-content a:hover{color:var(--rodelag-blue)}.message-content code{padding:2px 5px;border-radius:5px;background:#2f5fd017;font-family:Consolas,Courier New,monospace;font-size:.88em}.message-table-scroll{width:100%;max-width:100%;margin:10px 0;overflow-x:auto;border:1px solid #d8deea;border-radius:10px;background:#fff;overscroll-behavior-x:contain}.message-table-scroll table{width:max-content;min-width:100%;border-collapse:collapse;font-size:.86rem}.message-table-scroll th,.message-table-scroll td{min-width:110px;padding:8px 10px;border-right:1px solid #e1e5ed;border-bottom:1px solid #e1e5ed;text-align:left;vertical-align:top;white-space:normal}.message-table-scroll th{background:#f1f4f9;color:#34415d;font-weight:700}.message-table-scroll th:last-child,.message-table-scroll td:last-child{border-right:0}.message-table-scroll tr:last-child td{border-bottom:0}.message-meta{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:8px;color:#9199a7;font-size:.74rem}.message-checks{color:#58a9ff;letter-spacing:-.12em;font-size:.9rem}.chat-window-footer{padding:14px;border-top:1px solid rgba(87,106,145,.14);background:#fff;box-shadow:0 -10px 28px #394c760f}.chat-footer-note{margin:0 0 10px;color:#73809a;font-size:.86rem}.message-input{display:flex;align-items:center;gap:10px}.message-input input{flex:1;min-width:0;height:48px;padding:0 16px;border:1px solid #d6dce8;border-radius:16px;background:#f4f6fa;color:#364158;outline:none;font-size:.96rem;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.message-input input::placeholder{color:#8993a6}.message-input input:focus{border-color:var(--rodelag-blue);background:#fff;box-shadow:0 0 0 3px #2f5fd01f}.message-send-button,.chat-launcher{display:inline-flex;align-items:center;justify-content:center}.message-send-button{flex:0 0 auto;height:48px;gap:7px;padding:0 16px;border-radius:16px;background:var(--rodelag-blue);color:#fff;font-size:.9rem;font-weight:600;transition:transform .14s ease,opacity .14s ease,background .14s ease}.message-send-button:disabled{opacity:.42;cursor:not-allowed}.message-send-button svg{width:19px;height:19px}.chat-launcher svg{width:22px;height:22px}.chat-launcher{width:58px;height:58px;padding:0;border-radius:50%;background:linear-gradient(180deg,#3b6fe7,#264fb1);color:#fff;box-shadow:0 18px 30px #264fb147}.chat-launcher:hover,.chat-alert-actions button:hover,.message-send-button:hover:not(:disabled){filter:brightness(1.04)}.message-send-button:hover:not(:disabled){transform:translateY(-1px)}@media (max-width: 640px){.widget-layer{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.widget-layer-open{position:fixed;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100vh;height:100dvh}.widget-layer-open .chat-window{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;border-radius:0;box-shadow:none}.widget-layer-open .chat-window-header{min-height:calc(70px + env(safe-area-inset-top));padding:calc(12px + env(safe-area-inset-top)) 72px 12px 16px}.widget-layer-open .chat-launcher{position:absolute;top:calc(13px + env(safe-area-inset-top));right:14px;width:44px;height:44px;box-shadow:none}.widget-layer-open .chat-launcher svg{width:20px;height:20px}.widget-layer-open .chat-window-footer{padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.message-list{overscroll-behavior:contain}.message-bubble{max-width:84%}.message-input input,.message-send-button{height:46px}.message-send-button{width:46px;padding:0;border-radius:50%}.message-send-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}
