:root{--geist-foreground:#000;--geist-background:#fff;--geist-secondary:#666;--geist-border:#eaeaea;--geist-border-hover:#999;--geist-surface:#fafafa;--geist-accent:#000;--geist-accent-foreground:#fff;--geist-error:#e00;--geist-error-light:#fff0f0;--geist-success:#0070f3;--geist-code-bg:#111;--geist-code-fg:#e8e8e8;--geist-shadow-sm:0 1px 2px #0000000a,0 1px 3px #0000000f;--geist-shadow-md:0 4px 14px #00000014;--geist-shadow-lg:0 8px 30px #0000001f;--geist-radius-sm:6px;--geist-radius-md:8px;--geist-radius-lg:12px;--geist-radius-xl:16px;--geist-transition:.15s cubic-bezier(.4,0,.2,1);--geist-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--geist-mono:"Geist Mono","SF Mono",SFMono-Regular,ui-monospace,Menlo,Consolas,"Liberation Mono",monospace}[data-theme=dark]{--geist-foreground:#ededed;--geist-background:#0a0a0a;--geist-secondary:#888;--geist-border:#333;--geist-border-hover:#555;--geist-surface:#111;--geist-accent:#fff;--geist-accent-foreground:#000;--geist-error-light:#2a0000;--geist-code-bg:#0a0a0a;--geist-code-fg:#e8e8e8;--geist-shadow-sm:0 1px 2px #0003;--geist-shadow-md:0 4px 14px #0000004d;--geist-shadow-lg:0 8px 30px #0006}*,:before,:after{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--geist-background);color:var(--geist-foreground);font-family:var(--geist-font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;line-height:1.5}body[data-panel-resize=horizontal],body[data-panel-resize=horizontal] *{-webkit-user-select:none;user-select:none;cursor:col-resize!important}body[data-panel-resize=vertical],body[data-panel-resize=vertical] *{-webkit-user-select:none;user-select:none;cursor:row-resize!important}body[data-panel-resize] iframe{pointer-events:none}#root{height:100%}a{color:inherit;text-decoration:none}.appShell{flex-direction:column;height:100vh;display:flex;overflow:hidden}.appBody{flex:1;display:flex;overflow:hidden}.topBar{z-index:100;border-bottom:1px solid var(--geist-border);background:var(--geist-background);flex-shrink:0;align-items:center;gap:16px;height:48px;padding:0 16px;display:flex}.brand{letter-spacing:-.02em;color:var(--geist-foreground);flex-shrink:0;font-size:14px;font-weight:700}.brandGroup{flex-shrink:0;align-items:center;display:flex}.protocolSelect{border:1px solid var(--geist-border);border-radius:var(--geist-radius-sm);background:var(--geist-surface);height:30px;color:var(--geist-foreground);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:border-color var(--geist-transition);background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27%3E%3Cpath d=%27M0 0l5 6 5-6z%27 fill=%27%23666%27/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding:0 28px 0 10px;font-size:13px;font-weight:600}.protocolSelect:hover{border-color:var(--geist-border-hover)}.protocolSelect:focus{border-color:var(--geist-foreground);outline:none}.spacer{flex:1}.themeToggle{border-radius:var(--geist-radius-sm);width:28px;height:28px;color:var(--geist-secondary);cursor:pointer;transition:all var(--geist-transition);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:15px;display:flex}.themeToggle:hover{color:var(--geist-foreground);background:var(--geist-surface)}.tabNav{gap:2px;margin-left:16px;display:flex}.tabNavItem{border-radius:var(--geist-radius-sm);color:var(--geist-secondary);cursor:pointer;transition:all var(--geist-transition);white-space:nowrap;background:0 0;border:none;padding:6px 12px;font-size:13px;font-weight:500}.tabNavItem:hover{color:var(--geist-foreground);background:var(--geist-surface)}.tabNavItem.active{color:var(--geist-foreground);background:var(--geist-surface);font-weight:600}.protocolControl{flex-shrink:0;align-items:center;gap:8px;display:flex}.protocolLabel{color:var(--geist-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:500}.protocolSwitch{border:1px solid var(--geist-border);background:var(--geist-surface);border-radius:6px;padding:2px;display:inline-flex}.protocolButton{cursor:pointer;color:var(--geist-secondary);transition:all var(--geist-transition);background:0 0;border:0;border-radius:4px;padding:4px 12px;font-size:13px;font-weight:500}.protocolButton:hover{color:var(--geist-foreground)}.protocolButton.active{background:var(--geist-accent);color:var(--geist-accent-foreground);box-shadow:var(--geist-shadow-sm)}.chip{border:1px solid var(--geist-border);background:var(--geist-surface);color:var(--geist-secondary);border-radius:999px;align-items:center;padding:2px 8px;font-size:12px;font-weight:500;display:inline-flex}.chipRow{flex-wrap:wrap;gap:6px;display:flex}.qrLabel{color:var(--geist-secondary);font-size:12px}.qrPlaceholder{border-radius:var(--geist-radius-md);background:var(--geist-surface);border:1px dashed var(--geist-border);text-align:center;box-sizing:border-box;justify-content:center;align-items:center;padding:4px;display:flex}.qrPlaceholderText{color:var(--geist-secondary);font-size:10px;line-height:1.2}.qrImage{border-radius:var(--geist-radius-md);border:1px solid var(--geist-border)}.phoneWrap{justify-content:center;align-items:center;display:flex}.phoneFrame{border:6px solid var(--geist-border);width:300px;height:560px;box-shadow:var(--geist-shadow-md);background:#fff;border-radius:24px;overflow:hidden}.phoneIframe{border:0;width:100%;height:100%;display:block}.previewPanel{background:var(--geist-surface);border-left:1px solid var(--geist-border);flex-direction:column;flex-shrink:0;width:420px;display:flex}.previewPanelFullscreen{z-index:200;background:var(--geist-background);border-left:none;width:100%;position:fixed;top:0;bottom:0;left:0;right:0}.previewExpandBtn{border-radius:var(--geist-radius-sm);width:28px;height:28px;color:var(--geist-secondary);cursor:pointer;transition:all var(--geist-transition);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:16px;display:flex}.previewExpandBtn:hover{color:var(--geist-foreground);background:var(--geist-surface)}.previewPanelHeader{border-bottom:1px solid var(--geist-border);background:var(--geist-background);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;padding:8px 16px;display:flex}.previewPanelTitle{font-size:13px;font-weight:600}.previewModeSwitch{border:1px solid var(--geist-border);background:var(--geist-surface);border-radius:6px;flex-shrink:0;margin-left:auto;padding:2px;display:inline-flex}.previewModeBtn{cursor:pointer;color:var(--geist-secondary);transition:all var(--geist-transition);background:0 0;border:0;border-radius:4px;padding:2px 10px;font-size:12px;font-weight:500}.previewModeBtn:hover{color:var(--geist-foreground)}.previewModeBtn.active{background:var(--geist-accent);color:var(--geist-accent-foreground)}.previewPanelBody{flex:1;justify-content:center;align-items:center;padding:24px;display:flex;overflow:hidden}.previewPanelBodyFull{padding:0}.liveComponentStack{border-top:1px solid var(--geist-border);background:var(--geist-background);flex-shrink:0;align-items:center;gap:8px;padding:6px 16px;font-size:12px;display:flex;overflow-x:auto}.liveComponentLabel{color:var(--geist-secondary);text-transform:uppercase;letter-spacing:.04em;flex-shrink:0;font-size:11px;font-weight:600}.liveComponentTags{flex-wrap:nowrap;gap:4px;display:flex}.liveComponentTag{background:var(--geist-surface);border:1px solid var(--geist-border);color:var(--geist-foreground);white-space:nowrap;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:500;animation:.3s ease-out tagAppear}@keyframes tagAppear{0%{opacity:0;transform:translateY(4px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}.previewFullIframe{border:0;width:100%;height:100%;display:block}.simulationBar{border-bottom:1px solid var(--geist-border);background:var(--geist-surface);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:6px 16px;font-size:12px;display:flex}.simInfo{color:var(--geist-secondary);align-items:center;gap:6px;display:flex;position:relative}.simInfoIcon{border:1px solid var(--geist-border-hover);width:16px;height:16px;color:var(--geist-secondary);cursor:help;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-family:Georgia,serif;font-size:10px;font-style:italic;font-weight:600;display:inline-flex}.simInfoToggle{cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:0;font-family:inherit;font-size:12px;display:inline-flex}.simInfoLabel{color:var(--geist-secondary);font-weight:500}.simTooltip{z-index:10;border-radius:var(--geist-radius-md);border:1px solid var(--geist-border);background:var(--geist-background);width:max-content;max-width:min(360px,100vw - 48px);box-shadow:var(--geist-shadow-md);color:var(--geist-secondary);padding:8px 12px;font-size:12px;line-height:1.5;position:absolute;top:calc(100% + 4px);left:16px}.simSpeed{align-items:center;gap:8px;display:flex}.simSpeedLabel{color:var(--geist-secondary);font-weight:500}.simSpeedSlider{width:80px;height:4px;accent-color:var(--geist-foreground);cursor:pointer}.simSpeedValue{text-align:right;min-width:28px;font-family:var(--geist-mono);color:var(--geist-foreground);font-weight:500}.previewQrSection{border-top:1px solid var(--geist-border);background:var(--geist-background);flex-direction:column;flex-shrink:0;gap:12px;padding:16px;display:flex}.previewQrContent{align-items:center;gap:16px;display:flex}.previewQrContentAlt{border-top:1px dashed var(--geist-border);padding-top:12px}.previewQrInfo{flex:1;min-width:0}.previewQrTitle{margin-bottom:4px;font-size:13px;font-weight:600}.previewQrDesc{color:var(--geist-secondary);font-size:12px;line-height:1.5}.previewQrUrl{font-size:11px;font-family:var(--geist-mono);color:var(--geist-secondary);word-break:break-all;margin-top:6px;line-height:1.4}.previewQrUrlRow{align-items:center;gap:8px;margin-top:6px;display:flex}.previewQrUrlText{min-width:0;font-size:11px;font-family:var(--geist-mono);color:var(--geist-secondary);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.previewQrCopyBtn{border:1px solid var(--geist-border);background:var(--geist-surface);height:24px;color:var(--geist-secondary);cursor:pointer;transition:all var(--geist-transition);border-radius:999px;flex-shrink:0;padding:0 10px;font-size:11px;font-weight:600}.previewQrCopyBtn:hover{color:var(--geist-foreground);border-color:var(--geist-border-hover)}.previewQrPlaceholder{border-radius:var(--geist-radius-md);border:1px dashed var(--geist-border);flex-shrink:0;justify-content:center;align-items:center;width:80px;height:80px;display:flex}.previewQrPlaceholderText{color:var(--geist-secondary);font-size:10px}.previewEmpty{text-align:center;color:var(--geist-secondary);flex-direction:column;align-items:center;gap:8px;display:flex}.previewEmptyIcon{opacity:.4;font-size:32px}.previewEmptySub{font-size:12px}.demosPage{flex:1;display:flex;overflow:hidden}.demosPage.resizing{-webkit-user-select:none;user-select:none}.examplePage{background:var(--geist-background);flex:1;padding:24px;overflow:auto}.exampleMetaRow{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.exampleColumns{flex-direction:column;gap:28px;display:flex}.exampleSection{min-width:0}.exampleSectionHeader{border-bottom:1px solid var(--geist-border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:8px;display:flex}.exampleSectionTitle{letter-spacing:.11em;text-transform:uppercase;color:var(--geist-foreground);margin:0;font-size:13px;font-weight:700}.exampleSectionTitleLink{letter-spacing:.11em;text-transform:uppercase;color:var(--geist-foreground);margin:0;font-size:13px;font-weight:700;text-decoration:none}.exampleSectionTitleLink:hover{text-decoration:underline}.exampleGrid{column-width:300px;column-gap:14px}.exampleGridFlow{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;display:grid}.exampleGridFlow .exampleCard{margin-bottom:0}.exampleCard{border:1px solid var(--geist-border);background:var(--geist-surface);cursor:pointer;text-align:left;min-height:0;transition:transform var(--geist-transition),border-color var(--geist-transition),box-shadow var(--geist-transition),background var(--geist-transition);break-inside:avoid;page-break-inside:avoid;-webkit-column-break-inside:avoid;border-radius:18px;flex-direction:column;gap:10px;width:100%;margin:0 0 14px;padding:12px;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 1px 2px #0000000a}.exampleCard:before{content:"";pointer-events:none;background:linear-gradient(#ffffff40,#0000);position:absolute;top:0;bottom:0;left:0;right:0}.exampleCard:hover{border-color:var(--geist-border-hover);box-shadow:var(--geist-shadow-lg);transform:translateY(-1px)}.exampleCardPreview{z-index:1;position:relative}.exampleCardPreviewWindow{border:1px solid var(--geist-border);background:var(--geist-background);height:240px;box-shadow:none;border-radius:16px;overflow:hidden}.exampleCardPreviewFrame{pointer-events:none;border:0;width:100%;height:100%;display:block}.exampleCardTop{justify-content:space-between;align-items:start;gap:8px;min-width:0;display:flex}.exampleCardTitle{letter-spacing:.01em;color:var(--geist-secondary);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:11px;font-weight:600;line-height:1.35;overflow:hidden}.exampleCardBody{flex-direction:column;gap:0;padding-top:2px;display:flex}.exampleCardBadge{border:1px solid var(--geist-border);color:var(--geist-secondary);letter-spacing:.02em;text-transform:uppercase;background:#ffffffb3;border-radius:999px;flex-shrink:0;align-self:flex-start;padding:2px 6px;font-size:10px;line-height:1.2}.detailSidebar{width:280px}.sidebarTopNav{justify-content:center;align-items:center;padding:8px 0 16px;display:flex}.detailBackButton{background:linear-gradient(180deg,#ffffffd1,#ffffffa3),var(--geist-surface);min-height:34px;color:var(--geist-foreground);letter-spacing:.01em;cursor:pointer;transition:background var(--geist-transition),border-color var(--geist-transition),transform var(--geist-transition),box-shadow var(--geist-transition);border:1px solid #00000014;border-radius:999px;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:600;line-height:1;display:inline-flex;box-shadow:0 1px 2px #0000000a}.detailBackButton:hover{border-color:var(--geist-border-hover);background:linear-gradient(180deg,#fffffff5,#ffffffc7),var(--geist-background);transform:translateY(-1px);box-shadow:0 8px 18px #00000014}.detailBackIcon{color:var(--geist-secondary);font-size:15px;line-height:1}.detailBackLabel{line-height:1}.detailWorkspace{background:radial-gradient(circle at top right,#0000000a,transparent 18%),var(--geist-background);flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.detailWorkspaceFullscreen{background:var(--geist-background)}.detailHeader{border-bottom:1px solid var(--geist-border);background:var(--geist-background);flex-shrink:0;justify-content:space-between;align-items:end;gap:16px;padding:18px 20px 16px;display:flex}.detailHeaderCopy{min-width:0}.detailEyebrow{letter-spacing:.16em;text-transform:uppercase;color:var(--geist-secondary);margin-bottom:8px;font-size:11px;font-weight:700}.detailTitle{letter-spacing:-.04em;font-size:max(22px,min(3vw,34px));font-weight:750;line-height:1.05}.detailDesc{max-width:820px;color:var(--geist-secondary);margin-top:8px;font-size:14px;line-height:1.6}.detailHeaderMeta{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.detailPanels{flex:1;min-height:0;display:flex;overflow:hidden}.sidebar{border-right:1px solid var(--geist-border);background:var(--geist-background);flex-direction:column;flex-shrink:0;width:240px;display:flex;overflow-y:auto}.sidebarSection{padding:12px}.sidebarSection+.sidebarSection{border-top:1px solid var(--geist-border)}.sidebarHeading{text-transform:uppercase;letter-spacing:.06em;color:var(--geist-secondary);margin-bottom:8px;padding:0 8px;font-size:11px;font-weight:600}.scenarioList{flex-direction:column;gap:4px;display:flex}.scenarioItem{border-radius:var(--geist-radius-sm);cursor:pointer;text-align:left;min-height:40px;transition:background var(--geist-transition),border-color var(--geist-transition),color var(--geist-transition);background:0 0;border:1px solid #0000;flex-direction:column;gap:2px;width:100%;padding:10px 12px;display:flex}.scenarioItem:hover{background:var(--geist-surface)}.scenarioItem.active{border-color:var(--geist-border-hover);background:var(--geist-surface)}.scenarioItem.active .scenarioName{color:var(--geist-foreground)}.scenarioItem.active .scenarioDesc{color:var(--geist-secondary)}.scenarioName{color:var(--geist-foreground);font-size:14px;font-weight:500}.scenarioTags{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.scenarioTag{color:var(--geist-secondary);background:var(--geist-surface);border:1px solid var(--geist-border);border-radius:4px;padding:1px 6px;font-size:10px;font-weight:500}.scenarioDesc{color:var(--geist-secondary);font-size:11px;line-height:1.4}.sidebarChips{flex-wrap:wrap;gap:4px;padding:0 8px;display:flex}.codePanel{flex-direction:column;flex:1;min-width:0;display:flex}.panelResizeHandle{cursor:col-resize;background:var(--geist-background);border-left:1px solid var(--geist-border);border-right:1px solid var(--geist-border);touch-action:none;width:8px;transition:background var(--geist-transition);flex-shrink:0;position:relative}.panelResizeHandle:before{content:"";background:var(--geist-border-hover);opacity:.35;width:2px;height:40px;transition:opacity var(--geist-transition),height var(--geist-transition),background var(--geist-transition);border-radius:999px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.panelResizeHandle:hover,.panelResizeHandle.active{background:var(--geist-surface)}.panelResizeHandle:hover:before,.panelResizeHandle.active:before{opacity:.9;background:var(--geist-foreground);height:56px}.codePanelToolbar{border-bottom:1px solid var(--geist-border);background:var(--geist-background);flex-shrink:0;align-items:center;gap:8px;padding:8px 12px;display:flex}.codePanelTitle{align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.codePanelBadge{background:var(--geist-surface);border:1px solid var(--geist-border);color:var(--geist-secondary);border-radius:4px;padding:1px 6px;font-size:10px;font-weight:500}.toolbarActions{align-items:center;gap:4px;display:flex}.toolbarBtn{border:1px solid var(--geist-border);border-radius:var(--geist-radius-sm);background:var(--geist-background);height:28px;color:var(--geist-secondary);cursor:pointer;transition:all var(--geist-transition);white-space:nowrap;padding:0 10px;font-size:12px;font-weight:500}.toolbarBtn:hover{color:var(--geist-foreground);border-color:var(--geist-border-hover)}.toolbarBtn:active{transform:scale(.97)}.toolbarBtn.primary{background:var(--geist-accent);border-color:var(--geist-accent);color:var(--geist-accent-foreground)}.toolbarBtn.primary:hover{opacity:.85}.codeEditor{flex:1;width:100%;min-height:0;overflow:hidden}.codeEditor .cm-editor{height:100%;font-family:var(--geist-mono);background:var(--geist-code-bg);font-size:13px}.codeEditor .cm-scroller{overflow:auto}.codeEditor .cm-gutters{background:var(--geist-code-bg);border-right:1px solid var(--geist-border)}.codeError{background:var(--geist-error-light);border-top:1px solid var(--geist-error);color:var(--geist-error);font-size:12px;font-family:var(--geist-mono);flex-shrink:0;padding:8px 12px}.compPage{flex:1;display:flex;overflow:hidden}.compSidebar{border-right:1px solid var(--geist-border);background:var(--geist-background);flex-direction:column;flex-shrink:0;gap:0;width:200px;padding:8px;display:flex;overflow-y:auto}.compSidebarAll{border-radius:var(--geist-radius-sm);color:var(--geist-secondary);transition:all var(--geist-transition);margin-bottom:4px;padding:6px 12px;font-size:13px;font-weight:600;text-decoration:none;display:block}.compSidebarAll:hover,.compSidebarAll.active{color:var(--geist-foreground);background:var(--geist-surface)}.compSidebarGroup{margin-bottom:4px}.compSidebarGroupLabel{text-transform:uppercase;letter-spacing:.06em;color:var(--geist-secondary);padding:10px 12px 4px;font-size:11px;font-weight:600}.compSidebarItem{border-radius:var(--geist-radius-sm);cursor:pointer;text-align:left;width:100%;color:var(--geist-secondary);transition:all var(--geist-transition);background:0 0;border:1px solid #0000;padding:5px 12px 5px 20px;font-size:13px;font-weight:500;text-decoration:none;display:block}.compSidebarItem:hover{color:var(--geist-foreground);background:var(--geist-surface)}.compSidebarItem.active{color:var(--geist-foreground);background:var(--geist-surface);border-color:var(--geist-border-hover)}.compContent{flex:1;padding:32px 40px;overflow-y:auto}.compName{letter-spacing:-.03em;margin:0 0 8px;font-size:24px;font-weight:700}.compDesc{color:var(--geist-secondary);margin:0 0 24px;font-size:14px;line-height:1.6}.compBreadcrumb{align-items:center;gap:6px;margin-bottom:20px;font-size:13px;display:flex}.compBreadcrumbLink{color:var(--geist-secondary);transition:color var(--geist-transition);text-decoration:none}.compBreadcrumbLink:hover{color:var(--geist-foreground)}.compBreadcrumbSep{color:var(--geist-secondary);opacity:.5}.compBreadcrumbCurrent{color:var(--geist-foreground);font-weight:500}.compCategoryBadge{border:1px solid var(--geist-border);background:var(--geist-surface);color:var(--geist-secondary);border-radius:999px;align-items:center;margin-bottom:24px;padding:2px 10px;font-size:12px;font-weight:500;display:inline-flex}.compSectionHeader{align-items:center;gap:12px;margin-bottom:8px;display:flex}.compSectionHeader .compSubheading{margin:0}.compCopyBtn{border:1px solid var(--geist-border);border-radius:var(--geist-radius-sm);background:var(--geist-background);height:26px;color:var(--geist-secondary);cursor:pointer;transition:all var(--geist-transition);padding:0 10px;font-size:12px;font-weight:500}.compCopyBtn:hover{color:var(--geist-foreground);border-color:var(--geist-border-hover)}.compUsageEditor{border:1px solid var(--geist-border);border-radius:var(--geist-radius-md);margin-bottom:24px;overflow:hidden}.compUsageEditor .cm-editor{height:auto;max-height:520px;font-family:var(--geist-mono);background:var(--geist-code-bg);font-size:13px}.compUsageEditor .cm-scroller{max-height:520px;overflow:auto}.compUsageError{border:1px solid var(--geist-error);border-radius:var(--geist-radius-sm);background:var(--geist-error-light);color:var(--geist-error);font-family:var(--geist-mono);margin:-16px 0 24px;padding:8px 12px;font-size:12px}.compPreview{border:1px solid var(--geist-border);border-radius:var(--geist-radius-md);background:var(--geist-surface);width:100%;height:360px;margin-bottom:24px;overflow:hidden}.compPreviewIframe{background:var(--geist-background);border:0;width:100%;height:100%;display:block}.compPreviewInvalid{height:100%;color:var(--geist-secondary);text-align:center;justify-content:center;align-items:center;padding:24px;font-size:13px;display:flex}.compCategorySection{margin-bottom:32px}.compCategoryTitle{color:var(--geist-foreground);text-transform:uppercase;letter-spacing:.04em;margin:0 0 12px;font-size:14px;font-weight:600}.compGrid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.compGridCard{border:1px solid var(--geist-border);border-radius:var(--geist-radius-lg);background:var(--geist-background);transition:all var(--geist-transition);padding:16px;text-decoration:none;display:block}.compGridCard:hover{border-color:var(--geist-border-hover);box-shadow:var(--geist-shadow-md)}.compGridCardName{color:var(--geist-foreground);font-size:15px;font-weight:600;font-family:var(--geist-mono);margin-bottom:4px}.compGridCardDesc{color:var(--geist-secondary);font-size:13px;line-height:1.5}.compSubheading{color:var(--geist-foreground);margin:0 0 8px;font-size:14px;font-weight:600}.compCodeBlock{border-radius:var(--geist-radius-md);background:var(--geist-code-bg);color:var(--geist-code-fg);font-family:var(--geist-mono);white-space:pre;margin:0 0 24px;padding:16px;font-size:13px;line-height:1.6;overflow-x:auto}.compTable{border-collapse:collapse;width:100%;margin-bottom:24px;font-size:13px}.compTableHeader{text-align:left;color:var(--geist-secondary);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--geist-border);padding:8px 12px;font-size:12px;font-weight:600}.compTableCell{border-bottom:1px solid var(--geist-border);vertical-align:top;padding:8px 12px}.compTableCell:first-child{font-family:var(--geist-mono);color:var(--geist-foreground);font-weight:500}.compTableCell:nth-child(2){font-family:var(--geist-mono);color:var(--geist-secondary);font-size:12px}.chatPage{flex:1;display:flex;overflow:hidden}.chatPage.resizing{-webkit-user-select:none;user-select:none}.chatPanel{flex-direction:column;flex:1;min-width:0;display:flex}.chatHeader{border-bottom:1px solid var(--geist-border);background:var(--geist-background);flex-shrink:0;padding:12px 20px}.chatHeaderTitleRow{align-items:center;gap:8px;min-width:0;display:flex}.chatHeaderTitle{margin:0;font-size:15px;font-weight:600}.constructionBadge{border:1px solid var(--geist-border);background:var(--geist-surface);height:20px;color:var(--geist-secondary);white-space:nowrap;border-radius:999px;align-items:center;padding:0 8px;font-size:11px;font-weight:600;line-height:1;display:inline-flex}.chatHeaderSub{color:var(--geist-secondary);margin:2px 0 0;font-size:12px}.chatMessages{flex-direction:column;flex:1;gap:12px;padding:20px;display:flex;overflow-y:auto}.chatMessage{border-radius:var(--geist-radius-lg);word-break:break-word;max-width:80%;padding:10px 14px;font-size:14px;line-height:1.5}.chatMessageUser{background:var(--geist-accent);color:var(--geist-accent-foreground);border-bottom-right-radius:4px;align-self:flex-end}.chatMessageAI{background:var(--geist-surface);border:1px solid var(--geist-border);border-bottom-left-radius:4px;align-self:flex-start}.chatInputArea{border-top:1px solid var(--geist-border);background:var(--geist-background);flex-shrink:0;gap:8px;padding:12px 20px;display:flex}.chatInput{border:1px solid var(--geist-border);border-radius:var(--geist-radius-md);background:var(--geist-background);height:40px;color:var(--geist-foreground);transition:border-color var(--geist-transition);outline:none;flex:1;padding:0 14px;font-size:14px}.chatInput:focus{border-color:var(--geist-foreground)}.chatInput::placeholder{color:var(--geist-secondary)}.chatSendBtn{border-radius:var(--geist-radius-md);background:var(--geist-accent);height:40px;color:var(--geist-accent-foreground);cursor:pointer;transition:opacity var(--geist-transition);border:none;flex-shrink:0;padding:0 20px;font-size:14px;font-weight:500}.chatSendBtn:hover{opacity:.85}.chatSendBtn:active{transform:scale(.97)}@media (max-width:980px){.tabNav{gap:0}.tabNavItem{padding:6px 8px;font-size:12px}.demosPage{flex-direction:column}.sidebar{border-right:none;border-bottom:1px solid var(--geist-border);width:100%;max-height:180px}.codePanel{flex:none;min-height:280px}.panelResizeHandle{cursor:row-resize;border-left:none;border-right:none;border-top:1px solid var(--geist-border);border-bottom:1px solid var(--geist-border);width:100%;height:8px}.panelResizeHandle:before{width:48px;height:2px}.panelResizeHandle:hover:before,.panelResizeHandle.active:before{width:64px;height:2px}.previewPanel{border-left:none;border-top:1px solid var(--geist-border);width:100%;min-height:480px}.compPage{flex-direction:column}.compSidebar{border-right:none;border-bottom:1px solid var(--geist-border);flex-flow:wrap;width:100%;max-height:160px}.compContent{padding:20px}.chatPage{flex-direction:column}.chatPanel{flex:none;min-height:400px}}