:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;--widget-blue: #1e40af;--widget-green: #10b981;--widget-red: #dc2626;--widget-text: #1f2a4d;--widget-muted: #6b7280;--widget-border: #e5e7eb;--widget-bg: #f8f9fa;--widget-surface: #ffffff;--widget-active-bg: #ebf3ff;--widget-active-text: #1f4dd8;--widget-shadow: 0 10px 40px rgba(0, 0, 0, .15)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}a{color:#1f4dd8}.widget-shell{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden;color:var(--widget-text);background:var(--widget-surface)}.widget-shell-backdrop{display:none}.widget-shell-header,.widget-status-banner,.widget-ai-pane,.widget-wiki-pane,.widget-center-state{position:relative;z-index:1}.widget-ai-pane,.widget-wiki-pane,.widget-center-state{flex:1 1 auto;min-height:0}.widget-shell-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:0;background:linear-gradient(135deg,var(--widget-blue) 0%,var(--widget-green) 100%);color:#fff}.widget-brand{display:flex;align-items:center;gap:8px;min-width:0}.widget-brand-mark,.widget-brand-logo{width:40px;height:40px;border-radius:50%;object-fit:contain;flex:0 0 auto}.widget-brand-mark{display:grid;place-items:center;color:#fff;font-weight:700;letter-spacing:.04em;background:#fff3}.widget-brand-copy{display:flex;flex-direction:column;min-width:0}.widget-brand-copy strong{font-size:17px;line-height:1.1;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-brand-copy span{font-size:12px;color:#ffffffe0}.widget-shell-actions{display:flex;align-items:center;gap:6px}.widget-mode-button,.widget-close-button,.widget-primary-button,.widget-search-item,.widget-menu-toggle,.widget-menu-link,.widget-breadcrumbs button,.playground-actions button{border:0;border-radius:8px;transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}.widget-mode-button{padding:7px 10px;color:#ffffffdb;background:#ffffff1f;font-size:13px;font-weight:600}.widget-mode-button.active{color:#fff;background:#ffffff3d;box-shadow:inset 0 0 0 1px #ffffff40}.widget-mode-button:hover{background:#fff3}.widget-close-button{width:30px;height:30px;border-radius:6px;color:#fff;background:transparent;font-size:18px;line-height:1;padding:0}.widget-close-button:hover{background:#ffffff1f}.widget-status-banner{padding:10px 14px;color:#7b290f;background:#ff8e5c29;border-bottom:1px solid rgba(255,142,92,.22);font-size:13px}.widget-center-state{display:grid;place-items:center;gap:10px;padding:42px 24px;text-align:center;background:var(--widget-bg)}.widget-center-state.compact{min-height:100%}.widget-center-state h2{margin:0;font-size:20px}.widget-center-state p{margin:0;max-width:360px;color:#6b7280}.widget-spinner{width:38px;height:38px;border-radius:50%;border:3px solid rgba(30,64,175,.15);border-top-color:var(--widget-blue);animation:widget-spin 1s linear infinite}.widget-error-badge{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:18px;background:#ff5c5c24;color:#9d2f2f;font-weight:700;letter-spacing:.08em}.widget-ai-pane{display:flex;flex-direction:column;background:var(--widget-bg)}.widget-ai-messages{display:flex;flex-direction:column;flex:1 1 auto;gap:12px;padding:16px;min-height:0;overflow-y:auto;background:var(--widget-bg)}.widget-message{display:flex;flex-direction:column;gap:4px;animation:widget-fade-in .24s ease-out}.widget-message.user{align-items:flex-end}.widget-message.assistant{align-items:flex-start}.widget-message-bubble{max-width:90%;padding:12px 16px;border-radius:18px;line-height:1.45;font-size:14px;background:#fff;color:#374151;border:1px solid var(--widget-border)}.widget-message.user .widget-message-bubble{color:#fff;border:0;border-bottom-right-radius:4px;background:linear-gradient(135deg,var(--widget-blue) 0%,var(--widget-green) 100%)}.widget-message.assistant .widget-message-bubble{border-bottom-left-radius:4px}.widget-message-time{font-size:11px;color:#9ca3af;margin-top:2px;padding:0 4px}.widget-code-block{margin:8px 0 0;padding:12px;overflow-x:auto;border-radius:8px;border-left:4px solid #6366f1;background:#f8f9fa;color:#1f2937;border:1px solid var(--widget-border);font-family:Monaco,Menlo,Consolas,monospace;font-size:12px}.widget-message-bubble p:first-child,.widget-message-bubble ul:first-child{margin-top:0}.widget-message-bubble p:last-child,.widget-message-bubble ul:last-child{margin-bottom:0}.widget-message-bubble ul{padding-left:20px}.widget-message-bubble code{font-family:Monaco,Menlo,Consolas,monospace;font-size:13px}.widget-message.assistant .widget-message-bubble a{color:#1f4dd8;text-decoration:underline}.widget-message.user .widget-message-bubble a{color:#bfdbfe}.widget-typing{display:inline-flex;gap:4px;align-items:center}.widget-typing span{width:6px;height:6px;border-radius:50%;background:#6b7280;animation:widget-typing 1.4s infinite ease-in-out}.widget-typing span:nth-child(1){animation-delay:-.32s}.widget-typing span:nth-child(2){animation-delay:-.16s}.widget-ai-input-wrap{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin-top:auto;padding:14px 16px;border-top:1px solid var(--widget-border);background:#fff}.widget-ai-input{flex:1 1 auto;width:auto;min-height:44px;max-height:132px;padding:12px;resize:none;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#333;line-height:1.35}.widget-ai-input::placeholder{color:#999}.widget-ai-input:focus,.widget-search-box input:focus{outline:none;border-color:#2e7d32;box-shadow:0 0 0 2px #2e7d321a}.widget-primary-button{min-width:40px;height:40px;width:40px;padding:0;border-radius:999px;color:#fff;font-size:0;font-weight:600;background:linear-gradient(135deg,var(--widget-green) 0%,#059669 100%);box-shadow:0 2px 8px #10b98133;display:inline-flex;align-items:center;justify-content:center}.widget-send-icon{display:block;width:16px;height:16px;color:currentColor}.playground-actions button{padding:0 18px;color:#fff;font-size:13px;font-weight:600;background:linear-gradient(135deg,var(--widget-blue) 0%,#0b6bcb 100%);box-shadow:0 12px 26px #1e40af38}.widget-primary-button:hover:not(:disabled){transform:translateY(-1px)}.widget-primary-button:disabled{cursor:not-allowed;opacity:.6;box-shadow:none;background:#d1d5db}.widget-wiki-pane{display:grid;grid-template-columns:minmax(260px,320px) 1fr;min-height:0;background:var(--widget-bg)}.widget-wiki-sidebar{display:grid;grid-template-rows:auto 1fr;min-height:0;overflow:visible;border-right:1px solid #e9ecef;background:#fff}.widget-search-box{position:relative;padding:12px;border-bottom:1px solid #eef2f7;z-index:3}.widget-search-input-wrap{position:relative}.widget-search-box input{width:100%;padding:10px 36px 10px 12px;border-radius:8px;border:1px solid #d6dbe4;background:#fff;color:#1f2a4d}.widget-search-clear{position:absolute;top:50%;right:8px;transform:translateY(-50%);border:0;background:transparent;color:#1f2a4d;font-size:16px;line-height:1;width:24px;height:24px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center}.widget-search-results{position:absolute;top:calc(100% + 6px);left:12px;width:520px;max-width:calc(100vw - 48px);max-height:360px;overflow:auto;background:#fff;border:1px solid #e9ecef;border-radius:8px;box-shadow:0 8px 24px #0000001f;z-index:40}.widget-search-state{padding:10px;color:#6b7280;font-size:13px}.widget-search-section-title{padding:8px 10px;font-size:13px;font-weight:700;color:#0f1a3d;border-top:1px solid #eef2f7;background:#f7f9ff}.widget-search-item{display:block;width:100%;padding:8px 10px;text-align:left;color:#1f2a4d;background:#fff;border:0;border-radius:0}.widget-search-item:hover{background:#f8f9ff}.widget-search-item-title{font-size:13px;font-weight:600;color:#1f2a4d}.widget-search-item-content-snippet{font-size:12px;line-height:1.3;color:#5f6777;margin-top:4px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.widget-search-toggle-all{display:block;width:calc(100% - 20px);margin:8px 10px;padding:8px 12px;border:1px solid #e9ecef;border-radius:8px;background:#f8f9ff;color:#1f2a4d;font-size:12px;font-weight:600;text-align:center}.widget-search-toggle-all:hover{background:#ebf3ff;border-color:#cfe3ff}.widget-menu-tree{min-height:0;overflow-y:auto;padding:10px 12px 14px;border-top:1px solid #eef2f7}.widget-search-clear:hover{background:#f3f4f6}.widget-search-clear:focus-visible{outline:2px solid #93c5fd;outline-offset:1px}.widget-search-toggle-all:focus-visible,.widget-search-item:focus-visible{outline:2px solid #93c5fd;outline-offset:-2px}.widget-search-item:active{background:#eef4ff}.widget-menu-list{list-style:none;margin:0;padding:0}.widget-menu-list .widget-menu-list{padding-left:14px}.widget-menu-row{display:flex;align-items:center;gap:2px;padding:0 2px}.widget-menu-row.active .widget-menu-link,.widget-menu-link.active{background:var(--widget-active-bg);color:var(--widget-active-text)}.widget-menu-toggle{border:none;background:transparent;cursor:pointer;padding:6px;font-size:18px;line-height:1;color:#6b7280;margin-right:0;transition:transform .12s ease,color .12s ease}.widget-menu-toggle:hover{color:#1f4dd8;transform:scale(1.15)}.widget-menu-link{width:100%;border:none;border-radius:8px;text-align:left;text-decoration:none;color:#374151;background:transparent;padding:7px 8px 7px 20px;position:relative;font-size:13px;line-height:1.35}.widget-menu-link:before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-2px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239AA5B1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");background-size:14px 14px;background-repeat:no-repeat}.widget-menu-row.has-children .widget-menu-link{padding-left:8px}.widget-menu-row.has-children .widget-menu-link:before{display:none}.widget-menu-link:hover{background:#f8f9ff}.widget-wiki-content{min-height:0;overflow-y:auto;padding:16px}.widget-breadcrumbs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.widget-breadcrumbs button{padding:6px 10px;color:#1f2a4d;border-radius:999px;background:#f3f7ff;font-size:12px}.widget-breadcrumbs button:hover{background:#e9f1ff}.widget-wiki-article{border:1px solid #e9ecef;border-radius:12px;padding:22px;background:#fff}.widget-wiki-article h1{margin-top:0;margin-bottom:16px;font-size:28px;line-height:1.3;word-wrap:break-word;overflow-wrap:break-word}.widget-wiki-html{line-height:1.6;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.widget-wiki-html h2{font-size:24px;line-height:1.3;margin:14px 0 8px;font-weight:700}.widget-wiki-html h3{font-size:20px;line-height:1.3;margin:12px 0 6px;font-weight:700}.widget-wiki-html h4{font-size:18px;line-height:1.25;margin:10px 0 6px;font-weight:600}.widget-wiki-html h5{font-size:16px;line-height:1.25;margin:8px 0 4px;font-weight:600}.widget-wiki-html h6{font-size:14px;line-height:1.2;margin:6px 0 4px;font-weight:600}.widget-wiki-html img,.widget-wiki-html video,.widget-wiki-html iframe{max-width:100%;height:auto}.widget-wiki-html iframe{width:100%;aspect-ratio:16 / 9}.widget-wiki-html pre{max-width:100%;overflow-x:auto}.widget-wiki-html code{overflow-wrap:anywhere;word-break:break-word}.widget-wiki-html table{max-width:100%;table-layout:fixed}.widget-wiki-html th,.widget-wiki-html td{overflow-wrap:anywhere;word-break:break-word}.widget-wiki-html table.wiki-table{width:100%;border-collapse:collapse;margin:0}.widget-wiki-html table.wiki-table thead th{background:#f8fafc;color:#1f2a4d;font-weight:600;border:1px solid #e9ecef;padding:8px 10px;text-align:left}.widget-wiki-html table.wiki-table tbody td{border:1px solid #e9ecef;padding:8px 10px;vertical-align:top}.widget-wiki-html table.wiki-table tbody tr:nth-child(odd){background:#fbfdff}.widget-wiki-html .wiki-table-wrapper{overflow-x:auto;max-width:100%;margin:8px 0 16px}.widget-wiki-html .wiki-callout{border:1px solid #e9ecef;border-radius:8px;padding:12px 16px;margin:8px 0 16px}.widget-wiki-html .wiki-callout.danger{background:#fde7e7;border-color:#f6c5c5}.widget-wiki-html .wiki-callout.warning{background:#fff7db;border-color:#f2e1a3}.widget-wiki-html .wiki-callout.info{background:#e6f1ff;border-color:#cfe3ff}.widget-wiki-html .wiki-callout.success{background:#e9f8e9;border-color:#c8e6c9}.widget-wiki-html .wiki-gray-block{background:#f8fafc;border:1px solid #e9ecef;border-radius:8px;padding:8px 10px;margin:4px 0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;line-height:1.06;white-space:pre-wrap}.widget-wiki-html .wiki-gray-block p{margin:4px 0}.widget-wiki-html pre.wiki-json{background:#f8fafc;border:1px solid #e9ecef;border-radius:8px;padding:10px 12px;margin:8px 0 16px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;line-height:1.06;white-space:pre-wrap}.widget-wiki-html .okdesk-attachments{margin:16px 0 8px;padding:12px 14px;border:1px solid #d7e4ff;border-radius:10px;background:linear-gradient(180deg,#f7faff,#f2f7ff)}.widget-wiki-html .okdesk-attachments p{margin:0 0 8px;color:#1f2a4d}.widget-wiki-html .okdesk-attachments ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}.widget-wiki-html .okdesk-attachments li{margin:0;padding:0}.widget-wiki-html .okdesk-attachments li a{display:inline-flex;align-items:center;gap:8px;padding:4px 0;color:#1f4dd8;text-decoration:none;word-break:break-word}.widget-wiki-html .okdesk-attachments .okdesk-attachment-icon{width:18px;height:18px;flex:0 0 18px;display:inline-block;background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f4dd8'%3E%3Cpath d='M5 20h14v-2H5m14-9h-4V3H9v6H5l7 7 7-7z'/%3E%3C/svg%3E")}.widget-wiki-html .okdesk-attachments li a:hover{color:#1a3faa}.playground-page{padding:40px 24px 64px;min-height:100vh;background:radial-gradient(circle at top left,rgba(57,178,199,.16),transparent 28%),linear-gradient(180deg,#edf5fa,#f7fafc)}.playground-hero{max-width:780px;margin:0 auto 28px}.playground-kicker{display:inline-flex;margin-bottom:10px;padding:8px 12px;border-radius:999px;color:#0f355f;background:#0b6bcb1a;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.playground-hero h1{margin:0 0 10px;font-size:clamp(32px,5vw,52px);line-height:1}.playground-hero p{margin:0;max-width:680px;color:#12304fb8;line-height:1.6}.playground-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1280px;margin:0 auto}.playground-card{padding:22px;border-radius:26px;background:#ffffffe0;box-shadow:0 22px 54px #12304f14}.playground-card h2{margin-top:0}.playground-actions{display:flex;flex-wrap:wrap;gap:10px}.playground-actions button{min-height:44px}.playground-code,.playground-card pre,.playground-event pre{overflow-x:auto;padding:14px;border-radius:18px;background:#10263c;color:#d7efff;font-family:JetBrains Mono,Consolas,monospace;line-height:1.5}.playground-events{display:grid;gap:12px}.playground-event{padding:14px;border-radius:18px;background:#f2f7fbe6}.playground-event header{margin-bottom:8px;font-weight:700}.playground-event pre{margin:0}.playground-empty{color:#12304fa8}@media(max-width:1120px){.playground-grid{grid-template-columns:1fr}}@media(max-width:900px){.widget-wiki-pane{grid-template-columns:1fr}.widget-wiki-sidebar{border-right:0;border-bottom:1px solid #e9ecef;max-height:42vh}}@media(max-width:768px){.widget-shell-header{padding:12px}.widget-brand-copy strong{font-size:16px}.widget-brand-copy span{font-size:11px}.widget-wiki-content{padding:12px}.widget-wiki-article{padding:16px}.widget-wiki-article h1{font-size:24px}.widget-message-bubble{max-width:92%}.widget-wiki-html table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.playground-page{padding:24px 16px 48px}}@keyframes widget-spin{to{transform:rotate(360deg)}}@keyframes widget-typing{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes widget-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
