*{margin:0;padding:0;box-sizing:border-box}:root{--codebuddy-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI (Custom)", Roboto, "Helvetica Neue", "Open Sans (Custom)", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}body{font-family:var(--codebuddy-font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;height:100vh;height:100dvh}.status-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;padding:48px 24px;text-align:center;gap:20px;color:var(--vscode-foreground, #cccccc)}.status-placeholder__icon-wrapper{display:flex;width:88px;height:88px;min-width:88px;min-height:88px;flex-shrink:0;align-items:center;justify-content:center;aspect-ratio:1 / 1;border-radius:50%;background:var(--vscode-editor-inactiveSelectionBackground, rgba(255, 255, 255, .05))}.status-placeholder__icon{display:flex;align-items:center;justify-content:center;color:var(--vscode-descriptionForeground, #858585);font-size:48px;font-weight:600;line-height:1}.status-placeholder__spinner{width:36px;height:36px;border:3px solid color-mix(in srgb,var(--vscode-descriptionForeground, #858585) 20%,transparent);border-top-color:var(--vscode-textLink-foreground, #3794ff);border-radius:50%;animation:status-placeholder-spin .9s linear infinite}.status-placeholder__content{display:flex;max-width:360px;flex-direction:column;align-items:center;gap:8px}.status-placeholder__title{margin:0;color:var(--vscode-foreground, #cccccc);font-size:18px;font-weight:600;line-height:1.4}.status-placeholder__description{margin:0;color:var(--vscode-descriptionForeground, #858585);font-size:14px;line-height:1.6}.status-placeholder__action{display:flex;align-items:center;gap:12px;margin-top:4px}.status-placeholder__retry-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:none;border-radius:4px;background:var(--vscode-button-background, #0e639c);color:var(--vscode-button-foreground, #ffffff);cursor:pointer;font-size:13px;font-weight:500;transition:background-color .15s ease,opacity .15s ease}.status-placeholder__retry-btn:hover{background:var(--vscode-button-hoverBackground, #1177bb)}.status-placeholder__retry-btn:active{opacity:.9}.status-placeholder__retry-btn:focus{outline:1px solid var(--vscode-focusBorder, #007fd4);outline-offset:2px}.status-placeholder--error .status-placeholder__icon-wrapper{background:color-mix(in srgb,var(--vscode-errorForeground, #f48771) 12%,transparent)}.status-placeholder--error .status-placeholder__icon,.status-placeholder--error .status-placeholder__title{color:var(--vscode-errorForeground, #f48771)}.status-placeholder--warning .status-placeholder__icon-wrapper{background:color-mix(in srgb,var(--vscode-editorWarning-foreground, #cca700) 12%,transparent)}.status-placeholder--warning .status-placeholder__icon,.status-placeholder--warning .status-placeholder__title{color:var(--vscode-editorWarning-foreground, #cca700)}.status-placeholder--info .status-placeholder__icon-wrapper{background:color-mix(in srgb,var(--vscode-textLink-foreground, #3794ff) 12%,transparent)}.status-placeholder--info .status-placeholder__icon{color:var(--vscode-textLink-foreground, #3794ff)}@keyframes status-placeholder-spin{to{transform:rotate(360deg)}}.smart-page-runtime__frame-wrap{position:relative;width:100%;height:100%;overflow:hidden}.smart-page-runtime__frame{width:100%;height:100%;border:none}.smart-page-runtime__error{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px;color:var(--codebuddy-color-text-secondary, #646a73);text-align:center}.smart-page-runtime__error-title{color:var(--codebuddy-color-text-primary, #1f2329);font-size:16px;font-weight:600;line-height:24px}.smart-page-runtime__error-desc{max-width:520px;font-size:13px;line-height:20px}.audit-iframe{display:block;width:100vw;height:100vh;margin:0;padding:0;border:none;overflow:hidden}.audit-status-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:32px 24px;background:var(--cb-bg-primary, #ffffff);color:var(--cb-text-primary, #1f2329);text-align:center;box-sizing:border-box}.audit-status-placeholder--warning{background:var(--cb-bg-warning, #fff8e6)}.audit-status-placeholder--error{background:var(--cb-bg-error, #fff1f0)}.audit-status-placeholder__icon-wrapper{margin-bottom:16px}.audit-status-placeholder__icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600;color:#fff;background:var(--cb-text-secondary, #646a73)}.audit-status-placeholder--warning .audit-status-placeholder__icon{background:var(--cb-color-warning, #ff8800)}.audit-status-placeholder--error .audit-status-placeholder__icon{background:var(--cb-color-error, #d54941)}.audit-status-placeholder__spinner{width:24px;height:24px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:audit-status-placeholder__spin .8s linear infinite}@keyframes audit-status-placeholder__spin{to{transform:rotate(360deg)}}.audit-status-placeholder__content{max-width:480px}.audit-status-placeholder__title{margin:0 0 8px;font-size:18px;font-weight:600;color:var(--cb-text-primary, #1f2329)}.audit-status-placeholder__description{margin:0;font-size:14px;line-height:1.6;color:var(--cb-text-secondary, #646a73)}.audit-status-placeholder__action{margin-top:24px}.audit-status-placeholder__retry-btn{padding:8px 20px;font-size:14px;color:#fff;background:var(--cb-color-primary, #3662e8);border:none;border-radius:6px;cursor:pointer;transition:opacity .15s ease}.audit-status-placeholder__retry-btn:hover{opacity:.85}.chat-with-workbuddy-entry{position:fixed;left:50%;bottom:calc(36px + env(safe-area-inset-bottom,0px));z-index:140;display:inline-flex;align-items:center;gap:16px;transform:translate(-50%)}.chat-with-workbuddy-btn{box-sizing:border-box;display:inline-flex;width:fit-content;height:48px;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:14px;background-color:#0009;box-shadow:0 6px 20px #0000004d;color:#fff;cursor:pointer;font-family:PingFang SC,PingFang TC,-apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:14px;line-height:1.2;transition:transform .15s ease,opacity .15s ease;white-space:nowrap}.chat-with-workbuddy-btn:hover{opacity:.92}.chat-with-workbuddy-btn:active{opacity:.85;transform:scale(.97)}.chat-with-workbuddy-btn:focus{outline:2px solid rgba(255,255,255,.4);outline-offset:2px}.chat-with-workbuddy-btn:disabled{cursor:default;opacity:.85}.chat-with-workbuddy-entry__close{box-sizing:border-box;display:inline-flex;width:40px;height:40px;flex:0 0 auto;align-items:center;justify-content:center;border:none;border-radius:50%;background:#0009;color:#fff;cursor:pointer;font-family:Arial,sans-serif;font-size:20px;font-weight:600;line-height:1;transition:transform .15s ease,opacity .15s ease}.chat-with-workbuddy-entry__close:hover{opacity:.92}.chat-with-workbuddy-entry__close:active{opacity:.85;transform:scale(.94)}.chat-with-workbuddy-entry__close:focus{outline:2px solid rgba(255,255,255,.4);outline-offset:2px}.chat-with-workbuddy-entry__close span{margin-top:-2px}.chat-with-workbuddy-btn__content{display:inline-flex;height:24px;align-items:center;justify-content:center}.chat-with-workbuddy-btn__avatar{box-sizing:border-box;display:inline-flex;width:24px;height:24px;flex:0 0 auto;align-items:center;justify-content:center;overflow:hidden;border-radius:7px}.chat-with-workbuddy-btn__avatar svg{display:block;width:24px;height:24px}.chat-with-workbuddy-btn__label{color:#fff;margin-left:12px;font-family:PingFang SC,PingFang TC,-apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:14px;font-weight:400;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-with-workbuddy-btn__chevron{position:relative;display:inline-block;width:16px;height:16px;flex:0 0 auto}.chat-with-workbuddy-btn__chevron:before{position:absolute;top:4px;left:5px;width:6px;height:6px;border-top:1.5px solid #ffffff;border-right:1.5px solid #ffffff;content:"";transform:rotate(45deg)}.chat-with-workbuddy-btn__spinner{display:inline-block;width:12px;height:12px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:chat-with-workbuddy-spin .8s linear infinite}@keyframes chat-with-workbuddy-spin{to{transform:rotate(360deg)}}.copy-link-fab{position:fixed;right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(120px + env(safe-area-inset-bottom,0px));z-index:130;display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;padding:0;border:none;border-radius:50%;background:#fffffff5;box-shadow:0 4px 14px #0000002e;color:#333;cursor:pointer;font-family:inherit;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;outline:none}.copy-link-fab:focus{outline:none}.copy-link-fab:focus-visible{outline:2px solid rgba(10,155,252,.4);outline-offset:2px}.copy-link-fab svg{display:block}.copy-link-toast{position:fixed;left:50%;top:calc(20px + env(safe-area-inset-top,0px));z-index:160;max-width:70%;padding:8px 14px;border-radius:18px;background:#000000c7;color:#fff;font-family:PingFang SC,PingFang TC,-apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:13px;line-height:1.3;text-align:center;transform:translate(-50%);animation:copy-link-toast-in .25s ease both;pointer-events:none}.copy-link-toast--failed{background:#d93025eb}@keyframes copy-link-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.security-blocked-page{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background-color:transparent;overflow:auto}.security-blocked-page__content{width:100%;max-width:420px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.security-blocked-page__icon{width:80px;height:80px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;border-radius:50%;background-color:var(--fill-secondary, #f2f3f5);color:var(--icon-tertiary, #8f959e)}.security-blocked-page__icon svg{width:42px;height:42px}.security-blocked-page__title{margin:0 0 8px;font-size:18px;line-height:1.4;font-weight:600;color:var(--text-primary, #1f2329)}.security-blocked-page__desc{margin:0 0 24px;font-size:14px;line-height:1.6;color:var(--text-tertiary, #646a73)}.share-bubble{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));right:12px;z-index:150;max-width:220px;animation:share-bubble-in .38s cubic-bezier(.34,1.3,.5,1) both}.share-bubble--hiding{animation:share-bubble-out .4s ease forwards}.share-bubble__card{display:flex;align-items:flex-start;gap:7px;padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:#1e2026eb;box-shadow:0 8px 26px #00000038;backdrop-filter:blur(8px);color:#fff}.share-bubble__icon{display:flex;width:20px;height:20px;flex-shrink:0;align-items:center;justify-content:center;border-radius:6px;background:linear-gradient(135deg,#34d399,#10b981);font-size:11px;line-height:1}.share-bubble__text{flex:1;font-family:PingFang SC,PingFang TC,-apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:12.5px;font-weight:500;line-height:1.45;letter-spacing:.2px}.share-bubble__highlight{color:#6ee7b7;font-weight:600}.share-bubble__close{flex-shrink:0;padding:0;border:none;margin-left:2px;background:transparent;color:#ffffff80;cursor:pointer;font-family:Arial,sans-serif;font-size:13px;line-height:1.2}.share-bubble__close:hover{color:#ffffffd9}.share-bubble__arrow{position:absolute;top:-6px;right:18px;width:12px;height:12px;border-top:1px solid rgba(255,255,255,.08);border-left:1px solid rgba(255,255,255,.08);background:#1e2026eb;transform:rotate(45deg)}@keyframes share-bubble-in{0%{opacity:0;transform:translateY(-8px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes share-bubble-out{to{opacity:0}}.publish-artifact-preview{position:fixed;inset:0;z-index:1000;display:flex;justify-content:flex-end;background:#0f172a7a}.publish-artifact-preview--resizing{cursor:col-resize}.publish-artifact-preview--resizing iframe{pointer-events:none}.publish-artifact-preview__panel{position:relative;display:flex;overflow:hidden;width:min(720px,88vw);min-width:360px;max-width:88vw;height:100%;flex-direction:column;background:#fff;box-shadow:-20px 0 60px #0f172a3d;animation:publish-artifact-preview-slide-in .18s ease-out}.publish-artifact-preview__resize-handle{position:absolute;top:0;left:0;z-index:2;width:6px;height:100%;cursor:col-resize}.publish-artifact-preview__resize-handle:hover{background:#5876ff1f}.publish-artifact-preview__header{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #e5e7eb}.publish-artifact-preview__title-wrap{display:flex;min-width:0;flex-direction:column;gap:2px}.publish-artifact-preview__title{overflow:hidden;color:#111827;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.publish-artifact-preview__subtitle{color:#6b7280;font-size:12px}.publish-artifact-preview__actions{display:flex;align-items:center;gap:8px}.publish-artifact-preview__action-button{padding:6px 10px;border:1px solid #d1d5db;border-radius:8px;color:#374151;font-size:13px;text-decoration:none}.publish-artifact-preview__icon-button{width:32px;height:32px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;cursor:pointer;font-size:22px;line-height:26px}.publish-artifact-preview__frame{overflow:hidden;min-height:0;flex:1;background:#f9fafb}.publish-artifact-preview__page-chunk{overflow:auto;width:100%;height:100%;margin:0;padding:16px;color:#111827;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre-wrap}.publish-artifact-preview__database,.publish-artifact-preview__loading,.publish-artifact-preview__smart-doc{width:100%;height:100%}.publish-artifact-preview__loading{display:flex;align-items:center;justify-content:center;color:#6b7280;font-size:13px}.publish-artifact-preview__smart-doc{overflow:auto;background:#fff}.publish-artifact-preview__drive-iframe{width:100%;height:100%;border:0}.publish-artifact-preview__drive-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;padding:24px}.publish-artifact-preview__drive-placeholder-title{margin:0;color:#374151;font-size:15px}.publish-artifact-preview__drive-placeholder-desc{margin:0;color:#6b7280;font-size:13px}.publish-artifact-preview__drive-actions{display:flex;gap:8px}.publish-artifact-preview__drive-download-btn{padding:6px 16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:13px;cursor:pointer}.publish-artifact-preview__drive-download-btn:hover:not(:disabled){background:#f9fafb}.publish-artifact-preview__drive-download-btn:disabled{cursor:not-allowed;opacity:.6}.publish-artifact-preview__smart-doc [contenteditable=true]{pointer-events:none}.publish-artifact-preview__page-chunk::-webkit-scrollbar,.publish-artifact-preview__smart-doc::-webkit-scrollbar{width:6px}.publish-artifact-preview__page-chunk::-webkit-scrollbar-thumb,.publish-artifact-preview__smart-doc::-webkit-scrollbar-thumb{background:#0000;border-radius:3px;transition:background .2s ease}.publish-artifact-preview__page-chunk::-webkit-scrollbar-track,.publish-artifact-preview__smart-doc::-webkit-scrollbar-track{background:transparent}.publish-artifact-preview__page-chunk::-webkit-scrollbar:hover::-webkit-scrollbar-thumb,.publish-artifact-preview__smart-doc::-webkit-scrollbar:hover::-webkit-scrollbar-thumb,.publish-artifact-preview__page-chunk::-webkit-scrollbar:focus-within::-webkit-scrollbar-thumb,.publish-artifact-preview__smart-doc::-webkit-scrollbar:focus-within::-webkit-scrollbar-thumb,.publish-artifact-preview__page-chunk::-webkit-scrollbar:active::-webkit-scrollbar-thumb,.publish-artifact-preview__smart-doc::-webkit-scrollbar:active::-webkit-scrollbar-thumb{background:#0003}@keyframes publish-artifact-preview-slide-in{0%{transform:translate(24px);opacity:0}to{transform:translate(0);opacity:1}}@media(max-width:768px){.publish-artifact-preview{background:#0f172a5c}.publish-artifact-preview__panel{width:100vw!important;min-width:0;max-width:none}.publish-artifact-preview__resize-handle{display:none}}
